Browse Source

feat: bug修复;

pull/1/head
Fox-33 3 weeks ago
parent
commit
2bfa0d5d36
7 changed files with 22 additions and 10 deletions
  1. +1
    -2
      components/center/popupActivate.vue
  2. +5
    -2
      pages_order/mine/service.vue
  3. +4
    -3
      pages_order/record/articleSharing.vue
  4. +4
    -1
      pages_order/record/groupSharing.vue
  5. +4
    -1
      pages_order/record/personalSharing.vue
  6. +4
    -1
      pages_order/record/videoSharing.vue
  7. BIN
      pages_order/static/center/not-agent.png

+ 1
- 2
components/center/popupActivate.vue View File

@ -37,8 +37,7 @@
></uv-input>
</template>
<template v-else>
<!-- todo: 缺切图 "你还不是代理商" -->
<image class="popup-bg" src=""></image>
<image class="popup-bg" src="@/pages_order/static/center/not-agent.png"></image>
<view class="flex popup-btns">
<button plain class="btn-simple" @click="close">
<image class="popup-btn" src="@/pages_order/static/center/cancel.png"></image>


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

@ -1,5 +1,5 @@
<template>
<view class="page" :style="`background-image: url(${configList.codeImg}); background-size: contain;`">
<view class="page" :style="bgStyle">
<navbar title="客服" leftClick @leftClick="$utils.navigateBack" />
<!-- todo -->
@ -17,7 +17,10 @@
}
},
computed: {
...mapState(['configList'])
...mapState(['configList']),
bgStyle() {
return `background-image: url(${ this.configList.codeImg}); background-size: contain;`
}
},
onLoad() {
},


+ 4
- 3
pages_order/record/articleSharing.vue View File

@ -309,9 +309,6 @@
await this.$refs.form.validate()
const textDetails = (await this.getEditorContents())?.html
// todo: decode?
console.log(textDetails)
const {
headImage,
@ -329,6 +326,10 @@
wxCodeImage,
textDetails,
}
if (this.id) {
params.id = this.id
}
await this.$fetch('saveOrUpdateArticleShare', params)


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

@ -263,7 +263,6 @@
} = this.form
const params = {
id: this.id,
userId: this.userId,
headImage,
headTitle,
@ -272,6 +271,10 @@
num,
wxCodeImage,
}
if (this.id) {
params.id = this.id
}
await this.$fetch('saveOrUpdateGroupShare', params)


+ 4
- 1
pages_order/record/personalSharing.vue View File

@ -275,7 +275,6 @@
} = this.form
const params = {
id: this.id,
userId: this.userId,
headImage,
headTitle,
@ -284,6 +283,10 @@
wxCodeImage,
textDetails,
}
if (this.id) {
params.id = this.id
}
await this.$fetch('saveOrUpdateShare', params)


+ 4
- 1
pages_order/record/videoSharing.vue View File

@ -263,7 +263,6 @@
} = this.form
const params = {
id: this.id,
headTitle,
indexImage,
vio,
@ -272,6 +271,10 @@
wxCodeImage,
textDetails,
}
if (this.id) {
params.id = this.id
}
await this.$fetch('saveOrUpdateVideoShare', params)


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

Before After
Width: 1156  |  Height: 633  |  Size: 115 KiB

Loading…
Cancel
Save