Sfoglia il codice sorgente

commit 用户行为记录

zhengjinyi 2 anni fa
parent
commit
fededff7b9

+ 2 - 1
pages/goods/good-floor-temp.vue

@@ -108,8 +108,9 @@ export default {
 			})
 				.then(response => {
 					let data = response.data
-					this.typeSort = data.page.typeSort
+					this.typeSort = data.typeSort
 					this.pageList = data.floorList
+					uni.setStorageSync('pageLabel',`${data.contentLabel}`)
 					this.GetHomeInit()
 				})
 				.catch(error => {

+ 1 - 0
pages/goods/good-floor.vue

@@ -75,6 +75,7 @@
 					let data = response.data
 					this.typeSort = data.typeSort
 					this.pageList = data.floorList
+					uni.setStorageSync('pageLabel',`${data.contentLabel}`)
 					this.GetHomeInit()
 				}).catch(error =>{
 					this.$util.msg(error.msg,2000)

+ 1 - 0
pages/goods/goods-instrument.vue

@@ -82,6 +82,7 @@
                     this.buttonLinkParam = page.linkParam
                     this.buttonLinkKeyword = page.keywords
                     uni.setNavigationBarTitle({title:page.title})
+					uni.setStorageSync('pageLabel',`${page.contentLabel}`)
 					this.skeletonShow = false
 				}).catch(error =>{
 					this.$util.msg(error.msg,2000)

+ 1 - 1
pages/goods/product.vue

@@ -911,7 +911,7 @@ export default {
 					//设置统计数据标签
 					uni.setStorageSync(
 						'pageLabel',
-						`${this.product.smallTypeName ? this.product.smallTypeName : ''}${
+						`${this.product.smallTypeName ? this.product.smallTypeName : ''}-${
 							this.product.brandName ? this.product.brandName : ''
 						}`
 					)

+ 5 - 5
pages/h5/activity/activity-topic.vue

@@ -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)

+ 1 - 0
pages/h5/activity/activity.vue

@@ -23,6 +23,7 @@
 		onLoad(option) {
 			console.log(option)
 			uni.setNavigationBarTitle({title:option.title});
+			uni.setStorageSync('pageLabel',`${option.title}`)
 			this.activityPath = option.link;
 		},
 		methods:{

+ 2 - 2
pages/h5/other/brands.vue

@@ -13,12 +13,12 @@
 	
 	export default{
 		data(){
-			return{
+			return{ 
 				isIphoneX:this.$store.state.isIphoneX,
 				isBannerHome:true,
 				isBannerOems:false,
 				image1:[
-					'https://static.caimei365.com/www/ppzs/1.png',
+					'https://static.caimei365.com/www/ppzs/1.jpg',
 				],
 				isScrollTop:false
 			} 

+ 1 - 1
services/config.env.js

@@ -5,7 +5,7 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.17:18002' //志国联调地址
     URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'
+    // URL_CONFIG = 'https://core.caimei365.com'  
 }else{
     // 生产环境
     // URL_CONFIG = 'https://core-b.caimei365.com'

+ 5 - 0
utils/router.config.js

@@ -9,5 +9,10 @@ export const includeList = [
     { url:'/pages/search/search', pageType:8},
     { url:'/pages/search/search-supplier', pageType:9 },
     { url:'/pages/goods/goods-classify', pageType:10 },
+    { url:'/pages/goods/good-floor', pageType:13 },
+    { url:'/pages/goods/goods-instrument', pageType:13 },
+    { url:'/pages/goods/good-floor-temp', pageType:13 },
+    { url:'/pages/h5/activity/activity', pageType:13 },
+    { url:'/pages/h5/activity/activity-topic', pageType:13 },
 ]