作者 朱振飞

术后修改

2.1 KB | 宽: | 高:

20.8 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖

1.9 KB | 宽: | 高:

21.8 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖

2.6 KB | 宽: | 高:

23.4 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖

2.3 KB | 宽: | 高:

22.7 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖
@@ -78,7 +78,7 @@ Page({ @@ -78,7 +78,7 @@ Page({
78 uploadImages() { 78 uploadImages() {
79 let that = this; 79 let that = this;
80 wx.chooseImage({ 80 wx.chooseImage({
81 - count: 9 - that.data.upimg.length , 81 + count: 8 - that.data.upimg.length ,
82 sizeType: ['original', 'compressed'], 82 sizeType: ['original', 'compressed'],
83 success: function (res) { 83 success: function (res) {
84 let successUp = 0; //成功个数 84 let successUp = 0; //成功个数
@@ -116,10 +116,13 @@ Page({ @@ -116,10 +116,13 @@ Page({
116 wx.hideNavigationBarLoading(); 116 wx.hideNavigationBarLoading();
117 wx.hideLoading(); 117 wx.hideLoading();
118 let upimg = that.data.upimg; 118 let upimg = that.data.upimg;
119 - upimg.push(temdata.data.url);  
120 - that.setData({  
121 - upimg: upimg  
122 - }) 119 + if(upimg.length<8){
  120 + upimg.push(temdata.data.url);
  121 + that.setData({
  122 + upimg: upimg
  123 + })
  124 + }
  125 +
123 }, 126 },
124 fail: function (res) { 127 fail: function (res) {
125 wx.hideNavigationBarLoading() 128 wx.hideNavigationBarLoading()
@@ -169,42 +172,72 @@ Page({ @@ -169,42 +172,72 @@ Page({
169 err = '请填写血小板数量' 172 err = '请填写血小板数量'
170 } 173 }
171 if (err == '') { 174 if (err == '') {
172 - let url = 'user/addFilesLog';  
173 - let header = {  
174 - 'XX-Token': wx.getStorageSync('token'),  
175 - 'XX-Device-Type': ''  
176 - }  
177 - let params = {  
178 - form_id: e.detail.formId,  
179 - fields_id: that.data.files_id,  
180 - drug_name: that.data.drug,  
181 - stop_date: that.data.date,  
182 - blood_test_date: that.data.date1,  
183 - hemoglobin: that.data.hemoglobin,  
184 - white_blood_cell: that.data.white_blood_cell,  
185 - neutrophils: that.data.neutrophils,  
186 - platelet: that.data.platelet,  
187 - remark: that.data.remarks,  
188 - images: that.data.upimg  
189 - }  
190 - app.post(url, params,header).then((res) => {  
191 - wx.showModal({  
192 - title: '成功',  
193 - content: '添加记录成功',  
194 - showCancel: false,  
195 - success(res) {  
196 - if (res.confirm) {  
197 - wx.switchTab({  
198 - url: '/pages/index/index'  
199 - })  
200 - } else if (res.cancel) {  
201 - console.log('用户点击取消') 175 + if (that.data.white_blood_cell > 100) {
  176 + wx.showModal({
  177 + title: '提示',
  178 + content: '请输入正确的白细胞指标',
  179 + showCancel: false
  180 + })
  181 + return false
  182 + } else if (that.data.neutrophils > 100) {
  183 + wx.showModal({
  184 + title: '提示',
  185 + content: '请输入正确的中性粒细胞指标',
  186 + showCancel: false
  187 + })
  188 + return false
  189 + } else if (that.data.hemoglobin > 250) {
  190 + wx.showModal({
  191 + title: '提示',
  192 + content: '请输入正确的血红蛋白指标',
  193 + showCancel: false
  194 + })
  195 + return false
  196 + } else if (that.data.hemoglobin > 1000) {
  197 + wx.showModal({
  198 + title: '提示',
  199 + content: '请输入正确的血小板指标',
  200 + showCancel: false
  201 + })
  202 + return false
  203 + } else {
  204 + let url = 'user/addFilesLog';
  205 + let header = {
  206 + 'XX-Token': wx.getStorageSync('token'),
  207 + 'XX-Device-Type': ''
202 } 208 }
203 - }  
204 - })  
205 - }).catch((errMsg) => {  
206 - console.log(errMsg)  
207 - }) 209 + let params = {
  210 + form_id: e.detail.formId,
  211 + fields_id: that.data.files_id,
  212 + drug_name: that.data.drug,
  213 + stop_date: that.data.date,
  214 + blood_test_date: that.data.date1,
  215 + hemoglobin: that.data.hemoglobin,
  216 + white_blood_cell: that.data.white_blood_cell,
  217 + neutrophils: that.data.neutrophils,
  218 + platelet: that.data.platelet,
  219 + remark: that.data.remarks,
  220 + images: that.data.upimg
  221 + }
  222 + app.post(url, params, header).then((res) => {
  223 + wx.showModal({
  224 + title: '成功',
  225 + content: '添加记录成功',
  226 + showCancel: false,
  227 + success(res) {
  228 + if (res.confirm) {
  229 + wx.switchTab({
  230 + url: '/pages/index/index'
  231 + })
  232 + } else if (res.cancel) {
  233 + console.log('用户点击取消')
  234 + }
  235 + }
  236 + })
  237 + }).catch((errMsg) => {
  238 + console.log(errMsg)
  239 + })
  240 + }
208 } else { 241 } else {
209 wx.showModal({ 242 wx.showModal({
210 title: '提示', 243 title: '提示',
@@ -30,30 +30,30 @@ @@ -30,30 +30,30 @@
30 <view class='input_box'> 30 <view class='input_box'>
31 <view>白细胞计数:</view> 31 <view>白细胞计数:</view>
32 <view class="input_cell"> 32 <view class="input_cell">
33 - <input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='setwhite_blood_cell'></input>  
34 - <view class='cell_txt'> *10^9/L</view> 33 + <input placeholder='0-100' type='digit' placeholder-class='placeholderStyle' bindinput='setwhite_blood_cell'></input>
  34 + <view class='cell_txt'> *10⁹/L</view>
35 </view> 35 </view>
36 </view> 36 </view>
37 <view class='input_box'> 37 <view class='input_box'>
38 <view>中性粒细胞计数:</view> 38 <view>中性粒细胞计数:</view>
39 <view class="input_cell"> 39 <view class="input_cell">
40 - <input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='setneutrophils'></input>  
41 - <view class='cell_txt'> *10^9/L</view> 40 + <input placeholder='0-100' type='digit' placeholder-class='placeholderStyle' bindinput='setneutrophils'></input>
  41 + <view class='cell_txt'> *10⁹/L</view>
42 </view> 42 </view>
43 43
44 </view> 44 </view>
45 <view class='input_box'> 45 <view class='input_box'>
46 <view>血红蛋白:</view> 46 <view>血红蛋白:</view>
47 <view class="input_cell"> 47 <view class="input_cell">
48 - <input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='sethemoglobin'></input> 48 + <input placeholder='0-250' type='digit' placeholder-class='placeholderStyle' bindinput='sethemoglobin'></input>
49 <view class='cell_txt'>g/L</view> 49 <view class='cell_txt'>g/L</view>
50 </view> 50 </view>
51 </view> 51 </view>
52 <view class='input_box'> 52 <view class='input_box'>
53 <view>血小板计数:</view> 53 <view>血小板计数:</view>
54 <view class="input_cell"> 54 <view class="input_cell">
55 - <input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='setplatelet'></input>  
56 - <div class='cell_txt'>*10^9/L</div> 55 + <input placeholder='0-1000' type='digit' placeholder-class='placeholderStyle' bindinput='setplatelet'></input>
  56 + <div class='cell_txt'>*10⁹/L</div>
57 </view> 57 </view>
58 </view> 58 </view>
59 <view class='upimgbox'> 59 <view class='upimgbox'>
@@ -65,13 +65,13 @@ @@ -65,13 +65,13 @@
65 </view> 65 </view>
66 <image bindtap="imgYu" data-list="{{upimg}}" src="{{item}}"></image> 66 <image bindtap="imgYu" data-list="{{upimg}}" src="{{item}}"></image>
67 </view> 67 </view>
68 - <view class='upbox' bindtap='uploadImages'> 68 + <view class='upbox' bindtap='uploadImages' wx:if="{{upimg.length<8}}">
69 <image src='../../img/noimg.png'></image> 69 <image src='../../img/noimg.png'></image>
70 </view> 70 </view>
71 - <view class='up_txt'>添加图片(患者化验单,用药情况和皮肤粘膜情况等)</view> 71 + <view class='up_txt' wx:if='{{upimg.length<1}}'>添加图片(患者化验单,用药情况和皮肤粘膜情况等)</view>
72 </view> 72 </view>
73 </view> 73 </view>
74 </view> 74 </view>
75 <form bindsubmit="formSubmit" report-submit='true' > 75 <form bindsubmit="formSubmit" report-submit='true' >
76 - <cover-view class='btn'><button formType="submit" class='btn'> 保 存</button></cover-view> 76 + <cover-view class='bt_bg'><button formType="submit" class='btn'> 保 存</button></cover-view>
77 </form> 77 </form>
@@ -38,28 +38,29 @@ page{ @@ -38,28 +38,29 @@ page{
38 font-size:28rpx; 38 font-size:28rpx;
39 } 39 }
40 .input_cell input{ 40 .input_cell input{
41 -  
42 text-align: right; 41 text-align: right;
43 padding:0 10rpx 0 0; 42 padding:0 10rpx 0 0;
44 color:#E88686; 43 color:#E88686;
45 font-size:34rpx; 44 font-size:34rpx;
  45 + flex: 1;
46 46
47 } 47 }
48 .input_cell{ 48 .input_cell{
49 49
50 - width:50%;  
51 text-align: right; 50 text-align: right;
52 - 51 + flex: 1;
53 display: flex; 52 display: flex;
54 justify-content: flex-end; 53 justify-content: flex-end;
  54 + align-items: center;
55 color:#999; 55 color:#999;
56 font-size:34rpx; 56 font-size:34rpx;
57 } 57 }
58 .placeholderStyle{ 58 .placeholderStyle{
59 - font-size:34rpx; 59 + font-size:30rpx;
  60 + color: #ccc;
60 } 61 }
61 .upimgbox{ 62 .upimgbox{
62 - margin: 30rpx 0 0 0; 63 + margin: 30rpx 0 20rpx 0;
63 border:1rpx solid #e5e5e5; 64 border:1rpx solid #e5e5e5;
64 border-radius: 5rpx; 65 border-radius: 5rpx;
65 padding:30rpx 30rpx 40rpx 30rpx; 66 padding:30rpx 30rpx 40rpx 30rpx;
@@ -70,7 +71,7 @@ page{ @@ -70,7 +71,7 @@ page{
70 display: flex; 71 display: flex;
71 align-items: center; 72 align-items: center;
72 flex-wrap:wrap; 73 flex-wrap:wrap;
73 - 74 + margin-top: 30rpx;
74 } 75 }
75 .upbox{ 76 .upbox{
76 position: relative; 77 position: relative;
@@ -90,11 +91,11 @@ page{ @@ -90,11 +91,11 @@ page{
90 position: absolute; 91 position: absolute;
91 top:-15rpx; 92 top:-15rpx;
92 right:-5rpx; 93 right:-5rpx;
93 - width: 30rpx;  
94 - height: 30rpx; 94 + width: 40rpx;
  95 + height: 40rpx;
95 border-radius: 50%; 96 border-radius: 50%;
96 overflow: hidden; 97 overflow: hidden;
97 - z-index:100; 98 + z-index:10;
98 background: #fff; 99 background: #fff;
99 } 100 }
100 .up_colse image{ 101 .up_colse image{
@@ -105,6 +106,14 @@ page{ @@ -105,6 +106,14 @@ page{
105 .up_txt{ 106 .up_txt{
106 flex: 1; 107 flex: 1;
107 } 108 }
  109 +.bt_bg{
  110 + background: #FFF;
  111 + position: fixed;
  112 + height: 140rpx;
  113 + bottom: 0;
  114 + left: 0;
  115 + width: 100%;
  116 +}
108 .btn{ 117 .btn{
109 position: fixed; 118 position: fixed;
110 margin: 20rpx 30rpx 0 30rpx; 119 margin: 20rpx 30rpx 0 30rpx;
@@ -167,53 +167,83 @@ Page({ @@ -167,53 +167,83 @@ Page({
167 err = '请填写血小板数量' 167 err = '请填写血小板数量'
168 } 168 }
169 if (err == '') { 169 if (err == '') {
170 - wx.showModal({  
171 - title: '提示',  
172 - content: '修改记录会影响医生的建议准确性,是否确认修改',  
173 - confirmText: '确认修改',  
174 - cancelText:'暂不修改',  
175 - success(res) {  
176 - if (res.confirm) {  
177 - let url = 'user/editFilesLog';  
178 - let header = {  
179 - 'XX-Token': wx.getStorageSync('token'),  
180 - 'XX-Device-Type': ''  
181 - }  
182 - let params = {  
183 - id: that.data.id,  
184 - form_id: e.detail.formId,  
185 - fields_id: that.data.files_id,  
186 - drug_name: that.data.drug,  
187 - stop_date: that.data.date,  
188 - blood_test_date: that.data.date1,  
189 - hemoglobin: that.data.hemoglobin,  
190 - white_blood_cell: that.data.white_blood_cell,  
191 - neutrophils: that.data.neutrophils,  
192 - platelet: that.data.platelet,  
193 - remark: that.data.remarks,  
194 - images: that.data.upimg  
195 - }  
196 - app.post(url, params, header).then((res) => {  
197 - wx.showToast({  
198 - title: '编辑记录成功',  
199 - icon: 'none',  
200 - duration: 2000  
201 - })  
202 - setTimeout(function () {  
203 - wx.navigateBack({  
204 - url: '/pages/record/record?showrecord=2&files_id=' + that.data.files_id,  
205 - })  
206 - }, 1000);  
207 - }).catch((errMsg) => {  
208 - console.log(errMsg) 170 + if (that.data.white_blood_cell>100){
  171 + wx.showModal({
  172 + title: '提示',
  173 + content: '请输入正确的白细胞指标',
  174 + showCancel: false
  175 + })
  176 + return false
  177 + } else if (that.data.neutrophils > 100){
  178 + wx.showModal({
  179 + title: '提示',
  180 + content: '请输入正确的中性粒细胞指标',
  181 + showCancel: false
  182 + })
  183 + return false
  184 + } else if (that.data.hemoglobin > 250) {
  185 + wx.showModal({
  186 + title: '提示',
  187 + content: '请输入正确的血红蛋白指标',
  188 + showCancel: false
  189 + })
  190 + return false
  191 + } else if (that.data.hemoglobin > 1000) {
  192 + wx.showModal({
  193 + title: '提示',
  194 + content: '请输入正确的血小板指标',
  195 + showCancel: false
  196 + })
  197 + return false
  198 + }else{
  199 + wx.showModal({
  200 + title: '提示',
  201 + content: '修改记录会影响医生的建议准确性,是否确认修改',
  202 + confirmText: '确认修改',
  203 + cancelText: '暂不修改',
  204 + success(res) {
  205 + if (res.confirm) {
  206 + let url = 'user/editFilesLog';
  207 + let header = {
  208 + 'XX-Token': wx.getStorageSync('token'),
  209 + 'XX-Device-Type': ''
  210 + }
  211 + let params = {
  212 + id: that.data.id,
  213 + form_id: e.detail.formId,
  214 + fields_id: that.data.files_id,
  215 + drug_name: that.data.drug,
  216 + stop_date: that.data.date,
  217 + blood_test_date: that.data.date1,
  218 + hemoglobin: that.data.hemoglobin,//血红蛋白
  219 + white_blood_cell: that.data.white_blood_cell,//白细胞
  220 + neutrophils: that.data.neutrophils,//中性粒细胞
  221 + platelet: that.data.platelet,//血小板
  222 + remark: that.data.remarks,
  223 + images: that.data.upimg
  224 + }
  225 + app.post(url, params, header).then((res) => {
  226 + wx.showToast({
  227 + title: '编辑记录成功',
  228 + icon: 'none',
  229 + duration: 2000
  230 + })
  231 + setTimeout(function () {
  232 + wx.navigateBack({
  233 + url: '/pages/record/record?showrecord=2&files_id=' + that.data.files_id,
  234 + })
  235 + }, 1000);
  236 + }).catch((errMsg) => {
  237 + console.log(errMsg)
  238 + })
  239 + } else if (res.cancel) {
  240 + wx.navigateBack({
  241 + delta: 1,
  242 + })
  243 + }
  244 + }
209 }) 245 })
210 - } else if (res.cancel) {  
211 - wx.navigateBack({  
212 - delta: 1,  
213 - })  
214 - }  
215 } 246 }
216 - })  
217 } else { 247 } else {
218 wx.showModal({ 248 wx.showModal({
219 title: '提示', 249 title: '提示',
@@ -29,21 +29,21 @@ @@ -29,21 +29,21 @@
29 </picker> 29 </picker>
30 <view class='input_box'> 30 <view class='input_box'>
31 <view>白细胞计数:</view> 31 <view>白细胞计数:</view>
32 - <view class="input_cell"><input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='setwhite_blood_cell' value='{{white_blood_cell}}'></input><view class='cell_txt'> *10^9/L</view></view> 32 + <view class="input_cell"><input placeholder='0-100' type='digit' placeholder-class='placeholderStyle' bindinput='setwhite_blood_cell' value='{{white_blood_cell}}'></input><view class='cell_txt'> *10⁹/L</view></view>
33 </view> 33 </view>
34 <view class='input_box'> 34 <view class='input_box'>
35 <view>中性粒细胞计数:</view> 35 <view>中性粒细胞计数:</view>
36 - <view class="input_cell"><input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='setneutrophils' value='{{neutrophils}}'></input><view class='cell_txt'> *10^9/L</view></view> 36 + <view class="input_cell"><input placeholder='0-100' type='digit' placeholder-class='placeholderStyle' bindinput='setneutrophils' value='{{neutrophils}}'></input><view class='cell_txt'> *10⁹/L</view></view>
37 37
38 </view> 38 </view>
39 <view class='input_box'> 39 <view class='input_box'>
40 <view>血红蛋白:</view> 40 <view>血红蛋白:</view>
41 - <view class="input_cell"><input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='sethemoglobin' value='{{hemoglobin}}'></input><view class='cell_txt'>g/L</view></view> 41 + <view class="input_cell"><input placeholder='0-250' type='digit' placeholder-class='placeholderStyle' bindinput='sethemoglobin' value='{{hemoglobin}}'></input><view class='cell_txt'>g/L</view></view>
42 </view> 42 </view>
43 <view class='input_box'> 43 <view class='input_box'>
44 <view>血小板计数:</view> 44 <view>血小板计数:</view>
45 <view class="input_cell"> 45 <view class="input_cell">
46 - <input placeholder='请输入' type='digit' placeholder-class='placeholderStyle' bindinput='setplatelet' value='{{platelet}}'></input><div class='cell_txt'>*10^9/L</div></view> 46 + <input placeholder='0-1000' type='digit' placeholder-class='placeholderStyle' bindinput='setplatelet' value='{{platelet}}'></input><div class='cell_txt'>*10⁹/L</div></view>
47 </view> 47 </view>
48 <view class='upimgbox'> 48 <view class='upimgbox'>
49 <view><textarea placeholder='特殊情况请给医生留言并上传照片。' placeholder-style='text_class' bindinput='setremarks' value='{{remarks}}'></textarea></view> 49 <view><textarea placeholder='特殊情况请给医生留言并上传照片。' placeholder-style='text_class' bindinput='setremarks' value='{{remarks}}'></textarea></view>
@@ -54,15 +54,15 @@ @@ -54,15 +54,15 @@
54 </view> 54 </view>
55 <image bindtap="imgYu" data-list="{{upimg}}" src="{{item}}"></image> 55 <image bindtap="imgYu" data-list="{{upimg}}" src="{{item}}"></image>
56 </view> 56 </view>
57 - <view class='upbox' bindtap='uploadImages'> 57 + <view class='upbox' bindtap='uploadImages' wx:if="{{upimg.length<8}}">
58 <image src='../../img/noimg.png'></image> 58 <image src='../../img/noimg.png'></image>
59 </view> 59 </view>
60 - <view class='up_txt'>添加图片(患者化验单,用药情况和皮肤粘膜情况等)</view> 60 + <view class='up_txt' wx:if="{{upimg.length<1}}">添加图片(患者化验单,用药情况和皮肤粘膜情况等)</view>
61 </view> 61 </view>
62 </view> 62 </view>
63 </view> 63 </view>
64 <form bindsubmit="formSubmit" report-submit='true' > 64 <form bindsubmit="formSubmit" report-submit='true' >
65 - <cover-view class='btn'><button formType="submit" class='btn'> 保 存</button></cover-view> 65 + <cover-view class='bt_bg'><button formType="submit" class='btn'> 保 存</button></cover-view>
66 </form> 66 </form>
67 67
68 68
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 </view> 52 </view>
53 </view> 53 </view>
54 <view class="two_item_rigth"> 54 <view class="two_item_rigth">
55 - <text class='two_num'> {{fileslog.more.white_blood_cell}}</text>*10^9/L</view> 55 + <text class='two_num'> {{fileslog.more.white_blood_cell}}</text>*10/L</view>
56 </view> 56 </view>
57 <view class="two_item two_items {{fileslog.more.neutrophils_result=='正常'?'':'danger'}} "> 57 <view class="two_item two_items {{fileslog.more.neutrophils_result=='正常'?'':'danger'}} ">
58 <view class='two_items_left'> 58 <view class='two_items_left'>
@@ -65,7 +65,7 @@ @@ -65,7 +65,7 @@
65 </view> 65 </view>
66 </view> 66 </view>
67 <view class="two_item_rigth"> 67 <view class="two_item_rigth">
68 - <text class='two_num'> {{fileslog.more.neutrophils}}</text>*10^9/L</view> 68 + <text class='two_num'> {{fileslog.more.neutrophils}}</text>*10/L</view>
69 </view> 69 </view>
70 <view class="two_item two_items {{fileslog.more.hemoglobin_result=='正常'?'':'danger'}} "> 70 <view class="two_item two_items {{fileslog.more.hemoglobin_result=='正常'?'':'danger'}} ">
71 <view class='two_items_left'> 71 <view class='two_items_left'>
@@ -91,7 +91,7 @@ @@ -91,7 +91,7 @@
91 </view> 91 </view>
92 </view> 92 </view>
93 <view class="two_item_rigth"> 93 <view class="two_item_rigth">
94 - <text class='two_num'> {{fileslog.more.platelet}}</text>*10^9/L</view> 94 + <text class='two_num'> {{fileslog.more.platelet}}</text>*10/L</view>
95 </view> 95 </view>
96 </view> 96 </view>
97 <view class='notest' wx:else>暂无记录</view> 97 <view class='notest' wx:else>暂无记录</view>
@@ -36,7 +36,8 @@ @@ -36,7 +36,8 @@
36 </view> 36 </view>
37 37
38 <view class='my_itembox'> 38 <view class='my_itembox'>
39 - <view class='my_item' bindtap='goopinion'> 39 +<button class='my_item button_item' open-type="feedback">
  40 + <!-- <view class='my_item' bindtap='goopinion'> -->
40 <view class='my_item_left'> 41 <view class='my_item_left'>
41 <view class='my_itemimg'> 42 <view class='my_itemimg'>
42 <image src='../../img/edit_yijian.png'></image> 43 <image src='../../img/edit_yijian.png'></image>
@@ -44,7 +45,8 @@ @@ -44,7 +45,8 @@
44 <view>意见反馈</view> 45 <view>意见反馈</view>
45 </view> 46 </view>
46 <view class='iconfont icon-xiangyou'></view> 47 <view class='iconfont icon-xiangyou'></view>
47 - </view> 48 + <!-- </view> -->
  49 +</button>
48 <button class='my_item button_item' open-type="contact"> 50 <button class='my_item button_item' open-type="contact">
49 <view class='my_item_left'> 51 <view class='my_item_left'>
50 <view class='my_itemimg'> 52 <view class='my_itemimg'>
@@ -49,6 +49,9 @@ page{ @@ -49,6 +49,9 @@ page{
49 border-bottom:1rpx solid #e5e5e5; 49 border-bottom:1rpx solid #e5e5e5;
50 50
51 } 51 }
  52 +button.my_item:after{
  53 + border: none;
  54 +}
52 .my_item:last-child{ 55 .my_item:last-child{
53 border:none 56 border:none
54 } 57 }
@@ -65,7 +68,7 @@ page{ @@ -65,7 +68,7 @@ page{
65 display: flex; 68 display: flex;
66 align-items: center; 69 align-items: center;
67 color:#333; 70 color:#333;
68 - font-size:34rpx; 71 + font-size:32rpx;
69 } 72 }
70 .my_item .iconfont{ 73 .my_item .iconfont{
71 color:#c7c7c7; 74 color:#c7c7c7;
@@ -96,7 +96,7 @@ Page({ @@ -96,7 +96,7 @@ Page({
96 96
97 lineCharthemoglobin=new wxCharts({ 97 lineCharthemoglobin=new wxCharts({
98 canvasId: 'lineCanvashemoglobin', 98 canvasId: 'lineCanvashemoglobin',
99 - type: 'area', 99 + type: 'line',
100 categories: cate, 100 categories: cate,
101 animation: true, //是否开启动画 101 animation: true, //是否开启动画
102 102
@@ -123,7 +123,7 @@ Page({ @@ -123,7 +123,7 @@ Page({
123 let cate = this.data.categories; 123 let cate = this.data.categories;
124 lineChartwhite = new wxCharts({ 124 lineChartwhite = new wxCharts({
125 canvasId: 'lineCanvaswhite', 125 canvasId: 'lineCanvaswhite',
126 - type: 'area', 126 + type: 'line',
127 categories: cate, 127 categories: cate,
128 animation: true, //是否开启动画 128 animation: true, //是否开启动画
129 series: [{ 129 series: [{
@@ -150,11 +150,11 @@ Page({ @@ -150,11 +150,11 @@ Page({
150 console.log(cate) 150 console.log(cate)
151 lineChartneutrophils = new wxCharts({ 151 lineChartneutrophils = new wxCharts({
152 canvasId: 'lineCanvasneutrophils', 152 canvasId: 'lineCanvasneutrophils',
153 - type: 'area', 153 + type: 'line',
154 categories: cate, 154 categories: cate,
155 animation: true, //是否开启动画 155 animation: true, //是否开启动画
156 series: [{ 156 series: [{
157 - name: '血红蛋白', 157 + name: '中性粒细胞',
158 data: that.data.series.neutrophils, 158 data: that.data.series.neutrophils,
159 format: function (val, name) { //点击显示的数据注释 159 format: function (val, name) { //点击显示的数据注释
160 return val + '*10^9/L'; 160 return val + '*10^9/L';
@@ -177,7 +177,7 @@ Page({ @@ -177,7 +177,7 @@ Page({
177 console.log(cate) 177 console.log(cate)
178 lineChartplatelet = new wxCharts({ 178 lineChartplatelet = new wxCharts({
179 canvasId: 'lineCanvasplatelet', 179 canvasId: 'lineCanvasplatelet',
180 - type: 'area', 180 + type: 'line',
181 categories: cate, 181 categories: cate,
182 animation: true, //是否开启动画 182 animation: true, //是否开启动画
183 series: [{ 183 series: [{
1 <!--pages/record/record.wxml--> 1 <!--pages/record/record.wxml-->
2 2
3 -<cover-view class='record_tab'> 3 +<!-- <cover-view class='record_tab'>
4 <cover-view class="record_left border_left {{showrecord?' active':''}}" bindtap='setshowrecord'>趋势图</cover-view> 4 <cover-view class="record_left border_left {{showrecord?' active':''}}" bindtap='setshowrecord'>趋势图</cover-view>
5 <cover-view class="record_left {{showrecord?'':'active'}}" bindtap='setshowrecord'>病情记录</cover-view> 5 <cover-view class="record_left {{showrecord?'':'active'}}" bindtap='setshowrecord'>病情记录</cover-view>
6 -</cover-view> 6 +</cover-view> -->
7 7
8 <view class='container_box' wx:if='{{showrecord}}'> 8 <view class='container_box' wx:if='{{showrecord}}'>
9 <view class="container"> 9 <view class="container">
@@ -22,6 +22,7 @@ box-shadow:0 0 100rpx #DADADA; @@ -22,6 +22,7 @@ box-shadow:0 0 100rpx #DADADA;
22 } 22 }
23 .container canvas{ 23 .container canvas{
24 height: 500rpx; 24 height: 500rpx;
  25 + width: 100%;
25 } 26 }
26 .container_txt{ 27 .container_txt{
27 color:#999; 28 color:#999;