diff --git a/buyer/public/config.js b/buyer/public/config.js index d4394ce6..3058e142 100644 --- a/buyer/public/config.js +++ b/buyer/public/config.js @@ -4,7 +4,7 @@ var BASE = { */ API_DEV: { seller: "http://127.0.0.1:8888", - manager: "http://127.0.0.1:8888" + manager: "http://127.0.0.1:8888", buyer: "http://127.0.0.1:8888", common: "http://127.0.0.1:8888", }, diff --git a/buyer/src/api/index.js b/buyer/src/api/index.js index c3a32e68..789ec356 100644 --- a/buyer/src/api/index.js +++ b/buyer/src/api/index.js @@ -28,7 +28,7 @@ export function pageData (params) { */ export function handleRefreshToken (token) { return request({ - url: `/buyer/passport/members/refresh/${token}`, + url: `/buyer/passport/member/refresh/${token}`, method: Method.GET, needToken: false }) diff --git a/buyer/src/api/login.js b/buyer/src/api/login.js index fb745279..6d61f91d 100644 --- a/buyer/src/api/login.js +++ b/buyer/src/api/login.js @@ -6,7 +6,7 @@ import request, {Method, buyerUrl} from '@/plugins/request.js'; */ export function regist (params) { return request({ - url: '/buyer/passport/members/register', + url: '/buyer/passport/member/register', method: Method.POST, needToken: false, data: params @@ -18,7 +18,7 @@ export function regist (params) { */ export function login (params) { return request({ - url: '/buyer/passport/members/userLogin', + url: '/buyer/passport/member/userLogin', method: Method.POST, needToken: false, data: params, @@ -31,7 +31,7 @@ export function login (params) { */ export function smsLogin (params) { return request({ - url: '/buyer/passport/members/smsLogin', + url: '/buyer/passport/member/smsLogin', method: Method.POST, needToken: false, data: params, @@ -44,7 +44,7 @@ export function smsLogin (params) { */ export function getMemberMsg (params) { return request({ - url: '/buyer/passport/members', + url: '/buyer/passport/member', method: Method.GET, needToken: true, params @@ -74,7 +74,7 @@ export function loginCallback (uuid) { */ export function validateCode (params) { return request({ - url: `/buyer/passport/members/resetByMobile`, + url: `/buyer/passport/member/resetByMobile`, method: Method.POST, needToken: false, params @@ -86,7 +86,7 @@ export function validateCode (params) { */ export function resetPassword (params) { return request({ - url: `/buyer/passport/members/resetPassword`, + url: `/buyer/passport/member/resetPassword`, method: Method.POST, needToken: false, params diff --git a/buyer/src/pages/GoodsList.vue b/buyer/src/pages/GoodsList.vue index 25dd3c0d..b836510f 100644 --- a/buyer/src/pages/GoodsList.vue +++ b/buyer/src/pages/GoodsList.vue @@ -68,14 +68,31 @@ 已有{{ item.content.commentNum || 0 }}人评价 -
- 自营 +
+ 自营 -
-
虚拟
-
实物
+
+
+ 虚拟 +
+
+ 实物 +
- {{ item.content.storeName }} + {{ + item.content.storeName + }}
@@ -98,134 +115,141 @@ diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue index 0f968410..8829c91d 100644 --- a/manager/src/views/lili-floor-renovation/wap/decorate.vue +++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue @@ -2,17 +2,27 @@
{{ res.name }} - +
-
+
{{ item.name }}
@@ -20,18 +30,29 @@ -
+
卡片
- +
-
+
标题{{ title_index + 1 }}
@@ -46,19 +67,28 @@
绑定商品
-
@@ -72,7 +102,13 @@
- +
@@ -90,50 +126,54 @@ 已选链接: - {{ ways.find((e)=>{return item.url.___type == e.name}).title }} + {{ + ways.find((e) => { + return item.url.___type == e.name; + }).title + }} - - {{item.url.goodsName}} + {{ item.url.goodsName }} - {{item.url.name}} + {{ item.url.name }} - {{item.url.memberName}} + {{ item.url.memberName }} - {{item.url.title}} + {{ item.url.title }} - - 秒杀 - - - 满减 - - - 拼团 - - {{item.url.title || item.url.goodsName}} + 秒杀 + 满减 + 拼团 + {{ item.url.title || item.url.goodsName }} - {{item.url.title}} - + {{ item.url.title }} -
- +
- + - + @@ -179,18 +219,17 @@ export default { }, // 回调的商品信息 selectedGoodsData(val) { - if (!val) return false; let data = val.map((item) => { delete item.selected; - delete item.intro - delete item.mobileIntro + delete item.intro; + delete item.mobileIntro; return { img: item.thumbnail, title: item.goodsName, type: this.selectedGoods.title, - ___index:this.selectedGoods.___index, - ...item + ___index: this.selectedGoods.___index, + ...item, }; }); this.res.options.list[0].listWay.push(...data); @@ -236,7 +275,7 @@ export default { title: "标题", link: "", url: "", - size: this.res.options.list[0].size, + size: this.res.options.list[0]?.size, }; this.res.options.list.push(way); }, diff --git a/manager/src/views/lili-floor-renovation/wap/navbar.vue b/manager/src/views/lili-floor-renovation/wap/navbar.vue index df1369f9..21aa9c28 100644 --- a/manager/src/views/lili-floor-renovation/wap/navbar.vue +++ b/manager/src/views/lili-floor-renovation/wap/navbar.vue @@ -3,7 +3,13 @@
店铺装修
-
@@ -18,7 +24,13 @@ --> - +
模板名称 @@ -65,7 +77,7 @@ export default { // selected: false, // }, ], - + submitWay: { // 表单信息 pageShow: this.$route.query.type || false, @@ -99,7 +111,7 @@ export default { return false; } - this.submitWay.pageShow + this.submitWay?.pageShow === true ? (this.submitWay.pageShow = "OPEN") : (this.submitWay.pageShow = "CLOSE"); diff --git a/manager/src/views/order/after-order/afterSaleOrder.vue b/manager/src/views/order/after-order/afterSaleOrder.vue index 41ea8e67..490b972a 100644 --- a/manager/src/views/order/after-order/afterSaleOrder.vue +++ b/manager/src/views/order/after-order/afterSaleOrder.vue @@ -2,7 +2,13 @@