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
81132414
Commit
81132414
authored
Aug 19, 2020
by
石家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sjx
parent
bbe45d8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
9 deletions
+34
-9
pages/CardSend/CardSend.scss
pages/CardSend/CardSend.scss
+9
-0
pages/CardSend/CardSend.vue
pages/CardSend/CardSend.vue
+25
-9
No files found.
pages/CardSend/CardSend.scss
View file @
81132414
...
...
@@ -355,4 +355,13 @@
.mb-20
{
margin-bottom
:
15upx
;
}
.sousuo
{
flex
:
1
;
height
:
60upx
;
background
:rgba
(
179
,
179
,
179
,
0
.6
)
;
border-radius
:
30upx
;
padding
:
0
20upx
;
box-sizing
:
border-box
;
color
:
#3B4144
;
}
\ No newline at end of file
pages/CardSend/CardSend.vue
View file @
81132414
...
...
@@ -187,16 +187,18 @@
<!-- 底部分享弹窗 -->
<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>
<image
class=
"imgs"
@
tap=
"showshare=false"
src=
"/static/news/plicons.png"
mode=
""
></image>
<view
class=
"titlebox"
>
<view
class=
"ali-c jus-b"
style=
"margin-bottom: 20upx;"
>
<view
class=
"title"
>
选择参与优惠的商品
</view>
<image
class=
"imgs"
@
tap=
"showshare=false"
src=
"/static/news/plicons.png"
mode=
""
></image>
</view>
<input
class=
"sousuo"
@
input=
"onKeyInput"
placeholder=
"请输入搜索内容"
/>
</view>
<!-- scroll scroll-left="120" -->
<!-- @scroll="" -->
<scroll-view
class=
"scroll-view_H"
style=
"height: 50vh;"
scroll-y=
"true"
>
<view
class=
"chindlist "
>
<checkbox-group
class=
"flex ali-c flex-wrap chilidlistbox"
@
change=
"radioChange2"
v-model=
"parameter.goods_id"
>
<label
class=
"flex ali-c jus-b itemlable"
v-for=
"(item,index) in shoplist"
:key=
"index"
>
<view
class=
"itemname"
>
{{
item
.
product_name
}}
</view>
...
...
@@ -205,7 +207,8 @@
</view>
</label>
</checkbox-group>
<view
class=
"xiayiye title"
@
tap=
"shop_goodsFun"
v-if=
"xianshi"
>
下一页>>>
</view>
<view
class=
"xiayiye title"
@
tap=
"nextPage"
v-if=
"xianshi"
>
下一页>>>
</view>
<view
class=
"xiayiye title"
@
tap=
"nextPage"
v-else
>
没有更多了~
</view>
</view>
</scroll-view>
<view
class=
"submitbtns active"
@
tap=
"showshare=false"
>
确定
</view>
...
...
@@ -251,6 +254,7 @@
},
data
()
{
return
{
keywords
:
''
,
xianshi
:
true
,
istruesub
:
true
,
tabactive
:
1
,
...
...
@@ -315,7 +319,17 @@
},
methods
:{
// 搜索
onKeyInput
:
function
(
event
)
{
this
.
keywords
=
event
.
target
.
value
this
.
pages
=
0
;
this
.
shoplist
=
[];
this
.
shop_goodsFun
();
},
nextPage
:
function
(){
this
.
pages
++
;
this
.
shop_goodsFun
();
},
//取消编辑
colesedit
(){
this
.
parameter
=
{
...
...
@@ -343,10 +357,11 @@
//接口start
//获取商城商品
async
shop_goodsFun
(){
this
.
pages
++
;
async
shop_goodsFun
(
keywords
){
let
res
=
await
couponGoods
({
page
:
this
.
pages
,
keywords
:
this
.
keywords
});
...
...
@@ -369,8 +384,9 @@
if
(
res
.
code
==
0
){
if
(
list
.
length
!=
0
){
this
.
shoplist
=
[...
this
.
shoplist
,...
list
];
this
.
xianshi
=
true
;
}
else
{
this
.
$api
.
msg
(
"
没有更多了~
"
);
//
this.$api.msg("没有更多了~");
this
.
isallshow
=
true
;
this
.
xianshi
=
false
;
...
...
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