Selaa lähdekoodia

Merge branch 'chart'

jwyu 3 vuotta sitten
vanhempi
commit
7ef19dc4cb
3 muutettua tiedostoa jossa 6 lisäystä ja 3 poistoa
  1. 1 1
      pages-chart/allTypes.vue
  2. 4 1
      pages/chart/chart.vue
  3. 1 1
      utils/config.js

+ 1 - 1
pages-chart/allTypes.vue

@@ -172,7 +172,7 @@ export default {
       border-top-width: 0 !important;
       border-top-width: 0 !important;
     }
     }
     .self-wrap{
     .self-wrap{
-      margin-top: 60rpx;
+      // margin-top: 60rpx;
     }
     }
   }
   }
   
   

+ 4 - 1
pages/chart/chart.vue

@@ -34,6 +34,7 @@
       </view>
       </view>
       <view class="chart-list-wrap" v-else>
       <view class="chart-list-wrap" v-else>
         <drag
         <drag
+          v-if="list.length>0"
           ref="chartDragIns"
           ref="chartDragIns"
           generic:item="chart-item"
           generic:item="chart-item"
           :columns="2"
           :columns="2"
@@ -154,7 +155,7 @@ export default {
     },
     },
     onShareAppMessage(res) {
     onShareAppMessage(res) {
         return {
         return {
-            title: '弘则研报',
+            title: 'ETA图库',
             path: ''
             path: ''
         }
         }
     },
     },
@@ -164,6 +165,8 @@ export default {
     methods: {
     methods: {
       // 获取列表
       // 获取列表
       async getList(){
       async getList(){
+        this.scrollTop=0
+        this.pageMetaScrollTop=0
         const res=await apiChartList({
         const res=await apiChartList({
           Page:this.page,
           Page:this.page,
           Limit:20,
           Limit:20,

+ 1 - 1
utils/config.js

@@ -57,7 +57,7 @@ const defaultTabBarListConfig=[
     {
     {
         key: "chart",
         key: "chart",
         pagePath: "pages/chart/chart",
         pagePath: "pages/chart/chart",
-        text: "图库",
+        text: "ETA图库",
         iconPath: "../static/tabbar/chart.png",
         iconPath: "../static/tabbar/chart.png",
         selectedIconPath: "../static/tabbar/chart-s.png",
         selectedIconPath: "../static/tabbar/chart-s.png",
     },
     },