Commit ca4156f0 authored by 张杰's avatar 张杰

优化添加wc界面

parent 57d52cbb
...@@ -255,7 +255,7 @@ Page({ ...@@ -255,7 +255,7 @@ Page({
} }
console.log('pee ' + pee + ' poo ' + poo + ' diaper ' + diaper) console.log('pee ' + pee + ' poo ' + poo + ' diaper ' + diaper)
} }
let wcString = 'pee ' + pee + ' poo ' + poo + ' diaper ' + diaper let wcString = 'pee ' + pee + '次 poo ' + poo + '次 diaper ' + diaper + '次'
item.wcString = wcString item.wcString = wcString
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<!-- <view wx:for="{{item.recordItems}}" wx:for-item="r"> --> <!-- <view wx:for="{{item.recordItems}}" wx:for-item="r"> -->
<view class='kg-quantity-cell'> <view class='kg-quantity-cell'>
<template is='quantity_cell' data="{{title:item.recordStudentName,type:item.cellType,unit:item.cellUnit, options: item.cellOptions, selectOptionIndex:item.optionIndex, cellIndex:dietIndex, inputValue:item.value}}"></template> <template is='quantity_cell' data="{{title:item.recordStudentName,type:item.cellType,unit:item.cellUnit, options: item.cellOptions, selectOptionIndex:item.optionIndex, cellIndex:dietIndex, inputValue:item.value}}"></template>
<view class='kg-text-normal-gray'>{{item.wcString}}</view> <text class='kg-text-normal-gray' style='margin-top:20rpx;color: black;' space="ensp">{{item.wcString}}</text>
<!-- </view> --> <!-- </view> -->
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment