Commit d9d2226c by cwq0219
2 parents 15cc3137 ef316f80
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<el-button class="right" type="primary" size="medium" @click="callParentChange('default')">通知父应用收到</el-button> <el-button class="right" type="primary" size="medium" @click="callParentChange('default')">通知父应用收到</el-button>
</div> </div>
<img src="./assets/logo.png" alt="" srcset="" /> <img src="./assets/logo.png" alt="" srcset="" />
</div> --> </div>-->
<router-view /> <router-view />
</div> </div>
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
} }
#app { #app {
padding: 0px 20px 20px 40px; padding: 0px 20px 20px 40px;
overflow-y: auto; // overflow-y: auto;
height: 100%; height: 100%;
} }
</style> </style>
......
...@@ -174,7 +174,7 @@ const getMerchant = params => { ...@@ -174,7 +174,7 @@ const getMerchant = params => {
}) })
} }
const getCard = params => { const getCard = params => {
params.method = 'scrm.api.equity.card.class.list.with.page' params.method = 'scrm.api.equity.open.card.price.list.by.merchantid'
return http({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
...@@ -200,6 +200,16 @@ const getPackage = params => { ...@@ -200,6 +200,16 @@ const getPackage = params => {
sign: true sign: true
}) })
} }
const getActivity = params => {
params.method = 'scrm.api.shopmall.activity.page'
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
export default { export default {
customerList, customerList,
customerGroupList, customerGroupList,
...@@ -220,5 +230,6 @@ export default { ...@@ -220,5 +230,6 @@ export default {
getMerchant, getMerchant,
getCard, getCard,
getCoupon, getCoupon,
getPackage getPackage,
getActivity
} }
...@@ -289,3 +289,16 @@ html { ...@@ -289,3 +289,16 @@ html {
border-radius: 4px; border-radius: 4px;
background-color: rgba(144, 147, 153, 0.3); background-color: rgba(144, 147, 153, 0.3);
} }
.el-tag {
color: #666!important;
font-size: 14px!important;
}
.el-tag.el-tag--info {
background: #fafbfe !important;
border: 1px solid #e8e8ea !important;
border-radius: 4px;
color: #666;
}
.el-tag.el-tag--info.el-tag--plain {
background: transparent !important;
}

1.23 KB | W: | H:

3.02 KB | W: | H:

src/assets/guestCustom/applet-logo.png
src/assets/guestCustom/applet-logo.png
src/assets/guestCustom/applet-logo.png
src/assets/guestCustom/applet-logo.png
  • 2-up
  • Swipe
  • Onion skin
<!-- 选择商品弹窗 --> <!-- 选择商品弹窗 -->
<template> <template>
<glsx-dialog class="muti-pro" title="选择商品" :isVisible.sync="isMutiSelectVisible" width="70%" @confirmDialog="handleMutiSelectConfirm" @closeDialog="handleMutiSelectClose" :noClose="false" :noCancel="true"> <glsx-dialog class="muti-pro" title="选择商品" :isVisible.sync="isMutiSelectVisible" width="70%" @confirmDialog="handleMutiSelectConfirm" @closeDialog="handleMutiSelectClose" :noClose="false" :noCancel="true" :showClose="true">
<div style="max-height:60vh"> <div style="max-height:60vh">
<div class="noproDiv" v-if="!productList.length && fnCallBack"> <div class="noproDiv" v-if="!productList.length && fnCallBack">
<img src="@/assets/noPro.png" /> <img src="@/assets/noPro.png" />
......
<!-- 选择商品 - 单选 --> <!-- 选择商品 - 单选 -->
<template> <template>
<glsx-dialog class="single-pro" title="选择商品" :isVisible.sync="isSingleSelectVisible" width="900px" @confirmDialog="handleSingleSelectConfirm" @closeDialog="handleSingleSelectClose"> <glsx-dialog class="single-pro" title="选择商品" :isVisible.sync="isSingleSelectVisible" width="900px" @confirmDialog="handleSingleSelectConfirm" @closeDialog="handleSingleSelectClose" :showClose="true">
<div style="max-height:60vh"> <div style="max-height:60vh">
<div class="noproDiv" v-if="!productList.length && fnCallBack"> <div class="noproDiv" v-if="!productList.length && fnCallBack">
<img src="@/assets/noPro.png" /> <img src="@/assets/noPro.png" />
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<template> <template>
<div class="edit-share marketing p-t-20 edit-box"> <div class="edit-share marketing p-t-20 edit-box">
<div class="container edit-container" style="position: relative;"> <div class="container edit-container" style="position: relative;">
<div class="right_show"> <!-- <div class="right_show">
<div class="card-top"></div> <div class="card-top"></div>
<div class="card-middle"> <div class="card-middle">
<div> <div>
...@@ -22,6 +22,29 @@ ...@@ -22,6 +22,29 @@
<div class="cremarks">使用说明:</div> <div class="cremarks">使用说明:</div>
<div class="cremarks_content">{{ editForm.useDescription }}</div> <div class="cremarks_content">{{ editForm.useDescription }}</div>
</div> </div>
</div> -->
<div class="right_show">
<div class="card-top"></div>
<div class="card_one">
<div>
<span class="cname">{{ editForm.couponName }}</span>
<span class="ctype"><span class="ctypeName">代金券</span></span>
</div>
<div class="ctime">
<span class="ctime_name">有效期:</span>
<span class="ctime_content" v-if="editForm.effectiveType == 3">无限制</span>
<span class="ctime_content" v-if="editForm.effectiveType == 1">{{ editForm.effectiveDays }}天</span>
<span class="ctime_content" v-if="editForm.effectiveType == 2">{{ couponTime }}</span>
</div>
<div class="ctime">
<span class="ctime_name">使用限制:</span>
<span class="ctime_content">{{ editForm.useBarriers == 1 ? '无限制' : '满' + editForm.full + '可用' }}</span>
</div>
</div>
<div class="card_two">
<div class="cremarks">使用说明:</div>
<div class="cremarks_content">{{ editForm.useDescription }}</div>
</div>
</div> </div>
<p class="edit-title">{{ title }}代金券</p> <p class="edit-title">{{ title }}代金券</p>
<glsx-combi-form class="edit-form-container" style="min-height: 570px;" ref="editFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"> <glsx-combi-form class="edit-form-container" style="min-height: 570px;" ref="editFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
...@@ -267,7 +290,7 @@ export default { ...@@ -267,7 +290,7 @@ export default {
}, },
'editForm.effectiveTime'(newValue, oldValue) { 'editForm.effectiveTime'(newValue, oldValue) {
if (newValue && newValue.length > 0) { if (newValue && newValue.length > 0) {
this.couponTime = this.setDateString(newValue[0], true) + ' - ' + this.setDateString(newValue[1], true) this.couponTime = this.setDateString(newValue[0], true) + ' ~ ' + this.setDateString(newValue[1], true)
} else { } else {
this.couponTime = '' this.couponTime = ''
} }
...@@ -605,7 +628,6 @@ export default { ...@@ -605,7 +628,6 @@ export default {
</script> </script>
<style scoped> <style scoped>
.right_show { .right_show {
/* float: right; */
position: absolute; position: absolute;
z-index: 10; z-index: 10;
height: 566px; height: 566px;
...@@ -622,37 +644,39 @@ export default { ...@@ -622,37 +644,39 @@ export default {
margin-top: 55px; margin-top: 55px;
} }
.right_show .card-middle { .card_one {
height: 388px; width: 243px;
width: 251px; height: 252px;
margin-left: 18px; background: #ffffff;
overflow: auto; border-radius: 4px;
margin-left: 22px;
margin-top: 5.81px;
} }
.right_show .card-middle .cname { .cname {
width: 170px; width: 170px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
margin-left: 10px; margin-left: 8px;
margin-top: 15px; margin-top: 10px;
display: inline-block; display: inline-block;
} }
.right_show .card-middle .ctype { .ctype {
width: 48px; width: 48px;
height: 20px; height: 20px;
background: #5850ff; background: #5850ff;
border-radius: 10px; border-radius: 2px;
margin-right: 6px; margin-right: 8px;
margin-top: 10px; margin-top: 8px;
display: inline-block; display: inline-block;
float: right; float: right;
} }
.right_show .card-middle .ctype .ctypeName { .ctypeName {
width: 36px; width: 36px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -662,11 +686,11 @@ export default { ...@@ -662,11 +686,11 @@ export default {
margin-left: 6px; margin-left: 6px;
} }
.right_show .card-middle .ctime { .ctime {
margin-left: 10px; margin-left: 8px;
margin-top: 17px; margin-top: 10px;
} }
.right_show .card-middle .ctime .ctime_name { .ctime_name {
width: 48px; width: 48px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -675,7 +699,7 @@ export default { ...@@ -675,7 +699,7 @@ export default {
font-weight: 400; font-weight: 400;
} }
.right_show .card-middle .ctime .ctime_content { .ctime_content {
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
...@@ -684,27 +708,49 @@ export default { ...@@ -684,27 +708,49 @@ export default {
margin-left: 5px; margin-left: 5px;
} }
.right_show .card-middle .ccode { .ccode {
width: 120px; width: 120px;
height: 120px; height: 120px;
margin-left: 67px; margin-left: 62px;
margin-top: 8px; margin-top: 8px;
} }
.right_show .card-middle .ccodeName { .ccodeName {
width: 68px; width: 68px;
height: 17px; height: 17px;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
font-size: 12px; font-size: 12px;
color: #1d1d1d; color: #1d1d1d;
font-weight: 500; font-weight: 500;
margin-left: 93px; margin-left: 88px;
margin-top: 8px; margin-top: 8px;
} }
.right_show .card-middle .cremarks { .link-top {
margin-left: 10px; width: 227px;
margin-top: 17px; height: 1px;
background: #eeeeee;
margin-left: 8px;
margin-top: 8px;
}
.code_d {
margin-left: 98px;
margin-top: 10px;
}
.card_two {
width: 243px;
height: 115px;
background: #ffffff;
border-radius: 4px;
margin-left: 22px;
margin-top: 8px;
}
.cremarks {
padding-left: 8px;
padding-top: 8px;
width: 60px; width: 60px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -713,16 +759,17 @@ export default { ...@@ -713,16 +759,17 @@ export default {
font-weight: 400; font-weight: 400;
} }
.right_show .card-middle .cremarks_content { .cremarks_content {
margin-left: 10px; margin-left: 8px;
margin-right: 11px; margin-right: 8px;
margin-top: 4px; margin-top: 4px;
width: 230px; width: 227px;
height: 34px; height: 80px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
word-break: break-word; word-break: break-word;
overflow: auto;
} }
</style> </style>
<!-- 编辑代金券 --> <!-- 编辑折扣券 -->
<template> <template>
<div class="edit-share marketing p-t-20 edit-box"> <div class="edit-share marketing p-t-20 edit-box">
<div class="container edit-container" style="height: 630px; position: relative"> <div class="container edit-container" style="height: 630px; position: relative">
<div class="right_show"> <!-- <div class="right_show">
<div class="card-top"></div> <div class="card-top"></div>
<div class="card-middle"> <div class="card-middle">
<div> <div>
...@@ -17,8 +17,32 @@ ...@@ -17,8 +17,32 @@
<div class="ctime"> <div class="ctime">
<span class="ctime_name">核销劵码:</span> <span class="ctime_name">核销劵码:</span>
</div> </div>
<img class="ccode" src="../../assets/coupon/code.png" /> <img class="ccode" src="../../assets/coupon/code2.png" />
<div class="ccodeName">GH078-003</div>
<div class="cremarks">使用说明:</div>
<div class="cremarks_content">{{ editForm.useDescription }}</div>
</div>
</div> -->
<div class="right_show">
<div class="card-top"></div>
<div class="card_one">
<div>
<span class="cname">{{ editForm.couponName }}</span>
<span class="ctype"><span class="ctypeName">折扣券</span></span>
</div>
<div class="ctime">
<span class="ctime_name">有效期:</span>
<span class="ctime_content" v-if="editForm.effectiveType == 1">{{ editForm.effectiveDays }}天</span>
<span class="ctime_content" v-if="editForm.effectiveType == 2">{{ couponTime }}</span>
</div>
<div class="link-top"></div>
<div class="code_d">
<span class="ctime_name">核销劵码</span>
</div>
<img class="ccode" src="../../assets/coupon/code2.png" />
<div class="ccodeName">GH078-003</div> <div class="ccodeName">GH078-003</div>
</div>
<div class="card_two">
<div class="cremarks">使用说明:</div> <div class="cremarks">使用说明:</div>
<div class="cremarks_content">{{ editForm.useDescription }}</div> <div class="cremarks_content">{{ editForm.useDescription }}</div>
</div> </div>
...@@ -276,7 +300,6 @@ export default { ...@@ -276,7 +300,6 @@ export default {
</script> </script>
<style scoped> <style scoped>
.right_show { .right_show {
/* float: right; */
position: absolute; position: absolute;
z-index: 10; z-index: 10;
height: 566px; height: 566px;
...@@ -293,7 +316,7 @@ export default { ...@@ -293,7 +316,7 @@ export default {
margin-top: 55px; margin-top: 55px;
} }
.right_show .card-middle { /* .right_show .card-middle {
height: 388px; height: 388px;
width: 251px; width: 251px;
margin-left: 18px; margin-left: 18px;
...@@ -395,5 +418,134 @@ export default { ...@@ -395,5 +418,134 @@ export default {
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
word-break: break-word; word-break: break-word;
} */
.card_one {
width: 243px;
height: 252px;
background: #ffffff;
border-radius: 4px;
margin-left: 22px;
margin-top: 5.81px;
}
.cname {
width: 170px;
height: 17px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #666666;
font-weight: 400;
margin-left: 8px;
margin-top: 10px;
display: inline-block;
}
.ctype {
width: 48px;
height: 20px;
background: #5850ff;
border-radius: 2px;
margin-right: 8px;
margin-top: 8px;
display: inline-block;
float: right;
}
.ctypeName {
width: 36px;
height: 17px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #ffffff;
font-weight: 400;
margin-left: 6px;
}
.ctime {
margin-left: 8px;
margin-top: 10px;
}
.ctime_name {
width: 48px;
height: 17px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #333333;
font-weight: 400;
}
.ctime_content {
height: 17px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #717171;
font-weight: 400;
margin-left: 5px;
}
.ccode {
width: 120px;
height: 120px;
margin-left: 62px;
margin-top: 8px;
}
.ccodeName {
width: 68px;
height: 17px;
font-family: PingFangSC-Medium;
font-size: 12px;
color: #1d1d1d;
font-weight: 500;
margin-left: 88px;
margin-top: 8px;
}
.link-top {
width: 227px;
height: 1px;
background: #eeeeee;
margin-left: 8px;
margin-top: 8px;
}
.code_d {
margin-left: 98px;
margin-top: 10px;
}
.card_two {
width: 243px;
height: 115px;
background: #ffffff;
border-radius: 4px;
margin-left: 22px;
margin-top: 8px;
}
.cremarks {
padding-left: 8px;
padding-top: 8px;
width: 60px;
height: 17px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #333333;
font-weight: 400;
}
.cremarks_content {
margin-left: 8px;
margin-right: 8px;
margin-top: 4px;
width: 227px;
height: 80px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #666666;
font-weight: 400;
word-break: break-word;
overflow: auto;
} }
</style> </style>
<!-- 编辑代金券 --> <!-- 编辑兑换券 -->
<template> <template>
<div class="edit-share marketing p-t-20 edit-box"> <div class="edit-share marketing p-t-20 edit-box">
<div class="container edit-container" style="height: 630px;position: relative;"> <div class="container edit-container" style="height: 630px;position: relative;">
<div class="right_show"> <div class="right_show">
<div class="card-top"></div> <div class="card-top"></div>
<div class="card-middle"> <div class="card_one">
<div> <div>
<span class="cname">{{ editForm.couponName }}</span> <span class="cname">{{ editForm.couponName }}</span>
<span class="ctype"><span class="ctypeName">兑换券</span></span> <span class="ctype"><span class="ctypeName">兑换券</span></span>
...@@ -14,11 +14,14 @@ ...@@ -14,11 +14,14 @@
<span class="ctime_content" v-if="editForm.effectiveType == 1">{{ editForm.effectiveDays }}天</span> <span class="ctime_content" v-if="editForm.effectiveType == 1">{{ editForm.effectiveDays }}天</span>
<span class="ctime_content" v-if="editForm.effectiveType == 2">{{ couponTime }}</span> <span class="ctime_content" v-if="editForm.effectiveType == 2">{{ couponTime }}</span>
</div> </div>
<div class="ctime"> <div class="link-top"></div>
<span class="ctime_name">核销劵码:</span> <div class="code_d">
<span class="ctime_name">核销劵码</span>
</div> </div>
<img class="ccode" src="../../assets/coupon/code.png" /> <img class="ccode" src="../../assets/coupon/code2.png" />
<div class="ccodeName">GH078-003</div> <div class="ccodeName">GH078-003</div>
</div>
<div class="card_two">
<div class="cremarks">使用说明:</div> <div class="cremarks">使用说明:</div>
<div class="cremarks_content">{{ editForm.useDescription }}</div> <div class="cremarks_content">{{ editForm.useDescription }}</div>
</div> </div>
...@@ -159,7 +162,7 @@ export default { ...@@ -159,7 +162,7 @@ export default {
}, },
'editForm.effectiveTime'(newValue, oldValue) { 'editForm.effectiveTime'(newValue, oldValue) {
if (newValue && newValue.length > 0) { if (newValue && newValue.length > 0) {
this.couponTime = this.setDateString(newValue[0], true) + ' - ' + this.setDateString(newValue[1], true) this.couponTime = this.setDateString(newValue[0], true) + ' ~ ' + this.setDateString(newValue[1], true)
} else { } else {
this.couponTime = '' this.couponTime = ''
} }
...@@ -276,7 +279,6 @@ export default { ...@@ -276,7 +279,6 @@ export default {
</script> </script>
<style scoped> <style scoped>
.right_show { .right_show {
/* float: right; */
position: absolute; position: absolute;
z-index: 10; z-index: 10;
height: 566px; height: 566px;
...@@ -293,37 +295,39 @@ export default { ...@@ -293,37 +295,39 @@ export default {
margin-top: 55px; margin-top: 55px;
} }
.right_show .card-middle { .card_one {
height: 388px; width: 243px;
width: 251px; height: 252px;
margin-left: 18px; background: #ffffff;
overflow: auto; border-radius: 4px;
margin-left: 22px;
margin-top: 5.81px;
} }
.right_show .card-middle .cname { .cname {
width: 170px; width: 170px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
margin-left: 10px; margin-left: 8px;
margin-top: 15px; margin-top: 10px;
display: inline-block; display: inline-block;
} }
.right_show .card-middle .ctype { .ctype {
width: 48px; width: 48px;
height: 20px; height: 20px;
background: #5850ff; background: #5850ff;
border-radius: 10px; border-radius: 2px;
margin-right: 6px; margin-right: 8px;
margin-top: 10px; margin-top: 8px;
display: inline-block; display: inline-block;
float: right; float: right;
} }
.right_show .card-middle .ctype .ctypeName { .ctypeName {
width: 36px; width: 36px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -333,11 +337,11 @@ export default { ...@@ -333,11 +337,11 @@ export default {
margin-left: 6px; margin-left: 6px;
} }
.right_show .card-middle .ctime { .ctime {
margin-left: 10px; margin-left: 8px;
margin-top: 17px; margin-top: 10px;
} }
.right_show .card-middle .ctime .ctime_name { .ctime_name {
width: 48px; width: 48px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -346,7 +350,7 @@ export default { ...@@ -346,7 +350,7 @@ export default {
font-weight: 400; font-weight: 400;
} }
.right_show .card-middle .ctime .ctime_content { .ctime_content {
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
...@@ -355,27 +359,49 @@ export default { ...@@ -355,27 +359,49 @@ export default {
margin-left: 5px; margin-left: 5px;
} }
.right_show .card-middle .ccode { .ccode {
width: 120px; width: 120px;
height: 120px; height: 120px;
margin-left: 67px; margin-left: 62px;
margin-top: 8px; margin-top: 8px;
} }
.right_show .card-middle .ccodeName { .ccodeName {
width: 68px; width: 68px;
height: 17px; height: 17px;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
font-size: 12px; font-size: 12px;
color: #1d1d1d; color: #1d1d1d;
font-weight: 500; font-weight: 500;
margin-left: 93px; margin-left: 88px;
margin-top: 8px; margin-top: 8px;
} }
.right_show .card-middle .cremarks { .link-top {
margin-left: 10px; width: 227px;
margin-top: 17px; height: 1px;
background: #eeeeee;
margin-left: 8px;
margin-top: 8px;
}
.code_d {
margin-left: 98px;
margin-top: 10px;
}
.card_two {
width: 243px;
height: 115px;
background: #ffffff;
border-radius: 4px;
margin-left: 22px;
margin-top: 8px;
}
.cremarks {
padding-left: 8px;
padding-top: 8px;
width: 60px; width: 60px;
height: 17px; height: 17px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -384,16 +410,17 @@ export default { ...@@ -384,16 +410,17 @@ export default {
font-weight: 400; font-weight: 400;
} }
.right_show .card-middle .cremarks_content { .cremarks_content {
margin-left: 10px; margin-left: 8px;
margin-right: 11px; margin-right: 8px;
margin-top: 4px; margin-top: 4px;
width: 230px; width: 227px;
height: 34px; height: 80px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
word-break: break-word; word-break: break-word;
overflow: auto;
} }
</style> </style>
<!-- 编辑代金券 --> <!-- 编辑会员服务 -->
<template> <template>
<div class="edit-share marketing p-t-20 edit-box"> <div class="edit-share marketing p-t-20 edit-box">
<div class="container edit-container"> <div class="container edit-container">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="marketing pro-group p-t-20"> <div class="marketing pro-group p-t-20">
<div class="m-b-20"> <div class="m-b-20">
<el-button :size="size" type="primary" class="el-icon-plus" @click="addCashCoupon()">新建代金券</el-button> <el-button :size="size" type="primary" class="el-icon-plus" @click="addCashCoupon()">新建代金券</el-button>
<el-button :size="size" type="primary" class="el-icon-plus" style="margin-left:30px;" @click="addService()">新建会员服务</el-button> <!-- <el-button :size="size" type="primary" class="el-icon-plus" style="margin-left:30px;" @click="addService()">新建会员服务</el-button> -->
<el-button :size="size" type="primary" class="el-icon-plus" style="margin-left:30px;" @click="addDiscountCoupon()">新建折扣劵</el-button> <el-button :size="size" type="primary" class="el-icon-plus" style="margin-left:30px;" @click="addDiscountCoupon()">新建折扣劵</el-button>
<el-button :size="size" type="primary" class="el-icon-plus" style="margin-left:30px;" @click="addExchangeCoupon()">新建兑换券</el-button> <el-button :size="size" type="primary" class="el-icon-plus" style="margin-left:30px;" @click="addExchangeCoupon()">新建兑换券</el-button>
</div> </div>
...@@ -59,7 +59,8 @@ export default { ...@@ -59,7 +59,8 @@ export default {
searchForm: { searchForm: {
couponName: '', couponName: '',
discountType: '', discountType: '',
status: '' status: '',
discountTypes: [2, 3, 4]
}, },
tableSearchForm: {}, tableSearchForm: {},
// 搜索 // 搜索
...@@ -156,11 +157,11 @@ export default { ...@@ -156,11 +157,11 @@ export default {
{ {
confId: '4', confId: '4',
confName: '兑换券' confName: '兑换券'
},
{
confId: '7',
confName: '会员服务'
} }
// {
// confId: '7',
// confName: '会员服务'
// }
], ],
statusList: [ statusList: [
{ {
...@@ -344,7 +345,8 @@ export default { ...@@ -344,7 +345,8 @@ export default {
this.searchForm = { this.searchForm = {
couponName: '', couponName: '',
discountType: '', discountType: '',
status: '' status: '',
discountTypes: [2, 3, 4]
} }
this.handleSearch() this.handleSearch()
}, },
......
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
<div class="title">基础信息</div> <div class="title">基础信息</div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content">
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form
class="basic-form"
:model="basicForm"
:rules="basicRules"
ref="basicForm"
label-width="120px"
>
<el-form-item prop="userList"> <el-form-item prop="userList">
<label slot="label" class="required">选择群发账号</label> <label slot="label" class="required">选择群发账号</label>
<el-button size="small" @click="openMembers"> <el-button size="small" @click="openMembers">
...@@ -71,6 +77,7 @@ ...@@ -71,6 +77,7 @@
v-model="basicForm.condition.chatId" v-model="basicForm.condition.chatId"
@change="valueChange" @change="valueChange"
@focus="groupFocus" @focus="groupFocus"
:size="size"
multiple multiple
collapse-tags collapse-tags
placeholder="请选择" placeholder="请选择"
...@@ -91,7 +98,8 @@ ...@@ -91,7 +98,8 @@
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
size="small" :size="size"
style="width: 320px;"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="标签筛选"> <el-form-item label="标签筛选">
...@@ -108,11 +116,12 @@ ...@@ -108,11 +116,12 @@
v-for="(tag, idx) in tagging" v-for="(tag, idx) in tagging"
:key="idx" :key="idx"
:size="size" :size="size"
type="info"
closable closable
:disable-transitions="false" :disable-transitions="false"
@close="removeTag(tag, idx)" @close="removeTag(tag, idx)"
>{{ tag.name }}</el-tag> >{{ tag.name }}</el-tag>
<el-input size="small" style="outline: none; border: none"></el-input> <!-- <el-input size="small" style="outline: none; border: none"></el-input> -->
</div> </div>
<!-- <span class="label-text"> <!-- <span class="label-text">
已选择 已选择
...@@ -125,6 +134,7 @@ ...@@ -125,6 +134,7 @@
v-for="(tag, idx) in basicForm.condition.labelList" v-for="(tag, idx) in basicForm.condition.labelList"
:key="idx" :key="idx"
:size="size" :size="size"
type="info"
closable closable
:disable-transitions="false" :disable-transitions="false"
@close="remove(tag)" @close="remove(tag)"
...@@ -148,7 +158,7 @@ ...@@ -148,7 +158,7 @@
<!-- 编辑入群欢迎语 --> <!-- 编辑入群欢迎语 -->
<div class="title">编辑群发内容</div> <div class="title">编辑群发内容</div>
<div> <div>
<el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="groupForm" label-width="100px">
<el-form-item prop="attachmentList"> <el-form-item prop="attachmentList">
<label slot="label" class="required">群发内容</label> <label slot="label" class="required">群发内容</label>
<WelcomeWords ref="welcome" :form="'customer'" :eventBus="eventBus"></WelcomeWords> <WelcomeWords ref="welcome" :form="'customer'" :eventBus="eventBus"></WelcomeWords>
...@@ -522,7 +532,6 @@ export default { ...@@ -522,7 +532,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
margin-top: 26px;
margin-bottom: 84px; margin-bottom: 84px;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
...@@ -531,6 +540,7 @@ export default { ...@@ -531,6 +540,7 @@ export default {
padding: 20px 0 17px 20px; padding: 20px 0 17px 20px;
font-size: 16px; font-size: 16px;
color: #333; color: #333;
font-weight: 600;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
.info-box { .info-box {
...@@ -543,6 +553,7 @@ export default { ...@@ -543,6 +553,7 @@ export default {
width: calc(100% - 360px); width: calc(100% - 360px);
.filter-box { .filter-box {
margin-left: 120px; margin-left: 120px;
min-width: 656px;
background-color: #f7f7f7; background-color: #f7f7f7;
.filter-memeber { .filter-memeber {
padding: 20px 0; padding: 20px 0;
...@@ -569,21 +580,22 @@ export default { ...@@ -569,21 +580,22 @@ export default {
} }
} }
} }
} .basic-form {
} padding: 32px 0 20px 20px;
.el-form {
padding: 32px 0 20px 66px;
/deep/.el-input { /deep/.el-input {
width: 320px; width: 320px;
} }
} }
}
}
.form-tips { .form-tips {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
.preview { .preview {
margin-right: 24px; margin-right: 24px;
margin-bottom: 100px;
} }
} }
.footer-panel { .footer-panel {
...@@ -640,6 +652,7 @@ export default { ...@@ -640,6 +652,7 @@ export default {
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;
margin-bottom: 5px; margin-bottom: 5px;
// background: #fff !important;
} }
.tag-input { .tag-input {
background: transparent; background: transparent;
......
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
<div class="title">基础信息</div> <div class="title">基础信息</div>
<div class="info-box"> <div class="info-box">
<div class="info-content"> <div class="info-content">
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form
:model="basicForm"
class="basic-form"
:rules="basicRules"
ref="basicForm"
label-width="120px"
>
<el-form-item label="群聊名称" prop="massName"> <el-form-item label="群聊名称" prop="massName">
<el-input v-model="basicForm.massName" placeholder="群发名称仅内部可见" maxlength="10"></el-input> <el-input v-model="basicForm.massName" placeholder="群发名称仅内部可见" maxlength="10"></el-input>
</el-form-item> </el-form-item>
...@@ -312,7 +318,6 @@ export default { ...@@ -312,7 +318,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
margin-top: 26px;
margin-bottom: 84px; margin-bottom: 84px;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
...@@ -320,6 +325,7 @@ export default { ...@@ -320,6 +325,7 @@ export default {
.title { .title {
padding: 20px 0 17px 20px; padding: 20px 0 17px 20px;
font-size: 16px; font-size: 16px;
font-weight: 600;
color: #333; color: #333;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
...@@ -335,7 +341,7 @@ export default { ...@@ -335,7 +341,7 @@ export default {
} }
} }
.el-form { .basic-form {
padding: 32px 0 20px 66px; padding: 32px 0 20px 66px;
/deep/.el-input { /deep/.el-input {
width: 320px; width: 320px;
...@@ -347,6 +353,7 @@ export default { ...@@ -347,6 +353,7 @@ export default {
} }
.preview { .preview {
margin-right: 24px; margin-right: 24px;
margin-bottom: 100px;
} }
} }
.footer-panel { .footer-panel {
...@@ -413,6 +420,7 @@ export default { ...@@ -413,6 +420,7 @@ export default {
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;
margin-bottom: 5px; margin-bottom: 5px;
background: #fff !important;
} }
.tag-input { .tag-input {
background: transparent; background: transparent;
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<div class="model-panel-tab"> <div class="model-panel-tab">
<label>活动类型:</label> <label>活动类型:</label>
<el-tabs v-model="activeName" @tab-click="handleClick" type="card"> <el-tabs v-model="activeName" @tab-click="handleClick" type="card">
<el-tab-pane label="精品券" name="1"></el-tab-pane>
<el-tab-pane label="商城券" name="2"></el-tab-pane>
<el-tab-pane label="权益卡试用" name="3"></el-tab-pane> <el-tab-pane label="权益卡试用" name="3"></el-tab-pane>
<el-tab-pane label="权益套餐" name="4"></el-tab-pane> <el-tab-pane label="权益套餐" name="4"></el-tab-pane>
<el-tab-pane label="商城券" name="2"></el-tab-pane>
<el-tab-pane label="秒杀活动" name="5"></el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
<div class="model-item-panel" v-if="modelList.length > 0" v-loading="loading"> <div class="model-item-panel" v-if="modelList.length > 0" v-loading="loading">
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
> >
<div <div
class="model-item-title" class="model-item-title"
:title="item.cardClassName" :title="item.equityName"
v-show="activeName == 3" v-show="activeName == 3"
>{{ item.cardClassName }}</div> >{{ item.equityName }}</div>
<div <div
class="model-item-title" class="model-item-title"
:title="item.couponName" :title="item.couponName"
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
>{{ item.couponName }}</div> >{{ item.couponName }}</div>
<div <div
class="model-item-title" class="model-item-title"
:title="item.cardClassName" :title="item.couponName"
v-show="activeName == 1" v-show="activeName == 1"
>{{ item.couponName }}</div> >{{ item.couponName }}</div>
<div <div
...@@ -39,11 +39,18 @@ ...@@ -39,11 +39,18 @@
:title="item.packageName" :title="item.packageName"
v-show="activeName == 4" v-show="activeName == 4"
>{{ item.packageName }}</div> >{{ item.packageName }}</div>
<div
class="model-item-title"
:title="item.activityName"
v-show="activeName == 5"
>{{ item.activityName }}</div>
<div class="model-item-content" v-show="activeName == 1 || activeName == 4"></div> <div class="model-item-content" v-show="activeName == 1 || activeName == 4"></div>
<div class="model-item-content" v-show="activeName == 2">剩余数量:{{ item.residueAmount }}</div> <div class="model-item-content" v-show="activeName == 2">剩余数量:{{ item.residueAmount }}</div>
<div class="model-item-content" v-show="activeName == 1">剩余数量:{{ item.remainAmount }}</div> <div class="model-item-content" v-show="activeName == 1">剩余数量:{{ item.remainAmount }}</div>
<div class="model-item-content" v-show="activeName == 3">价格:{{ item.price }}元</div> <div class="model-item-content" v-show="activeName == 3">价格:{{ item.goodPrice }}元</div>
<div class="model-item-content" v-show="activeName == 4">价格:{{ item.packagePrice }}元</div> <div class="model-item-content" v-show="activeName == 4">价格:{{ item.packagePrice }}元</div>
<div class="model-item-content" v-show="activeName == 5"></div>
<div class="model-item-content" v-show="activeName == 5"></div>
<div <div
class="model-item-content" class="model-item-content"
v-show="activeName == 2 && item.effectiveType == 1" v-show="activeName == 2 && item.effectiveType == 1"
...@@ -56,21 +63,11 @@ ...@@ -56,21 +63,11 @@
class="model-item-content" class="model-item-content"
v-show="activeName == 2 && item.effectiveType == 2" v-show="activeName == 2 && item.effectiveType == 2"
>有效期:{{ item.effectiveStartTime ? item.effectiveStartTime.split(' ')[0] : '' }}~{{ item.effectiveEndTime ? item.effectiveEndTime.split(' ')[0] : '' }}</div> >有效期:{{ item.effectiveStartTime ? item.effectiveStartTime.split(' ')[0] : '' }}~{{ item.effectiveEndTime ? item.effectiveEndTime.split(' ')[0] : '' }}</div>
<div
class="model-item-content" <div class="model-item-content" v-show="activeName == 3">有效期:{{ item.effectivedDay }}天</div>
v-show="activeName == 3 && item.effectiveType == 3"
>有效期:{{ item.effectiveStartTime ? item.effectiveStartTime.split(' ')[0] : '' }}~{{ item.effectiveEndTime ? item.effectiveEndTime.split(' ')[0] : '' }}</div>
<div
class="model-item-content"
v-show="activeName == 3 && item.effectiveType == 1"
>有效期:无限制</div>
<div
class="model-item-content"
v-show="activeName == 3 && item.effectiveType == 2"
>有效期:{{ item.effectiveNum}}天</div>
<div class="model-item-content" v-show="activeName == 2"> <div class="model-item-content" v-show="activeName == 2">
类型: 类型:
<span>{{ item.discountType == 2 ? '折扣券' : item.discountType == 3 ? '代金券' : item.discountType == 4 ? '兑换券': ''}}</span> <span>{{ item.discountType == 2 ? '折扣券' : item.discountType == 3 ? '代金券' : item.discountType == 4 ? '兑换券' : '' }}</span>
</div> </div>
<div class="model-item-content" v-show="activeName == 1"> <div class="model-item-content" v-show="activeName == 1">
类型: 类型:
...@@ -84,6 +81,10 @@ ...@@ -84,6 +81,10 @@
类型: 类型:
<span>权益套餐</span> <span>权益套餐</span>
</div> </div>
<div class="model-item-content" v-if="activeName == 5">
活动时间:
{{ item.startTime.split(' ')[0] }}-{{ item.endTime.split(' ')[0] }}
</div>
</div> </div>
</div> </div>
<div class="model-item-empty" v-else v-loading="loading"> <div class="model-item-empty" v-else v-loading="loading">
...@@ -91,6 +92,7 @@ ...@@ -91,6 +92,7 @@
<div class="empty-item">暂无数据</div> <div class="empty-item">暂无数据</div>
</div> </div>
<el-pagination <el-pagination
v-if="activeName != 3"
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page="pageNum" :current-page="pageNum"
...@@ -115,17 +117,23 @@ export default { ...@@ -115,17 +117,23 @@ export default {
return { return {
dialogVisible: false, dialogVisible: false,
loading: false, loading: false,
activeName: '1', activeName: '3',
modelList: [], modelList: [],
pageNum: 1, pageNum: 1,
pageSize: 12, pageSize: 12,
tableTotal: 0, tableTotal: 0,
selectItem: {} selectItem: {
id: ''
}
} }
}, },
methods: { methods: {
handleSelectItem(item) { handleSelectItem(item) {
this.selectItem = item this.selectItem = item
if (item.equityClassId) {
this.selectItem.id = item.equityClassId
}
console.log(this.selectItem)
}, },
handleSelect() { handleSelect() {
if (!this.selectItem.id) { if (!this.selectItem.id) {
...@@ -136,7 +144,7 @@ export default { ...@@ -136,7 +144,7 @@ export default {
return return
} }
this.dialogVisible = false this.dialogVisible = false
this.$emit('selectActivity', { marketingId: this.selectItem.id, marketingType: this.activeName, marketingName: this.activeName == 3 ? this.selectItem.cardClassName : this.activeName == 4 ? this.selectItem.packageName : this.selectItem.couponName }) this.$emit('selectActivity', { marketingId: this.selectItem.id, marketingType: this.activeName, marketingName: this.activeName == 3 ? this.selectItem.equityName : this.activeName == 4 ? this.selectItem.packageName : this.activeName == 5 ? this.selectItem.activityName : this.selectItem.couponName })
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.pageSize = val this.pageSize = val
...@@ -163,6 +171,9 @@ export default { ...@@ -163,6 +171,9 @@ export default {
case '4': case '4':
market = 'getPackage' market = 'getPackage'
break break
case '5':
market = 'getActivity'
break
} }
let params = { let params = {
pageSize: this.pageSize, pageSize: this.pageSize,
...@@ -174,10 +185,23 @@ export default { ...@@ -174,10 +185,23 @@ export default {
} }
if (this.activeName == 2) { if (this.activeName == 2) {
params.discountTypes = [2, 3, 4] params.discountTypes = [2, 3, 4]
params.validType = 'valid'
} }
this.$apis.customerTransform[market](params).then(res => { if (this.activeName == 5) {
params.currentPage = this.pageNum
params.activityStatus = 2
}
this.$apis.customerTransform[market](params)
.then(res => {
if (this.activeName == 3) {
this.modelList = res
} else {
this.modelList = res.list ? res.list : res.data this.modelList = res.list ? res.list : res.data
this.tableTotal = res.total this.tableTotal = res.total
}
this.loading = false
})
.catch(() => {
this.loading = false this.loading = false
}) })
}, },
......
...@@ -149,6 +149,7 @@ export default { ...@@ -149,6 +149,7 @@ export default {
.title { .title {
padding: 20px 0 17px 20px; padding: 20px 0 17px 20px;
font-size: 16px; font-size: 16px;
font-weight: 600;
color: #333; color: #333;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
class="tag-selected-item" class="tag-selected-item"
:key="idx" :key="idx"
v-if="tag" v-if="tag"
type="info"
closable closable
:disable-transitions="false" :disable-transitions="false"
@close="remove(item, idx)" @close="remove(item, idx)"
......
...@@ -330,7 +330,8 @@ export default { ...@@ -330,7 +330,8 @@ export default {
.content { .content {
display: inline-block; display: inline-block;
vertical-align: text-top; vertical-align: text-top;
width: calc(100% - 103px); min-width: 656px;
width: calc(100% - 15px);
margin-left: 12px; margin-left: 12px;
.welcome-file { .welcome-file {
display: flex; display: flex;
......
<template> <template>
<div style="margin-top: 26px;"> <div>
<BasicInof :form="'customerGroup'" :eventBus="eventBus" :id="$route.params.id"></BasicInof> <BasicInof :form="'customerGroup'" :eventBus="eventBus" :id="$route.params.id"></BasicInof>
<div class="group-detail-container"> <div class="group-detail-container">
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"> <glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
...@@ -192,7 +192,6 @@ export default { ...@@ -192,7 +192,6 @@ export default {
</script> </script>
<style lang="scss" scope> <style lang="scss" scope>
.group-detail-container { .group-detail-container {
margin-top: 26px;
margin-bottom: 84px; margin-bottom: 84px;
padding: 20px; padding: 20px;
background-color: #ffffff; background-color: #ffffff;
......
<template> <template>
<div style="margin-top: 26px;"> <div>
<BasicInof :eventBus="eventBus" :id="$route.params.id" :form="'customer'"></BasicInof> <BasicInof :eventBus="eventBus" :id="$route.params.id" :form="'customer'"></BasicInof>
<div class="detail-container"> <div class="detail-container">
<div class="detail-modular"> <div class="detail-modular">
...@@ -59,7 +59,10 @@ ...@@ -59,7 +59,10 @@
</div> </div>
</div> </div>
</div> </div>
<el-empty v-else image-size="200"></el-empty> <div class="model-item-empty" v-else v-loading="loading">
<img src="@/assets/empty.png" />
<div class="empty-item">暂无数据</div>
</div>
</div> </div>
</div> </div>
<div class="detail-modular"> <div class="detail-modular">
...@@ -111,7 +114,10 @@ ...@@ -111,7 +114,10 @@
</div> </div>
</div> </div>
</div> </div>
<el-empty v-else image-size="200"></el-empty> <div class="model-item-empty" v-else v-loading="loading">
<img src="@/assets/empty.png" />
<div class="empty-item">暂无数据</div>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -229,6 +235,7 @@ export default { ...@@ -229,6 +235,7 @@ export default {
.title { .title {
padding: 20px 0 17px 20px; padding: 20px 0 17px 20px;
font-size: 16px; font-size: 16px;
font-weight: 600;
color: #333; color: #333;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
...@@ -282,7 +289,7 @@ export default { ...@@ -282,7 +289,7 @@ export default {
align-items: center; align-items: center;
font-size: 16px; font-size: 16px;
color: #333; color: #333;
font-weight: 500; font-weight: 600;
line-height: 22px; line-height: 22px;
margin-bottom: 14px; margin-bottom: 14px;
span { span {
...@@ -293,6 +300,7 @@ export default { ...@@ -293,6 +300,7 @@ export default {
.send { .send {
position: relative; position: relative;
color: #666; color: #666;
font-weight: normal;
span { span {
img { img {
position: absolute; position: absolute;
...@@ -306,6 +314,7 @@ export default { ...@@ -306,6 +314,7 @@ export default {
background-color: #eb4e4e; background-color: #eb4e4e;
color: #fff; color: #fff;
border-radius: 2px; border-radius: 2px;
font-weight: normal;
} }
.customer-table { .customer-table {
display: flex; display: flex;
...@@ -338,11 +347,13 @@ export default { ...@@ -338,11 +347,13 @@ export default {
} }
.el-menu-item { .el-menu-item {
line-height: 56px; line-height: 56px;
font-size: 16px;
height: 46px; height: 46px;
} }
.el-menu--horizontal > .el-menu-item.is-active { .el-menu--horizontal > .el-menu-item.is-active {
border-bottom-color: #5850ff; border-bottom-color: #5850ff;
color: #5850ff; color: #5850ff;
font-weight: 600;
} }
} }
.footer-panel { .footer-panel {
...@@ -366,15 +377,22 @@ export default { ...@@ -366,15 +377,22 @@ export default {
box-sizing: border-box; box-sizing: border-box;
padding: 40px 0; padding: 40px 0;
} }
::-webkit-scrollbar {
/*滚动条整体样式*/
width: 6px;
height: 4px;
}
::-webkit-scrollbar-thumb { .model-item-empty {
/*滚动条里面小方块*/ height: 200px;
border-radius: 4px; > img {
background-color: rgba(144, 147, 153, 0.3); display: block;
margin: 50px auto 0px;
width: 60px;
height: auto;
}
.empty-item {
text-align: center;
font-size: 14px;
font-weight: 400;
color: #000000;
line-height: 22px;
margin-bottom: 30px;
}
} }
</style> </style>
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
grid: { grid: {
x: 120, x: 120,
y: 0, y: 0,
x2: 50, x2: 20,
y2: 0 y2: 0
}, },
series: [ series: [
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
{ {
name: '券类营销', name: '券类营销',
type: 'pie', type: 'pie',
radius: '50%', radius: '70%',
label: { label: {
formatter: '{b}\n \n{c} 张' formatter: '{b}\n \n{c} 张'
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!