添加注册确认密码 隐藏三方登录及俄语 添加联系客服取消按钮

This commit is contained in:
浅念
2025-03-24 10:24:52 +08:00
parent 1ae78a8950
commit 0a0ab4d160
5 changed files with 34 additions and 16 deletions
-6
View File
@@ -83,9 +83,6 @@
}, { }, {
label: this.$t('en'), label: this.$t('en'),
id: 'en' id: 'en'
}, {
label:this.$t('ru'),
id: 'ru'
}] }]
], ],
@@ -141,9 +138,6 @@
}, { }, {
label: this.$t('en'), label: this.$t('en'),
id: 'en' id: 'en'
}, {
label:this.$t('ru'),
id: 'ru'
}] }]
]; ];
uni.setTabBarItem({ uni.setTabBarItem({
+16 -2
View File
@@ -49,7 +49,7 @@
<span>{{$t('mine.feedback')}}</span> <span>{{$t('mine.feedback')}}</span>
<uni-icons type="right" class="icon" size="18"></uni-icons> <uni-icons type="right" class="icon" size="18"></uni-icons>
</view> --> </view> -->
<view class="sonContent" @click="gomyauth"> <view class="sonContent" v-if="!isopenid" @click="gomyauth">
<image class="son-img-bg" style="width: 30px; height: 30px;" src="/static/image/login/fenshu.png"></image> <image class="son-img-bg" style="width: 30px; height: 30px;" src="/static/image/login/fenshu.png"></image>
<span>{{$t('auth')}}</span> <span>{{$t('auth')}}</span>
<uni-icons type="right" class="icon" size="18"></uni-icons> <uni-icons type="right" class="icon" size="18"></uni-icons>
@@ -80,13 +80,16 @@
</view> </view>
<!-- 联系客服弹框 --> <!-- 联系客服弹框 -->
<u-popup :show="show" :round="20" mode="center" @close="close" :closeable="true"> <u-popup :show="show" :round="20" mode="center" @close="close">
<view class="popupcontent"> <view class="popupcontent">
<image class="log1" src="/static/image/mine/kefu.png"></image> <image class="log1" src="/static/image/mine/kefu.png"></image>
<view class="title">{{$t('mine.kfphone')}}</view> <view class="title">{{$t('mine.kfphone')}}</view>
<view class="calls">18137110386</view> <view class="calls">18137110386</view>
<button class="btn" @click="callPhone('18137110386')">{{$t('call')}}</button> <button class="btn" @click="callPhone('18137110386')">{{$t('call')}}</button>
</view> </view>
<view class="upopupqx" @click="close">
<image src="/static/image/mine/chaprop.png" mode=""></image>
</view>
</u-popup> </u-popup>
</view> </view>
</template> </template>
@@ -177,6 +180,17 @@
</script> </script>
<style lang="scss"> <style lang="scss">
::v-deep .u-popup__content{
background-color: transparent !important;
}
.upopupqx{
margin-top: 20px;
text-align: center;
image{
width: 80rpx;
height: 80rpx;
}
}
uni-page-body { uni-page-body {
background-color: #F6F6F6 !important; background-color: #F6F6F6 !important;
} }
+2 -8
View File
@@ -37,7 +37,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="three"> <!-- <view class="three">
<u-divider :text="$t('threelogin')" style="padding: 0px 40px;"></u-divider> <u-divider :text="$t('threelogin')" style="padding: 0px 40px;"></u-divider>
<u-grid :border="false" @click="click" align="center"> <u-grid :border="false" @click="click" align="center">
<u-grid-item> <u-grid-item>
@@ -53,7 +53,7 @@
<text class="grid-text">{{$t('phone')}}</text> <text class="grid-text">{{$t('phone')}}</text>
</u-grid-item> </u-grid-item>
</u-grid> </u-grid>
</view> </view> -->
</view> </view>
<view class="pact"> <view class="pact">
@@ -82,9 +82,6 @@
}, { }, {
label: this.$t('en'), label: this.$t('en'),
id: 'en' id: 'en'
}, {
label:this.$t('ru'),
id: 'ru'
}] }]
], ],
language:'zh-Hans' language:'zh-Hans'
@@ -118,9 +115,6 @@
}, { }, {
label: this.$t('en'), label: this.$t('en'),
id: 'en' id: 'en'
}, {
label:this.$t('ru'),
id: 'ru'
}] }]
]; ];
this.list1 = [{ this.list1 = [{
+16
View File
@@ -39,6 +39,14 @@
border="none" border="none"
></u--input> ></u--input>
</view> </view>
<view class="password">
<u--input
type="password"
v-model="password1"
:placeholder="$t('Confirmpassword')"
border="none"
></u--input>
</view>
</view> </view>
<view class="button"> <view class="button">
<view @click="login"> <view @click="login">
@@ -59,6 +67,7 @@
email: "", email: "",
code:'', code:'',
password: "", password: "",
password1: "",
pactChecked: false, pactChecked: false,
vcodeTime: 0, vcodeTime: 0,
vcodeTimer: null vcodeTimer: null
@@ -93,6 +102,13 @@
}); });
return false return false
} }
if(this.password != this.password1){
uni.showToast({
title:this.$t('passworerr1'),
icon: 'none'
});
return false
}
request({ request({
url:'user/register', url:'user/register',
method:'POST', method:'POST',
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB