ソースを参照

研究汇总 按钮更换

bding 2 年 前
コミット
e04eda3091
3 ファイル変更4 行追加7 行削除
  1. 4 1
      pages/index/index.vue
  2. 0 3
      pages/material/material.vue
  3. 0 3
      pages/reportForm/reportForm.vue

+ 4 - 1
pages/index/index.vue

@@ -48,6 +48,7 @@
     </view>
     <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="page_no > 1" />
     <view v-if="newDataList.length === 4" class="bind-btn" @click="goLogin">绑定联系方式后查看更多内容>></view>
+    <suspenButton :show.sync="wholeShowListData.IsShow" v-if="wholeShowListData.IsShow" />
   </view>
 </template>
 
@@ -56,6 +57,7 @@ import { Home, Mine } from "@/config/api";
 import ChartItem from "@/components/ItemComponent/chartItem.vue";
 import ReportItem from "@/components/ItemComponent/reportItem.vue";
 import RoadshowItem from "@/components/ItemComponent/roadshowItem.vue";
+import suspenButton from "@/components/suspen_button.vue";
 import ActivityItem from "@/components/ItemComponent/activityItem.vue";
 export default {
   data() {
@@ -78,6 +80,7 @@ export default {
     ReportItem,
     RoadshowItem,
     ActivityItem,
+    suspenButton,
   },
   methods: {
     //获取胶囊位置
@@ -120,7 +123,7 @@ export default {
       const res = await Home.microRoadshowCollect({
         Id: item.Id,
         SourceType: item.Type,
-        PageRouter: this.$store.state.pageRouterReport
+        PageRouter: this.$store.state.pageRouterReport,
       });
       if (res.Ret === 200) {
         let index = this.newDataList.findIndex((key) => key.Roadshow && key.Roadshow.Id == item.Id);

+ 0 - 3
pages/material/material.vue

@@ -81,7 +81,6 @@
       </block>
     </view>
     <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
-    <suspenButton :show.sync="wholeShowListData.IsShow" v-if="wholeShowListData.IsShow" />
   </view>
 </template>
 
@@ -89,7 +88,6 @@
 import { Home, Reports, Chart, activity } from "@/config/api.js";
 import { Throttle, deepCopy } from "@/config/util.js";
 import freeCharge from "@/components/freeCharge";
-import suspenButton from "@/components/suspen_button.vue";
 
 import ChartItem from "@/components/ItemComponent/chartItem.vue";
 import ReportItem from "@/components/ItemComponent/reportItem.vue";
@@ -134,7 +132,6 @@ export default {
   },
   components: {
     freeCharge,
-    suspenButton,
     ChartItem,
     ReportItem,
     RoadshowItem,

+ 0 - 3
pages/reportForm/reportForm.vue

@@ -147,7 +147,6 @@
     <!-- 视频模块 -->
     <videoModule :showVideoPop="showVideoPop" :videoPopList="videoPopList" />
     <modalDialog :isShowhasPermission="isShowhasPermission" :applyForIsShow="applyForIsShow" :jurisdictionList="jurisdictionList" :hasPermission="hasPermission" />
-    <suspenButton :show.sync="wholeShowListData.IsShow" v-if="wholeShowListData.IsShow" />
   </view>
 </template>
 
@@ -155,7 +154,6 @@
 import strategy from "./components/strategy.vue";
 import { Throttle, Debounce } from "@/config/util.js";
 import freeCharge from "@/components/freeCharge";
-import suspenButton from "@/components/suspen_button.vue";
 import videoModule from "@/components/videoModule/index";
 import modalDialog from "@/components/modalDialog.vue";
 import { Reports } from "@/config/api.js";
@@ -164,7 +162,6 @@ export default {
   components: {
     strategy,
     freeCharge,
-    suspenButton,
     videoModule,
     modalDialog,
   },