瀏覽代碼

Merge branch 'dev/v4.8.46_wmh' of qmx/jy into feature/v4.8.46

wenmenghao 2 年之前
父節點
當前提交
005b7bea29

二進制
src/jfw/modules/app/src/web/staticres/jyapp/big-member/image/noData.png


+ 10 - 8
src/jfw/modules/app/src/web/templates/big-member/page_forecast_list.html

@@ -120,16 +120,18 @@
             display: flex;
             flex-direction: column;
             align-items: center;
-            padding-top: 1.6rem;
+            padding-top: 0.8rem;
         }
 
-        .empty-img {
-            width: 3.2rem;
-            height: 3.2rem;
+        .empty-img.noData {
+            width: 4rem;
+            height: 4rem;
+            padding: 0;
+            margin-bottom: 0;
         }
 
         .empty-tip {
-            margin-top: .24rem;
+            /* margin-top: .24rem; */
             font-size: .26rem;
             line-height: .4rem;
             color: #9B9CA3;
@@ -139,7 +141,7 @@
             display: inline-block;
             width: 3.3rem;
             height: .8rem;
-            margin-top: .96rem;
+            margin-top: 0.42rem;
             line-height: .8rem;
             border: 1px solid #2ABED1;
             border-radius: 4px;
@@ -336,7 +338,7 @@
                 </div>
             </div>
             <div class="empty" v-else>
-                <img class="empty-img" src="/jyapp/big-member/image/img-empty.png" alt="" />
+                <img class="empty-img noData" src="/jyapp/big-member/image/noData.png" alt="" />
                 <div v-show="set.notKey" style="text-align: center;">
                     <p class="empty-tip">暂无设置订阅关键词,无法进行预测</p>
                     <a class="link-btn" @click="goSetting" href="javascript:;" v-show="isSubCount">去设置</a>
@@ -480,7 +482,7 @@
                             console.log(res)
                             if (res.error_code == 0) {
                                 that.isSubCount = !res.data.isSubCount
-                                if (res.data.code === 1 && !res.data.list) {
+                                if (res.data.code === 1 && (!res.data.list || res.data.list.length == 0)) {
                                     // 暂无设置订阅关键词,无法进行预测
                                     that.set.notKey = true;
                                 } else if (res.data.code === 2) {