Browse Source

wesmiler 更新第5期升级

wesmiler 5 years ago
parent
commit
55b7725e50

+ 1 - 1
public/themes/default/weixin/match/index.html

@@ -13,7 +13,7 @@
     <div class="followTips" v-if="hasFollow==0">关注拾光公众号,接收微信申请和结果反馈<a @click="showFollow()">立即关注</a><span @click="hasFollow=true">x</span></div>
     <div :class="'box'+(!hasFollow? ' has' : '')">
         <div id="recommends" class="recommend-box">
-            <div class="tips" v-if="tipsArr.length>0" :style="'width:'+(tips.width)+'px;right: '+(tips.left>=0?'auto' : tips.left)+'%;'">
+            <div class="tips" v-if="tipsArr.length>0" :style="'width:'+(tips.width)+'px;right: '+tips.left+'%;'">
                 <a href="/weixin/member/complain"><span v-html="tips.content"></span></a>
             </div>
             <div class="join"><a href="/weixin/activity/book?id=15">我要推荐</a></div>

+ 0 - 2
public/themes/default/weixin/public/assets/js/match.js

@@ -218,8 +218,6 @@ var app = new Vue({
                 var strs = _this.tips.content? _this.tips.content.split('') : [];
                 if(strs.length>9){
                     _this.tips.width = (strs.length-9)*12.5
-                }else{
-                    _this.tips.width = 280
                 }
                 _this.tipsTimerId = setInterval(function(){
                    if(_this.tips.left>=100){