|
@@ -65,9 +65,9 @@
|
|
|
this.userId = resolve.userId ? resolve.userId : 0
|
|
|
this.shopId = resolve.shopId ? resolve.shopId : 0
|
|
|
this.userIdentity = resolve.userIdentity
|
|
|
- this.GetInstrumentPageData()
|
|
|
+ this.GetActivityFloorData()
|
|
|
}).catch(error =>{
|
|
|
- this.GetInstrumentPageData()
|
|
|
+ this.GetActivityFloorData()
|
|
|
})
|
|
|
setTimeout(()=>{
|
|
|
this.skeletonShow = false
|
|
@@ -78,16 +78,16 @@
|
|
|
},
|
|
|
methods:{
|
|
|
|
|
|
- GetInstrumentPageData(){//获取楼层数据
|
|
|
+ GetActivityFloorData(){//获取楼层数据
|
|
|
this.CommonService.GetActivityFloorData({pageId:this.pageId,userId:this.userId,source:2}).then(response =>{
|
|
|
let data = response.data
|
|
|
- console.log(data)
|
|
|
- uni.setNavigationBarTitle({title:data.page.title})
|
|
|
this.typeSort = data.page.typeSort
|
|
|
this.pageList = data.floorList
|
|
|
this.headImage = data.page.crmHeadImage
|
|
|
this.pageInfo = data.page
|
|
|
this.isRequest =true
|
|
|
+ uni.setStorageSync('pageLabel',`${data.page.contentLabel}`)
|
|
|
+ uni.setNavigationBarTitle({title:data.page.title})
|
|
|
// this.GetHomeInit()
|
|
|
}).catch(error =>{
|
|
|
this.$util.msg(error.msg,2000)
|