diff --git a/pages/index/index.vue b/pages/index/index.vue index ae45320..d64ffe5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,65 +1,68 @@ - - - - - - - - - - - 关注了解更多 - + + + + + 我知道了 - - - - - - 我知道了 - - - - - - - - 请确认门店 - - - {{ currentPosition }} - - - 重新定位 - - - - 当前门店 - {{ nearestStore.store_name }} - {{ nearestStore.show_address }} - + + + + + 请确认门店 + - {{ nearestStore.distance > 1 ? nearestStore.distance + 'km' : nearestStore.distance * - 1000 + - 'm' }} + {{ currentPosition }} + + + 重新定位 + + + + 当前门店 + {{ nearestStore.store_name }} + {{ nearestStore.show_address }} + + + {{ nearestStore.distance > 1 ? nearestStore.distance + 'km' : + nearestStore.distance * + 1000 + + 'm' }} + + + + + 选择其他门店 + - - - 选择其他门店 - - - - + + + + + + + + + - - - - - - - diff --git a/pages_promotion/fenxiao/index.vue b/pages_promotion/fenxiao/index.vue index 14487e2..dc128d6 100644 --- a/pages_promotion/fenxiao/index.vue +++ b/pages_promotion/fenxiao/index.vue @@ -1,27 +1,33 @@ \ No newline at end of file diff --git a/pages_promotion/fenxiao/promote.vue b/pages_promotion/fenxiao/promote.vue index dc8c637..e634a8d 100644 --- a/pages_promotion/fenxiao/promote.vue +++ b/pages_promotion/fenxiao/promote.vue @@ -1,54 +1,58 @@ @@ -68,11 +72,11 @@ export default { isPay: 0, detailData: {}, templateId: '', - poster:'', + poster: '', }; }, onShow() { - setTimeout( () => { + setTimeout(() => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ title: '商家未开启分销', @@ -83,7 +87,7 @@ export default { this.$util.redirectTo('/pages/index/index'); }, 2000); } - },1000); + }, 1000); if (this.storeToken) { this.getTeam(); @@ -100,8 +104,8 @@ export default { this.getPoster(); }, methods: { - toPoster(){ - this.$util.redirectTo('/pages_promotion/fenxiao/promote_code', { poster: this.poster,templateId:this.templateId }) + toPoster() { + this.$util.redirectTo('/pages_promotion/fenxiao/promote_code', { poster: this.poster, templateId: this.templateId }) }, tabCut(index) { this.tabIndex = index; @@ -213,14 +217,17 @@ export default { background-color: #ff2d46; background-size: 100%; background-repeat: no-repeat; + .my-earnings, .activity-rules { background-color: #fff; border-radius: 30rpx; } + .my-earnings { margin-top: 230rpx; padding-bottom: 40rpx; + .earnings-head-wrap { background-color: #fff7f5; height: 160rpx; @@ -228,33 +235,40 @@ export default { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } + .earnings-head { position: relative; padding-top: 60rpx; display: flex; align-items: center; justify-content: center; + .name { position: absolute; width: 384rpx; height: 74rpx; top: -22rpx; } + .content { font-size: $font-size-tag; } + .money-bg { width: 80rpx; height: 80rpx; } + .money-text { margin: 0 6rpx; font-size: 40rpx; line-height: 1; } } + .earnings-body { padding: 0 30rpx; + .earnings-tab { display: flex; justify-content: space-around; @@ -263,9 +277,11 @@ export default { font-size: 30rpx; color: #e93224; margin-bottom: 10rpx; + text.active { position: relative; font-weight: bold; + &::after { position: absolute; content: ''; @@ -278,35 +294,43 @@ export default { } } } + .earnings-content-wrap { max-height: 440rpx; } + .earnings-item { display: flex; align-items: center; margin-bottom: 20rpx; + &:last-child { margin-bottom: 0; } + .item-img { width: 90rpx; height: 90rpx; margin-right: 20rpx; flex-shrink: 0; } + .item-time { font-size: $font-size-tag; color: $color-tip; } + .item-name { line-height: 1.3; } + .money { margin-left: auto; color: #f9b124; } } } + .earnings-empty { display: flex; align-items: center; @@ -315,10 +339,12 @@ export default { font-size: 30rpx; } } + .activity-rules { position: relative; margin-top: 60rpx; min-height: 300rpx; + .rules-name { position: absolute; width: 384rpx; @@ -327,9 +353,11 @@ export default { left: 50%; transform: translateX(-50%); } + .content { padding: 70rpx 20rpx 0; } + .rules-empty { padding-top: 140rpx; text-align: center; diff --git a/pages_tool/index/diy.vue b/pages_tool/index/diy.vue index 96d4250..fe93e58 100644 --- a/pages_tool/index/diy.vue +++ b/pages_tool/index/diy.vue @@ -1,94 +1,104 @@ \ No newline at end of file diff --git a/pages_tool/member/index.vue b/pages_tool/member/index.vue index 5f4c847..3a99b48 100644 --- a/pages_tool/member/index.vue +++ b/pages_tool/member/index.vue @@ -1,64 +1,66 @@