1 |
- <view class="template-set data-v-56d8c034"><tn-nav-bar vue-id="843e4440-1" fixed="{{true}}" alpha="{{true}}" customBack="{{true}}" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['back']}}"><view class="tn-custom-nav-bar__back data-v-56d8c034" slot="back" data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" bindtap="__e"><text class="icon tn-icon-left data-v-56d8c034"></text></view></tn-nav-bar><view class="tn-margin-top data-v-56d8c034" style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view style="text-align:center;" class="data-v-56d8c034"><uni-file-picker vue-id="843e4440-2" mode="list" auto-upload="{{false}}" value="{{value}}" data-event-opts="{{[['^select',[['select']]],['^success',[['success']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:select="__e" bind:success="__e" bind:input="__e" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!userInfo.profilePhotoUrl}}"><image style="width:100px;height:100px;" src="../static/me2.png" class="data-v-56d8c034"></image></block><block wx:if="{{userInfo.profilePhotoUrl}}"><image style="width:100px;height:100px;border-radius:50%;" src="{{userInfo.profilePhotoUrl}}" class="data-v-56d8c034"></image></block></uni-file-picker></view><view style="padding:16px;margin-top:16px;" class="data-v-56d8c034"><uni-forms vue-id="843e4440-3" modelValue="{{formData}}" label-width="100px" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('843e4440-4')+','+('843e4440-3')}}" label="用户昵称" name="name" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('843e4440-5')+','+('843e4440-4')}}" type="text" placeholder="请输入昵称" value="{{userInfo.contactNickName}}" data-event-opts="{{[['^input',[['__set_model',['$0','contactNickName','$event',[]],['userInfo']]]]]}}" class="data-v-56d8c034" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('843e4440-6')+','+('843e4440-3')}}" label="真实姓名" name="realName" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('843e4440-7')+','+('843e4440-6')}}" type="text" clearable="{{false}}" placeholder="请输入姓名" value="{{userInfo.userRealName}}" data-event-opts="{{[['^input',[['__set_model',['$0','userRealName','$event',[]],['userInfo']]]]]}}" class="data-v-56d8c034" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('843e4440-8')+','+('843e4440-3')}}" label="联系方式" name="contactMethod" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('843e4440-9')+','+('843e4440-8')}}" type="text" placeholder="请输入邮箱/微信" value="{{userInfo.contactMethod}}" data-event-opts="{{[['^input',[['__set_model',['$0','contactMethod','$event',[]],['userInfo']]]]]}}" class="data-v-56d8c034" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('843e4440-10')+','+('843e4440-3')}}" label="手机号" name="phone" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('843e4440-11')+','+('843e4440-10')}}" type="text" disabled="{{true}}" placeholder=" " value="{{userInfo.userName}}" data-event-opts="{{[['^input',[['__set_model',['$0','userName','$event',[]],['userInfo']]]]]}}" class="data-v-56d8c034" bind:__l="__l"></uni-easyinput></uni-forms-item></uni-forms><button style="background-color:#1d60b1;border-radius:30px;" shape="round" type="primary" data-event-opts="{{[['tap',[['saveForm',['$event']]]]]}}" bindtap="__e" class="data-v-56d8c034">保存修改</button></view><tn-modal bind:input="__e" vue-id="843e4440-12" custom="{{true}}" showCloseBtn="{{true}}" value="{{show1}}" data-event-opts="{{[['^input',[['__set_model',['','show1','$event',[]]]]]]}}" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-modal-content data-v-56d8c034"><view class="data-v-56d8c034"><view class="tn-text-lg tn-text-bold tn-color-purplered tn-text-center tn-padding data-v-56d8c034">修改昵称</view><view class="tn-bg-gray--light data-v-56d8c034" style="border-radius:10rpx;padding:20rpx 30rpx;margin:50rpx 0 60rpx 0;"><input placeholder="==" name="input" placeholder-style="color:#AAAAAA" maxlength="20" class="data-v-56d8c034"/></view></view><view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center data-v-56d8c034"><tn-button vue-id="{{('843e4440-13')+','+('843e4440-12')}}" backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow="{{true}}" fontBold="{{true}}" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><text class="tn-color-white data-v-56d8c034">保 存</text></tn-button></view></view></tn-modal><tn-modal bind:input="__e" vue-id="843e4440-14" custom="{{true}}" showCloseBtn="{{true}}" value="{{show2}}" data-event-opts="{{[['^input',[['__set_model',['','show2','$event',[]]]]]]}}" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-modal-content data-v-56d8c034"><view class="data-v-56d8c034"><view class="tn-text-lg tn-text-bold tn-color-purplered tn-text-center tn-padding data-v-56d8c034">变更手机号码</view><view class="tn-bg-gray--light tn-color-gray data-v-56d8c034" style="border-radius:10rpx;padding:20rpx 30rpx;margin:50rpx 0 60rpx 0;">13911111193</view></view><view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center data-v-56d8c034"><tn-button vue-id="{{('843e4440-15')+','+('843e4440-14')}}" backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow="{{true}}" fontBold="{{true}}" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><text class="tn-color-white data-v-56d8c034">获取手机号</text></tn-button><view class="tn-padding-top-sm data-v-56d8c034">因为获取手机号api收费了,所以这里注释掉,需要的自行展示出来即可</view></view></view></tn-modal><tn-modal bind:input="__e" vue-id="843e4440-16" custom="{{true}}" showCloseBtn="{{true}}" value="{{show3}}" data-event-opts="{{[['^input',[['__set_model',['','show3','$event',[]]]]]]}}" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-modal-content data-v-56d8c034"><view class="data-v-56d8c034"><view class="tn-text-lg tn-text-bold tn-color-purplered tn-text-center tn-padding data-v-56d8c034">请输入真实姓名</view><view class="tn-bg-gray--light data-v-56d8c034" style="border-radius:10rpx;padding:20rpx 30rpx;margin:50rpx 0 60rpx 0;"><input placeholder="请填写姓名" name="input" placeholder-style="color:#AAAAAA" maxlength="20" class="data-v-56d8c034"/></view></view><view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center data-v-56d8c034"><tn-button vue-id="{{('843e4440-17')+','+('843e4440-16')}}" backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow="{{true}}" fontBold="{{true}}" data-event-opts="{{[['^click',[['saveForm']]]]}}" bind:click="__e" class="data-v-56d8c034" bind:__l="__l" vue-slots="{{['default']}}"><text class="tn-color-white data-v-56d8c034">保 存</text></tn-button></view></view></tn-modal></view></view>
|