فهرست منبع

移除下拉加载

xiaohaizhao 1 سال پیش
والد
کامیت
1035590dee
2فایلهای تغییر یافته به همراه5 افزوده شده و 6 حذف شده
  1. 3 3
      packageCase/imgs/detail.vue
  2. 2 3
      packageCase/product/detail.vue

+ 3 - 3
packageCase/imgs/detail.vue

@@ -1,5 +1,6 @@
 <template>
-    <My_listbox ref="List" @getlist="getDetail">
+    <view>
+
         <swiper class="swiper" circular v-if="slides.length" :indicator-dots="slides.length > 1" indicator-color="#DC808B"
             indicator-active-color="#C30D23">
             <swiper-item class="swiper-item" v-for="item in slides" :key="item.url">
@@ -69,7 +70,7 @@
             </l-painter>
         </view>
         <bottomForm type="效果图" ownertable="sat_sharematerial" :ownerid="sat_sharematerialid" />
-    </My_listbox>
+    </view>
 </template>
 
 <script>
@@ -110,7 +111,6 @@ export default {
                     "sat_sharematerialid": this.sat_sharematerialid
                 },
             }).then(res => {
-                this.$refs.List.RefreshToComplete()
                 console.log("获取效果图详情", res)
                 if (this.cutoff(res.msg)) return;
                 this.detail = res.data;

+ 2 - 3
packageCase/product/detail.vue

@@ -1,5 +1,5 @@
 <template>
-    <My_listbox ref="List" @getlist="getDetail">
+    <view>
         <swiper class="swiper" v-if="slides.length" :indicator-dots="slides.length > 1" indicator-color="#DC808B"
             indicator-active-color="#C30D23">
             <swiper-item class="swiper-item" v-for="item in slides" :key="item.url">
@@ -55,7 +55,7 @@
             </l-painter>
         </view>
         <bottomForm type="产品" ownertable="sa_fad" :ownerid="sa_fadid" />
-    </My_listbox>
+    </view>
 </template>
 
 <script>
@@ -86,7 +86,6 @@ export default {
                     "sa_fadid": this.sa_fadid
                 },
             }).then(res => {
-                this.$refs.List.RefreshToComplete()
                 console.log("获取单品详情", res)
                 if (this.cutoff(res.msg)) return;
                 this.detail = res.data;