Browse Source

feat: 切图更新;

pull/1/head
Fox-33 1 month ago
parent
commit
f377c72652
28 changed files with 35 additions and 32 deletions
  1. +6
    -6
      components/center/popupActivate.vue
  2. +4
    -1
      manifest.json
  3. +15
    -15
      pages/index/center.vue
  4. +1
    -1
      pages_order/mine/service.vue
  5. +1
    -1
      pages_order/mine/sharing.vue
  6. +6
    -6
      pages_order/mine/team.vue
  7. +1
    -1
      pages_order/mine/wallet.vue
  8. +1
    -1
      pages_order/sharing/personal.vue
  9. BIN
      pages_order/static/center/activate-code.png
  10. BIN
      pages_order/static/center/activate.png
  11. BIN
      pages_order/static/center/agent-icon.png
  12. BIN
      pages_order/static/center/btn-activate-again.png
  13. BIN
      pages_order/static/center/btn-activate.png
  14. BIN
      pages_order/static/center/cancel.png
  15. BIN
      pages_order/static/center/confirm.png
  16. BIN
      pages_order/static/center/notice.png
  17. BIN
      pages_order/static/center/play.png
  18. BIN
      pages_order/static/center/service.png
  19. BIN
      pages_order/static/center/temp-qrcode.png
  20. BIN
      pages_order/static/center/temp.png
  21. BIN
      pages_order/static/center/tool-activate.png
  22. BIN
      pages_order/static/center/tool-share.png
  23. BIN
      pages_order/static/center/tool-team.png
  24. BIN
      pages_order/static/center/tool-wallet.png
  25. BIN
      pages_order/static/center/tools-bg.png
  26. +0
    -0
      pages_order/static/service/temp-service.png
  27. BIN
      static/image/center/temp-avatar.png
  28. BIN
      static/image/center/temp-share.png

+ 6
- 6
components/center/popupActivate.vue View File

@ -8,14 +8,14 @@
>
<view class="flex content">
<template v-if="mode === 'activate'">
<image class="popup-bg" src="@/static/image/center/activate-code.png"></image>
<image class="popup-bg" src="@/pages_order/static/center/activate-code.png"></image>
<view class="flex popup-btns">
<button plain class="btn-simple" @click="close">
<image class="popup-btn" src="@/static/image/center/cancel.png"></image>
<image class="popup-btn" src="@/pages_order/static/center/cancel.png"></image>
</button>
<button plain class="btn-simple" @click="onConfirm">
<image class="popup-btn" src="@/static/image/center/confirm.png"></image>
<image class="popup-btn" src="@/pages_order/static/center/confirm.png"></image>
</button>
</view>
@ -38,13 +38,13 @@
</template>
<template v-else>
<!-- todo: 切换切图 "你还不是代理商" -->
<image class="popup-bg" src="@/static/image/center/activate-code.png"></image>
<image class="popup-bg" src="@/pages_order/static/center/activate-code.png"></image>
<view class="flex popup-btns">
<button plain class="btn-simple" @click="close">
<image class="popup-btn" src="@/static/image/center/cancel.png"></image>
<image class="popup-btn" src="@/pages_order/static/center/cancel.png"></image>
</button>
<button plain class="btn-simple" @click="mode = 'activate'" >
<image class="popup-btn" src="@/static/image/center/activate.png"></image>
<image class="popup-btn" src="@/pages_order/static/center/activate.png"></image>
</button>
</view>
</template>


+ 4
- 1
manifest.json View File

