Browse Source

feat: 修复微信端大会员落地页问题

zhangyuhan 3 years ago
parent
commit
e89b9773c3

+ 0 - 2
src/web/staticres/big-member/weixin/css/page_landingPage_new.css

@@ -769,11 +769,9 @@
 }
 
 .buy_btn .j-button-now {
-  /* width: 2.4rem; */
   flex: 1;
   height: 0.8rem;
   margin-right: 0.1rem;
-  /*background: url("/big-member/image/landpage_new/buy_bg.png?v=1") no-repeat center center;*/
   background-size: 100% 100%;
   color: #fff;
 }

+ 17 - 14
src/web/templates/big-member/wx/page_landingPage.html

@@ -31,6 +31,12 @@
                background: url("{{Msg "seo" "cdn"}}/big-member/image/landpage_new/item-btn.png");
               background-size: 100% 100%;
           }
+          .action_out div {
+              width: 100%;
+          }
+          .j-main img {
+              width: 100%;
+          }
         </style>
     </head>
 <body>
@@ -112,7 +118,7 @@
                 <div>
                     <img src='{{Msg "seo" "cdn"}}/big-member/image/landpage_new/itemB_04.jpg'>
                 </div>
-                <div class="btn_buy" id="btn_buy" @click="linkBuy('sj', 1)"  style="background-color:#1A1A2A;margin-top: -0.01rem; ">
+                <div class="btn_buy" id="btn_buy" @click="exper_fun('sj', 1)"  style="background-color:#1A1A2A;margin-top: -0.01rem; ">
                     <img data-need-bind-phone src='{{Msg "seo" "cdn"}}/big-member/image/landpage_new/itemB_05.jpg' alt="" class="btn_buy_img" id="btn_buy_img" >
                 </div>
             </div>
@@ -134,12 +140,9 @@
                 </div>
             </div>
         </div>
-        <div class="j-footer " v-show="isCantrial" style="padding: 0.7rem 0;background-color: #1A1A2A">
+        <div class="j-footer " v-show="isCantrial" style="background-color: #1A1A2A">
             <div class="j-button-group btbt">
-                        <!-- <div class="j-button-practice" @click="exper_fun()">
-                            <div data-need-bind-phone>免费试用</div>
-                        </div> -->
-                <div class="buy_btn" v-show="onlyBuy">
+                <div class="buy_btn" v-if="onlyBuy">
                       <div class="sevendays j-btn" @click="exper_fun()">
                           <div data-need-bind-phone  style="color: #FAE7CA">立即体验</div>
                       </div>
@@ -147,13 +150,13 @@
                           <div data-need-bind-phone style="color: #1A1A2A">点击购买</div>
                       </div>
                 </div>
-                <div class="buy_btn" v-show="!onlyBuy">
-                            <div class="j-button-nowly j-btn" @click="linkBuy('sj',6)">
-                                <div data-need-bind-phone>立即购买</div>
-                            </div>
-                        </div>
+                <div class="buy_btn" v-else>
+                    <div class="j-button-nowly j-btn" @click="linkBuy('sj',6)">
+                        <div data-need-bind-phone>立即购买</div>
                     </div>
                 </div>
+            </div>
+        </div>
     </div>
     <script src="//cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js"> </script>
     <script src="//cdn.jsdelivr.net/npm/vant@2.8.2/lib/vant.min.js"> </script>
@@ -179,7 +182,7 @@
         delimiters: ['${', '}'],
         el: '#v-commit',
         data: {
-            onlyBuy:true,
+            onlyBuy: true,
             isCantrial:true,
             cantodo:[
             ],
@@ -231,8 +234,8 @@
             ]
         },
         created () {
-            this.getVipMeal()
             this.getAnchor()
+            this.getVipMeal()
         },
         computed: {
             version () {
@@ -318,7 +321,7 @@
             exper_fun:function () {
                 this.setStatistics('免费体验')
                 // location.href = '/demo-member/demo_action.html'
-                location.href = '/weixin/frontPage/bigmember/free/perfect_info?origin=member_freeuse&mid=' + utils.getParam('mid')
+                location.href = '/weixin/frontPage/bigmember/free/perfect_info?origin=member_freeuser&mid=' + utils.getParam('mid')
             },
             // 咨询客服
             consult:function(){