作者 朱振飞

修改项目细节

... ... @@ -211,7 +211,7 @@ page {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
margin-right: 26rpx;
margin: 0 14rpx;
background-color: #b9c0f7;
}
... ...
.content{
padding: 32rpx;
padding:32rpx 46rpx;
text-align: justify;
color: #333;
font-size:20rpx 30rpx
}
\ No newline at end of file
... ...
... ... @@ -50,15 +50,12 @@ Page({
})
if(r.length==0){
console.log(73478)
that.setData({
top:'100rpx'
top:'50px'
})
}else{
console.log(345)
that.setData({
top:'390rpx'
top:'195px'
})
}
})
... ...
<!--pages/attract/attract.wxml-->
<view class='top_view'>
<!-- <view class='top_banner'>
<image src='{{banner}}' width='100%' mode='widthFix' bindtap='bannerDetail' id='1'></image>
</view> -->
<view class="swiper_image" wx:if="{{imgUrls.length!=0}}">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" >
<block wx:for="{{imgUrls}}" wx:key="doct">
<swiper-item style="border-radius:10px;" >
<image src="{{item.image}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" data-src="{{item.url}}" data-id="{{item.id}}" bindtap='bannerDetail' data-title="{{item.title}}" data-content="{{item.content}}"/>
... ...
... ... @@ -188,7 +188,7 @@ page{
width: 16rpx;
height: 16rpx;
border-radius: 50%;
margin-right: 26rpx;
margin: 0 14rpx;
background-color: #b9c0f7;
}
... ...
... ... @@ -51,7 +51,8 @@ Page({
t.data.followList.splice(indx, 1);
setTimeout(() => {
t.setData({
followList: t.data.followList
followList: t.data.followList,
ifData: t.data.followList.length > 0 ? true : false,
})
}, 1200)
})
... ...