Commit d2984a5e authored by lizhan's avatar lizhan

📝 【TASK-20240806-02】TASK:APP设置页面信息修改

增加地址、会员信息相关内容
parent 01b87b02
......@@ -5,23 +5,48 @@
<!-- <view class="start-bar"></view> -->
<view class="header-toper-title">
<image src="../../static/img/back.png" mode="" @click="goPage('../index/index')"></image>
<text>{{$lang.lang.site.set}}</text>
<text>{{ $lang.lang.site.set }}</text>
</view>
</view>
<!-- <view class="start-bar"></view> -->
<view class="items mt200">
<view class="items-v">
<image src=".../../static/img/site_vip.png" mode=""></image>
<view class="items-v-it">
<text>{{ $lang.lang.site.vip }}</text>
<view class="text">VIP1</view>
</view>
</view>
<view class="items-v" @click="$request.goPage('../auth/auth')">
<image src=".../../static/img/site_auth.png" mode=""></image>
<view class="items-v-it">
<text>{{$lang.lang.site.auth}}</text>
<view :class="idStatus==2?'items-v-it-rt color36':idStatus==1?'items-v-it-rt rte6':'items-v-it-rt'">{{noticeId}}</view>
<text>{{ $lang.lang.site.auth }}</text>
<view
:class="
idStatus == 2
? 'items-v-it-rt color36'
: idStatus == 1
? 'items-v-it-rt rte6'
: 'items-v-it-rt'
"
>{{ noticeId }}</view
>
</view>
</view>
<view class="items-v">
<image src=".../../static/img/site_company.png" mode=""></image>
<view class="items-v-it noborder">
<text>{{$lang.lang.site.comAuth}}</text>
<view :class="companyStatus==2?'items-v-it-rt color36':companyStatus==1?'items-v-it-rt rte6':'items-v-it-rt'">{{companyNotice}}</view>
<text>{{ $lang.lang.site.comAuth }}</text>
<view
:class="
companyStatus == 2
? 'items-v-it-rt color36'
: companyStatus == 1
? 'items-v-it-rt rte6'
: 'items-v-it-rt'
"
>{{ companyNotice }}</view
>
</view>
</view>
</view>
......@@ -30,28 +55,44 @@
<view class="items-v">
<image src=".../../static/img/site_tel.png" mode=""></image>
<view class="items-v-it">
<text v-if="userInfo">{{$lang.lang.site.bindTel}}: {{userInfo.areaCode?$request.checkAddIcon(userInfo.areaCode):''}}{{userInfo.mobile?(userInfo.mobile.substr(0, 3)+'****'+userInfo.mobile.substr(8, 3)):$lang.lang.site.unbind}}</text>
<view class="items-v-it-rt rte036" @click="changMobile">{{$lang.lang.site.changeBind}}</view>
<text v-if="userInfo"
>{{ $lang.lang.site.bindTel }}:
{{ userInfo.areaCode ? $request.checkAddIcon(userInfo.areaCode) : ''
}}{{
userInfo.mobile
? userInfo.mobile.substr(0, 3) + '****' + userInfo.mobile.substr(8, 3)
: $lang.lang.site.unbind
}}</text
>
<view class="items-v-it-rt rte036" @click="changMobile">{{
$lang.lang.site.changeBind
}}</view>
</view>
</view>
<view class="items-v">
<image src=".../../static/img/mail.png" mode=""></image>
<view class="items-v-it">
<text v-if="userInfo">{{$lang.lang.site.bindEmail}}:<span class="email">{{userInfo.email||$lang.lang.site.unbind}}</span></text>
<view class="items-v-it-rt rte036" @click="changMail">{{userInfo.email?$lang.lang.site.changeBind:$lang.lang.site.tobind}}</view>
<text v-if="userInfo"
>{{ $lang.lang.site.bindEmail }}:<span class="email">{{
userInfo.email || $lang.lang.site.unbind
}}</span></text
>
<view class="items-v-it-rt rte036" @click="changMail">{{
userInfo.email ? $lang.lang.site.changeBind : $lang.lang.site.tobind
}}</view>
</view>
</view>
<view class="items-v" @click="toEditPsd">
<image src=".../../static/img/site_pass.png" mode=""></image>
<view class="items-v-it">
<text>{{$lang.lang.site.editPsd}}</text>
<text>{{ $lang.lang.site.editPsd }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
<view class="items-v" @click="$request.goPage('../telcode/telcode')">
<image src=".../../static/img/site_pass.png" mode=""></image>
<view class="items-v-it noborder">
<text>{{$lang.lang.site.controlPsd}}</text>
<text>{{ $lang.lang.site.controlPsd }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
......@@ -60,15 +101,22 @@
<view class="items">
<view class="items-v" @click="toMyInfo">
<image src=".../../static/img/site_person.png" mode=""></image>
<view class="items-v-it ">
<text>{{$lang.lang.site.info}}</text>
<view class="items-v-it">
<text>{{ $lang.lang.site.info }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
<view class="items-v" @click="toCompanyInfo">
<image src=".../../static/img/site_company.png" mode=""></image>
<view class="items-v-it">
<text>{{ $lang.lang.site.companyInfo }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
<view class="items-v">
<image src=".../../static/img/site_address.png" mode=""></image>
<view class="items-v-it noborder">
<text>{{$lang.lang.site.companyInfo}}</text>
<text>{{ $lang.lang.site.address }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
......@@ -78,19 +126,19 @@
<view class="items-v" @click="$request.goPage('../help/help')">
<image src=".../../static/img/site_help.png" mode=""></image>
<view class="items-v-it">
<text>{{$lang.lang.site.help}}</text>
<text>{{ $lang.lang.site.help }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
<view class="items-v" @click="$request.goPage('../ecash/ecash')">
<image src=".../../static/img/site_person.png" mode=""></image>
<view class="items-v-it noborder">
<text>{{$lang.lang.site.search}}</text>
<text>{{ $lang.lang.site.search }}</text>
<image class="rgt" src="../../static/img/rgt.png" mode=""></image>
</view>
</view>
</view>
<!-- <view class="es-btn" @click="getAdData(1)">
<!-- <view class="es-btn" @click="getAdData(1)">
<text>V{{version}}<text class="redtext" v-if="adData">{{$lang.lang.notices.newVersions}}</text></text>
</view>
<view class="es-btn">
......@@ -101,7 +149,12 @@
<view class="items-v" @click="getAdData(1)">
<image src=".../../static/img/site_person.png" mode=""></image>
<view class="items-v-it">
<text>V{{version}}<text class="redtext" v-if="adData">{{$lang.lang.notices.newVersions}}</text></text>
<text
>V{{ version
}}<text class="redtext" v-if="adData">{{
$lang.lang.notices.newVersions
}}</text></text
>
<!-- <image class="rgt" src="../../static/img/rgt.png" mode=""></image> -->
</view>
</view>
......@@ -109,32 +162,37 @@
<view class="items-v" @click="changeLang(locale)">
<image src=".../../static/img/earth.png" mode=""></image>
<view class="items-v-it">
<text>{{$lang.lang.site.change}}</text>
<text>{{locale=='zh'?'English':$lang.lang.site.Zh}}</text>
<text>{{ $lang.lang.site.change }}</text>
<text>{{ locale == 'zh' ? 'English' : $lang.lang.site.Zh }}</text>
</view>
</view>
</view>
</view>
<view class="footer">
<view @click="loginOut">{{$lang.lang.site.exit}}</view>
<view @click="loginOut">{{ $lang.lang.site.exit }}</view>
</view>
<view class="footer2">
<view @click="loginOff" class='logoff'>{{$lang.lang.site.logOff}}</view>
<view @click="loginOff" class="logoff">{{ $lang.lang.site.logOff }}</view>
</view>
<uni-popup ref="adpopup" type="center" :mask-click="false">
<view class="ad-conten">
<image v-if="!forceUpdate" @click="closeAd" class="ad-bg" src='../../static/img/index_close.png'></image>
<view class="ad-title">V{{appVersion}}{{$lang.lang.notices.newVersion}}</view>
<image
v-if="!forceUpdate"
@click="closeAd"
class="ad-bg"
src="../../static/img/index_close.png"
></image>
<view class="ad-title">V{{ appVersion }}{{ $lang.lang.notices.newVersion }}</view>
<view class="ad-info">
<rich-text :nodes="adData"></rich-text>
</view>
<view class="ad-btns">
<view class="ad-btn" @click="toupdate">
<view>{{$lang.lang.notices.update}}</view>
<view>{{ $lang.lang.notices.update }}</view>
</view>
<view v-if="!forceUpdate" class="ad-btn" @click="closeAd">
<view>{{$lang.lang.notices.close}}</view>
<view>{{ $lang.lang.notices.close }}</view>
</view>
</view>
<view class="progress" v-if="showdownLine">
......@@ -144,18 +202,30 @@
</uni-popup>
<uni-popup ref="newpass" type="center">
<view class="newpass_content">
<view class="newpss_title">{{$lang.lang.site.startPsd}}</view>
<view class="newpss_title">{{ $lang.lang.site.startPsd }}</view>
<view class="login-item">
<view class="login-vp login-v">
<input class="vp-input" v-model="password" type="password" maxlength="32" :placeholder="$lang.lang.notices.numPsd">
<input
class="vp-input"
v-model="password"
type="password"
maxlength="32"
:placeholder="$lang.lang.notices.numPsd"
/>
</view>
<view class="login-vp login-v">
<input class="vp-input" v-model="password2" type="password" maxlength="32" :placeholder="$lang.lang.notices.password">
<input
class="vp-input"
v-model="password2"
type="password"
maxlength="32"
:placeholder="$lang.lang.notices.password"
/>
</view>
</view>
<view class="login-btns">
<view class="" @click="setpsd">{{$lang.lang.site.confirm}}</view>
<view class="" @click="$refs.newpass.close()">{{$lang.lang.site.cancel}}</view>
<view class="" @click="setpsd">{{ $lang.lang.site.confirm }}</view>
<view class="" @click="$refs.newpass.close()">{{ $lang.lang.site.cancel }}</view>
</view>
</view>
</uni-popup>
......@@ -163,28 +233,28 @@
</template>
<script>
export default {
export default {
data() {
return {
userInfo: {},
noticeId:this.$lang.lang.site.unauth,
statusData:[],
companyNotice:this.$lang.lang.site.unauth,
idStatus:0,
companyStatus:0,
password:'',
password2:'',
isHavePassword:false,
noticeId: this.$lang.lang.site.unauth,
statusData: [],
companyNotice: this.$lang.lang.site.unauth,
idStatus: 0,
companyStatus: 0,
password: '',
password2: '',
isHavePassword: false,
locale: this.$request.getLocale(),
version:'1.0.2',
appUrl:'',
adData:'',
versionCode:0,
appVersion:'',
forceUpdate:0,
showdownLine:false,
downloadNum:0,//下载百分比
totalSize:0,//下载总量
version: '1.0.2',
appUrl: '',
adData: '',
versionCode: 0,
appVersion: '',
forceUpdate: 0,
showdownLine: false,
downloadNum: 0, //下载百分比
totalSize: 0 //下载总量
}
},
onLoad() {
......@@ -196,325 +266,334 @@
},
onShow() {
this.getUserInfo()
setTimeout(()=>{
setTimeout(() => {
// this.getCompany()
this.getIdcard()
},500)
}, 500)
},
methods: {
toupdate(){
toupdate() {
let that = this
if(that.showdownLine) return
if (that.showdownLine) return
// #ifdef APP-PLUS
let platform = uni.getSystemInfoSync().platform.toLocaleLowerCase()
if (platform == 'ios') {
plus.runtime.openURL('https://apps.apple.com/us/app/e-c-logistics/id6466407990')
}else{
} else {
// uni.showLoading({
// title: this.$lang.lang.notices.startDown,
// })
that.showdownLine = true
uni.showLoading({
title: this.$lang.lang.notices.startDown,
title: this.$lang.lang.notices.startDown
})
var dtask = plus.downloader.createDownload(
that.appUrl,
{
timeout:60,
timeout: 60,
retry: 1,
retryInterval: 3
}, (d, status) => {
},
(d, status) => {
if (status == 200) {
uni.hideLoading();
uni.hideLoading()
that.closeVe()
that.showdownLine = false
console.log("下载成功安装: " + d.filename);
plus.runtime.install(d.filename, {}, () => {
}, function(error) {
console.log('下载成功安装: ' + d.filename)
plus.runtime.install(
d.filename,
{},
() => {},
function (error) {
uni.showToast({
title: that.$lang.lang.notices.failDown,
duration: 1500,
icon: "none"
});
icon: 'none'
})
}
)
} else {
that.showdownLine = false
that.closeVe()
plus.nativeUI.alert(that.$lang.lang.notices.failDown)
}
} );
}
)
// uni.navigateTo({
// url:'../updateView/updateView?url='+this.appUrl
// })
try{
dtask.start();
try {
dtask.start()
// 下载进度
dtask.addEventListener("statechanged", function (download, status) {
if(that.downloadNum==100){
uni.hideLoading();
dtask.addEventListener('statechanged', function (download, status) {
if (that.downloadNum == 100) {
uni.hideLoading()
}
switch (download.state) {
case 1:
showLoading.setTitle("正在下载");
break;
showLoading.setTitle('正在下载')
break
case 2:
break;
case 3://进度条百分比 totalSize为总量,baifen为当前下载的百分比
if(that.totalSize==0){
that.totalSize=parseInt(download.totalSize);
break
case 3: //进度条百分比 totalSize为总量,baifen为当前下载的百分比
if (that.totalSize == 0) {
that.totalSize = parseInt(download.totalSize)
}
if(parseInt(download.downloadedSize/that.totalSize*100)!=that.downloadNum){
that.downloadNum=parseInt(download.downloadedSize/that.totalSize*100);
if (
parseInt((download.downloadedSize / that.totalSize) * 100) != that.downloadNum
) {
that.downloadNum = parseInt((download.downloadedSize / that.totalSize) * 100)
}
break;
break
case 4:
// mui.toast("下载完成");
uni.hideLoading();
break;
uni.hideLoading()
break
}
});
}catch(err){
uni.hideLoading();
})
} catch (err) {
uni.hideLoading()
that.showdownLine = false
that.closeVe()
uni.showToast({
title: that.$lang.lang.notices.failDown,
duration: 1500,
icon: "none"
});
icon: 'none'
})
}
}
// #endif
},
openAd(){
openAd() {
this.$refs.adpopup.open()
},
closeAd(){
closeAd() {
this.$refs.adpopup.close()
},
getAdData(n){
getAdData(n) {
let that = this
var addType = uni.getSystemInfoSync().platform=='ios'?'userIos':'userAndroid'
that.$request.get('/app-api/system/version/latestVersion', { appType: addType,versionCode:that.versionCode}).then(res => {
if(res.code==0&&res.data){
var addType = uni.getSystemInfoSync().platform == 'ios' ? 'userIos' : 'userAndroid'
that.$request
.get('/app-api/system/version/latestVersion', {
appType: addType,
versionCode: that.versionCode
})
.then((res) => {
if (res.code == 0 && res.data) {
that.adData = res.data.desp
that.appUrl = res.data.appUrl
that.appVersion = res.data.appVersion
that.forceUpdate = res.data.forceUpdate
if(n==1){
if (n == 1) {
that.openAd()
}
}else{
if(n==1){
} else {
if (n == 1) {
uni.showToast({
title:that.$lang.lang.notices.nowNews,
icon:'none'
title: that.$lang.lang.notices.nowNews,
icon: 'none'
})
}
}
})
},
changeLang(data){
data = data=='zh'?'en':'zh'
changeLang(data) {
data = data == 'zh' ? 'en' : 'zh'
this.locale = data
uni.setStorageSync('locale',data)
uni.setStorageSync('locale', data)
this.$lang.setLang(data)
this.getIdcard()
this.companyNotice=this.$lang.lang.site.unauth,
;(this.companyNotice = this.$lang.lang.site.unauth),
uni.showToast({
title:data=='zh'?'切换成功':'Handover successful'
title: data == 'zh' ? '切换成功' : 'Handover successful'
})
},
goPage(){
goPage() {
uni.reLaunch({
url:'../index/index',
success() {
}
url: '../index/index',
success() {}
})
},
toEditPsd(){
if(!this.isHavePassword){
toEditPsd() {
if (!this.isHavePassword) {
this.$refs.newpass.open()
}else{
} else {
uni.navigateTo({
url:'../editPsd/editPsd'
url: '../editPsd/editPsd'
})
}
},
changMobile(){
if(!this.isHavePassword){
changMobile() {
if (!this.isHavePassword) {
this.$refs.newpass.open()
}else{
} else {
uni.navigateTo({
url:'../changeTel/changeTel'
url: '../changeTel/changeTel'
})
}
},
getUserInfo() {
this.$request.get('/app-api/member/user/get').then(res => {
if(res.code==0&&res.data){
this.$request.get('/app-api/member/user/get').then((res) => {
if (res.code == 0 && res.data) {
this.userInfo = res.data
this.isHavePassword = this.userInfo.isHavePassword
}
})
},
loginOut(){
loginOut() {
uni.removeStorageSync('Authorization')
uni.navigateTo({
url:"../login/login"
url: '../login/login'
})
},
getIdcard () {
this.$request.get('/app-api/member/user/get-auth-idcard-info').then(res => {
if(res.code==0&&res.data){
getIdcard() {
this.$request.get('/app-api/member/user/get-auth-idcard-info').then((res) => {
if (res.code == 0 && res.data) {
this.noticeId = this.getNoticeName(res.data.status)
this.idStatus = res.data.status
}
})
},
getCompany () {
this.$request.get('/app-api/member/user/get-auth-enterprise-info').then(res => {
if(res.code==0&&res.data){
getCompany() {
this.$request.get('/app-api/member/user/get-auth-enterprise-info').then((res) => {
if (res.code == 0 && res.data) {
this.companyNotice = this.getNoticeName(res.data.status)
this.companyStatus = res.data.status
}
})
},
getNoticeName(status){
var arr = this.statusData.find(item => item.value == status)
if(arr){
if(this.$lang.locale=='zh'){
getNoticeName(status) {
var arr = this.statusData.find((item) => item.value == status)
if (arr) {
if (this.$lang.locale == 'zh') {
return arr.label
}else{
} else {
return arr.labelEn
}
}else{
} else {
return ''
}
},
getVersion(){
this.version = uni.getStorageSync('appversion');
this.versionCode = uni.getStorageSync('versionCode');
getVersion() {
this.version = uni.getStorageSync('appversion')
this.versionCode = uni.getStorageSync('versionCode')
},
getStatusData(){
this.$request.getConfig('audit_status').then(res => {
if(res.code==0&&res.data && res.data.list.length > 0){
getStatusData() {
this.$request.getConfig('audit_status').then((res) => {
if (res.code == 0 && res.data && res.data.list.length > 0) {
this.statusData = res.data.list
}
})
},
toMyInfo(){
toMyInfo() {
uni.navigateTo({
url:'../my_info/my_info'
url: '../my_info/my_info'
})
},
toCompanyInfo(){
toCompanyInfo() {
uni.navigateTo({
url:'../company_info/company_info'
url: '../company_info/company_info'
})
},
changMail(){
if(!this.isHavePassword){
changMail() {
if (!this.isHavePassword) {
this.$refs.newpass.open()
}else{
} else {
uni.navigateTo({
url:'../edit_mail/edit_mail'
url: '../edit_mail/edit_mail'
})
}
},
setpsd () {
setpsd() {
let params = {
password: this.password2,
password: this.password2
}
if(this.password == ''){
if (this.password == '') {
return uni.showToast({
title: this.$lang.lang.notices.password,
icon: 'error',
icon: 'error'
})
}else{
} else {
var reg1 = new RegExp('^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$')
if (!reg1.test(this.password)) {
return uni.showToast({
title: this.$lang.lang.notices.numPsd,
icon: 'error',
icon: 'error'
})
}
}
if(this.password2 == ''){
if (this.password2 == '') {
return uni.showToast({
title: this.$lang.lang.notices.nextPsd,
icon: 'error',
icon: 'error'
})
}
if(this.password!=this.password2){
if (this.password != this.password2) {
return uni.showToast({
title: this.$lang.lang.notices.different,
icon: 'none',
icon: 'none'
})
}
let that = this
that.$request.post('/app-api/member/update-password', params).then(res => {
if(res.code == 0){
that.$request.post('/app-api/member/update-password', params).then((res) => {
if (res.code == 0) {
that.getUserInfo()
that.$refs.newpass.close()
uni.showToast({
title:this.$lang.lang.notices.edited,
title: this.$lang.lang.notices.edited,
icon: 'none'
})
}else{
} else {
uni.showToast({
title: res.msg ,
icon: 'none',
title: res.msg,
icon: 'none'
})
}
})
},
loginOff(){
loginOff() {
let that = this
uni.showModal({
title: '提示',
content: that.$lang.lang.site.logNotice,
success: function (res) {
if (res.confirm) {
that.$request.deleted('/app-api/member/member/cancellation').then(res => {
if(res.code == 0 && res.data){
that.$request.deleted('/app-api/member/member/cancellation').then((res) => {
if (res.code == 0 && res.data) {
uni.showToast({
title:that.$lang.lang.site.offSuccess,
title: that.$lang.lang.site.offSuccess,
icon: 'none'
})
uni.setStorageSync('Authorization', '')
setTimeout(()=>{
setTimeout(() => {
uni.reLaunch({
url: '../login/login'
})
// uni.reLaunch({
// url: '../login/login'
// })
},2000)
}else{
}, 2000)
} else {
uni.showToast({
title: res.msg ,
icon: 'none',
title: res.msg,
icon: 'none'
})
}
})
} else if (res.cancel) {
console.log('用户点击取消');
console.log('用户点击取消')
}
}
});
},
})
}
}
}
</script>
<style>
@import url(../../static/css/site.css);
@import url(../../static/css/site.css);
</style>
page{
page {
/* #ifdef H5 */
padding-top: 140upx;
/* #endif */
......@@ -6,13 +6,15 @@ page{
padding-top: calc(var(--status-bar-height) + 100upx);
/* #endif */
}
.items{
.items {
width: 90%;
margin: 0 auto 40upx;
background-color: var(--c0);
border-radius: 12upx;
}
.items-v {
padding: 0 30upx;
display: flex;
......@@ -21,15 +23,18 @@ page{
height: 120upx;
align-items: center;
}
.email{
.email {
font-size: var(--f26) !important;
}
.items-v image{
.items-v image {
width: 44upx;
height: 42upx;
margin: 0 30upx 0 0;
}
.items-v-it{
.items-v-it {
width: 90%;
height: 100%;
display: flex;
......@@ -38,10 +43,12 @@ page{
position: relative;
justify-content: space-between;
}
.noborder{
.noborder {
border: none;
}
.items-v-it-rt{
.items-v-it-rt {
position: absolute;
right: 0;
font-size: var(--f24);
......@@ -50,32 +57,38 @@ page{
padding: 4upx 12upx;
border-radius: 4upx;
}
.rgt{
.rgt {
position: absolute;
right: -30upx;
width: 20upx;
height: 30upx;
}
.rte6{
.rte6 {
border: 1px solid var(--ce6);
color: var(--ce6);
}
.color36{
.color36 {
border: 1px solid var(--c036);
color: var(--c036);
}
.rte036{
.rte036 {
border: 1px solid var(--c036);
color: var(--c036);
border-radius: 30upx;
padding: 6upx 20upx;
}
.footer{
.footer {
width: 90%;
margin: 0 auto;
padding-bottom: 20upx;
}
.footer view{
.footer view {
width: 100%;
border-radius: 12upx;
padding: 20upx 0;
......@@ -84,7 +97,8 @@ page{
background-color: #1373eb;
margin-top: 40upx;
}
.login-item{
.login-item {
border-radius: 20upx;
background-color: #fff;
width: 86%;
......@@ -92,16 +106,19 @@ page{
padding: 3%;
margin-top: 30upx;
}
.login-v{
.login-v {
display: flex;
height: 100upx;
}
.login-v .vp-input{
.login-v .vp-input {
/* color: var(--c0); */
/* caret-color: var(--c0); */
font-size: var(--f26);
}
.login-vs{
.login-vs {
display: flex;
align-items: center;
font-size: var(--f30);
......@@ -109,15 +126,18 @@ page{
font-weight: 700;
margin-right: 20upx;
}
.login-vp{
.login-vp {
width: 100%;
border-bottom: 1px solid #e0e0e0;
position: relative;
}
.login-phone{
.login-phone {
display: flex;
}
.login-phone .login-area{
.login-phone .login-area {
display: flex;
align-items: center;
justify-content: center;
......@@ -130,26 +150,29 @@ page{
margin-right: 20upx;
font-size: var(--f26);
}
.login-phone .login-area text{
.login-phone .login-area text {
margin-right: 10upx;
}
/* .vp-input::input-placeholder{
color:var(--c0);
} */
.vp-input{
.vp-input {
margin-top: 30upx;
width: 86%;
font-size: var(--f26);
}
.login-btns{
.login-btns {
margin-top: 40upx;
padding: 0 50upx;
display: flex;
align-items: center;
justify-content: space-around;
}
.login-btns view{
.login-btns view {
width: 40%;
height: 60upx;
border-radius: 100upx;
......@@ -160,27 +183,32 @@ page{
align-items: center;
margin-bottom: 20upx;
}
.login-btns view:first-child{
.login-btns view:first-child {
background: linear-gradient(0deg, #2878E0 0%, #016EF6 100%);
color: var(--c0);
}
.login-btns view:last-child{
.login-btns view:last-child {
border: 1px solid #666;
color: #666;
}
.newpass_content{
.newpass_content {
width: 580upx;
background: #fff;
border-radius: 12upx;
padding: 20upx;
}
.newpss_title{
.newpss_title {
padding: 20upx;
font-size: 32upx;
font-weight: 600;
color: #333;
}
.ad-conten{
.ad-conten {
width: 580upx;
border-radius: 16upx;
background-image: url(../../static/img/index_pbg.png);
......@@ -189,28 +217,32 @@ page{
padding-top: 182upx;
padding-bottom: 20upx;
}
.ad-bg{
.ad-bg {
width: 60upx;
height: 60upx;
margin-top: -154upx;
margin-right: 14upx;
float: right;
}
.ad-title{
.ad-title {
width: 100%;
text-align: center;
font-size: 40upx;
font-weight: 600;
}
.ad-btns{
.ad-btns {
width: 90%;
margin: 20rpx auto;
display:flex;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.ad-btn{
.ad-btn {
width: 90%;
color: #fff;
text-align: center;
......@@ -219,39 +251,50 @@ page{
background-size: 100%;
background-repeat: no-repeat;
}
.ad-btn view{
.ad-btn view {
margin-top: -20upx;
font-size: 36upx;
}
.ad-info{
.ad-info {
width: 92%;
margin: 20upx auto;
height: 260upx;
overflow: auto;
}
.es-btn{
.es-btn {
width: 80%;
margin: 0 auto 20upx;
padding: 20upx 0;
color: #666;
font-size: 26upx;
}
.redtext{
.redtext {
font-size: 26upx;
color: #FF0000;
margin-left:12upx;
margin-left: 12upx;
}
.progress{
.progress {
width: 80%;
margin: 20upx auto;
}
.footer2{
.footer2 {
padding: 20px;
}
.logoff{
.logoff {
margin-bottom: 50rpx;
margin-top: 10px !important;
text-align:center;
text-align: center;
font-size: 12px;
color: #666;
}
.items-v-it .text {
color: #666;
}
......@@ -741,6 +741,8 @@ export default {
logOff: 'Log off',
offSuccess: 'Logged out successfully',
logNotice:
'Are you sure you want to log out? After cancellation, all data related to the account will be deleted and cannot be restored. Are you sure to cancel?'
'Are you sure you want to log out? After cancellation, all data related to the account will be deleted and cannot be restored. Are you sure to cancel?',
vip: 'membership tiers',
address: 'address information'
}
}
......@@ -741,6 +741,8 @@ export default {
controlPsd: '控货密码',
logOff: '注销当前账号',
offSuccess: '注销成功',
logNotice: '您确定要注销吗?注销后账号相关所有数据都会被删除,且无法恢复,您确定注销吗?'
logNotice: '您确定要注销吗?注销后账号相关所有数据都会被删除,且无法恢复,您确定注销吗?',
vip: '会员等级',
address: '地址信息'
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment