Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 5dbef74e
authored
Feb 15, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
生产mock
1 parent
91c0a261
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
8 deletions
src/components/selectSingleProDialog/index.vue
src/config/index.js
src/views/seckillActivity/editCrowdFund.vue
src/components/selectSingleProDialog/index.vue
View file @
5dbef74
...
...
@@ -11,7 +11,11 @@
@onOk="handleSingleSelectConfirm"
@onCancel="handleSingleSelectClose"
>
<div
style=
"max-height:60vh"
>
<div
class=
"single-pro-box"
v-loading=
"loading"
>
<div
class=
"noproDiv"
v-if=
"!productList.length && fnCallBack"
...
...
@@ -113,7 +117,8 @@ export default {
minRatilPrice
:
''
,
productList
:
[],
fnCallBack
:
false
,
infoIdList
:
[]
infoIdList
:
[],
loading
:
true
}
},
...
...
@@ -157,6 +162,7 @@ export default {
}
var
that
=
this
this
.
$apis
.
common
.
getMerchantGoodsListApi
(
params
).
then
(
res
=>
{
this
.
loading
=
false
// console.log(res)
this
.
fnCallBack
=
true
this
.
productList
=
res
.
list
...
...
@@ -238,6 +244,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
>
.single-pro
.pro-group
{
margin-left
:
50px
;
.el-checkbox__input
{
...
...
@@ -248,6 +255,11 @@ export default {
padding-left
:
0
!important
;
}
}
.single-pro-box
{
min-height
:
20vh
;
max-height
:
60vh
;
transition
:
all
.25s
;
}
.single-pro
.pro-box
{
width
:
202px
;
border
:
1px
solid
#e5e5e5
;
...
...
@@ -271,8 +283,9 @@ export default {
right
:
10px
;
width
:
32px
;
height
:
32px
;
line-height
:
1
;
}
.icon-number
{
.icon-number
{
background-color
:
#5850ff
;
color
:
#fff
;
display
:
flex
;
...
...
@@ -303,6 +316,8 @@ export default {
.single-pro
.txt-box
{
padding
:
10px
10px
0
;
color
:
#666666
;
width
:
202px
;
box-sizing
:
border-box
;
}
.single-pro
.ellipsis
{
white-space
:
nowrap
;
...
...
src/config/index.js
View file @
5dbef74
...
...
@@ -19,8 +19,8 @@ export const fetchConfig = function(isEnv = true) {
// return Promise.resolve(cfg)
// }
//return window.fetch('https://', {}).then(res => res.json())
return
new
Http
().
get
(
'https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config'
)
//
return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config')
//
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config')
return
new
Http
().
get
(
'https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config'
)
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
5dbef74
...
...
@@ -1487,7 +1487,6 @@ export default {
],
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
,
isClear
:
true
,
isHide
:
true
},
...
...
@@ -1504,7 +1503,6 @@ export default {
optionList
:
utils
.
deepClone
(
businessType
),
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
,
isClear
:
true
// isHide: true
},
{
...
...
@@ -2468,10 +2466,10 @@ export default {
}
goodsList
.
map
(
e
=>
{
if
(
i
.
id
==
e
.
goodsId
)
arr
[
index
]
=
{
...
arr
[
index
],
activityPrice
:
e
.
activityPrice
,
activityGoodsStock
:
e
.
goodsStock
,
crowdFundingPrice
:
e
.
crowdFundingPrice
,
...
arr
[
index
]
}
})
})
...
...
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