Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
2237a5c7
Commit
2237a5c7
authored
Jun 29, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
632c9163
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
advmanager.vue
src/pages/activity/advmanager.vue
+4
-1
makeAd.vue
src/pages/activity/makeAd.vue
+1
-0
myadvert.vue
src/pages/activity/myadvert.vue
+2
-2
No files found.
src/pages/activity/advmanager.vue
View file @
2237a5c7
...
...
@@ -13,7 +13,7 @@
<q-btn
label=
"新增"
size=
"sm"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
@
click=
"add"
/>
</div>
<div
class=
"content"
>
<vueWaterfallEasy
:imgsArr=
"addatas"
@
scrollReachBottom=
"handleCurrentChange"
:maxCols=
'7'
:imgWidth=
'208'
:enablePullDownEvent=
'true'
>
<vueWaterfallEasy
:imgsArr=
"addatas"
ref=
"waterfall"
@
scrollReachBottom=
"handleCurrentChange"
:maxCols=
'7'
:imgWidth=
'208'
:enablePullDownEvent=
'true'
>
<template
slot-scope=
"props"
>
<span
class=
"money"
v-if=
"props.value.IsFee==1"
>
¥
{{
props
.
value
.
ChargeAmount
.
toFixed
(
2
)
}}
</span>
<span
class=
"free"
v-else
>
{{
$t
(
'advmanager.v_free'
)
}}
</span>
...
...
@@ -122,6 +122,9 @@ export default {
this
.
addatas
=
this
.
addatas
.
concat
(
res
.
Data
.
PageData
)
}
this
.
total
=
res
.
Data
.
Count
if
(
res
.
Data
.
PageData
.
length
==
0
)
{
this
.
$refs
.
waterfall
.
waterfallOver
()
}
}
})
...
...
src/pages/activity/makeAd.vue
View file @
2237a5c7
...
...
@@ -692,6 +692,7 @@
a
.
readAsDataURL
(
blob
)
},
handleCurrentChange
()
{
this
.
adMsg
.
pageIndex
++
this
.
pageIndex
++
this
.
getaddatas
(
1
)
},
...
...
src/pages/activity/myadvert.vue
View file @
2237a5c7
...
...
@@ -35,7 +35,7 @@ export default {
modelTeams
:[],
countrys
:[],
addatas
:[],
pageIndex
:
0
,
pageIndex
:
1
,
pageSize
:
15
,
total
:
0
,
msg
:{
...
...
@@ -74,7 +74,7 @@ export default {
},
getaddatas
(
type
){
if
(
type
==
0
){
this
.
pageIndex
=
0
this
.
pageIndex
=
1
}
let
msg
=
{
pageIndex
:
this
.
pageIndex
,
...
...
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