diff --git a/rc-busness/assets/css/addaddress.less b/rc-busness/assets/css/addaddress.less index c7f602c0..e5ace5db 100644 --- a/rc-busness/assets/css/addaddress.less +++ b/rc-busness/assets/css/addaddress.less @@ -52,6 +52,9 @@ display: none; } } + input { + padding-left: 16px; + } } diff --git a/rc-busness/assets/css/mypersonal.less b/rc-busness/assets/css/mypersonal.less index 5f1e2887..9f72334a 100644 --- a/rc-busness/assets/css/mypersonal.less +++ b/rc-busness/assets/css/mypersonal.less @@ -123,8 +123,8 @@ ul li ol li em strong i { border: 2px solid #d7d7d7; border-radius: 50%; img { - width: 36px; - height: 36px; + width: 2rem; + height: 2rem; display: block; margin: 0 auto; } @@ -342,8 +342,8 @@ ul li ol li em strong i { border: 2px solid #d7d7d7; border-radius: 50%; img { - width: 48px; - height: 48px; + width: 2rem; + height: 2rem; display: block; margin: 0 auto; } @@ -353,7 +353,7 @@ ul li ol li em strong i { display: flex; justify-content: space-between; align-items: center; - padding-bottom:32px; + padding-bottom:2rem; border-bottom: 1px solid #D7D7D7; em{ font-style: normal; diff --git a/rc-busness/assets/css/openaddress.less b/rc-busness/assets/css/openaddress.less index 6cd9ae5d..cfd8a9ea 100644 --- a/rc-busness/assets/css/openaddress.less +++ b/rc-busness/assets/css/openaddress.less @@ -104,7 +104,7 @@ margin:0 auto; } } img{ - width: 43px; + width: 28px; } .rc-foot{ display: flex; @@ -195,7 +195,7 @@ display: none; } } img{ - width: 43px; + width: 28px; } .rc-foot{ display: flex; diff --git a/rc-busness/assets/css/producted.less b/rc-busness/assets/css/producted.less index 07a91ebd..f4b5afed 100644 --- a/rc-busness/assets/css/producted.less +++ b/rc-busness/assets/css/producted.less @@ -156,6 +156,7 @@ justify-content: center; height: 5rem; bottom: 0; + left:0; background-color: white; box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1); z-index:2; diff --git a/rc-busness/assets/css/resentation.less b/rc-busness/assets/css/resentation.less new file mode 100644 index 00000000..24121d74 --- /dev/null +++ b/rc-busness/assets/css/resentation.less @@ -0,0 +1,69 @@ +.ts-resentation { + .ts-banner-swiper-container { + img { + width: 100%; + height: auto; + object-fit: contain; + } + } + .ts-product-list{ + position:relative; + li{ + border:none; + } + h2{ + word-break: break-all; + } + .rc-column { + box-sizing: border-box; + span { + height:auto; + &:first-child{ + height:5.625rem; + } + } + } + .desc { + width:13rem; + height:auto; + margin-left:auto; + margin-right:auto; + word-break: keep-all; + } + .swiper-slide { + padding-left:1rem; + padding-right:1rem; + } + } + /deep/.swiper-button-prev, /deep/.swiper-button-next { + color:#000; + &:after{ + font-size:1rem; + } + } + .ts-carousel-indicator{ + bottom:0; + /deep/.swiper-pagination-bullet{ + margin-right:.5rem; + } + /deep/.swiper-pagination-bullet-active{ + background:#E2001A; + } + &.center{ + width:100%; + text-align: center; + } + } +} + +@media screen and (max-width:768px) { + .ts-resentation { + .ts-product-list{ + .desc { + } + h2{ + font-size:1.375rem; + } + } + } +} \ No newline at end of file diff --git a/rc-busness/components/fixed-right.vue b/rc-busness/components/fixed-right.vue index b10e7bc1..d23b4379 100644 --- a/rc-busness/components/fixed-right.vue +++ b/rc-busness/components/fixed-right.vue @@ -56,22 +56,25 @@ export default { methods:{ ...mapMutations(["checkIsLogin"]), lianxi(item,index){ + this.checkIsLogin(); + let user = this.$store.state.userInfo; + let curMemberId = (user?user.data.id:''); if(item.title=='在线客服'){ - this.customerServerStop = true; - /* Stop until 2022-2-10 + //this.customerServerStop = true; + /* Stop until 2022-2-10 */ var option = { - customer: {id: '', name: '', email: '', mobile: '', memberId: '999999'} + customer: {id: '', name: '', email: '', mobile: '', memberId: curMemberId} } dis_livchat(option); _hmt.push([ "_trackCustomEvent", - "cs_consult", + "live_chat", { - "page_name_":this.$route.path, - "shop_right_btn": 1, + "type":"cs", + "member_id": curMemberId, } ]) - */ + } if(item.title=='购物车'){ if(this.loginornot){ @@ -85,22 +88,20 @@ export default { } } if(item.title=='营养专家'){ - this.customerServerStop = true; - /* Stop until 2022-2-10 + //this.customerServerStop = true; + /* Stop until 2022-2-10*/ var option = { - customer: {id: '', name: '', email: '', mobile: '', memberId: '999999'} + customer: {id: '', name: '', email: '', mobile: '', memberId: curMemberId} } dis_livchat(option); - console.log(this.$route.path); _hmt.push([ "_trackCustomEvent", - "sol_consult", + "live_chat", { - "page_name_":this.$route.path, - "shop_right_btn": 1, + "type":"sol", + "member_id": curMemberId, } ]) - */ } }, toTop() { diff --git a/rc-busness/components/rc-footer.vue b/rc-busness/components/rc-footer.vue index e827759a..f4c4a9bc 100644 --- a/rc-busness/components/rc-footer.vue +++ b/rc-busness/components/rc-footer.vue @@ -211,7 +211,7 @@