From 8da7ffa73f402f3aaec0d86799eef98ec05c8013 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 17 七月 2024 16:10:03 +0800 Subject: [PATCH] 1 --- pages/user/supplier-user.vue | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 42 insertions(+), 1 deletions(-) diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue index 6ca41bc..a92ca40 100644 --- a/pages/user/supplier-user.vue +++ b/pages/user/supplier-user.vue @@ -184,7 +184,48 @@ <!-- #ifdef PUB_CUSTOMER --> <view style="padding-bottom:200rpx"> </view> - <common-footer flg="3"></common-footer> + <common-footer flg="3"></common-footer> + + <uni-popup ref="popup_info" type="bottom"> + <view class="popup-form"> + + <view class="infocontainar"> + <cu-custom bgColor="none" :isBack="false"> + <block slot="content"><span style="color: #333;font-weight: 400;">获取用户头像、昵称</span></block> + </cu-custom> + + + <view class="avatarUrl"> + <button type="balanced" open-type="chooseAvatar" @chooseavatar="onChooseavatar"> + <image :src="regAvatarUrl" class="refreshIcon"></image> + </button> + </view> + <view class="userName"> + <text style="padding-bottom: 20rpx;">修改昵称:</text> + <input :clearable="false" type="nickname" class="weui-input" :value="regUserName" @blur="onBindblur" + placeholder="请输入昵称" @input="onBindinput" /> + </view> + + <view style="width: 100%;height: 1px; background: #EEE;"> + + </view> + <view style="width: 700rpx; height: 20px; font-size: 13px; margin: auto; margin-top: 40rpx;"> + · 申请获取以下权限 + </view> + <view + style="width: 700rpx; height: 20px; font-size: 13px; margin: auto; color: #cbcbcb; margin-top: 25rpx;"> + · 获得你的信息(昵称、头像等) + </view> + + <view class="btn"> + <view @click="onWxCheckSubmit" class="button-green">保存</view> + </view> + + </view> + </view> + </uni-popup> + + <!-- #endif --> <!-- #ifndef PUB_CUSTOMER --> <view class="button-login-out topic-gray" @click="clearlogout"> -- Gitblit v1.9.3