+
+
{{ msgLeft.title }}
+
{{ msgLeft.secondTitle }}>
+
+
+
-
-
-
-
-
-
- 图片主标题:
-
-
- 图片描述:
-
-
- 建议尺寸:{{ selected.size }}
-
-
- 图片链接:{{ selected.url }}
-
-
-
-
-
+
+
+
+
+
+
+
{{ msgLeft.list[0].name }}
+
{{ msgLeft.list[0].describe }}
+
+
+
+
+
+
+
+
{{ item.name }}
+
{{ item.describe }}
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
{{ msgRight.title }}
+
{{ msgRight.secondTitle }}>
+
+
+
+
+
+
+ {{
+ item.name
+ }}
+ {{ item.describe }}
+
+
+
+
+
+
+
+
+
+
+
+
+
图片主标题:
+
图片描述:
+
+ 建议尺寸:{{ selected.size }}
+
+
+ 图片链接:{{ selected.url }}
+
+
+
+
+
+
+
+
+
+
+
主标题:
+
副标题:
+
+ 副标题链接:{{ selected.url }}
+
+
+ 背景色:
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/manager/src/views/lili-floor-renovation/modelList/seckill.vue b/manager/src/views/lili-floor-renovation/modelList/seckill.vue
index e12289cc..0ab6a13b 100644
--- a/manager/src/views/lili-floor-renovation/modelList/seckill.vue
+++ b/manager/src/views/lili-floor-renovation/modelList/seckill.vue
@@ -42,17 +42,16 @@ export default {
},
data() {
return {
- options:this.data.options,
+ options:this.data.options, // 当前数据
actStatus:0, // 0 未开始 1 进行中 2 已结束
actName:'限时秒杀',
currHour:'00', // 当前秒杀场
- diffSeconds:0,
- days:'00',
- hours: '00',
- minutes: '00',
- seconds: '00',
- interval:undefined,
- swiperOptions:{
+ diffSeconds:0, // 倒地时
+ hours: '00', // 小时
+ minutes: '00', // 分钟
+ seconds: '00', // 秒
+ interval:undefined, // 定时器
+ swiperOptions:{ // 轮播图参数
slidesPerView: 5,
autoplay:true,
loop:true
diff --git a/manager/src/views/lili-floor-renovation/wap/advertising.vue b/manager/src/views/lili-floor-renovation/wap/advertising.vue
index dfd185d9..a6b5c53b 100644
--- a/manager/src/views/lili-floor-renovation/wap/advertising.vue
+++ b/manager/src/views/lili-floor-renovation/wap/advertising.vue
@@ -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: {},
diff --git a/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue b/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue
index 4ac0a573..72dfd841 100644
--- a/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue
+++ b/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue
@@ -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: {},
diff --git a/manager/src/views/lili-floor-renovation/wap/btn.vue b/manager/src/views/lili-floor-renovation/wap/btn.vue
index bd032c76..eb3a4892 100644
--- a/manager/src/views/lili-floor-renovation/wap/btn.vue
+++ b/manager/src/views/lili-floor-renovation/wap/btn.vue
@@ -79,7 +79,7 @@ import { btnWay } from "./btn.js";
export default {
data() {
return {
- btnWay,
+ btnWay, // 按钮类型
};
},
methods: {},
diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue
index 7995882c..ae84813f 100644
--- a/manager/src/views/lili-floor-renovation/wap/decorate.vue
+++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue
@@ -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: {
diff --git a/manager/src/views/lili-floor-renovation/wap/index.vue b/manager/src/views/lili-floor-renovation/wap/index.vue
index a588245a..32acfb5f 100644
--- a/manager/src/views/lili-floor-renovation/wap/index.vue
+++ b/manager/src/views/lili-floor-renovation/wap/index.vue
@@ -85,14 +85,14 @@ export default {
},
data() {
return {
- templates,
- modelData,
- qrcode: "",
- selected: 0,
- contentData: {
+ templates, // 模板类型
+ modelData, // 装修模型
+ qrcode: "", // 二维码
+ selected: 0, // 已选下标
+ contentData: { // 总数据
list: [],
},
- decorateData: "",
+ decorateData: "", // 装修数据
};
},
watch: {
diff --git a/manager/src/views/lili-floor-renovation/wap/main.vue b/manager/src/views/lili-floor-renovation/wap/main.vue
index 6de75ab8..76bcfaa9 100644
--- a/manager/src/views/lili-floor-renovation/wap/main.vue
+++ b/manager/src/views/lili-floor-renovation/wap/main.vue
@@ -15,8 +15,8 @@ export default {
},
data() {
return {
- layout,
- name: "index",
+ layout, // 装修模块
+ name: "index", // 装修的页面
};
},
mounted() {
diff --git a/manager/src/views/lili-floor-renovation/wap/navbar.vue b/manager/src/views/lili-floor-renovation/wap/navbar.vue
index 0293dd38..58d484d4 100644
--- a/manager/src/views/lili-floor-renovation/wap/navbar.vue
+++ b/manager/src/views/lili-floor-renovation/wap/navbar.vue
@@ -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",
diff --git a/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue b/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue
index 8ea36520..7220aae2 100644
--- a/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue
+++ b/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue
@@ -45,7 +45,7 @@
export default {
data() {
return {
- selected: {
+ selected: { // 已选数据
index: 0,
val: "精选",
},
diff --git a/manager/src/views/lili-floor-renovation/wap/wapList.vue b/manager/src/views/lili-floor-renovation/wap/wapList.vue
index 3c2f5422..d07a59fe 100644
--- a/manager/src/views/lili-floor-renovation/wap/wapList.vue
+++ b/manager/src/views/lili-floor-renovation/wap/wapList.vue
@@ -41,15 +41,12 @@
-
diff --git a/manager/src/views/main-components/shrinkable-menu/components/sidebarMenuShrink.vue b/manager/src/views/main-components/shrinkable-menu/components/sidebarMenuShrink.vue
deleted file mode 100644
index 26fbc46b..00000000
--- a/manager/src/views/main-components/shrinkable-menu/components/sidebarMenuShrink.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ itemTitle(child) }}
-
-
-
-
-
-
-
-
-
- {{ itemTitle(item.children[0]) }}
-
-
-
-
-
-
-
-
-
diff --git a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue
index 725fbe13..fe5c2fe0 100644
--- a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue
+++ b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue
@@ -31,10 +31,6 @@
import util from "@/libs/util.js";
export default {
name: "shrinkableMenu",
- data () {
- return {
- }
- },
computed: {
menuList() {
return this.$store.state.app.menuList;
diff --git a/manager/src/views/main-components/tags-page-opened.vue b/manager/src/views/main-components/tags-page-opened.vue
index 149680f5..0df6ed37 100644
--- a/manager/src/views/main-components/tags-page-opened.vue
+++ b/manager/src/views/main-components/tags-page-opened.vue
@@ -47,17 +47,17 @@ export default {
name: "tagsPageOpened",
data() {
return {
- currentPageName: this.$route.name,
- tagBodyLeft: 0,
- visible: false,
- contextMenuLeft: 0,
- contextMenuTop: 0,
- menuList: {
+ currentPageName: this.$route.name, // 当前路由名称
+ tagBodyLeft: 0, // 标签左偏移量
+ visible: false, // 显示操作按钮
+ contextMenuLeft: 0, // 内容左偏移量
+ contextMenuTop: 0, // 内容上偏移量
+ actionList: {
others: '关闭其他',
clearAll: '关闭所有'
},
- refsTag: [],
- tagsCount: 1
+ refsTag: [], // 所有已打开标签
+ tagsCount: 1 // 标签数量
};
},
props: {
diff --git a/manager/src/views/member/advance/recharge.vue b/manager/src/views/member/advance/recharge.vue
index b4b01cbd..27daf2b9 100644
--- a/manager/src/views/member/advance/recharge.vue
+++ b/manager/src/views/member/advance/recharge.vue
@@ -85,7 +85,6 @@
data() {
return {
loading: true, // 表单加载状态
- drop: false,
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -96,9 +95,7 @@
endDate: "", // 终止时间
memberName:""
},
- selectDate: null,
- // 表单验证规则
- formValidate: {},
+ selectDate: null, // 选择区间时间
submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据
selectCount: 0, // 多选计数
diff --git a/manager/src/views/member/advance/walletLog.vue b/manager/src/views/member/advance/walletLog.vue
index 8a615608..3efe7648 100644
--- a/manager/src/views/member/advance/walletLog.vue
+++ b/manager/src/views/member/advance/walletLog.vue
@@ -36,7 +36,6 @@ export default {
data() {
return {
loading: true, // 表单加载状态
- drop: false,
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -47,7 +46,7 @@ export default {
endDate: "", // 终止时间
memberName: "",
},
- selectDate: null,
+ selectDate: null, // 选择时间段
// 表单验证规则
formValidate: {},
selectList: [], // 多选数据
diff --git a/manager/src/views/member/advance/withdrawApply.vue b/manager/src/views/member/advance/withdrawApply.vue
index 25e0e9bc..b41b709a 100644
--- a/manager/src/views/member/advance/withdrawApply.vue
+++ b/manager/src/views/member/advance/withdrawApply.vue
@@ -176,10 +176,9 @@
openSearch: true, // 显示搜索
openTip: true, // 显示提示
loading: true, // 表单加载状态
- drop: false,
audit: '', // 审核备注
- roleModalVisible: false,
- queryModalVisible: false,
+ roleModalVisible: false, // 审核模态框
+ queryModalVisible: false, // 审核模态框
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -191,13 +190,11 @@
memberName: "",
applyStatus: ""
},
- selectDate: null,
- // 表单验证规则
- formValidate: {},
+ selectDate: null, // 选择时间段
submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据
selectCount: 0, // 多选计数
- showList: {},
+ showList: {}, // 可操作选项
columns: [
{
title: "申请编号",
diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue
index b621f0b2..8c778b7a 100644
--- a/manager/src/views/member/list/index.vue
+++ b/manager/src/views/member/list/index.vue
@@ -136,18 +136,18 @@ export default {
data() {
return {
selectedMember: false, //是否是其他组件调用
- descTitle: "",
+ descTitle: "", // modal标题
descFlag: false, //编辑查看框
openSearch: true, // 显示搜索
loading: true, // 表单加载状态
- addFlag: false,
- updateRegion: false,
- addMemberForm: {
+ addFlag: false, // modal显隐控制
+ updateRegion: false, // 地区
+ addMemberForm: { // 添加用户表单
mobile: "",
username: "",
password: "",
},
- searchForm: {
+ searchForm: { // 请求参数
pageNumber: 1,
pageSize: 10,
order: "desc",
@@ -155,10 +155,9 @@ export default {
mobile: "",
disabled: "OPEN",
},
- picModelFlag: false,
- // 表单验证规则
- formValidate: {},
- addRule: {
+ picModelFlag: false, // 选择图片
+ formValidate: {}, // 表单数据
+ addRule: { // 验证规则
mobile: [
{ required: true, message: "请输入手机号码" },
{
diff --git a/manager/src/views/member/list/memberDetail.vue b/manager/src/views/member/list/memberDetail.vue
index 8b8b78da..78f8cf98 100644
--- a/manager/src/views/member/list/memberDetail.vue
+++ b/manager/src/views/member/list/memberDetail.vue
@@ -394,7 +394,7 @@
isDefault: false
},//会员地址操作form
- selectDate: null,
+ selectDate: null, // 选择时间段
submitLoading: false, // 添加或编辑提交状态
addressFormValidate: {
name: [{required: true, message: "收货人姓名不能为空"}],
diff --git a/manager/src/views/member/list/memberRecycle.vue b/manager/src/views/member/list/memberRecycle.vue
index aade8248..996d1f87 100644
--- a/manager/src/views/member/list/memberRecycle.vue
+++ b/manager/src/views/member/list/memberRecycle.vue
@@ -168,12 +168,12 @@
data() {
return {
selectedMember: false, //是否是其他组件调用
- descTitle: "",
+ descTitle: "", // modal标题
descFlag: false, //编辑查看框
openSearch: true, // 显示搜索
loading: true, // 表单加载状态
- updateRegion: false,
- searchForm: {
+ updateRegion: false, // 显示所在地
+ searchForm: { // 请求参数
pageNumber: 1,
pageSize: 10,
order: "desc",
@@ -181,9 +181,8 @@
mobile: "",
disabled: "CLOSE"
},
- picModelFlag: false,
- // 表单验证规则
- formValidate: {},
+ picModelFlag: false, // 选择图片
+ formValidate: {}, // 表单数据
ruleValidate: {}, //修改验证
submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据
diff --git a/manager/src/views/member/message-manage/addOrEditMessage.vue b/manager/src/views/member/message-manage/addOrEditMessage.vue
index 80fc0c03..436951e9 100644
--- a/manager/src/views/member/message-manage/addOrEditMessage.vue
+++ b/manager/src/views/member/message-manage/addOrEditMessage.vue
@@ -78,12 +78,11 @@ export default {
},
data() {
return {
- type: 0,
+ type: 0, // 消息类型
loading: false, // 表单加载状态
- selectUsers: [],
- userModalVisible: false,
+ selectUsers: [], // 已选用户
modalTitle: "", // 添加或编辑标题
- form: {
+ form: { // 表单
// 添加或编辑表单对象初始化数据
title: "",
content: "",
@@ -99,8 +98,8 @@ export default {
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
},
submitLoading: false, // 添加或编辑提交状态
- dictMessageType: this.$store.state.dict.messageType,
- backRoute: ""
+ dictMessageType: this.$store.state.dict.messageType, // 消息类型
+ backRoute: "" // 上一个页面路由
};
},
methods: {
diff --git a/manager/src/views/member/message-manage/memberMessageManager.vue b/manager/src/views/member/message-manage/memberMessageManager.vue
index b4184766..e7480e8a 100644
--- a/manager/src/views/member/message-manage/memberMessageManager.vue
+++ b/manager/src/views/member/message-manage/memberMessageManager.vue
@@ -286,45 +286,44 @@
title: "message-manage",
data() {
return {
- messageTemplate:'',//当前消息模板
- messageTemplateId:'',
- templateName:'',
+ messageTemplate:'',// 当前消息模板
+ messageTemplateId:'', // 当前消息模板id
+ templateName:'', // 模板名称
smsModal: false,//短信
- smsFormData:{
+ smsFormData:{ // 模板表单数据
smsState:'',
smsContent:'',
smsCode: ''
},
- smsFormValidate:{
+ smsFormValidate:{ // 验证规则
smsCode: [{ required: true, message: '请输入短信编码'}],
smsContent: [{ required: true, message: '请输入短信内容'}],
},
- noticeModal: false,//站内信
- noticeFormData:{
+ noticeModal: false, // 站内信
+ noticeFormData:{ // 站内信表单
noticeContent:''
},
- noticeFormValidate:{
+ noticeFormValidate:{ // 验证规则
noticeContent: [{ required: true, message: '请输入站内信内容'}],
},
wechatModal:false,//微信消息
- wechatFormData:{
+ wechatFormData:{ // 微信表单
remark:'',
first:'',
enable:'',
},
- wechatFormValidate:{
+ wechatFormValidate:{ // 验证规则
remark: [{ required: true, message: '请输入站内信内容'}],
first: [{ required: true, message: '请输入头部文字信息'}],
},
- tab: "MEMBER",
- openTip: true,
+ tab: "MEMBER", // tabName
+ openTip: true, // 提示展示
loading: true, // 表单加载状态
- userLoading: true,
selectCount: 0, // 多选计数
selectList: [], // 多选数据
- drop: false,
- dropDownContent: "展开",
- dropDownIcon: "ios-arrow-down",
+ drop: false, // 更多搜索项
+ dropDownContent: "展开", // drop显示内容
+ dropDownIcon: "ios-arrow-down", // drop图标
searchForm: {
// 搜索框对应data对象
type: "MEMBER",
diff --git a/manager/src/views/member/message-manage/messageManage.vue b/manager/src/views/member/message-manage/messageManage.vue
index 841f960c..0d2a0d93 100644
--- a/manager/src/views/member/message-manage/messageManage.vue
+++ b/manager/src/views/member/message-manage/messageManage.vue
@@ -116,13 +116,13 @@ export default {
title: "message-manage",
data() {
return {
- openSearch: true,
- openTip: true,
+ openSearch: true, // 显示搜索
+ openTip: true, // 显示提示
loading: true, // 表单加载状态
userLoading: true,
selectCount: 0, // 多选计数
selectList: [], // 多选数据
- drop: false,
+ drop: false, // 展开搜索
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
searchForm: {
diff --git a/manager/src/views/member/message-manage/messageSendDetail.vue b/manager/src/views/member/message-manage/messageSendDetail.vue
index 08a76669..26e46490 100644
--- a/manager/src/views/member/message-manage/messageSendDetail.vue
+++ b/manager/src/views/member/message-manage/messageSendDetail.vue
@@ -77,10 +77,10 @@ export default {
name: "message_send_detail",
data() {
return {
- openSearch: true,
- openTip: true,
+ openSearch: true, // 显示搜索项
+ openTip: true, // 显示提示
loading: true, // 表单加载状态
- messageId: "",
+ messageId: "", // 信息id
sortColumn: "createTime", // 排序字段
sortType: "desc", // 排序方式
status: "", // 发送状态
diff --git a/manager/src/views/member/message-manage/weChatMessageManager.vue b/manager/src/views/member/message-manage/weChatMessageManager.vue
index 061eedd2..ed17d7cb 100644
--- a/manager/src/views/member/message-manage/weChatMessageManager.vue
+++ b/manager/src/views/member/message-manage/weChatMessageManager.vue
@@ -125,24 +125,18 @@ export default {
data() {
return {
- wechatModal: false,//微信消息
- wechatFormData: {},
+ wechatModal: false,// modal展示
+ wechatFormData: {}, // 微信数据
wechatMPModal: false,//微信消息
- wechatMPFormData: {},
- tab: "WECHAT",
- searchForm: {
+ wechatMPFormData: {}, // 微信订阅消息
+ tab: "WECHAT", // tab栏分类
+ searchForm: { // 请求参数
type: "WECHAT"
},
- openTip: true,
loading: true, // 表单加载状态
- name: '',
- id: '',
- userLoading: true,
+ id: '', // 模板id
selectCount: 0, // 多选计数
selectList: [], // 多选数据
- drop: false,
- dropDownContent: "展开",
- dropDownIcon: "ios-arrow-down",
//微信消息查询
weChatSearchForm: {
// 搜索框对应data对象
diff --git a/manager/src/views/member/notice/addMessage.vue b/manager/src/views/member/notice/addMessage.vue
index c987c79f..209e3a72 100644
--- a/manager/src/views/member/notice/addMessage.vue
+++ b/manager/src/views/member/notice/addMessage.vue
@@ -62,10 +62,9 @@ export default {
},
data() {
return {
- type: 0,
+ type: 0, // 0 发送新消息 1 编辑消息
loading: false, // 表单加载状态
- selectUsers: [],
- userModalVisible: false,
+ selectUsers: [], // 选择用户
modalTitle: "", // 添加或编辑标题
form: {
// 添加或编辑表单对象初始化数据
@@ -80,8 +79,7 @@ export default {
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
},
submitLoading: false, // 添加或编辑提交状态
- dictMessageType: this.$store.state.dict.messageType,
- backRoute: ""
+ backRoute: "" // back路由路径
};
},
methods: {
diff --git a/manager/src/views/member/notice/sender.vue b/manager/src/views/member/notice/sender.vue
index 06c763e1..fd6bba9d 100644
--- a/manager/src/views/member/notice/sender.vue
+++ b/manager/src/views/member/notice/sender.vue
@@ -68,9 +68,9 @@
modalType: 0, // 添加或编辑标识
modalVisible: false, // 添加或编辑显示
modalTitle: "", // 添加或编辑标题
- drop: false,
- dropDownContent: "展开",
- dropDownIcon: "ios-arrow-down",
+ drop: false, // 更多搜索项
+ dropDownContent: "展开", // drop中文提示
+ dropDownIcon: "ios-arrow-down", // drop图标
searchForm: { // 搜索框初始化对象
pageNumber: 1, // 当前页数
pageSize: 10, // 页面大小
diff --git a/manager/src/views/member/point/point.vue b/manager/src/views/member/point/point.vue
index 7c7b8d54..4e9d51e4 100644
--- a/manager/src/views/member/point/point.vue
+++ b/manager/src/views/member/point/point.vue
@@ -72,37 +72,10 @@
return {
descFlag: false, //编辑查看框
loading: true, // 表单加载状态
- addFlag: false,
- updateRegion: false,
- addMemberForm:{
- mobile: "",
- username: "",
- password: "",
- },
- searchForm: {
+ searchForm: { // 请求参数
pageNumber: 1,
pageSize: 10,
},
- picModelFlag: false,
- // 表单验证规则
- formValidate: {},
- addRule:{
- mobile: [
- { required: true, message: '请输入手机号码' },
- {
- pattern: RegExp.mobile,
- message: '请输入正确的手机号'
- }
- ],
- username: [
- { required: true, message: '请输入会员名称' },
- ],
- password: [
- { required: true, message: '请输入密码' },
- ],
- },
- ruleValidate: {}, //修改验证
- submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据
selectCount: 0, // 多选计数
columns: [
diff --git a/manager/src/views/message/message.vue b/manager/src/views/message/message.vue
index 5751c722..fa2511e8 100644
--- a/manager/src/views/message/message.vue
+++ b/manager/src/views/message/message.vue
@@ -254,8 +254,8 @@ export default {
);
};
return {
- loading: true,
- params: {
+ loading: true, // 加载状态
+ params: { // 请求参数
userId: JSON.parse(Cookies.get("userInfo")).id,
status: 0,
pageNumber: 1, // 当前页数
@@ -263,26 +263,25 @@ export default {
sort: "createTime", // 默认排序字段
order: "desc" // 默认排序方式
},
- total: 0,
- totalUnread: 0,
- totalRead: 0,
- totalRemove: 0,
- currentMesList: [],
- unreadMesList: [],
- hasreadMesList: [],
- recyclebinList: [],
- currentMessageType: "unread",
- showMesTitleList: true,
- unreadCount: 0,
- hasreadCount: 0,
- recyclebinCount: 0,
- noDataText: "暂无未读消息",
- mes: {
+ total: 0, // 消息总数
+ totalUnread: 0, // 所有未读消息数
+ totalRead: 0, // 所有已读消息数
+ totalRemove: 0, // 所有回收站消息数
+ currentMesList: [], // 当前消息列表
+ unreadMesList: [], // 未读消息列表
+ hasreadMesList: [], // 已读消息列表
+ recyclebinList: [], // 回收站消息
+ currentMessageType: "unread", // 展示消息类型
+ showMesTitleList: true, // 展示消息列表
+ unreadCount: 0, // 未读数
+ hasreadCount: 0, // 已读数
+ recyclebinCount: 0, // 回收站消息数量
+ noDataText: "暂无未读消息", // 无消息提示
+ mes: { // 信息表单
title: "",
time: "",
content: ""
},
- dictMessageType: this.$store.state.dict.messageType,
mesTitleColumns: [
{
type: "index",
diff --git a/manager/src/views/my-components/lili/count-down-button.vue b/manager/src/views/my-components/lili/count-down-button.vue
index 54d90563..d4ccbd1c 100644
--- a/manager/src/views/my-components/lili/count-down-button.vue
+++ b/manager/src/views/my-components/lili/count-down-button.vue
@@ -58,9 +58,9 @@ export default {
},
data() {
return {
- buttonText: this.text,
- count: Number(this.countTime),
- clicked: false
+ buttonText: this.text, // 按钮文字
+ count: Number(this.countTime), // 计时时间
+ clicked: false // 是否可点击
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/department-choose.vue b/manager/src/views/my-components/lili/department-choose.vue
index 350a9463..56012086 100644
--- a/manager/src/views/my-components/lili/department-choose.vue
+++ b/manager/src/views/my-components/lili/department-choose.vue
@@ -22,8 +22,8 @@ export default {
},
data() {
return {
- selectDep: [],
- department: []
+ selectDep: [], // 已选数据
+ department: [] // 列表
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/department-tree-choose.vue b/manager/src/views/my-components/lili/department-tree-choose.vue
index f9d46ea2..be98d667 100644
--- a/manager/src/views/my-components/lili/department-tree-choose.vue
+++ b/manager/src/views/my-components/lili/department-tree-choose.vue
@@ -54,12 +54,12 @@ export default {
},
data() {
return {
- depLoading: false,
- departmentTitle: "",
- searchKey: "",
- dataDep: [],
- selectDep: [],
- departmentId: []
+ depLoading: false, // 加载状态
+ departmentTitle: "", // modal标题
+ searchKey: "", // 搜索关键词
+ dataDep: [], // 部门列表
+ selectDep: [], // 已选部门
+ departmentId: [] // 部门id
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/editor.vue b/manager/src/views/my-components/lili/editor.vue
index 848746bd..bc7811a2 100644
--- a/manager/src/views/my-components/lili/editor.vue
+++ b/manager/src/views/my-components/lili/editor.vue
@@ -74,7 +74,7 @@ export default {
},
data() {
return {
- editor: null,
+ editor: null, // 富文本编辑器初始化
data: this.value, // 富文本数据
dataEdit: "", // 编辑数据
showHTMLModal: false, // 显示html
diff --git a/manager/src/views/my-components/lili/icon-choose.vue b/manager/src/views/my-components/lili/icon-choose.vue
index 87c52aba..a0a6b5a5 100644
--- a/manager/src/views/my-components/lili/icon-choose.vue
+++ b/manager/src/views/my-components/lili/icon-choose.vue
@@ -80,10 +80,10 @@ export default {
},
data() {
return {
- iconModalVisible: false,
- currentValue: this.value,
- iconData: [],
- key: "",
+ iconModalVisible: false, // modal显隐
+ currentValue: this.value, // 当前值
+ iconData: [], // icon列表
+ key: "", // 关键词
tip: "输入英文关键词搜索,比如 success"
};
},
diff --git a/manager/src/views/my-components/lili/member-choose.vue b/manager/src/views/my-components/lili/member-choose.vue
index 195b5dc0..ca0dd6b0 100644
--- a/manager/src/views/my-components/lili/member-choose.vue
+++ b/manager/src/views/my-components/lili/member-choose.vue
@@ -84,18 +84,18 @@
},
data() {
return {
- height: 500,
- userLoading: true,
- userModalVisible: false,
- selectUsers: [],
- searchUserForm: {
+ height: 500, // 表格高度
+ userLoading: true, // 加载状态
+ userModalVisible: false, // modal显隐
+ selectUsers: [], // 已选用户
+ searchUserForm: { // 请求参数
username: "",
pageNumber: 1, // 当前页数
pageSize: 10, // 页面大小
sort: "createTime", // 默认排序字段
order: "desc" // 默认排序方式
},
- userColumns: [
+ userColumns: [ // 表头
{
type: "index",
width: 60,
@@ -214,8 +214,8 @@
}
}
],
- userData: [],
- totalUser: 0
+ userData: [], // 用户数据
+ totalUser: 0 // 数量
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/quill.vue b/manager/src/views/my-components/lili/quill.vue
index 8c32eb61..738bcd9e 100644
--- a/manager/src/views/my-components/lili/quill.vue
+++ b/manager/src/views/my-components/lili/quill.vue
@@ -138,10 +138,10 @@ export default {
},
data() {
return {
- accessToken: {},
- uploadFileUrl: uploadFile,
- editor: null,
- options: {
+ accessToken: {}, // 验证token
+ uploadFileUrl: uploadFile, // 上传地址
+ editor: null, // 富文本初始化
+ options: { // 富文本配置
theme: "snow",
modules: {
toolbar: "#toolbar"
diff --git a/manager/src/views/my-components/lili/set-password.vue b/manager/src/views/my-components/lili/set-password.vue
index 0a262d1c..b1902b7b 100644
--- a/manager/src/views/my-components/lili/set-password.vue
+++ b/manager/src/views/my-components/lili/set-password.vue
@@ -53,12 +53,12 @@ export default {
},
data() {
return {
- currentValue: this.value,
- tipStyle: "password-tip-none",
- strengthValue: 0,
- progressStatus: "normal",
- strength: "无",
- grade: 0
+ currentValue: this.value, // 当前值
+ tipStyle: "password-tip-none", // 强度样式
+ strengthValue: 0, // 强度等级
+ progressStatus: "normal", // 进度条状态
+ strength: "无", // 密码强度描述
+ grade: 0 // 强度等级
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/sku-choose.vue b/manager/src/views/my-components/lili/sku-choose.vue
index c5059550..2b705278 100644
--- a/manager/src/views/my-components/lili/sku-choose.vue
+++ b/manager/src/views/my-components/lili/sku-choose.vue
@@ -105,15 +105,15 @@
showLoading: true,
//展示抽屉
showDrawer: false,
- selectObj: [],
- searchForm: {
+ selectObj: [], // 选择数据
+ searchForm: { // 请求参数
goodsName: "",
pageNumber: 1, // 当前页数
pageSize: 10, // 页面大小
sort: "createTime", // 默认排序字段
order: "desc" // 默认排序方式
},
- tableColumns: [
+ tableColumns: [ // 表头
{
type: "index",
width: 60,
@@ -230,8 +230,8 @@
}
}
],
- tableData: [],
- tableTotal: 0
+ tableData: [], // 表格数据
+ tableTotal: 0 // 总数
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/upload-pic-input.vue b/manager/src/views/my-components/lili/upload-pic-input.vue
index ff88f669..d112cc01 100644
--- a/manager/src/views/my-components/lili/upload-pic-input.vue
+++ b/manager/src/views/my-components/lili/upload-pic-input.vue
@@ -83,11 +83,11 @@ export default {
},
data() {
return {
- accessToken: {},
- currentValue: this.value,
- loading: false,
- viewImage: false,
- uploadFileUrl: uploadFile
+ accessToken: {}, // 验证token
+ currentValue: this.value, // 当前值
+ loading: false, // 加载状态
+ viewImage: false, // 预览图片modal
+ uploadFileUrl: uploadFile // 上传地址
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/upload-pic-thumb.vue b/manager/src/views/my-components/lili/upload-pic-thumb.vue
index 16c6ddb0..14fee113 100644
--- a/manager/src/views/my-components/lili/upload-pic-thumb.vue
+++ b/manager/src/views/my-components/lili/upload-pic-thumb.vue
@@ -82,11 +82,11 @@ export default {
},
data() {
return {
- accessToken: {},
- uploadFileUrl: uploadFile,
- uploadList: [],
- viewImage: false,
- imgUrl: ""
+ accessToken: {}, // 验证token
+ uploadFileUrl: uploadFile, // 上传地址
+ uploadList: [], // 上传列表
+ viewImage: false, // 预览modal
+ imgUrl: "" // 图片地址
};
},
methods: {
diff --git a/manager/src/views/my-components/lili/user-choose.vue b/manager/src/views/my-components/lili/user-choose.vue
index 74b0b0b9..29cb74dc 100644
--- a/manager/src/views/my-components/lili/user-choose.vue
+++ b/manager/src/views/my-components/lili/user-choose.vue
@@ -231,8 +231,8 @@ export default {
}
}
],
- userData: [],
- totalUser: 0
+ userData: [], // 表格数据
+ totalUser: 0 // 总数
};
},
methods: {
diff --git a/manager/src/views/my-components/map/index.vue b/manager/src/views/my-components/map/index.vue
index 86e9b8f1..d76a3f43 100644
--- a/manager/src/views/my-components/map/index.vue
+++ b/manager/src/views/my-components/map/index.vue
@@ -31,7 +31,7 @@ export default {
name:'map',
data() {
return {
- showMap:false,
+ showMap:false, // modal显隐
mapSearch:'', // 地图搜索
map:null, // 初始化地图
autoComplete:null, // 初始化搜索方法
@@ -39,7 +39,7 @@ data() {
positionPicker:null, // 地图拖拽选点
tips:[], //搜索关键字列表
addrContent:{}, // 回显地址信息
- loading:false,
+ loading:false, // 加载状态
};
},
watch:{
diff --git a/manager/src/views/order/after-order/afterSaleOrder.vue b/manager/src/views/order/after-order/afterSaleOrder.vue
index 8c55bac6..0373eb7d 100644
--- a/manager/src/views/order/after-order/afterSaleOrder.vue
+++ b/manager/src/views/order/after-order/afterSaleOrder.vue
@@ -147,7 +147,7 @@
sn: "",
},
- selectDate: null,
+ selectDate: null, // 选择时间段
form: {
// 添加或编辑表单对象初始化数据
sn: "",
@@ -156,9 +156,6 @@
endTime: "",
billPrice: "",
},
- // 表单验证规则
- formValidate: {},
- submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据
selectCount: 0, // 多选计数
columns: [
diff --git a/manager/src/views/order/after-order/afterSaleOrderDetail.vue b/manager/src/views/order/after-order/afterSaleOrderDetail.vue
index 275fd992..efed062b 100644
--- a/manager/src/views/order/after-order/afterSaleOrderDetail.vue
+++ b/manager/src/views/order/after-order/afterSaleOrderDetail.vue
@@ -394,7 +394,7 @@ export default {
},
data() {
return {
- sn: "",
+ sn: "", // 订单号
logisticsModal: false, //查询物流模态框
logisticsInfo: {}, //物流信息
form: {
@@ -410,7 +410,7 @@ export default {
],
},
modalVisible: false, // 添加或编辑显示
- afterSaleInfo: {},
+ afterSaleInfo: {}, // 售后信息
afterSaleImage: [], //会员申诉图片
appealImages: [], //商家申诉的图片
submitLoading: false, // 添加或编辑提交状态
diff --git a/manager/src/views/order/after-order/orderComplaint.vue b/manager/src/views/order/after-order/orderComplaint.vue
index 75f9d299..c475fd01 100644
--- a/manager/src/views/order/after-order/orderComplaint.vue
+++ b/manager/src/views/order/after-order/orderComplaint.vue
@@ -137,8 +137,8 @@
modalTitle: "", // 添加或编辑标题
loading: true, // 表单加载状态
content: "",//评价内容
- drop: false,
- dropDownIcon: "ios-arrow-down",
+ drop: false, // 更多搜索项
+ dropDownIcon: "ios-arrow-down", // drop 图标
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -146,8 +146,7 @@
sort: "createTime", // 默认排序字段
order: "desc", // 默认排序方式
},
- selectDate: null,
- form: {},
+ form: {}, // 表单
submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据
selectCount: 0, // 多选计数
diff --git a/manager/src/views/order/after-order/orderComplaintDetail.vue b/manager/src/views/order/after-order/orderComplaintDetail.vue
index 28093035..848522d3 100644
--- a/manager/src/views/order/after-order/orderComplaintDetail.vue
+++ b/manager/src/views/order/after-order/orderComplaintDetail.vue
@@ -235,8 +235,8 @@ export default {
},
data() {
return {
- id: 0,
- complaintInfo: "",
+ id: 0, // 投诉id
+ complaintInfo: "", // 投诉信息
images: [], //会员申诉图片
appealImages: [], //商家申诉的图片
submitLoading: false, // 添加或编辑提交状态
diff --git a/manager/src/views/order/flow/paymentLog.vue b/manager/src/views/order/flow/paymentLog.vue
index bbb3dae1..cd247e4a 100644
--- a/manager/src/views/order/flow/paymentLog.vue
+++ b/manager/src/views/order/flow/paymentLog.vue
@@ -45,8 +45,8 @@ export default {
data() {
return {
loading: true, // 表单加载状态
- drop: false,
- dropDownIcon: "ios-arrow-down",
+ drop: false, // 更多搜索项
+ dropDownIcon: "ios-arrow-down", // drop图标
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
diff --git a/manager/src/views/order/flow/refundLog.vue b/manager/src/views/order/flow/refundLog.vue
index 5324dda6..3b99a5fd 100644
--- a/manager/src/views/order/flow/refundLog.vue
+++ b/manager/src/views/order/flow/refundLog.vue
@@ -45,8 +45,6 @@ export default {
data() {
return {
loading: true, // 表单加载状态
- drop: false,
- dropDownIcon: "ios-arrow-down",
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -128,16 +126,6 @@ export default {
};
},
methods: {
- dropDown() {
- if (this.drop) {
- this.dropDownContent = "展开";
- this.dropDownIcon = "ios-arrow-down";
- } else {
- this.dropDownContent = "收起";
- this.dropDownIcon = "ios-arrow-up";
- }
- this.drop = !this.drop;
- },
init() {
this.getDataList();
},
diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue
index fff4f6c5..50387891 100644
--- a/manager/src/views/order/order/fictitiousOrderList.vue
+++ b/manager/src/views/order/order/fictitiousOrderList.vue
@@ -92,8 +92,6 @@
data() {
return {
loading: true, // 表单加载状态
- drop: false,
- dropDownIcon: "ios-arrow-down",
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -107,7 +105,7 @@
buyerName: "",
orderStatus: ""
},
- selectDate: null,
+ selectDate: null, // 下单时间
form: {
// 添加或编辑表单对象初始化数据
sn: "",
@@ -237,16 +235,6 @@
};
},
methods: {
- dropDown() {
- if (this.drop) {
- this.dropDownContent = "展开";
- this.dropDownIcon = "ios-arrow-down";
- } else {
- this.dropDownContent = "收起";
- this.dropDownIcon = "ios-arrow-up";
- }
- this.drop = !this.drop;
- },
init() {
this.getDataList();
},
diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue
index 2c1a4fc5..c15d8899 100644
--- a/manager/src/views/order/order/orderDetail.vue
+++ b/manager/src/views/order/order/orderDetail.vue
@@ -378,7 +378,7 @@ export default {
submitLoading: false, // 添加或编辑提交状态
region: [], //地区
regionId: [], //地区id
- showRegion: false,
+ showRegion: false, // 显示地区
orderLogInfo: [], //订单日志数据
orderLogModal: false, //弹出调整价格框
checkedLogistics: [], //选中的物流公司集合
diff --git a/manager/src/views/order/order/orderList.vue b/manager/src/views/order/order/orderList.vue
index 20b8644e..8bbe903c 100644
--- a/manager/src/views/order/order/orderList.vue
+++ b/manager/src/views/order/order/orderList.vue
@@ -50,8 +50,6 @@ export default {
data() {
return {
loading: true, // 表单加载状态
- drop: false,
- dropDownIcon: "ios-arrow-down",
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -192,16 +190,6 @@ export default {
};
},
methods: {
- dropDown() {
- if (this.drop) {
- this.dropDownContent = "展开";
- this.dropDownIcon = "ios-arrow-down";
- } else {
- this.dropDownContent = "收起";
- this.dropDownIcon = "ios-arrow-up";
- }
- this.drop = !this.drop;
- },
init() {
this.getDataList();
},
diff --git a/manager/src/views/order/receipt/receipt.vue b/manager/src/views/order/receipt/receipt.vue
index 9f5e366e..52f36e32 100644
--- a/manager/src/views/order/receipt/receipt.vue
+++ b/manager/src/views/order/receipt/receipt.vue
@@ -105,8 +105,6 @@
data() {
return {
loading: true, // 表单加载状态
- drop: false,
- dropDownIcon: "ios-arrow-down",
searchForm: {
// 搜索框初始化对象
pageNumber: 1, // 当前页数
@@ -115,8 +113,7 @@
order: "desc", // 默认排序方式
receiptStatus: "", // 起始时间
},
- shopsData: [],
- selectDate: null,
+ shopsData: [], // 店铺数据
form: {
// 添加或编辑表单对象初始化数据
sn: "",
diff --git a/manager/src/views/page/article-manage/ArticleCategory.vue b/manager/src/views/page/article-manage/ArticleCategory.vue
index f335d8de..2d269156 100644
--- a/manager/src/views/page/article-manage/ArticleCategory.vue
+++ b/manager/src/views/page/article-manage/ArticleCategory.vue
@@ -85,30 +85,22 @@
},
data() {
return {
- currView: "index",
- loading: false,
+ currView: "index", // 展示哪一类
+ loading: false, // 加载状态
brands: [], //品牌集合
Specifications: [], //规格集合
- categoryId: "",
- expandLevel: 1,
+ expandLevel: 1, // 展开的层级
modalType: 0, // 添加或编辑标识
modalVisible: false, // 添加或编辑显示
modalTitle: "", // 添加或编辑标题
showParent: false, // 是否展示上级菜单
parentTitle: "", // 父级菜单名称
- modalBrandTitle: "",
- modalSpecTitle: "",
formAdd: { // 添加或编辑表单对象初始化数据
parentId: "",
name: "",
sort: 1,
level: 0,
},
- enabledParam: {
- type: 0
- },
- brandForm: {},
- specForm: {},
// 表单验证规则
formValidate: {},
columns: [
diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue
index 886e7482..aabf9314 100644
--- a/manager/src/views/page/article-manage/articleList.vue
+++ b/manager/src/views/page/article-manage/articleList.vue
@@ -42,7 +42,7 @@
-