Browse Source

修改活动模块

jwyu 2 years ago
parent
commit
36623b02f9
3 changed files with 16 additions and 15 deletions
  1. 11 10
      pages-activity/detail.vue
  2. 1 1
      pages.json
  3. 4 4
      pages/activity/activity.vue

+ 11 - 10
pages-activity/detail.vue

@@ -25,7 +25,8 @@
                 <text>{{ info.city }}</text>
                 <text>{{ info.city }}</text>
             </view>
             </view>
         </view>
         </view>
-        <view class="intro-wrap">{{ info.is_new_report==1?info.reportName:info.reportName?info.reportName.split('】')[1]:info.activityName }}</view>
+        <view class="intro-wrap">{{ info.activityName }}</view>
+        <!-- <view class="intro-wrap">{{ info.is_new_report==1?info.reportName:info.reportName?info.reportName.split('】')[1]:info.activityName }}</view> -->
         
         
 
 
         <!-- 音频 -->
         <!-- 音频 -->
@@ -275,15 +276,15 @@ export default {
         }
         }
     },
     },
     onShareAppMessage() {
     onShareAppMessage() {
-        let title=''
-        if(this.info.firstActivityTypeId==1){
-            title=this.info.reportName.split('】')[1]||this.info.activityName
-            if(this.info.is_new_report==1){
-                title=this.info.reportName
-            }
-        }else{
-            title=this.info.activityName
-        }
+        let title=this.info.activityName
+        // if(this.info.firstActivityTypeId==1){
+        //     title=this.info.reportName.split('】')[1]||this.info.activityName
+        //     if(this.info.is_new_report==1){
+        //         title=this.info.reportName
+        //     }
+        // }else{
+        //     title=this.info.activityName
+        // }
         const token=uni.getStorageSync('token')
         const token=uni.getStorageSync('token')
         const timestamp=new Date().getTime()
         const timestamp=new Date().getTime()
         
         

+ 1 - 1
pages.json

@@ -25,7 +25,7 @@
 		{
 		{
 			"path": "pages/activity/activity",
 			"path": "pages/activity/activity",
 			"style": {
 			"style": {
-				"navigationBarTitleText": "活动",
+				"navigationBarTitleText": "线下沙龙",
 				"enablePullDownRefresh": true
 				"enablePullDownRefresh": true
 			}
 			}
 		},
 		},

+ 4 - 4
pages/activity/activity.vue

@@ -12,7 +12,7 @@
                     @clear="onClearSearch" 
                     @clear="onClearSearch" 
                 />
                 />
             </view> -->
             </view> -->
-            <view class="flex tabs-wrap" @click="tabChange">
+            <!-- <view class="flex tabs-wrap" @click="tabChange">
                 <view
                 <view
                     :class="['tab-item', tabActive === '1' && 'tab-active']"
                     :class="['tab-item', tabActive === '1' && 'tab-active']"
                     data-type="1"
                     data-type="1"
@@ -21,7 +21,7 @@
                     :class="['tab-item', tabActive === '3' && 'tab-active']"
                     :class="['tab-item', tabActive === '3' && 'tab-active']"
                     data-type="3"
                     data-type="3"
                     >线下沙龙</view>
                     >线下沙龙</view>
-            </view>
+            </view> -->
             <view class="flex status-wrap" @click="statusChange">
             <view class="flex status-wrap" @click="statusChange">
                 <view
                 <view
                     :class="[
                     :class="[
@@ -284,7 +284,7 @@ export default {
     data() {
     data() {
         return {
         return {
             searchVal: '',
             searchVal: '',
-            tabActive: '1',
+            tabActive: '3',
             statusActive: '1',
             statusActive: '1',
 
 
             page: 1,
             page: 1,
@@ -627,7 +627,7 @@ export default {
 
 
         // 切换tabbar页面时 整个刷新
         // 切换tabbar页面时 整个刷新
         allRefresh(){
         allRefresh(){
-            this.tabActive= '1'
+            this.tabActive= '3'
             this.statusActive='1'
             this.statusActive='1'
             this.pupData={
             this.pupData={
                 show:false,
                 show:false,