77 lines
1.5 KiB
Vue
77 lines
1.5 KiB
Vue
<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>
|