Administrator 4 rokov pred
rodič
commit
c456b19ed6

+ 2 - 2
src/main/resources/static/css/product/detail.pc.css

@@ -141,7 +141,7 @@ input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appear
 .WeChat{float: right;font-size: 12px;cursor: pointer}
 .WeChat .icon{width: 40px;height: 40px;display: block;}
 .WeChat .icon::before{width: 40px;height: 40px;background-position: -147px -544px}
-.WeChat:hover .WechatBg{display: block}
-.WechatBg{background: url(/img/base/Wechat.bg.png) no-repeat left top;width: 174px;height: 218px;position: absolute;right: -150px;top: -20px;display: none;}
+.WeChat:hover .WechatBg{opacity: 1}
+.WechatBg{background: url(/img/base/Wechat.bg.png) no-repeat left top;width: 174px;height: 218px;position: absolute;right: -150px;top: -20px;opacity: 0}
 .WechatBg img{margin: 18px auto 10px;width: 132px;height: 132px;}
 .WechatBg p{font-size: 12px;text-align: center;width: 120px;margin: auto;}

BIN
src/main/resources/static/img/base/wechat.h5.png


+ 1 - 0
src/main/resources/templates/product/detail.html

@@ -164,6 +164,7 @@
                     <img class="none-image" src="/img/base/icon-none.svg" alt="">
                     <p class="none-text">此商品已{{disabledText}},请浏览以下推荐商品~</p>
                 </div>
+                <div v-if="!isPC" class="wechatH5 btnBox"><img src="/img/base/wechat.h5.png" style="padding: 2.7vw 0"></div>
                 <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
                     <div  class="btnBox" v-if="priceObj.priceFlag==2 && priceObj.userIdentity==4">
                         <a class="upgrade" href="/user/setting/upgrade.html">升级会员查看价格</a>