Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
iedgeMini
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09ebbb66
authored
Aug 25, 2025
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
commit
parent
b6e78200
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
6 deletions
unpackage/dist/build/mp-weixin/app.json
unpackage/dist/build/mp-weixin/pages/activity/ac618.js
unpackage/dist/build/mp-weixin/pages/activity/ac618.wxml
unpackage/dist/build/mp-weixin/pages/activity/ac618.wxss
unpackage/dist/build/mp-weixin/pages/activity/index.js
unpackage/dist/build/mp-weixin/pages/activity/index.json
unpackage/dist/build/mp-weixin/pages/activity/index.wxml
unpackage/dist/build/mp-weixin/pages/activity/index.wxss
unpackage/dist/build/mp-weixin/util/util.js
unpackage/dist/build/mp-weixin/app.json
View file @
09ebbb66
...
...
@@ -37,7 +37,8 @@
"pages/user/orderDetail"
,
"pages/user/orderPay"
,
"pages/user/orderPayLine"
,
"pages/activity/ac618"
"pages/activity/ac618"
,
"pages/activity/index"
],
"window"
:
{
"navigationBarTextStyle"
:
"black"
,
...
...
unpackage/dist/build/mp-weixin/pages/activity/ac618.js
View file @
09ebbb66
"use strict"
;
const
s
=
require
(
"../../common/vendor.js"
);
require
(
"../../util/api.js"
);
const
o
=
{
data
:()
=>
({
pageData
:
""
}),
onLoad
:
function
(
s
){
this
.
getData
()},
methods
:{
onConfirm
(
o
){
let
e
=
o
.
detail
.
value
;
e
.
length
<
2
?
s
.
index
.
showToast
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
s
.
index
.
navigateTo
({
url
:
"/pages/search/list?k="
+
e
})},
goUrl
(){
s
.
index
.
navigateTo
({
url
:
"/pages/search/nav"
})},
getData
(){
var
s
=
[];
s
.
push
({
title
:
"三防爆款"
,
items
:[{
goods_id
:
"1170289276946886404"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/c78b30j10hs0hs000000gk6ix8jly"
,
sku_name
:
"三防平板 EM-T195-HY2D"
,
sku_remark
:
"10.1英寸 | 8+128G | 安卓 | 二维码"
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"2850"
,
price_cn
:
"2350"
,
price_diff
:
"500"
}]}]}),
s
.
push
({
title
:
"大牌工控秒杀"
,
items
:[{
goods_id
:
"1173745419524408237"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/c14f20j10hs0hs000000lgjyf6gj7"
,
sku_name
:
"研华工控机 IPC610L-505G2"
,
sku_remark
:
"6代i5处理器 | DDR4 8G | HDD 1T"
,
goods_tag
:{
goods_tag_names
:[
"客制化"
,
"原厂正品"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"4999"
,
price_cn
:
"5999"
,
price_diff
:
"1000"
}]}]}),
s
.
push
({
title
:
"PDA立减300"
,
items
:[{
goods_id
:
"1174131661288254315"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/444850j10hs0hs000000hvgbk47tk"
,
sku_name
:
"优博讯 PDA DT50X"
,
sku_remark
:
"5.5英寸 | 4+64G | 安卓11 | NFC"
,
goods_tag
:{
goods_tag_names
:[
"3年质保"
,
"专票"
,
"顺丰"
,
"防水防摔"
]},
ladder_price
:[{
price_ac
:
"1699"
,
price_cn
:
"1999"
,
price_diff
:
"300"
}]},{
goods_id
:
"1174131661289122442"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/3accd0j10hs0hs000000ix57h41uw"
,
sku_name
:
"优博讯 PDA i6310Pro(4+64G)"
,
sku_remark
:
"5.5英寸 | 4+64G | 安卓12 | NFC"
,
goods_tag
:{
goods_tag_names
:[
"3年质保"
,
"专票"
,
"顺丰"
,
"防水防摔"
]},
ladder_price
:[{
price_ac
:
"1614"
,
price_cn
:
"1899"
,
price_diff
:
"285"
}]},{
goods_id
:
"1172724814288805963"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/5ef140j10hs0hs000000hxjslqx47"
,
sku_name
:
"东集 PDA CRUISE Ge2"
,
sku_remark
:
"5.5英寸 | 4+64G | 安卓11| NFC "
,
goods_tag
:{
goods_tag_names
:[
"1年质保"
,
"专票"
,
"顺丰"
,
"防水防摔"
]},
ladder_price
:[{
price_ac
:
"1599"
,
price_cn
:
"1899"
,
price_diff
:
"300"
}]}]}),
s
.
push
({
title
:
"读码器8折"
,
items
:[{
goods_id
:
"1172017382089346040"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/d9d1c0j10hs0hs000001ettyhb422"
,
sku_name
:
"工业手持读码器"
,
sku_remark
:
"4mil精度 | 1280×1024 | 4.9mm焦距 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"492"
,
price_cn
:
"615"
,
price_diff
:
"123"
}]},{
goods_id
:
"1173391395374975834"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/591860j10hs0hs0000014hj4ks9mk"
,
sku_name
:
"130万NR红光读码器"
,
sku_remark
:
"50fps | 1024×1280 | 30个码/秒 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"704"
,
price_cn
:
"880"
,
price_diff
:
"176"
}]},{
goods_id
:
"1173391396428222830"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/ed0a80j10hs0hs000000h4y1qynmo"
,
sku_name
:
"130W分辨率智能读码器"
,
sku_remark
:
"60fps | 1280×1024 | 84个码/秒 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"2514"
,
price_cn
:
"3143"
,
price_diff
:
"629"
}]},{
goods_id
:
"1173391397144422991"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/95b670j10hs0hs000001hmqtx9ekm"
,
sku_name
:
"600万像素工业读码器"
,
sku_remark
:
"30fps | 3072×2048 | 90个码/秒 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"3799"
,
price_cn
:
"4749"
,
price_diff
:
"950"
}]}]}),
s
.
push
({
title
:
"数采卡特价"
,
items
:[{
goods_id
:
"1169926442808688467"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/aa7020j10hs0hs000002gqpry7tue"
,
sku_name
:
"凌华数采卡PCI-9112"
,
sku_remark
:
"16CH | 12bit | 110kS/s | PCI "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"3290"
,
price_cn
:
"4750"
,
price_diff
:
"1460"
}]},{
goods_id
:
"1170175563836678220"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/5115a0j10hs0hs000002uc1fr66ia"
,
sku_name
:
"凌华数字化仪PCIE-9834"
,
sku_remark
:
"4CH | 16bit | 80MS/s | PCle "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"17260"
,
price_cn
:
"25500"
,
price_diff
:
"8240"
}]},{
goods_id
:
"1169899820982184307"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/8f4c20j10hs0hs000001wsyjt7zzz"
,
sku_name
:
"凌华GPIB卡LPCI-3488A"
,
sku_remark
:
"IEEE-488 | 1.5MB/s | PCI "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"1700"
,
price_cn
:
"2750"
,
price_diff
:
"1050"
}]},{
goods_id
:
"1170175563844466642"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/41fe40j10hs0hs000001lhecstajk"
,
sku_name
:
"凌华数采卡USB-1902"
,
sku_remark
:
"16CH | 16bit | 250kS/s | USB "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"5990"
,
price_cn
:
"8900"
,
price_diff
:
"2910"
}]}]}),
this
.
pageData
=
s
}},
components
:{
barX
:()
=>
"../../components/barx.js"
,
searchHead
:()
=>
"../../components/search_head.js"
,
bottomNav
:()
=>
"../../components/bottom_nav.js"
}};
if
(
!
Array
){(
s
.
resolveComponent
(
"barX"
)
+
s
.
resolveComponent
(
"searchHead"
)
+
s
.
resolveComponent
(
"bottomNav"
))()}
const
e
=
s
.
_export_sfc
(
o
,[[
"render"
,
function
(
o
,
e
,
a
,
i
,
_
,
g
){
return
s
.
e
({
a
:
s
.
o
(
g
.
onConfirm
),
b
:
s
.
o
(
g
.
goUrl
),
c
:
_
.
pageData
},
_
.
pageData
?{
d
:
s
.
f
(
_
.
pageData
,((
o
,
e
,
a
)
=>
({
a
:
s
.
t
(
o
.
title
),
b
:
s
.
f
(
o
.
items
,((
o
,
e
,
a
)
=>
s
.
e
({
a
:
s
.
t
(
o
.
ladder_price
[
0
].
price_diff
),
b
:
o
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
c
:
s
.
t
(
o
.
sku_name
),
d
:
o
.
goods_tag
&&
o
.
goods_tag
.
goods_tag_names
&&
o
.
goods_tag
.
goods_tag_names
.
length
>
0
},
o
.
goods_tag
&&
o
.
goods_tag
.
goods_tag_names
&&
o
.
goods_tag
.
goods_tag_names
.
length
>
0
?{
e
:
s
.
f
(
o
.
goods_tag
.
goods_tag_names
,((
o
,
e
,
a
)
=>
({
a
:
s
.
t
(
o
),
b
:
e
})))}:{},{
f
:
s
.
t
(
o
.
sku_remark
),
g
:
s
.
t
(
o
.
ladder_price
[
0
].
price_ac
),
h
:
s
.
t
(
o
.
ladder_price
[
0
].
price_cn
),
i
:
"/pages/goods/detail?goods_id="
+
o
.
goods_id
,
j
:
e
}))),
c
:
e
})))}:{},{
e
:
s
.
p
({
actval
:
""
})})}],[
"__scopeId"
,
"data-v-ae49a68a"
]]);
wx
.
createPage
(
e
);
"use strict"
;
const
s
=
require
(
"../../common/vendor.js"
);
require
(
"../../util/api.js"
);
const
e
=
{
data
:()
=>
({
pageData
:
""
}),
onLoad
:
function
(
e
){
this
.
getData
(),
s
.
index
.
showToast
({
title
:
"该活动已结束~正在跳转首页"
,
duration
:
3
e3
,
icon
:
"none"
}),
setTimeout
((()
=>
{
s
.
index
.
navigateTo
({
url
:
"/pages/index/index"
})}),
3
e3
)},
methods
:{
onConfirm
(
e
){
let
o
=
e
.
detail
.
value
;
o
.
length
<
2
?
s
.
index
.
showToast
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
s
.
index
.
navigateTo
({
url
:
"/pages/search/list?k="
+
o
})},
goUrl
(){
s
.
index
.
navigateTo
({
url
:
"/pages/search/nav"
})},
getData
(){
var
s
=
[];
s
.
push
({
title
:
"三防爆款"
,
items
:[{
goods_id
:
"1170289276946886404"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/c78b30j10hs0hs000000gk6ix8jly"
,
sku_name
:
"三防平板 EM-T195-HY2D"
,
sku_remark
:
"10.1英寸 | 8+128G | 安卓 | 二维码"
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"2850"
,
price_cn
:
"2350"
,
price_diff
:
"500"
}]}]}),
s
.
push
({
title
:
"大牌工控秒杀"
,
items
:[{
goods_id
:
"1173745419524408237"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/c14f20j10hs0hs000000lgjyf6gj7"
,
sku_name
:
"研华工控机 IPC610L-505G2"
,
sku_remark
:
"6代i5处理器 | DDR4 8G | HDD 1T"
,
goods_tag
:{
goods_tag_names
:[
"客制化"
,
"原厂正品"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"4999"
,
price_cn
:
"5999"
,
price_diff
:
"1000"
}]}]}),
s
.
push
({
title
:
"PDA立减300"
,
items
:[{
goods_id
:
"1174131661288254315"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/444850j10hs0hs000000hvgbk47tk"
,
sku_name
:
"优博讯 PDA DT50X"
,
sku_remark
:
"5.5英寸 | 4+64G | 安卓11 | NFC"
,
goods_tag
:{
goods_tag_names
:[
"3年质保"
,
"专票"
,
"顺丰"
,
"防水防摔"
]},
ladder_price
:[{
price_ac
:
"1699"
,
price_cn
:
"1999"
,
price_diff
:
"300"
}]},{
goods_id
:
"1174131661289122442"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/3accd0j10hs0hs000000ix57h41uw"
,
sku_name
:
"优博讯 PDA i6310Pro(4+64G)"
,
sku_remark
:
"5.5英寸 | 4+64G | 安卓12 | NFC"
,
goods_tag
:{
goods_tag_names
:[
"3年质保"
,
"专票"
,
"顺丰"
,
"防水防摔"
]},
ladder_price
:[{
price_ac
:
"1614"
,
price_cn
:
"1899"
,
price_diff
:
"285"
}]},{
goods_id
:
"1172724814288805963"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/5ef140j10hs0hs000000hxjslqx47"
,
sku_name
:
"东集 PDA CRUISE Ge2"
,
sku_remark
:
"5.5英寸 | 4+64G | 安卓11| NFC "
,
goods_tag
:{
goods_tag_names
:[
"1年质保"
,
"专票"
,
"顺丰"
,
"防水防摔"
]},
ladder_price
:[{
price_ac
:
"1599"
,
price_cn
:
"1899"
,
price_diff
:
"300"
}]}]}),
s
.
push
({
title
:
"读码器8折"
,
items
:[{
goods_id
:
"1172017382089346040"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/d9d1c0j10hs0hs000001ettyhb422"
,
sku_name
:
"工业手持读码器"
,
sku_remark
:
"4mil精度 | 1280×1024 | 4.9mm焦距 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"492"
,
price_cn
:
"615"
,
price_diff
:
"123"
}]},{
goods_id
:
"1173391395374975834"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/591860j10hs0hs0000014hj4ks9mk"
,
sku_name
:
"130万NR红光读码器"
,
sku_remark
:
"50fps | 1024×1280 | 30个码/秒 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"704"
,
price_cn
:
"880"
,
price_diff
:
"176"
}]},{
goods_id
:
"1173391396428222830"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/ed0a80j10hs0hs000000h4y1qynmo"
,
sku_name
:
"130W分辨率智能读码器"
,
sku_remark
:
"60fps | 1280×1024 | 84个码/秒 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"2514"
,
price_cn
:
"3143"
,
price_diff
:
"629"
}]},{
goods_id
:
"1173391397144422991"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/95b670j10hs0hs000001hmqtx9ekm"
,
sku_name
:
"600万像素工业读码器"
,
sku_remark
:
"30fps | 3072×2048 | 90个码/秒 "
,
goods_tag
:{
goods_tag_names
:[
"原厂正品"
,
"顺丰包邮"
,
"1年质保"
]},
ladder_price
:[{
price_ac
:
"3799"
,
price_cn
:
"4749"
,
price_diff
:
"950"
}]}]}),
s
.
push
({
title
:
"数采卡特价"
,
items
:[{
goods_id
:
"1169926442808688467"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/aa7020j10hs0hs000002gqpry7tue"
,
sku_name
:
"凌华数采卡PCI-9112"
,
sku_remark
:
"16CH | 12bit | 110kS/s | PCI "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"3290"
,
price_cn
:
"4750"
,
price_diff
:
"1460"
}]},{
goods_id
:
"1170175563836678220"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/5115a0j10hs0hs000002uc1fr66ia"
,
sku_name
:
"凌华数字化仪PCIE-9834"
,
sku_remark
:
"4CH | 16bit | 80MS/s | PCle "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"17260"
,
price_cn
:
"25500"
,
price_diff
:
"8240"
}]},{
goods_id
:
"1169899820982184307"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/8f4c20j10hs0hs000001wsyjt7zzz"
,
sku_name
:
"凌华GPIB卡LPCI-3488A"
,
sku_remark
:
"IEEE-488 | 1.5MB/s | PCI "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"1700"
,
price_cn
:
"2750"
,
price_diff
:
"1050"
}]},{
goods_id
:
"1170175563844466642"
,
goods_images
:
"https://imgscdn.ichunt.com/show/origin/41fe40j10hs0hs000001lhecstajk"
,
sku_name
:
"凌华数采卡USB-1902"
,
sku_remark
:
"16CH | 16bit | 250kS/s | USB "
,
goods_tag
:{
goods_tag_names
:[
"专票"
,
"顺丰包邮"
,
"2年质保"
]},
ladder_price
:[{
price_ac
:
"5990"
,
price_cn
:
"8900"
,
price_diff
:
"2910"
}]}]}),
this
.
pageData
=
s
}},
components
:{
barX
:()
=>
"../../components/barx.js"
,
searchHead
:()
=>
"../../components/search_head.js"
,
bottomNav
:()
=>
"../../components/bottom_nav.js"
}};
if
(
!
Array
){(
s
.
resolveComponent
(
"barX"
)
+
s
.
resolveComponent
(
"searchHead"
)
+
s
.
resolveComponent
(
"bottomNav"
))()}
const
o
=
s
.
_export_sfc
(
e
,[[
"render"
,
function
(
e
,
o
,
i
,
a
,
_
,
t
){
return
s
.
e
({
a
:
s
.
o
(
t
.
onConfirm
),
b
:
s
.
o
(
t
.
goUrl
),
c
:
_
.
pageData
},
_
.
pageData
?{
d
:
s
.
f
(
_
.
pageData
,((
e
,
o
,
i
)
=>
({
a
:
s
.
t
(
e
.
title
),
b
:
s
.
f
(
e
.
items
,((
e
,
o
,
i
)
=>
s
.
e
({
a
:
s
.
t
(
e
.
ladder_price
[
0
].
price_diff
),
b
:
e
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
c
:
s
.
t
(
e
.
sku_name
),
d
:
e
.
goods_tag
&&
e
.
goods_tag
.
goods_tag_names
&&
e
.
goods_tag
.
goods_tag_names
.
length
>
0
},
e
.
goods_tag
&&
e
.
goods_tag
.
goods_tag_names
&&
e
.
goods_tag
.
goods_tag_names
.
length
>
0
?{
e
:
s
.
f
(
e
.
goods_tag
.
goods_tag_names
,((
e
,
o
,
i
)
=>
({
a
:
s
.
t
(
e
),
b
:
o
})))}:{},{
f
:
s
.
t
(
e
.
sku_remark
),
g
:
s
.
t
(
e
.
ladder_price
[
0
].
price_ac
),
h
:
s
.
t
(
e
.
ladder_price
[
0
].
price_cn
),
i
:
"/pages/goods/detail?goods_id="
+
e
.
goods_id
,
j
:
o
}))),
c
:
o
})))}:{},{
e
:
s
.
p
({
actval
:
""
})})}],[
"__scopeId"
,
"data-v-622dadc9"
]]);
wx
.
createPage
(
o
);
unpackage/dist/build/mp-weixin/pages/activity/ac618.wxml
View file @
09ebbb66
<view class="ac618Page data-v-ae49a68a"><bar-x class="data-v-ae49a68a" u-i="ae49a68a-0" bind:__l="__l"/><view class="fixed-tp data-v-ae49a68a"><search-head class="data-v-ae49a68a" bindconfirm="{{a}}" bindgoUrl="{{b}}" u-i="ae49a68a-1" bind:__l="__l"/></view><view class="headfg data-v-ae49a68a"></view><view wx:if="{{c}}" class="cons data-v-ae49a68a"><view wx:for="{{d}}" wx:for-item="item" wx:key="c" class="group data-v-ae49a68a"><view class="tit data-v-ae49a68a">{{item.a}}</view><navigator wx:for="{{item.b}}" wx:for-item="itemj" wx:key="j" class="data-v-ae49a68a" url="{{itemj.i}}"><view class="item row data-v-ae49a68a"><view class="tag data-v-ae49a68a"><view class="t data-v-ae49a68a">直降</view><view class="b row rowCenter verCenter data-v-ae49a68a"><text class="data-v-ae49a68a">¥</text><view class="data-v-ae49a68a">{{itemj.a}}</view></view></view><view class="imagebox data-v-ae49a68a"><image class="data-v-ae49a68a" src="{{itemj.b}}" mode="aspectFit"></image></view><view class="r data-v-ae49a68a"><view class="elep tiop data-v-ae49a68a">{{itemj.c}}</view><view class="row htagbox data-v-ae49a68a"><view wx:if="{{itemj.d}}" class="row data-v-ae49a68a"><view wx:for="{{itemj.e}}" wx:for-item="itemtag" wx:key="b" class="htagi data-v-ae49a68a">{{itemtag.a}}</view></view></view><view class="t-text elep2 data-v-ae49a68a">{{itemj.f}}</view><view class="pricebox row data-v-ae49a68a"><view class="acprice row verCenter data-v-ae49a68a"><text class="data-v-ae49a68a">¥</text><view class="data-v-ae49a68a">{{itemj.g}}</view><text class="data-v-ae49a68a">活动价</text></view><view class="rcprice row verCenter data-v-ae49a68a"><text class="data-v-ae49a68a">¥{{itemj.h}}</text><view class="data-v-ae49a68a">日常价</view></view></view></view></view></navigator></view></view><bottom-nav wx:if="{{e}}" class="data-v-ae49a68a" u-i="ae49a68a-2" bind:__l="__l" u-p="{{e}}"/></view>
\ No newline at end of file
<view class="ac618Page data-v-622dadc9"><bar-x class="data-v-622dadc9" u-i="622dadc9-0" bind:__l="__l"/><view class="fixed-tp data-v-622dadc9"><search-head class="data-v-622dadc9" bindconfirm="{{a}}" bindgoUrl="{{b}}" u-i="622dadc9-1" bind:__l="__l"/></view><view class="headfg data-v-622dadc9"></view><view wx:if="{{c}}" class="cons data-v-622dadc9"><view wx:for="{{d}}" wx:for-item="item" wx:key="c" class="group data-v-622dadc9"><view class="tit data-v-622dadc9">{{item.a}}</view><navigator wx:for="{{item.b}}" wx:for-item="itemj" wx:key="j" class="data-v-622dadc9" url="{{itemj.i}}"><view class="item row data-v-622dadc9"><view class="tag data-v-622dadc9"><view class="t data-v-622dadc9">直降</view><view class="b row rowCenter verCenter data-v-622dadc9"><text class="data-v-622dadc9">¥</text><view class="data-v-622dadc9">{{itemj.a}}</view></view></view><view class="imagebox data-v-622dadc9"><image class="data-v-622dadc9" src="{{itemj.b}}" mode="aspectFit"></image></view><view class="r data-v-622dadc9"><view class="elep tiop data-v-622dadc9">{{itemj.c}}</view><view class="row htagbox data-v-622dadc9"><view wx:if="{{itemj.d}}" class="row data-v-622dadc9"><view wx:for="{{itemj.e}}" wx:for-item="itemtag" wx:key="b" class="htagi data-v-622dadc9">{{itemtag.a}}</view></view></view><view class="t-text elep2 data-v-622dadc9">{{itemj.f}}</view><view class="pricebox row data-v-622dadc9"><view class="acprice row verCenter data-v-622dadc9"><text class="data-v-622dadc9">¥</text><view class="data-v-622dadc9">{{itemj.g}}</view><text class="data-v-622dadc9">活动价</text></view><view class="rcprice row verCenter data-v-622dadc9"><text class="data-v-622dadc9">¥{{itemj.h}}</text><view class="data-v-622dadc9">日常价</view></view></view></view></view></navigator></view></view><bottom-nav wx:if="{{e}}" class="data-v-622dadc9" u-i="622dadc9-2" bind:__l="__l" u-p="{{e}}"/></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/activity/ac618.wxss
View file @
09ebbb66
view.data-v-
ae49a68a,text.data-v-ae49a68a,input.data-v-ae49a68a,navigator.data-v-ae49a68a{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:text;user-select:text;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}body.data-v-ae49a68a,page.data-v-ae49a68a,view.data-v-ae49a68a,text.data-v-ae49a68a,scroll-view.data-v-ae49a68a{-webkit-user-select:text!important;user-select:text!important}.navigator-hover.data-v-ae49a68a{background:none;opacity:1}image.data-v-ae49a68a{vertical-align:middle}.elep.data-v-ae49a68a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elep2.data-v-ae49a68a{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.column.data-v-ae49a68a{display:flex;flex-direction:column}.row.data-v-ae49a68a{display:flex;flex-direction:row}.boxsiz.data-v-ae49a68a{box-sizing:border-box}.bothSide.data-v-ae49a68a{justify-content:space-between}.avarage.data-v-ae49a68a{justify-content:space-around}.rowCenter.data-v-ae49a68a{justify-content:center}.verCenter.data-v-ae49a68a{align-items:center}page.data-v-ae49a68a{background:#f5f6fa}.ac618Page.data-v-ae49a68a{padding-bottom:200rpx}.ac618Page .fixed-tp.data-v-ae49a68a{height:112rpx;position:fixed;top:175rpx;left:0rpx;right:0rpx;background:#fff;z-index:2}.ac618Page .headfg.data-v-ae49a68a{height:1024rpx;background:url(https://imgscdn.ichunt.com/show/origin/3bf7c0j20hs0hs0000081hkp49lj4) no-repeat;background-size:100% 100%}.ac618Page .group .tit.data-v-ae49a68a{font-size:65rpx;font-weight:700;color:#000;text-align:center;margin-top:100rpx;margin-bottom:60rpx}.ac618Page .group .item.data-v-ae49a68a{width:694rpx;background:#fff;box-shadow:0 3rpx 4rpx rgba(0,0,0,.3);border-radius:20rpx;border:1px solid rgba(0,0,0,.3);margin:0 auto;margin-bottom:60rpx;position:relative;box-sizing:border-box;padding:55rpx 31rpx 48rpx}.ac618Page .group .item .tag.data-v-ae49a68a{width:138rpx;height:89rpx;position:absolute;left:8rpx;top:-12rpx;background:url(https://imgscdn.ichunt.com/show/origin/649bf0j10hs0hs0000007m4qx7cay) no-repeat;background-size:100% 100%;padding-top:5px;box-sizing:border-box;z-index:1}.ac618Page .group .item .tag .t.data-v-ae49a68a{font-weight:700;font-size:15rpx;color:#fff;text-align:center}.ac618Page .group .item .tag .b.data-v-ae49a68a{font-weight:700;font-size:35rpx;color:#fff;letter-spacing:-2rpx}.ac618Page .group .item .tag .b text.data-v-ae49a68a{font-size:14rpx;position:relative;top:3px}.ac618Page .group .item image.data-v-ae49a68a,.ac618Page .group .item .imagebox.data-v-ae49a68a{width:198rpx;height:198rpx}.ac618Page .group .item .r.data-v-ae49a68a{margin-left:38rpx}.ac618Page .group .item .r .tiop.data-v-ae49a68a{width:380rpx;height:28rpx;line-height:28rpx;font-weight:700;font-size:30rpx;color:#191919;margin-bottom:8rpx;letter-spacing:-2rpx}.ac618Page .group .item .r .htagbox.data-v-ae49a68a{height:26rpx}.ac618Page .group .item .r .htagbox .htagi.data-v-ae49a68a{height:26rpx;background:rgba(255,219,213,.3);border-radius:5rpx;border:1px solid #D7393E;color:#d7393e;font-size:18rpx;text-align:center;margin-right:12rpx;padding:0 8rpx}.ac618Page .group .item .r .t-text.data-v-ae49a68a{height:60rpx;font-size:22rpx;line-height:30rpx;width:380rpx;color:#7f7f7f;margin-top:14rpx;margin-bottom:14rpx}.ac618Page .group .item .r .pricebox.data-v-ae49a68a{margin-top:22rpx}.ac618Page .group .item .r .pricebox .acprice.data-v-ae49a68a{color:#cf121b;font-size:20rpx}.ac618Page .group .item .r .pricebox .acprice text.data-v-ae49a68a{position:relative;top:2rpx}.ac618Page .group .item .r .pricebox .acprice view.data-v-ae49a68a{font-size:35rpx;font-weight:700}.ac618Page .group .item .r .pricebox .rcprice.data-v-ae49a68a{color:#7f7f7f;font-size:20rpx;margin-left:10rpx;position:relative;top:2rpx}.ac618Page .group .item .r .pricebox .rcprice text.data-v-ae49a68a
{text-decoration:line-through}
view.data-v-
622dadc9,text.data-v-622dadc9,input.data-v-622dadc9,navigator.data-v-622dadc9{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:text;user-select:text;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}body.data-v-622dadc9,page.data-v-622dadc9,view.data-v-622dadc9,text.data-v-622dadc9,scroll-view.data-v-622dadc9{-webkit-user-select:text!important;user-select:text!important}.navigator-hover.data-v-622dadc9{background:none;opacity:1}image.data-v-622dadc9{vertical-align:middle}.elep.data-v-622dadc9{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elep2.data-v-622dadc9{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.column.data-v-622dadc9{display:flex;flex-direction:column}.row.data-v-622dadc9{display:flex;flex-direction:row}.boxsiz.data-v-622dadc9{box-sizing:border-box}.bothSide.data-v-622dadc9{justify-content:space-between}.avarage.data-v-622dadc9{justify-content:space-around}.rowCenter.data-v-622dadc9{justify-content:center}.verCenter.data-v-622dadc9{align-items:center}page.data-v-622dadc9{background:#f5f6fa}.ac618Page.data-v-622dadc9{padding-bottom:200rpx}.ac618Page .fixed-tp.data-v-622dadc9{height:112rpx;position:fixed;top:175rpx;left:0rpx;right:0rpx;background:#fff;z-index:2}.ac618Page .headfg.data-v-622dadc9{height:1024rpx;background:url(https://imgscdn.ichunt.com/show/origin/3bf7c0j20hs0hs0000081hkp49lj4) no-repeat;background-size:100% 100%}.ac618Page .group .tit.data-v-622dadc9{font-size:65rpx;font-weight:700;color:#000;text-align:center;margin-top:100rpx;margin-bottom:60rpx}.ac618Page .group .item.data-v-622dadc9{width:694rpx;background:#fff;box-shadow:0 3rpx 4rpx rgba(0,0,0,.3);border-radius:20rpx;border:1px solid rgba(0,0,0,.3);margin:0 auto;margin-bottom:60rpx;position:relative;box-sizing:border-box;padding:55rpx 31rpx 48rpx}.ac618Page .group .item .tag.data-v-622dadc9{width:138rpx;height:89rpx;position:absolute;left:8rpx;top:-12rpx;background:url(https://imgscdn.ichunt.com/show/origin/649bf0j10hs0hs0000007m4qx7cay) no-repeat;background-size:100% 100%;padding-top:5px;box-sizing:border-box;z-index:1}.ac618Page .group .item .tag .t.data-v-622dadc9{font-weight:700;font-size:15rpx;color:#fff;text-align:center}.ac618Page .group .item .tag .b.data-v-622dadc9{font-weight:700;font-size:35rpx;color:#fff;letter-spacing:-2rpx}.ac618Page .group .item .tag .b text.data-v-622dadc9{font-size:14rpx;position:relative;top:3px}.ac618Page .group .item image.data-v-622dadc9,.ac618Page .group .item .imagebox.data-v-622dadc9{width:198rpx;height:198rpx}.ac618Page .group .item .r.data-v-622dadc9{margin-left:38rpx}.ac618Page .group .item .r .tiop.data-v-622dadc9{width:380rpx;height:28rpx;line-height:28rpx;font-weight:700;font-size:30rpx;color:#191919;margin-bottom:8rpx;letter-spacing:-2rpx}.ac618Page .group .item .r .htagbox.data-v-622dadc9{height:26rpx}.ac618Page .group .item .r .htagbox .htagi.data-v-622dadc9{height:26rpx;background:rgba(255,219,213,.3);border-radius:5rpx;border:1px solid #D7393E;color:#d7393e;font-size:18rpx;text-align:center;margin-right:12rpx;padding:0 8rpx}.ac618Page .group .item .r .t-text.data-v-622dadc9{height:60rpx;font-size:22rpx;line-height:30rpx;width:380rpx;color:#7f7f7f;margin-top:14rpx;margin-bottom:14rpx}.ac618Page .group .item .r .pricebox.data-v-622dadc9{margin-top:22rpx}.ac618Page .group .item .r .pricebox .acprice.data-v-622dadc9{color:#cf121b;font-size:20rpx}.ac618Page .group .item .r .pricebox .acprice text.data-v-622dadc9{position:relative;top:2rpx}.ac618Page .group .item .r .pricebox .acprice view.data-v-622dadc9{font-size:35rpx;font-weight:700}.ac618Page .group .item .r .pricebox .rcprice.data-v-622dadc9{color:#7f7f7f;font-size:20rpx;margin-left:10rpx;position:relative;top:2rpx}.ac618Page .group .item .r .pricebox .rcprice text.data-v-622dadc9
{text-decoration:line-through}
unpackage/dist/build/mp-weixin/pages/activity/index.js
0 → 100644
View file @
09ebbb66
"use strict"
;
const
o
=
require
(
"../../common/vendor.js"
),
t
=
require
(
"../../util/api.js"
),
e
=
require
(
"../../util/util.js"
),
r
=
{
data
:()
=>
({
boxStyle
:{},
activity_code
:
""
,
ActivityInfo
:{},
list
:{},
coupon_flag
:[]}),
onLoad
(
o
){
this
.
activity_code
=
o
.
activity_code
||
"iedgeyuan"
,
this
.
getData
()},
methods
:{
getData
(){
this
.
request
(
t
.
Api_Url
+
"/api/activity/getActivityInfo"
,
"GET"
,{
activity_code
:
this
.
activity_code
},
!
0
).
then
((
t
=>
{
if
(
0
===
t
.
code
)
if
(
-
1
==
t
.
data
.
activity_status
)
o
.
index
.
showModal
({
title
:
"提示"
,
content
:
"该活动已过期"
,
showCancel
:
!
1
,
confirmText
:
"确定"
,
success
:
function
(
o
){
o
.
confirm
&&
(
window
.
location
.
href
=
"/"
)}});
else
if
(
t
.
data
&&
t
.
data
.
h5_html_config
){
this
.
ActivityInfo
=
t
.
data
;
var
r
=
JSON
.
parse
(
t
.
data
.
h5_html_config
),
n
=
Object
.
entries
(
r
).
filter
((
o
=>
"baseConfig"
!==
o
[
0
])).
reduce
(((
o
,[
t
,
e
])
=>
Object
.
assign
(
o
,{[
t
]:
e
})),{});
this
.
list
=
n
;
var
i
=
JSON
.
parse
(
this
.
ActivityInfo
.
h5_html_config
).
baseConfig
,
a
=
i
.
page_color
||
""
,
h
=
i
.
page_background
;
this
.
boxStyle
=
{
background
:
a
,
backgroundImage
:
`url(
${
h
}
)`
,
backgroundSize
:
"contain"
,
backgroundRepeat
:
"no-repeat"
,
backgroundPosition
:
"center 45px"
};
var
c
=!
1
;
Object
.
values
(
n
).
forEach
((
o
=>
{
const
t
=
o
.
basic_elements
;
if
(
"coupon"
!==
t
||
c
)
"formModule"
===
t
&&
(
this
.
formModuleData
=
o
,
this
.
formModule
.
form_data
=
o
.
form_data
.
map
((
o
=>
({...
o
,
input_value
:
""
}))));
else
{
var
r
=
JSON
.
parse
(
o
.
columnCouponId
);
this
.
coupon_flag
=
e
.
createArray
(
r
.
length
,
!
1
),
c
=!
0
}}))}
else
o
.
index
.
showToast
({
title
:
"暂无该活动,请检查活动地址"
,
icon
:
"none"
}),
setTimeout
((()
=>
{
window
.
location
.
href
=
"/"
}),
2
e3
);
else
o
.
index
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))},
issueChange
(
e
,
r
){
this
.
request
(
t
.
Api_Url
+
"/api/coupon/issue"
,
"GET"
,{
id
:
e
},
!
0
,
!
0
).
then
((
t
=>
{
0
===
t
.
code
?(
this
.
$set
(
this
.
coupon_flag
,
r
,
!
0
),
o
.
index
.
showToast
({
title
:
t
.
msg
,
icon
:
"success"
}),
setTimeout
((()
=>
{
this
.
getData
()}),
2
e3
)):
o
.
index
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))}}};
const
n
=
o
.
_export_sfc
(
r
,[[
"render"
,
function
(
t
,
e
,
r
,
n
,
i
,
a
){
return
{
a
:
o
.
f
(
i
.
list
,((
e
,
r
,
n
)
=>
o
.
e
({
a
:
"customLayout"
==
e
.
basic_elements
},
"customLayout"
==
e
.
basic_elements
?
o
.
e
({
b
:
1
==
e
.
columns
},
1
==
e
.
columns
?
o
.
e
({
c
:
e
.
hot
},
e
.
hot
?{
d
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
0
].
url
,
o
)),
r
),
e
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
0
].
width
+
"rpx;height:"
+
e
.
hot
[
0
].
height
+
"rpx;left:"
+
e
.
hot
[
0
].
x
+
"rpx;top:"
+
e
.
hot
[
0
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
0
].
pic
+
")"
)}:{},{
f
:
o
.
s
(
750
==
e
.
columnWidthOne
?
"width:100%"
:
e
.
width
),
g
:
e
.
columnOneUrl
,
h
:
e
.
columnOneHref
?
e
.
columnOneHref
:
"javascript:;"
,
i
:
e
.
columnOneHref
?
"_blank"
:
""
,
j
:
o
.
s
(
750
==
e
.
columnWidthOne
?
"width:100%"
:
e
.
width
),
k
:
o
.
s
(
750
==
e
.
width
?
"width:100%"
:
"width:"
+
e
.
width
+
"rpx"
)}):
2
==
e
.
columns
?
o
.
e
({
m
:
e
.
hot
},
e
.
hot
?{
n
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
0
].
url
,
o
)),
r
),
o
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
0
].
width
+
"rpx;height:"
+
e
.
hot
[
0
].
height
+
"rpx;left:"
+
e
.
hot
[
0
].
x
+
"rpx;top:"
+
e
.
hot
[
0
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
0
].
pic
+
")"
)}:{},{
p
:
e
.
columnOneUrl
,
q
:
e
.
columnOneHref
?
e
.
columnOneHref
:
"javascript:;"
,
r
:
e
.
columnOneHref
?
"_blank"
:
""
,
s
:
o
.
s
(
"width:"
+
e
.
columnWidthOne
+
"rpx;margin-right:"
+
e
.
spacing
+
"rpx"
),
t
:
e
.
hot
},
e
.
hot
?{
v
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
1
].
url
,
o
)),
r
),
w
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
1
].
width
+
"rpx;height:"
+
e
.
hot
[
1
].
height
+
"rpx;left:"
+
e
.
hot
[
1
].
x
+
"rpx;top:"
+
e
.
hot
[
1
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
1
].
pic
+
")"
)}:{},{
x
:
e
.
columnTwoUrl
,
y
:
e
.
columnTwoHref
?
e
.
columnTwoHref
:
"javascript:;"
,
z
:
e
.
columnTwoHref
?
"_blank"
:
""
,
A
:
o
.
s
(
"width:"
+
e
.
columnWidthTwo
+
"rpx"
),
B
:
o
.
s
(
750
==
e
.
width
?
"width:100%"
:
"width:"
+
e
.
width
+
"rpx"
)}):
3
==
e
.
columns
?
o
.
e
({
D
:
e
.
hot
},
e
.
hot
?{
E
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
0
].
url
,
o
)),
r
),
F
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
0
].
width
+
"rpx;height:"
+
e
.
hot
[
0
].
height
+
"rpx;left:"
+
e
.
hot
[
0
].
x
+
"rpx;top:"
+
e
.
hot
[
0
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
0
].
pic
+
")"
)}:{},{
G
:
e
.
columnOneUrl
,
H
:
e
.
columnOneHref
?
e
.
columnOneHref
:
"javascript:;"
,
I
:
e
.
columnOneHref
?
"_blank"
:
""
,
J
:
o
.
s
(
"width:"
+
e
.
columnWidthOne
+
"rpx;margin-right:"
+
e
.
spacing
+
"rpx"
),
K
:
e
.
hot
},
e
.
hot
?{
L
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
1
].
url
,
o
)),
r
),
M
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
1
].
width
+
"rpx;height:"
+
e
.
hot
[
1
].
height
+
"rpx;left:"
+
e
.
hot
[
1
].
x
+
"rpx;top:"
+
e
.
hot
[
1
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
1
].
pic
+
")"
)}:{},{
N
:
e
.
columnTwoUrl
,
O
:
e
.
columnTwoHref
?
e
.
columnTwoHref
:
"javascript:;"
,
P
:
e
.
columnTwoHref
?
"_blank"
:
""
,
Q
:
o
.
s
(
"width:"
+
e
.
columnWidthTwo
+
"rpx;margin-right:"
+
e
.
spacing
+
"rpx"
),
R
:
e
.
hot
},
e
.
hot
?{
S
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
2
].
url
,
o
)),
r
),
T
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
2
].
width
+
"rpx;height:"
+
e
.
hot
[
2
].
height
+
"rpx;left:"
+
e
.
hot
[
2
].
x
+
"rpx;top:"
+
e
.
hot
[
2
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
2
].
pic
+
")"
)}:{},{
U
:
e
.
columnThreeUrl
,
V
:
e
.
columnThreeHref
?
e
.
columnThreeHref
:
"javascript:;"
,
W
:
e
.
columnThreeHref
?
"_blank"
:
""
,
X
:
o
.
s
(
"width:"
+
e
.
columnWidthThree
+
"rpx"
),
Y
:
o
.
s
(
750
==
e
.
width
?
"width:100%"
:
"width:"
+
e
.
width
+
"rpx"
)}):
4
==
e
.
columns
?
o
.
e
({
aa
:
e
.
hot
},
e
.
hot
?{
ab
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
0
].
url
,
o
)),
r
),
ac
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
0
].
width
+
"rpx;height:"
+
e
.
hot
[
0
].
height
+
"rpx;left:"
+
e
.
hot
[
0
].
x
+
"rpx;top:"
+
e
.
hot
[
0
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
0
].
pic
+
")"
)}:{},{
ad
:
e
.
columnOneUrl
,
ae
:
e
.
columnOneHref
?
e
.
columnOneHref
:
"javascript:;"
,
af
:
e
.
columnOneHref
?
"_blank"
:
""
,
ag
:
o
.
s
(
"width:"
+
e
.
columnWidthOne
+
"rpx;margin-right:"
+
e
.
spacing
+
"rpx"
),
ah
:
e
.
hot
},
e
.
hot
?{
ai
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
1
].
url
,
o
)),
r
),
aj
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
1
].
width
+
"rpx;height:"
+
e
.
hot
[
1
].
height
+
"rpx;left:"
+
e
.
hot
[
1
].
x
+
"rpx;top:"
+
e
.
hot
[
1
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
1
].
pic
+
")"
)}:{},{
ak
:
e
.
columnTwoUrl
,
al
:
e
.
columnTwoHref
?
e
.
columnTwoHref
:
"javascript:;"
,
am
:
e
.
columnTwoHref
?
"_blank"
:
""
,
an
:
o
.
s
(
"width:"
+
e
.
columnWidthTwo
+
"rpx;margin-right:"
+
e
.
spacing
+
"rpx"
),
ao
:
e
.
hot
},
e
.
hot
?{
ap
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
2
].
url
,
o
)),
r
),
aq
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
2
].
width
+
"rpx;height:"
+
e
.
hot
[
2
].
height
+
"rpx;left:"
+
e
.
hot
[
2
].
x
+
"rpx;top:"
+
e
.
hot
[
2
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
2
].
pic
+
")"
)}:{},{
ar
:
e
.
columnThreeUrl
,
as
:
e
.
columnThreeHref
?
e
.
columnThreeHref
:
"javascript:;"
,
at
:
e
.
columnThreeHref
?
"_blank"
:
""
,
av
:
o
.
s
(
"width:"
+
e
.
columnWidthThree
+
"rpx;margin-right:"
+
e
.
spacing
+
"rpx"
),
aw
:
e
.
hot
},
e
.
hot
?{
ax
:
o
.
o
((
o
=>
t
.
toUrl
(
e
.
hot
[
3
].
url
,
o
)),
r
),
ay
:
o
.
s
(
"position:absolute;background-size:cover;background-repeat:no-repeat;background-position: center;z-index:8;width:"
+
e
.
hot
[
3
].
width
+
"rpx;height:"
+
e
.
hot
[
3
].
height
+
"rpx;left:"
+
e
.
hot
[
3
].
x
+
"rpx;top:"
+
e
.
hot
[
3
].
y
+
"rpx;background-image:url("
+
e
.
hot
[
3
].
pic
+
")"
)}:{},{
az
:
e
.
columnFourUrl
,
aA
:
e
.
columnFourHref
?
e
.
columnFourHref
:
"javascript:;"
,
aB
:
e
.
columnFourHref
?
"_blank"
:
""
,
aC
:
o
.
s
(
"width:"
+
e
.
columnWidthFour
+
"rpx"
),
aD
:
o
.
s
(
750
==
e
.
width
?
"width:100%"
:
"width:"
+
e
.
width
+
"rpx"
)}):{},{
l
:
2
==
e
.
columns
,
C
:
3
==
e
.
columns
,
Z
:
4
==
e
.
columns
}):
"coupon"
==
e
.
basic_elements
?
o
.
e
({
aF
:
1
==
e
.
pattern
},
1
==
e
.
pattern
?{
aG
:
o
.
f
(
JSON
.
parse
(
e
.
columnCouponUrl
),((
t
,
r
,
n
)
=>
({
a
:
t
,
b
:
i
.
coupon_flag
[
r
]?
1
:
""
,
c
:
o
.
o
((
o
=>
a
.
issueChange
(
JSON
.
parse
(
e
.
columnCouponId
)[
r
],
r
)),
r
),
d
:
r
}))),
aH
:
t
.
indicatorDots
,
aI
:
t
.
autoplay
,
aJ
:
o
.
s
(
"height:"
+
e
.
couponWidth
+
"rpx"
)}:
2
==
e
.
pattern
?
o
.
e
({
aL
:
1
==
JSON
.
parse
(
e
.
columnCouponUrl
).
length
},
1
==
JSON
.
parse
(
e
.
columnCouponUrl
).
length
?{
aM
:
o
.
f
(
JSON
.
parse
(
e
.
columnCouponUrl
),((
t
,
r
,
n
)
=>
({
a
:
t
,
b
:
i
.
coupon_flag
[
r
]?
1
:
""
,
c
:
o
.
o
((
o
=>
a
.
issueChange
(
JSON
.
parse
(
e
.
columnCouponId
)[
r
],
r
)),
r
),
d
:
JSON
.
parse
(
e
.
columnCouponId
)[
r
],
e
:
r
}))),
aN
:
o
.
s
(
"width:"
+
e
.
couponLength
+
"rpx;margin-right:0;height:"
+
e
.
couponWidth
+
"rpx"
)}:{
aO
:
o
.
f
(
JSON
.
parse
(
e
.
columnCouponUrl
),((
t
,
r
,
n
)
=>
({
a
:
t
,
b
:
i
.
coupon_flag
[
r
]?
1
:
""
,
c
:
o
.
o
((
o
=>
a
.
issueChange
(
JSON
.
parse
(
e
.
columnCouponId
)[
r
],
r
)),
r
),
d
:
JSON
.
parse
(
e
.
columnCouponId
)[
r
],
e
:
r
}))),
aP
:
o
.
s
(
"width:"
+
e
.
couponLength
+
"rpx;height:"
+
e
.
couponWidth
+
"rpx"
)}):{},{
aK
:
2
==
e
.
pattern
,
aQ
:
o
.
s
(
"width:100%;background-size:cover;background-repeat:no-repeat;background-position: center;background-image:url("
+
e
.
bg
+
")"
)}):{},{
aE
:
"coupon"
==
e
.
basic_elements
,
aR
:
r
,
aS
:
o
.
s
(
"height:"
+
e
.
height
+
"rpx"
)}))),
b
:
o
.
s
(
i
.
boxStyle
)}}],[
"__scopeId"
,
"data-v-452cb2c0"
]]);
wx
.
createPage
(
n
);
unpackage/dist/build/mp-weixin/pages/activity/index.json
0 → 100644
View file @
09ebbb66
{
"usingComponents"
:
{}
}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/activity/index.wxml
0 → 100644
View file @
09ebbb66
<view class="activity-box data-v-452cb2c0" style="{{b}}"><view class="cube-set-drag-area data-v-452cb2c0"><view wx:for="{{a}}" wx:for-item="item" wx:key="aR" class="cube-initial row verCenter rowCenter data-v-452cb2c0" style="{{item.aS}}"><block wx:if="{{item.a}}"><block wx:if="{{item.b}}"><view class="cube-set-drag-content customLayout row verCenter data-v-452cb2c0" style="{{item.k}}"><navigator class="box row data-v-452cb2c0" href="{{item.h}}" target="{{item.i}}" style="{{item.j}}"><text wx:if="{{item.c}}" class="data-v-452cb2c0" catchtap="{{item.d}}" style="{{item.e}}"></text><image style="{{item.f}}" class="pic data-v-452cb2c0" src="{{item.g}}" mode="aspectFill"></image></navigator></view></block><block wx:elif="{{item.l}}"><view class="cube-set-drag-content customLayout row verCenter data-v-452cb2c0" style="{{item.B}}"><navigator class="box row data-v-452cb2c0" href="{{item.q}}" target="{{item.r}}" style="{{item.s}}"><text wx:if="{{item.m}}" class="data-v-452cb2c0" catchtap="{{item.n}}" style="{{item.o}}"></text><image class="pic data-v-452cb2c0" src="{{item.p}}" mode="aspectFill"></image></navigator><navigator class="box row data-v-452cb2c0" href="{{item.y}}" target="{{item.z}}" style="{{item.A}}"><text wx:if="{{item.t}}" class="data-v-452cb2c0" catchtap="{{item.v}}" style="{{item.w}}"></text><image class="pic data-v-452cb2c0" src="{{item.x}}" mode="aspectFill"></image></navigator></view></block><block wx:elif="{{item.C}}"><view class="cube-set-drag-content customLayout row verCenter data-v-452cb2c0" style="{{item.Y}}"><navigator class="box row data-v-452cb2c0" href="{{item.H}}" target="{{item.I}}" style="{{item.J}}"><text wx:if="{{item.D}}" class="data-v-452cb2c0" catchtap="{{item.E}}" style="{{item.F}}"></text><image class="pic data-v-452cb2c0" src="{{item.G}}" mode="aspectFill"></image></navigator><navigator class="box row data-v-452cb2c0" href="{{item.O}}" target="{{item.P}}" style="{{item.Q}}"><text wx:if="{{item.K}}" class="data-v-452cb2c0" catchtap="{{item.L}}" style="{{item.M}}"></text><image class="pic data-v-452cb2c0" src="{{item.N}}" mode="aspectFill"></image></navigator><navigator class="box row data-v-452cb2c0" href="{{item.V}}" target="{{item.W}}" style="{{item.X}}"><text wx:if="{{item.R}}" class="data-v-452cb2c0" catchtap="{{item.S}}" style="{{item.T}}"></text><image class="pic data-v-452cb2c0" src="{{item.U}}" mode="aspectFill"></image></navigator></view></block><block wx:elif="{{item.Z}}"><view class="cube-set-drag-content customLayout row verCenter data-v-452cb2c0" style="{{item.aD}}"><navigator class="box row data-v-452cb2c0" href="{{item.ae}}" target="{{item.af}}" style="{{item.ag}}"><text wx:if="{{item.aa}}" class="data-v-452cb2c0" catchtap="{{item.ab}}" style="{{item.ac}}"></text><image class="pic data-v-452cb2c0" src="{{item.ad}}" mode="aspectFill"></image></navigator><navigator class="box row data-v-452cb2c0" href="{{item.al}}" target="{{item.am}}" style="{{item.an}}"><text wx:if="{{item.ah}}" class="data-v-452cb2c0" catchtap="{{item.ai}}" style="{{item.aj}}"></text><image class="pic data-v-452cb2c0" src="{{item.ak}}" mode="aspectFill"></image></navigator><navigator class="box row data-v-452cb2c0" href="{{item.as}}" target="{{item.at}}" style="{{item.av}}"><text wx:if="{{item.ao}}" class="data-v-452cb2c0" catchtap="{{item.ap}}" style="{{item.aq}}"></text><image class="pic data-v-452cb2c0" src="{{item.ar}}" mode="aspectFill"></image></navigator><navigator class="box row data-v-452cb2c0" href="{{item.aA}}" target="{{item.aB}}" style="{{item.aC}}"><text wx:if="{{item.aw}}" class="data-v-452cb2c0" catchtap="{{item.ax}}" style="{{item.ay}}"></text><image class="pic data-v-452cb2c0" src="{{item.az}}" mode="aspectFill"></image></navigator></view></block></block><block wx:elif="{{item.aE}}"><view class="cube-set-drag-content coupon data-v-452cb2c0" style="{{item.aQ}}"><block wx:if="{{item.aF}}"><view class="carousel row data-v-452cb2c0" style="{{item.aJ}}"><swiper class="swiper data-v-452cb2c0" circular indicator-dots="{{item.aH}}" autoplay="{{item.aI}}" indicator-color="#C6C7CC" indicator-active-color="#1969F9"><swiper-item wx:for="{{item.aG}}" wx:for-item="v" wx:key="d" class="{{['swiper-item', 'data-v-452cb2c0', v.b && 'curr']}}" bindtap="{{v.c}}"><image mode="aspectFill" src="{{v.a}}" lazy-load="true" class="pic data-v-452cb2c0"></image></swiper-item></swiper></view></block><block wx:elif="{{item.aK}}"><view class="carousel-list row rowCenter verCenter data-v-452cb2c0"><block wx:if="{{item.aL}}"><view wx:for="{{item.aM}}" wx:for-item="v" wx:key="e" class="{{['box', 'data-v-452cb2c0', v.b && 'curr']}}" bindtap="{{v.c}}" data-id="{{v.d}}" style="{{item.aN}}"><image mode="aspectFill" src="{{v.a}}" lazy-load="true" class="pic data-v-452cb2c0"></image></view></block><block wx:else><view wx:for="{{item.aO}}" wx:for-item="v" wx:key="e" class="{{['box', 'data-v-452cb2c0', v.b && 'curr']}}" bindtap="{{v.c}}" data-id="{{v.d}}" style="{{item.aP}}"><image mode="aspectFill" src="{{v.a}}" lazy-load="true" class="pic data-v-452cb2c0"></image></view></block></view></block></view></block></view></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/activity/index.wxss
0 → 100644
View file @
09ebbb66
view.data-v-452cb2c0,text.data-v-452cb2c0,input.data-v-452cb2c0,navigator.data-v-452cb2c0{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:text;user-select:text;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}body.data-v-452cb2c0,page.data-v-452cb2c0,view.data-v-452cb2c0,text.data-v-452cb2c0,scroll-view.data-v-452cb2c0{-webkit-user-select:text!important;user-select:text!important}.navigator-hover.data-v-452cb2c0{background:none;opacity:1}image.data-v-452cb2c0{vertical-align:middle}.elep.data-v-452cb2c0{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elep2.data-v-452cb2c0{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.column.data-v-452cb2c0{display:flex;flex-direction:column}.row.data-v-452cb2c0{display:flex;flex-direction:row}.boxsiz.data-v-452cb2c0{box-sizing:border-box}.bothSide.data-v-452cb2c0{justify-content:space-between}.avarage.data-v-452cb2c0{justify-content:space-around}.rowCenter.data-v-452cb2c0{justify-content:center}.verCenter.data-v-452cb2c0{align-items:center}.activity-box.data-v-452cb2c0{width:100%;min-height:100vh}.activity-box .header-activity.data-v-452cb2c0{height:88rpx;background:linear-gradient(200deg,#d6e8ff,#fff)}.activity-box .header-activity.fixedtop.data-v-452cb2c0{padding-top:88rpx}.activity-box .header-activity.fixedtop .search-topb.data-v-452cb2c0{position:fixed;top:0rpx;left:0rpx;background:#fff;z-index:9}.activity-box .header-activity.fixedtop .search-topb .searchinput.data-v-452cb2c0{border:1rpx solid #f0f0f2}.activity-box .header-activity.fixedtop .search-topb .searchinput.searchtitleb.data-v-452cb2c0{border:0rpx}.activity-box .header-activity .search-topb.data-v-452cb2c0{width:750rpx;height:88rpx;padding:11rpx 24rpx 11rpx 32rpx;box-sizing:border-box}.activity-box .header-activity .search-topb .searchbtnx.data-v-452cb2c0{width:150rpx;height:66rpx;line-height:66rpx;text-align:center;color:#1969f9;font-size:30rpx}.activity-box .header-activity .search-topb image.data-v-452cb2c0{width:120rpx;height:58rpx;display:block;flex-shrink:0;position:relative;top:4rpx}.activity-box .header-activity .search-topb .searchinput.data-v-452cb2c0{width:388rpx;height:66rpx;background:#fff;border-radius:33rpx;line-height:66rpx;margin-left:39rpx;flex-shrink:0}.activity-box .header-activity .search-topb .searchinput.searchtitleb.data-v-452cb2c0{background:none}.activity-box .header-activity .search-topb .searchinput .seartext.data-v-452cb2c0{color:#c2c4cc;font-size:34rpx;margin-left:16rpx;margin-right:11rpx}.activity-box .header-activity .search-topb .searchinput input.data-v-452cb2c0{height:66rpx;font-size:24rpx;line-height:66rpx;width:264rpx;color:#292b33;flex-shrink:0}.activity-box .header-activity .search-topb .newsbox.data-v-452cb2c0{height:66rpx;line-height:66rpx;margin-left:37rpx;position:relative}.activity-box .header-activity .search-topb .newsbox .icon.data-v-452cb2c0{font-size:44rpx;color:#292b33}.activity-box .header-activity .search-topb .newsbox .counts.data-v-452cb2c0{width:46rpx;height:32rpx;background:#ff3700;border-radius:16rpx;border:2rpx solid #ffffff;position:absolute;right:5rpx;top:0rpx;color:#fff;font-size:24rpx;line-height:28rpx;text-align:center}.activity-box .header-activity .search-topb .cdbox.data-v-452cb2c0{height:66rpx;line-height:66rpx;position:relative;left:6rpx}.activity-box .header-activity .search-topb .cdbox .icon.data-v-452cb2c0{font-size:44rpx;color:#292b33}.activity-box .header-activity .search-topb .cdbox .sj.data-v-452cb2c0{position:absolute;border-style:solid;border-width:10rpx;border-color:transparent transparent #292b33 transparent;top:57rpx;left:10rpx;display:none}.activity-box .header-activity .search-topb .cdbox .cdcons.data-v-452cb2c0{position:absolute;width:200rpx;background:#292b33;border-radius:10px;padding:0 24rpx 10rpx;display:none;top:75rpx;left:-150rpx;z-index:2}.activity-box .header-activity .search-topb .cdbox .cdcons a.data-v-452cb2c0{height:73rpx;display:block;width:152rpx;border-bottom:1rpx solid #484b59;color:#fff;line-height:72rpx;font-size:24rpx}.activity-box .header-activity .search-topb .cdbox .cdcons a.data-v-452cb2c0:last-child{border:0rpx}.activity-box .header-activity .search-topb .cdbox:hover .cdcons.data-v-452cb2c0,.activity-box .header-activity .search-topb .cdbox:hover .sj.data-v-452cb2c0{display:block}.activity-box .cube-set-drag-area.data-v-452cb2c0,.activity-box .cube-set-drag-area .cube-initial.data-v-452cb2c0{width:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.data-v-452cb2c0{height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.customLayout .box.data-v-452cb2c0{position:relative;height:100%;overflow:hidden}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.customLayout .box .pic.data-v-452cb2c0{height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle.data-v-452cb2c0{height:950rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .number-of-draw.data-v-452cb2c0{padding:24rpx 0}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .number-of-draw .t1.data-v-452cb2c0{font-size:30rpx;color:#fff}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .number-of-draw .t2.data-v-452cb2c0{font-size:32rpx;color:#fff;font-weight:700}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .lotteryCircle-bg.data-v-452cb2c0,.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .lotteryCircle-bg .pic.data-v-452cb2c0{width:100%;height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .lotteryCircle-bg .btn-wrap.data-v-452cb2c0{padding:24rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .lotteryCircle-bg .btn-wrap .contactBg.data-v-452cb2c0,.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotteryCircle .lotteryCircle-bg .btn-wrap .prizeBg.data-v-452cb2c0{width:300rpx;height:60rpx;text-align:center;font-size:24rpx;color:#fff;background:#e0be7d;border-radius:2rpx;box-sizing:border-box}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare.data-v-452cb2c0{height:1000rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .number-of-draw.data-v-452cb2c0{padding:24rpx 0}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .number-of-draw .t1.data-v-452cb2c0{font-size:30rpx;color:#fff}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .number-of-draw .t2.data-v-452cb2c0{font-size:32rpx;color:#fff;font-weight:700}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .lotteryCircle-bg.data-v-452cb2c0,.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .lotteryCircle-bg .pic.data-v-452cb2c0{width:100%;height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .lotteryCircle-bg .btn-wrap.data-v-452cb2c0{padding:24rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .lotteryCircle-bg .btn-wrap .contactBg.data-v-452cb2c0,.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.lotterySquare .lotteryCircle-bg .btn-wrap .prizeBg.data-v-452cb2c0{width:300rpx;height:60rpx;text-align:center;font-size:24rpx;color:#fff;background:#e0be7d;border-radius:2rpx;box-sizing:border-box}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel .swiper.data-v-452cb2c0{width:100%;height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel .swiper .swiper-item.data-v-452cb2c0{position:relative;width:100%;height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel .swiper .swiper-item.curr.data-v-452cb2c0:after{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);background-size:cover;content:"\5df2\9886\53d6";z-index:1;display:flex;opacity:.8;text-align:center;color:#fff;font-size:13px;align-items:center;justify-content:center}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel .swiper .swiper-item .pic.data-v-452cb2c0{width:100%;height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel-list.data-v-452cb2c0{flex-wrap:wrap}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel-list .box.data-v-452cb2c0{position:relative;height:100%;overflow:hidden;margin-bottom:24rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel-list .box.curr.data-v-452cb2c0:after{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);background-size:cover;content:"\5df2\9886\53d6";z-index:1;display:flex;opacity:.8;text-align:center;color:#fff;font-size:13px;align-items:center;justify-content:center}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.coupon .carousel-list .box .pic.data-v-452cb2c0{width:100%;height:100%}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box.data-v-452cb2c0{padding:24rpx;background-color:transparent}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box.data-v-452cb2c0{position:relative;margin-bottom:28rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .tt.data-v-452cb2c0{font-size:24rpx;color:#484b59;margin-bottom:16rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .uni-input.data-v-452cb2c0{height:72rpx;background:#f5f5f7;border-radius:10rpx;text-indent:24rpx;font-size:24rpx;border:1px solid transparent;transition:all .4s ease}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .uni-input.data-v-452cb2c0:focus-within{background-color:#fff;border:1px solid #1969f9}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .uni-input.data-v-452cb2c0::-webkit-input-placeholder{color:#919399}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile.data-v-452cb2c0{background:#f5f5f7}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile .picker-box.data-v-452cb2c0{padding-left:24rpx;padding-right:16rpx;width:159rpx;height:40rpx;border-right:1px solid #c2c4cc}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile .picker-box .uni-inputs.data-v-452cb2c0{font-size:26rpx;color:#484b59}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile .picker-box .iconfont.data-v-452cb2c0{font-size:32rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile .text.data-v-452cb2c0{padding-right:24rpx;font-size:26rpx;color:#1969f9;white-space:nowrap}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile .uni-input.data-v-452cb2c0{font-size:26rpx;text-indent:23rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .mobile .uni-input.data-v-452cb2c0:focus-within{background:#f5f5f7;border:1px solid transparent}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .pic.data-v-452cb2c0{position:absolute;right:15rpx;bottom:5rpx;width:160rpx;height:62rpx}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .code.data-v-452cb2c0{position:absolute;right:15rpx;bottom:20rpx;font-size:26rpx;color:#1969f9;white-space:nowrap}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .input-box .code.disabled.data-v-452cb2c0{color:#919399}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .formBtn.data-v-452cb2c0{width:100%;height:68rpx;background:#1969f9;border-radius:10rpx;font-size:28rpx;color:#fff}.activity-box .cube-set-drag-area .cube-initial .cube-set-drag-content.formModule .form-box .formBtn.disabled.data-v-452cb2c0{opacity:.5}.no-data image.data-v-452cb2c0{width:356rpx;height:356rpx}.no-data .tt.data-v-452cb2c0{margin-top:32rpx;font-size:28rpx;color:#292b33}.layer-box.data-v-452cb2c0{padding:24rpx;background:linear-gradient(180deg,#f0f6ff,#fff 88rpx);border-radius:10rpx 10rpx 0px 0px}.layer-box .title.data-v-452cb2c0{height:88rpx;margin-bottom:13rpx}.layer-box .title .left.data-v-452cb2c0{font-size:32rpx;color:#292b33;font-weight:700}.layer-box .title .right .iconfont.data-v-452cb2c0{font-size:40rpx;color:#c2c4cc}.layer-box .form-box .input-box.data-v-452cb2c0{margin-bottom:28rpx}.layer-box .form-box .input-box .tt.data-v-452cb2c0{font-size:24rpx;color:#484b59;margin-bottom:16rpx}.layer-box .form-box .input-box .sel.data-v-452cb2c0{font-size:24rpx;color:#1969f9}.layer-box .form-box .input-box .uni-input.data-v-452cb2c0{height:72rpx;background:#f5f5f7;border-radius:10rpx;text-indent:24rpx;font-size:24rpx;border:1px solid transparent;transition:all .4s ease}.layer-box .form-box .input-box .uni-input.data-v-452cb2c0:focus-within{background-color:#fff;border:1px solid #1969f9}.layer-box .form-box .input-box .uni-input.data-v-452cb2c0::-webkit-input-placeholder{color:#919399}.layer-box .form-box .input-box .select-box.data-v-452cb2c0{height:72rpx;background:#f5f5f7;border-radius:10rpx}.layer-box .form-box .input-box .select-box .uni-input.data-v-452cb2c0{width:80%}.layer-box .form-box .input-box .select-box .iconfont.data-v-452cb2c0{margin-right:24rpx}.layer-box .form-box .input-box .textarea-box.data-v-452cb2c0{height:144rpx;background:#f5f5f7;border-radius:10rpx;padding:20rpx 24rpx 0;border:1px solid transparent;transition:all .4s ease}.layer-box .form-box .input-box .textarea-box textarea.data-v-452cb2c0{height:100%;font-size:24rpx}.layer-box .form-box .input-box .textarea-box textarea.data-v-452cb2c0::-webkit-input-placeholder{color:#919399}.layer-box .form-box .input-box .textarea-box.data-v-452cb2c0:focus-within{background-color:#fff;border:1px solid #1969f9}.layer-box .form-box .input-box .mobile.data-v-452cb2c0{background:#f5f5f7}.layer-box .form-box .input-box .mobile .picker-box.data-v-452cb2c0{padding-left:24rpx;padding-right:16rpx;width:159rpx;height:40rpx;border-right:1px solid #c2c4cc}.layer-box .form-box .input-box .mobile .picker-box .uni-inputs.data-v-452cb2c0{font-size:26rpx;color:#484b59}.layer-box .form-box .input-box .mobile .picker-box .iconfont.data-v-452cb2c0{font-size:32rpx}.layer-box .form-box .input-box .mobile .text.data-v-452cb2c0{padding-right:24rpx;font-size:26rpx;color:#1969f9;white-space:nowrap}.layer-box .form-box .input-box .mobile .uni-input.data-v-452cb2c0{font-size:26rpx;text-indent:23rpx}.layer-box .form-box .input-box .mobile .uni-input.data-v-452cb2c0:focus-within{background:#f5f5f7;border:1px solid transparent}.layer-box .list-box.data-v-452cb2c0{max-height:500rpx;overflow-y:auto}.layer-box .list-box .head.data-v-452cb2c0{height:60rpx}.layer-box .list-box .head .tt.data-v-452cb2c0{width:50%;font-size:26rpx;font-weight:700;color:#666}.layer-box .list-box .box.data-v-452cb2c0{height:60rpx}.layer-box .list-box .box .tt.data-v-452cb2c0{width:50%;font-size:24rpx;color:#666}.layer-box .save.data-v-452cb2c0{height:68rpx;background:#1969f9;border-radius:10rpx;font-size:28rpx;color:#fff}.data-v-452cb2c0 uni-page-body{padding-top:0!important}
unpackage/dist/build/mp-weixin/util/util.js
View file @
09ebbb66
"use strict"
;
const
e
=
require
(
"../common/vendor.js"
);
exports
.
request
=
(
t
=
""
,
n
=
"GET"
,
o
=
{},
r
,
a
)
=>
{
r
&&
e
.
index
.
showLoading
({
mask
:
!
0
});
var
s
=
Object
.
assign
(
o
,{
pf
:
"xcx"
});
const
i
=
e
.
index
.
getStorageSync
(
"token"
);
let
l
=
{
"Content-Type"
:
"application/json; charset=utf-8"
};
return
a
&&
(
l
=
{
"Content-Type"
:
"application/x-www-form-urlencoded"
}),
i
&&
(
l
.
token
=
i
),
new
Promise
(((
o
,
a
)
=>
{
e
.
index
.
request
({
method
:
n
,
url
:
t
,
data
:
s
,
header
:
l
,
dataType
:
"json"
,
withCredentials
:
!
0
,
success
:
t
=>
{
if
(
r
&&
e
.
index
.
hideLoading
(),
200
===
t
.
statusCode
){
let
r
=
t
.
data
;
if
(
101
==
r
.
code
||
"账号未登录"
==
r
.
msg
){
var
n
=
getCurrentPages
();
let
t
=
n
[
n
.
length
-
1
];
t
.
route
;
let
o
=
t
.
$page
.
fullPath
;
return
console
.
log
(
o
),
void
e
.
index
.
reLaunch
({
url
:
`/pages/auth/login?referer=
${
encodeURIComponent
(
o
)}
`
})}
o
(
r
)}
else
a
(
t
),
e
.
index
.
showToast
({
title
:
"网络出现问题"
,
icon
:
"error"
})},
fail
:
t
=>
{
r
&&
e
.
index
.
hideLoading
(),
e
.
index
.
showToast
({
title
:
"网络出现问题"
,
icon
:
"error"
}),
a
(
t
)}})}))},
exports
.
startCountdown
=
e
=>
{
let
t
=
e
.
duration
||
60
,
n
=
null
;
const
o
=
e
.
onTick
||
(
e
=>
{}),
r
=
e
.
onComplete
||
(()
=>
{});
return
{
start
:
function
(){
n
=
setInterval
((()
=>
{
t
<=
0
?(
clearInterval
(
n
),
r
()):(
t
--
,
o
(
t
))}),
1
e3
)},
stop
:
function
(){
clearInterval
(
n
),
r
()}}};
"use strict"
;
const
e
=
require
(
"../common/vendor.js"
);
exports
.
createArray
=
(
e
,
t
)
=>
Array
(
e
).
fill
(
t
),
exports
.
request
=
(
t
=
""
,
n
=
"GET"
,
o
=
{},
r
,
a
)
=>
{
r
&&
e
.
index
.
showLoading
({
mask
:
!
0
});
var
s
=
Object
.
assign
(
o
,{
pf
:
"xcx"
});
const
i
=
e
.
index
.
getStorageSync
(
"token"
);
let
l
=
{
"Content-Type"
:
"application/json; charset=utf-8"
};
return
a
&&
(
l
=
{
"Content-Type"
:
"application/x-www-form-urlencoded"
}),
i
&&
(
l
.
token
=
i
),
new
Promise
(((
o
,
a
)
=>
{
e
.
index
.
request
({
method
:
n
,
url
:
t
,
data
:
s
,
header
:
l
,
dataType
:
"json"
,
withCredentials
:
!
0
,
success
:
t
=>
{
if
(
r
&&
e
.
index
.
hideLoading
(),
200
===
t
.
statusCode
){
let
r
=
t
.
data
;
if
(
101
==
r
.
code
||
"账号未登录"
==
r
.
msg
){
var
n
=
getCurrentPages
();
let
t
=
n
[
n
.
length
-
1
];
t
.
route
;
let
o
=
t
.
$page
.
fullPath
;
return
console
.
log
(
o
),
void
e
.
index
.
reLaunch
({
url
:
`/pages/auth/login?referer=
${
encodeURIComponent
(
o
)}
`
})}
o
(
r
)}
else
a
(
t
),
e
.
index
.
showToast
({
title
:
"网络出现问题"
,
icon
:
"error"
})},
fail
:
t
=>
{
r
&&
e
.
index
.
hideLoading
(),
e
.
index
.
showToast
({
title
:
"网络出现问题"
,
icon
:
"error"
}),
a
(
t
)}})}))},
exports
.
startCountdown
=
e
=>
{
let
t
=
e
.
duration
||
60
,
n
=
null
;
const
o
=
e
.
onTick
||
(
e
=>
{}),
r
=
e
.
onComplete
||
(()
=>
{});
return
{
start
:
function
(){
n
=
setInterval
((()
=>
{
t
<=
0
?(
clearInterval
(
n
),
r
()):(
t
--
,
o
(
t
))}),
1
e3
)},
stop
:
function
(){
clearInterval
(
n
),
r
()}}};
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