体验官打卡

This commit is contained in:
2023-07-17 17:33:54 +08:00
parent 3ecd1fefa7
commit 38391e46a1
18 changed files with 389 additions and 56 deletions

View File

@@ -70,6 +70,7 @@ Page({
if(type == 'avatar') {
wx.chooseMedia({
count : 1,
mediaType: 'image',
success : path => {
// 上传图片
wx.$api.file.uploadImg(path.tempFiles[0].tempFilePath, {}).then(res=>{

View File

@@ -38,7 +38,7 @@
<view class="label-name-text">出生年月</view>
</view>
<view class="label-tips">
<picker class="entry" mode="date" value="{{birthday}}" bindchange="bindDateChange">
<picker class="entry" mode="date" value="{{birthday}}" bindchange="bindDateChange" end="2023-12-31">
{{birthday != '' ? birthday : '请选择出生年月'}}<image class="label-name-arrow" src="/static/icons/arrow_more.png" mode="widthFix"></image>
</picker>
</view>