no message
This commit is contained in:
+14
@@ -305,6 +305,20 @@
|
|||||||
"navigationBarTextStyle": "black"
|
"navigationBarTextStyle": "black"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "setting/zhaopian",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"navigationBarTextStyle": "black"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "setting/zhao",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"navigationBarTextStyle": "black"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "account/index",
|
"path": "account/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
+3
-3
@@ -548,9 +548,9 @@ export default {
|
|||||||
console.log("currentUserData", this.currentUserData);
|
console.log("currentUserData", this.currentUserData);
|
||||||
let path =
|
let path =
|
||||||
"/pages/mine_package/mine_authentication/mine_authentication";
|
"/pages/mine_package/mine_authentication/mine_authentication";
|
||||||
// if (currentUserData && Object.keys(currentUserData).length !== 0 && currentUserData.certStatus && currentUserData.certStatus !== 0) {
|
if (currentUserData && Object.keys(currentUserData).length !== 0 && currentUserData.certStatus && currentUserData.certStatus !== 0) {
|
||||||
// path = "/pages/mine_package/mine_authentication_ok/mine_authentication_ok"
|
path = "/pages/mine_package/mine_authentication_ok/mine_authentication_ok"
|
||||||
// }
|
}
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: path,
|
url: path,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="authentication_ok_warp">
|
<view class="authentication_ok_warp">
|
||||||
<Header :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
<Header class="head-view-one" :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
||||||
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||||
<view class="authentication_result">
|
<view class="authentication_result">
|
||||||
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/auth_ok.png" mode="widthFix"
|
<up-image src="/static/new/ren.png" mode="widthFix"
|
||||||
shape="circle" width="140" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
shape="circle" width="90" height="104" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||||
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="currentUserData.certStatus === 3" class="reauthentication_warp">
|
<view v-if="currentUserData.certStatus === 3" class="reauthentication_warp">
|
||||||
@@ -18,6 +18,10 @@
|
|||||||
bgColor="#f1f6ff00"></up-image>
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无相关认证信息</view>
|
<view class="not_order_msg_warp">暂无相关认证信息</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="bottom-btn">
|
||||||
|
<MyBtn @ok="onClick" style="width:100%" mh="88rpx" text="修改认证" br="8rpx" bg="linear-gradient( 270deg, #B164FB 0%, #7934F6 100%)" wd="200rpx"></MyBtn>
|
||||||
|
</view>
|
||||||
|
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -25,6 +29,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import Header from '@/components/header.vue';
|
import Header from '@/components/header.vue';
|
||||||
import { getUserInfo } from '@/api/auth.js';
|
import { getUserInfo } from '@/api/auth.js';
|
||||||
|
import MyBtn from '@/components/common/my-btn.vue'
|
||||||
import { getValue, CERT_OPTION, CERT_STATUS_OPTION } from '@/utils/enumUtils.js';
|
import { getValue, CERT_OPTION, CERT_STATUS_OPTION } from '@/utils/enumUtils.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -36,7 +41,7 @@ export default {
|
|||||||
return CERT_STATUS_OPTION;
|
return CERT_STATUS_OPTION;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
components: { Header },
|
components: { Header,MyBtn },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentUserData: {},// 当前用户信息
|
currentUserData: {},// 当前用户信息
|
||||||
@@ -47,6 +52,11 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getValue,
|
getValue,
|
||||||
|
onClick(){
|
||||||
|
uni.redirectTo({
|
||||||
|
url:"/pages/mine_package/mine_authentication/mine_authentication"
|
||||||
|
})
|
||||||
|
},
|
||||||
async getUserInfo() {
|
async getUserInfo() {
|
||||||
const result = await getUserInfo();
|
const result = await getUserInfo();
|
||||||
if (result && result.bizcode === 100) {
|
if (result && result.bizcode === 100) {
|
||||||
@@ -67,10 +77,26 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.bottom-btn{
|
||||||
|
width:100%;
|
||||||
|
flex:1;
|
||||||
|
padding: 0 24rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom:70rpx;
|
||||||
|
}
|
||||||
.authentication_ok_warp {
|
.authentication_ok_warp {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
|
.head-view-one
|
||||||
|
{
|
||||||
|
width:calc(100vw - 64rpx);
|
||||||
|
}
|
||||||
.authentication_ok_content {
|
.authentication_ok_content {
|
||||||
padding: 60rpx;
|
padding: 60rpx;
|
||||||
}
|
}
|
||||||
@@ -80,7 +106,7 @@ export default {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 100rpx;
|
// margin-top: 100rpx;
|
||||||
|
|
||||||
.result_title {
|
.result_title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ export default {
|
|||||||
bottomList:[
|
bottomList:[
|
||||||
{text:'账号与安全'},
|
{text:'账号与安全'},
|
||||||
{text:'我的合同'},
|
{text:'我的合同'},
|
||||||
|
{text:'资质照片'},
|
||||||
{text:'用户协议'},
|
{text:'用户协议'},
|
||||||
{text:'隐私协议'},
|
{text:'隐私协议'},
|
||||||
{text:'售后保障协议'},
|
{text:'售后保障协议'},
|
||||||
@@ -176,15 +177,18 @@ export default {
|
|||||||
url = '/pages/rwa_package/dongjian/index'
|
url = '/pages/rwa_package/dongjian/index'
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
url = '/pages/mine_package/mine_user_agreement/mine_user_agreement'
|
url = '/pages/rwa_package/setting/zhaopian'
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
url = '/pages/mine_package/mine_privacy_agreement/mine_privacy_agreement'
|
url = '/pages/mine_package/mine_user_agreement/mine_user_agreement'
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
url = '/pages/mine_package/mine_product_agreement/mine_product_agreement'
|
url = '/pages/mine_package/mine_privacy_agreement/mine_privacy_agreement'
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
url = '/pages/mine_package/mine_product_agreement/mine_product_agreement'
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
url = '/pages/mine_package/mine_about_us/mine_about_us'
|
url = '/pages/mine_package/mine_about_us/mine_about_us'
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,76 @@
|
|||||||
|
<template>
|
||||||
|
<view class="content">
|
||||||
|
<TopSafe></TopSafe>
|
||||||
|
<Header :title="zhaoList[type]" />
|
||||||
|
<view class="setting-view">
|
||||||
|
<image :src="`/static/new/zi_${type}.png`"></image>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="bottom-btn">
|
||||||
|
<MyBtn text="保存" @ok="onSetName"></MyBtn>
|
||||||
|
</view> -->
|
||||||
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { getUserInfo,updateName } from '@/api/auth.js';
|
||||||
|
import Header from '@/components/common/header.vue';
|
||||||
|
import TopSafe from '@/components/common/top-safe.nvue'
|
||||||
|
import MyBtn from '@/components/common/my-btn.vue'
|
||||||
|
import func from '@/utils/func.js';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: { Header, TopSafe,MyBtn },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
userInfo: null,
|
||||||
|
inputText:'',
|
||||||
|
zhaoList:['营业执照','电信增值许可证书'],
|
||||||
|
type:0
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
},
|
||||||
|
onLoad(option) {
|
||||||
|
if(option && option.type){
|
||||||
|
this.type = Number(option.type);
|
||||||
|
}
|
||||||
|
this.init();
|
||||||
|
// this.userinfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
init() {
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.bottom-btn{
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom:92rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 32rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
}
|
||||||
|
.setting-view {
|
||||||
|
width: 100%;
|
||||||
|
height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height));
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding: 32rpx 32rpx 0 ;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
image{
|
||||||
|
wdith:704rpx;
|
||||||
|
height:1060rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,107 @@
|
|||||||
|
<template>
|
||||||
|
<view class="content">
|
||||||
|
<TopSafe></TopSafe>
|
||||||
|
<Header title="资质证明" />
|
||||||
|
<view class="setting-view">
|
||||||
|
<view class="name-box">
|
||||||
|
<view class="zhao-list" @click="onJump(index)" :style="{borderWidth:index == zhaoList.length - 1 ? '0' : '2rpx'}"
|
||||||
|
v-for="(item,index) in zhaoList" :key="index">
|
||||||
|
<text class="text-zu1 text-32">{{item}}</text>
|
||||||
|
<view class="zhao-right">
|
||||||
|
<text class="text-fu1 text-28" style="margin-right:20rpx;">查看</text>
|
||||||
|
<u-icon name="arrow-right" color="#999" size='14'></u-icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- <view class="bottom-btn">
|
||||||
|
<MyBtn text="保存" @ok="onSetName"></MyBtn>
|
||||||
|
</view> -->
|
||||||
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { getUserInfo,updateName } from '@/api/auth.js';
|
||||||
|
import Header from '@/components/common/header.vue';
|
||||||
|
import TopSafe from '@/components/common/top-safe.nvue'
|
||||||
|
import MyBtn from '@/components/common/my-btn.vue'
|
||||||
|
import func from '@/utils/func.js';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: { Header, TopSafe,MyBtn },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
userInfo: null,
|
||||||
|
inputText:'',
|
||||||
|
zhaoList:['营业执照','电信增值许可证书']
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.init();
|
||||||
|
// this.userinfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
init() {
|
||||||
|
},
|
||||||
|
onJump(index){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:`/pages/rwa_package/setting/zhao?type=${index}`
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.bottom-btn{
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom:92rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 32rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
}
|
||||||
|
.setting-view {
|
||||||
|
width: 100%;
|
||||||
|
height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height));
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding: 0 32rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
.name-box{
|
||||||
|
width:100%;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background-color: #fff;
|
||||||
|
margin-top:30rpx;
|
||||||
|
.zhao-list{
|
||||||
|
width:100%;
|
||||||
|
height:100rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
padding: 0 24rpx;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
border-bottom: 2rpx solid #EAEAEA;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.zhao-right{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user