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