-
-
售价管理
-
供货价格:3.5元/篇
+
+
+
-
-
+
+
+
+
+
起售价格(选填)
+
超过设定字符,按照正常售价收取
+
+
+
+
+
+
+ 用户需支付
+
+
+
+
+
+
+
+
+
+ 重置
+ 保存
+
+
+
+
+
+
+
+
+ {{ serviceAddInfo.shop_name }}支付管理
+
+
+
+
+
+
+
+
+
起售价格(选填)
+
超过设定字符,按照正常售价收取
+
+
+
+
+
+
+ 用户需支付
+
+
+
+
+
+
+
+
+
+ 重置
+ 保存
-
@@ -43,6 +197,9 @@
import GuipButton from "@/components/GuipButton.vue";
import GuipInput from "@/components/GuipInput.vue";
import GuipSelect from "@/components/GuipSelect.vue";
+import bindGoods from "@/components/bindGoods.vue";
+import GuipDialog from "@/components/GuipDialog.vue";
+import PromptText from "@/components/PromptText.vue";
export default {
name: 'priceSet',
@@ -55,92 +212,241 @@ export default {
components: {
GuipSelect,
GuipInput,
- GuipButton
+ GuipButton,
+ PromptText,
+ bindGoods,
+ GuipDialog
},
data(){
return {
token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI2NDY1NDUsIm5iZiI6MTc1MjY0NjU0NSwiZXhwIjoxNzU1MjM4NTQ1LCJ1c2VyIjoic3VidXNlciIsImxvZ2luX3R5cGUiOjAsImFpZCI6IjEifQ.G-Is-x9qPMiV_urOlDPQVRjfAIozySxL5EK2k82d46k',
info:{},
- //添加按钮样式
- saveBtnStyleObj: {
- width: '144px',
- height: '46px',
- borderRadius: '4px',
- background: '#006AFF',
- },
- options: [{
- value: '选项1',
- label1: '黄金hhhhhh',
- id1: '1',
- id2: '啊11哈哈',
- label: '黄金糕'
- }, {
- value: '选项2',
- id1: '12',
- id2: '啊22哈哈',
- label1: '双皮奶hhhhhhhhh',
- label: '双皮奶'
- }, {
- value: '选项3',
- id1: '13',
- id2: '啊33哈哈',
- label1: '蚵仔煎hhhhhhhhh',
- label: '蚵仔煎'
- }, {
- value: '选项4',
- id1: '14',
- id2: '啊444哈哈',
- label1: '双皮奶hhhhhhhhh',
- label: '龙须面'
- }, {
- value: '选项5',
- id1: '155',
- id2: '啊55哈哈',
- label1: '双皮奶hhhhhhhhh',
- label: '北京烤鸭'
- }],
- form: {
- username: '',
- language: '',
- domain_set: '',
- domainSuffix: '11',
- domainSuffix1: '.chachongz.com',
- card: '1',
- input1: '跨年的烟火,绽放天空',
- input2: '',
- input3: '',
- },
+ uid: 0,
+ type: 0,
+ serviceAddInfo:{},
+ service_unit:'',
+ bindList: [],
+ showBind: false,
+ pati: '',
+ pageCode: '',
+ dialogDelBindConfim: false,
}
},
mounted() {
this.info = JSON.parse(JSON.stringify(this.serviceInfo))
+ if(Object.keys(this.info).length>0){
+ this.uid = this.info.uid
+ this.type = this.info.type
+ this.getServiceAddInfo()
+ this.getServiceBindGoods()
+ }
},
methods:{
- saveConfirm() {
- let obj = {}
- obj.uid = this.info.uid
- obj.type = this.info.type
- obj.logo_bgcolor = this.tabColor.replace('#','')
- obj.link_btn_color = this.themeColor.replace('#','')
- obj.selected_nav_bgcolor = this.navColor.replace('#','')
-
+ //获得要添加的服务信息
+ getServiceAddInfo() {
+ const that = this
+ that.$http('POST', '/agentnew/ajax_get_service_add_info', {
+ uid: that.uid,
+ type: that.type,
+ }, {
+ headers: {
+ 'Auth': this.token
+ }
+ }).then(response => {
+ if (response.status) {
+ that.$nextTick(() => {
+ that.serviceAddInfo = response.data
+ that.service_unit = that.serviceAddInfo.unit
+ //拼多多渠道查询商品所需参数初始化
+ if (that.serviceAddInfo.shop_name === '拼多多') this.initPddParam(that.uid)
+ })
+ return true
+ }
+ that.$message.error(response.info);
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
+ //查询绑定的宝贝
+ getServiceBindGoods() {
const that = this
- this.$http('POST', '/agentnew/ajax_update_service_style', obj,{
- headers:{
+ that.$http('POST', '/agentnew/ajax_get_service_bind_goods', {
+ uid: that.uid,
+ type: that.type,
+ }, {
+ headers: {
'Auth': this.token
}
}).then(response => {
- if(response.status){
+ if (response.status && response.data) {
+ that.$nextTick(() => {
+ that.bindList = response.data
+ })
+ }
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
+ handleUnitName(){
+ this.serviceAddInfo.unit_name = this.serviceAddInfo.set_units[this.service_unit]
+ },
+ resetPrice() {
+ this.info.price = ''
+ this.info.unit_num = ''
+ this.info.b_unit_price = ''
+ this.info.b_unit_num = ''
+ },
+ savePrice() {
+ const that = this
+ //非字符计费
+ if(that.service_unit !== '0') {
+ that.info.unit_num = 1
+ that.info.base_unit_num = ''
+ that.info.base_unit_price = ''
+ }
+ this.$http('POST', "/agentnew/ajax_set_service_price", {
+ uid: that.uid,
+ type: that.type,
+ unit: that.service_unit,
+ unit_num: that.info.unit_num,
+ unit_price: that.info.price,
+ b_unit_num: that.info.base_unit_num,
+ b_unit_price: that.info.base_unit_price,
+ }, {
+ headers: {
+ 'Auth': this.token
+ }
+ }).then(response => {
+ if (response.status) {
that.$message.success('保存成功');
+ return true;
+ }
+ that.$message.error(response.info);
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
+ resetShopPrice() {
+ this.info.unit_piece = ''
+ this.info.unit_num = ''
+ this.info.b_unit_piece = ''
+ this.info.b_unit_num = ''
+ },
+ saveShopPrice() {
+ const that = this
+ //非字符计费 单位默认为 1
+ //非字符计费
+ if(that.service_unit !== '0') {
+ that.info.unit_num = 1
+ that.info.base_unit_num = ''
+ that.info.base_unit_piece = ''
+ }
+ this.$http('POST', "/agentnew/ajax_set_service_price", {
+ uid: that.uid,
+ type: that.type,
+ unit: that.service_unit,
+ unit_num: that.info.unit_num,
+ unit_piece: that.info.unit_piece,
+ b_unit_num: that.info.base_unit_num,
+ b_unit_piece: that.info.base_unit_piece,
+ }, {
+ headers: {
+ 'Auth': this.token
+ }
+ }).then(response => {
+ if (response.status) {
+ that.$message.success('保存成功');
+ return true;
+ }
+ that.$message.error(response.info);
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
+ //------绑定相关 start------
+ bindGoods() {
+ this.showBind = true
+ },
+ handleBind(bindRes) {
+ this.showBind = false
+ if (bindRes) this.getServiceBindGoods()
+ },
+ async getPddPageCode(uid) {
+ const that = this
+ return await that.$http('POST', '/agentnew/ajax_get_pdd_page_code', {
+ uid: uid,
+ }, {
+ headers: {
+ 'Auth': this.token
+ }
+ }).then(response => {
+ return response.data
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
+ async initPddParam(uid) {
+ if (typeof window.PDD_OPEN_init === 'function') {
+ this.pageCode = await this.getPddPageCode(uid)
- let color_info = {}
- color_info.logo_bgcolor = obj.logo_bgcolor
- color_info.link_btn_color = obj.link_btn_color
- color_info.selected_nav_bgcolor = obj.selected_nav_bgcolor
- that.info.color_info = color_info
-
- that.$emit('saveEvent', that.info)
+ await window.PDD_OPEN_init({ code: this.pageCode })
+ this.pati = await window.PDD_OPEN_getPati()
+ } else {
+ console.error('PDD_OPEN_init 不存在,SDK 未正确加载');
+ }
+ },
+ handleDelBindClick(row, index) {
+ this.dialogDelBindConfim = true
+ this.delRow.index = index
+ this.delRow.row = row
+ },
+ handleDelBindCancel() {
+ this.dialogDelBindConfim = false
+ },
+ handleDelBindConfirm() {
+ const that = this
+ this.dialogDelBindConfim = false
+ this.$http('POST', '/agentnew/ajax_del_bind_service_goods', {
+ uid: that.uid,
+ type: that.type,
+ numiid: that.delRow.row.num_iid,
+ skuid: that.delRow.row.sku_id,
+ paytype: that.delRow.row.pay_type,
+ }, {
+ headers: {
+ 'Auth': this.token
+ }
+ }).then(response => {
+ if (response.status) {
+ that.$message.success('删除成功');
+ this.$nextTick(() => {
+ that.bindList.splice(that.delRow.index, 1);
+ })
+ return true;
+ }
+ that.$message.error(response.info);
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
+ handleDefaultConfirm(id) {
+ const that = this
+ this.$http('POST', '/agentnew/ajax_default_bind_setting', {
+ uid: that.uid,
+ type: that.type,
+ id: id,
+ }, {
+ headers: {
+ 'Auth': this.token
+ }
+ }).then(response => {
+ if (response.status) {
+ that.$message.success('设置成功');
+ that.bindList.forEach((item) => {
+ item.is_default = '0'
+ if (item.id === id) item.is_default = '1'
+ });
return true;
}
that.$message.error(response.info);
@@ -148,27 +454,126 @@ export default {
console.error(error, 'error')
})
},
+ //------绑定相关 end------
}
}
\ No newline at end of file
From e68776c9c0c1aa45494e4b2b681fba2dd0f40618 Mon Sep 17 00:00:00 2001
From: rainbro <33367671@qq.com>
Date: Tue, 22 Jul 2025 16:54:12 +0800
Subject: [PATCH 05/12] =?UTF-8?q?=E4=BE=9B=E8=B4=A7=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 10 +
src/views/agent/home.vue | 24 +-
src/views/agent/supplyList.vue | 501 +++++++++++++++++++++++++++++------------
3 files changed, 386 insertions(+), 149 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 040489d..31d23dc 100755
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -52,6 +52,16 @@ const routes = [{
}
},
{
+ path: '/agent/supplyList',
+ name: '首页',
+ component: () => import( /* webpackChunkName: "register" */ '../views/agent/supplyList.vue'),
+ isFirst: true, //是否属于一级路由
+ meta: {
+ title: '首页', //面包屑名称(此页面确认不需要放置在面包屑可以不添加此属性;如果获取不到title 会自动 获取 name 作为面包屑名称)
+ hideBreadcrumb: true // 是否隐藏面包屑
+ }
+ },
+ {
path: '/register',
name: 'register',
// this generates a separate chunk (about.[hash].js) for this route
diff --git a/src/views/agent/home.vue b/src/views/agent/home.vue
index de9657f..c46e606 100644
--- a/src/views/agent/home.vue
+++ b/src/views/agent/home.vue
@@ -57,18 +57,18 @@
供货价格
-
+
-
![]()
-
{{ classification_name }}
+
![]()
+
{{ classifyId2Name[classify_id] }}
详情
-
-
{{ veritem.name }}
-
+
+
{{ ver2info[verid].name }}
+
{{ type2name[type] }}
{{ supplyPriceList[type].price }}元 / {{ supplyPriceList[type].unit_format }}
@@ -158,8 +158,10 @@ export default {
// 表格加载
tableLoading: true,
type2name:[],
- serviceClassifications: [],
- serviceClassificationServices: [],
+ classifyId2Name: [],
+ classifyId2Vers: [],
+ ver2types: [],
+ ver2info: [],
supplyPriceList: [],
serviceList: [],
@@ -231,9 +233,11 @@ export default {
this.tableLoading = false
this.$nextTick(() => {
that.serviceList = response.data.list
+ this.classifyId2Name = response.data.classifyid2name;
+ this.classifyId2Vers = response.data.classifyid2vers;
+ this.ver2types = response.data.ver2types;
+ this.ver2info = response.data.ver2info;
this.type2name = response.data.type2name;
- this.serviceClassifications = response.data.service_classification;
- this.serviceClassificationServices = response.data.service_classification_services;
this.supplyPriceList = response.data.supply_price;
})
}).catch(error => {
diff --git a/src/views/agent/supplyList.vue b/src/views/agent/supplyList.vue
index 25bbb3f..3fcaebf 100644
--- a/src/views/agent/supplyList.vue
+++ b/src/views/agent/supplyList.vue
@@ -3,24 +3,53 @@
-
-
+
+
+
{{ classifyId2Name[classify_id] }}
+
+
+
+
-
-
-
-
站点信息
-
-
-
+
+
+
+
![]()
+
{{ ver2info[verid].name }}
+
官方接口
+
{{ salePolicy[ver2info[verid].sale_policy] }}
+
{{ salePolicy[ver2info[verid].sale_policy] }}
+
{{ salePolicy[ver2info[verid].sale_policy] }}
+
+
{{ ver2info[verid].desc }}
+
+
+
{{ type2name[type] }}
+
+
+
+ {{ type2info[type].introduce }}
+
+
+
+
¥{{ supplyPriceList[type].price }} / {{ supplyPriceList[type].unit_format }}
-
-
+
+
+
+
+
+ {{ ver2info[verid].desc }}
+
+
+
¥{{ supplyPriceList[ver2types[verid][0]].price }} / {{ supplyPriceList[ver2types[verid][0]].unit_format }}
-
+
@@ -30,6 +59,7 @@
import store from '@/store';
import { mapState } from 'vuex';
import PromptText from '@/components/PromptText.vue';
+import GuipToolTip from '@/components/GuipToolTip.vue';
export default {
// 站点设置
@@ -37,17 +67,20 @@ export default {
props: [''],
components: {
PromptText,
+ GuipToolTip,
},
data() {
return {
// AUTH
token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI2NDY1NDUsIm5iZiI6MTc1MjY0NjU0NSwiZXhwIjoxNzU1MjM4NTQ1LCJ1c2VyIjoic3VidXNlciIsImxvZ2luX3R5cGUiOjAsImFpZCI6IjEifQ.G-Is-x9qPMiV_urOlDPQVRjfAIozySxL5EK2k82d46k',
- // 表格加载
- tableLoading: true,
type2name:[],
- serviceClassifications: [],
- serviceClassificationServices: [],
+ classifyId2Name: [],
+ classifyId2Vers: [],
+ ver2types: [],
+ ver2info: [],
+ type2info: [],
supplyPriceList: [],
+ salePolicy: [],
}
},
computed: {
@@ -60,38 +93,39 @@ export default {
mounted() {
store.commit('SET_PAGETITLE', '基本设置');
- this.getSiteInfo();
- this.getPayList();
- this.getAddablePays();
+ this.getSupplyServiceList();
},
methods: {
- // 获取可添加的收款方式
+ scrollToAnchor(ver) {
+ this.$nextTick(() => {
+ const element = document.getElementById('ver_'+ver);
+ if (element) {
+ element.scrollIntoView({ behavior: 'smooth' });
+ }
+ });
+ },
getSupplyServiceList() {
+ this.$http('POST', '/agentnew/ajax_get_supply_services', {
- this.tableLoading = true
- const that = this
- that.serviceList = []
- this.$http('POST', '/agentnew/ajax_get_supply_services', {
-
- },{
- headers:{
- 'Auth': this.token
- }
- }).then(response => {
- this.tableLoading = false
- this.$nextTick(() => {
- that.serviceList = response.data.list
- this.type2name = response.data.type2name;
- this.serviceClassifications = response.data.service_classification;
- this.serviceClassificationServices = response.data.service_classification_services;
- this.supplyPriceList = response.data.supply_price;
- console.log(this.supplyPriceList[2].price)
- console.log(this.supplyPriceList[2].unit_format)
- })
- }).catch(error => {
- console.error(error, 'error')
+ },{
+ headers:{
+ 'Auth': this.token
+ }
+ }).then(response => {
+ this.$nextTick(() => {
+ this.classifyId2Name = response.data.classifyid2name;
+ this.classifyId2Vers = response.data.classifyid2vers;
+ this.ver2types = response.data.ver2types;
+ this.ver2info = response.data.ver2info;
+ this.type2name = response.data.type2name;
+ this.type2info = response.data.type2info;
+ this.supplyPriceList = response.data.supply_price;
+ this.salePolicy = response.data.sale_policy;
})
- },
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
}
}
@@ -100,129 +134,318 @@ export default {
padding: 20px 48px;
}
-.pageheader {
+.classify {
display: flex;
- justify-content: space-between;
- /* 关键属性 */
- align-items: center;
- margin: 16px 0px 16px 0px;
+ margin-bottom: 20px;
+ margin-top: 20px;
}
-.pagetitle {
+.classify-title {
+ font-family: Microsoft YaHei UI;
+ font-size: 20px;
+ font-weight: bold;
+ line-height: 26px;
+ letter-spacing: 0.08em;
+ color: #1E2226;
+}
+
+.ver-wrap {
+ width: 100%;
+ /* 自动布局 */
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ z-index: 0;
+ background: #FFFFFF;
+ margin-bottom: 10px;
+}
+.ver {
+ padding: 20px;
+}
+.ver-title-wrap {
+ height: 30px;
+ /* 自动布局 */
+ display: flex;
+ justify-content: space-flex-start;
+ align-items: center;
+ padding: 0px;
+ align-self: stretch;
+ z-index: 0;
+}
+.ver-title {
+ /* body/body 1_bold */
+ font-family: Microsoft YaHei UI;
font-size: 16px;
font-weight: bold;
line-height: normal;
+ text-align: justify; /* 浏览器可能不支持 */
letter-spacing: 0.08em;
+ /* text/text_1 */
color: #1E2226;
- margin-top: 8px;
}
-.siteMessage {
+.ver-icon {
+ height: 30px;
+ width: 30px;
+}
+
+.ver-anchor-point {
+ /* 自动布局子元素 */
+ height: 28px;
+ /* 自动布局 */
+ display: flex;
+ align-items: center;
+ padding: 4px 10px;
+ gap: 4px;
+ z-index: 0;
+ border-radius: 100px;
+ /* text/text_white_1 */
+ background: #FFFFFF;
+ box-sizing: border-box;
+ /* main/main_stardard */
+}
+.ver-anchor-point:hover {
+ border: 1px solid #006AFF;
+}
+.anchor {
+ text-decoration: none;
+ /* body/body 2_regular */
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: justify; /* 浏览器可能不支持 */
+ letter-spacing: 0.08em;
+ /* text/text_4 */
+ color: #8A9099;
+}
+
+.ver-desc {
+ /* body/body 2_regular */
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: justify; /* 浏览器可能不支持 */
+ letter-spacing: 0.08em;
+ color: #8A8C99;
+ margin-top: 10px;
+ margin-bottom: 20px;
+}
+
+.ver-single {
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ //text-align: justify; /* 浏览器可能不支持 */
+ letter-spacing: 0.08em;
+ color: #8A8C99;
+ margin-top: 10px;
+}
+
+.ver-single-desc {
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: justify; /* 浏览器可能不支持 */
+ letter-spacing: 0.08em;
+ color: #8A8C99;
+ width: 600px;
+ height: 18px;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.ver-services-wrap {
+ width: 100%;
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
+ justify-items: flex-start;
+ gap: 14px 14px;
+
+ padding: 0px;
+}
+
+.ver-service {
+ width: 270px;
border-radius: 4px;
- transition: all .5s;
- border: 1px solid transparent;
+ background: #FFFFFF;
+ box-sizing: border-box;
+ /* middle/middle_line_1 */
+ border: 1px solid #DFE2E6;
+ padding: 14px 10px;
+ display: flex;
+ flex-direction: column;
}
-.combo-formItem {
- ::v-deep {
- .form-item-bottom {
- position: relative;
- }
- .select-trigger {
- background: #F6F7FA;
- border-color: transparent;
- }
+.service-title {
+ /* body/body 2_regular */
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: justify; /* 浏览器可能不支持 */
+ letter-spacing: 0.08em;
+ /* text/text_1 */
+ color: #1E2226;
+ height: 18px;
+}
- .is-open .select-trigger {
- border-color: #006AFF;
- }
+.service-desc {
+ font-family: Microsoft YaHei UI;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 17px;
+ text-align: justify; /* 浏览器可能不支持 */
+ letter-spacing: 0.03em;
+ /* text/text_4 */
+ color: #8A9099;
+ margin-top: 14px;
+ margin-bottom: 14px;
+ flex: 1;
+ height:34px;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
- .el-input__inner {
- border-radius: 2px 0 0 2px;
- }
- }
- .self-drop-wrap {
- position: absolute;
- z-index: 1;
- width: 100%;
- }
- .appendDrop {
- height: 38px;
- align-items: center;
- border-radius: 0 2px 2px 0;
- border: 1px solid #DFE2E6;
- border-left-color: transparent;
- justify-content: center;
- box-sizing: border-box;
- padding: 0 30px 0 12px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- &:hover {
- border: 1px solid #006AFF;
- }
- }
+.service-price {
+ /* 自动布局子元素 */
+ height: 20px;
+ /* 自动布局 */
+ display: flex;
+ align-items: flex-end;
+ padding: 0px;
+ gap: 2px;
+ z-index: 1;
+}
+.price {
+ font-family: Microsoft YaHei UI;
+ font-size: 20px;
+ font-weight: normal;
+ line-height: 20px;
+ text-align: center;
+ letter-spacing: normal;
+ /* text/text_1 */
+ color: #1E2226;
}
-.addStore {
- margin-top: 12px;
- // border-radius: 4px;
- // opacity: 1;
- // /* text/text_white_2 */
- // border: 1px dashed #BABDC2;
- // padding: 15px 20px;
- // color: #626573;
- // justify-content: center;
- // img {
- // margin-right: 12px;
- // }
+.unit {
+ font-family: Microsoft YaHei UI;
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 16px;
+ text-align: right;
+ letter-spacing: 0.08em;
+ /* text/text_4 */
+ color: #8A9099;
}
+.status-item {
+ height: 22px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 6px;
+ z-index: 0;
+ padding: 2px 10px;
+ border-radius: 4px;
-.site-setting-wrap {
- width: 100%;
+}
- .siteMessage5_desc {
- border-radius: 4px;
- /* middle/middle_blue_1 */
- background: #F2F7FF;
- /* middle/middle_blue_3 */
- border: 1px solid #BFDAFF;
- padding: 8px 13px;
- margin-bottom: 32px;
-
- img {
- margin-right: 8px;
- }
+.divgreen {
+ background: rgba(239, 255, 224, 0.5);
+ box-sizing: border-box;
+ border: 1px solid rgba(0, 194, 97, 0.6);
+}
- }
+.fontgreen {
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: center;
+ letter-spacing: 0.08em;
+ color: #0DAF49;
+}
+
+.divblue {
+ background: #F2F7FF;
+ box-sizing: border-box;
+ border: 1px solid #BFDAFF;
+}
+
+.fontblue {
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: center;
+ letter-spacing: 0.08em;
+ color: #006AFF;
+}
+
+.divred {
+ background: #FFF1F0;
+ box-sizing: border-box;
+ border: 1px solid #FFA39E;
+}
+
+.fontred {
+ font-family: Microsoft YaHei UI;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ text-align: center;
+ letter-spacing: 0.08em;
+ color: #FF4D4F;
}
-#siteMessage2 {
- margin: 12px 0;
+.divgray {
+ background: #F6F7FA;
+ box-sizing: border-box;
+ border: 1px solid #DFE2E6;
}
-.domain-wrap {
- .domain-item {
- margin-bottom: 10px;
- }
+.fontgray {
+ color: #626573;
+}
+.divorange {
+ background: #FFFBF2;
+ box-sizing: border-box;
+ border: 1px solid rgba(251, 131, 45, 0.38);
+}
- .domain-item p:last-child {
- padding-left: 23px;
- color: #8A9099;
- }
+.fontorange {
+ color: #FB832D;
+}
- p {
- text-align: left;
- line-height: 18px;
- margin-bottom: 8px;
- }
+.divpurple {
+ background: #F9F2FF;
+ box-sizing: border-box;
+ border: 1px solid rgba(126, 118, 253, 0.28);
+}
+
+.fontpurple {
+ color: #6258FF;
+}
- .domain-box {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- }
+.mr-8 {
+ margin-right: 8px;
+}
+.mr-12 {
+ margin-right: 12px;
+}
+.mr-20 {
+ margin-right: 20px;
}
\ No newline at end of file
From ac5c282eb3bebf7ae10d46b0a38a0e4a96a21ac5 Mon Sep 17 00:00:00 2001
From: pengda <1111@qq.com>
Date: Tue, 22 Jul 2025 17:03:22 +0800
Subject: [PATCH 06/12] =?UTF-8?q?=E6=94=B6=E6=AC=BE=E6=96=B9=E5=BC=8F?=
=?UTF-8?q?=E8=A7=A3=E7=BB=91=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/site/addSiteStep/step2.vue | 38 ++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 13 deletions(-)
diff --git a/src/components/site/addSiteStep/step2.vue b/src/components/site/addSiteStep/step2.vue
index d4eea0e..af0e356 100644
--- a/src/components/site/addSiteStep/step2.vue
+++ b/src/components/site/addSiteStep/step2.vue
@@ -499,37 +499,49 @@ export default {
})
},
changeSelectWeixin(item) {
+ if(this.bindWxpayId === item.payid){
+ this.bindWxpayId = 0
+ this.selectWxpay = null
+ return true
+ }
this.bindWxpayId = item.payid;
this.selectWxpay = item;
- console.log(this.bindWxpayId, 'bindWxpayId');
- console.log(this.selectWxpay, 'selectWxpay');
-
- this.selectedItem = { ...item };
- console.log(this.selectedItem, 'this.selectedItem====');
},
changeSelectAlipay(item) {
+ if(this.bindAlipayId === item.payid){
+ this.bindAlipayId = 0
+ this.selectAlipay = null
+ return true
+ }
this.bindAlipayId = item.payid;
this.selectAlipay = item;
-
- this.selectedItem = { ...item };
},
changeSelectTaobao(item) {
+ if(this.bindTaobaoId === item.payid){
+ this.bindTaobaoId = 0
+ this.selectTaobao = null
+ return true
+ }
this.bindTaobaoId = item.payid;
this.selectTaobao = item;
-
- this.selectedItem = { ...item };
},
changeSelectJindong(item) {
+ if(this.bindJdId === item.payid){
+ this.bindJdId = 0
+ this.selectJd = null
+ return true
+ }
this.bindJdId = item.payid;
this.selectJd = item;
-
- this.selectedItem = { ...item };
},
changeSelectPdd(item) {
+ if(this.bindPddId === item.payid){
+ this.bindPddId = 0
+ this.selectPdd = null
+ return true
+ }
this.bindPddId = item.payid;
this.selectPdd = item;
-
- this.selectedItem = { ...item };
},
goBindPay(type) {
this.addPayType = type;
From 3b5bbed39aa7b99cff4a26a1bb94bdd900dde067 Mon Sep 17 00:00:00 2001
From: pengda <1111@qq.com>
Date: Tue, 22 Jul 2025 17:29:41 +0800
Subject: [PATCH 07/12] =?UTF-8?q?=E6=8B=BC=E5=A4=9A=E5=A4=9A=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/bindGoods.vue | 3 ++-
src/components/site/addSiteStep/step2.vue | 9 +++++----
src/views/agent/siteServiceAdd.vue | 12 ++++++------
3 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/components/bindGoods.vue b/src/components/bindGoods.vue
index 2903ffb..1305a8e 100644
--- a/src/components/bindGoods.vue
+++ b/src/components/bindGoods.vue
@@ -102,7 +102,8 @@ export default {
item.selected = false
if(item.skus){
Object.entries(item.skus).forEach(([key, val]) => {
- item.skus[key] = `${val.title} ¥${val.price}`;
+ item.skus[key] = val.title
+ if(val.price) item.skus[key] = `${val.title} ¥${val.price}`;
});
}
});
diff --git a/src/components/site/addSiteStep/step2.vue b/src/components/site/addSiteStep/step2.vue
index af0e356..87fb03d 100644
--- a/src/components/site/addSiteStep/step2.vue
+++ b/src/components/site/addSiteStep/step2.vue
@@ -157,7 +157,7 @@
-
+
店铺授权
@@ -548,9 +548,10 @@ export default {
this.isShowAddPay = true;
this.authToken = this.token;
},
- handleEvent() {
- this.getPayList()
- this.getAddablePays()
+ handleEvent(data) {
+ this.isShowAddPay = data
+ // this.getPayList()
+ // this.getAddablePays()
},
jumpStep(){
this.$router.push('/')
diff --git a/src/views/agent/siteServiceAdd.vue b/src/views/agent/siteServiceAdd.vue
index c7dd44f..b8f167f 100644
--- a/src/views/agent/siteServiceAdd.vue
+++ b/src/views/agent/siteServiceAdd.vue
@@ -208,7 +208,7 @@
-
@@ -268,8 +268,8 @@ export default {
menuList: {},
siteAddUrl: '/agent/siteAdd',
showBind: false,
- pati: '',
- pageCode: '',
+ pdd_pati: '',
+ pdd_pagecode: '',
dialogDelBindConfim: false,
delRow: {},
dialogDelServiceConfim: false,
@@ -554,10 +554,10 @@ export default {
},
async initPddParam(uid) {
if (typeof window.PDD_OPEN_init === 'function') {
- this.pageCode = await this.getPddPageCode(uid)
+ this.pdd_pagecode = await this.getPddPageCode(uid)
- await window.PDD_OPEN_init({ code: this.pageCode })
- this.pati = await window.PDD_OPEN_getPati()
+ await window.PDD_OPEN_init({ code: this.pdd_pagecode })
+ this.pdd_pati = await window.PDD_OPEN_getPati()
} else {
console.error('PDD_OPEN_init 不存在,SDK 未正确加载');
}
From 8eb7986316b5ca5796359b7ac8b7dd343812b17c Mon Sep 17 00:00:00 2001
From: pengda <1111@qq.com>
Date: Tue, 22 Jul 2025 17:43:49 +0800
Subject: [PATCH 08/12] =?UTF-8?q?=E6=8B=BC=E5=A4=9A=E5=A4=9A=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/site/addSiteStep/step2.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/site/addSiteStep/step2.vue b/src/components/site/addSiteStep/step2.vue
index 87fb03d..16da867 100644
--- a/src/components/site/addSiteStep/step2.vue
+++ b/src/components/site/addSiteStep/step2.vue
@@ -28,7 +28,7 @@
:options="taobaoList" :options_null="!taobaoList.length">
- {{ selectTaobao.short_name }} {{ selectTaobao.account }}
+ {{ selectTaobao.short_name }} {{ selectTaobao.account }}
暂无收款账号,稍后配置
未绑定店铺
@@ -176,7 +176,7 @@
:options="pddList" :options_null="!pddList.length">
- {{ selectPdd.short_name }} {{ selectPdd.account }}
+ {{ selectPdd.short_name }} {{ selectPdd.account }}
暂无收款账号,稍后配置
未绑定拼多多店铺
@@ -235,7 +235,7 @@
:options="jdList" :options_null="!jdList.length">
- {{ selectJd.short_name }} {{ selectJd.account }}
+ {{ selectJd.short_name }} {{ selectJd.account }}
暂无收款账号,稍后配置
未绑定京东店铺
From 7698e9e89384e0fbbaa43dfdfb4748f0034a8e58 Mon Sep 17 00:00:00 2001
From: rainbro <33367671@qq.com>
Date: Tue, 22 Jul 2025 17:48:05 +0800
Subject: [PATCH 09/12] =?UTF-8?q?=E7=AB=99=E7=82=B9=E7=BB=91=E5=AE=9A?=
=?UTF-8?q?=E6=94=B6=E6=AC=BE=E6=96=B9=E5=BC=8F=E4=BC=98=E5=8C=96=E5=B9=B6?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A7=A3=E7=BB=91=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/agent/siteBaseSetting.vue | 222 ++++++++++--------------------------
1 file changed, 59 insertions(+), 163 deletions(-)
diff --git a/src/views/agent/siteBaseSetting.vue b/src/views/agent/siteBaseSetting.vue
index b7cde36..be9e2d6 100644
--- a/src/views/agent/siteBaseSetting.vue
+++ b/src/views/agent/siteBaseSetting.vue
@@ -73,18 +73,21 @@
+
-
+
{{ selectWxpay.short_name }} {{ selectWxpay.account }}
- 请选择
+ 暂无收款账号,稍后配置
+ 未绑定微信收款
+
@@ -111,28 +114,6 @@
-
-
-
- {{ selectWxpay.short_name }} {{ selectWxpay.account }}
- 请选择
-
-
-
-
-
绑定新微信收款
-
需要使用您公司的微信支付
-
需在微信商户平台-产品中心开通Native支付
-
-
- 前往绑定
-
-
-
-
@@ -140,12 +121,12 @@
-
+
{{ selectAlipay.short_name }} {{ selectAlipay.account }}
- 请选择
+ 暂无收款账号,稍后配置
+ 未绑定支付宝收款
@@ -172,38 +153,22 @@
-
-
- {{ selectAlipay.short_name }} {{ selectAlipay.account }}
- 请选择
-
-
-
-
-
绑定新支付宝收款
-
需要使用您公司的支付宝支付
-
需在支付宝商户平台-产品中心开通Native支付
-
-
- 前往绑定
-
-
-
-
+
+
-
+ :options_null="!jdList.length"
+ @change="changeSelectJindong" >
{{ selectJd.short_name }} {{ selectJd.account }}
- 请选择
+ 暂无收款账号,稍后配置
+ 未绑定京东店铺
@@ -230,42 +195,25 @@
-
-
-
- {{ selectJd.short_name }} {{ selectJd.account }}
- 请选择
-
-
-
-
-
绑定新京东店铺
-
如未购买"快乐论文检测服务"服务或已过期,会跳转到购买服务页面。
-
-
- 前往绑定
-
-
-
-
+
+
-
+ :options_null="!taobaoList.length"
+ @change="changeSelectTaobao" >
{{ selectTaobao.short_name }} {{ selectTaobao.account }}
- 请选择
+ 暂无收款账号,稍后配置
+ 未绑定店铺
@@ -292,39 +240,22 @@
-
-
-
- {{ selectTaobao.short_name }} {{ selectTaobao.account }}
- 请选择
-
-
-
-
-
绑定新淘宝/天猫店铺
-
如未购买"快乐帮手"服务或已过期,会跳转到购买服务页面
-
-
- 前往绑定
-
-
-
-
+
+
-
+ :options_null="!pddList.length"
+ @change="changeSelectPdd" >
{{ selectPdd.short_name }} {{ selectPdd.account }}
- 请选择
+ 暂无收款账号,稍后配置
+ 未绑定拼多多店铺
@@ -351,27 +282,6 @@
-
-
-
- {{ selectPdd.short_name }} {{ selectPdd.account }}
- 请选择
-
-
-
-
-
绑定新拼多多店铺
-
如未购买"快乐帮手"服务或已过期,会跳转到购买服务页面。
-
-
- 前往绑定
-
-
-
-
@@ -478,9 +388,6 @@ export default {
domainTypes: [],
domainPrefix: '',
siteDomain: '',
-
- options_weixin_null: {},
- select_placeholder_weixin: '暂无收款账号,稍后配置',
}
},
computed: {
@@ -688,63 +595,52 @@ export default {
cancleUpdateSiteInfo() {
this.getSiteInfo();
},
- changeNormalWeixin() {
-
- },
- changeSelectWeixin(item, flag) {
- if (flag) {
- this.select_placeholder_weixin = this.options_weixin_null.desc;
- return
+ changeSelectWeixin(item) {
+ console.log(item, 'item')
+ if(this.bindWxpayId === item.payid){
+ this.bindWxpayId = 0
+ this.selectWxpay = null
+ return true
}
+
this.bindWxpayId = item.payid;
this.selectWxpay = item;
- console.log(this.bindWxpayId, 'bindWxpayId');
- console.log(this.selectWxpay, 'selectWxpay');
-
- this.selectedItem = { ...item };
- console.log(this.selectedItem, 'this.selectedItem====');
},
- changeSelectAlipay(item, flag) {
- if (flag) {
- this.select_placeholder_weixin = this.options_weixin_null.desc;
- return
+ changeSelectAlipay(item) {
+ if(this.bindAlipayId === item.payid){
+ this.bindAlipayId = 0
+ this.selectAlipay = null
+ return true
}
this.bindAlipayId = item.payid;
this.selectAlipay = item;
- console.log(this.bindWxpayId, 'bindWxpayId');
-
- this.selectedItem = { ...item };
- console.log(this.selectedItem, 'this.selectedItem====');
},
- changeSelectTaobao(item, flag) {
- if (flag) {
- this.select_placeholder_weixin = this.options_weixin_null.desc;
- return
+ changeSelectTaobao(item) {
+ if(this.bindTaobaoId === item.payid){
+ this.bindTaobaoId = 0
+ this.selectTaobao = null
+ return true
}
this.bindTaobaoId = item.payid;
this.selectTaobao = item;
-
- this.selectedItem = { ...item };
},
- changeSelectJindong(item, flag) {
- if (flag) {
- this.select_placeholder_weixin = this.options_weixin_null.desc;
- return
+ changeSelectJindong(item) {
+ if(this.bindJdId === item.payid){
+ this.bindJdId = 0
+ this.selectJd = null
+ return true
}
this.bindJdId = item.payid;
this.selectJd = item;
-
- this.selectedItem = { ...item };
},
- changeSelectPdd(item, flag) {
- if (flag) {
- this.select_placeholder_weixin = this.options_weixin_null.desc;
- return
+ changeSelectPdd(item) {
+ if(this.bindPddId === item.payid){
+ this.bindPddId = 0
+ this.selectPdd = null
+ return true
}
this.bindPddId = item.payid;
this.selectPdd = item;
-
- this.selectedItem = { ...item };
},
// 销售渠道
domainTypeChange(type) {
From 5c99ae3e6e5c92ba6af4fea207894d973f2ee6b5 Mon Sep 17 00:00:00 2001
From: rainbro <33367671@qq.com>
Date: Tue, 22 Jul 2025 18:04:55 +0800
Subject: [PATCH 10/12] =?UTF-8?q?=E4=BE=9B=E8=B4=A7=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E9=97=B4=E8=B7=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/agent/home.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/agent/home.vue b/src/views/agent/home.vue
index c46e606..e28714a 100644
--- a/src/views/agent/home.vue
+++ b/src/views/agent/home.vue
@@ -67,7 +67,8 @@
-
{{ ver2info[verid].name }}
+
{{ ver2info[verid].name }}
+
{{ type2name[type] }}
{{ supplyPriceList[type].price }}元 / {{ supplyPriceList[type].unit_format }}
@@ -512,8 +513,12 @@ a {
}
}
- .item-list {
+ .mt-16 {
margin-top: 16px;
+ }
+
+ .item-list {
+ // margin-top: 16px;
text-align: left;
line-height: 18px;
From a54f1523b6750ff0a4e62e97f8a29ba742b289ff Mon Sep 17 00:00:00 2001
From: pengda <1111@qq.com>
Date: Tue, 22 Jul 2025 18:05:48 +0800
Subject: [PATCH 11/12] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=B6=88=E6=81=AF?=
=?UTF-8?q?=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/home/notice_1.png | Bin 0 -> 711 bytes
src/assets/home/notice_2.png | Bin 0 -> 727 bytes
src/assets/home/notice_3.png | Bin 0 -> 1539 bytes
src/assets/home/notice_4.png | Bin 0 -> 695 bytes
src/assets/home/notice_5.png | Bin 0 -> 538 bytes
src/assets/home/notice_tag_1.png | Bin 0 -> 528 bytes
src/assets/home/notice_tag_2.png | Bin 0 -> 601 bytes
src/views/agent/home.vue | 25 +++++++++++++++++++++----
8 files changed, 21 insertions(+), 4 deletions(-)
create mode 100644 src/assets/home/notice_1.png
create mode 100644 src/assets/home/notice_2.png
create mode 100644 src/assets/home/notice_3.png
create mode 100644 src/assets/home/notice_4.png
create mode 100644 src/assets/home/notice_5.png
create mode 100644 src/assets/home/notice_tag_1.png
create mode 100644 src/assets/home/notice_tag_2.png
diff --git a/src/assets/home/notice_1.png b/src/assets/home/notice_1.png
new file mode 100644
index 0000000000000000000000000000000000000000..18d727e7336530960ebcdf5c3961f9f53a1d327a
GIT binary patch
literal 711
zcmV;&0yzDNP)Px%fk{L`R7gwhl}$)gaTLYR`HzA&Bc^W@g%)kXiin~@C`f{e7Hte8+DHW12Vt9>
z8Ak$3A?Dd8T0}+*ZC6l2i;AGI!k`Z#S|te*?VN#R-el>_J2g{EP&&gyw8gyT`#9&G
z-@X6)h-JFCOui@@FB$nF>i+|^WjmiB1wg)~)Ef_1JejR5Xgi-Fq~hT~!|Xk)FWFA<
zvc%>@*gv#TiUoTdv{UB=ts<}=K&4FSCT3=ig6Jp&O*|BsSHGa)s*WXF40&5H?XJ;B
zBQ;StC13``^|>O1Ed+K8x(jkN(GiHuS72V_sy=6@|4)JomL7v
zU2?=gH$+6~qH4){oGSnr_|sTGSTJK0>Ph#CfJcJ4mQ6^w-2^sx9xf~PeI1zYA#@;z
zT8I+A6N}s8VgKtIdvcB78wJ=O5BZP(>c8_Cz%I|mLEE_}U@w6e0Gb4JQmD?MmU>*8
zaYD5OvI95lf`eIO17(lfTF=Hcwo^AvU%5}21_Rue5FubKU5{hQUXop|t3!s|nl*Nz
z7UL^@?`G1g4e$`sEtHg=%O+MPGf1e>bKtbAS#PFNofF-)&fL$yPDLr522uZ)u<%XP^E5IiCPOR7JQ)|VoxHx2
tcUOBA&i7r>I3J-!dtOAnXejdu{Qz341}=X&pymJo002ovPDHLkV1mmLJ5&Gw
literal 0
HcmV?d00001
diff --git a/src/assets/home/notice_2.png b/src/assets/home/notice_2.png
new file mode 100644
index 0000000000000000000000000000000000000000..865728ac59ce395e2d736ec13e1ae71780f53372
GIT binary patch
literal 727
zcmV;|0x127P)Px%kx4{BR7gwh)K7?&WfaHp&$(9|lM1ZF7X6`C711IhBr2hnj;$)%L{?x8+;@T?
zDu@;iwQ>=@7lo1*K{#%LY+;Ki7gdQmwtXz#9Scg}l_ET04N+*OmYM-3#G%I5mi`vP>
zbU$>)+3|w#Rwbx
zpD&ia#RvFO%XfNa%m0>LrByaBRApfk!@=9E)i!3#8a)pR)A$R&lvnau)E+wjRax1O
zE%+#Ek6h^0my-HJ;gr)Rtad=SOBxs6!;SbDN6snScTCGYcn;r3T^jt)xhOa%th1`j
z=nfpxHm+~I^b)qp0)Ix7wR==JSgN0KRNI}>^U@#Db(bk1bZoG%
z%(ZK;%0FmhkJ`4uogj14?gHlTsOL?04u4UbD?6rzo1O8bwjYMZCGFR8yaCTfU1GL)
zsps=KctquJk+Ww?+kMiX!V%#|wC1B0w(8rX?b&9=r=zxJY2eChb8=2ej|vZC;;dV<
z(rcuC2k%ps%NxRV4fyw{tsfbjoznTB=y5Y{b-nF#b9)&-vr_`=a*5Xy8dN>YEZ~
zopMvWTNa0`O3??(Z28S9-!w7XEX_#wi{j{>uqk#nEA~A4r54C7!p5lW9p>bm^tjZ;
zwUme*mbOQ?tlJBoMa5}oe3tlg1-wMzM!&Wq_2`-{@y4=A{V&i`#2+V1yu$zh002ov
JPDHLkV1gMRYAOH#
literal 0
HcmV?d00001
diff --git a/src/assets/home/notice_3.png b/src/assets/home/notice_3.png
new file mode 100644
index 0000000000000000000000000000000000000000..4cb1b1d271b498eb725e212c1ee6ca1b8f456803
GIT binary patch
literal 1539
zcmV+e2K@PnP)Px)y-7qtR7gw3mTPQOMHI*XGk5M|-|a%n!}4f()Gne1YES_cf`X3_t)M~-BpR$n
zQNHL0zWDk;qDDVpFc^tS0HXvUAOS%VqaYOv!52bHsZt1~K%egJy?gJ>F|#~W3M>l7
zO(y%eGxMACKWF}D8UCji`=7YDD&Rwh{E5ZHYJakWS0Fa-nW>@XvG^B4~;
zom9@;LI=2H#Ldm*1l(H;;Blph>B))+MEV`b`2^Qf2m*pI7{VbA$KnSiHy%z6y>y;0
z3T|nkkgMFS3>eQiU~s?`07(TuknnwlKmwkx2SdgsFm@Uqj|dMO)2hltUtTQoi-Hdx
zcGnP5jlmggQ=zr>6gF+%ja~IkIC``buIEDtj-o^a!$)3&>gp7RR#ZTk0{>}D{D4?fz4)f;{Ug9*bDP*Op5r2pJY7uUcf
zRM+oN21DN>6VE*PF#7k2p|p=lB;}YS+m{|-MU5i>@uRJ6czWR~@Muwf
z-GCQrz%7C1CzpVHmH#bv`zT!Vd=1(@+=le-gHWD_31f!gfoT&^lC%&BiI*$O?UxFI
ze{6K`3fuUcF~Y{JyYS8@yJ1FSU^~Luf
zKR{_1SWx>AN{VbG6UL?i{mhjaSN&XCY@Lg|SH!B#yqbZbSR}T?kHf
zL*=rVe&0AunS3*f<0eY_2soC3tf$}wm{B#o1>&yD914tDn*|T8{{x&
z!_;OGk7ztxkD)tFNV^I;O**d;hcB?pL3Rv+_re$
zHnlD0rOE_Q8Hrp(pfjz|(Jj%FK3#CJh@nS|r-JGmhR50pg3q7O@N0G@=a{YC$r21g
zusqx_7(z!fpg_SN6v4q`Ib^cBQvuO1M>J#{_k4cG^_BMif9%y~7c@3!7BJ2iDI!Pb
zUE5{YVn}qlU_CyLmqu{BQ^K;eG90GCwn|scO{F5oF4Y<@>yJR*&0@wfQgpZO#YzEI
zaN4L6?BC?l=iL((91R1#cnzKy}2d5Ou=~U449M(
z_Q=3}>blCl-~H|_dOal(nE?O*002ovPDHLkV1h~x+r$6>
literal 0
HcmV?d00001
diff --git a/src/assets/home/notice_4.png b/src/assets/home/notice_4.png
new file mode 100644
index 0000000000000000000000000000000000000000..25340cda202a1b19d452c1f45e4718b7e762f3d9
GIT binary patch
literal 695
zcmV;o0!aOdP)Px%aY;l$R7gwhmCI`rQ543%GfA7)OvIX)E?h{`b|HvD7cShW2qN__sMJU*E-boH
z@<1s~3sy2gunPksM5Q7KHXsNhBDj@qL~x-rsrXvxq&CfiXww{>G(qy5>7>|A&hp%I
zzTe#M+&Ja9Z3O)r}ujDriO2(+`L$Y8tya6|T*AG%|>41xrPe7B$My20)R
z{$w!XaP-kiuRw+;02+!hcrK9@M@C2Bfq+X9C-vwCpIzYo$I&Dk*)UJ^PiSbs0Bbj4
z_HE4=A6)R5&wPyI;=Mka(G6A_ZK2FlFqdan)S5ol3C9ir!*j}ctBgVcCzkx;^Jb5N
z>Wp_u$pMDpL$ydVFc{BdpE%SK*cwcY5z(y;fq|Tyowp!xRR49dO6lta`0Ihs4R%zd
z58laQahcb1OuJ>D`J3(;+k&Yn5RF$0?6V7S_Eb*lWqb{p)%D6;p6$y0)(y5wNf*Iz
zzuCO1*BJPj@S3dvm9}5ot$Mh`P|9v%;WL3dwZfS&oA8LPmJV0(I!UQ8K+0RK8Vsy)
zq2s`k-}J6^aF8ubnb!pDRU|txnbIvVi$oy0@#7qQrcto+tyW#JDQ^#L7Qc
zgD=nwF7^jluytpKS-@#3U=Rcgn7%L-UJ&z)?A!icZKvh+je)hQYN%_2HJG$HC2gxW
d$43n+e*lWK&mZO}_p|^2002ovPDHLkV1l`xLva8A
literal 0
HcmV?d00001
diff --git a/src/assets/home/notice_5.png b/src/assets/home/notice_5.png
new file mode 100644
index 0000000000000000000000000000000000000000..affc2a58dbcc09c3f8b8c28c256bfd70fbdbba9e
GIT binary patch
literal 538
zcmV+#0_FXQP)Px$)Ja4^R7gwhl{-j6VHC&z=ORgD5h(=KQjkJ}Zp|%?4Yk%11QAF>4<&ne?O|w-
zA%X~kmRf6QY-w)OLC~O<3IdHNBMiAGjDnjz?y*ZXKBP!p3o_PW~ms!Suz%EF)eOuQ!8>7)D}P%&=v??@1Tr>Jb0k6
zZ_VQ-kx(B^i}irk_UN9Hd+08PYSzmAlVe|xG!;?QuP{gSet;eyHZ7Se1z??nkhj-s
zTv0ig_El|3)Z0!K)9tj3B<&LiX_VXVTOTk8cC7;*`D6N;p(xgoH
c{lBQ60G9iOA4Px$%1J~)R7gwhlrc{fQ51#GnOSCOG+02eSvD~9mJq1wf_hKBUmb8r5b&y!{)j
z%M_W>zP>^DrFBR=Kp?Zpoy8i4WAOZU080Nrzd_$K)oMF}@-Bed
znZQQ&6!aEAjsUtskr%BIN6|~rTf6{P2hg9-KU3o2)`*SS2Kd|tJ3Z)n$V495vQGb4
zBXb1up$(SLe^TPWmUR=GTJw^4V1woJBTC$1%eso+19)bG|g%Y|Xlfqy8CCm)ykq
znj-VIteY5ULsZ)aF?KOfcTp;haBuIpCE}CA8it*qw*hkW9Ox%BvPq`tSDUmsciQ+5
zNC6+lOap9Q5JM;Lt9}8v3e6UoraxSyg~hH=mt3KZU4X8cd$DU%SI*tNs(%C9Z+{=h
S`bu8_0000Px%6G=otR7gwhlrd;iQ51&1|0N2kgG0f=q9`UerGpj+TUrG{5FA7u9R!y;xM(Lq
zC>61jOJ^M%I*M2j>7asOv0_n)VClO_X+cF46~SVmP2SO$me4k7aY?h}&i9?~{NFk6
ziUu7uh)WZ^W#*fzo2u((pz+IPE^CgCx#<2kitqChx~Blj%aiE5OT#*-GLvc=^n+wAiiL*{>Ube`1WUX}}mE;6BEL
z@?noTceK)^aZCAdz?>Td-M|=DKJ2drj%!Xb|NA&CE$uZDzmyMqSA(siV>`vt56n_5
z{Mkin$5q6@@*SI$_eU(_CXl+Z=%n)bC$+%ufrG#(MTST+xlZ*wMz{+6TKVv@Irk8B
z7VJFG4?0x-4(p<*4wCi(X@O*-RZ~-o)!?YKhaeHpav$&vIPst0KF}So#~7!Oo@3D%
z3T|UOLYxL0mG|f3rmMj|j29yVis#t6Y-`PORjDptajp&Yu~O5xMrmn`Rg#^=f8A0bJ@?p?sEH4X|D=}Pn&|v
zDYDr!MD_rb+w^w|v|rQHbCz~P1iB7查看更多
-
-
![]()
+
+
-
{{ item.label }}
-
{{ item.desc }}
+
{{ item.title }}
+
{{ item.content }}
@@ -171,6 +171,7 @@ export default {
expireServices: [],
walletList: [],
+ noticeList: [],
isShowSpec: false,
@@ -218,6 +219,7 @@ export default {
this.getSaleStats()
this.getExpireServices()
this.getWalletList()
+ this.getNoticeList()
},
methods: {
getSupplyServiceList() {
@@ -290,6 +292,21 @@ export default {
console.error(error, 'error')
})
},
+ getNoticeList(){
+ this.$http('POST', '/agentnew/ajax_get_notice_list', {
+
+ },{
+ headers:{
+ 'Auth': this.token
+ }
+ }).then(response => {
+ this.$nextTick(() => {
+ this.noticeList = response.data
+ })
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
lookTaoBaoExpire() {
// 查看淘宝账号
location.href = '/agent/payList'
From 07bd2194231d14d036132ca8f8a6579d3fb45c5b Mon Sep 17 00:00:00 2001
From: rainbro <33367671@qq.com>
Date: Tue, 22 Jul 2025 18:16:53 +0800
Subject: [PATCH 12/12] =?UTF-8?q?=E5=B8=B8=E8=A7=81=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/agent/home.vue | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/views/agent/home.vue b/src/views/agent/home.vue
index 5df1157..da5e55c 100644
--- a/src/views/agent/home.vue
+++ b/src/views/agent/home.vue
@@ -130,11 +130,11 @@
联系客服
@@ -353,6 +353,10 @@ a {
}
+.faq {
+ color: #8A9099;
+}
+
.home-wrap {
padding: 12px;