@ -1,7 +1,7 @@ | |||||
{ | { | ||||
"component": true, | |||||
"usingComponents": { | "usingComponents": { | ||||
"uv-swiper": "/uni_modules/uv-swiper/components/uv-swiper/uv-swiper", | "uv-swiper": "/uni_modules/uv-swiper/components/uv-swiper/uv-swiper", | ||||
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | ||||
} | |||||
}, | |||||
"component": true | |||||
} | } |
@ -1,4 +1,4 @@ | |||||
{ | { | ||||
"usingComponents": {}, | |||||
"component": true | |||||
"component": true, | |||||
"usingComponents": {} | |||||
} | } |
@ -1 +1 @@ | |||||
<view class="data-v-72d8ad3b"><uv-popup vue-id="2f8509aa-1" mode="bottom" border-radius="20" data-ref="popup" data-event-opts="{{[['^close',[['handleClose']]]]}}" bind:close="__e" class="data-v-72d8ad3b vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="signup-form data-v-72d8ad3b"><view class="form-header data-v-72d8ad3b"><text class="form-title data-v-72d8ad3b">我要报名</text></view><view class="form-content data-v-72d8ad3b"><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label required data-v-72d8ad3b">姓名</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-2')+','+('2f8509aa-1')}}" placeholder="请输入您的姓名" border="none" custom-style="{{inputStyle}}" value="{{formData.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view><view class="form-item data-v-72d8ad3b"><view data-event-opts="{{[['tap',[['showGenderPicker',['$event']]]]]}}" class="input-container data-v-72d8ad3b" bindtap="__e"><text class="input-label required data-v-72d8ad3b">性别</text><view class="picker-input data-v-72d8ad3b"><text class="{{['picker-text','data-v-72d8ad3b',(!formData.sex)?'placeholder':'']}}">{{formData.sex||'请选择'}}</text><uv-icon vue-id="{{('2f8509aa-3')+','+('2f8509aa-1')}}" name="arrow-right" size="14" color="#999" class="data-v-72d8ad3b" bind:__l="__l"></uv-icon></view></view></view><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label required data-v-72d8ad3b">年龄</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-4')+','+('2f8509aa-1')}}" placeholder="请输入您的年龄" type="number" border="none" custom-style="{{inputStyle}}" value="{{formData.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label required data-v-72d8ad3b">手机号</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-5')+','+('2f8509aa-1')}}" placeholder="请输入您的手机号" type="number" border="none" custom-style="{{inputStyle}}" value="{{formData.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view><view class="form-item data-v-72d8ad3b"><view data-event-opts="{{[['tap',[['chooseLocation',['$event']]]]]}}" class="input-container data-v-72d8ad3b" bindtap="__e"><text class="input-label data-v-72d8ad3b">所在地区</text><view class="picker-input data-v-72d8ad3b"><text class="{{['picker-text','data-v-72d8ad3b',(!formData.area)?'placeholder':'']}}">{{formData.area||'请选择地址'}}</text><uv-icon vue-id="{{('2f8509aa-6')+','+('2f8509aa-1')}}" name="arrow-right" size="14" color="#999" class="data-v-72d8ad3b" bind:__l="__l"></uv-icon></view></view></view><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label data-v-72d8ad3b">详细地址</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-7')+','+('2f8509aa-1')}}" placeholder="请输入详细地址" border="none" custom-style="{{inputStyle}}" value="{{formData.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view></view><view class="form-footer data-v-72d8ad3b"><uv-button vue-id="{{('2f8509aa-8')+','+('2f8509aa-1')}}" type="primary" text="提交报名" custom-style="{{buttonStyle}}" data-event-opts="{{[['^click',[['submitForm']]]]}}" bind:click="__e" class="data-v-72d8ad3b" bind:__l="__l"></uv-button></view></view></uv-popup><uv-picker vue-id="2f8509aa-9" columns="{{genderOptions}}" data-ref="genderPicker" data-event-opts="{{[['^confirm',[['onGenderConfirm']]],['^cancel',[['onGenderCancel']]],['^close',[['onGenderCancel']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:close="__e" class="data-v-72d8ad3b vue-ref" bind:__l="__l"></uv-picker></view> | |||||
<view class="data-v-72d8ad3b"><uv-popup vue-id="2f8509aa-1" mode="bottom" border-radius="20" data-ref="popup" data-event-opts="{{[['^close',[['handleClose']]]]}}" bind:close="__e" class="data-v-72d8ad3b vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="signup-form data-v-72d8ad3b"><view class="form-header data-v-72d8ad3b"><text class="form-title data-v-72d8ad3b">我要报名</text></view><view class="form-content data-v-72d8ad3b"><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label required data-v-72d8ad3b">姓名</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-2')+','+('2f8509aa-1')}}" placeholder="请输入您的姓名" border="none" custom-style="{{inputStyle}}" value="{{formData.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view><view class="form-item data-v-72d8ad3b"><view data-event-opts="{{[['tap',[['showGenderPicker',['$event']]]]]}}" class="input-container data-v-72d8ad3b" bindtap="__e"><text class="input-label required data-v-72d8ad3b">性别</text><view class="picker-input data-v-72d8ad3b"><text class="{{['picker-text','data-v-72d8ad3b',(!formData.sex)?'placeholder':'']}}">{{formData.sex||'请选择'}}</text><uv-icon vue-id="{{('2f8509aa-3')+','+('2f8509aa-1')}}" name="arrow-right" size="14" color="#999" class="data-v-72d8ad3b" bind:__l="__l"></uv-icon></view></view></view><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label required data-v-72d8ad3b">年龄</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-4')+','+('2f8509aa-1')}}" placeholder="请输入您的年龄" type="number" border="none" custom-style="{{inputStyle}}" value="{{formData.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label required data-v-72d8ad3b">手机号</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-5')+','+('2f8509aa-1')}}" placeholder="请输入您的手机号" type="number" border="none" custom-style="{{inputStyle}}" value="{{formData.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view><view class="form-item data-v-72d8ad3b"><view data-event-opts="{{[['tap',[['openAreaPicker',['$event']]]]]}}" class="input-container data-v-72d8ad3b" bindtap="__e"><text class="input-label data-v-72d8ad3b">所在宿集区</text><view class="picker-input data-v-72d8ad3b"><text class="{{['picker-text','data-v-72d8ad3b',(!formData.area)?'placeholder':'']}}">{{formData.area||'请选择宿集区'}}</text><uv-icon vue-id="{{('2f8509aa-6')+','+('2f8509aa-1')}}" name="arrow-right" size="14" color="#999" class="data-v-72d8ad3b" bind:__l="__l"></uv-icon></view></view></view><view class="form-item data-v-72d8ad3b"><view class="input-container data-v-72d8ad3b"><text class="input-label data-v-72d8ad3b">详细地址</text><uv-input bind:input="__e" vue-id="{{('2f8509aa-7')+','+('2f8509aa-1')}}" placeholder="请输入详细地址" border="none" custom-style="{{inputStyle}}" value="{{formData.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],['formData']]]]]}}" class="data-v-72d8ad3b" bind:__l="__l"></uv-input></view></view></view><view class="form-footer data-v-72d8ad3b"><uv-button vue-id="{{('2f8509aa-8')+','+('2f8509aa-1')}}" type="primary" text="提交报名" custom-style="{{buttonStyle}}" data-event-opts="{{[['^click',[['submitForm']]]]}}" bind:click="__e" class="data-v-72d8ad3b" bind:__l="__l"></uv-button></view></view></uv-popup><uv-picker vue-id="2f8509aa-9" columns="{{genderOptions}}" data-ref="genderPicker" data-event-opts="{{[['^confirm',[['onGenderConfirm']]],['^cancel',[['onGenderCancel']]],['^close',[['onGenderCancel']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:close="__e" class="data-v-72d8ad3b vue-ref" bind:__l="__l"></uv-picker><uv-picker vue-id="2f8509aa-10" columns="{{columns}}" data-ref="areaPicker" data-event-opts="{{[['^confirm',[['onAreaConfirm']]]]}}" bind:confirm="__e" class="data-v-72d8ad3b vue-ref" bind:__l="__l"></uv-picker></view> |
@ -1,4 +1,6 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "我的资料", | "navigationBarTitleText": "我的资料", | ||||
"usingComponents": {} | |||||
"usingComponents": { | |||||
"uv-picker": "/uni_modules/uv-picker/components/uv-picker/uv-picker" | |||||
} | |||||
} | } |
@ -1 +1 @@ | |||||
<view class="profile-container data-v-247e4d67"><view class="section data-v-247e4d67"><view class="section-title data-v-247e4d67"><view class="vertical-line data-v-247e4d67"></view><view class="data-v-247e4d67"><text class="title-text data-v-247e4d67">基本资料</text></view></view><view class="avatar-section data-v-247e4d67"><button class="avatar-button data-v-247e4d67" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar data-v-247e4d67" src="{{userInfo.headImage||'/static/待上传头像.png'}}" mode="aspectFill"></image></button><text class="avatar-tip data-v-247e4d67">点击更换头像</text></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">昵称</text><view class="value-container data-v-247e4d67"><input class="nickname-input data-v-247e4d67" placeholder="请输入" type="nickname" data-event-opts="{{[['blur',[['onNicknameBlur',['$event']]]],['input',[['__set_model',['$0','nickName','$event',[]],['userInfo']]]]]}}" value="{{userInfo.nickName}}" bindblur="__e" bindinput="__e"/></view></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">手机号</text><view class="value-container data-v-247e4d67"><input class="phone-input data-v-247e4d67" placeholder="请输入" type="number" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['userInfo']]]]]}}" value="{{userInfo.phone}}" bindinput="__e"/></view></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">地址</text><view class="value-container data-v-247e4d67"><input class="address-input data-v-247e4d67" placeholder="{{$root.m0}}" type="text" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','address','$event',[]],['userInfo']]]]]}}" value="{{userInfo.address}}" bindinput="__e"/></view></view></view><view class="save-section data-v-247e4d67"><button data-event-opts="{{[['tap',[['saveProfile',['$event']]]]]}}" class="save-button data-v-247e4d67" bindtap="__e">保存</button></view></view> | |||||
<view class="profile-container data-v-247e4d67"><view class="section data-v-247e4d67"><view class="section-title data-v-247e4d67"><view class="vertical-line data-v-247e4d67"></view><view class="data-v-247e4d67"><text class="title-text data-v-247e4d67">基本资料</text></view></view><view class="avatar-section data-v-247e4d67"><button class="avatar-button data-v-247e4d67" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar data-v-247e4d67" src="{{userInfo.headImage||'/static/待上传头像.png'}}" mode="aspectFill"></image></button><text class="avatar-tip data-v-247e4d67">点击更换头像</text></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">真实姓名</text><view class="value-container data-v-247e4d67"><input class="nickname-input data-v-247e4d67" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['userInfo']]]]]}}" value="{{userInfo.name}}" bindinput="__e"/></view></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">昵称</text><view class="value-container data-v-247e4d67"><input class="nickname-input data-v-247e4d67" placeholder="请输入" type="nickname" data-event-opts="{{[['blur',[['onNicknameBlur',['$event']]]],['input',[['__set_model',['$0','nickName','$event',[]],['userInfo']]]]]}}" value="{{userInfo.nickName}}" bindblur="__e" bindinput="__e"/></view></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">手机号</text><view class="value-container data-v-247e4d67"><input class="phone-input data-v-247e4d67" placeholder="请输入" type="number" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['userInfo']]]]]}}" value="{{userInfo.phone}}" bindinput="__e"/></view></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">宿集区</text><view class="value-container data-v-247e4d67"><view data-event-opts="{{[['tap',[['showPicker',['$event']]]]]}}" class="picker-display data-v-247e4d67" bindtap="__e"><text class="{{['picker-text','data-v-247e4d67',(!userInfo.area)?'placeholder':'']}}">{{userInfo.area||'请选择宿集区'}}</text></view></view></view><view class="info-item data-v-247e4d67"><text class="label data-v-247e4d67">地址</text><view class="value-container data-v-247e4d67"><input class="address-input data-v-247e4d67" placeholder="{{$root.m0}}" type="text" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','address','$event',[]],['userInfo']]]]]}}" value="{{userInfo.address}}" bindinput="__e"/></view></view></view><view class="save-section data-v-247e4d67"><button data-event-opts="{{[['tap',[['saveProfile',['$event']]]]]}}" class="save-button data-v-247e4d67" bindtap="__e">保存</button></view><uv-picker vue-id="6b4be07f-1" columns="{{columns}}" data-ref="picker" data-event-opts="{{[['^confirm',[['confirm']]]]}}" bind:confirm="__e" class="data-v-247e4d67 vue-ref" bind:__l="__l"></uv-picker></view> |