Commit c8079f28 by 李伟康

修复BUG

1 parent 5b91a263
...@@ -12,19 +12,19 @@ let cfg = require('./conf.js') ...@@ -12,19 +12,19 @@ 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(common) { export const fetchConfig = function (common) {
// 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 new Http().get('https://oss-config.dev.glsx.com.cn/mock/62ecda0909756a6f4f85cf9a/outbound/config') // return new Http().get('https://oss-config.dev.glsx.com.cn/mock/62ecda0909756a6f4f85cf9a/outbound/config')
// let params = { moduleName: 'outbound', mockUrl: 'https://oss-config.test.glsx.com.cn/mock/62fe2a36abac6ff6ac239d3c/outbound/config',httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } } let params = { moduleName: 'outbound', mockUrl: 'https://oss-config.test.glsx.com.cn/mock/62fe2a36abac6ff6ac239d3c/outbound/config', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
// console.log(common.utils.getConfig(params)) console.log(common.utils.getConfig(params))
// return common.utils.getConfig(params) return common.utils.getConfig(params)
} }
export const config = { export const config = {
install(vue, cfg) { install (vue, cfg) {
vue.prototype.$config = cfg vue.prototype.$config = cfg
} }
} }
...@@ -21,9 +21,8 @@ ...@@ -21,9 +21,8 @@
:remote-method="remoteMethod" :remote-method="remoteMethod"
v-reachbottom="onReachBottom" v-reachbottom="onReachBottom"
@focus="selectFocus" @focus="selectFocus"
:loading="loading" :loading="merchantObj.loading"
:disabled="disabled" :disabled="disabled"
@change="change"
> >
<el-option <el-option
v-for="item in merchantObj.data" v-for="item in merchantObj.data"
...@@ -158,15 +157,7 @@ export default { ...@@ -158,15 +157,7 @@ export default {
groupLimitList: [], groupLimitList: [],
relayLotteryId: '', relayLotteryId: '',
isEdit: false, isEdit: false,
disabled: false, disabled: false
merchantObj: {
nothing: false,
data: [],
currentPage: 1,
name: '',
loading: false,
total: 0
}
} }
}, },
...@@ -237,7 +228,7 @@ export default { ...@@ -237,7 +228,7 @@ export default {
confId: data.merchantId, confId: data.merchantId,
confName: data.merchantName confName: data.merchantName
}] }]
let description = decodeURIComponent(data.description), let description = data.description,
endTimeType = 0, endTimeType = 0,
numWin = data.numWin, numWin = data.numWin,
endTime = data.endTime, endTime = data.endTime,
......
...@@ -94,6 +94,9 @@ export default { ...@@ -94,6 +94,9 @@ export default {
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
padding: 10px 0 7px; padding: 10px 0 7px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
&:hover { &:hover {
opacity: 0.95; opacity: 0.95;
......
...@@ -198,10 +198,14 @@ export default { ...@@ -198,10 +198,14 @@ export default {
line-height: 28px; line-height: 28px;
} }
.content-box { .content-box {
display: grid; display: flex;
grid-template-columns: repeat(3, 1fr); flex-wrap: wrap;
gap: 16px; gap: 16px;
margin-top: 5px; margin-top: 5px;
.item{
width: calc(33.33% - 16px);
}
} }
.nothing { .nothing {
display: flex; display: flex;
......
...@@ -81,6 +81,9 @@ export default { ...@@ -81,6 +81,9 @@ export default {
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
padding: 10px 0 7px; padding: 10px 0 7px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
&:hover { &:hover {
opacity: 0.95; opacity: 0.95;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!