diff --git a/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue b/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue index 642a569..df1b617 100644 --- a/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue +++ b/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue @@ -4,7 +4,7 @@ {{item.title}} - + {{item.rate}} @@ -46,11 +46,10 @@ }, methods: { - gogogo(item) { - + uni.navigateTo({ - url:'/pages/goods_details/index?id='+item.product_id + url: '/pages/goods_details/index?id=' + item.product_id }) }, @@ -140,14 +139,14 @@ .relase-one { font-size: 26rpx; font-family: SF Pro Display-Regular Italic, SF Pro Display; - font-weight: normal; + font-weight: 600; color: #FF6D20; } .relase-two { font-size: 23rpx; font-family: PingFang SC-Regular, PingFang SC; - font-weight: 400; + font-weight: 500; color: #B3B3B3; margin-left: 13rpx; } @@ -158,15 +157,17 @@ margin-bottom: 10rpx; color: #F84221; font-size: 44rpx; - + font-weight: 600; span { color: #F84221; font-size: 30rpx; + font-weight: 500; } text { color: #F84221; - font-size: 37rpx; + font-size: 37rpx; + font-weight: 400; } } diff --git a/components/zbpSwiper.vue b/components/zbpSwiper.vue index 1d771c8..941ae5c 100644 --- a/components/zbpSwiper.vue +++ b/components/zbpSwiper.vue @@ -72,16 +72,16 @@ default: () => ({}) }, town: { - type:String, + type: String, default: false }, - + }, data() { return { defaInd: [0, 0], street: '', - + showPicker: false, styleConfig: [], columnData: [], @@ -101,12 +101,12 @@ } }, - watch:{ - street(nval,val) { - this.street=nval - } - }, - + watch: { + street(nval, val) { + this.street = nval + } + }, + created() { this.getBanner() @@ -115,11 +115,11 @@ }, mounted() { - uni.$on('add', (res)=> { - this.street=res.split(',')[0] + uni.$on('add', (res) => { + this.street = res.split(',')[0] }) this.$bus.$on('value-updated', (newValue) => { - // 更新父组件的值 + // 更新组件的值 this.street = newValue.split(',')[0] }); }, @@ -135,19 +135,25 @@ this.isSelectPlace ? this.showPicker = true : '' }, - + confirm(e) { this.showPicker = false this.$emit('selectPlce', e) this.$emit('change', e) this.street = e.value[1].name - - uni.$emit('add',e.value[1].name+','+e.value[1].code) - this.$bus.$emit('value-updated', - e.value[1].name + ',' + - e.value[1].code); - + // this.$nextTick(() => { + // uni.$emit('add', e.value[1].name + ',' + e.value[1].code) + // this.$bus.$emit('value-updated', + // e.value[1].name + ',' + + // e.value[1].code); + // }) + + uni.$emit('add', e.value[1].name + ',' + e.value[1].code) + this.$bus.$emit('value-updated', + e.value[1].name + ',' + + e.value[1].code); + }, changeHandler(e) { const { diff --git a/config/app.js b/config/app.js index 4fe8295..d98a31e 100644 --- a/config/app.js +++ b/config/app.js @@ -24,8 +24,8 @@ if (process.env.NODE_ENV === "development") { // httpApiThree = 'baseUrlTest' // h5跨域配置 // #endif } else if (process.env.NODE_ENV === 'production') { - // httpApi = 'https://shop.lihaink.cn' // 生产 - httpApi = "https://crmeb-test.shop.lihaink.cn" + httpApi = 'https://shop.lihaink.cn' // 生产 + // httpApi = "https://crmeb-test.shop.lihaink.cn" httpApiTwo = 'https://nk.lihaink.cn' // 生产 httpApiThree = 'http://ceshi-oa.lihaink.cn' //生产 } diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 4758916..8308fc7 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -1,18 +1,19 @@