diff --git a/rc-busness/assets/css/global.less b/rc-busness/assets/css/global.less index 731e59d4..4ddce0ae 100644 --- a/rc-busness/assets/css/global.less +++ b/rc-busness/assets/css/global.less @@ -205,7 +205,13 @@ picture { white-space: normal; color: #E2001A; } - + .desc { + height:3.8rem; + white-space: break-spaces; + word-break: keep-all; + margin:1rem auto; + line-height:1.9rem; + } i { font-style: normal; font-size: 1.125rem; diff --git a/rc-busness/config/env-data.js b/rc-busness/config/env-data.js index a63ff61f..e2a89aa1 100644 --- a/rc-busness/config/env-data.js +++ b/rc-busness/config/env-data.js @@ -106,6 +106,32 @@ let devData={ }, ], }, + ], + amature:[ + { + title: "中型幼犬离乳期全价奶糕", + productimage: "/images/dogfoot.png", + detail: "中心犬离乳期专属 高易再水合颗粒 帮助增强保护健康成长", + productCode:'17220400', + price: "¥263", + productList: [ + { + productCode: "17220400,17221000,1722040002,17220400F03", + }, + ], + }, + { + title: "皇家离乳期幼猫全价奶糕", + productimage: "/images/catfoot.png", + detail: "幼猫成长专属 支持幼猫自身保护力 为快速生长提供足够能量", + price: "¥189", + productCode:'20010200', + productList: [ + { + productCode: "20010200,20011000,20010040", + }, + ], + }, ] }; @@ -218,6 +244,32 @@ let prdData={ }, ], }, + ], + amature:[ + { + title: "中型幼犬离乳期全价奶糕", + productimage: "/images/dogfoot.png", + detail: "中心犬离乳期专属 高易再水合颗粒 帮助增强保护健康成长", + ecPrice: "¥263", + productCode:'17220400', + productList: [ + { + productCode: "17220400,17221000,1722040002,17220400F03", + }, + ], + }, + { + title: "皇家离乳期幼猫全价奶糕", + productimage: "/images/catfoot.png", + detail: "幼猫成长专属 支持幼猫自身保护力 为快速生长提供足够能量", + ecPrice: "¥189", + productCode:'20010200', + productList: [ + { + productCode: "20010200,20011000,20010040", + }, + ], + }, ] }; //Production data end diff --git a/rc-busness/pages/index.vue b/rc-busness/pages/index.vue index f4771044..5aacad61 100644 --- a/rc-busness/pages/index.vue +++ b/rc-busness/pages/index.vue @@ -1032,7 +1032,7 @@ --> - +
@@ -1259,6 +1259,7 @@ export default { ], catlistvideo: [ + ], doglistvideo: [ @@ -1313,7 +1314,7 @@ export default { // console.log("1"); // } if (this.realIndex == 2) { - console.log(vm.userdata.data.id) + // setTimeout(() => { // var option = { // customer: { @@ -1399,7 +1400,7 @@ export default { watch: {}, mounted() { this.checkIsLogin(); - this.userdata = this.$store.state.userInfo; + const that = this; this.ifAdoid(); @@ -1422,29 +1423,10 @@ export default { window.removeEventListener("scroll", this.scrollToTop); }, methods: { + ...mapMutations(["checkIsLogin"]), diaoqi(){ - setTimeout(() => { - var option = { - customer: { - id: "", - name: "", - email: "", - mobile: "", - memberId: vm.userdata.data.id, - }, - }; - dis_livchat(option); - _hmt.push([ - "_trackCustomEvent", - "sol_consult", - { - "page":this.$route.path, - "shop_head_banner": 1, - } - ]) - }, 500); + this.$refs['fixRightComponent'].lianxi({title:'营养专家'}); }, - ...mapMutations(["checkIsLogin"]), playMobileVideo(item) { let videoPath = item.video; let player = this.$refs["mobile-video-player"]; diff --git a/rc-busness/pages/productdetails/producted.vue b/rc-busness/pages/productdetails/producted.vue index 214c12c9..fd956bf6 100644 --- a/rc-busness/pages/productdetails/producted.vue +++ b/rc-busness/pages/productdetails/producted.vue @@ -1,781 +1,781 @@ - - - - - \ No newline at end of file diff --git a/rc-busness/pages/resentation/resentation.vue b/rc-busness/pages/resentation/resentation.vue new file mode 100644 index 00000000..9b6aff63 --- /dev/null +++ b/rc-busness/pages/resentation/resentation.vue @@ -0,0 +1,130 @@ + + + + + \ No newline at end of file diff --git a/rc-busness/static/images/catfoot.png b/rc-busness/static/images/catfoot.png new file mode 100644 index 00000000..8527b1e1 Binary files /dev/null and b/rc-busness/static/images/catfoot.png differ diff --git a/rc-busness/static/images/dogfoot.png b/rc-busness/static/images/dogfoot.png new file mode 100644 index 00000000..17f358a4 Binary files /dev/null and b/rc-busness/static/images/dogfoot.png differ diff --git a/rc-busness/static/images/rc-phone.png b/rc-busness/static/images/rc-phone.png new file mode 100644 index 00000000..ef5b625f Binary files /dev/null and b/rc-busness/static/images/rc-phone.png differ diff --git a/rc-busness/static/images/userbanner.png b/rc-busness/static/images/userbanner.png new file mode 100644 index 00000000..7a17b7b8 Binary files /dev/null and b/rc-busness/static/images/userbanner.png differ