优化导航线条显示问题、优化积分记录里的签到问题

master
chen 2022-08-04 16:20:32 +08:00
parent 35dad8f61c
commit 9e8da1f284
3 changed files with 10 additions and 6 deletions

View File

@ -6,11 +6,11 @@
<view class="bbot pad-s30 pad-x20 tcenter fon28 bold col26">{{tipsTitle}}</view> <view class="bbot pad-s30 pad-x20 tcenter fon28 bold col26">{{tipsTitle}}</view>
<view class="fon22 col26 disjcac fc mar-sx30" v-if="showType==1"> <view class="fon22 col26 disjcac fc mar-sx30" v-if="showType==1">
<view class="disac" style="width: 60%;"> <view class="disac" style="width: 60%;">
<view class="" style="width: 120rpx;">物流公司</view> <view class="flexs" style="width: 120rpx;">物流公司</view>
<view class="">京东物流</view> <view class="">京东物流</view>
</view> </view>
<view class="disac mar-s20" style="width: 60%;"> <view class="disac mar-s20" style="width: 60%;">
<view class="" style="width: 120rpx;">物流单号</view> <view class="flexs" style="width: 120rpx;">物流单号</view>
<view class="">JD123456767899</view> <view class="">JD123456767899</view>
</view> </view>
</view> </view>

View File

@ -12,7 +12,7 @@
</view> </view>
</view> </view>
<!-- 下划线 --> <!-- 下划线 -->
<view class="tab__line" <view v-if="showline" class="tab__line"
:style="{background: lineColor, width: lineStyle.width, transform: lineStyle.transform,transitionDuration: lineStyle.transitionDuration}"> :style="{background: lineColor, width: lineStyle.width, transform: lineStyle.transform,transitionDuration: lineStyle.transitionDuration}">
</view> </view>
</scroll-view> </scroll-view>
@ -62,7 +62,8 @@
tabsScrollLeft: 0, tabsScrollLeft: 0,
duration: 0.3, duration: 0.3,
between:true, between:true,
customPadding:false customPadding:false,
showline:false
} }
}, },
computed: { computed: {
@ -88,6 +89,9 @@
this.duration = 0 this.duration = 0
} }
console.log(this.$scopedSlots) console.log(this.$scopedSlots)
setTimeout(()=>{
this.showline = true;
},300)
}, },
methods: { methods: {
select(item, index) { select(item, index) {

View File

@ -5,9 +5,9 @@
<view class="posi-sticky boxshow2" :style="{top:newtop+'px'}" style="margin-top: -20rpx;"> <view class="posi-sticky boxshow2" :style="{top:newtop+'px'}" style="margin-top: -20rpx;">
<view class="bbot disjbac pad-zy40 pad-sx30"> <view class="bbot disjbac pad-zy40 pad-sx30">
<view class="fon26">积分6548</view> <view class="fon26">积分6548</view>
<view class="disac pad-zy12 pad-sx8 radius6" style="border: 2rpx solid #adadad;"> <view class="disac pad-zy12 pad-sx8 radius6" @tap="$toolAll.tools.goPage('/pagesA/my-sign/my-sign')" style="border: 2rpx solid #adadad;">
<image src="/static/tabbar/icon-score-rili.png" mode="" style="width: 24rpx;height: 24rpx;" lazy-load></image> <image src="/static/tabbar/icon-score-rili.png" mode="" style="width: 24rpx;height: 24rpx;" lazy-load></image>
<view class="fon24 mar-z10" style="color: #adadad;" @tap="$toolAll.tools.goPage('/pagesA/my-sign/my-sign')"></view> <view class="fon24 mar-z10" style="color: #adadad;"></view>
</view> </view>
</view> </view>
<swiper-tab id="tab" :ifBetween="false" :ifPadding="true" :list="tabList" v-model="current" @changeEv="clickTab" :itemColor="'#e42417'" :lineColor="'#e42417'"></swiper-tab> <swiper-tab id="tab" :ifBetween="false" :ifPadding="true" :list="tabList" v-model="current" @changeEv="clickTab" :itemColor="'#e42417'" :lineColor="'#e42417'"></swiper-tab>