Files
wanjiashangchao-shop/pages/md/authenticationInformation/authenticationInformation.vue
2025-04-30 14:08:39 +08:00

294 lines
7.6 KiB
Vue

<template>
<view class="page" :style="themeColor">
<view class="flex benben-position-layout flex flex-wrap align-center authenticationInformation_flex_0"
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex flex-wrap align-center justify-between flex-sub authenticationInformation_fd0_0'>
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
<text class='fu-iconfont2 authenticationInformation_fd0_0_c0_c0' @tap.stop="handleJumpDiy"
data-type="back" data-url="1">&#xE794;</text>
</view>
<view class='flex flex-wrap align-stretch justify-center flex-sub'>
<text class='authenticationInformation_fd0_0_c1_c0'>认证信息</text>
</view>
<view class='flex flex-wrap align-center authenticationInformation_fd0_0_c2'>
</view>
</view>
</view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
<!---flex布局flex布局开始-->
<view class="flex benben-flex-layout flex-wrap align-center authenticationInformation_flex_1">
<view class='flex flex-direction flex-wrap align-stretch flex-sub authenticationInformation_fd1_0'>
<view class='flex flex-wrap align-center justify-between authenticationInformation_fd1_0_c0'>
<view class='flex flex-wrap align-center'>
<text class='authenticationInformation_fd1_0_c0_c0_c0'>负责人</text>
</view>
<view class='flex flex-wrap align-center'>
<text class='authenticationInformation_fd1_0_c0_c1_c0'>{{datails.real_name}}</text>
</view>
</view>
<view class='flex flex-wrap align-center justify-between authenticationInformation_fd1_0_c1'>
<view class='flex flex-wrap align-center'>
<text class='authenticationInformation_fd1_0_c1_c0_c0'>手机号</text>
</view>
<view class='flex flex-wrap align-center'>
<text class='authenticationInformation_fd1_0_c1_c1_c0'>{{mobiles}}</text>
</view>
</view>
</view>
</view>
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout authenticationInformation_flex_2">
<view class='flex flex-wrap align-center authenticationInformation_fd2_0'>
<text class='authenticationInformation_fd2_0_c0'>证件信息</text>
</view>
<view class='flex flex-direction flex-wrap align-center authenticationInformation_fd2_1'>
<image class='authenticationInformation_fd2_1_c0' mode="aspectFill" :src='datails.id_front'></image>
<text class='authenticationInformation_fd2_1_c1'>身份证正面</text>
</view>
<view class='flex flex-direction flex-wrap align-center authenticationInformation_fd2_2'>
<image class='authenticationInformation_fd2_2_c0' mode="aspectFill" :src='datails.id_back'></image>
<text class='authenticationInformation_fd2_2_c1'>身份证反面</text>
</view>
<view class='flex flex-direction flex-wrap align-center authenticationInformation_fd2_3'>
<image class='authenticationInformation_fd2_3_c0' v-for="(item,index) in store_images" :key="index" mode="aspectFill" :src='item'></image>
<text class='authenticationInformation_fd2_3_c1'>营业执照</text>
</view>
</view>
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
<view class="flex flex-direction flex-wrap align-stretch justify-center benben-flex-layout">
<button class='authenticationInformation_fd3_0'>已认证</button>
</view>
<!---flex布局flex布局结束-->
</view>
</template>
<script>
export default {
components: {},
data() {
return {
datails:"",
mobiles:"",
store_images:[]
};
},
computed: {
themeColor() {
return this.$store.getters.themeColor
},
},
onShow() {
this.getStore()
this.getInfo()
},
methods: {
//获取店铺信息
getStore() {
this.$api.post(global.apiUrls.postGetShopInfo)
.then(res => {
if (res.data.code == 1) {
this.datails = res.data.data;
this.store_images = res.data.data.license_image.split(',');
}
console.log(res.data)
})
},
getInfo() {
this.$api.post(global.apiUrls.postGetUserInfo, {
user_id: (global.userInfo && global.userInfo.id) || 0
}).then(res => {
console.log(res);
res = res.data;
if (res.code == 1) {
this.mobiles = res.data.mobiles;
}
uni.stopPullDownRefresh();
});
},
}
};
</script>
<style lang="scss" scoped>
.page {
width: 100vw;
overflow-x: hidden;
min-height: calc(100vh - var(--window-bottom));
background: rgba(248, 248, 248, 1);
background-size: 100% auto !important;
}
.authenticationInformation_flex_0 {
background: #fff;
width: 750rpx;
height: 88rpx;
overflow: hidden;
z-index: 10;
top: 0rpx;
background-size: 100% auto !important;
}
.authenticationInformation_fd0_0_c2 {
width: 32rpx;
height: 32rpx;
}
.authenticationInformation_fd0_0_c1_c0 {
font-size: 36rpx;
font-weight: 500;
color: #333;
line-height: 88rpx;
}
.authenticationInformation_fd0_0_c0_c0 {
font-size: 32rpx;
font-weight: 500;
color: #333;
line-height: 88rpx;
}
.authenticationInformation_fd0_0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.authenticationInformation_flex_1 {
padding: 024rpx 024rpx 040rpx 024rpx;
}
.authenticationInformation_fd1_0_c1_c1_c0 {
color: #0E0E0C;
font-size: 28rpx;
font-weight: 400;
line-height: 38rpx;
}
.authenticationInformation_fd1_0_c1_c0_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 30rpx;
}
.authenticationInformation_fd1_0_c1 {
border-bottom: 1px solid #eee;
padding: 28rpx 0rpx 28rpx 0rpx;
}
.authenticationInformation_fd1_0_c0_c1_c0 {
color: #0E0E0C;
font-size: 28rpx;
font-weight: 400;
line-height: 38rpx;
}
.authenticationInformation_fd1_0_c0_c0_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 30rpx;
}
.authenticationInformation_fd1_0_c0 {
border-bottom: 1px solid #eee;
padding: 28rpx 0rpx 28rpx 0rpx;
}
.authenticationInformation_fd1_0 {
background: rgba(255, 255, 255, 1);
border-radius: 16rpx 16rpx 16rpx 16rpx;
background-size: 100% auto !important;
padding: 0rpx 24rpx 0rpx 24rpx;
}
.authenticationInformation_flex_2 {
padding: 0rpx 24rpx 0rpx 24rpx;
}
.authenticationInformation_fd2_3_c1 {
margin: 25rpx 0rpx 0rpx 0rpx;
color: #333333;
font-size: 28rpx;
font-weight: 600;
line-height: 30rpx;
}
.authenticationInformation_fd2_3_c0 {
width: 702rpx;
height: 444rpx;
margin-bottom: 16rpx;
border-radius: 0rpx;
}
.authenticationInformation_fd2_3 {
margin: 0rpx 0rpx 40rpx 0rpx;
}
.authenticationInformation_fd2_2_c1 {
margin: 25rpx 0rpx 0rpx 0rpx;
color: #333333;
font-size: 28rpx;
font-weight: 600;
line-height: 30rpx;
}
.authenticationInformation_fd2_2_c0 {
width: 702rpx;
height: 444rpx;
border-radius: 16rpx;
}
.authenticationInformation_fd2_2 {
margin: 0rpx 0rpx 40rpx 0rpx;
}
.authenticationInformation_fd2_1_c1 {
margin: 25rpx 0rpx 0rpx 0rpx;
color: #333333;
font-size: 28rpx;
font-weight: 600;
line-height: 30rpx;
}
.authenticationInformation_fd2_1_c0 {
width: 702rpx;
height: 444rpx;
border-radius: 16rpx;
}
.authenticationInformation_fd2_1 {
margin: 0rpx 0rpx 40rpx 0rpx;
}
.authenticationInformation_fd2_0_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 600;
line-height: 30rpx;
}
.authenticationInformation_fd2_0 {
margin: 0rpx 0rpx 31rpx 0rpx;
}
.authenticationInformation_fd3_0 {
background: rgba(242, 242, 242, 1);
border-radius: 16rpx 16rpx 16rpx 16rpx;
font-size: 32rpx;
color: rgba(153, 153, 153, 1);
margin: 60rpx 24rpx 42rpx 24rpx;
height: 88rpx;
line-height: 88rpx;
}
</style>