Преглед на файлове

wesmiler 更新第5期升级

wesmiler преди 5 години
родител
ревизия
55b7725e50
променени са 2 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 1
      public/themes/default/weixin/match/index.html
  2. 0 2
      public/themes/default/weixin/public/assets/js/match.js

+ 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="followTips" v-if="hasFollow==0">关注拾光公众号,接收微信申请和结果反馈<a @click="showFollow()">立即关注</a><span @click="hasFollow=true">x</span></div>
     <div :class="'box'+(!hasFollow? ' has' : '')">
     <div :class="'box'+(!hasFollow? ' has' : '')">
         <div id="recommends" class="recommend-box">
         <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>
                 <a href="/weixin/member/complain"><span v-html="tips.content"></span></a>
             </div>
             </div>
             <div class="join"><a href="/weixin/activity/book?id=15">我要推荐</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('') : [];
                 var strs = _this.tips.content? _this.tips.content.split('') : [];
                 if(strs.length>9){
                 if(strs.length>9){
                     _this.tips.width = (strs.length-9)*12.5
                     _this.tips.width = (strs.length-9)*12.5
-                }else{
-                    _this.tips.width = 280
                 }
                 }
                 _this.tipsTimerId = setInterval(function(){
                 _this.tipsTimerId = setInterval(function(){
                    if(_this.tips.left>=100){
                    if(_this.tips.left>=100){