Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
d845c043
Commit
d845c043
authored
Dec 12, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中奖列表
parent
2d9e1013
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
14 deletions
+17
-14
awardSet.vue
src/views/conference/award/awardSet.vue
+16
-13
prizeLists.vue
src/views/conference/prizeList/prizeLists.vue
+1
-1
No files found.
src/views/conference/award/awardSet.vue
View file @
d845c043
<
template
>
<
template
>
<div
class=
"app-container calendar-list-container"
>
<div
class=
"app-container calendar-list-container"
>
<div
class=
"online"
>
<
!--
<
div
class=
"online"
>
<h4>
参与活动奖励抽奖
</h4>
<h4>
参与活动奖励抽奖
</h4>
<table
border=
"1"
>
<table
border=
"1"
>
<tr>
<tr>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<td>
宫格9
</td>
<td>
宫格9
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
-->
<div
class=
"local"
>
<div
class=
"local"
>
<h4>
发布会现场奖品抽奖
</h4>
<h4>
发布会现场奖品抽奖
</h4>
<table
border=
"1"
>
<table
border=
"1"
>
...
@@ -358,18 +358,21 @@ export default {
...
@@ -358,18 +358,21 @@ export default {
}
else
{
}
else
{
if
(
data
.
data
.
localePrize
!=
''
){
if
(
data
.
data
.
localePrize
!=
''
){
data
.
data
.
localePrize
.
forEach
(
element
=>
{
data
.
data
.
localePrize
.
forEach
(
element
=>
{
if
(
!
element
.
goodsId
)
{
//
if (!element.goodsId) {
element
.
goodsId
=
''
//
element.goodsId = ''
}
//
}
if
(
!
element
.
totalStock
)
{
//
if (!element.totalStock) {
element
.
totalStock
=
''
//
element.totalStock = ''
}
//
}
if
(
!
element
.
dayMaxUse
)
{
//
if (!element.dayMaxUse) {
element
.
dayMaxUse
=
''
//
element.dayMaxUse = ''
}
//
}
});
});
}
}
console
.
log
(
this
.
table
);
this
.
table
=
data
.
data
.
localePrize
this
.
table
=
data
.
data
.
localePrize
console
.
log
(
this
.
table
);
}
}
})
})
},
},
...
@@ -491,13 +494,13 @@ li p:nth-child(7) {
...
@@ -491,13 +494,13 @@ li p:nth-child(7) {
.online
,
.online
,
.local
{
.local
{
width
:
49%
;
width
:
49%
;
display
:
inline-block
;
margin
:
0
auto
;
}
}
.online
{
.online
{
float
:
left
;
float
:
left
;
}
}
.local
{
.local
{
float
:
right
;
/* float: right; */
}
}
h4
{
h4
{
text-align
:
center
;
text-align
:
center
;
...
...
src/views/conference/prizeList/prizeLists.vue
View file @
d845c043
...
@@ -117,7 +117,7 @@ export default {
...
@@ -117,7 +117,7 @@ export default {
phone
:
null
,
phone
:
null
,
activityId
:
2
,
activityId
:
2
,
prizeType
:
null
,
prizeType
:
null
,
hasWinning
:
2
hasWinning
:
1
}
}
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment