diff --git a/buyer/src/App.vue b/buyer/src/App.vue index f8f2ece7..b8eebdad 100644 --- a/buyer/src/App.vue +++ b/buyer/src/App.vue @@ -6,9 +6,31 @@ diff --git a/manager/src/views/seller/shop/shopDetail.vue b/manager/src/views/seller/shop/shopDetail.vue index c36c0a87..e252e0de 100644 --- a/manager/src/views/seller/shop/shopDetail.vue +++ b/manager/src/views/seller/shop/shopDetail.vue @@ -93,9 +93,9 @@

退货地址: - {{storeInfo.salesConsigneeName || storeInfo.salesConsigneeMobile || storeInfo.salesConsigneeAddressPath || storeInfo.salesConsigneeDetail?storeInfo.salesConsigneeName + storeInfo.salesConsigneeMobile +' '+ storeInfo.salesConsigneeAddressPath + storeInfo.salesConsigneeDetail:'暂未完善'}} + {{storeInfo.salesConsigneeName !== 'null' ? storeInfo.salesConsigneeName : '' || storeInfo.salesConsigneeMobile !=='null' ?storeInfo.salesConsigneeMobile:''|| storeInfo.salesConsigneeAddressPath !=='null'?storeInfo.salesConsigneeAddressPath:'' || storeInfo.salesConsigneeDetail !=='null'?storeInfo.salesConsigneeDetail:'' ?storeInfo.salesConsigneeName + storeInfo.salesConsigneeMobile +' '+ storeInfo.salesConsigneeAddressPath + storeInfo.salesConsigneeDetail:'暂未完善'}} + -

