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