更改静态资源host

This commit is contained in:
haomingming
2023-05-10 10:49:40 +08:00
parent 807698b89f
commit 7ef82dab29
51 changed files with 155 additions and 153 deletions
+21 -12
View File
@@ -52,28 +52,37 @@ Component({
items: [ ],
dialog_visible: false,
dialog_content: "",
usertype: "",
usertype: 2,
index_info: "",
wenzhen_info: "",
my_info: "",
next_url: "/Pages/yishi/identity/index",
info_inter: 0
},
ready() {
const usertype = wx.getStorageSync('usertype')
if (usertype == 3) {
lifetimes: {
attached(){
this.setData({
usertype: usertype,
items: this.data.listAll.list1
})
}else{
this.setData({
usertype: usertype,
usertype: 2,
items: this.data.listAll.list2
})
}
},
ready() {
const usertype = wx.getStorageSync('usertype')
if (usertype == 3) {
this.setData({
usertype: 3,
items: this.data.listAll.list1
})
}else{
this.setData({
usertype: 2,
items: this.data.listAll.list2
})
}
},
},
methods: {
startInterval(){
let _this = this;
+3 -3
View File
@@ -1,6 +1,6 @@
<van-tabbar active="{{ active }}" bind:change="onChange"
active-color="#3CC7C0" inactive-color="#999999" wx:if="{{usertype == 2}}" >
<van-tabbar active="{{ active }}" bind:change="onChange" z-index="9999"
active-color="#3CC7C0" inactive-color="#999999" wx:if="{{usertype != 3}}" >
<van-tabbar-item info="{{index_info}}" data-url="{{listAll.list2[0].pagePath}}" url="{{listAll.list2[0].pagePath}}">
<image
@@ -57,7 +57,7 @@ active-color="#3CC7C0" inactive-color="#999999" wx:if="{{usertype == 2}}" >
</van-tabbar-item>
</van-tabbar>
<van-tabbar active="{{ active }}" bind:change="onChange"
<van-tabbar active="{{ active }}" bind:change="onChange" z-index="9999"
active-color="#74A2FA" inactive-color="#999999" wx:if="{{usertype == 3}}" >
<van-tabbar-item info="{{my_info}}" data-url="{{listAll.list1[0].pagePath}}" url="{{listAll.list1[0].pagePath}}">
<image