diff --git a/buyer/docker.sh b/buyer/docker.sh index eb7d259c..caa0f20f 100644 --- a/buyer/docker.sh +++ b/buyer/docker.sh @@ -1 +1 @@ -docker build -t registry.cn-beijing.aliyuncs.com/lili-images/buyer-ui-4.2.0:0.0.2 . +docker build -t registry.cn-beijing.aliyuncs.com/lili-images/buyer-ui:4.2.2.1 . diff --git a/buyer/src/pages/Login.vue b/buyer/src/pages/Login.vue index 66330501..31cc3d95 100644 --- a/buyer/src/pages/Login.vue +++ b/buyer/src/pages/Login.vue @@ -3,10 +3,7 @@
- +
欢迎登录
@@ -16,9 +13,7 @@ @@ -32,99 +27,65 @@
立即注册
-
+ - + - + - +
-
+ - + - - + + - + - +
忘记密码
- - + + + + + + +
- +
@@ -142,57 +103,58 @@ diff --git a/buyer/vue.config.js b/buyer/vue.config.js index 19a2a059..c7590950 100644 --- a/buyer/vue.config.js +++ b/buyer/vue.config.js @@ -29,7 +29,7 @@ let cdn = { "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/axios@0.19.2/dist/axios.min.js", "https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/iview.min.js", "https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js" ] diff --git a/docker-push.sh b/docker-push.sh index 92b4c75a..cbf60318 100644 --- a/docker-push.sh +++ b/docker-push.sh @@ -1,5 +1,5 @@ -docker push registry.cn-beijing.aliyuncs.com/lili-images/buyer-ui-4.2.0:0.0.2 -docker push registry.cn-beijing.aliyuncs.com/lili-images/wap-ui-4.2.0:0.0.2 -docker push registry.cn-beijing.aliyuncs.com/lili-images/seller-ui-4.2.0:0.0.2 -docker push registry.cn-beijing.aliyuncs.com/lili-images/manager-ui-4.2.0:0.0.2 +docker push registry.cn-beijing.aliyuncs.com/lili-images/buyer-ui:4.2.2.1 +docker push registry.cn-beijing.aliyuncs.com/lili-images/wap-ui:4.2.2.1 +docker push registry.cn-beijing.aliyuncs.com/lili-images/seller-ui:4.2.2.1 +docker push registry.cn-beijing.aliyuncs.com/lili-images/manager-ui:4.2.2.1 diff --git a/manager/docker.sh b/manager/docker.sh index 2df364bc..39eccb4a 100644 --- a/manager/docker.sh +++ b/manager/docker.sh @@ -1 +1 @@ -docker build -t registry.cn-beijing.aliyuncs.com/lili-images/manager-ui-4.2.0:0.0.2 . +docker build -t registry.cn-beijing.aliyuncs.com/lili-images/manager-ui:4.2.2.1 . diff --git a/manager/src/utils/filters.js b/manager/src/utils/filters.js index 9124cbfe..95c4d551 100644 --- a/manager/src/utils/filters.js +++ b/manager/src/utils/filters.js @@ -15,6 +15,23 @@ export function unitPrice(val, unit, location) { } return (unit || '') + price } +// 转义 +export function enCode(v1) { + var entry = { + "'": "'", + "<": "<", + ">": ">", + "(": "(", + ")": ")" + }; + + v1 = v1.replace(/(')|(<)|(>)|(()|())|\s/gi, function($0) { + return entry[$0] || $0; + }); + + return v1; +} + /** * 订单来源 diff --git a/manager/src/views/goods/goods-manage/category.vue b/manager/src/views/goods/goods-manage/category.vue index 49d651bf..1144878d 100644 --- a/manager/src/views/goods/goods-manage/category.vue +++ b/manager/src/views/goods/goods-manage/category.vue @@ -4,9 +4,10 @@
- +
@@ -41,7 +43,8 @@
@@ -107,7 +110,7 @@
- + +/deep/ .ivu-table-wrapper { + overflow: auto; +} +.table { + min-height: 100vh; + height: auto; +} + \ No newline at end of file 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 389471e5..909f70ca 100644 --- a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue +++ b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue @@ -88,7 +88,7 @@ export default { overflow-y: auto; } .ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu), .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){ - color: #ed3f14; + color: $theme_color; } /deep/.ivu-menu-vertical .ivu-menu-item-group-title { height: 40px; diff --git a/manager/src/views/my-components/lili/editor.vue b/manager/src/views/my-components/lili/editor.vue index 7c2c7aef..f6e5bfcc 100644 --- a/manager/src/views/my-components/lili/editor.vue +++ b/manager/src/views/my-components/lili/editor.vue @@ -195,9 +195,12 @@ export default { this.$emit("on-change", this.data); }, }, - watch: { - value(val) { - this.setData(val); + watch: { + value: { + handler: function (val) { + // 赋值给富文本 + this.setData(this.$options.filters.enCode(val)); + }, }, }, mounted() { diff --git a/manager/src/views/promotion/kanjia/kanjiaActivityEditGoods.vue b/manager/src/views/promotion/kanjia/kanjiaActivityEditGoods.vue index 69f01eb4..ba1cc609 100644 --- a/manager/src/views/promotion/kanjia/kanjiaActivityEditGoods.vue +++ b/manager/src/views/promotion/kanjia/kanjiaActivityEditGoods.vue @@ -22,6 +22,7 @@
- +
@@ -153,6 +159,7 @@ goodsSku: {}, }, id: this.$route.query.id, // 砍价活动id + onlyView:this.$route.query.onlyView, // 是否为只读 submitLoading: false, // 添加或编辑提交状态 formRule: { settlementPrice: [ diff --git a/manager/src/views/promotion/kanjia/kanjiaActivityGoods.vue b/manager/src/views/promotion/kanjia/kanjiaActivityGoods.vue index ea06dbf7..084b8227 100644 --- a/manager/src/views/promotion/kanjia/kanjiaActivityGoods.vue +++ b/manager/src/views/promotion/kanjia/kanjiaActivityGoods.vue @@ -47,7 +47,10 @@ -