Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c8079f28
authored
Jan 23, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG
1 parent
5b91a263
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
22 deletions
src/config/index.js
src/views/solitaire/add.vue
src/views/solitaire/components/CouponItem.vue
src/views/solitaire/components/PrizeBox.vue
src/views/solitaire/components/RedEnvelopeItem.vue
src/config/index.js
View file @
c8079f2
...
@@ -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
}
}
}
}
src/views/solitaire/add.vue
View file @
c8079f2
...
@@ -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
=
d
ecodeURIComponent
(
data
.
description
)
,
let
description
=
d
ata
.
description
,
endTimeType
=
0
,
endTimeType
=
0
,
numWin
=
data
.
numWin
,
numWin
=
data
.
numWin
,
endTime
=
data
.
endTime
,
endTime
=
data
.
endTime
,
...
...
src/views/solitaire/components/CouponItem.vue
View file @
c8079f2
...
@@ -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
;
...
...
src/views/solitaire/components/PrizeBox.vue
View file @
c8079f2
...
@@ -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
,
1
fr
)
;
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
;
...
...
src/views/solitaire/components/RedEnvelopeItem.vue
View file @
c8079f2
...
@@ -81,6 +81,9 @@ export default {
...
@@ -81,6 +81,9 @@ export default {
font
-
size
:
14
px
;
font
-
size
:
14
px
;
color
:
#
333333
;
color
:
#
333333
;
padding
:
10
px
0
7
px
;
padding
:
10
px
0
7
px
;
white
-
space
:
nowrap
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
}
}
&
:
hover
{
&
:
hover
{
opacity
:
0.95
;
opacity
:
0.95
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment