Commit 0acfdb86 by 周子尧

Merge branch 'v1.2.0' of http://192.168.3.233:8090/saas/scrm-micro-marketing into v1.2.0

2 parents c73597b9 d9f8dcd4
......@@ -12,11 +12,11 @@ let cfg = require('./conf.js')
import { Http } from 'glsx-common'
let timeout = 30000 //超时时间
export const fetchConfig = function (isEnv = true) {
if (isEnv) {
let { request } = cfg
Object.assign(request, { timeout })
return Promise.resolve(cfg)
}
// if (isEnv) {
// let { request } = cfg
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
......
......@@ -140,7 +140,7 @@
</div>
</div>
<div v-if="form == 'customer'" class="statistics-ul">
<div class="statistics-li" style="margin: 42px 28px">
<div class="statistics-li">
<div class="statistics-number">
<span>{{ statistic.senderCustomerFailureCount }}</span>
人
......@@ -332,32 +332,42 @@ export default {
}
}
.statistics-info {
justify-content: space-around;
margin-top: 24px;
margin-left: 52px;
display: flex;
overflow-x: scroll;
.statistics-ul {
display: inline-block;
display: flex;
border-radius: 2px;
background-color: #f6f6ff;
border: 1px solid rgba(88, 80, 255, 0.8);
margin-right: 20px;
height: 142px;
&:last-child {
margin-right: 0;
}
}
.statistics-li {
display: inline-block;
// width: 142px;
position: relative;
color: #424242;
font-size: 14px;
text-align: center;
margin: 42px 35px;
max-width: 142px;
width: 142px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
&.statistics-border {
padding-right: 35 px;
margin-right: 0;
padding-right: 36px;
border-right: 1px solid #5850ff;
// border-right: 1px solid #5850ff;
&::after {
content: '';
display: inline-block;
position: absolute;
right: 0;
height: 58px;
border-right: 1px solid #5850ff;
}
}
.statistics-number {
margin-bottom: 12px;
......
......@@ -145,7 +145,7 @@ export default {
addHtml: 'effectiveType'
},
{
label: '使用原则',
label: '使用限制',
prop: 'useType',
addHtml: 'useType'
},
......@@ -347,7 +347,7 @@ export default {
count = count + 1
}
})
if (count == this.giftList.length || count == 0 || !val.length) {
if (count <= this.giftList.length || count == 0 || !val.length) {
this.selectedGiftList[this.activeName].list = []
}
val.forEach(item => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!