hh-doctor-sdk 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,11 @@
20
20
  <view class="copy-line">
21
21
  1、点击复制地址后去{{platform == 'ios' ? 'Safari' :
22
22
  ''}}浏览器打开
23
- <button class="copy-button" bind:tap="copyUrl">复制</button>
23
+ <view class="copy-button-box">
24
+ <button class="copy-button" bind:tap="copyUrl">
25
+ 复制
26
+ </button>
27
+ </view>
24
28
  </view>
25
29
  <view>2、用和缓名医app打开后查看</view>
26
30
  </view>
@@ -76,19 +76,18 @@
76
76
  .control-box {
77
77
  background-color: white;
78
78
  display: flex;
79
- flex-direction: column;
79
+ flex-direction: row;
80
80
  width: calc(100% - 64rpx);
81
81
  border-radius: 20rpx;
82
82
  margin-top: 54rpx;
83
83
  border: #0066ff 2rpx solid;
84
- align-items: center;
85
84
  z-index: 3;
86
85
  }
87
86
 
88
87
  .control-box-inner {
89
- margin: 30rpx;
88
+ margin: 30rpx 20rpx 30rpx 30rpx;
90
89
  line-height: 2;
91
- font-size: 28rpx;
90
+ font-size: 32rpx;
92
91
  color: #646464;
93
92
  }
94
93
 
@@ -97,14 +96,19 @@
97
96
  flex-direction: row;
98
97
  align-items: center;
99
98
  margin-top: -10rpx;
100
- align-items: center;
99
+ align-items: flex-start;
101
100
  justify-content: center;
102
101
  }
103
102
 
103
+ .copy-button-box {
104
+ width: 150rpx;
105
+ margin-left: 20rpx;
106
+ margin-right: 20rpx;
107
+ }
108
+
104
109
  .copy-button {
105
- margin: 0 0 0 30rpx;
106
- padding: 0 30rpx;
107
- line-height: 56rpx;
110
+ width: 150rpx;
111
+ line-height: 2;
108
112
  font-weight: bold;
109
113
  border-radius: 12rpx;
110
114
  border: 2rpx #f0f0f0 solid;
@@ -24,7 +24,7 @@ Page({
24
24
  const orderId = options.orderId
25
25
  const hospitalId = options.hospitalId
26
26
  let path = options.path || null
27
- let forDicom = options.forDicom || false
27
+ let forDicom = JSON.parse(options.forDicom) || false
28
28
  if (path != null) {
29
29
  path = decodeURIComponent(path)
30
30
  }
@@ -166,6 +166,11 @@ Page({
166
166
  title: '加载中...',
167
167
  })
168
168
  } else {
169
+ if (this.data.path) {
170
+ wx.setNavigationBarTitle({
171
+ title: this.data.path,
172
+ })
173
+ }
169
174
  wx.stopPullDownRefresh()
170
175
  wx.hideNavigationBarLoading()
171
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-doctor-sdk",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "和缓名医小程序SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"