Browse Source

feat: 客服页面;

pull/1/head
Fox-33 1 month ago
parent
commit
a69223305b
6 changed files with 25 additions and 6 deletions
  1. +1
    -1
      pages_order/components/popupQrCode.vue
  2. +22
    -3
      pages_order/mine/service.vue
  3. +1
    -1
      pages_order/sharing/group.vue
  4. +1
    -1
      pages_order/sharing/personal.vue
  5. BIN
      static/image/center/temp-qrcode.png
  6. BIN
      static/image/center/temp-service.png

+ 1
- 1
pages_order/components/popupQrCode.vue View File

@ -7,7 +7,7 @@
> >
<view class="flex qr-popup"> <view class="flex qr-popup">
<text class="tips">长按识别二维码了解更多内容</text> <text class="tips">长按识别二维码了解更多内容</text>
<image class="qr" :src="src"></image>
<image class="qr" :src="src" :show-menu-by-longpress="true"></image>
</view> </view>
</uv-popup> </uv-popup>
</template> </template>


+ 22
- 3
pages_order/mine/service.vue View File

@ -1,7 +1,8 @@
<template> <template>
<view>
<view class="page">
<navbar title="客服" leftClick @leftClick="$utils.navigateBack" /> <navbar title="客服" leftClick @leftClick="$utils.navigateBack" />
<image class="bg" :src="imgurl" mode="scaleToFill" :show-menu-by-longpress="true"></image>
</view> </view>
</template> </template>
@ -9,10 +10,28 @@
export default { export default {
data() { data() {
return { return {
imgurl: null,
} }
}
},
onLoad() {
// todo: fetch imgurl
this.imgurl = '../../static/image/center/temp-service.png'
},
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.page {
width: 100vw;
height: 100vh;
position: relative;
overflow: hidden;
}
.bg {
width: 100vw;
height: calc(100vh - #{$navbar-height} - var(--status-bar-height) - 20rpx);
}
</style> </style>

+ 1
- 1
pages_order/sharing/group.vue View File

@ -11,7 +11,7 @@
</template> </template>
<view v-else class="group-info flex"> <view v-else class="group-info flex">
<text>扫一扫加群主审核进群</text> <text>扫一扫加群主审核进群</text>
<image class="qr" :src="detail.qrCode"></image>
<image class="qr" :src="detail.qrCode" :show-menu-by-longpress="true"></image>
</view> </view>
</view> </view>


+ 1
- 1
pages_order/sharing/personal.vue View File

@ -10,7 +10,7 @@
<button class="btn" type="success" @click="openPopup">添加</button> <button class="btn" type="success" @click="openPopup">添加</button>
</template> </template>
<template v-else> <template v-else>
<image class="qr" :src="detail.qrCode"></image>
<image class="qr" :src="detail.qrCode" :show-menu-by-longpress="true"></image>
</template> </template>
</view> </view>


BIN
static/image/center/temp-qrcode.png View File

Before After
Width: 316  |  Height: 316  |  Size: 8.6 KiB

BIN
static/image/center/temp-service.png View File

Before After
Width: 750  |  Height: 1444  |  Size: 510 KiB

Loading…
Cancel
Save