null
This commit is contained in:
parent
580f9e1d9e
commit
69a4517bb5
@ -284,6 +284,10 @@ export default {
|
||||
delMessage({ type }) {
|
||||
return vm.$u.post('/message/readMessage', { type });
|
||||
},
|
||||
// 已读消息
|
||||
refreshToken({ }) {
|
||||
return vm.$u.post('/Auth/refreshToken', { });
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
@ -12,9 +12,7 @@
|
||||
<view v-if="type" class="welcome_jumpes" @click="leap_over">跳过{{remaining}}</view>
|
||||
<view v-if="banner" class="welcome_jumpes" @click="leap_overto">跳过</view>
|
||||
<!-- 轮播图 -->
|
||||
<view class="uni-padding-wrap" v-if="banner" style="height:300rpx">
|
||||
{{'ddd' + heightOut}}
|
||||
111
|
||||
<view class="uni-padding-wrap" v-if="banner" >
|
||||
<view>
|
||||
<view class="uni-padding-wrap">
|
||||
<view class="page-section swiper">
|
||||
@ -24,7 +22,7 @@
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image :src=" 'https://' + item.launch_path"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
@ -199,10 +197,19 @@
|
||||
},
|
||||
durationChange(e) {
|
||||
this.duration = e.target.value
|
||||
},
|
||||
refreshToken_function(){
|
||||
this.$u.api.refreshToken({}).then((res) => {
|
||||
console.log(res)
|
||||
if (res.errCode == 0) {
|
||||
let token = res.data.token;
|
||||
uni.setStorageSync('token', token);//存储toke值
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.refreshToken_function()
|
||||
// 3秒倒计时调用
|
||||
this.remaining_time()
|
||||
this.apiwelcome()
|
||||
@ -215,14 +222,14 @@
|
||||
// height: 400rpx;
|
||||
}
|
||||
.welcome_jumpes {
|
||||
width: 90rpx;
|
||||
height: 35rpx;
|
||||
width: 94rpx;
|
||||
height: 36rpx;
|
||||
opacity: 0.5;
|
||||
border-radius: 18rpx;
|
||||
position: absolute;
|
||||
right: 37rpx;
|
||||
top: 34rpx;
|
||||
font-size: 20rpx;
|
||||
top: 66rpx;
|
||||
font-size: 22rpx;
|
||||
text-align: center;
|
||||
line-height: 35rpx;
|
||||
color: #fff;
|
||||
|
Loading…
Reference in New Issue
Block a user