master
chen 2022-04-21 14:13:17 +08:00
parent 5493791e09
commit 36d85ca05a
25 changed files with 33 additions and 25 deletions

View File

@ -91,6 +91,9 @@
this.isZanw = false this.isZanw = false
} }
}, },
onShow() {
this.$toolAll.tools.isLogin();
},
onLoad(options) { onLoad(options) {
this.checkDor(); this.checkDor();
}, },

View File

@ -21,11 +21,10 @@
<view v-show="cateCurrent==isNum"> <view v-show="cateCurrent==isNum">
<view class="pad-zy32"> <view class="pad-zy32">
<!-- 自定义轮播 --> <!-- 自定义轮播 -->
<swiper-pu :browseP="true" :isplay="isAutoPlay" :bannerList="bannerList" :newHeight="newHeight" <swiper-pu v-if="ifSwiper" :browseP="true" :isplay="isAutoPlay" :bannerList="bannerList" :newHeight="newHeight"
:newRadius="'10'" :newBottom="'5'"></swiper-pu> :newRadius="'10'" :newBottom="'5'"></swiper-pu>
<!-- 标题 --> <!-- 标题 -->
<view class="fon36 col3 bold mar-sx20 clips2" style="line-height: 50rpx;">{{detailObj.title}} <view class="fon36 col3 bold mar-sx20 clips2" style="line-height: 50rpx;">{{detailObj.title}}</view>
</view>
<view class="disjbac"> <view class="disjbac">
<view class="disac"> <view class="disac">
<!-- 发布者头像 --> <!-- 发布者头像 -->
@ -157,6 +156,7 @@
allList:[], allList:[],
contentVal:'', contentVal:'',
newHeight:'450', newHeight:'450',
ifSwiper:0,//swiper
} }
}, },
computed: { computed: {
@ -301,6 +301,8 @@
} }
// //
this.detailObj = res.data.detail; this.detailObj = res.data.detail;
// swiper
this.ifSwiper = this.detailObj.images_show;
if (this.detailObj.published_headimgurl != '') { if (this.detailObj.published_headimgurl != '') {
this.fabImg = this.$http + this.detailObj.published_headimgurl; this.fabImg = this.$http + this.detailObj.published_headimgurl;
} }

View File

@ -87,6 +87,9 @@
  };   };
  return shareObj;   return shareObj;
}, },
onShow() {
this.$toolAll.tools.isLogin();
},
onLoad(options) { onLoad(options) {
uni.getStorageSync('shareAll')!='' ? this.dataList[1].num = uni.getStorageSync('shareAll').share_users.total : this.dataList[1].num = 0 uni.getStorageSync('shareAll')!='' ? this.dataList[1].num = uni.getStorageSync('shareAll').share_users.total : this.dataList[1].num = 0
}, },

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long