diff --git a/buyer/public/config.js b/buyer/public/config.js index d7556570..614eb9ac 100644 --- a/buyer/public/config.js +++ b/buyer/public/config.js @@ -3,8 +3,8 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - common: "https://common-api.pickmall.cn", - buyer: "https://buyer-api.pickmall.cn", + common: "http://192.168.102:8890", + buyer: "http://192.168.102:8888", seller: "https://store-api.pickmall.cn", manager: "https://admin-api.pickmall.cn" }, diff --git a/buyer/src/api/index.js b/buyer/src/api/index.js index 789ec356..66867689 100644 --- a/buyer/src/api/index.js +++ b/buyer/src/api/index.js @@ -1,13 +1,24 @@ -import request, {Method} from '@/plugins/request.js' +import request, { Method } from "@/plugins/request.js"; // 获取首页楼层装修数据 -export function indexData (params) { +export function indexData(params) { return request({ - url: '/buyer/other/pageData/getIndex', + url: "/buyer/other/pageData/getIndex", method: Method.GET, needToken: false, - params - }) + params, + }); +} + +/** + * 获取店铺楼层数据 + */ +export function getFloorStoreData(params) { + return request({ + url: `/buyer/other/pageData?pageClientType=PC`, + method: "get", + params, + }); } /** @@ -15,21 +26,22 @@ export function indexData (params) { * @param pageClientType 客户端类型,可用值:PC,H5,WECHAT_MP,APP * @param pageType 页面类型,可用值:INDEX,STORE,SPECIAL */ -export function pageData (params) { +export function pageData(params) { return request({ url: `/buyer/other/pageData`, method: Method.GET, needToken: false, - params - }) + params, + }); } + /** * 刷新token */ -export function handleRefreshToken (token) { +export function handleRefreshToken(token) { return request({ url: `/buyer/passport/member/refresh/${token}`, method: Method.GET, - needToken: false - }) + needToken: false, + }); } diff --git a/buyer/src/pages/Merchant.vue b/buyer/src/pages/Merchant.vue index 35eb35e6..da3bc49e 100644 --- a/buyer/src/pages/Merchant.vue +++ b/buyer/src/pages/Merchant.vue @@ -1,189 +1,335 @@ diff --git a/manager/public/config.js b/manager/public/config.js index ada826fc..2d68d4d8 100644 --- a/manager/public/config.js +++ b/manager/public/config.js @@ -3,10 +3,10 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - common: "https://common-api.pickmall.cn", + common: "http://192.168.0.102:8890", buyer: "https://buyer-api.pickmall.cn", seller: "https://store-api.pickmall.cn", - manager: "https://admin-api.pickmall.cn" + manager: "http://192.168.0.102:8887" }, API_PROD: { common: "https://common-api.pickmall.cn", diff --git a/manager/src/views/lili-dialog/goods-dialog.vue b/manager/src/views/lili-dialog/goods-dialog.vue index 4fb9ded7..cfb503a3 100644 --- a/manager/src/views/lili-dialog/goods-dialog.vue +++ b/manager/src/views/lili-dialog/goods-dialog.vue @@ -4,19 +4,60 @@
搜索范围
- +
- +
- +
-
- -
+
+ +
@@ -32,7 +73,6 @@
暂无商品信息
-
@@ -44,8 +84,9 @@ export default { return { type: "multiple", //单选或者多选 single multiple skuList: [], // 商品sku列表 - total: 0, // 商品总数 - goodsParams: { // 商品请求参数 + total: 0, // 商品总数 + goodsParams: { + // 商品请求参数 pageNumber: 1, pageSize: 18, order: "desc", @@ -62,12 +103,12 @@ export default { }; }, props: { - selectedWay: { + selectedWay: { type: Array, - default: function(){ - return new Array() - } - } + default: function () { + return new Array(); + }, + }, }, watch: { category(val) { @@ -78,7 +119,7 @@ export default { this.$emit("selected", this.selectedWay); }, deep: true, - immediate: true + immediate: true, }, "goodsParams.categoryPath": { handler: function () { @@ -112,22 +153,21 @@ export default { }, // 获取列表方法 initGoods(res) { - if (res.result.records.length !=0) { + if (res.result.records.length != 0) { res.result.records.forEach((item) => { item.selected = false; item.___type = "goods"; //设置为goods让pc wap知道标识 - this.selectedWay.forEach(e => { + this.selectedWay.forEach((e) => { if (e.id && e.id === item.id) { - item.selected = true + item.selected = true; } - }) + }); }); /** * 解决数据请求中,滚动栏会一直上下跳动 */ this.total = res.result.total; this.goodsData.push(...res.result.records); - } else { this.empty = true; } @@ -138,12 +178,12 @@ export default { // 商品 this.initGoods(res); }); - if (localStorage.getItem('category')) { - this.deepGroup(JSON.parse(localStorage.getItem('category'))) + if (localStorage.getItem("category")) { + this.deepGroup(JSON.parse(localStorage.getItem("category"))); } else { setTimeout(() => { - this.deepGroup(JSON.parse(localStorage.getItem('category'))) - },3000) + this.deepGroup(JSON.parse(localStorage.getItem("category"))); + }, 3000); } }, @@ -203,9 +243,9 @@ export default { this.selectedWay.push(val); } else { val.selected = false; - for (let i = 0; i - + @@ -13,7 +37,7 @@ import linkDialog from "./link-dialog"; export default { components: { goodsDialog, - linkDialog + linkDialog, }, data() { return { @@ -53,12 +77,11 @@ export default { if (type == "goods") { this.goodsFlag = true; if (mutiple) { - this.singleGoods() + this.singleGoods(); } } else { this.goodsFlag = false; } - }, // 关闭组件 close() { diff --git a/manager/src/views/lili-floor-renovation/modelForm.vue b/manager/src/views/lili-floor-renovation/modelForm.vue index f2c65e68..572f56f6 100644 --- a/manager/src/views/lili-floor-renovation/modelForm.vue +++ b/manager/src/views/lili-floor-renovation/modelForm.vue @@ -59,8 +59,8 @@ width="800" :z-index="100" :mask-closable="false" - - + + >
-
+
diff --git a/seller/src/views/lili-dialog/link-dialog.vue b/seller/src/views/lili-dialog/link-dialog.vue index 4a48d6fc..02fa89d6 100644 --- a/seller/src/views/lili-dialog/link-dialog.vue +++ b/seller/src/views/lili-dialog/link-dialog.vue @@ -1,85 +1,55 @@ \ No newline at end of file + diff --git a/seller/src/views/lili-dialog/template/category.vue b/seller/src/views/lili-dialog/template/category.vue new file mode 100644 index 00000000..0c2f0eed --- /dev/null +++ b/seller/src/views/lili-dialog/template/category.vue @@ -0,0 +1,121 @@ + + + diff --git a/seller/src/views/lili-dialog/template/index.js b/seller/src/views/lili-dialog/template/index.js new file mode 100644 index 00000000..6afe1fff --- /dev/null +++ b/seller/src/views/lili-dialog/template/index.js @@ -0,0 +1,15 @@ + +import category from './category.vue' +import shops from './shops.vue' + +import pages from './pages.vue' +import goods from '../goods-dialog.vue' +import other from './other.vue' +export default { + // pages, + + // shops, + category, + goods, + other, +} diff --git a/seller/src/views/lili-dialog/template/other.vue b/seller/src/views/lili-dialog/template/other.vue new file mode 100644 index 00000000..bc74ad71 --- /dev/null +++ b/seller/src/views/lili-dialog/template/other.vue @@ -0,0 +1,141 @@ + + + diff --git a/seller/src/views/lili-dialog/template/pages.vue b/seller/src/views/lili-dialog/template/pages.vue new file mode 100644 index 00000000..407de5b7 --- /dev/null +++ b/seller/src/views/lili-dialog/template/pages.vue @@ -0,0 +1,80 @@ + + + diff --git a/seller/src/views/lili-dialog/template/shops.vue b/seller/src/views/lili-dialog/template/shops.vue new file mode 100644 index 00000000..fae0ad50 --- /dev/null +++ b/seller/src/views/lili-dialog/template/shops.vue @@ -0,0 +1,110 @@ + + + diff --git a/seller/src/views/lili-dialog/wap.js b/seller/src/views/lili-dialog/wap.js index 26f96c05..7aafb673 100644 --- a/seller/src/views/lili-dialog/wap.js +++ b/seller/src/views/lili-dialog/wap.js @@ -1,25 +1,29 @@ export default [ - { - title:"商品", - url:"0", - openGoods:true - }, - { - title:"分类", - url:"1" - }, - { - title:"店铺", - url:"2" - }, - { - title:"活动", - url:"3", - - }, - { - title:"其他", - url:"4" - } + { + title: "商品", + url: "0", + openGoods: true, + name: "goods" + }, + // { + // title: "分类", + // url: "1", + // name: "category" + // }, + // { + // title: "活动", + // url: "3", + // name: "marketing" + // }, + // { + // title: "页面", + // url: "3", + // name: "pages" + // }, + { + title: "其他", + url: "3", + name: "other" + } ]; diff --git a/seller/src/views/shop/floorList.vue b/seller/src/views/shop/floorList.vue new file mode 100644 index 00000000..07364379 --- /dev/null +++ b/seller/src/views/shop/floorList.vue @@ -0,0 +1,286 @@ + + + + + diff --git a/seller/src/views/shop/modelConfig.js b/seller/src/views/shop/modelConfig.js new file mode 100644 index 00000000..7b500904 --- /dev/null +++ b/seller/src/views/shop/modelConfig.js @@ -0,0 +1,955 @@ +export const modelData = [{ + type: 'carousel', + name: '图片轮播', + icon: 'md-image', + showName: '', + size: "790*340", + options: { + list: [{ + img: require('@/assets/nav/1.jpg'), + url: '' + }, + { + img: require('@/assets/nav/2.jpg'), + url: '' + }, + { + img: require('@/assets/nav/3.jpg'), + url: '' + } + ], + }, + }, +// { +// type: 'carousel1', +// name: '图片轮播1', +// icon: 'md-image', +// size: "1200*470", +// options: { +// list: [{ +// img: require('@/assets/nav/1.jpg'), +// url: '', +// bgColor: 'yellow' +// }, +// { +// img: require('@/assets/nav/2.jpg'), +// url: '', +// bgColor: 'purple' +// }, +// { +// img: require('@/assets/nav/3.jpg'), +// url: '', +// bgColor: 'blue' +// } +// ], +// }, +// }, +// { +// type: 'carousel2', +// name: '图片轮播2', +// icon: 'md-image', +// size: "590*470", +// options: { +// list: [{ +// img: require('@/assets/nav/1.jpg'), +// url: '' +// }, +// { +// img: require('@/assets/nav/2.jpg'), +// url: '' +// }, +// { +// img: require('@/assets/nav/3.jpg'), +// url: '' +// } +// ], +// listRight: [ +// [{ +// img: require('@/assets/nav/1.jpg'), +// url: '' +// }, +// { +// img: require('@/assets/nav/2.jpg'), +// url: '' +// }, +// { +// img: require('@/assets/nav/3.jpg'), +// url: '' +// } +// ], +// [{ +// img: require('@/assets/nav/1.jpg'), +// url: '' +// }, +// { +// img: require('@/assets/nav/2.jpg'), +// url: '' +// }, +// { +// img: require('@/assets/nav/3.jpg'), +// url: '' +// } +// ], +// ] +// }, +// }, + { + type: 'hotAdvert', + name: '热门广告', + icon: 'md-image', + showName: '', + options: { + list: [{ + img: require('@/assets/nav/decorate1.png'), + url: '', + size: '1200*自定义' + }, + { + img: require('@/assets/nav/1.jpg'), + url: '', + size: '230*190' + }, + { + img: require('@/assets/nav/1.jpg'), + url: '', + size: '230*190' + }, + { + img: require('@/assets/nav/1.jpg'), + url: '', + size: '230*190' + }, + { + img: require('@/assets/nav/1.jpg'), + url: '', + size: '230*190' + }, + { + img: require('@/assets/nav/1.jpg'), + url: '', + size: '230*190' + } + ], + }, + }, + { + type: 'seckill', + name: '促销活动', + icon: 'md-image', + showName: '', + options: { + list: [{ + time: 6, + goodsList: [{ + img: require('@/assets/nav/1.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafads123213a', + url: '' + }, + { + img: require('@/assets/nav/2.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/3.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/4.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/5.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/1.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/2.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/3.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/4.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + { + img: require('@/assets/nav/5.jpg'), + price: 20, + originalPrice: 30, + name: '阿迪达斯三叶草asdasdafadsa', + url: '' + }, + ] + }, + { + time: 8, + goodsList: [{ + img: require('@/assets/nav/1.jpg'), + url: '' + }, + { + img: require('@/assets/nav/2.jpg'), + url: '' + }, + { + img: require('@/assets/nav/3.jpg'), + url: '' + }, + { + img: require('@/assets/nav/4.jpg'), + url: '' + }, + { + img: require('@/assets/nav/5.jpg'), + url: '' + }, + ] + }, + { + time: 10, + goodsList: [{ + img: require('@/assets/nav/1.jpg'), + url: '' + }, + { + img: require('@/assets/nav/2.jpg'), + url: '' + }, + { + img: require('@/assets/nav/3.jpg'), + url: '' + }, + { + img: require('@/assets/nav/4.jpg'), + url: '' + }, + { + img: require('@/assets/nav/5.jpg'), + url: '' + }, + ] + }, + { + time: 12, + goodsList: [{ + img: require('@/assets/nav/1.jpg'), + url: '' + }, + { + img: require('@/assets/nav/2.jpg'), + url: '' + }, + { + img: require('@/assets/nav/3.jpg'), + url: '' + }, + { + img: require('@/assets/nav/4.jpg'), + url: '' + }, + { + img: require('@/assets/nav/5.jpg'), + url: '' + }, + ] + }, + { + time: 14, + goodsList: [] + }, + { + time: 16, + goodsList: [] + }, + { + time: 18, + goodsList: [] + } + + ] + }, + }, + { + type: 'discountAdvert', + name: '折扣广告', + icon: 'md-image', + options: { + bgImg: { + img: require('@/assets/nav/decorate.png'), + url: '', + size: "1300*586" + }, + classification: [{ + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, { + img: require('@/assets/nav/decorate2.jpeg'), + url: '', + size: '190*210' + }, ], + brandList: [{ + img: require('@/assets/nav/decorate11.jpeg'), + url: '', + size: '240*105' + }, { + img: require('@/assets/nav/decorate11.jpeg'), + url: '', + size: '240*105' + }, { + img: require('@/assets/nav/decorate11.jpeg'), + url: '', + size: '240*105' + }, { + img: require('@/assets/nav/decorate11.jpeg'), + url: '', + size: '240*105' + }, ] + }, + }, + { + type: 'recommend', + name: '好货推荐', + icon: 'md-image', + options: { + contentLeft: { + title: '发现好货', + secondTitle: '更多好货', + bgColor: '#449dae', + url: '', + list: [{ + img: require('@/assets/nav/decorate3.jpeg'), + name: '阿迪达斯三叶草', + describe: '也许是每一款经典系列都应该有一个独特的故事吧', + url: '', + size: '160*160' + }, + { + img: require('@/assets/nav/decorate4.jpeg'), + name: '360行车记录', + describe: '夜行 监控 电子狗 蓝牙', + url: '', + size: '80*80' + }, + { + img: require('@/assets/nav/decorate4.jpeg'), + name: '360行车记录', + describe: '夜行 监控 电子狗 蓝牙', + url: '', + size: '80*80' + }, + { + img: require('@/assets/nav/decorate4.jpeg'), + name: '360行车记录', + describe: '夜行 监控 电子狗 蓝牙', + url: '', + size: '80*80' + }, + { + img: require('@/assets/nav/decorate4.jpeg'), + name: '360行车记录', + describe: '夜行 监控 电子狗 蓝牙', + url: '', + size: '80*80' + }, + { + img: require('@/assets/nav/decorate4.jpeg'), + name: '360行车记录', + describe: '夜行 监控 电子狗 蓝牙', + url: '', + size: '80*80' + }, + { + img: require('@/assets/nav/decorate4.jpeg'), + name: '360行车记录', + describe: '夜行 监控 电子狗 蓝牙', + url: '', + size: '80*80' + }, + ] + }, + contentRight: { + title: '特色推荐', + secondTitle: '更多特色推荐', + bgColor: '#a25684', + url: '', + list: [{ + img: require('@/assets/nav/decorate5.jpeg'), + name: '好心情喝出来', + describe: '遇见懂你的饮品', + url: '', + size: '100*100' + }, + { + img: require('@/assets/nav/decorate5.jpeg'), + name: '好心情喝出来', + describe: '遇见懂你的饮品', + url: '', + size: '100*100' + }, + { + img: require('@/assets/nav/decorate5.jpeg'), + name: '好心情喝出来', + describe: '遇见懂你的饮品', + url: '', + size: '100*100' + }, + { + img: require('@/assets/nav/decorate5.jpeg'), + name: '好心情喝出来', + describe: '遇见懂你的饮品', + url: '', + size: '100*100' + }, + ] + } + }, + }, + { + type: 'newGoodsSort', + name: '新品排行', + icon: 'md-image', + options: { + left: { + title: '特卖', + secondTitle: "更多特卖", + bgColor: '#c43d7e', + url: '', + list: [{ + name: '新年心愿单', + describe: '满269减50,满999减100', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "160*160" + }, + { + name: 'Ms.Maggie 冬季时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: 'Ms.Maggie 冬季时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: 'Ms.Maggie 冬季时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + ], + }, + middle: { + title: '新品', + secondTitle: "更多新品", + bgColor: '#e66a07', + url: '', + list: [{ + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + { + name: '阿迪达斯 领跑时尚', + describe: '满269减50', + img: require('@/assets/nav/decorate6.jpeg'), + url: '', + size: "90*90" + }, + ] + }, + right: { + title: '排行榜', + secondTitle: "精品风向标", + bgColor: '#b62323', + url: '', + list: [{ + name: '小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', + price: 14.9, + img: require('@/assets/nav/decorate7.jpeg'), + url: '' + }, + { + name: '小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', + price: 14.9, + img: require('@/assets/nav/decorate7.jpeg'), + url: '' + }, + { + name: '小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', + price: 14.9, + img: require('@/assets/nav/decorate7.jpeg'), + url: '' + }, + { + name: '小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', + price: 14.9, + img: require('@/assets/nav/decorate7.jpeg'), + url: '' + }, + { + name: '小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', + price: 14.9, + img: require('@/assets/nav/decorate7.jpeg'), + url: '' + }, + { + name: '小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', + price: 14.9, + img: require('@/assets/nav/decorate7.jpeg'), + url: '' + }, + ] + } + }, + }, + { + type: 'firstAdvert', + name: '首页广告', + icon: 'md-image', + options: { + list: [{ + name: '生鲜', + describe: "年货带回家 满199减60", + img: require('@/assets/nav/decorate8.png'), + url: '', + fromColor: '#e89621', + toColor: "#f5c568", + size: '170*170' + }, + { + name: '众筹', + describe: "年货带回家", + img: require('@/assets/nav/decorate9.png'), + url: '', + fromColor: "#325bb4", + toColor: '#4c9afe', + size: '170*170' + }, + { + name: '生鲜', + describe: "年货带回家 满199减60", + img: require('@/assets/nav/decorate8.png'), + url: '', + fromColor: "#1c9daf", + toColor: '#40cda7', + size: '170*170' + }, + { + name: '众筹', + describe: "备孕有孕检测仪", + img: require('@/assets/nav/decorate9.png'), + url: '', + fromColor: "#d13837", + toColor: '#df6d4f', + size: '170*170' + }, + { + name: '生鲜', + describe: "年货带回家 满199减60", + img: require('@/assets/nav/decorate8.png'), + url: '', + fromColor: "#ca4283", + toColor: '#eb75cf', + size: '170*170' + }, + { + name: '众筹', + describe: "备孕有孕检测仪", + img: require('@/assets/nav/decorate9.png'), + url: '', + fromColor: "#5d40c1", + toColor: '#8c5fdb', + size: '170*170' + }, + ], + }, + }, + { + type: 'bannerAdvert', + name: '横幅广告', + icon: 'md-image', + options: { + img: '', + url: '', + size: '1200*自定义' + }, + }, + { + type: 'notEnough', + name: '还没逛够', + icon: 'md-image', + options: { + list: [ + [{ + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + ], + [{ + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + ], + [{ + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + ], + [{ + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + { + img: require('@/assets/nav/decorate10.jpeg'), + name: 'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', + price: 6666, + url: '' + }, + ], + + ], + navList: [{ + title: '精选', + desc: '猜你喜欢' + }, + { + title: '智能先锋', + desc: '大电器城' + }, + { + title: '居家优品', + desc: '品质生活' + }, + { + title: '超市百货', + desc: '百货生鲜' + }, + ] + }, + }, +] diff --git a/seller/src/views/shop/modelForm.vue b/seller/src/views/shop/modelForm.vue new file mode 100644 index 00000000..fcc67baf --- /dev/null +++ b/seller/src/views/shop/modelForm.vue @@ -0,0 +1,385 @@ + + + diff --git a/seller/src/views/shop/modelFormItem.vue b/seller/src/views/shop/modelFormItem.vue new file mode 100644 index 00000000..b87d747f --- /dev/null +++ b/seller/src/views/shop/modelFormItem.vue @@ -0,0 +1,491 @@ + + + + + diff --git a/seller/src/views/shop/modelList/carousel.vue b/seller/src/views/shop/modelList/carousel.vue new file mode 100644 index 00000000..cede534d --- /dev/null +++ b/seller/src/views/shop/modelList/carousel.vue @@ -0,0 +1,290 @@ + + + + + diff --git a/seller/src/views/shop/modelList/carousel1.vue b/seller/src/views/shop/modelList/carousel1.vue new file mode 100644 index 00000000..3ee291f5 --- /dev/null +++ b/seller/src/views/shop/modelList/carousel1.vue @@ -0,0 +1,188 @@ + + + + + diff --git a/seller/src/views/shop/modelList/carousel2.vue b/seller/src/views/shop/modelList/carousel2.vue new file mode 100644 index 00000000..97c8d70b --- /dev/null +++ b/seller/src/views/shop/modelList/carousel2.vue @@ -0,0 +1,370 @@ + + + + + diff --git a/seller/src/views/shop/modelList/firstPageAdvert.vue b/seller/src/views/shop/modelList/firstPageAdvert.vue new file mode 100644 index 00000000..a4cbaa1c --- /dev/null +++ b/seller/src/views/shop/modelList/firstPageAdvert.vue @@ -0,0 +1,162 @@ + + + diff --git a/seller/src/views/shop/modelList/newGoodsSort.vue b/seller/src/views/shop/modelList/newGoodsSort.vue new file mode 100644 index 00000000..465839ca --- /dev/null +++ b/seller/src/views/shop/modelList/newGoodsSort.vue @@ -0,0 +1,339 @@ + + + diff --git a/seller/src/views/shop/modelList/notEnough.vue b/seller/src/views/shop/modelList/notEnough.vue new file mode 100644 index 00000000..fc00097a --- /dev/null +++ b/seller/src/views/shop/modelList/notEnough.vue @@ -0,0 +1,226 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/modelList/recommend.vue b/seller/src/views/shop/modelList/recommend.vue new file mode 100644 index 00000000..a3847530 --- /dev/null +++ b/seller/src/views/shop/modelList/recommend.vue @@ -0,0 +1,418 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/modelList/seckill.vue b/seller/src/views/shop/modelList/seckill.vue new file mode 100644 index 00000000..1c296efc --- /dev/null +++ b/seller/src/views/shop/modelList/seckill.vue @@ -0,0 +1,291 @@ + + + diff --git a/seller/src/views/shop/modelList/setup-box.scss b/seller/src/views/shop/modelList/setup-box.scss new file mode 100644 index 00000000..088778ca --- /dev/null +++ b/seller/src/views/shop/modelList/setup-box.scss @@ -0,0 +1,62 @@ +.setup-content{ + position: relative; + &:hover{ + .setup-box{ + display: block; + } + } +} + +.setup-box{ + display: none; + position: absolute; + top: 0; + left: 0; + background: rgba(0, 0, 0, .2); + z-index: 99; + width: 100%; + height: 100%; + .ivu-btn{ + float: right; + margin-right: 5px; + margin-top: 5px; + } +} + +.modal-tab-bar{ + margin-left: 20px; + table{ + margin-top: 10px; + display:inline-block; + border: 1px solid #ddd; + border-radius: 5px; + max-height: 400px !important; + overflow: hidden auto; + } + thead{ + background-color: #eee; + th{ + padding: 5px 0; + } + } + td{ + padding: 10px; + text-align: center; + } + tbody>tr:hover{ + background-color: aliceblue; + } +} + +.modal-top-advert{ + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + >*{ + margin-bottom: 10px; + } + .ivu-input-wrapper{ + width: 200px; + } +} \ No newline at end of file diff --git a/seller/src/views/shop/readme.md b/seller/src/views/shop/readme.md new file mode 100644 index 00000000..1261bb78 --- /dev/null +++ b/seller/src/views/shop/readme.md @@ -0,0 +1,20 @@ +### 楼层装修页面 + +#### floorList.vue 楼层列表 + +#### renovation.vue 楼层装修主页面 + +#### singleConfig.vue 右侧配置项 + +#### modelForm.vue 中间展示所选模块 + +#### modelFormItem.vue 单个模块样式 + +#### modelConfig.js 模块数据 + +#### modelList文件夹为添加的模块 + +### wap文件夹为移动端楼层装修 + + +### draggable中文文档 (http://www.itxst.com/vue-draggable/tutorial.html) \ No newline at end of file diff --git a/seller/src/views/shop/renovation.vue b/seller/src/views/shop/renovation.vue new file mode 100644 index 00000000..59a73f9e --- /dev/null +++ b/seller/src/views/shop/renovation.vue @@ -0,0 +1,175 @@ + + + diff --git a/seller/src/views/shop/shopSetting.vue b/seller/src/views/shop/shopSetting.vue index 6c388e61..6d8c4b4e 100644 --- a/seller/src/views/shop/shopSetting.vue +++ b/seller/src/views/shop/shopSetting.vue @@ -47,6 +47,9 @@ style="width: 30%" > + + + +
+
+ + +
+
选择图片
+
+ +
+
+
+ + + + + + + + + + diff --git a/seller/src/views/shop/wap/alertAdvertising.vue b/seller/src/views/shop/wap/alertAdvertising.vue new file mode 100644 index 00000000..cddee110 --- /dev/null +++ b/seller/src/views/shop/wap/alertAdvertising.vue @@ -0,0 +1,159 @@ + + + diff --git a/seller/src/views/shop/wap/config.js b/seller/src/views/shop/wap/config.js new file mode 100644 index 00000000..764a3e33 --- /dev/null +++ b/seller/src/views/shop/wap/config.js @@ -0,0 +1,570 @@ +import * as API_Other from "@/api/other"; + +// 获取楼层装修信息 +export function initData(id) { + API_Other.getHomeData(id).then(res => { + homeData = res; + }); +} + +export let homeData = {}; + +/** + * drawer:true 广告右侧打开抽屉中显示 + * ad_drawer:true 活动魔方右侧显示 + * notAdd: true 没有添加按钮 + * notLink: true 没有连接功能 + * notImg: true 没有选择图片功能 + * close:true 右侧关闭按钮 + */ +export const modelData = [ + { + type: "carousel", + name: "图片轮播", + img: "md-image", + notTitle: false, + close: true, + options: { + list: [ + { + img: "https://i.loli.net/2020/12/05/fKH4CwImpbuD5Xj.png", + url: "", + link: "", + size: "750*350" + }, + { + img: "https://i.loli.net/2020/12/05/12kleCgrSLfKoQs.png", + url: "", + link: "", + size: "750*350" + }, + { + img: "https://i.loli.net/2021/05/14/ZlzcCdnpejtN9gL.png", + url: "", + link: "", + size: "750*350" + } + ] + } + }, + { + type: "leftOneRightTwo", + name: "左一右二", + notAdd: true, + drawer: true, + view: "tpl_ad_list", + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*335" + }, + { + img: "https://i.loli.net/2021/05/14/kdB3AE9ay4c1SnN.png", + url: "", + link: "", + size: "335*177" + }, + { + img: "https://i.loli.net/2021/05/14/FmDr9ksiXeEqYLU.png", + url: "", + link: "", + size: "335*177" + } + ] + } + }, + { + type: "title", + name: "标题栏", + img: "md-image", + notAdd: true, + notLink: true, + notImg: true, + options: { + list: [ + { + title: "标题", + color: "#000000" + } + ] + } + }, + { + type: "leftTwoRightOne", + name: "左二右一", + notAdd: true, + drawer: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/kdB3AE9ay4c1SnN.png", + url: "", + link: "", + size: "335*177" + }, + { + img: "https://i.loli.net/2021/05/14/FmDr9ksiXeEqYLU.png", + url: "", + link: "", + size: "335*177" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*335" + } + ] + } + }, + { + type: "flexThree", + name: "三列单行", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "226*226 (1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "226*226 (1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "226*226 (1:1)" + } + ] + } + }, + { + type: "flexOne", + name: "一张大图", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2020/12/05/8wSNWbnqujDh6HL.png", + url: "", + link: "", + size: "750*280" + } + ] + } + }, + { + type: "flexTwo", + name: "两张横图", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*220" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*220" + } + ] + } + }, + { + type: "topOneBottomTwo", + name: "上一下二", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "710*170" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*170" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*170" + } + ] + } + }, + { + type: "topTwoBottomOne", + name: "上二下一", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + + size: "335*170" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "335*170" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "710*170" + } + ] + } + }, + { + type: "flexFive", + name: "五列单行", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://picsum.photos/id/127/200/200", + url: "", + link: "", + size: "75*75(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "75*75(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "75*75(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "75*75(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "75*75(1:1)" + } + ] + } + }, + { + type: "flexFour", + name: "四列单行", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "88*88(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "88*88(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "88*88(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + size: "88*88(1:1)" + } + ] + } + }, + { + type: "textPicture", + name: "文字图片", + drawer: true, + notAdd: true, + + img: "md-image", + options: { + list: [ + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + title: "文字", + size: "88*88(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + title: "文字", + size: "88*88(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + title: "文字", + size: "88*88(1:1)" + }, + { + img: "https://i.loli.net/2021/05/14/dtNvI5UxchXn8gz.png", + url: "", + link: "", + title: "文字", + size: "88*88(1:1)" + } + ] + } + }, + + { + type: "tpl_ad_list", + name: "广告魔方", + img: "md-image", + options: { + list: [ + { + bg_img: "", + name: "", + url: "" + } + ] + } + }, + { + type: "menu", + name: "宫格导航", + img: "md-image", + close: true, + options: { + list: [ + { + img: "https://i.loli.net/2020/12/05/SoGAv7gYybuWzED.png", + url: "", + link: "", + title: "标题", + size: "88*88 (1:1)" + }, + { + img: "https://i.loli.net/2020/12/05/JXR5K3sbIeENjqH.png", + url: "", + link: "", + title: "标题", + size: "88*88 (1:1)" + }, + { + img: "https://i.loli.net/2020/12/05/KlZfnCFIdEV231Y.png", + url: "", + link: "", + title: "标题", + size: "88*88 (1:1)" + }, + { + img: "https://i.loli.net/2020/12/05/GfmMyN2wrUVIlci.png", + url: "", + link: "", + title: "标题", + size: "88*88 (1:1)" + }, + { + img: "https://i.loli.net/2020/12/05/eznDa3iNby5FkYL.png", + url: "", + link: "", + title: "标题", + size: "88*88 (1:1)" + } + ] + } + }, + { + type: "search", + name: "搜索", + img: "md-image", + notAdd: true, + notLink: true, + notImg: true, + options: { + list: [ + { + title: "搜索" + } + ] + } + }, + { + type: "goods", + name: "商品分类", + img: "md-image", + notAdd: true, + notLink: true, + notImg: true, + options: { + list: [ + { + /** + * 2021/12/9 + * 新增索引(‘index’)判断商品归属分类 + * 之前代码没有配置index也不会收到印象 + * 新建的楼层将采用索引判断分类 + */ + titleWay: [ + { + title: "精选", + desc: "电子推荐", + ___index:0, + }, + { + title: "实惠", + desc: "便宜好货", + ___index:1, + }, + { + title: "进口", + desc: "国际自营", + ___index:2, + }, + { + title: "推荐", + desc: "喂奶推荐", + ___index:3, + } + ], + listWay: [ + { + img: "https://i.loli.net/2021/05/14/KTLSrOVJmEdX12A.png", + price: "120", + title: + " 微软 (Microsoft) Xbox 无线控制器/手柄 湛蓝色 | 3.5mm耳机接口蓝牙连接 Xbox主机电脑平板通用", + type: "精选", + ___index:0 + }, + { + img: "https://i.loli.net/2020/12/05/c9mptI5Pg8qJ6ny.png", + title: + "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", + price: "190", + type: "精选", + ___index:0 + }, + + ] + } + ] + } + } + // TODO 第一版本隐藏暂无此功能 + // { + // notAdd: true, + // notImg: true, + // type: "joinGroup", + // name: "拼团活动", + // img: "md-image", + // options: { + // list: [ + // { + // title: "测试拼团" + // } + // ] + // } + // }, + // { + // notAdd: true, + // notImg: true, + // type: "integral", + // name: "积分活动", + // img: "md-image", + // options: { + // list: [ + // { + // title: "测试积分" + // } + // ] + // } + // }, + // { + // notAdd: true, + // notImg: true, + // type: "spike", + // name: "秒杀活动", + // img: "md-image", + // options: { + // list: [ + // { + // title: "测试秒杀" + // } + // ] + // } + // }, + // { + // notAdd: true, + // notImg: true, + // type: "group", + // name: "团购活动", + // img: "md-image", + // options: { + // list: [ + // { + // title: "测试团购" + // } + // ] + // } + // } +]; diff --git a/seller/src/views/shop/wap/decorate.scss b/seller/src/views/shop/wap/decorate.scss new file mode 100644 index 00000000..968e51f6 --- /dev/null +++ b/seller/src/views/shop/wap/decorate.scss @@ -0,0 +1,117 @@ + +/deep/ .ivu-modal-mask,.ivu-modal-wrap{ + z-index: 800; +} +.decorate-view-link{ + font-size: 12px; + margin: 0 4px; + color: #999; +} +.decorate-view-style { + border: 1px solid #ededed; + background: #f7f7fa; + text-align: center; + width: 100%; + padding: 30px 0 0 0; + margin-bottom: 20px; + cursor: pointer; + > .select-style { + background: #ededed; + padding: 15px 0; + font-size: 15px; + } + } + .decorate-border { + border: 1px solid #ededed; + margin: 10px 0; + padding: 0 10px; + } + .drawer { + width: 100%; + display: flex; + flex-wrap: wrap; + > .drawer-item { + cursor: pointer; + border: 1px solid #ededed; + background: #f9f0ff; + width: 170px; + margin-right: 14px; + color: #9254de; + margin-bottom: 14px; + border-radius: 0.8em; + height: 60px; + display: flex; + align-items: center; + flex-direction: column; + justify-content: center; + } + } + .hidden-input { + display: none; + } + .decorate { + padding: 0 20px; + height: calc(100vh - 120px); + overflow-y: auto; + padding-bottom: 120px; + } + .decorate-title { + height: 50px; + line-height: 50px; + font-weight: bold; + } + .decorate-list { + overflow: hidden; + } + .decorate-view { + display: flex; + margin: 20px 0; + align-items: center; + } + .decorate-item-box { + background: #fff; + padding: 10px; + border: 1px solid #ededed; + } + .decorate-item-title { + height: 40px; + display: flex; + align-items: center; + justify-content: space-between; + line-height: 40px; + padding: 0 10px; + } + .decorate-view-title { + margin-right: 10px; + } + .decorate-item { + background: #ededed; + border-top-left-radius: 0.4em; + margin-bottom: 20px; + border-top-right-radius: 0.4em; + } + .show-image { + max-width: 50px; + } + .tips { + font-size: 12px; + color: #999; + > span { + color: $theme_color; + } + } + .selectBtn { + margin-left: 10px; + } + .bing-goods-list { + display: flex; + > .bing-goods-item { + width: 50px; + height: 50px; + > img { + width: 100%; + height: 100%; + display: block; + } + } + } diff --git a/seller/src/views/shop/wap/decorate.vue b/seller/src/views/shop/wap/decorate.vue new file mode 100644 index 00000000..e880779d --- /dev/null +++ b/seller/src/views/shop/wap/decorate.vue @@ -0,0 +1,304 @@ + + + diff --git a/seller/src/views/shop/wap/index.js b/seller/src/views/shop/wap/index.js new file mode 100644 index 00000000..37aa9768 --- /dev/null +++ b/seller/src/views/shop/wap/index.js @@ -0,0 +1,17 @@ +import index from './index.vue' //首页 + +import advertising from './advertising.vue' //全屏活动 +import alertAdvertising from './alertAdvertising.vue' //弹窗活动 + + + +const templates = { + index, + + advertising, + alertAdvertising +} + + + +export default templates diff --git a/seller/src/views/shop/wap/index.vue b/seller/src/views/shop/wap/index.vue new file mode 100644 index 00000000..b0f82171 --- /dev/null +++ b/seller/src/views/shop/wap/index.vue @@ -0,0 +1,213 @@ + + + diff --git a/seller/src/views/shop/wap/main.vue b/seller/src/views/shop/wap/main.vue new file mode 100644 index 00000000..62bd675e --- /dev/null +++ b/seller/src/views/shop/wap/main.vue @@ -0,0 +1,39 @@ + + + diff --git a/seller/src/views/shop/wap/navbar.vue b/seller/src/views/shop/wap/navbar.vue new file mode 100644 index 00000000..f8df0c32 --- /dev/null +++ b/seller/src/views/shop/wap/navbar.vue @@ -0,0 +1,214 @@ + + + diff --git a/seller/src/views/shop/wap/style.scss b/seller/src/views/shop/wap/style.scss new file mode 100644 index 00000000..3009bbad --- /dev/null +++ b/seller/src/views/shop/wap/style.scss @@ -0,0 +1,98 @@ +.model-view { + display: flex; + .model-view-menu { + flex: 1.5; + min-width: 250px; + > .model-view-menu-item { + display: flex; + align-items: center; + flex-wrap: wrap; + } + } + .model-config { + flex: 2.5; + } + .model-view-content { + flex: 6; + } + .model-item { + line-height: 1.75; + font-size: 13px; + margin: 0 5px 10px 5px; + border: 1px solid #ededed; + background: #f6f6f9; + width: 70px; + height: 70px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + } +} +.model-view-content { + background: #f6f6f9; + border-radius: 0.8em; + display: flex; + justify-content: flex-start; + align-items: center; + flex-direction: column; +} +.wap-title { + line-height: 44px; + text-align: center; + height: 44px; + border-bottom: 1px solid #ededed; +} +.content { + margin: 20px 0; + padding: 50px 13px; + width: 360px; + background: url("../../../assets/iPhoneX_model.png") no-repeat; + height: 780px; + background-size: 360px; + overflow: hidden; + > .component, + .draggable { + height: 590px; + overflow-y: auto; + background: #ebebeb; + } + > .draggable { + padding-bottom: 100px; + } +} +.list { + position: relative; +} +.close { + position: absolute; + right: 5px; + top: 10px; + z-index: 99; +} + +.model-btn { + > * { + margin: 0 4px; + } +} +.qrCode { + width: 100px; + height: 100px; +} +.default-view-content { + text-align: center; + font-weight: bold; + line-height: 2; + /deep/ img { + margin: 0 auto; + } +} +.model-config { + overflow-y: auto; +} + +.active { + box-sizing: border-box; + border: 1px solid $theme_color; +} diff --git a/seller/src/views/shop/wap/template/advertising.scss b/seller/src/views/shop/wap/template/advertising.scss new file mode 100644 index 00000000..be5228c9 --- /dev/null +++ b/seller/src/views/shop/wap/template/advertising.scss @@ -0,0 +1,57 @@ +.position-box{ + position: absolute; + right: 0; + bottom: 0; +} +.join-box { + display: flex; + } + .item-price { + > span { + font-size: 15px; + font-weight: 500; + color: #e1212b; + } + } + .join-item { + flex: 1; + } + .item-img { + width: 75px; + height: 75px; + margin: 0 auto; + display: block; + } + .item-img-box { + position: relative; + } + .item-line-through { + > span { + font-size: 10px; + font-weight: 400; + text-decoration: line-through; + color: #999; + } + } + .item-position-tips { + position: absolute; + right: 0; + color: #fff; + font-size: 12px; + bottom: 0; + } + .join-title { + display: flex; + justify-content: space-between; + align-items: center; + background: #fff; + height: 50px; + > div:nth-of-type(1) { + font-size: 16px; + font-weight: bold; + } + > div:nth-of-type(2) { + font-size: 12px; + color: #999; + } + } \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/index.js b/seller/src/views/shop/wap/template/index.js new file mode 100644 index 00000000..5f4bca34 --- /dev/null +++ b/seller/src/views/shop/wap/template/index.js @@ -0,0 +1,44 @@ +import tpl_banner from "./tpl_banner"; +import tpl_title from "./tpl_title"; +import tpl_left_one_right_two from "./tpl_left_one_right_two"; +import tpl_left_two_right_one from "./tpl_left_two_right_one"; +import tpl_top_one_bottom_two from "./tpl_top_one_bottom_two"; +import tpl_top_two_bottom_one from "./tpl_top_two_bottom_one"; +import tpl_flex_one from "./tpl_flex_one"; +import tpl_flex_two from "./tpl_flex_two"; +import tpl_flex_three from "./tpl_flex_three"; +import tpl_flex_five from "./tpl_flex_five"; +import tpl_flex_four from "./tpl_flex_four"; +import tpl_text_picture from "./tpl_text_picture"; +import tpl_menu from "./tpl_menu"; +import tpl_search from "./tpl_search"; +import tpl_join_group from "./tpl_join_group"; +import tpl_integral from "./tpl_integral"; +import tpl_spike from "./tpl_spike"; +import tpl_group from "./tpl_group"; +import tpl_ad_list from "./tpl_view_list"; +import tpl_activity_list from './tpl_view_list' +import tpl_goods from "./tpl_goods"; +export default { + carousel: tpl_banner, + title: tpl_title, + leftOneRightTwo: tpl_left_one_right_two, + leftTwoRightOne: tpl_left_two_right_one, + topOneBottomTwo:tpl_top_one_bottom_two, + topTwoBottomOne:tpl_top_two_bottom_one, + flexThree: tpl_flex_three, + flexFive: tpl_flex_five, + flexFour: tpl_flex_four, + flexTwo: tpl_flex_two, + textPicture: tpl_text_picture, + menu: tpl_menu, + search: tpl_search, + joinGroup: tpl_join_group, + flexOne: tpl_flex_one, + goods: tpl_goods, + integral:tpl_integral, + spike:tpl_spike, + group:tpl_group, + tpl_ad_list, + tpl_activity_list +}; diff --git a/seller/src/views/shop/wap/template/tpl.scss b/seller/src/views/shop/wap/template/tpl.scss new file mode 100644 index 00000000..638dd1cc --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl.scss @@ -0,0 +1,31 @@ +.image-mode { + width: 100%; + height: 100%; + display: block; + padding: 1px; +} +.layout { + padding: 8px; + margin: 4px 0; + background: #fff; +} +.layout, +.view-height-75, +.view-height-150 { + overflow: hidden; +} +.view-width-100{ + width: 100%; +} +.view-height-75 { + height: 75px; +} +.view-height-150 { + height: 150px; + flex: 1; +} + +.view-height-85 { + height: 85px; + flex: 1; +} diff --git a/seller/src/views/shop/wap/template/tpl_banner.vue b/seller/src/views/shop/wap/template/tpl_banner.vue new file mode 100644 index 00000000..e45bd27a --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_banner.vue @@ -0,0 +1,32 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_flex_five.vue b/seller/src/views/shop/wap/template/tpl_flex_five.vue new file mode 100644 index 00000000..eba7ea0c --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_flex_five.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/seller/src/views/shop/wap/template/tpl_flex_four.vue b/seller/src/views/shop/wap/template/tpl_flex_four.vue new file mode 100644 index 00000000..e31dc7e2 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_flex_four.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/seller/src/views/shop/wap/template/tpl_flex_one.vue b/seller/src/views/shop/wap/template/tpl_flex_one.vue new file mode 100644 index 00000000..87a23274 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_flex_one.vue @@ -0,0 +1,25 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_flex_three.vue b/seller/src/views/shop/wap/template/tpl_flex_three.vue new file mode 100644 index 00000000..f6e8744f --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_flex_three.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/seller/src/views/shop/wap/template/tpl_flex_two.vue b/seller/src/views/shop/wap/template/tpl_flex_two.vue new file mode 100644 index 00000000..5cb0ae6b --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_flex_two.vue @@ -0,0 +1,35 @@ + + + diff --git a/seller/src/views/shop/wap/template/tpl_goods.vue b/seller/src/views/shop/wap/template/tpl_goods.vue new file mode 100644 index 00000000..1bb3566f --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_goods.vue @@ -0,0 +1,170 @@ + + + diff --git a/seller/src/views/shop/wap/template/tpl_group.vue b/seller/src/views/shop/wap/template/tpl_group.vue new file mode 100644 index 00000000..c3abd591 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_group.vue @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_integral.vue b/seller/src/views/shop/wap/template/tpl_integral.vue new file mode 100644 index 00000000..53eb17a6 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_integral.vue @@ -0,0 +1,89 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_join_group.vue b/seller/src/views/shop/wap/template/tpl_join_group.vue new file mode 100644 index 00000000..3b60a09f --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_join_group.vue @@ -0,0 +1,89 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_left_one_right_two.vue b/seller/src/views/shop/wap/template/tpl_left_one_right_two.vue new file mode 100644 index 00000000..07ee3c05 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_left_one_right_two.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/seller/src/views/shop/wap/template/tpl_left_two_right_one.vue b/seller/src/views/shop/wap/template/tpl_left_two_right_one.vue new file mode 100644 index 00000000..a7adb408 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_left_two_right_one.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/seller/src/views/shop/wap/template/tpl_menu.vue b/seller/src/views/shop/wap/template/tpl_menu.vue new file mode 100644 index 00000000..7fd1357c --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_menu.vue @@ -0,0 +1,38 @@ + + + diff --git a/seller/src/views/shop/wap/template/tpl_search.vue b/seller/src/views/shop/wap/template/tpl_search.vue new file mode 100644 index 00000000..f190bf6a --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_search.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_spike.vue b/seller/src/views/shop/wap/template/tpl_spike.vue new file mode 100644 index 00000000..c3abd591 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_spike.vue @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_text_picture.vue b/seller/src/views/shop/wap/template/tpl_text_picture.vue new file mode 100644 index 00000000..add2784f --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_text_picture.vue @@ -0,0 +1,91 @@ + + + + + diff --git a/seller/src/views/shop/wap/template/tpl_title.vue b/seller/src/views/shop/wap/template/tpl_title.vue new file mode 100644 index 00000000..5fce25ff --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_title.vue @@ -0,0 +1,43 @@ + + + + diff --git a/seller/src/views/shop/wap/template/tpl_top_one_bottom_two.vue b/seller/src/views/shop/wap/template/tpl_top_one_bottom_two.vue new file mode 100644 index 00000000..3eae5ffc --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_top_one_bottom_two.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/template/tpl_top_two_bottom_one.vue b/seller/src/views/shop/wap/template/tpl_top_two_bottom_one.vue new file mode 100644 index 00000000..e8732162 --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_top_two_bottom_one.vue @@ -0,0 +1,47 @@ + + + + diff --git a/seller/src/views/shop/wap/template/tpl_view_list.vue b/seller/src/views/shop/wap/template/tpl_view_list.vue new file mode 100644 index 00000000..acd4568e --- /dev/null +++ b/seller/src/views/shop/wap/template/tpl_view_list.vue @@ -0,0 +1,13 @@ + + + \ No newline at end of file diff --git a/seller/src/views/shop/wap/wapList.vue b/seller/src/views/shop/wap/wapList.vue new file mode 100644 index 00000000..2af9e0df --- /dev/null +++ b/seller/src/views/shop/wap/wapList.vue @@ -0,0 +1,216 @@ + + + diff --git a/seller/src/views/sys/oss-manage/ossManage.scss b/seller/src/views/sys/oss-manage/ossManage.scss new file mode 100644 index 00000000..0045aca1 --- /dev/null +++ b/seller/src/views/sys/oss-manage/ossManage.scss @@ -0,0 +1,135 @@ +.search { + .oss-operation { + margin-bottom: 2vh; + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + + button { + margin-right: 5px; + } + } +} + +.none { + display: none; +} + +.oss-wrapper { + display: flex; + flex-wrap: wrap; + position: relative; +} + +.oss-card { + margin: 10px 20px 10px 0; + width: 290px; + + :hover { + .content .other .name { + color: #1890ff; + transition: color .3s; + } + } + + cursor: pointer; + + .ivu-card-body { + padding: 0; + } + + .content { + display: flex; + flex-direction: column; + + :hover { + .play { + transition: opacity .3s; + opacity: 1 !important; + } + } + + .img { + height: 135px; + object-fit: cover; + } + + .video { + height: 135px; + position: relative; + + .cover { + height: 100%; + width: 100%; + object-fit: fill; + } + + .play { + position: absolute; + top: 43px; + left: 117px; + height: 50px; + width: 50px; + opacity: 0.8; + } + } + + .other { + padding: 16px; + height: 135px; + + .name { + font-size: 16px; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + color: rgba(0, 0, 0, .85); + font-weight: 500; + margin-bottom: 4px; + } + + .key { + overflow: hidden; + text-overflow: ellipsis; + height: 45px; + word-break: break-all; + color: rgba(0, 0, 0, .45); + } + + .info { + font-size: 12px; + color: rgba(0, 0, 0, .45); + overflow: hidden; + text-overflow: ellipsis; + height: 36px; + word-break: break-all; + } + } + + .actions { + display: flex; + align-items: center; + height: 50px; + background: #f7f9fa; + border-top: 1px solid #e8e8e8; + + i:hover { + color: #1890ff; + } + + .btn { + display: flex; + justify-content: center; + width: 33.33%; + border-right: 1px solid #e8e8e8; + } + + .btn-no { + display: flex; + justify-content: center; + width: 33.33%; + } + } + } +} diff --git a/seller/src/views/sys/oss-manage/ossManage.vue b/seller/src/views/sys/oss-manage/ossManage.vue new file mode 100644 index 00000000..eb194c2d --- /dev/null +++ b/seller/src/views/sys/oss-manage/ossManage.vue @@ -0,0 +1,820 @@ + + + +