添加注释,删除无用代码

This commit is contained in:
mabo
2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

View File

@@ -83,8 +83,8 @@ import { btnWay } from "./btn.js";
export default {
data() {
return {
btnWay,
type: "full",
btnWay, // 按钮类型
type: "full", // 是否全屏
//全屏广告
advertising: [
@@ -95,7 +95,7 @@ export default {
},
],
linkType: "",
linkType: "", // 选择类型
};
},
methods: {},

View File

@@ -80,8 +80,8 @@ import { btnWay } from "./btn.js";
export default {
data() {
return {
btnWay,
type: "full",
btnWay, // 按钮类型
type: "full", // 展示方式
//全屏广告
advertising: [
{
@@ -90,7 +90,7 @@ export default {
size: "612*836",
},
],
linkType: "",
linkType: "", // 选择类型
};
},
methods: {},

View File

@@ -79,7 +79,7 @@ import { btnWay } from "./btn.js";
export default {
data() {
return {
btnWay,
btnWay, // 按钮类型
};
},
methods: {},

View File

@@ -150,15 +150,15 @@ export default {
},
data() {
return {
ways,
ways, // 选择链接的类型
picModelFlag: false, //图片选择器
linkType: "goods", // dialog弹窗口类型
styleFlag: false, //广告魔方开关
selectedLinkIndex: "", //选择链接的索引
modelData,
selectedGoods: "",
selectedLinks: "",
modelList: "",
modelData, // 装修数据
selectedGoods: "", // 已选商品
selectedLinks: "", // 已选链接
modelList: "", // 装修列表
};
},
watch: {

View File

@@ -85,14 +85,14 @@ export default {
},
data() {
return {
templates,
modelData,
qrcode: "",
selected: 0,
contentData: {
templates, // 模板类型
modelData, // 装修模型
qrcode: "", // 二维码
selected: 0, // 已选下标
contentData: { // 总数据
list: [],
},
decorateData: "",
decorateData: "", // 装修数据
};
},
watch: {

View File

@@ -15,8 +15,8 @@ export default {
},
data() {
return {
layout,
name: "index",
layout, // 装修模块
name: "index", // 装修的页面
};
},
mounted() {

View File

@@ -58,10 +58,10 @@ import QRCode from "qrcodejs2";
export default {
data() {
return {
progress: true,
num: 20,
saveDialog: false,
way: [
progress: true, // 展示进度
num: 20, // 提交进度
saveDialog: false, // 加载状态
way: [ // 装修tab栏切换
{
title: "首页",
name: "index",
@@ -83,8 +83,8 @@ export default {
selected: false,
},
],
qrcode: "",
submitWay: {
qrcode: "", // 二维码
submitWay: { // 表单信息
pageShow: this.$route.query.type || false,
name: this.$route.query.name || "模板名称",
pageClientType: "H5",

View File

@@ -45,7 +45,7 @@
export default {
data() {
return {
selected: {
selected: { // 已选数据
index: 0,
val: "精选",
},

View File

@@ -41,15 +41,12 @@
</template>
<script>
import * as API_Other from "@/api/other.js";
// import region from '@/views/lili-components/multiple-region'
// import marketing from '@/views/lili-dialog/template/marketing'
// import Region from '@/views/lili-components/multiple-region'
export default {
// components: {region},
data() {
return {
selectedIndex: 0,
columns: [
selectedIndex: 0, // 装修那个页面的下标
columns: [ // 表头
{
title: "页面名称",
key: "name",
@@ -63,8 +60,8 @@ export default {
},
],
loading: false,
pageTypes: [
loading: false, // 加载状态
pageTypes: [ // 装修类型
{
type: "INDEX",
title: "首页",
@@ -74,7 +71,7 @@ export default {
title: "专题",
},
],
params: {
params: { // 请求参数
pageNumber: 1,
pageSize: 10,
sort: "",
@@ -82,8 +79,8 @@ export default {
pageType: "INDEX",
pageClientType: "H5",
},
total: "",
list: [],
total: "", // 页面数量
list: [], // 总数据
};
},
watch: {