添加pc端注释

This commit is contained in:
mabo
2021-05-13 11:35:57 +08:00
parent ec3e958037
commit 14aad4c9cd
24 changed files with 104 additions and 713 deletions

View File

@@ -201,17 +201,17 @@ export default {
},
data () {
return {
action: commonUrl + '/common/upload/file',
accessToken: {},
visible: false,
loading: false,
address: '',
previewPicture: '',
form: {
action: commonUrl + '/common/upload/file', // 上传地址
accessToken: {}, // 验证token
visible: false, // 预览图片
loading: false, // 加载状态
address: '', // 地址
previewPicture: '', // 预览图片url
form: { // 表单数据
legalPhoto: [],
licencePhoto: []
},
rules: {
rules: { // 验证规则
companyName: [{ required: true, message: '请填写公司信息' }],
addressIdPath: [{ required: true, message: '请选择公司所在地' }],
companyAddress: [{ required: true, message: '请填写公司详细地址' }],
@@ -245,8 +245,8 @@ export default {
{ pattern: RegExp.IDCard, message: '请输入正确的证件号' }
]
},
uploadLoading1: false,
uploadLoading: false
uploadLoading1: false, // 上传loading
uploadLoading: false // 上传loading
};
},
methods: {

View File

@@ -1,5 +0,0 @@
<template>
<div class="shop-list">
<Button>申请入驻</Button>
</div>
</template>

View File

@@ -42,7 +42,6 @@
</template>
<script>
import { applySecond } from '@/api/shopentry';
import * as RegExp from '@/plugins/RegExp.js';
export default {
props: {
content: {
@@ -52,9 +51,9 @@ export default {
},
data () {
return {
loading: false,
form: {},
rules: {
loading: false, // 加载状态
form: {}, // 表单数据
rules: { // 验证规则
settlementBankAccountName: [
{ required: true, message: '请填写银行开户名称' }
],
@@ -112,4 +111,4 @@ h4 {
.ivu-input-wrapper {
width: 300px;
}
</style>
</style>

View File

@@ -72,16 +72,16 @@ export default {
},
data () {
return {
currentIndex: 0,
showAgreement: false,
agreementCon: '',
checked: false,
applyData: {},
firstData: {},
secondData: {},
thirdData: {},
currentIndex: 0, // 当前步骤
showAgreement: false, // 协议显示
agreementCon: '', // 协议内容
checked: false, // 选中协议
applyData: {}, // 申请数据
firstData: {}, // 第一步数据
secondData: {}, // 第二步数据
thirdData: {}, // 第三步数据
storeDisable: '', // APPLY OPEN 开店中 CLOSED 关闭 REFUSED 拒绝 APPLYING 申请中,审核
dataReview: true
dataReview: true // 根据接口返回判断是否可展示数据
};
},
methods: {

View File

@@ -99,7 +99,6 @@
<script>
import { applyThird } from '@/api/shopentry';
import { getCategory } from '@/api/goods';
import * as RegExp from '@/plugins/RegExp.js';
import Map from '@/components/map/index';
import storage from '@/plugins/storage';
import { commonUrl } from '@/plugins/request.js';
@@ -113,16 +112,16 @@ export default {
components: { liliMap: Map },
data () {
return {
loading: false,
uploadLoading: false,
action: commonUrl + '/common/upload/file',
accessToken: {},
previewPicture: '',
visible: false,
form: {
loading: false, // 加载状态
uploadLoading: false, // 上传加载状态
action: commonUrl + '/common/upload/file', // 上传地址
accessToken: {}, // 验证token
previewPicture: '', // 预览图片
visible: false, // 图片预览
form: { // 表单数据
storeLogo: []
},
rules: {
rules: { // 验证规则
goodsManagementCategory: [
{ required: true, message: '请选择店铺经营类目' }
],
@@ -131,7 +130,7 @@ export default {
storeDesc: [{ required: true, message: '请填写店铺简介' }],
storeCenter: [{ required: true, message: '请选择店铺位置' }]
},
categoryList: []
categoryList: [] // 分类数据
};
},
methods: {