Browse Source

bug修复

喻文俊 3 năm trước cách đây
mục cha
commit
934684b827

+ 1 - 1
src/main/resources/static/js/user-center/member/memberPage.js

@@ -45,7 +45,7 @@ var memberPage = new Vue({
         couponList: [],
         comboCurrent: 0,  // 当前选择的套餐
         vipInfo: {}, // 用户svip信息
-        currentIndex: 1,
+        currentIndex: 0,
         productList: [],
         listQuery: {
             userId: GLOBAL_USER_ID,

+ 1 - 1
src/main/resources/templates/user-center/member/member.html

@@ -80,7 +80,7 @@
                     </div>
                 </div>
                 <!--优惠券列表-->
-                <div class="section">
+                <div class="section" v-if="couponList.length > 0">
                     <div class="section-title">专属优惠券<span>每月可领4个</span></div>
                     <div class="content coupon-list">
                         <template v-if="couponList.length > 0">