bding há 2 anos atrás
pai
commit
1ec19d6d7e

+ 3 - 3
activityPages/activityDetail/activityDetail.vue

@@ -601,15 +601,15 @@ export default {
     // 微路演收藏
     async isCollectionHandeler() {
       const res = await Home.microRoadshowCollect({
-        Id: this.detailData.ActivityId,
-        SourceType: this.detailData.FileType == 1 ? 2 : 1,
+        Id: this.detailData.FileType == 1 ? this.VoiceList.ActivityId : this.detailData.VideoDetail.Id,
+        SourceType: this.detailData.FileType,
       });
       if (res.Ret === 200) {
         uni.showToast({
           title: res.Msg,
           duration: 2000,
         });
-        this.getActivityDetail();
+      this.detailData.IsCollect = !this.detailData.IsCollect
       }
     },
   },

+ 2 - 3
activityPages/endActivity/endActivity.vue

@@ -95,9 +95,8 @@ export default {
     justify-content: space-between;
     padding: 30rpx 70rpx;
     .item-text {
-      display: flex;
-      align-items: center;
-      justify-content: center;
+      text-align: center;
+      line-height: 53rpx;
       width: 290rpx;
       height: 53rpx;
       background: #f5f5f5;

+ 3 - 3
activityPages/themeActivity/themeActivity.vue

@@ -4,7 +4,8 @@
     <view class="select-content-activity">
       <view class="top-title" v-if="!type">
         <view :class="['content-title', !contentDetail.IsJump && 'jump-title']" @click="jumpHandler">
-          <text>{{ contentDetail.Label }}</text>
+          <text class="jump-label">{{ contentDetail.Label }}</text>
+          <text v-if="contentDetail.IsJump" class="jump-text"> 查看资源包>></text>
           <image v-if="contentDetail.IndustryNewLabel" class="new_icon" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png" mode=""></image>
         </view>
       </view>
@@ -243,7 +244,6 @@ export default {
         if (this.page_no === 1) {
           this.collectList = res.Data.List || [];
           this.haveData = this.collectList.length ? true : false;
-          console.log(this.haveData, "-----------------------");
           if (this.refresh) {
             uni.stopPullDownRefresh();
             this.refresh = false;
@@ -393,7 +393,7 @@ export default {
   }
   @import "../components/selectCss.scss";
   @import "@/components/activity/indexActivity.scss";
- 
+
   .title-date {
     position: relative;
     .audio-back {

+ 1 - 1
pageMy/login/login.vue

@@ -262,7 +262,7 @@ export default {
   },
   onShow() {
     // #ifdef MP-WEIXIN
-    uni.hideHomeButton();
+    // uni.hideHomeButton();
     // #endif
   },
 };

+ 3 - 1
pages-search/indedxSearch/indedxSearch.vue

@@ -434,7 +434,9 @@ export default {
       this.historySearchList = JSON.parse(this.$db.get("historySearchList"));
     }
   },
-  onShow() {},
+  onShow() {
+     this.$store.dispatch("checkHandle");
+  },
   /* 下拉刷新 */
   onPullDownRefresh: Throttle(function () {
     this.page_no = 1;

+ 1 - 1
store/index.js

@@ -39,7 +39,7 @@ const store = new Vuex.Store({
                   });
                 } else if (res.Data.IsBind && !res.Data.IsAuth) {
                   //已授权未绑定
-                  uni.navigateTo({
+                  uni.redirectTo({
                     url: "/pageMy/login/login",
                   });
                 }