feat: 澜品优选用户默认头像更换;手机号录入位数限制;更改头像功能隐藏
3 files modified
6 ■■■■ changed files
pages/login/login.vue 2 ●●● patch | view | raw | blame | history
pages/profile/profile.vue 4 ●●●● patch | view | raw | blame | history
static/imgs/headimg.png patch | view | raw | blame | history
pages/login/login.vue
@@ -12,7 +12,7 @@
        </view>
        <view class="login-list">
            <view class="login-item">
                <input type="tel" v-model="formData.phone" placeholder="请输入手机号" />
                <input type="tel" v-model="formData.phone" maxlength="11" placeholder="请输入手机号" />
            </view>
            <view class="login-item" v-if="formData.loginType == 1">
                <input type="password" v-model="formData.pass" placeholder="请输入密码" />
pages/profile/profile.vue
@@ -3,12 +3,12 @@
        <yk-authpup ref="authpup" type="top" @changeAuth="changeAuth" noticeTitle="便于您使用该功能上传您的照片用于核实身份场景中读取相册内容" permissionID="WRITE_EXTERNAL_STORAGE"></yk-authpup>
        <yk-authpup ref="camears" type="top" @changeAuth="changeAuth2" noticeTitle="便于您使用该功能便于您拍摄上传用于核实身份场景" permissionID="CAMERA"></yk-authpup>
        <view class="profile">
            <view class="profile-item">
            <!-- <view class="profile-item">
                <text class="label">头像(点击更换)</text>
                <view class="" @tap="setImg">
                    <image :src="$baseUrl + userInfo.avatar" mode=""></image>
                </view>
            </view>
            </view> -->
            <view class="profile-item">
                <text class="label">姓名</text>
                <view class="">
static/imgs/headimg.png