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
Hide 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')
import
{
Http
}
from
'glsx-common'
let
timeout
=
30000
//超时时间
export
const
fetchConfig
=
function
(
common
)
{
export
const
fetchConfig
=
function
(
common
)
{
// if (isEnv) {
let
{
request
}
=
cfg
Object
.
assign
(
request
,
{
timeout
})
return
Promise
.
resolve
(
cfg
)
//
let { request } = cfg
//
Object.assign(request, { timeout })
//
return Promise.resolve(cfg)
// }
// 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 } } }
//
console.log(common.utils.getConfig(params))
//
return common.utils.getConfig(params)
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
))
return
common
.
utils
.
getConfig
(
params
)
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
vue
.
prototype
.
$config
=
cfg
}
}
src/views/solitaire/add.vue
View file @
c8079f2
...
...
@@ -21,9 +21,8 @@
:remote-method=
"remoteMethod"
v-reachbottom=
"onReachBottom"
@
focus=
"selectFocus"
:loading=
"loading"
:loading=
"
merchantObj.
loading"
:disabled=
"disabled"
@
change=
"change"
>
<el-option
v-for=
"item in merchantObj.data"
...
...
@@ -158,15 +157,7 @@ export default {
groupLimitList
:
[],
relayLotteryId
:
''
,
isEdit
:
false
,
disabled
:
false
,
merchantObj
:
{
nothing
:
false
,
data
:
[],
currentPage
:
1
,
name
:
''
,
loading
:
false
,
total
:
0
}
disabled
:
false
}
},
...
...
@@ -237,7 +228,7 @@ export default {
confId
:
data
.
merchantId
,
confName
:
data
.
merchantName
}]
let
description
=
d
ecodeURIComponent
(
data
.
description
)
,
let
description
=
d
ata
.
description
,
endTimeType
=
0
,
numWin
=
data
.
numWin
,
endTime
=
data
.
endTime
,
...
...
src/views/solitaire/components/CouponItem.vue
View file @
c8079f2
...
...
@@ -94,6 +94,9 @@ export default {
font-size
:
14px
;
color
:
#333333
;
padding
:
10px
0
7px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
&
:hover
{
opacity
:
0.95
;
...
...
src/views/solitaire/components/PrizeBox.vue
View file @
c8079f2
...
...
@@ -198,10 +198,14 @@ export default {
line-height
:
28px
;
}
.content-box
{
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
)
;
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
16px
;
margin-top
:
5px
;
.item{
width
:
calc
(
33.33%
-
16px
);
}
}
.nothing
{
display
:
flex
;
...
...
src/views/solitaire/components/RedEnvelopeItem.vue
View file @
c8079f2
...
...
@@ -81,6 +81,9 @@ export default {
font
-
size
:
14
px
;
color
:
#
333333
;
padding
:
10
px
0
7
px
;
white
-
space
:
nowrap
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
}
&
:
hover
{
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