74 lines
1.5 KiB
Vue
74 lines
1.5 KiB
Vue
<template>
|
|
<view class="content">
|
|
<TopSafe></TopSafe>
|
|
<Header :title="zhaoList[type]" />
|
|
<view class="setting-view">
|
|
<image :src="`https://static.tbmall.xin/static/new/zi_${type + 1}.png`" mode="widthFix" ></image>
|
|
</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 24rpx 0 ;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
image{
|
|
width:100%;
|
|
border-radius: 12rpx;
|
|
}
|
|
|
|
}
|
|
</style>
|