Browse Source

feat: bug修复;

pull/1/head
Fox-33 3 weeks ago
parent
commit
259ee99972
5 changed files with 27 additions and 18 deletions
  1. +5
    -10
      pages/index/center.vue
  2. +1
    -1
      pages_order/auth/wxLogin.vue
  3. +1
    -1
      pages_order/auth/wxUserInfo.vue
  4. +19
    -5
      pages_order/mine/service.vue
  5. +1
    -1
      pages_order/record/groupSharing.vue

+ 5
- 10
pages/index/center.vue View File

@ -59,14 +59,12 @@
</view>
<text>分享好友</text>
</view>
<!-- todo -->
<view class="tool" @click="onActivate">
<view class="tool-icon">
<image src="@/pages_order/static/center/tool-activate.png"></image>
</view>
<text>激活码</text>
</view>
<!-- todo -->
<view class="tool" @click="$utils.navigateTo('/pages_order/mine/wallet')">
<view class="tool-icon">
<image src="@/pages_order/static/center/tool-wallet.png"></image>
@ -126,9 +124,9 @@
</view>
</view>
<button plain class="btn-simple service" open-type="contact">
<image class="icon" src="@/pages_order/static/center/service.png" mode=""></image>
</button>
<view class="service" @click="$utils.navigateTo('/pages_order/mine/service')">
<image src="@/pages_order/static/center/service.png" mode=""></image>
</view>
<popupActivate ref="popupActivate"></popupActivate>
<popupSharing ref="popupSharing"></popupSharing>
@ -382,11 +380,8 @@
position: fixed;
right: 29rpx;
bottom: 312rpx;
.icon {
width: 149rpx;
height: 158rpx;
}
width: 149rpx;
height: 158rpx;
}
</style>

+ 1
- 1
pages_order/auth/wxLogin.vue View File

@ -66,7 +66,7 @@
}
},
computed: {
...mapState(['userInfo']),
...mapState(['configList'])
},
methods: {
wxLogin(){


+ 1
- 1
pages_order/auth/wxUserInfo.vue View File

@ -95,7 +95,7 @@
};
},
computed: {
...mapState(['userInfo']),
...mapState(['configList'])
},
onShow() {},
onLoad() {


+ 19
- 5
pages_order/mine/service.vue View File

@ -1,21 +1,25 @@
<template>
<view class="page">
<view class="page" :style="`background-image: url(${configList.codeImg}); background-size: contain;`">
<navbar title="客服" leftClick @leftClick="$utils.navigateBack" />
<image class="bg" :src="imgurl" mode="scaleToFill" :show-menu-by-longpress="true"></image>
<!-- todo -->
<image class="qr" :src="configList.index_huodong" :show-menu-by-longpress="true"></image>
</view>
</template>
<script>
import { mapState } from 'vuex'
export default {
data() {
return {
imgurl: null,
}
},
computed: {
...mapState(['configList'])
},
onLoad() {
// todo: fetch imgurl
this.imgurl = '../static/service/temp-service.png'
},
}
</script>
@ -34,4 +38,14 @@
width: 100vw;
height: calc(100vh - #{$navbar-height} - var(--status-bar-height) - 20rpx);
}
.qr {
position: absolute;
top: 854rpx;
left: 50%;
transform: translateX(-50%);
width: 316rpx;
height: 316rpx;
}
</style>

+ 1
- 1
pages_order/record/groupSharing.vue View File

@ -183,7 +183,7 @@
}
},
computed: {
...mapState(['userInfo']),
...mapState(['configList', 'userInfo']),
userId() {
return this.form.userId || this.userInfo?.id
},


Loading…
Cancel
Save