完善
This commit is contained in:
parent
8fed6b6369
commit
09ad65f676
|
@ -10,8 +10,7 @@
|
||||||
<view class="group_7 bianhao-top-yi">
|
<view class="group_7 bianhao-top-yi">
|
||||||
<view class="bianhao-zuo">
|
<view class="bianhao-zuo">
|
||||||
<view class="font_2">{{listdata.name}}</view>
|
<view class="font_2">{{listdata.name}}</view>
|
||||||
<view class=" justify-start self-start text-wrapper" style="background-color: red;"
|
<view class=" justify-start self-start text-wrapper" :id="listdata.status_text == '在线' ? 'text-wrapper-bgc1' : '<strong></strong>text-wrapper-bgc2'">
|
||||||
:id="listdata.status_text == '在线' ? 'text-wrapper-bgc1' : '<strong></strong>text-wrapper-bgc2'">
|
|
||||||
<view class="font_33">{{listdata.status_text}}</view>
|
<view class="font_33">{{listdata.status_text}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -184,7 +183,7 @@
|
||||||
style="width: 28.84rpx;height: 28rpx;">
|
style="width: 28.84rpx;height: 28rpx;">
|
||||||
<view>
|
<view>
|
||||||
<text class="font_5 text-l">当前</text>
|
<text class="font_5 text-l">当前</text>
|
||||||
<text class="self-start font_5 text_13">{{listdata.attendance_day}}次</text>
|
<text class="self-start font_5 text_13">{{listdata.attendance_day}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -798,15 +797,10 @@
|
||||||
if (option.scene) {
|
if (option.scene) {
|
||||||
let sceneValue = option.scene
|
let sceneValue = option.scene
|
||||||
let decodedValue = decodeURIComponent(sceneValue);
|
let decodedValue = decodeURIComponent(sceneValue);
|
||||||
|
console.log(decodedValue,'idValueidValue')
|
||||||
let idValue = decodedValue.split('=')[1]
|
let idValue = decodedValue.split('=')[1]
|
||||||
this.id = idValue
|
this.id = idValue
|
||||||
this.listDataFn()
|
this.listDataFn()
|
||||||
// console.log(this.user_id)
|
|
||||||
// if (wx.getStorageSync('user_id') != this.user_id) {
|
|
||||||
// uni.navigateTo({
|
|
||||||
// url: '/pagesFengXiang/pages/fengxiangDetailtwo/index?id=' + this.id
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
} else {
|
} else {
|
||||||
this.id = option.id
|
this.id = option.id
|
||||||
if (!wx.getStorageSync('userToken')) {
|
if (!wx.getStorageSync('userToken')) {
|
||||||
|
@ -816,7 +810,6 @@
|
||||||
} else {
|
} else {
|
||||||
this.listDataFn()
|
this.listDataFn()
|
||||||
// this.getServerDatas()
|
// this.getServerDatas()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -888,7 +881,11 @@
|
||||||
request.get('/api/beehive/detail/' + this.id, {}).then(res => {
|
request.get('/api/beehive/detail/' + this.id, {}).then(res => {
|
||||||
this.idss = res.data.data.id
|
this.idss = res.data.data.id
|
||||||
this.getServerDatas()
|
this.getServerDatas()
|
||||||
console.log(res);
|
if(res.user_id != wx.getStorageSync('userToken')){
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pagesFengXiang/pages/fengxiangDetailtwo/index?id=' + this.id
|
||||||
|
})
|
||||||
|
}
|
||||||
this.listdata = {
|
this.listdata = {
|
||||||
...res.data.data
|
...res.data.data
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,7 @@
|
||||||
<view class="group_7 bianhao-top-yi" >
|
<view class="group_7 bianhao-top-yi" >
|
||||||
<view class="bianhao-zuo">
|
<view class="bianhao-zuo">
|
||||||
<view class="font_2">{{listdata.name}}</view>
|
<view class="font_2">{{listdata.name}}</view>
|
||||||
<view class=" justify-start self-start text-wrapper"
|
<view class=" justify-start self-start text-wrapper" :id="listdata.status_text == '在线' ? 'text-wrapper-bgc1' : 'text-wrapper-bgc2'">
|
||||||
:id="listdata.status_text == '在线' ? 'text-wrapper-bgc1' : 'text-wrapper-bgc2'">
|
|
||||||
<view class="font_33">{{listdata.status_text}}</view>
|
<view class="font_33">{{listdata.status_text}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -187,7 +186,7 @@
|
||||||
<image class=" image_16" src="../../../static/e5e18447349367492c81f64ccec7ebcb.png" style="width: 28.84rpx;height: 28rpx;">
|
<image class=" image_16" src="../../../static/e5e18447349367492c81f64ccec7ebcb.png" style="width: 28.84rpx;height: 28rpx;">
|
||||||
<view>
|
<view>
|
||||||
<text class="font_5 text-l">当前</text>
|
<text class="font_5 text-l">当前</text>
|
||||||
<text class="self-start font_5 text_13">{{listdata.attendance_day}}次</text>
|
<text class="self-start font_5 text_13">{{listdata.attendance_day}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user