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
5edbb49b
Commit
5edbb49b
authored
May 14, 2020
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sss
parent
1f6ae507
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
907 additions
and
2 deletions
+907
-2
pages.json
pages.json
+6
-0
pages/CardSend/CardSend.scss
pages/CardSend/CardSend.scss
+347
-0
pages/CardSend/CardSend.vue
pages/CardSend/CardSend.vue
+516
-0
utils/api/coupon.js
utils/api/coupon.js
+36
-0
utils/debug.js
utils/debug.js
+2
-2
No files found.
pages.json
View file @
5edbb49b
...
...
@@ -341,6 +341,12 @@
//机型列表
"navigationBarTitleText"
:
"开启操作教程"
}
},
{
"path"
:
"pages/CardSend/CardSend"
,
"style"
:
{
"navigationBarTitleText"
:
"卡券发放"
}
}
...
...
pages/CardSend/CardSend.scss
0 → 100644
View file @
5edbb49b
//卡券发放的样式
.CardSend
{
min-height
:
100vh
;
background
:
#F5F2F2
;
}
.cardhead
{
height
:
88upx
;
line-height
:
88upx
;
background
:rgba
(
255
,
255
,
255
,
1
)
;
position
:
relative
;
z-index
:
3
;
.tabitems
{
text-align
:
center
;
.titles
{
font-size
:
30upx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
display
:
inline-block
;
}
//选中的状态
&
.active
{
.titles
{
border-bottom
:
2px
solid
#FF6900
;
}
}
}
}
//tab end
//list
.inoutlist
{
margin
:
0
24upx
;
margin-top
:
20upx
;
border-radius
:
14upx
;
.inputitem
{
border-bottom
:
1px
solid
#f1f1f1
;
height
:
99upx
;
line-height
:
99upx
;
background
:rgba
(
255
,
255
,
255
,
1
)
;
//border-radius:14upx 14upx 0px 0px;
padding
:
0
20upx
;
.names
{
font-size
:
30upx
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
min-width
:
286upx
;
}
.inputs
{
height
:
99upx
;
line-height
:
99upx
;
//padding-left: 136upx;
color
:
#000000
;
font-size
:
30upx
;
}
.plclass
{
color
:
#B6B6B6
;
}
}
.inputitem
:nth-child
(
1
)
{
border-radius
:
14upx
14upx
0px
0px
;
}
.inputitem
:nth-last-child
(
1
)
{
border
:
0
;
}
}
//发放范围
.Range
{
background
:rgba
(
255
,
255
,
255
,
1
)
;
margin
:
0
24upx
;
margin-bottom
:
0
;
padding
:
0
20upx
;
//height:165upx;
.title
{
padding-top
:
35upx
;
padding-bottom
:
35upx
;
font-size
:
30upx
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
}
.chilidlistbox
{
margin-bottom
:
37upx
;
width
:
100%
;
.itemname
{
font-size
:
28upx
;
color
:rgba
(
178
,
178
,
178
,
1
)
;
}
.mr_130
{
margin-right
:
98upx
;
}
}
}
.Range1
{
margin-top
:
20upx
;
border-bottom
:
1px
solid
#f1f1f1
;
}
//时间选择
.timeboxs
{
margin
:
20upx
24upx
;
padding
:
0
20upx
;
height
:
99upx
;
background
:rgba
(
255
,
255
,
255
,
1
)
;
border-radius
:
0px
0px
14upx
14upx
;
.title
{
font-size
:
30upx
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
}
.inputbox
{
position
:
relative
;
width
:
250upx
;
height
:
72upx
;
border
:
1px
solid
rgba
(
181
,
181
,
181
,
1
);
margin-left
:
20upx
;
.jiantouicon
{
position
:
absolute
;
top
:
12px
;
right
:
12px
;
width
:
34upx
;
height
:
20upx
;
}
.inputs
{
width
:
250upx
;
height
:
72upx
;
line-height
:
72upx
;
padding-left
:
10upx
;
font-size
:
30upx
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
}
}
}
//提交的按钮
.submitbtns
{
margin
:
0
24upx
;
margin-top
:
60upx
;
height
:
88upx
;
line-height
:
88upx
;
text-align
:
center
;
background
:rgba
(
254
,
197
,
156
,
1
)
;
border-radius
:
6upx
;
font-size
:
32upx
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
}
.submitbtns.active
{
background
:
#FF6900
;
}
//弹窗内容 选择参与优惠的商品bg
.childboxmain
{
background
:
#FFFFFF
;
padding
:
0
24upx
;
padding-bottom
:
55upx
;
border-top-left-radius
:
7px
;
border-top-right-radius
:
7px
;
.title
{
font-size
:
30upx
;
font-family
:
PingFang
SC
;
font-weight
:bold
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
}
.titlebox
{
margin-bottom
:
50upx
;
padding-top
:
37upx
;
.imgs
{
width
:
29upx
;
height
:
29upx
;
}
}
.chindlist
{
.chilidlistbox
{
.itemlable
{
margin-bottom
:
46upx
;
//margin-right: 30upx;
}
.itemname
{
font-size
:
30upx
;
color
:rgba
(
0
,
0
,
0
,
1
)
;
margin-right
:
20upx
;
}
.checkbox
{
//margin-right: 8upx;
}
}
}
}
//已发的卡券
.yfcardlist
{
margin
:
0
24upx
;
margin-top
:
20upx
;
padding-bottom
:
40upx
;
.yfcardItem
{
height
:
265upx
;
width
:
698upx
;
margin-bottom
:
20upx
;
.cardleft
{
position
:
relative
;
width
:
500upx
;
background
:
#EF612E
;
padding-left
:
30upx
;
padding-top
:
26upx
;
}
.cardleft
:after
,
.cardright
:after
{
content
:
''
;
display
:
block
;
width
:
15px
;
height
:
100%
;
height
:
265upx
;
background-size
:
17px
11px
;
background-repeat
:
repeat-y
;
background-image
:
-o-radial-gradient
(
#F5F2F2
8px
,
transparent
8px
);
background-image
:
radial-gradient
(
#F5F2F2
8px
,
transparent
8px
);
position
:
absolute
;
}
.cardleft
:after
{
top
:
0
;
left
:
-12px
;
}
.cardright
:after
{
top
:
0
;
right
:
-12px
;
}
.cardright
{
position
:
relative
;
width
:
198upx
;
padding-right
:
10upx
;
background
:
#EF612E
;
border-left
:
2px
dashed
#FFFFFF
;
font-weight
:
bold
;
text-align
:
center
;
color
:
#FFFFFF
;
.text
{
font-size
:
32upx
;
}
.prcie
{
font-size
:
60upx
;
}
}
//优惠券里面的内容
.kaiguanbox
{
.leftkai
{
.name
{
font-size
:
32upx
;
font-family
:
PingFang
SC
;
font-weight
:bold
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
}
.status
{
font-size
:
22upx
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
}
}
.kaiguan
{
margin-right
:
40upx
;
.kgitem
{
font-size
:
24upx
;
width
:
97upx
;
height
:
51upx
;
color
:
#FFFFFF
;
border
:
2px
solid
rgba
(
255
,
255
,
255
,
1
);
background
:
#EF612E
;
border-radius
:
4upx
0px
0px
4upx
;
}
.guan
{
color
:rgba
(
255
,
255
,
255
,
1
)
;
border
:
2px
solid
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
0px
4upx
4upx
0px
;
}
.active
{
background
:
#FFFFFF
;
color
:
#FF5212
;
}
}
}
.quaninfos
{
margin-top
:
25upx
;
.text
{
font-size
:
26upx
;
color
:
#FFFFFF
;
}
.bj
{
color
:
#007aff
;
}
}
//中间的圆点
.cardleft
:before
,
.cardright
:before
{
content
:
""
;
width
:
60upx
;
height
:
60upx
;
border-radius
:
50%
;
background
:
#F5F2F2
;
position
:
absolute
;
z-index
:
2
;
}
.cardleft
:before
{
right
:
-15px
;
top
:
-20px
;
}
.cardright
:before
{
left
:
-17px
;
bottom
:
-20px
;
}
}
}
\ No newline at end of file
pages/CardSend/CardSend.vue
0 → 100644
View file @
5edbb49b
This diff is collapsed.
Click to expand it.
utils/api/coupon.js
0 → 100644
View file @
5edbb49b
import
request
from
"
./../request.js
"
;
/**
* 请求接口封装
*
* noAuth false 是需要鉴权的 true 是不用鉴权的
*
* 商家助手的接口封装
*
*/
//已发放劵列表
export
function
couponList
(
data
)
{
return
request
.
post
(
"
Coupon/couponList
"
,
data
,{
noAuth
:
true
});
}
//开启/关闭优惠劵
export
function
closedCoupons
(
data
)
{
return
request
.
post
(
"
Coupon/closedCoupons
"
,
data
,{
noAuth
:
true
});
}
//店铺产品
export
function
couponGoods
(
data
)
{
return
request
.
post
(
"
Coupon/couponGoods
"
,
data
,{
noAuth
:
true
});
}
//添加修改优惠劵
export
function
addEditCoupons
(
data
)
{
return
request
.
post
(
"
Coupon/addEditCoupons
"
,
data
,{
noAuth
:
true
});
}
utils/debug.js
View file @
5edbb49b
...
...
@@ -2,8 +2,8 @@
//环境变量 这个是 鹿马商家助手的 商家助手的~~~~
module
.
exports
=
{
//是否为开发调试环境 true为本地环境 false 为正式环境
//
isdebug:true,//测试
isdebug
:
false
,
//正式
isdebug
:
true
,
//测试
//
isdebug:false,//正式
xqdebug
:
false
,
//正式权限
// xqdebug:true,//发布审核权限 也是测试环境的 主要用于ios
...
...
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