From 3f950a0f99637456f8324a206ba5eb6ffbfc711d Mon Sep 17 00:00:00 2001 From: wesley88 <9519127+wesley88@user.noreply.gitee.com> Date: Mon, 3 Mar 2025 14:47:16 +0800 Subject: [PATCH] 1 --- admin-web-master/src/components/chakan/cd.vue | 2 +- admin-web-master/src/layout/index.vue | 63 +++++++++++++++++++++++++++++++++------------------------------ admin-web-master/src/utils/request.js | 4 ++-- lvdao-miniapp/manifest.json | 2 +- lvdao-miniapp/pages/advertisementDetail/advertisementDetail.scss | 2 +- lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------- lvdao-miniapp/pages/details/details.scss | 2 +- lvdao-miniapp/pages/details/details.vue | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------- lvdao-miniapp/utils/request.js | 4 ++-- 9 files changed, 285 insertions(+), 81 deletions(-) diff --git a/admin-web-master/src/components/chakan/cd.vue b/admin-web-master/src/components/chakan/cd.vue index 91d1860..8664bec 100644 --- a/admin-web-master/src/components/chakan/cd.vue +++ b/admin-web-master/src/components/chakan/cd.vue @@ -20,7 +20,7 @@ -
{{editbgid.actualArea || '无'}}
+
{{editbgid.actualArea?editbgid.actualArea+' ㎡': '无'}}
diff --git a/admin-web-master/src/layout/index.vue b/admin-web-master/src/layout/index.vue index bfe4062..6eb4386 100644 --- a/admin-web-master/src/layout/index.vue +++ b/admin-web-master/src/layout/index.vue @@ -197,17 +197,17 @@ } } return { - msg: [], - list: [], + // msg: [], + // list: [], // msg: ['招商服务系统'], - // msg: ['招商服务系统', '推广策划系统', '在线商城系统', '支付服务模块', '票务'], - // list: [ - // ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], - // ['品牌策划', '活动策划', '氛围策划', '媒体推广'], - // ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], - // ['联机交易', '对账处理', '日志管理', '商户服务'], - // ['渠道售票统计分析', '销售额统计分析'], - // ], + msg: ['招商服务系统', '推广策划系统', '在线商城系统', '支付服务模块', '票务'], + list: [ + ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], + ['品牌策划', '活动策划', '氛围策划', '媒体推广'], + ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], + ['联机交易', '对账处理', '日志管理', '商户服务'], + ['渠道售票统计分析', '销售额统计分析'], + ], listMune: [], mumeList: [], mumeChildren1: [], @@ -296,10 +296,10 @@ this.userAvatar = getUserAvatar() }, mounted() { - this.getMemu() - this.address() - this.waibu() - // this.neibu() + // this.getMemu() + // this.address() + // this.waibu() + this.neibu() }, methods: { @@ -512,11 +512,11 @@ getMemu() { // console.log(userData, 'userData') - let userData = JSON.parse(localStorage.getItem('user')); - if (!userData) { - window.location.href = 'https://admin-uat.028wlkj.com:1020/login' - // window.location.href = 'http://128.10.9.151:5173/home' - } + // let userData = JSON.parse(localStorage.getItem('user')); + // if (!userData) { + // window.location.href = 'https://admin-uat.028wlkj.com:1020/login' + // // window.location.href = 'http://128.10.9.151:5173/home' + // } const protocol = window.location.protocol; // 获取协议,如 'https:' const host = window.location.host; // 获取域名和端口,如 'zhgw.028wlkj.com:20443' let baseUrl = protocol + '//' + host; @@ -774,18 +774,21 @@ clk(index) { this.index = index this.listMune = [] - this.list = [ - ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], - ['品牌策划', '活动策划', '氛围策划', '媒体推广'], - ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], - ['联机交易', '对账处理', '日志管理', '商户服务'], - ['渠道售票统计分析', '销售额统计分析'], - ] - // this.getMemu() - // this.waibu() + // this.list = [ + // ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], + // ['品牌策划', '活动策划', '氛围策划', '媒体推广'], + // ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], + // ['联机交易', '对账处理', '日志管理', '商户服务'], + // ['渠道售票统计分析', '销售额统计分析'], + // ] + // this.neibu() + + + this.getMemu() + this.waibu() + this.list = this.mumeList + - this.neibu() - // this.list = this.mumeList }, handleClickOutside() { this.$store.dispatch('app/closeSideBar', { diff --git a/admin-web-master/src/utils/request.js b/admin-web-master/src/utils/request.js index 9e2d43b..d86fe9b 100644 --- a/admin-web-master/src/utils/request.js +++ b/admin-web-master/src/utils/request.js @@ -16,8 +16,8 @@ let hostall = window.location.href; let baseURL = '' if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { - // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; - baseURL = 'http://128.10.249.34:9003'; + baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; + // baseURL = 'http://128.10.249.34:9003'; // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; // baseURL = 'http://192.168.2.225:9003'; diff --git a/lvdao-miniapp/manifest.json b/lvdao-miniapp/manifest.json index ac3b56a..c759f17 100644 --- a/lvdao-miniapp/manifest.json +++ b/lvdao-miniapp/manifest.json @@ -1,6 +1,6 @@ { "name" : "绿道", - "appid" : "__UNI__F034047", + "appid" : "__UNI__189D96A", "description" : "", "versionName" : "1.0.2", "versionCode" : "100", diff --git a/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.scss b/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.scss index 13017c3..c391a1f 100644 --- a/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.scss +++ b/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.scss @@ -41,7 +41,7 @@ .info-title { font-weight: bold; font-size: 32rpx; - margin-bottom: 24rpx; + // margin-bottom: 24rpx; span { display: inline-block; padding: 0 8rpx; diff --git a/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue b/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue index 45a6c86..7adc558 100644 --- a/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue +++ b/lvdao-miniapp/pages/advertisementDetail/advertisementDetail.vue @@ -5,8 +5,8 @@ {{tableData.advertisingName}} - {{tableData.shopDescription}} - + + {{moban[0].rentalPrice || ''}}元/{{moban[0].leaseTerm || ''}} @@ -26,18 +26,80 @@ {{tableData.advertisingType}} - - - 所属端: - {{tableData.affiliation || '--'}} - - - - - 轮播顺序: - {{tableData.rotationOrder || '--'}} - - + + + + 所属端: + {{tableData.affiliation || '--'}} + + + + + 广告位数量: + {{tableData.advertisingNumber || '--'}} + + + + + + 可上传大小: + {{tableData.size || '--'}} + + + + + 播放时长: + {{tableData.playDuration || '--'}} + + + + + 推送地址: + {{tableData.pushAddress || '--'}} + + + + + 介绍: + + + + + + + + + + + 设备类型: + {{tableData.deviceType || '--'}} + + + + + 设备大小: + {{tableData.equipmentSize || '--'}} + + + + + + 广告材质: + {{tableData.advertisingMaterial || '--'}} + + + + @@ -51,12 +113,12 @@ {{tableData.dimensions || '--'}} - + 位置示意图: @@ -74,7 +136,24 @@ + + @@ -133,8 +212,22 @@ console.log(err) //请求失败 }) + if (data.mapPunctuation) { + this.latitude = parseFloat(data.mapPunctuation.split(',')[0]) + this.longitude = parseFloat(data.mapPunctuation.split(',')[1]) + } }, methods: { + gomapApp(latitude, longitude, ) { + let url = ""; + uni.openLocation({ + latitude: latitude, + longitude: longitude, + success: function() { + console.log('success'); + } + }); + }, openimg(urls,index) { urls =urls.split(',') let list = urls.map(item=>{ diff --git a/lvdao-miniapp/pages/details/details.scss b/lvdao-miniapp/pages/details/details.scss index 1c0d7bf..74d8c93 100644 --- a/lvdao-miniapp/pages/details/details.scss +++ b/lvdao-miniapp/pages/details/details.scss @@ -49,7 +49,7 @@ .info-title { font-weight: bold; font-size: 32rpx; - margin-bottom: 24rpx; + // margin-bottom: 24rpx; span { display: inline-block; padding: 0 8rpx; diff --git a/lvdao-miniapp/pages/details/details.vue b/lvdao-miniapp/pages/details/details.vue index e0ce55d..74d0c0e 100644 --- a/lvdao-miniapp/pages/details/details.vue +++ b/lvdao-miniapp/pages/details/details.vue @@ -1,9 +1,6 @@