优化创建a档案日期问题

This commit is contained in:
2022-01-14 16:40:14 +08:00
parent 750fabdfa3
commit 623709bfff

View File

@@ -69,23 +69,12 @@
<view class="info-title">您的身高是</view>
<!-- -->
<view class="weight">
<view class="count">
<span>{{ heightU }}</span>
厘米
</view>
<view class="count"><span>{{ heightU }}</span>厘米</view>
<vue-scale :min="10" :max="100" :int="false" :single="10" :h="80" :styles="styles" @scroll="scrollHeight" :scrollLeft="Number(heightU)" />
</view>
<view
class="
info-title"
>
您的体重是
</view>
<view class="info-title">您的体重是</view>
<view class="weight">
<view class="count">
<span>{{ weightU }}</span>
公斤
</view>
<view class="count"><span>{{ weightU }}</span>公斤 </view>
<vue-scale :min="10" :max="100" :int="false" :single="10" :h="80" :styles="styles" @scroll="scrollWeight" :scrollLeft="Number(weightU)" />
</view>
@@ -284,7 +273,7 @@ export default {
},
computed: {
showBirthday() {
console.log(moment(this.birthday).format('YYYY年MM月DD日'))
console.log(moment(this.birthday).format('YYYY年MM月DD日'));
return moment(this.birthday).format('YYYY年MM月DD日');
}
},
@@ -325,7 +314,7 @@ export default {
if (type === 'day') {
return `${value}`;
}
console.log(value)
console.log(value);
return value;
},
// 体重---------标尺滚动
@@ -408,7 +397,7 @@ export default {
exercise: this.activedbehaviarTarget, // 运动量
days: 1
};
console.log(params,'params.....')
console.log(params, 'params.....');
recordsHealth(params)
.then(res => {
uni.showModal({