@ -52,11 +52,14 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wx77ba4c7131677a74",
"appid" : "wxd5cca7e5d85a116c",
"setting" : {
"urlCheck" : false,
"minified" : true
},
"optimization": {
"subPackages": true
},
"usingComponents" : true,
"permission" : {
"scope.userLocation" : {


+ 15
- 15
pages/index/center.vue View File

@ -6,7 +6,7 @@
<view class="head">
<view class="headImage">
<!-- todo: 换回接口提供的 -->
<image src="@/static/image/center/temp-avatar.png" mode=""></image>
<image src="https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video" mode=""></image>
</view>
<view class="info">
<view class="name">
@ -20,7 +20,7 @@
<text>12345678</text>
</view>
<view v-if="isAgent" style="display: inline-block; width: 172rpx; height: 63rpx; vertical-align: top; margin-top: -6rpx;">
<image src="@/static/image/center/agent-icon.png"></image>
<image src="@/pages_order/static/center/agent-icon.png"></image>
</view>
<view v-else class="tag">
普通会员
@ -33,7 +33,7 @@
</view>
<view class="tools-box">
<image class="tools-bg" src="@/static/image/center/tools-bg.png"></image>
<image class="tools-bg" src="@/pages_order/static/center/tools-bg.png"></image>
<view class="flex activate">
<template v-if="isAgent">
<view class="activate-tips" style="padding-left: 27rpx;">
@ -43,7 +43,7 @@
</view>
</view>
<view class="btn-activate" @click="onActivate">
<image src="@/static/image/center/btn-activate-again.png"></image>
<image src="@/pages_order/static/center/btn-activate-again.png"></image>
</view>
</template>
<template v-else>
@ -51,32 +51,32 @@
升级成为代理商享受更多权益
</view>
<view class="btn-activate" @click="onActivate">
<image src="@/static/image/center/btn-activate.png"></image>
<image src="@/pages_order/static/center/btn-activate.png"></image>
</view>
</template>
</view>
<view class="tools flex">
<view class="tool" @click="$utils.navigateTo('/pages_order/mine/sharing')">
<view class="tool-icon">
<image src="@/static/image/center/tool-share.png"></image>
<image src="@/pages_order/static/center/tool-share.png"></image>
</view>
<text>分享好友</text>
</view>
<view class="tool" @click="onActivate">
<view class="tool-icon">
<image src="@/static/image/center/tool-activate.png"></image>
<image src="@/pages_order/static/center/tool-activate.png"></image>
</view>
<text>激活码</text>
</view>
<view class="tool" @click="$utils.navigateTo('/pages_order/mine/wallet')">
<view class="tool-icon">
<image src="@/static/image/center/tool-wallet.png"></image>
<image src="@/pages_order/static/center/tool-wallet.png"></image>
</view>
<text>我的钱包</text>
</view>
<view class="tool" @click="$utils.navigateTo('/pages_order/mine/team')">
<view class="tool-icon">
<image src="@/static/image/center/tool-team.png"></image>
<image src="@/pages_order/static/center/tool-team.png"></image>
</view>
<text>我的团队</text>
</view>
@ -86,7 +86,7 @@
<view class="content">
<view class="card notice">
<view class="notice-icon">
<image src="@/static/image/center/notice.png"></image>
<image src="@/pages_order/static/center/notice.png"></image>
</view>
<uv-notice-bar
:text="notice"
@ -128,7 +128,7 @@
</view>
<view class="service" @click="$utils.navigateTo('/pages_order/mine/service')">
<image src="@/static/image/center/service.png" mode=""></image>
<image src="@/pages_order/static/center/service.png" mode=""></image>
</view>
<popupActivate ref="popupActivate"></popupActivate>
@ -168,7 +168,7 @@
updateList: [
{
id: '001',
imageUrl: '../../static/image/center/temp.png',
imageUrl: '../../pages_order/static/center/temp.png',
times: 10,
qrCode: null,
title: '裂变星轻松获客',
@ -179,7 +179,7 @@
},
{
id: '002',
imageUrl: '../../static/image/center/temp.png',
imageUrl: '../../pages_order/static/center/temp.png',
times: 10,
qrCode: null,
title: '裂变星轻松获客',
@ -190,7 +190,7 @@
},
{
id: '003',
imageUrl: '../../static/image/center/temp.png',
imageUrl: '../../pages_order/static/center/temp.png',
times: 10,
qrCode: null,
title: '裂变星轻松获客',
@ -201,7 +201,7 @@
},
{
id: '004',
imageUrl: '../../static/image/center/temp.png',
imageUrl: '../../pages_order/static/center/temp.png',
times: 10,
qrCode: null,
title: '裂变星轻松获客',


+ 1
- 1
pages_order/mine/service.vue View File

@ -15,7 +15,7 @@
},
onLoad() {
// todo: fetch imgurl
this.imgurl = '../../static/image/center/temp-service.png'
this.imgurl = '../static/service/temp-service.png'
},
}
</script>


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

@ -21,7 +21,7 @@
},
onLoad() {
// todo: fetch imgurl
this.imgurl = '../../static/image/center/temp-share.png'
this.imgurl = 'https://thumbnail0.baidupcs.com/thumbnail/e197d6114s94f565050bdb6183d0f342?fid=3983569511-250528-62736802919901&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-SVTG9Opgq1cgWFL%2Fl97Up9GXZgo%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765779362428703473&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video'
},
methods: {
saveImg(){


+ 6
- 6
pages_order/mine/team.vue View File

@ -7,7 +7,7 @@
<view class="title">我的推荐人</view>
<view class="card flex referrer">
<!-- todo: 换回接口提供的 -->
<image class="avatar" src="../static/temp-avatar.png"></image>
<image class="avatar" src="https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video"></image>
<view class="referrer-info">
<view>
<view class="nick-name">裂变星1号</view>
@ -124,7 +124,7 @@
records: [
{
id: '001',
avatarUrl: '../static/temp-avatar.png',
avatarUrl: 'https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
nickName: '裂变星1号',
roleName: '普通会员',
createDate: '2025年2月15日',
@ -132,7 +132,7 @@
},
{
id: '002',
avatarUrl: '../static/temp-avatar.png',
avatarUrl: 'https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
nickName: '裂变星1号',
roleName: '代理商',
createDate: '2025年2月15日',
@ -140,7 +140,7 @@
},
{
id: '003',
avatarUrl: '../static/temp-avatar.png',
avatarUrl: 'https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
nickName: '裂变星1号',
roleName: '普通会员',
createDate: '2025年2月15日',
@ -148,7 +148,7 @@
},
{
id: '004',
avatarUrl: '../static/temp-avatar.png',
avatarUrl: 'https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
nickName: '裂变星1号',
roleName: '代理商',
createDate: '2025年2月15日',
@ -156,7 +156,7 @@
},
{
id: '005',
avatarUrl: '../static/temp-avatar.png',
avatarUrl: 'https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
nickName: '裂变星1号',
roleName: '普通会员',
createDate: '2025年2月15日',


+ 1
- 1
pages_order/mine/wallet.vue View File

@ -9,7 +9,7 @@
<view class="overview-info">
<view class="flex user-info">
<!-- todo: 换回接口提供的 -->
<image class="avatar" src="../static/temp-avatar.png"></image>
<image class="avatar" src="https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video"></image>
<!-- todo: 换回接口提供的 -->
<text class="nick-name">裂变星1号</text>
</view>


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

@ -74,7 +74,7 @@
this.detail = {
id: '001',
avatarUrl: '../static/temp-avatar.png',
avatarUrl: 'https://thumbnail0.baidupcs.com/thumbnail/a4166d65fm1072cc3d763d59df8feb8a?fid=3983569511-250528-247083465710867&time=1742544000&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-8%2Bjq3Cl0GcBe8y3JIzmmJnNofiY%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8765802821729992500&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
nickName: '裂变星官方指导客服',
imageUrl: 'http://gips3.baidu.com/it/u=70459541,3412285454&fm=3028&app=3028&f=JPEG&fmt=auto?w=960&h=1280',
times: 10,


BIN
pages_order/static/center/activate-code.png View File

Before After
Width: 1028  |  Height: 710  |  Size: 102 KiB

BIN
pages_order/static/center/activate.png View File

Before After
Width: 530  |  Height: 168  |  Size: 12 KiB

BIN
pages_order/static/center/agent-icon.png View File

Before After
Width: 344  |  Height: 126  |  Size: 27 KiB

BIN
pages_order/static/center/btn-activate-again.png View File

Before After
Width: 344  |  Height: 160  |  Size: 22 KiB

BIN
pages_order/static/center/btn-activate.png View File

Before After
Width: 344  |  Height: 160  |  Size: 20 KiB

BIN
pages_order/static/center/cancel.png View File

Before After
Width: 265  |  Height: 84  |  Size: 3.6 KiB

BIN
pages_order/static/center/confirm.png View File

Before After
Width: 530  |  Height: 168  |  Size: 8.6 KiB

BIN
pages_order/static/center/notice.png View File

Before After
Width: 98  |  Height: 90  |  Size: 3.7 KiB

BIN
pages_order/static/center/play.png View File

Before After
Width: 194  |  Height: 194  |  Size: 5.5 KiB

BIN
pages_order/static/center/service.png View File

Before After
Width: 298  |  Height: 316  |  Size: 62 KiB

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

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

BIN
pages_order/static/center/temp.png View File

Before After
Width: 673  |  Height: 252  |  Size: 138 KiB

BIN
pages_order/static/center/tool-activate.png View File

Before After
Width: 176  |  Height: 176  |  Size: 6.0 KiB

BIN
pages_order/static/center/tool-share.png View File

Before After
Width: 176  |  Height: 176  |  Size: 5.9 KiB

BIN
pages_order/static/center/tool-team.png View File

Before After
Width: 176  |  Height: 176  |  Size: 5.8 KiB

BIN
pages_order/static/center/tool-wallet.png View File

Before After
Width: 176  |  Height: 176  |  Size: 4.1 KiB

BIN
pages_order/static/center/tools-bg.png View File

Before After
Width: 1480  |  Height: 812  |  Size: 146 KiB

static/image/center/temp-service.png → pages_order/static/service/temp-service.png View File


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

Before After
Width: 143  |  Height: 143  |  Size: 40 KiB

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

Before After
Width: 598  |  Height: 1063  |  Size: 436 KiB

Loading…
Cancel
Save