diff --git a/App.vue b/App.vue index 21622b4..ac80fbe 100644 --- a/App.vue +++ b/App.vue @@ -19,5 +19,6 @@ min-height: 100vh; background-color: #f5f5f5; } + .colorff0{color: #FF0000;} /*每个页面公共css */ diff --git a/component/pageHead.vue b/component/pageHead.vue index 86771ef..9fd08cb 100644 --- a/component/pageHead.vue +++ b/component/pageHead.vue @@ -70,16 +70,21 @@ this.customBar=customBar+100+"rpx" - - console.log( this.customBar) uni.setStorageSync('customBar',customBar+100); - } }) }, methods: { navigateBackFun(){ - uni.navigateBack() + // uni.navigateBack() + uni.navigateBack({ + delta:1, + success: (res) => {},fail: (err) => { + uni.reLaunch({ + url:'/pages/index/index' + }) + } + }) }, diff --git a/pages/classify/classify.vue b/pages/classify/classify.vue index ef5e647..8f8952e 100644 --- a/pages/classify/classify.vue +++ b/pages/classify/classify.vue @@ -12,14 +12,11 @@ - - - {{item.title}} - - - - + + + {{item.title}} + + @@ -39,7 +36,7 @@ - 会员价:¥{{item.vip_price}} + 会员价:¥{{item.vip_price}} @@ -74,7 +71,8 @@ is_home: 0, }, ifMember:false, - ifMemberPrice:false + ifMemberPrice:false, + windowWidth:uni.getSystemInfoSync().screenWidth - 80 } }, onLoad() { @@ -204,7 +202,13 @@