店铺定位: diff --git a/manager/src/views/sys/oss-manage/ossManage.vue b/manager/src/views/sys/oss-manage/ossManage.vue index eb194c2d..b255e4c5 100644 --- a/manager/src/views/sys/oss-manage/ossManage.vue +++ b/manager/src/views/sys/oss-manage/ossManage.vue @@ -26,7 +26,7 @@ style="width: 200px" /> - + - + diff --git a/manager/src/views/sys/setting-manage/setting/BASE_SETTING.vue b/manager/src/views/sys/setting-manage/setting/BASE_SETTING.vue index 0e7c3c26..08811844 100644 --- a/manager/src/views/sys/setting-manage/setting/BASE_SETTING.vue +++ b/manager/src/views/sys/setting-manage/setting/BASE_SETTING.vue @@ -56,7 +56,10 @@ import { handleSubmit } from "./validate"; import ossManage from "@/views/sys/oss-manage/ossManage"; export default { title: "基础设置", - props: ["res", "type"], + props: { + res:Object, + type:'' + }, components: { ossManage, }, @@ -104,6 +107,8 @@ export default { setSetting(this.type, this.formValidate).then((res) => { if (res.success) { this.$Message.success("保存成功!"); + localStorage.setItem("icon", this.formValidate.domainLogo); + window.document.title = this.formValidate.siteName + " - 运营后台"; } else { this.$Message.error("保存失败!"); } diff --git a/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue b/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue index 4b85dddd..90967891 100644 --- a/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue +++ b/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue @@ -8,13 +8,13 @@ - + diff --git a/manager/vue.config.js b/manager/vue.config.js index 02a8386e..2a3ea716 100644 --- a/manager/vue.config.js +++ b/manager/vue.config.js @@ -30,19 +30,19 @@ let externals = { // 使用CDN的内容 let cdn = { - css: ["https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/styles/iview.css"], + css: ["https://cdn.pickmall.cn/cdn/iview.css"], js: [ // vue must at first! - "https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js", - "https://cdn.jsdelivr.net/npm/vuex@3.1.2/dist/vuex.min.js", - "https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js", - "https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js", - "https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/iview.min.js", - "https://cdn.jsdelivr.net/npm/vue-lazyload@1.3.3/vue-lazyload.min.js", - "https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js", - "https://cdn.jsdelivr.net/npm/dplayer@1.25.0/dist/DPlayer.min.js", - "https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js", - "https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js", + "https://cdn.pickmall.cn/cdn/vue.min.js", + "https://cdn.pickmall.cn/cdn/vuex.min.js", + "https://cdn.pickmall.cn/cdn/vue-router.min.js", + "https://cdn.pickmall.cn/cdn/axios.min.js", + "https://cdn.pickmall.cn/cdn/iview.min.js", + "https://cdn.pickmall.cn/cdn/vue-lazyload.min.js", + "https://cdn.pickmall.cn/cdn/js.cookie.min.js", + "https://cdn.pickmall.cn/cdn/DPlayer.min.js", + "https://cdn.pickmall.cn/cdn/wangEditor.min.js", + "https://cdn.pickmall.cn/cdn/sockjs.min.js", "https://gw.alipayobjects.com/os/lib/antv/g2/4.1.24/dist/g2.min.js" ] }; diff --git a/seller/src/config/index.js b/seller/src/config/index.js index 7991ee04..27fa36ea 100644 --- a/seller/src/config/index.js +++ b/seller/src/config/index.js @@ -13,6 +13,6 @@ module.exports = { */ aMapKey: "b440952723253aa9fe483e698057bf7d", //高德web端申请的api key website: "https://www.pickmall.cn", //官网地址 - enableCDN: false, //生产环境 是否启用cdn加载 vue等js + enableCDN: true, //生产环境 是否启用cdn加载 vue等js port: 10002, //端口 }; diff --git a/seller/src/libs/routerJson.js b/seller/src/libs/routerJson.js index 216fe8a8..21d86b46 100644 --- a/seller/src/libs/routerJson.js +++ b/seller/src/libs/routerJson.js @@ -432,15 +432,15 @@ export const result = [{ component: "shop/shopSetting", children: null, }, - { - name: "shopAddress", - level: 2, - type: 0, - title: "自提管理", - path: "shopAddress", - component: "shop/shopAddress", - children: null, - } + // { + // name: "shopAddress", + // level: 2, + // type: 0, + // title: "自提管理", + // path: "shopAddress", + // component: "shop/shopAddress", + // children: null, + // } ] } ] diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue index 41a1cdeb..35373f8d 100644 --- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue +++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue @@ -1125,6 +1125,7 @@ export default { this.$Message.error("规格值不能大于10个!"); return; } + this.$set(item.spec_values, item.spec_values.length, { name: item.name, value: "", @@ -1209,7 +1210,6 @@ export default { this.skuTableColumn = pushData; //克隆所有渲染的数据 let cloneTemp = cloneObj(this.skuInfo); - if (cloneTemp[0]) { //存放最终结果 let result = []; @@ -1353,6 +1353,15 @@ export default { }); } }, + // 判断相同数组的值 + scalarArrayEquals(array1, array2) { + return ( + array1.length === array2.length && + array1.every(function (v, i) { + return v === array2[i]; + }) + ); + }, /** 自动完成表单所需方法*/ filterMethod(value, option) { return option.toUpperCase().indexOf(value.toUpperCase()) !== -1; diff --git a/seller/vue.config.js b/seller/vue.config.js index cc2d8034..2b7f6305 100644 --- a/seller/vue.config.js +++ b/seller/vue.config.js @@ -29,18 +29,18 @@ let externals = { // 使用CDN的内容 let cdn = { - css: ["https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/styles/iview.css"], + css: ["https://cdn.pickmall.cn/cdn/iview.css"], js: [ // vue must at first! - "https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js", - "https://cdn.jsdelivr.net/npm/vuex@3.1.2/dist/vuex.min.js", - "https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js", - "https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js", - "https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/iview.min.js", - "https://cdn.jsdelivr.net/npm/vue-lazyload@1.3.3/vue-lazyload.min.js", - "https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js", - "https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js", - "https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js", + "https://cdn.pickmall.cn/cdn/vue.min.js", + "https://cdn.pickmall.cn/cdn/vuex.min.js", + "https://cdn.pickmall.cn/cdn/vue-router.min.js", + "https://cdn.pickmall.cn/cdn/axios.min.js", + "https://cdn.pickmall.cn/cdn/iview.min.js", + "https://cdn.pickmall.cn/cdn/vue-lazyload.min.js", + "https://cdn.pickmall.cn/cdn/js.cookie.min.js", + "https://cdn.pickmall.cn/cdn/wangEditor.min.js", + "https://cdn.pickmall.cn/cdn/sockjs.min.js", "https://gw.alipayobjects.com/os/lib/antv/g2/4.1.24/dist/g2.min.js" ] };