230 lines
6.0 KiB
Vue
230 lines
6.0 KiB
Vue
<template>
|
||
<view class="shop-2-container">
|
||
<view class="shop-2-content">
|
||
<u-subsection class="subsection" :list="list" :current="active" @change="handleSubsection" ></u-subsection>
|
||
<view class="up-block" v-if="active == 0">
|
||
<view class="up-title">
|
||
营业执照({{ fileList.length }}/1) 点击上传
|
||
</view>
|
||
<u-upload class="shop2-2-upload" :max-count="1" :action="action" :file-list="fileList" width="125" height="88"></u-upload>
|
||
</view>
|
||
<view class="up-block up-block-2" v-if="active == 0">
|
||
<view class="up-title">
|
||
许可证({{ fileList2.length }}/3)
|
||
<u-icon
|
||
style="display: inline-block; margin:0 8rpx"
|
||
@click="handlePopup"
|
||
name="question-circle"
|
||
size="12"
|
||
color="aaaaaa">
|
||
</u-icon>
|
||
点击上传
|
||
</view>
|
||
<u-upload class="shop2-3-upload" :max-count="3" :action="action" :file-list="fileList2" width="125" height="88"></u-upload>
|
||
</view>
|
||
<view class="up-block up-block-3">
|
||
<view class="up-title">
|
||
法人身份证正反面({{ fileList3.length + fileList4.length }} /2)
|
||
</view>
|
||
<view class="up-block-3-content">
|
||
<u-upload class="shop2-4-upload" :max-count="1" :action="action" :file-list="fileList3" width="180" height="110"></u-upload>
|
||
<u-upload class="shop2-5-upload" :max-count="3" :action="action" :file-list="fileList3" width="180" height="110"></u-upload>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="btn-content">
|
||
<u-button class="btn-next" @click="handleNext">下一步</u-button>
|
||
</view>
|
||
<u-popup class="shop2-popup" :mask="true" @close="closePopup" :show="showPopup" :closeable="true" mode="bottom" :mask-close-able="true" :safe-area-inset-bottom="true">
|
||
<view class="popup-content">
|
||
<view class="popup-title">可上传证件类型</view>
|
||
<view class="popup-tips">请根据您的主营品类上传真实有效的许可证,能够提高入驻通过的效率。目前支持的许可证如下:</view>
|
||
<view class="popuo-prove-item">
|
||
<view class="item-title">许可证</view>
|
||
<view class="item-content">
|
||
《食品经营许可证》丶《餐饮服务许可证》丶《食品流通许可证》丶《药品经营许可证》丶《医疗器械经营许可证》丶《互联网药品信息服务资格证书》
|
||
</view>
|
||
</view>
|
||
<view class="popuo-prove-item">
|
||
<view class="item-title">特许证件</view>
|
||
<view class="item-content">
|
||
《第二类医疗器械经营备案凭证》丶《上海便民饮食店临时备案公示卡》丶《兽药经营许可证》丶《动物诊疗许可证》丶《食品生产经营登记证》
|
||
</view>
|
||
</view>
|
||
<view class="popuo-prove-item">
|
||
<view class="item-title">其他证件</view>
|
||
<view class="item-content">
|
||
支持各种小证,因各地监管规则不一,请联系客服获取其他小证支持情况的详细。
|
||
</view>
|
||
</view>
|
||
<u-button class="btn-queren" @click="showPopup = false">我知道了</u-button>
|
||
</view>
|
||
</u-popup>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data(){
|
||
return{
|
||
active:0,
|
||
showPopup:false,
|
||
list:[
|
||
{
|
||
name:'企业'
|
||
},
|
||
{
|
||
name:'个人'
|
||
}
|
||
],
|
||
action:'',
|
||
fileList:[],
|
||
fileList2:[],
|
||
fileList3:[],
|
||
fileList4:[]
|
||
}
|
||
},
|
||
methods:{
|
||
handleSubsection(e){
|
||
this.active = e;
|
||
this.fileList = [];
|
||
this.fileList2 = [];
|
||
this.fileList3 = [];
|
||
this.fileList4 = []
|
||
},
|
||
handlePopup(){
|
||
this.showPopup = true;
|
||
},
|
||
closePopup(){
|
||
this.showPopup = false
|
||
},
|
||
handleNext(){
|
||
uni.navigateTo({
|
||
url:"/pages/audit/shop3"
|
||
})
|
||
}
|
||
}
|
||
};
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
.shop-2-container{
|
||
|
||
background: #f2f2f2;
|
||
// height: 100vh;
|
||
|
||
.subsection{
|
||
height: 80rpx;
|
||
}
|
||
|
||
.up-block{
|
||
background: #fff;
|
||
padding: 24rpx;
|
||
|
||
.up-title{
|
||
font-weight: bold;
|
||
margin-bottom: 40rpx;
|
||
}
|
||
}
|
||
|
||
/deep/.shop2-2-upload{
|
||
.u-upload__button {
|
||
// background: url("../../static/shenhe-bg1.png");
|
||
background-image: url("../../static/business-license-bg.png");
|
||
background-size: 100% 100%;
|
||
}
|
||
}
|
||
|
||
/deep/.shop2-3-upload{
|
||
.u-upload__button {
|
||
// background: url("../../static/shenhe-bg1.png");
|
||
background-image: url("../../static/permit-bg.png");
|
||
background-size: 100% 100%;
|
||
}
|
||
}
|
||
|
||
/deep/.shop2-4-upload{
|
||
.u-upload__button {
|
||
// background: url("../../static/shenhe-bg1.png");
|
||
background-image: url("../../static/id-bg-1.png");
|
||
background-size: 100% 100%;
|
||
}
|
||
}
|
||
|
||
/deep/.shop2-5-upload{
|
||
.u-upload__button {
|
||
// background: url("../../static/shenhe-bg1.png");
|
||
background-image: url("../../static/id-bg-2.png");
|
||
background-size: 100% 100%;
|
||
}
|
||
}
|
||
|
||
.up-block-2{
|
||
margin: 20rpx 0;
|
||
}
|
||
|
||
.up-block-3-content{
|
||
display: flex;
|
||
}
|
||
|
||
.shop-2-content{
|
||
z-index: 1;
|
||
}
|
||
|
||
.shop2-popup{
|
||
|
||
.popup-content{
|
||
padding: 0 24rpx;
|
||
height: 540px;
|
||
|
||
.popup-title{
|
||
font-weight: bold;
|
||
text-align: center;
|
||
height: 90rpx;
|
||
line-height: 90rpx;
|
||
font-size: 36rpx;
|
||
}
|
||
|
||
.popup-tips{
|
||
margin: 24rpx 0 ;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.popuo-prove-item{
|
||
margin: 48rpx 0 ;
|
||
padding: 24rpx;
|
||
border-radius: 24rpx;
|
||
border: 1px solid #ccc;
|
||
|
||
.item-title{
|
||
margin-bottom: 16rpx;
|
||
font-size: 28rpx;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.item-content{
|
||
font-size: 24rpx;
|
||
}
|
||
}
|
||
}
|
||
|
||
.btn-queren{
|
||
background: #02a7f0;
|
||
color: #fff;
|
||
}
|
||
}
|
||
|
||
.btn-content{
|
||
position: fixed;
|
||
bottom: 40rpx;
|
||
width: 94%;
|
||
padding: 0 24rpx;
|
||
}
|
||
|
||
.btn-next{
|
||
border-radius: 16rpx;
|
||
background: #02a7f0;
|
||
color: #fff;
|
||
}
|
||
}
|
||
</style> |