Commit 93fc92d3 by 前端

fixed

1 parent 414ed1b7
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:56
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-18 13:56:09
* @FilePath: \scrm-micro-link\public\index.html
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
...@@ -18,7 +25,6 @@ ...@@ -18,7 +25,6 @@
<% } %> <% } %>
<title>微前端子应用:博客</title> <title>微前端子应用:博客</title>
</head> </head>
<body> <body>
<noscript> <noscript>
<strong>We're sorry but module-report doesn't work properly without JavaScript enabled. Please enable it to <strong>We're sorry but module-report doesn't work properly without JavaScript enabled. Please enable it to
...@@ -30,5 +36,4 @@ ...@@ -30,5 +36,4 @@
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script> <script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<% } %> <% } %>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:56 * @Date: 2022-12-13 09:23:56
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-16 10:24:46 * @LastEditTime: 2022-12-16 18:18:09
* @FilePath: \scrm-micro-link\src\api\modules\activity.js * @FilePath: \scrm-micro-link\src\api\modules\activity.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -108,6 +108,15 @@ const updateApi = params => { ...@@ -108,6 +108,15 @@ const updateApi = params => {
sign: true sign: true
}) })
} }
const getShared = params => {
params.method = `scrm.api.shopmall.goods.get.shared`
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
export default { export default {
dropdownList, dropdownList,
...@@ -118,5 +127,6 @@ export default { ...@@ -118,5 +127,6 @@ export default {
getActivityDetailApi, getActivityDetailApi,
deleteApi, deleteApi,
pageApi, pageApi,
updateApi updateApi,
getShared
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2022-11-23 14:46:30 * @Date: 2022-11-23 14:46:30
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-15 17:48:25 * @LastEditTime: 2022-12-18 14:49:23
* @FilePath: \live\src\api\modules\common.js * @FilePath: \live\src\api\modules\common.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -67,11 +67,22 @@ const uploadVideoApi = params => { ...@@ -67,11 +67,22 @@ const uploadVideoApi = params => {
noSignAttr: ['file'] noSignAttr: ['file']
}) })
} }
const uploadFundingVideoApi = params => {
params.method = 'scrm.api.carlife.crowd.funding.uploadVideo'
return http({
url: 'rop-scrm-carlife/router',
method: 'POST',
data: params,
sign: true,
noSignAttr: ['file']
})
}
export default { export default {
pictureUpload, pictureUpload,
getMerchantStaff, getMerchantStaff,
getMerchantList, getMerchantList,
uploadImgApi, uploadImgApi,
uploadMusicApi, uploadMusicApi,
uploadVideoApi uploadVideoApi,
uploadFundingVideoApi
} }
...@@ -12,7 +12,12 @@ html { ...@@ -12,7 +12,12 @@ html {
background: #ffffff; background: #ffffff;
padding: 20px; padding: 20px;
} }
.w-100-percent {
width: 100%;
}
.txt-center {
text-align: center;
}
.m-b-20 { .m-b-20 {
margin-bottom: 20px; margin-bottom: 20px;
} }
......
...@@ -242,6 +242,16 @@ const businessType = [ ...@@ -242,6 +242,16 @@ const businessType = [
optionLabel: '2.0' optionLabel: '2.0'
} }
] ]
const subscribe = [
{
optionId: 1,
optionLabel: '道路救援'
},
{
optionId: 3,
optionLabel: '其他'
}
]
function setMinHeight(calssName = '.edit-container') { function setMinHeight(calssName = '.edit-container') {
let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px' let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px'
let minHeight = 'calc(100vh - ' + height + ')' let minHeight = 'calc(100vh - ' + height + ')'
...@@ -263,4 +273,4 @@ function isShowBtn(value) { ...@@ -263,4 +273,4 @@ function isShowBtn(value) {
} }
return isShowStatus return isShowStatus
} }
export { isShowBtn, limitPrice, getExplorer, exportFn, aToExport, downloadIamge, businessType, orderStatus, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList, setMinHeight } export { isShowBtn, subscribe, limitPrice, getExplorer, exportFn, aToExport, downloadIamge, businessType, orderStatus, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList, setMinHeight }
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
map.addControl(new AMap.ToolBar()) map.addControl(new AMap.ToolBar())
this.geocoder = new AMap.Geocoder() this.geocoder = new AMap.Geocoder()
map.setDefaultCursor('pointer') map.setDefaultCursor('pointer')
AMap.plugin(['AMap.PlaceSearch'], function () { AMap.plugin(['AMap.PlaceSearch'], function() {
//构造地点查询类 //构造地点查询类
placeSearch = new AMap.PlaceSearch({ placeSearch = new AMap.PlaceSearch({
pageSize: 8, // 单页显示结果条数 pageSize: 8, // 单页显示结果条数
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
return true return true
} }
let _this = this let _this = this
placeSearch.search(query, function (status, result) { placeSearch.search(query, function(status, result) {
if (status === 'complete' && result.poiList.pois.length) { if (status === 'complete' && result.poiList.pois.length) {
_this.adrList = result.poiList.pois _this.adrList = result.poiList.pois
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-08-13 14:12:11 * @Date: 2021-08-13 14:12:11
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-13 15:29:54 * @LastEditTime: 2022-12-18 11:40:47
* @FilePath: \scrm\scrm-sub-blog\src\main.js * @FilePath: \scrm\scrm-sub-blog\src\main.js
*/ */
import Vue from 'vue' import Vue from 'vue'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57 * @Date: 2022-12-13 09:23:57
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-13 09:42:39 * @LastEditTime: 2022-12-18 13:58:06
* @FilePath: \scrm-micro-link\src\router\routes.js * @FilePath: \scrm-micro-link\src\router\routes.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -12,6 +12,12 @@ const staticRoutes = Object.freeze([ ...@@ -12,6 +12,12 @@ const staticRoutes = Object.freeze([
path: '/activityLink/index', path: '/activityLink/index',
component: resolve => require([`@/views/activityLink/index.vue`], resolve), component: resolve => require([`@/views/activityLink/index.vue`], resolve),
meta: {} meta: {}
},
{
name: 'editActivity',
path: '/activityLink/editActivity',
component: resolve => require([`@/views/activityLink/editActivity.vue`], resolve),
meta: {}
} }
]) ])
export default staticRoutes export default staticRoutes
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57 * @Date: 2022-12-13 09:23:57
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-16 09:25:41 * @LastEditTime: 2022-12-19 10:19:53
* @FilePath: \scrm-micro-link\src\setup\qiankun.js * @FilePath: \scrm-micro-link\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -27,7 +27,7 @@ export async function bootstrap({ history, common, messenger, globalState }) { ...@@ -27,7 +27,7 @@ export async function bootstrap({ history, common, messenger, globalState }) {
Vue.prototype.$common = common Vue.prototype.$common = common
Vue.prototype.$message = message Vue.prototype.$message = message
Vue.prototype.$messageBox = messageBox Vue.prototype.$messageBox = messageBox
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-09cf702c-321e-4f06-948e-c5907fb20b92-rop' } }) Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } }) Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState // Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] }) Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
......
<template> <template>
<div class="wechat-box marketing"> <div class="wechat-box live-main">
<img class="w-100-percent" src="@/assets/seckillActivity/phone.png" /> <img class="w-100-percent" src="@/assets/seckillActivity/phone.png" />
<div class="wechat-back"> <div class="wechat-back">
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p> <p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
<img class="wechat-head" src="@/assets/seckillActivity/crowd-head.png" /> <img class="wechat-head" src="@/assets/seckillActivity/crowd-head.png" />
<img class="icon-server" src="@/assets/seckillActivity/icon-server.png" /> <!-- <img class="icon-server" src="@/assets/seckillActivity/icon-server.png" /> -->
<div class="wechat-inner-box"> <div class="wechat-inner-box">
<div class="wechat-banner-img"> <div class="wechat-banner-img">
<img class="icon-music" src="@/assets/seckillActivity/icon-music.png" /> <img class="icon-music" src="@/assets/seckillActivity/icon-music.png" />
<img :src="editForm.activityBigImg || require('@/assets/seckillActivity/icon-default.png')" /> <img :src="editForm.activityBigImg || require('@/assets/seckillActivity/icon-default.png')" />
<img class="wechat-customer" src="@/assets/seckillActivity/crowd-customer.png" /> <!-- <img class="wechat-customer" src="@/assets/seckillActivity/crowd-customer.png" /> -->
<div class="main-title flex-space-between">
<div class="price">
<div class="unit">¥</div>
{{ editForm.activityPrice / 100 }}
</div>
<div class="title-right" v-if="editForm.expiresType == 0">
<div class="title-tips">
活动时间:
</div>
<div class="title-time">截止至{{ editForm.activityTime[1] }}</div>
</div>
</div>
<div class="w-100-percent txt-center"> <div class="w-100-percent txt-center">
<video v-if="editForm.activityVideoList.length" class="wechat-video" controls> <video v-if="editForm.activityVideoList.length" class="wechat-video" controls>
<source :src="editForm.activityVideoList[0]" type="video/mp4" /> <source :src="editForm.activityVideoList[0]" type="video/mp4" />
</video> </video>
</div> </div>
<div class="wechat-block"> <div class="wechat-block" style="padding:0px">
<p class="wechat-block-title">活动举办方</p> <div class="title">
<div class="flex-center"> <div class="title-l">活动举办方</div>
<div class="title-r">
<span>官方合作</span>
<span>品牌授权</span>
</div>
</div>
<div class="flex-center" style="padding:10px">
<div> <div>
<p class="m-b-10">{{ editForm.sponsorName }}</p> <p class="m-b-10">{{ editForm.sponsorName }}</p>
<p class="m-b-10 wechat-sub-addr">{{ editForm.activityAddressDetailName }}</p> <p class="m-b-10 wechat-sub-addr">{{ editForm.activityAddressDetailName }}</p>
...@@ -27,26 +45,30 @@ ...@@ -27,26 +45,30 @@
</div> </div>
</div> </div>
<div class="wechat-block"> <!-- <div class="wechat-block">
<p class="wechat-block-title">{{ countDownObj.typeTxt }}</p> <p class="wechat-block-title">{{ countDownObj.typeTxt }}</p>
<p v-if="countDownObj.activityStatus != 3" class="wechat-count-down"> <p v-if="countDownObj.activityStatus != 3" class="wechat-count-down">
<span v-if="editForm.activityTime && editForm.activityTime.length">{{ editForm.activityTime[0].split(' ')[0].split('-')[2] }}</span> <span v-if="editForm.activityTime && editForm.activityTime.length">{{ editForm.activityTime[0].split(' ')[0].split('-')[2] }}</span>
日开始活动,还差 日开始活动,还差
<span class="wechat-txt">{{ countDownObj.d }}</span>天 <span class="wechat-txt">{{ countDownObj.d }}</span>
<span class="wechat-txt">{{ countDownObj.h }}</span>时 天
<span class="wechat-txt">{{ countDownObj.m }}</span>分 <span class="wechat-txt">{{ countDownObj.h }}</span>
<span class="wechat-txt">{{ countDownObj.s }}</span>秒 时
<span class="wechat-txt">{{ countDownObj.m }}</span>
分
<span class="wechat-txt">{{ countDownObj.s }}</span>
秒
</p> </p>
<img v-else class="count-down-img" src="@/assets/seckillActivity/count-down.png" /> <img v-else class="count-down-img" src="@/assets/seckillActivity/count-down.png" />
</div> </div> -->
<div class="w-100-percent txt-center"> <!-- <div class="w-100-percent txt-center">
<img class="crowd-jdt" src="@/assets/seckillActivity/crowd-jdt.png" /> <img class="crowd-jdt" src="@/assets/seckillActivity/crowd-jdt.png" />
</div> </div> -->
<div class="wechat-block service"> <div class="wechat-block service">
<div class="serve" v-if="editForm.activityServices.length"> <div class="serve" v-if="editForm.activityServices.length">
<div class="box flex"> <div class="box flex-space-between">
<div style="width: 26px;">服务</div> <div style="width: 26px;">服务</div>
<div class="serve-text flex-center"> <div class="serve-text flex-center">
<template v-for="(i, index) in editForm.activityServices"> <template v-for="(i, index) in editForm.activityServices">
...@@ -63,7 +85,7 @@ ...@@ -63,7 +85,7 @@
<div class="wechat-block"> <div class="wechat-block">
<div> <div>
<div class="flex"> <div class="flex-space-between">
<div>玩家心得({{ editForm.activityExperienceDTOs.length }})</div> <div>玩家心得({{ editForm.activityExperienceDTOs.length }})</div>
<div class="sprite-icon icon-arrow"></div> <div class="sprite-icon icon-arrow"></div>
</div> </div>
...@@ -80,7 +102,7 @@ ...@@ -80,7 +102,7 @@
</div> </div>
<div class="line"></div> <div class="line"></div>
<div v-if="editForm.activityCommoditys.length"> <div v-if="editForm.activityCommoditys.length">
<div class="flex m-b-10"> <div class="flex-space-between m-b-10">
<div>商品答疑({{ editForm.activityCommoditys.length }})</div> <div>商品答疑({{ editForm.activityCommoditys.length }})</div>
<div class="sprite-icon icon-arrow"></div> <div class="sprite-icon icon-arrow"></div>
</div> </div>
...@@ -118,15 +140,15 @@ export default { ...@@ -118,15 +140,15 @@ export default {
props: { props: {
editForm: { editForm: {
type: Object, type: Object,
default: () => { } default: () => {}
}, },
countDownObj: { countDownObj: {
type: Object, type: Object,
default: () => { } default: () => {}
} }
}, },
mounted() { }, mounted() {},
methods: {} methods: {}
} }
...@@ -203,6 +225,32 @@ export default { ...@@ -203,6 +225,32 @@ export default {
text-align: center; text-align: center;
color: #fc5b32; color: #fc5b32;
} }
.main-title {
font-size: 10px;
padding: 10px 5px;
background: url('../../assets/seckillActivity/banner.png');
background-size: 100% 100%;
color: #fff;
.price {
font-weight: 600;
font-size: 48rpx;
display: flex;
align-items: baseline;
margin-left: 20rpx;
margin-left: 34px;
}
.price .unit {
font-size: 24rpx;
}
.price .decimal {
font-size: 28rpx;
}
.title-right {
line-height: 36rpx;
}
}
.wechat-block { .wechat-block {
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
...@@ -210,6 +258,31 @@ export default { ...@@ -210,6 +258,31 @@ export default {
font-size: 14px; font-size: 14px;
padding: 10px; padding: 10px;
margin: 10px 12px; margin: 10px 12px;
.title {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 28px;
background-image: linear-gradient(90deg, #fd4327 2%, #ff4317 54%, #fc2020 92%);
border-radius: 8px 8px 0 0;
padding: 0px 5px;
box-sizing: border-box;
.title-l {
font-size: 10px;
color: #ffffff;
}
.title-r {
font-size: 10px;
color: #ffffff;
letter-spacing: 2px;
}
}
.title-r span {
margin-right: 5px;
}
.wechat-sub-addr { .wechat-sub-addr {
font-size: 12px; font-size: 12px;
color: #656566; color: #656566;
......
...@@ -161,12 +161,12 @@ ...@@ -161,12 +161,12 @@
新增表单 新增表单
</el-button> </el-button>
</div> </div>
<div slot="showAvatarNicknameFlag"> <!-- <div slot="showAvatarNicknameFlag">
<el-radio-group v-model="editForm.showAvatarNicknameFlag"> <el-radio-group v-model="editForm.showAvatarNicknameFlag">
<el-radio :label="1">隐藏</el-radio> <el-radio :label="1">隐藏</el-radio>
<el-radio :label="2">显示</el-radio> <el-radio :label="2">显示</el-radio>
</el-radio-group> </el-radio-group>
</div> </div> -->
<!-- 服务说明 --> <!-- 服务说明 -->
<div slot="activityServices" id="activityServices" class="flex"> <div slot="activityServices" id="activityServices" class="flex">
<span class="custom-label arrow" slot="label" @click="handleArrow('activityServices')" :style="{ width: defaultLabelWidth }"> <span class="custom-label arrow" slot="label" @click="handleArrow('activityServices')" :style="{ width: defaultLabelWidth }">
...@@ -443,11 +443,11 @@ export default { ...@@ -443,11 +443,11 @@ export default {
formDescribeCheck: ['selectCarNumberFlag', 'selectVehicleTypeFlag', 'selectPhoneNumberFlag'], formDescribeCheck: ['selectCarNumberFlag', 'selectVehicleTypeFlag', 'selectPhoneNumberFlag'],
activityServices: [], activityServices: [],
activityCommoditys: [], activityCommoditys: [],
activityExperienceDTOs: [], activityExperienceDTOs: []
// formDescribeFirst: '', // formDescribeFirst: '',
// formDescribeSecond: '', // formDescribeSecond: '',
// formDescribeThird: '', // formDescribeThird: '',
showAvatarNicknameFlag: 1 // showAvatarNicknameFlag: 1
// liveFlag: false, // liveFlag: false,
// liveBroadcastRoomId: '', // liveBroadcastRoomId: '',
// groupQrCode: '', // groupQrCode: '',
...@@ -939,11 +939,11 @@ export default { ...@@ -939,11 +939,11 @@ export default {
name: 'formDescribe', name: 'formDescribe',
addHtml: 'formDescribe' addHtml: 'formDescribe'
}, },
{ // {
label: '头像昵称', // label: '头像昵称',
name: 'showAvatarNicknameFlag', // name: 'showAvatarNicknameFlag',
addHtml: 'showAvatarNicknameFlag' // addHtml: 'showAvatarNicknameFlag'
}, // },
{ {
label: '', label: '',
name: 'activityServices', name: 'activityServices',
...@@ -1090,16 +1090,11 @@ export default { ...@@ -1090,16 +1090,11 @@ export default {
if (id) { if (id) {
if (this.routeInfo.addOrEdit == 'edit' && this.routeInfo.activityStatus == 2) { if (this.routeInfo.addOrEdit == 'edit' && this.routeInfo.activityStatus == 2) {
// this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].forbidEdit() // this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].forbidEdit()
this.isDisabled = this.routeInfo.addOrEdit != 'add' this.isDisabled = this.routeInfo.addOrEdit == 'edit'
detailDisableList.forEach(attr => { detailDisableList.forEach(attr => {
this.changeFormAttr( this.changeFormAttr(attr, 'isDisabled', ['业务类型', '所属订阅'], true)
attr,
'isDisabled',
this[attr].map(item => item.label),
true
)
}) })
this.changeFormAttr('configEditFormData', 'isDisabled', ['定金收款账户'], true) // this.changeFormAttr('configEditFormData', 'isDisabled', ['定金收款账户'], true)
} }
} }
}, },
...@@ -1111,7 +1106,10 @@ export default { ...@@ -1111,7 +1106,10 @@ export default {
deep: true deep: true
}, },
'editForm.merchantId'() { 'editForm.merchantId'() {
this.couponObj = couponObj if (this.loading) {
return
}
this.couponObj = JSON.parse(JSON.stringify(couponObj))
this.editForm.couponList = [] this.editForm.couponList = []
this.recoveryTotalPrice() this.recoveryTotalPrice()
this.hasCouponBlock(false) this.hasCouponBlock(false)
...@@ -1193,6 +1191,17 @@ export default { ...@@ -1193,6 +1191,17 @@ export default {
this.recoveryTotalPrice() this.recoveryTotalPrice()
this.recoveryGiftList() this.recoveryGiftList()
}, },
recoveryCoupon() {
this.orderShow.forEach(item => {
this.couponObj[item].list = []
})
this.editForm.couponList.forEach(item => {
this.couponObj[this.numToCoupon[item.discountType]].list.push(item)
})
// console.log(this.couponObj, 'this.couponObj')
// this.currentCoupons = this.$common.utils.deepClone(this.editForm.couponList)
this.hasCouponBlock(false)
},
// 计算预估成本 // 计算预估成本
recoveryTotalPrice() { recoveryTotalPrice() {
this.totalEstimatedCost = 0 this.totalEstimatedCost = 0
...@@ -1343,7 +1352,7 @@ export default { ...@@ -1343,7 +1352,7 @@ export default {
this.handleSingleSelectClose() this.handleSingleSelectClose()
if (selectedProInfo) { if (selectedProInfo) {
this.editForm.goodsId = selectedProInfo.id this.editForm.goodsId = selectedProInfo.id
this.getGoodInfo(selectedProInfo.id) // this.getGoodInfo(selectedProInfo.id)
} }
}, },
handleSingleSelectClose(isCancel = false) { handleSingleSelectClose(isCancel = false) {
...@@ -1565,8 +1574,10 @@ export default { ...@@ -1565,8 +1574,10 @@ export default {
var info = res var info = res
this.editForm = this.$common.utils.deepClone(res) this.editForm = this.$common.utils.deepClone(res)
this.activityInfo = info this.activityInfo = info
this.$set(this.editForm, 'activityTime', [info.startTime, info.endTime]) if (info.startTime) {
this.routeInfo.addOrEdit == 'edit' && this.getGoodInfo(info.goodsId) this.$set(this.editForm, 'activityTime', [info.startTime, info.endTime])
}
// this.routeInfo.addOrEdit == 'edit' && this.getGoodInfo(info.goodsId)
// if (info.activityPrice != null && info.goodsStock != null) { // if (info.activityPrice != null && info.goodsStock != null) {
// this.editForm.activityPrice = (info.activityPrice / 100).toFixed(2) // this.editForm.activityPrice = (info.activityPrice / 100).toFixed(2)
// this.editForm.goodsStock = info.goodsStock + '' // this.editForm.goodsStock = info.goodsStock + ''
...@@ -1592,6 +1603,9 @@ export default { ...@@ -1592,6 +1603,9 @@ export default {
this.editForm.activityDetail = decodeURIComponent(info.activityDetail) this.editForm.activityDetail = decodeURIComponent(info.activityDetail)
this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].setEdit(this.editForm.activityDetail) this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].setEdit(this.editForm.activityDetail)
} }
if (info.activityPrice) {
this.editForm.activityPrice = info.activityPrice / 100
}
// 活动音乐 // 活动音乐
if (info.activityMusic) { if (info.activityMusic) {
var checkIdx = this.musicList.map(item => item.addr).findIndex(k => k == info.activityMusic) var checkIdx = this.musicList.map(item => item.addr).findIndex(k => k == info.activityMusic)
...@@ -1607,6 +1621,12 @@ export default { ...@@ -1607,6 +1621,12 @@ export default {
this.handleMusicChange(this.musicList.length - 1) this.handleMusicChange(this.musicList.length - 1)
} }
} }
info.couponList.forEach(item => {
item.id = item.couponId
item.anticipatedCost = item.couponAnticipatedCost
})
this.recoveryCoupon()
this.recoveryTotalPrice()
// 表单设置 // 表单设置
this.editForm.formDescribeCheck = [] this.editForm.formDescribeCheck = []
this.editForm.selectCarNumberFlag = this.editForm.selectCarNumberFlag || 1 this.editForm.selectCarNumberFlag = this.editForm.selectCarNumberFlag || 1
...@@ -1639,10 +1659,10 @@ export default { ...@@ -1639,10 +1659,10 @@ export default {
} }
// 复制 // 复制
if (this.routeInfo.addOrEdit == 'copy') { if (this.routeInfo.addOrEdit == 'copy') {
let resetArr = [{ name: 'id' }, { name: 'activityTime', type: 'array' }, { name: 'liveBroadcastRoomId' }, { name: 'groupQrCode' }, { name: 'floatingMaskDiagram' }, { name: 'liveBroadcastRoomCover' }, { name: 'liveBroadcastRoomEndCover' }, { name: 'selectedProInfo', type: 'Object' }, { name: 'goodsId' }, { name: 'activityPrice' }, { name: 'crowdFundingPrice' }, { name: 'goodsStock' }] let resetArr = [{ name: 'id' }, { name: 'activityTime', type: 'array' }, { name: 'liveBroadcastRoomId' }, { name: 'groupQrCode' }, { name: 'floatingMaskDiagram' }, { name: 'liveBroadcastRoomCover' }, { name: 'liveBroadcastRoomEndCover' }, { name: 'selectedProInfo', type: 'Object' }, { name: 'crowdFundingPrice' }]
this.copyReset(resetArr) this.copyReset(resetArr)
} }
this.getPayList() // this.getPayList()
this.$nextTick(() => { this.$nextTick(() => {
this.editStatus = false this.editStatus = false
}) })
......
...@@ -47,12 +47,13 @@ ...@@ -47,12 +47,13 @@
</div> </div>
</template> </template>
<script> <script>
import { orderStatus, businessType } from '@/common/constant' import { orderStatus, businessType, subscribe } from '@/common/constant'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
export default { export default {
name: 'LiveIndex', name: 'LiveIndex',
data() { data() {
return { return {
orderStatus,
attrToIcon: { attrToIcon: {
2: 'discount', 2: 'discount',
3: 'cash', 3: 'cash',
...@@ -86,9 +87,9 @@ export default { ...@@ -86,9 +87,9 @@ export default {
}, },
{ {
label: '业务场景', label: '业务场景',
name: 'term', name: 'businessType',
type: 'select', type: 'select',
optionList: businessType, optionList: this.$common.utils.deepClone(businessType),
optionId: 'optionId', optionId: 'optionId',
optionLabel: 'optionLabel' optionLabel: 'optionLabel'
}, },
...@@ -96,16 +97,7 @@ export default { ...@@ -96,16 +97,7 @@ export default {
label: '所属订阅', label: '所属订阅',
name: 'subscribe', name: 'subscribe',
type: 'select', type: 'select',
optionList: [ optionList: this.$common.utils.deepClone(subscribe),
{
optionId: 1,
optionLabel: '道路救援'
},
{
optionId: 3,
optionLabel: '其他'
}
],
optionId: 'optionId', optionId: 'optionId',
optionLabel: 'optionLabel' optionLabel: 'optionLabel'
}, },
...@@ -113,7 +105,7 @@ export default { ...@@ -113,7 +105,7 @@ export default {
label: '状态', label: '状态',
name: 'activityStatus', name: 'activityStatus',
type: 'select', type: 'select',
optionList: orderStatus, optionList: this.$common.utils.deepClone(orderStatus),
optionId: 'confId', optionId: 'confId',
optionLabel: 'confName' optionLabel: 'confName'
} }
...@@ -147,12 +139,17 @@ export default { ...@@ -147,12 +139,17 @@ export default {
}, },
{ {
label: '业务场景', label: '业务场景',
prop: 'businessType' prop: 'businessType',
formatter: cellValue => {
return businessType.find(item => item.optionId == cellValue.subscribe).optionLabel
}
}, },
{ {
label: '所属订阅', label: '所属订阅',
prop: 'subscribe ', prop: 'subscribe',
addHtml: 'subscribe ' formatter: cellValue => {
return subscribe.find(item => item.optionId == cellValue.subscribe).optionLabel
}
}, },
{ {
label: '销量', label: '销量',
...@@ -211,9 +208,6 @@ export default { ...@@ -211,9 +208,6 @@ export default {
attrs: { attrs: {
type: 'text' type: 'text'
}, },
condition: row => {
return row.status == 1
},
listeners: { listeners: {
click: row => { click: row => {
this.handleEdit('edit', row) this.handleEdit('edit', row)
...@@ -244,7 +238,7 @@ export default { ...@@ -244,7 +238,7 @@ export default {
// return row.status == 2 || row.status == 0 // return row.status == 2 || row.status == 0
// }, // },
listeners: { listeners: {
click: row => this.shareQrcode(row.scope) click: row => this.shareQrcode(row)
} }
}, },
{ {
...@@ -275,10 +269,71 @@ export default { ...@@ -275,10 +269,71 @@ export default {
pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' } pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' }
} }
}, },
mounted() {}, mounted() {
this.searchFormData.forEach(item => {
if (item.type == 'select') {
item.optionList.unshift({
[item.optionLabel]: '全部',
[item.optionId]: ''
})
}
})
},
methods: { methods: {
secondConfirm(title, txt, apiModule, apiName, apiParams, fn) {
this.$confirm(txt, title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: action => {
if (action == 'confirm') {
this.$apis[apiModule][apiName](apiParams).then(res => {
this.$message({
message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
if (res.code == '0') {
fn && fn()
this.handleSearch()
}
if (res.code == '21') {
this.handleSearch()
}
})
}
}
})
},
//开始
start(item) {
this.startOrEndConfirm('开始', item)
},
//结束
end(item) {
this.startOrEndConfirm('结束', item)
},
startOrEndConfirm(txt, row) {
var title = txt
var params = {}
params.id = row.id
if (txt == '开始') {
params.activityStatus = '2' //活动状态(1:未开始,2:开始,3:结束)
} else if (txt == '结束') {
params.activityStatus = '3' //活动状态(1:未开始,2:开始,3:结束)
}
this.secondConfirm(title, '确定要' + txt + '此活动?', 'seckillActivity', 'toggleStatusApi', params)
},
//删除
del(row) {
var params = {}
params.id = row.id
this.secondConfirm('删除', '确定删除此活动?', 'seckillActivity', 'deleteActivityApi', params)
},
shareQrcode(row) { shareQrcode(row) {
this.isQrcodeVisible = true this.isQrcodeVisible = true
this.$apis.activity.getShared({ id: row.id }).then(res => {
console.log(res)
})
}, },
handleBoard(row) { handleBoard(row) {
this.$router.push({ this.$router.push({
......
<template> <template>
<div class="select-staff"> <div class="select-staff">
<!-- class="staffDailog" --> <!-- class="staffDailog" -->
<GLDialog bigTitle="选择员工" <GLDialog bigTitle="选择员工" mode="big" width="600px" :visible.sync="dialogVisible" :before-close="handleClose" :close-on-click-modal="false" @onOk="handleConfirm" @onCancel="handleClose">
mode="big" <glsx-combi-form ref="showSearch" labelWidth="105px" :formObj="searchForm" :formData="searchFormData">
width="600px"
:visible.sync="dialogVisible"
:before-close="handleClose"
:close-on-click-modal="false"
@onOk="handleConfirm"
@onCancel="handleClose">
<glsx-combi-form ref="showSearch"
labelWidth="105px"
:formObj="searchForm"
:formData="searchFormData">
<span slot="footer"> <span slot="footer">
<el-button :size="size" <el-button :size="size" type="primary" @click="getList">查询</el-button>
type="primary"
@click="getList">查询</el-button>
</span> </span>
</glsx-combi-form> </glsx-combi-form>
<!-- :pageConf="pageConf" --> <!-- :pageConf="pageConf" -->
<GLTable ref="staffRef" <GLTable ref="staffRef" :hasPage="false" :hasNum="false" :noDataImg="url" :tableData="staffList" :tableTotal="total" :tableParams="tableParams" @refreshTable="getList" :setTableFinishFun="setTableFinishFun">
:hasPage="false" <div slot="radioHtml" class="staff-table" slot-scope="scope">
:hasNum="false" <el-radio v-model="staffUuid" :label="scope.scope.uuid" @click.native="handleClick(scope.scope)"></el-radio>
:noDataImg="url"
:tableData="staffList"
:tableTotal="total"
:tableParams="tableParams"
@refreshTable="getList"
:setTableFinishFun="setTableFinishFun">
<div slot="radioHtml"
class="staff-table"
slot-scope="scope">
<el-radio v-model="staffUuid"
:label="scope.scope.uuid"
@click.native="handleClick(scope.scope)"></el-radio>
</div> </div>
</GLTable> </GLTable>
<!-- <span slot="footer" class="dialog-footer"> <!-- <span slot="footer" class="dialog-footer">
...@@ -180,7 +156,7 @@ export default { ...@@ -180,7 +156,7 @@ export default {
subOrderCode: this.orderCode, subOrderCode: this.orderCode,
staffUuid: this.staffUuid staffUuid: this.staffUuid
} }
this.$apis.orderManage.signerOrder(parmas).then(res => { this.$apis.orderManage.orderAppointer(parmas).then(res => {
console.log(res) console.log(res)
this.$emit('handleStaffConfirm', this.staffUuid) this.$emit('handleStaffConfirm', this.staffUuid)
......
...@@ -535,16 +535,13 @@ export default { ...@@ -535,16 +535,13 @@ export default {
}, },
{ {
label: '链接名称', label: '链接名称',
prop: 'businessType', prop: 'activityName',
width: 120 width: 120
}, },
{ {
label: '商户名称', label: '门店名称',
prop: '', prop: 'merchantName',
width: '120', width: '120'
formatter: cellValue => {
return cellValue.orderGoods.length ? cellValue.orderGoods.map(item => item.goodsName).join(',') : '-'
}
}, },
{ {
label: '测试单', label: '测试单',
...@@ -681,6 +678,24 @@ export default { ...@@ -681,6 +678,24 @@ export default {
this.orderCode = item.orderCode this.orderCode = item.orderCode
this.isStaffVisible = true this.isStaffVisible = true
}, },
// 改变订单类型
changeOrderType(item) {
console.log(item)
let params = {
subOrderCode: item.orderCode,
orderType: item.orderType ? 0 : 1
}
this.secondConfirm('测试单', '测试单数据不纳入对应战报和喜报的排名展示', 'orderManage', 'orderUpdate', params, false)
// return
// this.$apis.orderManage
// .updateOrderType(params)
// .then(result => {
// this.handleSearch()
// })
// .catch(err => {
// console.log(err)
// })
},
secondConfirm(title, txt, apiModule, apiName, apiParams, fn, isResetPage = true) { secondConfirm(title, txt, apiModule, apiName, apiParams, fn, isResetPage = true) {
this.$confirm(txt, title, { this.$confirm(txt, title, {
confirmButtonText: '确定', confirmButtonText: '确定',
...@@ -689,11 +704,8 @@ export default { ...@@ -689,11 +704,8 @@ export default {
callback: action => { callback: action => {
if (action == 'confirm') { if (action == 'confirm') {
this.$apis[apiModule][apiName](apiParams).then(res => { this.$apis[apiModule][apiName](apiParams).then(res => {
this.$message({ if (res) {
message: res.code == '0' ? '操作成功' : res.message, this.$message.success('操作成功')
type: res.code == '0' ? 'success' : 'error'
})
if (res.code == '0') {
fn && fn() fn && fn()
// this.handleSearch() // this.handleSearch()
isResetPage ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false) isResetPage ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false)
...@@ -904,6 +916,79 @@ export default { ...@@ -904,6 +916,79 @@ export default {
min-width: 80px !important; min-width: 80px !important;
padding: 8px 12px !important; padding: 8px 12px !important;
} }
// .order-manage {
// .container {
// padding: 20px 14px;
// }
// .table-tips {
// font-size: 14px;
// color: rgba(0, 0, 0, 0.65);
// }
// .car-no {
// cursor: pointer;
// font-size: 12px;
// border-radius: 4px;
// border: 1px solid #e8e8ea;
// padding: 2px 4px;
// line-height: 25px;
// }
// .txt-blue {
// color: #5850ff;
// }
// .list-tips {
// background: #e4e3ff;
// border-radius: 4px;
// border: none;
// }
// .order-manage-table {
// padding: 20px;
// border: 1px solid #e5e5e5;
// border-radius: 0 4px 4px 4px;
// }
// .flex-default.tabs {
// border-bottom: 1px solid #e5e5e5;
// border-bottom: 0;
// .el-tabs__item {
// background: #fafafa;
// border: 1px solid #e5e5e5 !important;
// border-radius: 4px 4px 0 0;
// border-bottom: 0;
// }
// .is-active {
// border-bottom: 1px solid #fff !important;
// font-weight: 500;
// }
// }
// .switchStyle .el-switch__label {
// position: absolute;
// display: none;
// color: #fff;
// }
// .el-switch__core {
// background-color: rgba(166, 166, 166, 1);
// }
// .switchStyle .el-switch__label--left {
// z-index: 9;
// left: 20px;
// }
// .switchStyle .el-switch__label--right {
// z-index: 9;
// left: 4px;
// }
// .switchStyle .el-switch__label.is-active {
// display: block;
// }
// .switchStyle.el-switch .el-switch__core,
// .el-switch .el-switch__label {
// width: 50px !important;
// }
// .assignLabel {
// color: var(--primaryColor, #5850ff);
// &:hover {
// cursor: pointer;
// }
// }
// }
.order-manage { .order-manage {
.container { .container {
padding: 20px 14px; padding: 20px 14px;
...@@ -986,5 +1071,28 @@ export default { ...@@ -986,5 +1071,28 @@ export default {
padding: 0; padding: 0;
margin-right: 1px; margin-right: 1px;
} }
.switchStyle .el-switch__label {
position: absolute;
display: none;
color: #fff;
}
.el-switch__core {
background-color: rgba(166, 166, 166, 1);
}
.switchStyle .el-switch__label--left {
z-index: 9;
left: 20px;
}
.switchStyle .el-switch__label--right {
z-index: 9;
left: 4px;
}
.switchStyle .el-switch__label.is-active {
display: block;
}
.switchStyle.el-switch .el-switch__core,
.el-switch .el-switch__label {
width: 50px !important;
}
} }
</style> </style>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</div> </div>
<div class="container m-t-20"> <div class="container m-t-20">
<p class="edit-title">使用详情</p> <p class="edit-title">使用详情</p>
<GLTable class="m-t-20" ref="memberCenterRef" :tableData="tableData" :searchForm="searchFormTable" :tableParams="tableParams"> <GLTable class="m-t-20" ref="memberCenterRef" :tableData="tableData" :hasPage="false" :searchForm="searchFormTable" :tableParams="tableParams">
<div slot="cardInfo" slot-scope="scope"> <div slot="cardInfo" slot-scope="scope">
<GLTable class="centerTable" ref="cardListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="cardParams" :tableData="scope.scope.list"></GLTable> <GLTable class="centerTable" ref="cardListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="cardParams" :tableData="scope.scope.list"></GLTable>
</div> </div>
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
} }
}, },
created() { created() {
this.formToRow('afterInfoData') // this.formToRow('afterInfoData')
}, },
mounted() { mounted() {
// this.setMinHeight('.edit-box') // this.setMinHeight('.edit-box')
...@@ -212,7 +212,9 @@ export default { ...@@ -212,7 +212,9 @@ export default {
}, },
getInfo() { getInfo() {
this.$apis.orderManage.orderDetail({ orderCode: this.routeInfo.orderCode }).then(res => { this.$apis.orderManage.orderDetail({ orderCode: this.routeInfo.orderCode }).then(res => {
if (!res) return
this.detailForm = res this.detailForm = res
this.tableData = res.expandedGoldUserCouponDTOS || []
this.orderRefund = res.orderRefund || null this.orderRefund = res.orderRefund || null
this.detailForm.createdDateStr = dayjs(this.detailForm.createdDate).format('YYYY-MM-DD HH:mm:ss') this.detailForm.createdDateStr = dayjs(this.detailForm.createdDate).format('YYYY-MM-DD HH:mm:ss')
if (this.orderRefund) { if (this.orderRefund) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57 * @Date: 2022-12-13 09:23:57
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-13 15:39:20 * @LastEditTime: 2022-12-18 12:37:45
* @FilePath: \scrm-micro-link\vue.config.js * @FilePath: \scrm-micro-link\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -11,7 +11,7 @@ const packageName = require('./package.json').name ...@@ -11,7 +11,7 @@ const packageName = require('./package.json').name
const node_env = process.env.NODE_ENV === 'production' const node_env = process.env.NODE_ENV === 'production'
const publicPath = node_env ? `/child/${packageName}/` : '/' const publicPath = node_env ? `/child/${packageName}/` : '/'
const resolve = dir => path.join(__dirname, dir) const resolve = dir => path.join(__dirname, dir)
const CDN_DOMAIN = 'https://cdn.bootcdn.net/' const CDN_DOMAIN = 'https://img02.glsx.com.cn/'
const cdn = { const cdn = {
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`], css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`, 'https://webapi.amap.com/loader.js'] js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`, 'https://webapi.amap.com/loader.js']
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!