Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
566fcb2f
Commit
566fcb2f
authored
Aug 17, 2020
by
石家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sjx
parent
e41f2694
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
9 deletions
+33
-9
pages/CardSend/CardSend.scss
pages/CardSend/CardSend.scss
+11
-2
pages/CardSend/CardSend.vue
pages/CardSend/CardSend.vue
+22
-7
No files found.
pages/CardSend/CardSend.scss
View file @
566fcb2f
...
...
@@ -264,10 +264,11 @@
.text
{
font-size
:
32upx
;
margin-top
:
20upx
;
}
.prcie
{
font-size
:
60upx
;
font-size
:
40upx
;
margin-top
:
10upx
;
}
}
...
...
@@ -346,4 +347,12 @@
bottom
:
-20px
;
}
}
}
.xiayiye
{
width
:
100%
;
text-align
:
center
;
}
.mb-20
{
margin-bottom
:
15upx
;
}
\ No newline at end of file
pages/CardSend/CardSend.vue
View file @
566fcb2f
...
...
@@ -169,7 +169,7 @@
<view>
<text
class=
"bj pr-10"
@
tap=
"detailsFun(item)"
>
编辑
</text>
<view
class=
"text"
>
优惠
</view>
<view
class=
"prcie"
>
{{
item
.
money
}}
元
</view>
<view
class=
"prcie
mb-20
"
>
{{
item
.
money
}}
元
</view>
<text
class=
"bj pr-10"
@
tap=
"deleteFun(item)"
>
删除
</text>
</view>
</view>
...
...
@@ -185,7 +185,7 @@
<!-- 选择参与活动的商品的弹出 -->
<!-- 底部分享弹窗 -->
<uni-popup
:show=
"showshare"
:type=
"type"
@
change=
"change"
>
<uni-popup
:show=
"showshare"
style=
"z-index: 99;"
:type=
"type"
@
change=
"change"
>
<view
class=
"childboxmain"
>
<view
class=
"titlebox flex ali-c jus-b"
>
<view
class=
"title"
>
选择参与优惠的商品
</view>
...
...
@@ -205,6 +205,7 @@
</view>
</label>
</checkbox-group>
<view
class=
"xiayiye title"
@
tap=
"shop_goodsFun"
v-if=
"xianshi"
>
下一页>>>
</view>
</view>
</scroll-view>
<view
class=
"submitbtns active"
@
tap=
"showshare=false"
>
确定
</view>
...
...
@@ -250,6 +251,7 @@
},
data
()
{
return
{
xianshi
:
true
,
istruesub
:
true
,
tabactive
:
1
,
showshare
:
false
,
//弹窗
...
...
@@ -294,6 +296,7 @@
cardlist
:[],
//已发的卡券
isallshow
:
false
,
page
:
0
,
pages
:
0
,
};
},
onLoad
(){
...
...
@@ -305,7 +308,7 @@
//滚动到最底部
onReachBottom
(){
console
.
log
(
"
11
"
);
this
.
shop_goodsFun
();
if
(
!
this
.
isallshow
&&
this
.
tabactive
==
2
){
this
.
shop_couponFun
();
}
...
...
@@ -341,10 +344,12 @@
//获取商城商品
async
shop_goodsFun
(){
this
.
pages
++
;
let
res
=
await
couponGoods
({
page
:
this
.
pages
,
});
if
(
res
.
code
==
0
){
let
list
=
res
.
data
;
list
.
map
((
item
,
index
)
=>
{
if
(
item
.
goods_id
){
...
...
@@ -360,11 +365,21 @@
item
.
checked
=
false
;
return
item
;
})
this
.
shoplist
=
list
;
// this.shoplist = list;
if
(
res
.
code
==
0
){
if
(
list
.
length
!=
0
){
this
.
shoplist
=
[...
this
.
shoplist
,...
list
];
}
else
{
this
.
$api
.
msg
(
"
没有更多了~
"
);
this
.
isallshow
=
true
;
this
.
xianshi
=
false
;
}
}
else
{
this
.
parameter
.
range_type
=
1
;
//
this.$api.msg(res.msg);
this
.
$api
.
msg
(
res
.
msg
);
}
},
//coupons 商户发放卡券 提交发放卡券的方法 submit
...
...
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