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
689f138a
authored
Jun 25, 2025
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单状态修改
parent
d46cc593
Show whitespace changes
Inline
Side-by-side
Showing
53 changed files
with
17 additions
and
57 deletions
pages/user/orderList.vue
pages/user/userInfo.vue
unpackage/dist/build/mp-weixin/pages/car/confirmOrder.js
unpackage/dist/build/mp-weixin/pages/car/confirmOrder.wxml
unpackage/dist/build/mp-weixin/pages/car/confirmOrder.wxss
unpackage/dist/build/web/assets/barx.BsVUcAxA.js
unpackage/dist/build/web/assets/bottom_nav.Cwl6qhit.js
unpackage/dist/build/web/assets/index-CDFUxcS7.js
unpackage/dist/build/web/assets/one_item.DKn37E7s.js
unpackage/dist/build/web/assets/orderList-D6ncCk4c.css
unpackage/dist/build/web/assets/pages-activity-ac618.ChgJXgjU.js
unpackage/dist/build/web/assets/pages-auth-changeEmail.Iak_FQdA.js
unpackage/dist/build/web/assets/pages-auth-findSuccess.RJqJxxjd.js
unpackage/dist/build/web/assets/pages-auth-forget.BUlTVjJz.js
unpackage/dist/build/web/assets/pages-auth-login.BviytjCy.js
unpackage/dist/build/web/assets/pages-auth-reg.CVCxlim_.js
unpackage/dist/build/web/assets/pages-auth-regSuccess.liH9dBYK.js
unpackage/dist/build/web/assets/pages-auth-rule.BnNDxrp4.js
unpackage/dist/build/web/assets/pages-car-confirmOrder.DuVC1Zr9.js
unpackage/dist/build/web/assets/pages-car-confirmQuote.DoXy3S9i.js
unpackage/dist/build/web/assets/pages-car-confirmQuoteSuccess.FypCnYVt.js
unpackage/dist/build/web/assets/pages-car-confirmRule.DfThVhLn.js
unpackage/dist/build/web/assets/pages-car-list.ufCTqebN.js
unpackage/dist/build/web/assets/pages-class-list.GLXeqlk4.js
unpackage/dist/build/web/assets/pages-class-nav.DsBQLQqe.js
unpackage/dist/build/web/assets/pages-goods-detail.CBzHLMHn.js
unpackage/dist/build/web/assets/pages-index-index.BypqV-iy.js
unpackage/dist/build/web/assets/pages-index-kf.BVHNTeU2.js
unpackage/dist/build/web/assets/pages-search-list.CE20Cona.js
unpackage/dist/build/web/assets/pages-search-nav.Dh0xhlMw.js
unpackage/dist/build/web/assets/pages-user-address.eBjcnW7T.js
unpackage/dist/build/web/assets/pages-user-addressAdd.s6Hi950E.js
unpackage/dist/build/web/assets/pages-user-addressEdit.DC20JCTm.js
unpackage/dist/build/web/assets/pages-user-companyInfo.DFpllNtY.js
unpackage/dist/build/web/assets/pages-user-companyInfoList.D2lDff_R.js
unpackage/dist/build/web/assets/pages-user-coupon.IuhjIWYH.js
unpackage/dist/build/web/assets/pages-user-invoice.B8hM4kA3.js
unpackage/dist/build/web/assets/pages-user-invoiceAdd.DKEdoNk6.js
unpackage/dist/build/web/assets/pages-user-invoiceEdit.B2Y6rfXN.js
unpackage/dist/build/web/assets/pages-user-msgList.BhEjw36Q.js
unpackage/dist/build/web/assets/pages-user-orderDetail.DUeauW8_.js
unpackage/dist/build/web/assets/pages-user-orderList.DMe6D3qm.js
unpackage/dist/build/web/assets/pages-user-orderPay.DdB_S1Fz.js
unpackage/dist/build/web/assets/pages-user-orderPayLine.BhzSbE6V.js
unpackage/dist/build/web/assets/pages-user-qDlist.C2xWjdlb.js
unpackage/dist/build/web/assets/pages-user-qdDetail.CRjm69JM.js
unpackage/dist/build/web/assets/pages-user-setting.BrRQxxh8.js
unpackage/dist/build/web/assets/pages-user-userInfo.D2KiK4S1.js
unpackage/dist/build/web/assets/search_head.DkxRXJnQ.js
unpackage/dist/build/web/assets/title_nav.dc5elgbU.js
unpackage/dist/build/web/assets/uni-popup.Cj83ad0Q.js
unpackage/dist/build/web/assets/userInfo-BoNwHeOD.css
unpackage/dist/build/web/index.html
pages/user/orderList.vue
View file @
689f138a
...
@@ -13,10 +13,11 @@
...
@@ -13,10 +13,11 @@
</view>
</view>
<view
class=
"tabs row bothSide verCenter"
>
<view
class=
"tabs row bothSide verCenter"
>
<view
class=
"item "
:class=
"
{'act':status==''}" @click="tab('')">全部
</view>
<view
class=
"item "
:class=
"
{'act':status==''}" @click="tab('')">全部
</view>
<
view
class=
"item "
:class=
"
{'act':status=='1'}" @click="tab('1')">待确认
</view
>
<
!--
<view
class=
"item "
:class=
"
{'act':status=='1'}" @click="tab('1')">待确认
</view>
--
>
<view
class=
"item "
:class=
"
{'act':status=='2,3'}" @click="tab('2,3')">待付款
</view>
<view
class=
"item "
:class=
"
{'act':status=='2,3'}" @click="tab('2,3')">待付款
</view>
<view
class=
"item "
:class=
"
{'act':status=='4'}" @click="tab('4')">待发货
</view>
<view
class=
"item "
:class=
"
{'act':status=='4'}" @click="tab('4')">待发货
</view>
<view
class=
"item "
:class=
"
{'act':status=='7,8'}" @click="tab('7,8')">待收货
</view>
<view
class=
"item "
:class=
"
{'act':status=='7'}" @click="tab('7')">部分发货
</view>
<view
class=
"item "
:class=
"
{'act':status=='8'}" @click="tab('8')">待收货
</view>
<view
class=
"item "
:class=
"
{'act':status=='-1,10'}" @click="tab('-1,10')">已完结
</view>
<view
class=
"item "
:class=
"
{'act':status=='-1,10'}" @click="tab('-1,10')">已完结
</view>
</view>
</view>
</view>
</view>
...
...
pages/user/userInfo.vue
View file @
689f138a
...
@@ -49,12 +49,12 @@
...
@@ -49,12 +49,12 @@
</navigator>
</navigator>
</view>
</view>
<view
class=
"order-status row bothSide"
>
<view
class=
"order-status row bothSide"
>
<navigator
url=
"/pages/user/orderList?status=1"
class=
"yhq"
>
<!--
<navigator
url=
"/pages/user/orderList?status=1"
class=
"yhq"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/d70205f2f83cead903cca76bde50db17.png"
/>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/d70205f2f83cead903cca76bde50db17.png"
/>
<view>
待确认
</view>
<view>
待确认
</view>
<text
class=
"count"
v-if=
"orderCount['1']>0"
>
{{
orderCount
[
'1'
]
}}
</text>
<text
class=
"count"
v-if=
"orderCount['1']>0"
>
{{
orderCount
[
'1'
]
}}
</text>
</navigator>
</navigator>
-->
<navigator
url=
"/pages/user/orderList?status=2,3"
class=
"yhq"
>
<navigator
url=
"/pages/user/orderList?status=2,3"
class=
"yhq"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/1fe54495f0fdfb72f8126daee9d5564f.png"
/>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/1fe54495f0fdfb72f8126daee9d5564f.png"
/>
<view>
待付款
</view>
<view>
待付款
</view>
...
@@ -65,10 +65,15 @@
...
@@ -65,10 +65,15 @@
<view>
待发货
</view>
<view>
待发货
</view>
<text
class=
"count"
v-if=
"orderCount['4']>0"
>
{{
orderCount
[
'4'
]
}}
</text>
<text
class=
"count"
v-if=
"orderCount['4']>0"
>
{{
orderCount
[
'4'
]
}}
</text>
</navigator>
</navigator>
<navigator
url=
"/pages/user/orderList?status=7,8"
class=
"yhq"
>
<navigator
url=
"/pages/user/orderList?status=7"
class=
"yhq"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/4de1203f3ddb51a020c0ab53bd2ee3b5.png"
/>
<view>
部分发货
</view>
<text
class=
"count"
v-if=
"orderCount['7']>0"
>
{{
orderCount
[
'7'
]
}}
</text>
</navigator>
<navigator
url=
"/pages/user/orderList?status=8"
class=
"yhq"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/986cd7e0d070537db3767503d85084c9.png"
/>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/986cd7e0d070537db3767503d85084c9.png"
/>
<view>
待收货
</view>
<view>
待收货
</view>
<text
class=
"count"
v-if=
"(orderCount['7']+orderCount['8'])>0"
>
{{
orderCount
[
'7'
]
+
orderCount
[
'8'
]
}}
</text>
<text
class=
"count"
v-if=
"orderCount['8']>0"
>
{{
orderCount
[
'8'
]
}}
</text>
</navigator>
</navigator>
<navigator
url=
"/pages/user/orderList?status=-1,10"
class=
"yhq"
>
<navigator
url=
"/pages/user/orderList?status=-1,10"
class=
"yhq"
>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/d75f5fe63ec44f624c0289ca2c4821a5.png"
/>
<image
src=
"https://img.ichunt.com/images/ichunt/202502/24/d75f5fe63ec44f624c0289ca2c4821a5.png"
/>
...
...
unpackage/dist/build/mp-weixin/pages/car/confirmOrder.js
View file @
689f138a
"use strict"
;
const
i
=
require
(
"../../common/vendor.js"
),
e
=
require
(
"../../util/api.js"
),
o
=
{
data
:()
=>
({
confirmOrderBackUrl
:
i
.
index
.
getStorageSync
(
"confirmOrderBackUrl"
)
||
""
,
carList
:[],
coupon_list
:[],
coupon_id
:
""
,
address_id
:
""
,
addressInfo
:
""
,
invoice_id
:
""
,
invoice_id_org
:
""
,
invoiceInfo
:
""
,
priceInfo
:
""
,
order_remark
:
""
,
isCompany
:
!
(
!
i
.
index
.
getStorageSync
(
"user_info"
)
||!
JSON
.
parse
(
i
.
index
.
getStorageSync
(
"user_info"
)).
company_name
)}),
onLoad
(
i
){
this
.
address_id
=
i
.
address_id
||
""
,
this
.
invoice_id
=
i
.
invoice_id
||
""
,
this
.
invoice_id_org
=
i
.
invoice_id
||
""
,
this
.
coupon_id
=
i
.
coupon_id
||
""
},
onShow
(){
this
.
getCarList
(),
this
.
getAddress
(),
this
.
getinvoice
(),
this
.
calPrice
()},
methods
:{
chooseYhq
(
i
){
this
.
coupon_id
=
i
},
chooseUp
(){
0
!=
this
.
coupon_list
&&
this
.
openPop
()},
confirmYhq
(){
this
.
calPrice
(),
this
.
closePop
()},
getAddress
(){
this
.
request
(
e
.
Api_Url
+
"/api/address/getList"
,
"GET"
,{},
!
0
).
then
((
i
=>
{
if
(
0
==
i
.
code
){
let
e
=
i
.
data
.
list
||
[];
e
.
forEach
((
i
=>
{
this
.
address_id
?
i
.
address_id
==
this
.
address_id
&&
(
this
.
addressInfo
=
i
):
1
==
i
.
is_default
&&
(
this
.
addressInfo
=
i
)})),
e
.
length
>
0
&&!
this
.
addressInfo
&&
(
this
.
addressInfo
=
e
[
0
]),
this
.
addressInfo
&&
(
this
.
address_id
=
this
.
addressInfo
.
address_id
)}}))},
getinvoice
(){
if
(
"460053411"
==
this
.
invoice_id_org
)
return
this
.
invoice_id
=
""
,
void
(
this
.
invoiceInfo
=
""
);
this
.
request
(
e
.
Api_Url
+
"/api/invoice/getList"
,
"GET"
,{},
!
0
).
then
((
i
=>
{
if
(
0
==
i
.
code
){
let
e
=
i
.
data
.
list
||
[];
e
.
forEach
((
i
=>
{
this
.
invoice_id
?
i
.
tax_id
==
this
.
invoice_id
&&
(
this
.
invoiceInfo
=
i
):
1
==
i
.
is_default
&&
(
this
.
invoiceInfo
=
i
)})),
e
.
length
>
0
&&!
this
.
invoiceInfo
&&
(
this
.
invoiceInfo
=
e
[
0
]),
this
.
invoiceInfo
&&
(
this
.
invoice_id
=
this
.
invoiceInfo
.
tax_id
)}}))},
calPrice
(){
this
.
request
(
e
.
Api_Url
+
"/api/order/calPrice"
,
"post"
,{
sku_ids
:
i
.
index
.
getStorageSync
(
"car_ids"
),
user_coupon_id
:
this
.
coupon_id
||
""
},
!
0
,
!
0
).
then
((
i
=>
{
0
==
i
.
code
&&
(
this
.
priceInfo
=
i
.
data
)}))},
getCarList
(){
this
.
carList
=
[],
this
.
request
(
e
.
Api_Url
+
"/api/cart/getCartGoodsInfo"
,
"GET"
,{
sku_ids
:
i
.
index
.
getStorageSync
(
"car_ids"
)},
!
0
,
!
0
).
then
((
i
=>
{
if
(
0
==
i
.
code
){
i
.
data
.
goods_list
.
forEach
((
i
=>
{
i
.
delivery_list
.
forEach
((
i
=>
{
this
.
carList
.
push
(
i
)}))})),
this
.
coupon_list
=
i
.
data
.
coupon_list
||
[]}}))},
openPop
(){
this
.
$refs
.
popupyhq
.
open
(
"bottom"
)},
closePop
(){
this
.
$refs
.
popupyhq
.
close
(
"bottom"
)},
createOrder
(){
if
(
!
this
.
address_id
)
return
void
i
.
index
.
showToast
({
title
:
"请选择地址"
,
icon
:
"none"
});
let
o
=
[];
this
.
carList
.
forEach
((
i
=>
{
o
.
push
({
sku_id
:
i
.
goods_id
,
num
:
i
.
goods_num
})}));
let
s
=
{
order_shipping_type
:
1
,
zy_delivery_type
:
"3"
,
order_remark
:
this
.
order_remark
,
address_id
:
this
.
address_id
,
invoice_id
:
this
.
invoice_id
||
""
,
user_coupon_id
:
this
.
coupon_id
||
""
,
goods_json
:
JSON
.
stringify
(
o
)};
this
.
request
(
e
.
Api_Url
+
"/api/order/add"
,
"post"
,
s
,
!
0
).
then
((
e
=>
{
0
==
e
.
code
?(
i
.
index
.
showToast
({
title
:
"提交订单成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
i
.
index
.
setStorageSync
(
"car_ids"
,
""
),
i
.
index
.
navigateTo
({
url
:
"/pages/user/orderList?status=1"
})}),
2
e3
)):
i
.
index
.
showToast
({
title
:
e
.
msg
,
icon
:
"nonde"
})}))}},
components
:{
barX
:()
=>
"../../components/barx.js"
,
titleNav
:()
=>
"../../components/title_nav.js"
}};
if
(
!
Array
){(
i
.
resolveComponent
(
"barX"
)
+
i
.
resolveComponent
(
"titleNav"
)
+
i
.
resolveComponent
(
"uni-popup"
))()}
Math
;
const
s
=
i
.
_export_sfc
(
o
,[[
"render"
,
function
(
e
,
o
,
s
,
t
,
n
,
r
){
return
i
.
e
({
a
:
i
.
p
({
title
:
"确认订单"
,
backurl
:
n
.
confirmOrderBackUrl
}),
b
:
n
.
addressInfo
},
n
.
addressInfo
?
i
.
e
({
c
:
i
.
t
(
"中国"
!=
n
.
addressInfo
.
nation_cn
?
n
.
addressInfo
.
nation_cn
:
""
),
d
:
i
.
t
(
n
.
addressInfo
.
province_val
),
e
:
i
.
t
(
n
.
addressInfo
.
city_val
),
f
:
i
.
t
(
n
.
addressInfo
.
district_val
),
g
:
1
==
n
.
addressInfo
.
is_default
},(
n
.
addressInfo
.
is_default
,{}),{
h
:
i
.
t
(
n
.
addressInfo
.
detail_address
),
i
:
i
.
t
(
n
.
addressInfo
.
consignee
),
j
:
i
.
t
(
n
.
addressInfo
.
mobile
),
k
:
"/pages/user/address?form=confirmOrder&address_id="
+
n
.
address_id
+
"&coupon_id="
+
n
.
coupon_id
+
"&invoice_id="
+
n
.
invoice_id
}):{
l
:
"/pages/user/address?form=confirmOrder&address_id="
+
n
.
address_id
+
"&coupon_id="
+
n
.
coupon_id
+
"&invoice_id="
+
n
.
invoice_id
},{
m
:
n
.
carList
.
length
>
0
},
n
.
carList
.
length
>
0
?
i
.
e
({
n
:
i
.
f
(
n
.
carList
,((
e
,
o
,
s
)
=>
({
a
:
e
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
b
:
i
.
t
(
e
.
sku_name
),
c
:
i
.
t
(
e
.
delivery_time
),
d
:
i
.
t
(
e
.
goods_num
),
e
:
i
.
t
(
n
.
isCompany
&&
e
.
company_price
||
e
.
origin_price
),
f
:
o
}))),
o
:
0
==
n
.
coupon_list
.
length
},
0
==
n
.
coupon_list
.
length
?{}:
i
.
e
({
p
:
n
.
priceInfo
},
n
.
priceInfo
?{
q
:
i
.
t
(
n
.
priceInfo
.
currency_sign
),
r
:
i
.
t
(
n
.
priceInfo
.
discount_fee
||
"0.00"
)}:{}),{
s
:
i
.
o
((
i
=>
r
.
chooseUp
()))}):{},{
t
:
i
.
t
(
"460053411"
==
n
.
invoice_id_org
?
"不开发票"
:
n
.
invoiceInfo
?
n
.
invoiceInfo
.
tax_title
:
"暂无发票去设置"
),
v
:
"/pages/user/invoice?form=confirmOrder&invoice_id="
+
n
.
invoice_id
+
"&coupon_id="
+
n
.
coupon_id
+
"&address_id="
+
n
.
address_id
,
w
:
n
.
order_remark
,
x
:
i
.
o
((
i
=>
n
.
order_remark
=
i
.
detail
.
value
)),
y
:
n
.
priceInfo
},
n
.
priceInfo
?{
z
:
i
.
t
(
n
.
priceInfo
.
currency_sign
),
A
:
i
.
t
(
n
.
priceInfo
.
total_amount
),
B
:
i
.
t
(
n
.
priceInfo
.
currency_sign
),
C
:
i
.
t
(
n
.
priceInfo
.
discount_fee
||
"0.00"
)}:{},{
D
:
n
.
priceInfo
},
n
.
priceInfo
?{
E
:
i
.
t
(
n
.
priceInfo
.
currency_sign
),
F
:
i
.
t
(
n
.
priceInfo
.
pay_amount
)}:{},{
G
:
i
.
o
(((...
i
)
=>
r
.
createOrder
&&
r
.
createOrder
(...
i
))),
H
:
i
.
o
(((...
i
)
=>
r
.
closePop
&&
r
.
closePop
(...
i
))),
I
:
n
.
coupon_list
.
length
>
0
},
n
.
coupon_list
.
length
>
0
?{
J
:
i
.
f
(
n
.
coupon_list
,((
e
,
o
,
s
)
=>
i
.
e
({
a
:
2
==
e
.
coupon_type
},
2
==
e
.
coupon_type
?{
b
:
i
.
t
(
10
*
e
.
sale_amount
)}:{
c
:
i
.
t
(
e
.
currency_sign
),
d
:
i
.
t
(
e
.
sale_amount
)},{
e
:
i
.
t
(
e
.
require_amount
<=
.
01
?
"无门槛优惠券"
:
e
.
coupon_name
),
f
:
i
.
t
(
e
.
start_time
),
g
:
i
.
t
(
e
.
end_time
),
h
:
n
.
coupon_id
==
e
.
coupon_id
?
1
:
""
,
i
:
o
,
j
:
i
.
o
((
i
=>
r
.
chooseYhq
(
e
.
coupon_id
)),
o
)})))}:{},{
K
:
i
.
o
(((...
i
)
=>
r
.
confirmYhq
&&
r
.
confirmYhq
(...
i
))),
L
:
i
.
sr
(
"popupyhq"
,
"8d9400f6-2"
),
M
:
i
.
p
({
type
:
"bottom"
,
"safe-area"
:
!
1
})})}],[
"__scopeId"
,
"data-v-8d9400f6
"
]]);
wx
.
createPage
(
s
);
"use strict"
;
const
e
=
require
(
"../../common/vendor.js"
),
i
=
require
(
"../../util/api.js"
),
o
=
{
data
:()
=>
({
confirmOrderBackUrl
:
e
.
index
.
getStorageSync
(
"confirmOrderBackUrl"
)
||
""
,
carList
:[],
coupon_list
:[],
coupon_id
:
""
,
address_id
:
""
,
addressInfo
:
""
,
invoice_id
:
""
,
invoice_id_org
:
""
,
invoiceInfo
:
""
,
priceInfo
:
""
,
order_remark
:
""
,
isCompany
:
!
(
!
e
.
index
.
getStorageSync
(
"user_info"
)
||!
JSON
.
parse
(
e
.
index
.
getStorageSync
(
"user_info"
)).
company_name
)}),
onLoad
(
e
){
this
.
address_id
=
e
.
address_id
||
""
,
this
.
invoice_id
=
e
.
invoice_id
||
""
,
this
.
invoice_id_org
=
e
.
invoice_id
||
""
,
this
.
coupon_id
=
e
.
coupon_id
||
""
},
onShow
(){
this
.
getCarList
(),
this
.
getAddress
(),
this
.
getinvoice
(),
this
.
calPrice
()},
methods
:{
chooseYhq
(
e
){
this
.
coupon_id
=
e
},
chooseUp
(){
0
!=
this
.
coupon_list
&&
this
.
openPop
()},
confirmYhq
(){
this
.
calPrice
(),
this
.
closePop
()},
getAddress
(){
this
.
request
(
i
.
Api_Url
+
"/api/address/getList"
,
"GET"
,{},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
let
i
=
e
.
data
.
list
||
[];
i
.
forEach
((
e
=>
{
this
.
address_id
?
e
.
address_id
==
this
.
address_id
&&
(
this
.
addressInfo
=
e
):
1
==
e
.
is_default
&&
(
this
.
addressInfo
=
e
)})),
i
.
length
>
0
&&!
this
.
addressInfo
&&
(
this
.
addressInfo
=
i
[
0
]),
this
.
addressInfo
&&
(
this
.
address_id
=
this
.
addressInfo
.
address_id
)}}))},
getinvoice
(){
if
(
"460053411"
==
this
.
invoice_id_org
)
return
this
.
invoice_id
=
""
,
void
(
this
.
invoiceInfo
=
""
);
this
.
request
(
i
.
Api_Url
+
"/api/invoice/getList"
,
"GET"
,{},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
let
i
=
e
.
data
.
list
||
[];
i
.
forEach
((
e
=>
{
this
.
invoice_id
?
e
.
tax_id
==
this
.
invoice_id
&&
(
this
.
invoiceInfo
=
e
):
1
==
e
.
is_default
&&
(
this
.
invoiceInfo
=
e
)})),
i
.
length
>
0
&&!
this
.
invoiceInfo
&&
(
this
.
invoiceInfo
=
i
[
0
]),
this
.
invoiceInfo
&&
(
this
.
invoice_id
=
this
.
invoiceInfo
.
tax_id
)}}))},
calPrice
(){
this
.
request
(
i
.
Api_Url
+
"/api/order/calPrice"
,
"post"
,{
sku_ids
:
e
.
index
.
getStorageSync
(
"car_ids"
),
user_coupon_id
:
this
.
coupon_id
||
""
},
!
0
,
!
0
).
then
((
e
=>
{
0
==
e
.
code
&&
(
this
.
priceInfo
=
e
.
data
)}))},
getCarList
(){
this
.
carList
=
[],
this
.
request
(
i
.
Api_Url
+
"/api/cart/getCartGoodsInfo"
,
"GET"
,{
sku_ids
:
e
.
index
.
getStorageSync
(
"car_ids"
)},
!
0
,
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
e
.
data
.
goods_list
.
forEach
((
e
=>
{
e
.
delivery_list
.
forEach
((
e
=>
{
this
.
carList
.
push
(
e
)}))})),
this
.
coupon_list
=
e
.
data
.
coupon_list
||
[]}}))},
openPop
(){
this
.
$refs
.
popupyhq
.
open
(
"bottom"
)},
closePop
(){
this
.
$refs
.
popupyhq
.
close
(
"bottom"
)},
createOrder
(){
if
(
!
this
.
address_id
)
return
void
e
.
index
.
showToast
({
title
:
"请选择地址"
,
icon
:
"none"
});
let
o
=
[];
this
.
carList
.
forEach
((
e
=>
{
o
.
push
({
sku_id
:
e
.
goods_id
,
num
:
e
.
goods_num
})}));
let
s
=
{
order_shipping_type
:
1
,
zy_delivery_type
:
"3"
,
order_remark
:
this
.
order_remark
,
address_id
:
this
.
address_id
,
invoice_id
:
this
.
invoice_id
||
""
,
user_coupon_id
:
this
.
coupon_id
||
""
,
goods_json
:
JSON
.
stringify
(
o
)};
this
.
request
(
i
.
Api_Url
+
"/api/order/add"
,
"post"
,
s
,
!
0
).
then
((
i
=>
{
0
==
i
.
code
?(
e
.
index
.
showToast
({
title
:
"提交订单成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
e
.
index
.
setStorageSync
(
"car_ids"
,
""
),
e
.
index
.
navigateTo
({
url
:
"/pages/user/orderList?status=1"
})}),
2
e3
)):
e
.
index
.
showToast
({
title
:
i
.
msg
,
icon
:
"nonde"
})}))}},
components
:{
barX
:()
=>
"../../components/barx.js"
,
titleNav
:()
=>
"../../components/title_nav.js"
}};
if
(
!
Array
){(
e
.
resolveComponent
(
"barX"
)
+
e
.
resolveComponent
(
"titleNav"
)
+
e
.
resolveComponent
(
"uni-popup"
))()}
Math
;
const
s
=
e
.
_export_sfc
(
o
,[[
"render"
,
function
(
i
,
o
,
s
,
t
,
n
,
r
){
return
e
.
e
({
a
:
e
.
p
({
title
:
"确认订单"
,
backurl
:
n
.
confirmOrderBackUrl
}),
b
:
n
.
addressInfo
},
n
.
addressInfo
?
e
.
e
({
c
:
e
.
t
(
"中国"
!=
n
.
addressInfo
.
nation_cn
?
n
.
addressInfo
.
nation_cn
:
""
),
d
:
e
.
t
(
n
.
addressInfo
.
province_val
),
e
:
e
.
t
(
n
.
addressInfo
.
city_val
),
f
:
e
.
t
(
n
.
addressInfo
.
district_val
),
g
:
1
==
n
.
addressInfo
.
is_default
},(
n
.
addressInfo
.
is_default
,{}),{
h
:
e
.
t
(
n
.
addressInfo
.
detail_address
),
i
:
e
.
t
(
n
.
addressInfo
.
consignee
),
j
:
e
.
t
(
n
.
addressInfo
.
mobile
),
k
:
"/pages/user/address?form=confirmOrder&address_id="
+
n
.
address_id
+
"&coupon_id="
+
n
.
coupon_id
+
"&invoice_id="
+
n
.
invoice_id
}):{
l
:
"/pages/user/address?form=confirmOrder&address_id="
+
n
.
address_id
+
"&coupon_id="
+
n
.
coupon_id
+
"&invoice_id="
+
n
.
invoice_id
},{
m
:
n
.
carList
.
length
>
0
},
n
.
carList
.
length
>
0
?
e
.
e
({
n
:
e
.
f
(
n
.
carList
,((
i
,
o
,
s
)
=>
({
a
:
i
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
b
:
e
.
t
(
i
.
sku_name
),
c
:
e
.
t
(
i
.
delivery_time
),
d
:
e
.
t
(
i
.
goods_num
),
e
:
e
.
t
(
n
.
isCompany
&&
i
.
company_price
||
i
.
origin_price
),
f
:
o
}))),
o
:
0
==
n
.
coupon_list
.
length
},
0
==
n
.
coupon_list
.
length
?{}:
e
.
e
({
p
:
n
.
priceInfo
},
n
.
priceInfo
?{
q
:
e
.
t
(
n
.
priceInfo
.
currency_sign
),
r
:
e
.
t
(
n
.
priceInfo
.
discount_fee
||
"0.00"
)}:{}),{
s
:
e
.
o
((
e
=>
r
.
chooseUp
()))}):{},{
t
:
e
.
t
(
"460053411"
==
n
.
invoice_id_org
?
"不开发票"
:
n
.
invoiceInfo
?
n
.
invoiceInfo
.
tax_title
:
"暂无发票去设置"
),
v
:
"/pages/user/invoice?form=confirmOrder&invoice_id="
+
n
.
invoice_id
+
"&coupon_id="
+
n
.
coupon_id
+
"&address_id="
+
n
.
address_id
,
w
:
n
.
order_remark
,
x
:
e
.
o
((
e
=>
n
.
order_remark
=
e
.
detail
.
value
)),
y
:
n
.
priceInfo
},
n
.
priceInfo
?
e
.
e
({
z
:
e
.
t
(
n
.
priceInfo
.
currency_sign
),
A
:
e
.
t
(
n
.
priceInfo
.
total_amount
),
B
:
Number
(
n
.
priceInfo
.
discovery_fee
)
<=
0
},
Number
(
n
.
priceInfo
.
discovery_fee
)
<=
0
?{}:{
C
:
e
.
t
(
n
.
priceInfo
.
currency_sign
),
D
:
e
.
t
(
n
.
priceInfo
.
discovery_fee
||
"0.00"
)},{
E
:
e
.
t
(
n
.
priceInfo
.
currency_sign
),
F
:
e
.
t
(
n
.
priceInfo
.
discount_fee
||
"0.00"
)}):{},{
G
:
n
.
priceInfo
},
n
.
priceInfo
?{
H
:
e
.
t
(
n
.
priceInfo
.
currency_sign
),
I
:
e
.
t
(
n
.
priceInfo
.
pay_amount
)}:{},{
J
:
e
.
o
(((...
e
)
=>
r
.
createOrder
&&
r
.
createOrder
(...
e
))),
K
:
e
.
o
(((...
e
)
=>
r
.
closePop
&&
r
.
closePop
(...
e
))),
L
:
n
.
coupon_list
.
length
>
0
},
n
.
coupon_list
.
length
>
0
?{
M
:
e
.
f
(
n
.
coupon_list
,((
i
,
o
,
s
)
=>
e
.
e
({
a
:
2
==
i
.
coupon_type
},
2
==
i
.
coupon_type
?{
b
:
e
.
t
(
10
*
i
.
sale_amount
)}:{
c
:
e
.
t
(
i
.
currency_sign
),
d
:
e
.
t
(
i
.
sale_amount
)},{
e
:
e
.
t
(
i
.
require_amount
<=
.
01
?
"无门槛优惠券"
:
i
.
coupon_name
),
f
:
e
.
t
(
i
.
start_time
),
g
:
e
.
t
(
i
.
end_time
),
h
:
n
.
coupon_id
==
i
.
coupon_id
?
1
:
""
,
i
:
o
,
j
:
e
.
o
((
e
=>
r
.
chooseYhq
(
i
.
coupon_id
)),
o
)})))}:{},{
N
:
e
.
o
(((...
e
)
=>
r
.
confirmYhq
&&
r
.
confirmYhq
(...
e
))),
O
:
e
.
sr
(
"popupyhq"
,
"590ed507-2"
),
P
:
e
.
p
({
type
:
"bottom"
,
"safe-area"
:
!
1
})})}],[
"__scopeId"
,
"data-v-590ed507
"
]]);
wx
.
createPage
(
s
);
unpackage/dist/build/mp-weixin/pages/car/confirmOrder.wxml
View file @
689f138a
<view class="confirmOrderPage data-v-8d9400f6"><bar-x class="data-v-8d9400f6" u-i="8d9400f6-0" bind:__l="__l"/><title-nav wx:if="{{a}}" class="data-v-8d9400f6" u-i="8d9400f6-1" bind:__l="__l" u-p="{{a}}"/><view class="cons data-v-8d9400f6"><view class="top-box data-v-8d9400f6"><navigator wx:if="{{b}}" url="{{k}}" class="address-box data-v-8d9400f6"><view class="addbx row bothSide verCenter data-v-8d9400f6"><view class="l data-v-8d9400f6"><view class="ad row verCenter data-v-8d9400f6"><text class="csq data-v-8d9400f6">{{c}} {{d}} {{e}} {{f}}</text><text wx:if="{{g}}" class="mr data-v-8d9400f6">默认</text></view><view class="ad1 data-v-8d9400f6">{{h}}</view><view class="cnnk data-v-8d9400f6"><text class="data-v-8d9400f6">{{i}}</text><text class="data-v-8d9400f6">{{j}}</text></view></view><text class="icon iconfont icon-arrowright data-v-8d9400f6"></text></view></navigator><navigator wx:else url="{{l}}" class="address-box data-v-8d9400f6"><view class="noadd row verCenter bothSide data-v-8d9400f6"><text class="data-v-8d9400f6">收货地址</text><view class="data-v-8d9400f6"><text class="data-v-8d9400f6">暂无地址信息去设置</text><text class="icon iconfont icon-arrowright data-v-8d9400f6"></text></view></view></navigator></view><view wx:if="{{m}}" class="goods-box data-v-8d9400f6"><view wx:for="{{n}}" wx:for-item="item" wx:key="f" class="group row data-v-8d9400f6"><image class="data-v-8d9400f6" src="{{item.a}}"/><view class="infos data-v-8d9400f6"><view class="ganme elep2 data-v-8d9400f6">{{item.b}}</view><view class="hqs row verCenter bothSide data-v-8d9400f6"><text class="data-v-8d9400f6">货期:{{item.c}}</text><text class="data-v-8d9400f6">x{{item.d}}</text></view><view class="price data-v-8d9400f6">¥{{item.e}}</view></view></view><view class="coupo-box row bothSide verCenter data-v-8d9400f6" bindtap="{{s}}"><view class="l data-v-8d9400f6">选择您的优惠券</view><view class="r row verCenter data-v-8d9400f6"><view wx:if="{{o}}" class="not data-v-8d9400f6"><text class="data-v-8d9400f6">未识别到可用优惠券</text><text class="icon iconfont icon-arrowright data-v-8d9400f6"></text></view><view wx:else class="data-v-8d9400f6"><text wx:if="{{p}}" class="data-v-8d9400f6">-{{q}}{{r}}</text><text class="icon iconfont icon-arrowright data-v-8d9400f6"></text></view></view></view></view><view class="cginfo data-v-8d9400f6"><view class="tit data-v-8d9400f6">采购信息确认</view><navigator class="data-v-8d9400f6" url="{{v}}"><view class="row bothSide item data-v-8d9400f6"><text class="data-v-8d9400f6">发票信息</text><view class="data-v-8d9400f6"><text class="data-v-8d9400f6">{{t}}</text><text class="icon iconfont icon-arrowright data-v-8d9400f6"></text></view></view></navigator><view class="pur-sn-box data-v-8d9400f6"><view class="tit data-v-8d9400f6">订单备注</view><input type="text" class="pur-sn-val data-v-8d9400f6" placeholder-class="placeholder-class" placeholder="请输入订单备注" value="{{w}}" bindinput="{{x}}"/></view></view><view wx:if="{{y}}" class="price-infos data-v-8d9400f6"><view class="top data-v-8d9400f6"><view class="item row bothSide data-v-8d9400f6"><text class="data-v-8d9400f6">商品含税总额</text><text class="data-v-8d9400f6">{{z}}{{A}}</text></view><view class="item row bothSide data-v-8d9400f6"><text class="data-v-8d9400f6">运费(未税)</text><text class="data-v-8d9400f6">已免运费</text></view></view><view class="bottom data-v-8d9400f6"><view class="item row bothSide data-v-8d9400f6"><text class="data-v-8d9400f6">优惠金额</text><text class="data-v-8d9400f6">{{B}}{{C}}</text></view></view></view></view><view class="foot row verCenter bothSide data-v-8d9400f6"><view wx:if="{{D}}" class="l row verCenter data-v-8d9400f6">含税总额:<text class="data-v-8d9400f6">{{E}}{{F}}</text></view><view class="submit-btn data-v-8d9400f6" bindtap="{{G}}">提交订单</view></view><uni-popup wx:if="{{M}}" class="r data-v-8d9400f6" u-s="{{['d']}}" u-r="popupyhq" u-i="8d9400f6-2" bind:__l="__l" u-p="{{M}}"><view class="pop-yhq data-v-8d9400f6"><view class="trt data-v-8d9400f6"><text class="icon iconfont icon-caca data-v-8d9400f6" bindtap="{{H}}"></text></view><view class="ttit elep data-v-8d9400f6">优惠券</view><view wx:if="{{I}}" class="cons data-v-8d9400f6"><view wx:for="{{J}}" wx:for-item="item" wx:key="i" class="{{['group', 'row', 'bothSide', 'verCenter', 'data-v-8d9400f6', item.h && 'act']}}" bindtap="{{item.j}}"><view class="l row data-v-8d9400f6"><view class="price data-v-8d9400f6"><text wx:if="{{item.a}}" class="data-v-8d9400f6">折<text class="textp data-v-8d9400f6">{{item.b}}</text></text><text wx:else class="data-v-8d9400f6">{{item.c}}<text class="textp data-v-8d9400f6">{{item.d}}</text></text><view class="tips data-v-8d9400f6">{{item.e}}</view></view><view class="yhld data-v-8d9400f6"><view class="data-v-8d9400f6">商品优惠券</view><text class="data-v-8d9400f6">{{item.f}} - {{item.g}}</text></view></view></view></view><view class="add-btn data-v-8d9400f6" bindtap="{{K}}">确认</view></view></uni-popup></view>
<view class="confirmOrderPage data-v-590ed507"><bar-x class="data-v-590ed507" u-i="590ed507-0" bind:__l="__l"/><title-nav wx:if="{{a}}" class="data-v-590ed507" u-i="590ed507-1" bind:__l="__l" u-p="{{a}}"/><view class="cons data-v-590ed507"><view class="top-box data-v-590ed507"><navigator wx:if="{{b}}" url="{{k}}" class="address-box data-v-590ed507"><view class="addbx row bothSide verCenter data-v-590ed507"><view class="l data-v-590ed507"><view class="ad row verCenter data-v-590ed507"><text class="csq data-v-590ed507">{{c}} {{d}} {{e}} {{f}}</text><text wx:if="{{g}}" class="mr data-v-590ed507">默认</text></view><view class="ad1 data-v-590ed507">{{h}}</view><view class="cnnk data-v-590ed507"><text class="data-v-590ed507">{{i}}</text><text class="data-v-590ed507">{{j}}</text></view></view><text class="icon iconfont icon-arrowright data-v-590ed507"></text></view></navigator><navigator wx:else url="{{l}}" class="address-box data-v-590ed507"><view class="noadd row verCenter bothSide data-v-590ed507"><text class="data-v-590ed507">收货地址</text><view class="data-v-590ed507"><text class="data-v-590ed507">暂无地址信息去设置</text><text class="icon iconfont icon-arrowright data-v-590ed507"></text></view></view></navigator></view><view wx:if="{{m}}" class="goods-box data-v-590ed507"><view wx:for="{{n}}" wx:for-item="item" wx:key="f" class="group row data-v-590ed507"><image class="data-v-590ed507" src="{{item.a}}"/><view class="infos data-v-590ed507"><view class="ganme elep2 data-v-590ed507">{{item.b}}</view><view class="hqs row verCenter bothSide data-v-590ed507"><text class="data-v-590ed507">货期:{{item.c}}</text><text class="data-v-590ed507">x{{item.d}}</text></view><view class="price data-v-590ed507">¥{{item.e}}</view></view></view><view class="coupo-box row bothSide verCenter data-v-590ed507" bindtap="{{s}}"><view class="l data-v-590ed507">选择您的优惠券</view><view class="r row verCenter data-v-590ed507"><view wx:if="{{o}}" class="not data-v-590ed507"><text class="data-v-590ed507">未识别到可用优惠券</text><text class="icon iconfont icon-arrowright data-v-590ed507"></text></view><view wx:else class="data-v-590ed507"><text wx:if="{{p}}" class="data-v-590ed507">-{{q}}{{r}}</text><text class="icon iconfont icon-arrowright data-v-590ed507"></text></view></view></view></view><view class="cginfo data-v-590ed507"><view class="tit data-v-590ed507">采购信息确认</view><navigator class="data-v-590ed507" url="{{v}}"><view class="row bothSide item data-v-590ed507"><text class="data-v-590ed507">发票信息</text><view class="data-v-590ed507"><text class="data-v-590ed507">{{t}}</text><text class="icon iconfont icon-arrowright data-v-590ed507"></text></view></view></navigator><view class="pur-sn-box data-v-590ed507"><view class="tit data-v-590ed507">订单备注</view><input type="text" class="pur-sn-val data-v-590ed507" placeholder-class="placeholder-class" placeholder="请输入订单备注" value="{{w}}" bindinput="{{x}}"/></view></view><view wx:if="{{y}}" class="price-infos data-v-590ed507"><view class="top data-v-590ed507"><view class="item row bothSide data-v-590ed507"><text class="data-v-590ed507">商品含税总额</text><text class="data-v-590ed507">{{z}}{{A}}</text></view><view class="item row bothSide data-v-590ed507"><text class="data-v-590ed507">运费(未税)</text><text wx:if="{{B}}" class="data-v-590ed507">已免运费</text><text wx:else class="data-v-590ed507">{{C}}{{D}}</text></view></view><view class="bottom data-v-590ed507"><view class="item row bothSide data-v-590ed507"><text class="data-v-590ed507">优惠金额</text><text class="data-v-590ed507">{{E}}{{F}}</text></view></view></view></view><view class="foot row verCenter bothSide data-v-590ed507"><view wx:if="{{G}}" class="l row verCenter data-v-590ed507">含税总额:<text class="data-v-590ed507">{{H}}{{I}}</text></view><view class="submit-btn data-v-590ed507" bindtap="{{J}}">提交订单</view></view><uni-popup wx:if="{{P}}" class="r data-v-590ed507" u-s="{{['d']}}" u-r="popupyhq" u-i="590ed507-2" bind:__l="__l" u-p="{{P}}"><view class="pop-yhq data-v-590ed507"><view class="trt data-v-590ed507"><text class="icon iconfont icon-caca data-v-590ed507" bindtap="{{K}}"></text></view><view class="ttit elep data-v-590ed507">优惠券</view><view wx:if="{{L}}" class="cons data-v-590ed507"><view wx:for="{{M}}" wx:for-item="item" wx:key="i" class="{{['group', 'row', 'bothSide', 'verCenter', 'data-v-590ed507', item.h && 'act']}}" bindtap="{{item.j}}"><view class="l row data-v-590ed507"><view class="price data-v-590ed507"><text wx:if="{{item.a}}" class="data-v-590ed507">折<text class="textp data-v-590ed507">{{item.b}}</text></text><text wx:else class="data-v-590ed507">{{item.c}}<text class="textp data-v-590ed507">{{item.d}}</text></text><view class="tips data-v-590ed507">{{item.e}}</view></view><view class="yhld data-v-590ed507"><view class="data-v-590ed507">商品优惠券</view><text class="data-v-590ed507">{{item.f}} - {{item.g}}</text></view></view></view></view><view class="add-btn data-v-590ed507" bindtap="{{N}}">确认</view></view></uni-popup></view>
\ No newline at end of file
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/car/confirmOrder.wxss
View file @
689f138a
view.data-v-
8d9400f6,text.data-v-8d9400f6,input.data-v-8d9400f6,navigator.data-v-8d9400f6{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-8d9400f6,page.data-v-8d9400f6,view.data-v-8d9400f6,text.data-v-8d9400f6,scroll-view.data-v-8d9400f6{-webkit-user-select:text!important;user-select:text!important}.navigator-hover.data-v-8d9400f6{background:none;opacity:1}image.data-v-8d9400f6{vertical-align:middle}.elep.data-v-8d9400f6{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elep2.data-v-8d9400f6{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.column.data-v-8d9400f6{display:flex;flex-direction:column}.row.data-v-8d9400f6{display:flex;flex-direction:row}.boxsiz.data-v-8d9400f6{box-sizing:border-box}.bothSide.data-v-8d9400f6{justify-content:space-between}.avarage.data-v-8d9400f6{justify-content:space-around}.rowCenter.data-v-8d9400f6{justify-content:center}.verCenter.data-v-8d9400f6{align-items:center}.confirmOrderPage.data-v-8d9400f6{background:#f8f8f8;padding-top:75rpx;padding-bottom:220rpx}.confirmOrderPage .cons.data-v-8d9400f6{width:700rpx;margin:0 auto}.confirmOrderPage .cons .top-box.data-v-8d9400f6{background:#fff;padding:15rpx 22rpx 30rpx;border-radius:20rpx}.confirmOrderPage .cons .top-box .address-box.data-v-8d9400f6{display:block;padding-top:10rpx}.confirmOrderPage .cons .top-box .address-box .noadd.data-v-8d9400f6{font-size:26rpx;color:#000;line-height:62rpx}.confirmOrderPage .cons .top-box .address-box .noadd .icon.data-v-8d9400f6{font-size:16rpx;color:#898989;margin-left:20rpx;position:relative;top:-3rpx}.confirmOrderPage .cons .top-box .address-box .addbx .iconfont.data-v-8d9400f6{font-size:16rpx;color:#898989}.confirmOrderPage .cons .top-box .address-box .addbx .ad.data-v-8d9400f6{height:62rpx}.confirmOrderPage .cons .top-box .address-box .addbx .csq.data-v-8d9400f6{font-size:26rpx;color:#000}.confirmOrderPage .cons .top-box .address-box .addbx .ad1.data-v-8d9400f6{font-size:30rpx;color:#000;height:35rpx;line-height:35rpx;font-weight:700;margin-top:4rpx}.confirmOrderPage .cons .top-box .address-box .addbx .cnnk.data-v-8d9400f6{font-size:24rpx;color:#666;line-height:40rpx;height:40rpx;margin-top:8rpx}.confirmOrderPage .cons .top-box .address-box .addbx .cnnk text.data-v-8d9400f6{margin-right:20rpx}.confirmOrderPage .cons .top-box .address-box .addbx .mr.data-v-8d9400f6{width:70rpx;height:35rpx;background:#fff5f5;border-radius:5rpx;border:1rpx solid #D0121B;text-align:center;line-height:35rpx;font-size:24rpx;color:#d0121b;margin-left:20rpx}.confirmOrderPage .cons .goods-box.data-v-8d9400f6{margin-top:25rpx;background:#fff;padding:0rpx 23rpx 30rpx;border-radius:20rpx}.confirmOrderPage .cons .goods-box image.data-v-8d9400f6{width:190rpx;height:190rpx;margin-right:29rpx;border:2rpx solid #F6F6F6;border-radius:5rpx}.confirmOrderPage .cons .goods-box .group.data-v-8d9400f6{padding-bottom:38rpx;padding-top:30rpx;border-bottom:1rpx solid #E7E7E7}.confirmOrderPage .cons .goods-box .group .ganme.data-v-8d9400f6{font-size:26rpx;color:#000;line-height:45rpx;height:90rpx;width:440rpx}.confirmOrderPage .cons .goods-box .group .hqs.data-v-8d9400f6{font-size:26rpx;color:#666;height:40rpx;line-height:40rpx;margin-top:20rpx}.confirmOrderPage .cons .goods-box .group .price.data-v-8d9400f6{font-size:30rpx;color:#000;height:40rpx;line-height:40rpx;margin-top:10rpx}.confirmOrderPage .cons .coupo-box.data-v-8d9400f6{border-radius:20rpx;margin-top:25rpx;height:62rpx;font-size:24rpx;color:#000;line-height:62rpx}.confirmOrderPage .cons .coupo-box .r.data-v-8d9400f6{font-size:26rpx;color:#d0121b;height:62rpx}.confirmOrderPage .cons .coupo-box .r .icon.data-v-8d9400f6{font-size:16rpx;color:#d0121b;margin-left:25rpx;position:relative;top:-3rpx}.confirmOrderPage .cons .coupo-box .r .not.data-v-8d9400f6{color:#999}.confirmOrderPage .cons .coupo-box .r .not .icon.data-v-8d9400f6{color:#898989}.confirmOrderPage .cons .pur-sn-box.data-v-8d9400f6{margin-top:25rpx}.confirmOrderPage .cons .pur-sn-box .tit.data-v-8d9400f6{font-size:26rpx;color:#000;line-height:62rpx;height:62rpx}.confirmOrderPage .cons .pur-sn-box .pur-sn-val.data-v-8d9400f6{height:80rpx;background:#f8f8f8;line-height:80rpx;border-radius:5rpx;border:1rpx solid #E7E7E7;font-size:26rpx;color:#000;padding:0 20rpx}.confirmOrderPage .cons .pur-sn-box .pur-sn-val.data-v-8d9400f6:hover{border:1rpx solid #D0121B}.confirmOrderPage .cons .pur-sn-box .pur-sn-val.placeholder-class.data-v-8d9400f6{color:gray;font-size:26rpx}.confirmOrderPage .cons .cginfo.data-v-8d9400f6{margin-top:25rpx;background:#fff;border-radius:20rpx;padding:30rpx 22rpx}.confirmOrderPage .cons .cginfo .tit.data-v-8d9400f6{font-size:28rpx;color:#000;margin-bottom:20rpx}.confirmOrderPage .cons .cginfo .item.data-v-8d9400f6{font-size:26rpx;color:#000;line-height:62rpx}.confirmOrderPage .cons .cginfo .item .price.data-v-8d9400f6{color:#d0121b}.confirmOrderPage .cons .cginfo .item .icon.data-v-8d9400f6{font-size:16rpx;color:#898989;margin-left:20rpx;position:relative;top:-5rpx}.confirmOrderPage .cons .price-infos.data-v-8d9400f6{padding:30rpx 20rpx;background:#fff;margin-top:25rpx;border-radius:20rpx}.confirmOrderPage .cons .price-infos .item.data-v-8d9400f6{font-size:26rpx;color:#000;line-height:62rpx;height:62rpx}.confirmOrderPage .cons .price-infos .bottom .price-pay.data-v-8d9400f6{color:#d0121b}.confirmOrderPage .foot.data-v-8d9400f6{height:175rpx;width:100%;position:fixed;left:0rpx;right:0rpx;bottom:0rpx;z-index:2;background:#fff;padding-left:40rpx;padding-right:25rpx;border-top:1rpx solid #E7E7E7}.confirmOrderPage .foot .l.data-v-8d9400f6{font-size:24rpx;color:#000}.confirmOrderPage .foot .l text.data-v-8d9400f6{font-size:32rpx;color:#d91800}.confirmOrderPage .foot .submit-btn.data-v-8d9400f6{width:288rpx;height:70rpx;background:linear-gradient(90deg,#f66f15,#fe3014);border-radius:100rpx;font-size:26rpx;color:#fff;text-align:center;line-height:70rpx}.pop-yhq.data-v-8d9400f6{width:100%;background:#fff;border-radius:10rpx 10rpx 0rpx 0rpx;padding:24rpx 30rpx 150rpx;position:relative}.pop-yhq .trt.data-v-8d9400f6{text-align:right}.pop-yhq .trt .icon.data-v-8d9400f6{color:#898989;font-size:25rpx}.pop-yhq .tit.data-v-8d9400f6{font-size:24rpx;color:#000;margin-bottom:25rpx;text-align:center}.pop-yhq .cons.data-v-8d9400f6{margin-top:68rpx;max-height:800rpx;overflow-y:auto}.pop-yhq .cons .group.data-v-8d9400f6{height:180rpx;margin-bottom:25rpx;background:url(https://img.ichunt.com/images/ichunt/202502/24/435bcc261a434392135ee0846ac99d60.png) no-repeat;background-size:100% 100%;padding-left:27rpx;padding-right:30rpx;border-radius:20rpx;border:1rpx solid #fff}.pop-yhq .cons .group.act.data-v-8d9400f6{border:1rpx solid #D0121B}.pop-yhq .cons .group .l .price.data-v-8d9400f6{font-weight:600;font-size:30rpx;color:#ff3000;margin-right:68rpx}.pop-yhq .cons .group .l .price .textp.data-v-8d9400f6{font-size:60rpx;color:#ff3000}.pop-yhq .cons .group .l .price .tips.data-v-8d9400f6{font-size:22rpx;color:#ff6300;font-weight:400}.pop-yhq .cons .group .l .yhld.data-v-8d9400f6{font-size:22rpx;color:#ff6300}.pop-yhq .cons .group .l .yhld view.data-v-8d9400f6{font-size:35rpx;color:#3b2c1b;height:72rpx;line-height:65rpx}.pop-yhq .cons .group .rbtn.data-v-8d9400f6{width:146rpx;height:58rpx;background:linear-gradient(180deg,#f6491d,#f52a1b);border-radius:5rpx;font-size:26rpx;color:#fff}.pop-yhq .cons .group .rbtn text.data-v-8d9400f6{background:url(https://img.ichunt.com/images/ichunt/202502/24/4ab2a242f3e45c0bafe3fb3207263ed2.png) no-repeat;background-size:100% 100%;height:25rpx;width:25rpx;margin-left:10rpx}.pop-yhq .add-btn.data-v-8d9400f6
{width:100%;height:110rpx;background:#d0121b;line-height:110rpx;text-align:center;font-size:30rpx;color:#fff;position:absolute;bottom:0rpx;left:0rpx}
view.data-v-
590ed507,text.data-v-590ed507,input.data-v-590ed507,navigator.data-v-590ed507{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-590ed507,page.data-v-590ed507,view.data-v-590ed507,text.data-v-590ed507,scroll-view.data-v-590ed507{-webkit-user-select:text!important;user-select:text!important}.navigator-hover.data-v-590ed507{background:none;opacity:1}image.data-v-590ed507{vertical-align:middle}.elep.data-v-590ed507{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elep2.data-v-590ed507{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.column.data-v-590ed507{display:flex;flex-direction:column}.row.data-v-590ed507{display:flex;flex-direction:row}.boxsiz.data-v-590ed507{box-sizing:border-box}.bothSide.data-v-590ed507{justify-content:space-between}.avarage.data-v-590ed507{justify-content:space-around}.rowCenter.data-v-590ed507{justify-content:center}.verCenter.data-v-590ed507{align-items:center}.confirmOrderPage.data-v-590ed507{background:#f8f8f8;padding-top:75rpx;padding-bottom:220rpx}.confirmOrderPage .cons.data-v-590ed507{width:700rpx;margin:0 auto}.confirmOrderPage .cons .top-box.data-v-590ed507{background:#fff;padding:15rpx 22rpx 30rpx;border-radius:20rpx}.confirmOrderPage .cons .top-box .address-box.data-v-590ed507{display:block;padding-top:10rpx}.confirmOrderPage .cons .top-box .address-box .noadd.data-v-590ed507{font-size:26rpx;color:#000;line-height:62rpx}.confirmOrderPage .cons .top-box .address-box .noadd .icon.data-v-590ed507{font-size:16rpx;color:#898989;margin-left:20rpx;position:relative;top:-3rpx}.confirmOrderPage .cons .top-box .address-box .addbx .iconfont.data-v-590ed507{font-size:16rpx;color:#898989}.confirmOrderPage .cons .top-box .address-box .addbx .ad.data-v-590ed507{height:62rpx}.confirmOrderPage .cons .top-box .address-box .addbx .csq.data-v-590ed507{font-size:26rpx;color:#000}.confirmOrderPage .cons .top-box .address-box .addbx .ad1.data-v-590ed507{font-size:30rpx;color:#000;height:35rpx;line-height:35rpx;font-weight:700;margin-top:4rpx}.confirmOrderPage .cons .top-box .address-box .addbx .cnnk.data-v-590ed507{font-size:24rpx;color:#666;line-height:40rpx;height:40rpx;margin-top:8rpx}.confirmOrderPage .cons .top-box .address-box .addbx .cnnk text.data-v-590ed507{margin-right:20rpx}.confirmOrderPage .cons .top-box .address-box .addbx .mr.data-v-590ed507{width:70rpx;height:35rpx;background:#fff5f5;border-radius:5rpx;border:1rpx solid #D0121B;text-align:center;line-height:35rpx;font-size:24rpx;color:#d0121b;margin-left:20rpx}.confirmOrderPage .cons .goods-box.data-v-590ed507{margin-top:25rpx;background:#fff;padding:0rpx 23rpx 30rpx;border-radius:20rpx}.confirmOrderPage .cons .goods-box image.data-v-590ed507{width:190rpx;height:190rpx;margin-right:29rpx;border:2rpx solid #F6F6F6;border-radius:5rpx}.confirmOrderPage .cons .goods-box .group.data-v-590ed507{padding-bottom:38rpx;padding-top:30rpx;border-bottom:1rpx solid #E7E7E7}.confirmOrderPage .cons .goods-box .group .ganme.data-v-590ed507{font-size:26rpx;color:#000;line-height:45rpx;height:90rpx;width:440rpx}.confirmOrderPage .cons .goods-box .group .hqs.data-v-590ed507{font-size:26rpx;color:#666;height:40rpx;line-height:40rpx;margin-top:20rpx}.confirmOrderPage .cons .goods-box .group .price.data-v-590ed507{font-size:30rpx;color:#000;height:40rpx;line-height:40rpx;margin-top:10rpx}.confirmOrderPage .cons .coupo-box.data-v-590ed507{border-radius:20rpx;margin-top:25rpx;height:62rpx;font-size:24rpx;color:#000;line-height:62rpx}.confirmOrderPage .cons .coupo-box .r.data-v-590ed507{font-size:26rpx;color:#d0121b;height:62rpx}.confirmOrderPage .cons .coupo-box .r .icon.data-v-590ed507{font-size:16rpx;color:#d0121b;margin-left:25rpx;position:relative;top:-3rpx}.confirmOrderPage .cons .coupo-box .r .not.data-v-590ed507{color:#999}.confirmOrderPage .cons .coupo-box .r .not .icon.data-v-590ed507{color:#898989}.confirmOrderPage .cons .pur-sn-box.data-v-590ed507{margin-top:25rpx}.confirmOrderPage .cons .pur-sn-box .tit.data-v-590ed507{font-size:26rpx;color:#000;line-height:62rpx;height:62rpx}.confirmOrderPage .cons .pur-sn-box .pur-sn-val.data-v-590ed507{height:80rpx;background:#f8f8f8;line-height:80rpx;border-radius:5rpx;border:1rpx solid #E7E7E7;font-size:26rpx;color:#000;padding:0 20rpx}.confirmOrderPage .cons .pur-sn-box .pur-sn-val.data-v-590ed507:hover{border:1rpx solid #D0121B}.confirmOrderPage .cons .pur-sn-box .pur-sn-val.placeholder-class.data-v-590ed507{color:gray;font-size:26rpx}.confirmOrderPage .cons .cginfo.data-v-590ed507{margin-top:25rpx;background:#fff;border-radius:20rpx;padding:30rpx 22rpx}.confirmOrderPage .cons .cginfo .tit.data-v-590ed507{font-size:28rpx;color:#000;margin-bottom:20rpx}.confirmOrderPage .cons .cginfo .item.data-v-590ed507{font-size:26rpx;color:#000;line-height:62rpx}.confirmOrderPage .cons .cginfo .item .price.data-v-590ed507{color:#d0121b}.confirmOrderPage .cons .cginfo .item .icon.data-v-590ed507{font-size:16rpx;color:#898989;margin-left:20rpx;position:relative;top:-5rpx}.confirmOrderPage .cons .price-infos.data-v-590ed507{padding:30rpx 20rpx;background:#fff;margin-top:25rpx;border-radius:20rpx}.confirmOrderPage .cons .price-infos .item.data-v-590ed507{font-size:26rpx;color:#000;line-height:62rpx;height:62rpx}.confirmOrderPage .cons .price-infos .bottom .price-pay.data-v-590ed507{color:#d0121b}.confirmOrderPage .foot.data-v-590ed507{height:175rpx;width:100%;position:fixed;left:0rpx;right:0rpx;bottom:0rpx;z-index:2;background:#fff;padding-left:40rpx;padding-right:25rpx;border-top:1rpx solid #E7E7E7}.confirmOrderPage .foot .l.data-v-590ed507{font-size:24rpx;color:#000}.confirmOrderPage .foot .l text.data-v-590ed507{font-size:32rpx;color:#d91800}.confirmOrderPage .foot .submit-btn.data-v-590ed507{width:288rpx;height:70rpx;background:linear-gradient(90deg,#f66f15,#fe3014);border-radius:100rpx;font-size:26rpx;color:#fff;text-align:center;line-height:70rpx}.pop-yhq.data-v-590ed507{width:100%;background:#fff;border-radius:10rpx 10rpx 0rpx 0rpx;padding:24rpx 30rpx 150rpx;position:relative}.pop-yhq .trt.data-v-590ed507{text-align:right}.pop-yhq .trt .icon.data-v-590ed507{color:#898989;font-size:25rpx}.pop-yhq .tit.data-v-590ed507{font-size:24rpx;color:#000;margin-bottom:25rpx;text-align:center}.pop-yhq .cons.data-v-590ed507{margin-top:68rpx;max-height:800rpx;overflow-y:auto}.pop-yhq .cons .group.data-v-590ed507{height:180rpx;margin-bottom:25rpx;background:url(https://img.ichunt.com/images/ichunt/202502/24/435bcc261a434392135ee0846ac99d60.png) no-repeat;background-size:100% 100%;padding-left:27rpx;padding-right:30rpx;border-radius:20rpx;border:1rpx solid #fff}.pop-yhq .cons .group.act.data-v-590ed507{border:1rpx solid #D0121B}.pop-yhq .cons .group .l .price.data-v-590ed507{font-weight:600;font-size:30rpx;color:#ff3000;margin-right:68rpx}.pop-yhq .cons .group .l .price .textp.data-v-590ed507{font-size:60rpx;color:#ff3000}.pop-yhq .cons .group .l .price .tips.data-v-590ed507{font-size:22rpx;color:#ff6300;font-weight:400}.pop-yhq .cons .group .l .yhld.data-v-590ed507{font-size:22rpx;color:#ff6300}.pop-yhq .cons .group .l .yhld view.data-v-590ed507{font-size:35rpx;color:#3b2c1b;height:72rpx;line-height:65rpx}.pop-yhq .cons .group .rbtn.data-v-590ed507{width:146rpx;height:58rpx;background:linear-gradient(180deg,#f6491d,#f52a1b);border-radius:5rpx;font-size:26rpx;color:#fff}.pop-yhq .cons .group .rbtn text.data-v-590ed507{background:url(https://img.ichunt.com/images/ichunt/202502/24/4ab2a242f3e45c0bafe3fb3207263ed2.png) no-repeat;background-size:100% 100%;height:25rpx;width:25rpx;margin-left:10rpx}.pop-yhq .add-btn.data-v-590ed507
{width:100%;height:110rpx;background:#d0121b;line-height:110rpx;text-align:center;font-size:30rpx;color:#fff;position:absolute;bottom:0rpx;left:0rpx}
unpackage/dist/build/web/assets/barx.BsVUcAxA.js
deleted
100644 → 0
View file @
d46cc593
import
{
E
as
e
,
o
as
s
,
c
as
t
,
w
as
a
,
d
as
o
,
v
as
n
,
e
as
c
,
t
as
l
,
m
as
r
,
i
as
p
}
from
"./index-CDFUxcS7.js"
;
const
d
=
(
e
,
s
)
=>
{
const
t
=
e
.
__vccOpts
||
e
;
for
(
const
[
a
,
o
]
of
s
)
t
[
a
]
=
o
;
return
t
};
const
i
=
d
({
name
:
"barx"
,
props
:{
pageTitle
:{
type
:
String
,
default
:
"爱智工业品"
},
type
:{
type
:
Number
,
default
:
0
}},
created
(){},
data
:()
=>
({}),
methods
:{
goHome
(){
e
({
url
:
"/pages/index/index"
})}}},[[
"render"
,
function
(
e
,
d
,
i
,
f
,
u
,
m
){
const
y
=
r
,
_
=
p
;
return
s
(),
t
(
_
,{
class
:
n
([
"custom-nav"
,{
type1
:
1
==
i
.
type
}])},{
default
:
a
((()
=>
[
o
(
_
,{
class
:
"cons row verCenter"
},{
default
:
a
((()
=>
[
o
(
_
,{
class
:
"leftbox row verCenter"
},{
default
:
a
((()
=>
[
o
(
y
,{
class
:
n
([
"icon-leftsp icon iconfont icon-fang"
,{
type1
:
1
==
i
.
type
}]),
onClick
:
m
.
goHome
},
null
,
8
,[
"class"
,
"onClick"
])])),
_
:
1
}),
o
(
_
,{
class
:
n
([
"nav-title"
,{
type1
:
1
==
i
.
type
}])},{
default
:
a
((()
=>
[
c
(
l
(
i
.
pageTitle
),
1
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
},
8
,[
"class"
])}],[
"__scopeId"
,
"data-v-815faac5"
]]);
export
{
d
as
_
,
i
as
b
};
unpackage/dist/build/web/assets/bottom_nav.Cwl6qhit.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
a
,
o
as
t
,
c
as
s
,
w
as
c
,
d
as
e
,
e
as
o
,
v
as
n
,
t
as
l
,
f
as
i
,
m
as
u
,
i
as
r
,
l
as
d
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
f
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
m
}
from
"./barx.BsVUcAxA.js"
;
const
p
=
m
({
name
:
"bottom_nav"
,
props
:{
actval
:{
type
:
String
,
default
:
1
},
carcount
:{
type
:
Number
,
default
:
0
}},
created
(){
this
.
getData
()},
data
:()
=>
({
count
:
0
,
isLogin
:
!!
a
(
"token"
)}),
methods
:{
getData
(){
this
.
isLogin
&&
this
.
request
(
f
+
"/api/cart/getCartCount"
,
"POST"
,{},
!
1
).
then
((
t
=>
{
0
===
t
.
code
&&
(
this
.
count
=
t
.
data
.
count
,
a
(
"carCount"
,
t
.
data
.
count
))}))},
updateCar
(){
this
.
getData
()}}},[[
"render"
,
function
(
a
,
f
,
m
,
p
,
v
,
_
){
const
g
=
u
,
h
=
r
,
b
=
d
;
return
t
(),
s
(
h
,{
class
:
"bottom-nav-fixed row"
},{
default
:
c
((()
=>
[
e
(
b
,{
url
:
"/pages/index/index"
,
class
:
n
([
"navitem"
,{
act
:
1
==
m
.
actval
}])},{
default
:
c
((()
=>
[
e
(
g
,{
class
:
"icon iconfont icon-home"
}),
e
(
h
,
null
,{
default
:
c
((()
=>
[
o
(
"首页"
)])),
_
:
1
})])),
_
:
1
},
8
,[
"class"
]),
e
(
b
,{
url
:
"/pages/class/nav"
,
class
:
n
([
"navitem"
,{
act
:
2
==
m
.
actval
}])},{
default
:
c
((()
=>
[
e
(
g
,{
class
:
"icon iconfont icon-choose"
}),
e
(
h
,
null
,{
default
:
c
((()
=>
[
o
(
"选型"
)])),
_
:
1
})])),
_
:
1
},
8
,[
"class"
]),
e
(
b
,{
url
:
"/pages/car/list"
,
class
:
n
([
"cartbgo navitem"
,{
act
:
3
==
m
.
actval
}])},{
default
:
c
((()
=>
[
e
(
g
,{
class
:
"icon iconfont icon-car"
}),
e
(
h
,
null
,{
default
:
c
((()
=>
[
o
(
" 购物车 "
),
v
.
count
>
0
?(
t
(),
s
(
g
,{
key
:
0
,
class
:
"counts"
},{
default
:
c
((()
=>
[
o
(
l
(
v
.
count
),
1
)])),
_
:
1
})):
i
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
},
8
,[
"class"
]),
e
(
b
,{
url
:
"/pages/user/userInfo"
,
class
:
n
([
"navitem"
,{
act
:
4
==
m
.
actval
}])},{
default
:
c
((()
=>
[
e
(
g
,{
class
:
"icon iconfont icon-user"
}),
e
(
h
,
null
,{
default
:
c
((()
=>
[
o
(
"个人中心"
)])),
_
:
1
})])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})}],[
"__scopeId"
,
"data-v-338e9add"
]]);
export
{
p
as
b
};
unpackage/dist/build/web/assets/index-CDFUxcS7.js
deleted
100644 → 0
View file @
d46cc593
This diff could not be displayed because it is too large.
unpackage/dist/build/web/assets/one_item.DKn37E7s.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
a
,
n
as
e
,
o
as
s
,
c
as
l
,
w
as
o
,
d
as
t
,
f
as
c
,
h
as
d
,
j
as
r
,
F
as
_
,
e
as
i
,
t
as
n
,
p
as
g
,
k
as
p
,
i
as
u
,
m
as
f
,
l
as
j
,
v
as
b
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
m
}
from
"./barx.BsVUcAxA.js"
;
const
k
=
m
({
name
:
"one_item"
,
props
:{
obj
:{
type
:
Object
}},
created
(){},
data
:()
=>
({
isLogin
:
!!
a
(
"token"
)}),
methods
:{
goxj
(){
e
({
url
:
this
.
$globalData
.
KFQQ
})}}},[[
"render"
,
function
(
a
,
e
,
m
,
k
,
y
,
x
){
const
w
=
p
,
h
=
u
,
v
=
f
,
L
=
j
;
return
s
(),
l
(
L
,{
url
:
"/pages/goods/detail?goods_id="
+
m
.
obj
.
goods_id
},{
default
:
o
((()
=>
[
t
(
h
,{
class
:
"one-data-item row"
},{
default
:
o
((()
=>
[
t
(
h
,{
class
:
"imgbox"
},{
default
:
o
((()
=>
[
t
(
w
,{
class
:
"imagep"
,
src
:
m
.
obj
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
10
==
m
.
obj
.
ac_type
?(
s
(),
l
(
h
,{
key
:
0
,
class
:
"ac618tagt"
})):
c
(
""
,
!
0
),
10
==
m
.
obj
.
ac_type
?(
s
(),
l
(
h
,{
key
:
1
,
class
:
"ac618tagb"
})):
c
(
""
,
!
0
)])),
_
:
1
}),
t
(
h
,{
class
:
"trg"
},{
default
:
o
((()
=>
[
t
(
h
,{
class
:
"name elep2"
,
innerHTML
:
m
.
obj
.
sku_name
},
null
,
8
,[
"innerHTML"
]),
t
(
h
,{
class
:
"tags"
},{
default
:
o
((()
=>
[
m
.
obj
.
goods_tag
&&
m
.
obj
.
goods_tag
.
goods_tag_names
&&
m
.
obj
.
goods_tag
.
goods_tag_names
.
length
>
0
?(
s
(),
l
(
h
,{
key
:
0
,
class
:
"row"
},{
default
:
o
((()
=>
[(
s
(
!
0
),
d
(
_
,
null
,
r
(
m
.
obj
.
goods_tag
.
goods_tag_names
,((
a
,
e
)
=>
(
s
(),
l
(
h
,{
class
:
b
([
"item"
,{
tag1
:
e
%
2
!=
0
,
tag2
:
e
%
2
==
0
}]),
key
:
e
},{
default
:
o
((()
=>
[
i
(
n
(
a
),
1
)])),
_
:
2
},
1032
,[
"class"
])))),
128
))])),
_
:
1
})):
c
(
""
,
!
0
)])),
_
:
1
}),
10
==
m
.
obj
.
ac_type
?(
s
(),
l
(
h
,{
key
:
0
,
class
:
"priceac168Box"
},{
default
:
o
((()
=>
[
m
.
obj
.
ladder_price
.
length
>
0
?(
s
(),
l
(
h
,{
key
:
0
,
class
:
"row"
},{
default
:
o
((()
=>
[
t
(
h
,{
class
:
"row item12"
},{
default
:
o
((()
=>
[
t
(
h
,{
class
:
"price0"
},{
default
:
o
((()
=>
[
i
(
"¥"
+
n
(
m
.
obj
.
ladder_price
[
0
].
price_ac
||
""
),
1
)])),
_
:
1
}),
t
(
h
,{
class
:
"tagac"
},{
default
:
o
((()
=>
[
i
(
"活动价"
)])),
_
:
1
})])),
_
:
1
}),
t
(
h
,{
class
:
"row item11"
},{
default
:
o
((()
=>
[
t
(
h
,{
class
:
"t3"
},{
default
:
o
((()
=>
[
i
(
"¥"
+
n
(
m
.
obj
.
ladder_price
[
0
].
price_cn
||
""
),
1
)])),
_
:
1
}),
t
(
h
,{
class
:
"tagac2"
},{
default
:
o
((()
=>
[
i
(
"日常价"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):(
s
(),
l
(
v
,{
key
:
1
,
class
:
"xunj"
,
onClick
:
e
[
0
]
||
(
e
[
0
]
=
g
((
a
=>
x
.
goxj
()),[
"stop"
,
"prevent"
]))},{
default
:
o
((()
=>
[
i
(
"立即询价"
)])),
_
:
1
}))])),
_
:
1
})):(
s
(),
l
(
h
,{
key
:
1
,
class
:
"pricenormalbox"
},{
default
:
o
((()
=>
[
m
.
obj
.
ladder_price
.
length
>
0
?(
s
(),
l
(
h
,{
key
:
0
,
class
:
"price-box row"
},{
default
:
o
((()
=>
[
t
(
v
,{
class
:
"price0"
},{
default
:
o
((()
=>
[
i
(
"¥"
+
n
(
m
.
obj
.
ladder_price
[
0
].
price_cn
||
""
),
1
)])),
_
:
1
}),
y
.
isLogin
?(
s
(),
l
(
v
,{
key
:
0
,
class
:
"price1"
},{
default
:
o
((()
=>
[
m
.
obj
.
ladder_price
[
1
].
price_cn
?(
s
(),
l
(
v
,{
key
:
0
,
class
:
"price1"
},{
default
:
o
((()
=>
[
i
(
"¥"
+
n
(
m
.
obj
.
ladder_price
[
1
].
price_cn
),
1
)])),
_
:
1
})):
c
(
""
,
!
0
)])),
_
:
1
})):(
s
(),
l
(
v
,{
key
:
1
,
class
:
"price1"
},{
default
:
o
((()
=>
[
i
(
"¥****"
)])),
_
:
1
})),
m
.
obj
.
ladder_price
[
1
].
price_cn
?(
s
(),
l
(
v
,{
key
:
2
,
class
:
"qytag"
},{
default
:
o
((()
=>
[
i
(
"企业价"
)])),
_
:
1
})):
c
(
""
,
!
0
)])),
_
:
1
})):(
s
(),
l
(
h
,{
key
:
1
,
class
:
"price-box row"
},{
default
:
o
((()
=>
[
t
(
v
,{
class
:
"xunj"
,
onClick
:
e
[
1
]
||
(
e
[
1
]
=
g
((
a
=>
x
.
goxj
()),[
"stop"
,
"prevent"
]))},{
default
:
o
((()
=>
[
i
(
"立即询价"
)])),
_
:
1
})])),
_
:
1
}))])),
_
:
1
}))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
])}],[
"__scopeId"
,
"data-v-5dd1a1e9"
]]);
export
{
k
as
o
};
unpackage/dist/build/web/assets/orderList-D6ncCk4c.css
deleted
100644 → 0
View file @
d46cc593
uni-view
[
data-v-a0c00846
],
uni-text
[
data-v-a0c00846
],
uni-input
[
data-v-a0c00846
],
uni-navigator
[
data-v-a0c00846
]
{
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-a0c00846
],
uni-page-body
[
data-v-a0c00846
],
uni-view
[
data-v-a0c00846
],
uni-text
[
data-v-a0c00846
],
uni-scroll-view
[
data-v-a0c00846
]
{
-webkit-user-select
:
text
!important
;
user-select
:
text
!important
}
.navigator-hover
[
data-v-a0c00846
]
{
background
:
none
;
opacity
:
1
}
uni-image
[
data-v-a0c00846
]
{
vertical-align
:
middle
}
.elep
[
data-v-a0c00846
]
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
}
.elep2
[
data-v-a0c00846
]
{
word-break
:
break-all
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
}
.column
[
data-v-a0c00846
]
{
display
:
flex
;
flex-direction
:
column
}
.row
[
data-v-a0c00846
]
{
display
:
flex
;
flex-direction
:
row
}
.boxsiz
[
data-v-a0c00846
]
{
box-sizing
:
border-box
}
.bothSide
[
data-v-a0c00846
]
{
justify-content
:
space-between
}
.avarage
[
data-v-a0c00846
]
{
justify-content
:
space-around
}
.rowCenter
[
data-v-a0c00846
]
{
justify-content
:
center
}
.verCenter
[
data-v-a0c00846
]
{
align-items
:
center
}
.orderListPage
[
data-v-a0c00846
]
{
background
:
#f8f8f8
;
padding-top
:
5.375rem
;
min-height
:
calc
(
100vh
-
5.46875rem
);
min-height
:
calc
(
100vh
-
2.8125rem
)}
.orderListPage
.head
[
data-v-a0c00846
]
{
background
:
#f8f8f8
;
position
:
fixed
;
top
:
5.46875rem
;
top
:
2.8125rem
;
left
:
0
;
right
:
0
;
z-index
:
3
;
height
:
5.375rem
}
.orderListPage
.head
.top-box-order
[
data-v-a0c00846
]
{
padding
:
.65625rem
.9375rem
.65625rem
.78125rem
;
height
:
3.5rem
;
background
:
#f8f8f8
}
.orderListPage
.head
.top-box-order
.icon-arrowleft
[
data-v-a0c00846
]
{
font-size
:
1.09375rem
;
color
:
#898989
}
.orderListPage
.head
.top-box-order
.search-box
[
data-v-a0c00846
]
{
width
:
20.03125rem
;
height
:
2.1875rem
;
background
:
#fff
;
border-radius
:
.15625rem
;
border
:
.03125rem
solid
#D0121B
;
padding-left
:
.625rem
}
.orderListPage
.head
.top-box-order
.search-box
uni-input
[
data-v-a0c00846
]
{
font-size
:
.75rem
;
line-height
:
.9375rem
;
padding-left
:
.3125rem
;
width
:
17.1875rem
}
.orderListPage
.head
.top-box-order
.search-box
.icon-searchclose
[
data-v-a0c00846
]
{
font-size
:
.8125rem
;
color
:
#898989
;
cursor
:
pointer
}
.orderListPage
.head
.top-box-order
.search-box
.icon-search
[
data-v-a0c00846
]
{
font-size
:
.9375rem
;
color
:
#d0121b
}
.orderListPage
.head
.tabs
[
data-v-a0c00846
]
{
height
:
1.875rem
;
padding
:
.9375rem
;
font-size
:
.875rem
;
color
:
#000
}
.orderListPage
.head
.tabs
.act
[
data-v-a0c00846
]
{
font-size
:
.875rem
;
color
:
#d0121b
;
font-weight
:
700
}
.orderListPage
.cons
[
data-v-a0c00846
]
{
padding-top
:
.625rem
;
width
:
21.875rem
;
margin
:
0
auto
}
.orderListPage
.cons
.group
[
data-v-a0c00846
]
{
padding
:
.5rem
.9375rem
;
background
:
#fff
;
border-radius
:
.625rem
;
display
:
block
;
margin-bottom
:
.78125rem
}
.orderListPage
.cons
.group
[
data-v-a0c00846
]
:last-child
{
margin-bottom
:
0
}
.orderListPage
.cons
.group
.t
[
data-v-a0c00846
]
{
height
:
1.125rem
;
font-size
:
.75rem
;
color
:
#666
;
margin-bottom
:
.40625rem
}
.orderListPage
.cons
.group
.t
.tag
[
data-v-a0c00846
]
{
width
:
2.375rem
;
height
:
1.125rem
;
background
:
#d5232c
;
border-radius
:
.0625rem
;
font-size
:
.75rem
;
color
:
#fff
;
text-align
:
center
;
line-height
:
1.125rem
}
.orderListPage
.cons
.group
.t
.tag.tag-blue
[
data-v-a0c00846
]
{
background
:
#027dff
}
.orderListPage
.cons
.group
.t
.tag.tag-yellow
[
data-v-a0c00846
]
{
background
:
#ff8229
}
.orderListPage
.cons
.group
.t
.tag.tag-ccc
[
data-v-a0c00846
]
{
background
:
#a5a0a0
}
.orderListPage
.cons
.group
.c
[
data-v-a0c00846
]
{
margin-bottom
:
.78125rem
}
.orderListPage
.cons
.group
.c
uni-image
[
data-v-a0c00846
]
{
height
:
5.9375rem
;
width
:
5.9375rem
;
margin-right
:
.625rem
;
border
:
.0625rem
solid
#F6F6F6
;
flex-shrink
:
0
;
border-radius
:
.15625rem
}
.orderListPage
.cons
.group
.c
.r
[
data-v-a0c00846
]
{
padding
:
.25rem
0
}
.orderListPage
.cons
.group
.c
.r
.tr
[
data-v-a0c00846
]
{
height
:
1.09375rem
;
width
:
13.4375rem
;
flex-shrink
:
0
;
margin-bottom
:
.46875rem
}
.orderListPage
.cons
.group
.c
.r
.tr
uni-view
[
data-v-a0c00846
]
{
font-size
:
.8125rem
;
color
:
#000
;
line-height
:
1.09375rem
;
font-weight
:
700
;
width
:
11.875rem
;
height
:
1.09375rem
}
.orderListPage
.cons
.group
.c
.r
.tr
uni-text
[
data-v-a0c00846
]
{
font-size
:
.75rem
;
color
:
#666
;
line-height
:
1.09375rem
}
.orderListPage
.cons
.group
.c
.r
.cr
[
data-v-a0c00846
]
{
font-size
:
.75rem
;
color
:
#666
}
.orderListPage
.cons
.group
.c
.r
.br
[
data-v-a0c00846
]
{
margin-top
:
.6875rem
;
text-align
:
right
;
font-weight
:
700
;
font-size
:
.9375rem
;
color
:
#000
;
line-height
:
1.25rem
}
.orderListPage
.cons
.group
.c
.r
.br
uni-text
[
data-v-a0c00846
]
{
font-weight
:
400
;
font-size
:
.75rem
;
color
:
#666
}
.orderListPage
.cons
.group
.handle
[
data-v-a0c00846
]
{
height
:
1.625rem
;
justify-content
:
flex-end
}
.orderListPage
.cons
.group
.handle
.cancel
[
data-v-a0c00846
]
{
width
:
4.875rem
;
height
:
1.625rem
;
background
:
#f8f8f8
;
border-radius
:
.15625rem
;
border
:
.03125rem
solid
#E7E7E7
;
font-size
:
.8125rem
;
color
:
#666
;
text-align
:
center
;
line-height
:
1.625rem
;
margin-left
:
.625rem
}
.orderListPage
.cons
.group
.handle
.pay
[
data-v-a0c00846
]
{
width
:
4.875rem
;
height
:
1.625rem
;
background
:
#d0121b
;
border-radius
:
.15625rem
;
font-size
:
.8125rem
;
color
:
#fff
;
text-align
:
center
;
line-height
:
1.625rem
;
margin-left
:
.625rem
}
.orderListPage
.cons
.group
.hsprice
[
data-v-a0c00846
]
{
font-size
:
.8125rem
;
color
:
#000
;
line-height
:
1.09375rem
;
font-weight
:
700
;
margin-bottom
:
.625rem
}
.orderListPage
.cons
.group
.hsprice
uni-text
[
data-v-a0c00846
]
{
font-size
:
.75rem
;
color
:
#666
;
line-height
:
1.09375rem
;
font-weight
:
400
}
.orderListPage
.no-data
[
data-v-a0c00846
]
{
background
:
#fff
;
width
:
21.875rem
;
margin
:
0
auto
;
padding-top
:
6.53125rem
;
padding-bottom
:
15.625rem
;
height
:
37.5rem
;
font-size
:
.75rem
;
color
:
#000
;
text-align
:
center
}
.orderListPage
.no-data
uni-image
[
data-v-a0c00846
]
{
width
:
13.8125rem
;
height
:
7.9375rem
;
margin-bottom
:
1.40625rem
}
.orderListPage
.pagebot
[
data-v-a0c00846
]
{
height
:
2.5rem
;
line-height
:
2.5rem
;
font-size
:
.8125rem
;
text-align
:
center
;
color
:
#c6c7cc
}
unpackage/dist/build/web/assets/pages-activity-ac618.ChgJXgjU.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
s
,
n
as
a
,
r
as
e
,
c
as
o
,
w
as
i
,
i
as
_
,
o
as
t
,
d
,
h
as
c
,
j
as
r
,
F
as
g
,
f
as
n
,
e
as
m
,
t
as
l
,
m
as
p
,
k
as
u
,
l
as
h
}
from
"./index-CDFUxcS7.js"
;
import
"./api.Cl4HE8_F.js"
;
import
{
s
as
f
}
from
"./search_head.DkxRXJnQ.js"
;
import
{
_
as
k
,
b
as
w
}
from
"./barx.BsVUcAxA.js"
;
import
{
b
as
j
}
from
"./bottom_nav.Cwl6qhit.js"
;
const
C
=
k
({
data
:()
=>
({
pageData
:
""
}),
onLoad
:
function
(
s
){
this
.
getData
()},
methods
:{
onConfirm
(
e
){
let
o
=
e
.
detail
.
value
;
o
.
length
<
2
?
s
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
a
({
url
:
"/pages/search/list?k="
+
o
})},
goUrl
(){
a
({
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
:
w
,
searchHead
:
f
,
bottomNav
:
j
}},[[
"render"
,
function
(
s
,
a
,
f
,
k
,
w
,
j
){
const
C
=
e
(
"barX"
),
b
=
e
(
"searchHead"
),
D
=
_
,
P
=
p
,
x
=
u
,
v
=
h
,
y
=
e
(
"bottomNav"
);
return
t
(),
o
(
D
,{
class
:
"ac618Page"
},{
default
:
i
((()
=>
[
d
(
C
),
d
(
D
,{
class
:
"fixed-tp"
},{
default
:
i
((()
=>
[
d
(
b
,{
onConfirm
:
j
.
onConfirm
,
onGoUrl
:
j
.
goUrl
},
null
,
8
,[
"onConfirm"
,
"onGoUrl"
])])),
_
:
1
}),
d
(
D
,{
class
:
"headfg"
}),
w
.
pageData
?(
t
(),
o
(
D
,{
key
:
0
,
class
:
"cons"
},{
default
:
i
((()
=>
[(
t
(
!
0
),
c
(
g
,
null
,
r
(
w
.
pageData
,((
s
,
a
)
=>
(
t
(),
o
(
D
,{
class
:
"group"
,
key
:
a
},{
default
:
i
((()
=>
[
d
(
D
,{
class
:
"tit"
},{
default
:
i
((()
=>
[
m
(
l
(
s
.
title
),
1
)])),
_
:
2
},
1024
),(
t
(
!
0
),
c
(
g
,
null
,
r
(
s
.
items
,((
s
,
a
)
=>
(
t
(),
o
(
v
,{
url
:
"/pages/goods/detail?goods_id="
+
s
.
goods_id
,
key
:
a
},{
default
:
i
((()
=>
[
d
(
D
,{
class
:
"item row"
},{
default
:
i
((()
=>
[
d
(
D
,{
class
:
"tag"
},{
default
:
i
((()
=>
[
d
(
D
,{
class
:
"t"
},{
default
:
i
((()
=>
[
m
(
"直降"
)])),
_
:
1
}),
d
(
D
,{
class
:
"b row rowCenter verCenter"
},{
default
:
i
((()
=>
[
d
(
P
,
null
,{
default
:
i
((()
=>
[
m
(
"¥"
)])),
_
:
1
}),
d
(
D
,
null
,{
default
:
i
((()
=>
[
m
(
l
(
s
.
ladder_price
[
0
].
price_diff
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
d
(
D
,{
class
:
"imagebox"
},{
default
:
i
((()
=>
[
d
(
x
,{
src
:
s
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
mode
:
"aspectFit"
},
null
,
8
,[
"src"
])])),
_
:
2
},
1024
),
d
(
D
,{
class
:
"r"
},{
default
:
i
((()
=>
[
d
(
D
,{
class
:
"elep tiop"
},{
default
:
i
((()
=>
[
m
(
l
(
s
.
sku_name
),
1
)])),
_
:
2
},
1024
),
d
(
D
,{
class
:
"row htagbox"
},{
default
:
i
((()
=>
[
s
.
goods_tag
&&
s
.
goods_tag
.
goods_tag_names
&&
s
.
goods_tag
.
goods_tag_names
.
length
>
0
?(
t
(),
o
(
D
,{
key
:
0
,
class
:
"row"
},{
default
:
i
((()
=>
[(
t
(
!
0
),
c
(
g
,
null
,
r
(
s
.
goods_tag
.
goods_tag_names
,((
s
,
a
)
=>
(
t
(),
o
(
D
,{
class
:
"htagi"
,
key
:
a
},{
default
:
i
((()
=>
[
m
(
l
(
s
),
1
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
2
},
1024
)):
n
(
""
,
!
0
)])),
_
:
2
},
1024
),
d
(
D
,{
class
:
"t-text elep2"
},{
default
:
i
((()
=>
[
m
(
l
(
s
.
sku_remark
),
1
)])),
_
:
2
},
1024
),
d
(
D
,{
class
:
"pricebox row"
},{
default
:
i
((()
=>
[
d
(
D
,{
class
:
"acprice row verCenter"
},{
default
:
i
((()
=>
[
d
(
P
,
null
,{
default
:
i
((()
=>
[
m
(
"¥"
)])),
_
:
1
}),
d
(
D
,
null
,{
default
:
i
((()
=>
[
m
(
l
(
s
.
ladder_price
[
0
].
price_ac
),
1
)])),
_
:
2
},
1024
),
d
(
P
,
null
,{
default
:
i
((()
=>
[
m
(
"活动价"
)])),
_
:
1
})])),
_
:
2
},
1024
),
d
(
D
,{
class
:
"rcprice row verCenter"
},{
default
:
i
((()
=>
[
d
(
P
,
null
,{
default
:
i
((()
=>
[
m
(
"¥"
+
l
(
s
.
ladder_price
[
0
].
price_cn
),
1
)])),
_
:
2
},
1024
),
d
(
D
,
null
,{
default
:
i
((()
=>
[
m
(
"日常价"
)])),
_
:
1
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
n
(
""
,
!
0
),
d
(
y
,{
actval
:
""
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-ae49a68a"
]]);
export
{
C
as
default
};
unpackage/dist/build/web/assets/pages-auth-changeEmail.Iak_FQdA.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
G
as
o
,
r
as
l
,
c
as
t
,
w
as
i
,
i
as
d
,
o
as
s
,
d
as
a
,
e
as
c
,
f
as
n
,
v
as
r
,
t
as
m
,
m
as
h
,
I
as
u
,
k
as
_
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
b
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
f
,
b
as
p
}
from
"./barx.BsVUcAxA.js"
;
const
C
=
f
({
data
:()
=>
({
mobile
:
""
,
email
:
""
,
code
:
""
,
imgCode
:
""
,
imgCodeSrc
:
""
,
verify_rand_key
:
""
,
isShowImgCode
:
!
1
,
code_disabled
:
!
1
,
code_text
:
"获取验证码"
}),
watch
:{},
onLoad
:
function
(
e
){
this
.
mobile
=
e
.
phone
||
""
},
methods
:{
submit
(){
if
(
!
this
.
mobile
||!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输入正确的手机号"
,
icon
:
"none"
}),
!
1
;
if
(
!
this
.
code
)
return
void
e
({
title
:
"请输入验证码"
,
icon
:
"none"
});
if
(
!
this
.
email
)
return
void
e
({
title
:
"请输入新邮箱"
,
icon
:
"none"
});
let
o
=
{
mobile
:
this
.
mobile
,
intl_code
:
"0086"
,
mobile_code
:
this
.
code
,
email
:
this
.
email
};
console
.
log
(
o
)},
getImgCode
(){
this
.
request
(
b
+
"/api/verifyCode/getVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
"0086"
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
this
.
imgCodeSrc
=
o
.
data
.
captcha
,
this
.
verify_rand_key
=
o
.
data
.
rand_key
,
this
.
isShowImgCode
=!
0
):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))},
countdownChange
(){
if
(
!
this
.
code_disabled
){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
this
.
request
(
b
+
"/api/verifyCode/sendMobileVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
"0086"
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
l
=>
{
if
(
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
,
0
===
l
.
code
){
o
({
duration
:
60
,
onTick
:
e
=>
{
this
.
code_disabled
=!
0
,
this
.
code_text
=
`重新发送
${
e
}
S`
},
onComplete
:()
=>
{
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
}}).
start
()}
else
2
==
l
.
code
?(
l
.
data
.
sms_need_verify
&&
this
.
getImgCode
(),
e
({
title
:
l
.
msg
,
icon
:
"none"
})):(
this
.
code_disabled
=!
1
,
e
({
title
:
l
.
msg
,
icon
:
"none"
}))}))}}},
components
:{
barX
:
p
}},[[
"render"
,
function
(
e
,
o
,
b
,
f
,
p
,
C
){
const
g
=
l
(
"barX"
),
y
=
h
,
k
=
d
,
v
=
u
,
x
=
_
;
return
s
(),
t
(
k
,{
class
:
"changeEmailPage"
},{
default
:
i
((()
=>
[
a
(
g
),
a
(
k
,{
class
:
"close-box"
},{
default
:
i
((()
=>
[
a
(
y
,{
class
:
"icon iconfont icon-close2"
,
onClick
:
e
.
$goBack
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
a
(
k
,{
class
:
"title"
},{
default
:
i
((()
=>
[
a
(
k
,
null
,{
default
:
i
((()
=>
[
c
(
"更换邮箱"
)])),
_
:
1
})])),
_
:
1
}),
a
(
k
,{
class
:
"cons"
},{
default
:
i
((()
=>
[
a
(
k
,{
class
:
"input-box row verCenter nobd"
},{
default
:
i
((()
=>
[
a
(
v
,{
type
:
"text"
,
modelValue
:
p
.
mobile
,
"onUpdate:modelValue"
:
o
[
0
]
||
(
o
[
0
]
=
e
=>
p
.
mobile
=
e
),
placeholder
:
"请输入手机号"
,
"placeholder-class"
:
"placeholder-class"
,
disabled
:
""
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
p
.
isShowImgCode
?(
s
(),
t
(
k
,{
key
:
0
,
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
a
(
v
,{
type
:
"text"
,
modelValue
:
p
.
imgCode
,
"onUpdate:modelValue"
:
o
[
1
]
||
(
o
[
1
]
=
e
=>
p
.
imgCode
=
e
),
placeholder
:
"请输入图片验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
a
(
k
,{
class
:
"img-code"
},{
default
:
i
((()
=>
[
a
(
x
,{
src
:
p
.
imgCodeSrc
,
onClick
:
C
.
getImgCode
},
null
,
8
,[
"src"
,
"onClick"
])])),
_
:
1
})])),
_
:
1
})):
n
(
""
,
!
0
),
a
(
k
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
a
(
v
,{
type
:
"text"
,
modelValue
:
p
.
code
,
"onUpdate:modelValue"
:
o
[
2
]
||
(
o
[
2
]
=
e
=>
p
.
code
=
e
),
placeholder
:
"请输入验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
a
(
k
,{
class
:
r
([
"code-btn"
,{
dis
:
p
.
code_disabled
}]),
onClick
:
C
.
countdownChange
},{
default
:
i
((()
=>
[
c
(
m
(
p
.
code_text
),
1
)])),
_
:
1
},
8
,[
"class"
,
"onClick"
])])),
_
:
1
}),
a
(
k
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
a
(
v
,{
type
:
"text"
,
modelValue
:
p
.
email
,
"onUpdate:modelValue"
:
o
[
3
]
||
(
o
[
3
]
=
e
=>
p
.
email
=
e
),
placeholder
:
"请输入新邮箱"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
a
(
k
,{
class
:
"sub-btn"
,
onClick
:
C
.
submit
},{
default
:
i
((()
=>
[
c
(
"完成"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-5c7c1152"
]]);
export
{
C
as
default
};
unpackage/dist/build/web/assets/pages-auth-findSuccess.RJqJxxjd.js
deleted
100644 → 0
View file @
d46cc593
import
{
r
as
s
,
c
as
a
,
w
as
o
,
i
as
c
,
o
as
n
,
d
as
l
,
e
as
t
,
m
as
e
,
l
as
u
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
d
,
b
as
i
}
from
"./barx.BsVUcAxA.js"
;
const
r
=
d
({
data
:()
=>
({}),
onLoad
:
function
(){},
methods
:{},
components
:{
barX
:
i
}},[[
"render"
,
function
(
d
,
i
,
r
,
f
,
_
,
m
){
const
p
=
s
(
"barX"
),
b
=
e
,
g
=
c
,
x
=
u
;
return
n
(),
a
(
g
,{
class
:
"findSuccessPage"
},{
default
:
o
((()
=>
[
l
(
p
),
l
(
g
,{
class
:
"close-box"
},{
default
:
o
((()
=>
[
l
(
b
,{
class
:
"icon iconfont icon-close2"
,
onClick
:
i
[
0
]
||
(
i
[
0
]
=
s
=>
d
.
$goBack
({
url
:
"/pages/auth/login"
}))})])),
_
:
1
}),
l
(
g
,{
class
:
"cons"
},{
default
:
o
((()
=>
[
l
(
b
,{
class
:
"icon iconfont icon-success"
}),
l
(
g
,
null
,{
default
:
o
((()
=>
[
t
(
"修改成功"
)])),
_
:
1
}),
l
(
b
,
null
,{
default
:
o
((()
=>
[
t
(
"您的新密码即时生效,请返回登录。"
)])),
_
:
1
})])),
_
:
1
}),
l
(
x
,{
url
:
"/pages/auth/login"
,
class
:
"btn"
},{
default
:
o
((()
=>
[
t
(
"返回"
)])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-93200051"
]]);
export
{
r
as
default
};
unpackage/dist/build/web/assets/pages-auth-forget.BUlTVjJz.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
n
as
o
,
G
as
s
,
r
as
a
,
x
as
l
,
c
as
t
,
w
as
i
,
i
as
d
,
o
as
n
,
d
as
c
,
e
as
r
,
t
as
h
,
v
as
u
,
f
as
p
,
m
,
H
as
_
,
I
as
f
,
k
as
w
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
b
,
_
as
C
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
g
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
y
,
b
as
v
}
from
"./barx.BsVUcAxA.js"
;
const
x
=
y
({
data
:()
=>
({
mobile
:
""
,
code
:
""
,
imgCode
:
""
,
imgCodeSrc
:
""
,
verify_rand_key
:
""
,
isShowImgCode
:
!
1
,
password
:
""
,
password1
:
""
,
passwordShow
:
!
1
,
passwordShow1
:
!
1
,
step
:
1
,
showClearIcon
:
!
1
,
intl_code
:
"0086"
,
areaIndex
:
0
,
code_disabled
:
!
1
,
code_text
:
"获取验证码"
,
areaArray
:[{
name
:
"0086(中国大陆)"
,
value
:
"0086"
},{
name
:
"00852(中国香港)"
,
value
:
"00852"
},{
name
:
"00853(中国澳门)"
,
value
:
"00853"
},{
name
:
"00886(中国台湾)"
,
value
:
"00886"
},{
name
:
"0066(泰国)"
,
value
:
"0066"
},{
name
:
"0084(越南)"
,
value
:
"0084"
}]}),
onLoad
:
function
(){},
methods
:{
submit
(){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
if
(
!
this
.
code
)
return
void
e
({
title
:
"请输入验证码"
,
icon
:
"none"
});
if
(
!
this
.
password
||
this
.
password
.
length
<
6
)
return
void
e
({
title
:
"请输入密码,长度不小于6个字符"
,
icon
:
"none"
});
if
(
!
this
.
password1
||
this
.
password1
.
length
<
6
)
return
void
e
({
title
:
"请确认密码,长度不小于6个字符"
,
icon
:
"none"
});
if
(
this
.
password1
!=
this
.
password
)
return
void
e
({
title
:
"两次输入密码不一致"
,
icon
:
"none"
});
let
s
=
{
intl_code
:
this
.
intl_code
,
mobile
:
this
.
mobile
,
password
:
this
.
password
,
mobile_code
:
this
.
code
};
this
.
request
(
g
+
"/api/auth/resetPassword"
,
"POST"
,
s
,
!
0
).
then
((
s
=>
{
0
==
s
.
code
?
o
({
url
:
"/pages/auth/findSuccess"
}):
e
({
title
:
s
.
msg
,
icon
:
"none"
})}))},
getImgCode
(){
this
.
request
(
g
+
"/api/verifyCode/getVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
this
.
imgCodeSrc
=
o
.
data
.
captcha
,
this
.
verify_rand_key
=
o
.
data
.
rand_key
,
this
.
isShowImgCode
=!
0
):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))},
countdownChange
(){
if
(
!
this
.
code_disabled
){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
this
.
request
(
g
+
"/api/verifyCode/sendMobileVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
if
(
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
,
0
===
o
.
code
){
s
({
duration
:
60
,
onTick
:
e
=>
{
this
.
code_disabled
=!
0
,
this
.
code_text
=
`重新发送
${
e
}
S`
},
onComplete
:()
=>
{
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
}}).
start
()}
else
2
==
o
.
code
?(
o
.
data
.
sms_need_verify
&&
this
.
getImgCode
(),
e
({
title
:
o
.
msg
,
icon
:
"none"
})):(
this
.
code_disabled
=!
1
,
e
({
title
:
o
.
msg
,
icon
:
"none"
}))}))}},
bindPickerChange
:
function
(
e
,
o
){
this
.
areaIndex
=
e
.
detail
.
value
,
this
.
intl_code
=
this
.
areaArray
[
e
.
detail
.
value
].
value
,
console
.
log
(
this
.
intl_code
)},
stepNext
(){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
this
.
request
(
g
+
"/api/auth/checkExist"
,
"POST"
,{
intl_code
:
this
.
intl_code
,
mobile
:
this
.
mobile
},
!
0
).
then
((
o
=>
{
0
==
o
.
code
&&
1
==
o
.
data
.
exist
?
this
.
step
=
2
:
e
({
title
:
"当前账号不存在,请先去注册"
,
icon
:
"none"
})}))},
clearInput
:
function
(
e
){
this
.
showClearIcon
=
this
.
mobile
.
length
>
0
},
clearIcon
:
function
(){
this
.
mobile
=
""
,
this
.
showClearIcon
=!
1
}},
components
:{
barX
:
v
}},[[
"render"
,
function
(
e
,
o
,
s
,
g
,
y
,
v
){
const
x
=
a
(
"barX"
),
k
=
m
,
S
=
d
,
I
=
_
,
V
=
f
,
U
=
w
,
P
=
b
(
l
(
"uni-popup"
),
C
);
return
n
(),
t
(
S
,{
class
:
"forgetPage"
},{
default
:
i
((()
=>
[
c
(
x
),
c
(
S
,{
class
:
"close-box"
},{
default
:
i
((()
=>
[
c
(
k
,{
class
:
"icon iconfont icon-close2"
,
onClick
:
e
.
$goBack
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
c
(
S
,{
class
:
"title"
},{
default
:
i
((()
=>
[
r
(
"忘记密码"
)])),
_
:
1
}),
1
==
y
.
step
?(
n
(),
t
(
S
,{
key
:
0
,
class
:
"cons"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"input-box row verCenter"
},{
default
:
i
((()
=>
[
c
(
I
,{
onChange
:
o
[
0
]
||
(
o
[
0
]
=
e
=>
v
.
bindPickerChange
(
e
,
1
)),
value
:
y
.
areaIndex
,
range
:
y
.
areaArray
,
"range-key"
:
"name"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"areabox-box row verCenter"
},{
default
:
i
((()
=>
[
c
(
k
,{
class
:
"areabox-but"
},{
default
:
i
((()
=>
[
r
(
h
(
y
.
areaArray
[
y
.
areaIndex
].
value
),
1
)])),
_
:
1
}),
c
(
k
,{
class
:
u
([
"icon"
,
"iconfont"
,
"icon-arrowxia"
])})])),
_
:
1
})])),
_
:
1
},
8
,[
"value"
,
"range"
]),
c
(
V
,{
type
:
"text"
,
modelValue
:
y
.
mobile
,
"onUpdate:modelValue"
:
o
[
1
]
||
(
o
[
1
]
=
e
=>
y
.
mobile
=
e
),
onInput
:
v
.
clearInput
,
placeholder
:
"请输入手机号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
,
"onInput"
]),
y
.
showClearIcon
?(
n
(),
t
(
k
,{
key
:
0
,
class
:
"icon iconfont icon-searchclose"
,
onClick
:
o
[
2
]
||
(
o
[
2
]
=
e
=>
v
.
clearIcon
())})):
p
(
""
,
!
0
)])),
_
:
1
}),
c
(
S
,{
class
:
"btn-go onego"
,
onClick
:
o
[
3
]
||
(
o
[
3
]
=
e
=>
v
.
stepNext
())},{
default
:
i
((()
=>
[
r
(
"下一步"
)])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
2
==
y
.
step
?(
n
(),
t
(
S
,{
key
:
1
,
class
:
"cons"
},{
default
:
i
((()
=>
[
y
.
isShowImgCode
?(
n
(),
t
(
S
,{
key
:
0
,
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
c
(
V
,{
type
:
"text"
,
modelValue
:
y
.
imgCode
,
"onUpdate:modelValue"
:
o
[
4
]
||
(
o
[
4
]
=
e
=>
y
.
imgCode
=
e
),
placeholder
:
"请输入图片验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
c
(
S
,{
class
:
"img-code"
},{
default
:
i
((()
=>
[
c
(
U
,{
src
:
y
.
imgCodeSrc
,
onClick
:
v
.
getImgCode
},
null
,
8
,[
"src"
,
"onClick"
])])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
c
(
S
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
c
(
V
,{
type
:
"text"
,
modelValue
:
y
.
code
,
"onUpdate:modelValue"
:
o
[
5
]
||
(
o
[
5
]
=
e
=>
y
.
code
=
e
),
placeholder
:
"请输入验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
c
(
S
,{
class
:
u
([
"code-btn"
,{
dis
:
y
.
code_disabled
}]),
onClick
:
v
.
countdownChange
},{
default
:
i
((()
=>
[
r
(
h
(
y
.
code_text
),
1
)])),
_
:
1
},
8
,[
"class"
,
"onClick"
])])),
_
:
1
}),
c
(
S
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"row verCenter"
},{
default
:
i
((()
=>
[
y
.
passwordShow
?(
n
(),
t
(
V
,{
key
:
0
,
type
:
"text"
,
modelValue
:
y
.
password
,
"onUpdate:modelValue"
:
o
[
6
]
||
(
o
[
6
]
=
e
=>
y
.
password
=
e
),
placeholder
:
"请输入新密码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])):(
n
(),
t
(
V
,{
key
:
1
,
type
:
"password"
,
modelValue
:
y
.
password
,
"onUpdate:modelValue"
:
o
[
7
]
||
(
o
[
7
]
=
e
=>
y
.
password
=
e
),
placeholder
:
"请输入新密码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]))])),
_
:
1
}),
c
(
k
,{
class
:
u
([
"icon iconfont icon-see2"
,{
"icon-see1"
:
!
y
.
passwordShow
}]),
onClick
:
o
[
8
]
||
(
o
[
8
]
=
e
=>
y
.
passwordShow
=!
y
.
passwordShow
)},
null
,
8
,[
"class"
])])),
_
:
1
}),
c
(
S
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"row verCenter"
},{
default
:
i
((()
=>
[
y
.
passwordShow1
?(
n
(),
t
(
V
,{
key
:
0
,
type
:
"text"
,
modelValue
:
y
.
password1
,
"onUpdate:modelValue"
:
o
[
9
]
||
(
o
[
9
]
=
e
=>
y
.
password1
=
e
),
placeholder
:
"请输入新密码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])):(
n
(),
t
(
V
,{
key
:
1
,
type
:
"password"
,
modelValue
:
y
.
password1
,
"onUpdate:modelValue"
:
o
[
10
]
||
(
o
[
10
]
=
e
=>
y
.
password1
=
e
),
placeholder
:
"请输入新密码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]))])),
_
:
1
}),
c
(
k
,{
class
:
u
([
"icon iconfont icon-see2"
,{
"icon-see1"
:
!
y
.
passwordShow1
}]),
onClick
:
o
[
11
]
||
(
o
[
11
]
=
e
=>
y
.
passwordShow1
=!
y
.
passwordShow1
)},
null
,
8
,[
"class"
])])),
_
:
1
}),
c
(
S
,{
class
:
"btn-go"
,
onClick
:
o
[
12
]
||
(
o
[
12
]
=
e
=>
v
.
submit
())},{
default
:
i
((()
=>
[
r
(
"确定"
)])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
c
(
P
,{
ref
:
"popupareabox"
,
type
:
"bottom"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"pop-areabox"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"row bothSide"
},{
default
:
i
((()
=>
[
c
(
S
,{
class
:
"cancel"
},{
default
:
i
((()
=>
[
r
(
"取消"
)])),
_
:
1
}),
c
(
S
,{
class
:
"cancel"
},{
default
:
i
((()
=>
[
r
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-a4c7c7dd"
]]);
export
{
x
as
default
};
unpackage/dist/build/web/assets/pages-auth-login.BviytjCy.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
D
as
o
,
A
as
i
,
E
as
s
,
G
as
t
,
r
as
l
,
c
as
n
,
w
as
a
,
i
as
d
,
o
as
c
,
d
as
r
,
e
as
h
,
t
as
u
,
v
as
m
,
f
,
m
as
p
,
H
as
g
,
I
as
_
,
k
as
b
,
l
as
y
,
J
as
C
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
k
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
w
,
b
as
v
}
from
"./barx.BsVUcAxA.js"
;
const
x
=
w
({
data
:()
=>
({
isH5
:
!
0
,
isYes
:
!
1
,
referer
:
""
,
loginType
:
!
0
,
isTest
:
!
1
,
mobile
:
""
,
code
:
""
,
imgCode
:
""
,
imgCodeSrc
:
""
,
verify_rand_key
:
""
,
isShowImgCode
:
!
1
,
password
:
""
,
passwordShow
:
!
1
,
showClearIcon
:
!
1
,
intl_code
:
"0086"
,
areaIndex
:
0
,
code_disabled
:
!
1
,
code_text
:
"获取验证码"
,
areaArray
:[{
name
:
"0086(中国大陆)"
,
value
:
"0086"
},{
name
:
"00852(中国香港)"
,
value
:
"00852"
},{
name
:
"00853(中国澳门)"
,
value
:
"00853"
},{
name
:
"00886(中国台湾)"
,
value
:
"00886"
},{
name
:
"0066(泰国)"
,
value
:
"0066"
},{
name
:
"0084(越南)"
,
value
:
"0084"
}]}),
watch
:{
loginType
(
e
,
o
){
this
.
imgCode
=
""
,
this
.
verify_rand_key
=
""
,
this
.
isShowImgCode
=!
1
,
this
.
imgCodeSrc
=
""
,
this
.
btnUi
()},
mobile
(
e
,
o
){
this
.
btnUi
()},
code
(
e
,
o
){
this
.
btnUi
()},
password
(
e
,
o
){
this
.
btnUi
()}},
onLoad
:
function
(
e
){
this
.
referer
=
e
.
referer
||
""
,
console
.
log
(
this
.
loginType
,
this
.
isShowImgCode
,
"h5"
)},
methods
:{
btnUi
(){
this
.
isYes
=!
1
,
this
.
loginType
?
this
.
mobile
&&
this
.
code
&&
(
this
.
isYes
=!
0
):
this
.
mobile
&&
this
.
password
&&
(
this
.
isYes
=!
0
)},
isHasAccount
(){
if
(
!
this
.
loginType
&&
this
.
mobile
){
var
o
=
{};
-
1
!=
this
.
mobile
.
indexOf
(
"@"
)?
o
.
email
=
this
.
mobile
:(
o
.
mobile
=
this
.
mobile
,
o
.
intl_code
=
this
.
intl_code
),
this
.
request
(
k
+
"/api/auth/checkExist"
,
"POST"
,
o
,
!
1
).
then
((
o
=>
{
0
==
o
.
code
&&
1
!=
o
.
data
.
exist
&&
e
({
title
:
"账号不存在,您可以先去注册"
,
icon
:
"none"
})}))}},
getPhoneNumber
(
e
){
if
(
"getPhoneNumber:ok"
===
e
.
detail
.
errMsg
){
const
o
=
e
.
detail
.
code
;
this
.
weixinLogin
(
o
)}},
weixinLogin
(
i
){
let
s
=
{
phone_code
:
i
},
t
=
this
;
o
({
provider
:
"weixin"
,
success
:
function
(
o
){
console
.
log
(
"登录凭证 code:"
,
o
),
s
.
code
=
o
.
code
,
uni
.
getUserInfo
({
provider
:
"weixin"
,
success
:
function
(
o
){
o
.
userInfo
,
s
.
encryptedData
=
o
.
encryptedData
,
s
.
iv
=
o
.
iv
,
console
.
log
(
s
,
o
),
t
.
request
(
k
+
"/api/auth/loginByWxMiniProgram"
,
"POST"
,
s
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?
t
.
loginSuccess
(
o
):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))}})}})},
bindPickerChange
:
function
(
e
,
o
){
this
.
areaIndex
=
e
.
detail
.
value
,
this
.
intl_code
=
this
.
areaArray
[
e
.
detail
.
value
].
value
,
console
.
log
(
this
.
intl_code
)},
loginSuccess
(
o
){
e
({
title
:
"登录成功"
,
icon
:
"success"
}),
i
(
"token"
,
o
.
data
.
token
),
i
(
"user_info"
,
JSON
.
stringify
(
o
.
data
.
user_info
)),
setTimeout
((()
=>
{
console
.
log
(
this
.
referer
),
s
({
url
:
this
.
referer
?
decodeURIComponent
(
this
.
referer
):
"/pages/index/index"
})}),
2
e3
)},
submit
(){
if
(
this
.
isTest
)
if
(
this
.
loginType
){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输入正确的手机号"
,
icon
:
"none"
}),
!
1
;
if
(
!
this
.
code
)
return
void
e
({
title
:
"请输入验证码"
,
icon
:
"none"
});
this
.
request
(
k
+
"/api/auth/loginByMobileVerifyCode"
,
"POST"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
mobile_code
:
this
.
code
},
!
0
).
then
((
o
=>
{
0
==
o
.
code
?
this
.
loginSuccess
(
o
):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))}
else
{
if
(
!
this
.
mobile
)
return
e
({
title
:
"请输入账号"
,
icon
:
"none"
}),
!
1
;
if
(
!
this
.
password
)
return
void
e
({
title
:
"请输入密码"
,
icon
:
"none"
});
let
o
=
{
password
:
this
.
password
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
};
-
1
!=
this
.
mobile
.
indexOf
(
"@"
)?
o
.
email
=
this
.
mobile
:(
o
.
mobile
=
this
.
mobile
,
o
.
intl_code
=
"0086"
),
this
.
request
(
k
+
"/api/auth/login"
,
"POST"
,
o
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?
this
.
loginSuccess
(
o
):
2
==
o
.
code
?(
o
.
data
.
login_need_verify
&&
this
.
getImgCode
(),
e
({
title
:
o
.
msg
,
icon
:
"none"
})):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))}
else
e
({
title
:
"请勾选爱智网服务协议和隐私政策"
,
icon
:
"none"
})},
getImgCode
(){
this
.
request
(
k
+
"/api/verifyCode/getVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
this
.
imgCodeSrc
=
o
.
data
.
captcha
,
this
.
verify_rand_key
=
o
.
data
.
rand_key
,
this
.
isShowImgCode
=!
0
):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))},
countdownChange
(){
if
(
!
this
.
code_disabled
){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
this
.
request
(
k
+
"/api/verifyCode/sendMobileVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
if
(
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
,
0
===
o
.
code
){
t
({
duration
:
60
,
onTick
:
e
=>
{
this
.
code_disabled
=!
0
,
this
.
code_text
=
`重新发送
${
e
}
S`
},
onComplete
:()
=>
{
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
}}).
start
()}
else
2
==
o
.
code
?(
o
.
data
.
sms_need_verify
&&
this
.
getImgCode
(),
e
({
title
:
o
.
msg
,
icon
:
"none"
})):(
this
.
code_disabled
=!
1
,
e
({
title
:
o
.
msg
,
icon
:
"none"
}))}))}},
clearInput
:
function
(
e
){
this
.
imgCode
=
""
,
this
.
verify_rand_key
=
""
,
this
.
showClearIcon
=
this
.
mobile
.
length
>
0
},
clearIcon
:
function
(){
this
.
mobile
=
""
,
this
.
showClearIcon
=!
1
}},
components
:{
barX
:
v
}},[[
"render"
,
function
(
e
,
o
,
i
,
s
,
t
,
k
){
const
w
=
l
(
"barX"
),
v
=
p
,
x
=
d
,
T
=
g
,
I
=
_
,
S
=
b
,
V
=
y
,
P
=
C
;
return
c
(),
n
(
x
,{
class
:
"loginPage"
},{
default
:
a
((()
=>
[
r
(
w
),
r
(
x
,{
class
:
"close-box"
},{
default
:
a
((()
=>
[
r
(
v
,{
class
:
"icon iconfont icon-close2"
,
onClick
:
e
.
$goBack
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
r
(
x
,{
class
:
"title"
},{
default
:
a
((()
=>
[
r
(
x
,
null
,{
default
:
a
((()
=>
[
h
(
u
(
t
.
loginType
?
"短信验证码登录"
:
"密码登录"
),
1
)])),
_
:
1
}),
r
(
v
,
null
,{
default
:
a
((()
=>
[
h
(
"为了方便联系,请输入您的常用手机号码"
)])),
_
:
1
})])),
_
:
1
}),
r
(
x
,{
class
:
"cons"
},{
default
:
a
((()
=>
[
r
(
x
,{
class
:
"input-box row verCenter"
},{
default
:
a
((()
=>
[
t
.
loginType
?(
c
(),
n
(
T
,{
key
:
0
,
onChange
:
o
[
0
]
||
(
o
[
0
]
=
e
=>
k
.
bindPickerChange
(
e
,
1
)),
value
:
t
.
areaIndex
,
range
:
t
.
areaArray
,
"range-key"
:
"name"
},{
default
:
a
((()
=>
[
r
(
x
,{
class
:
"areabox-box row verCenter"
},{
default
:
a
((()
=>
[
r
(
v
,{
class
:
"areabox-but"
},{
default
:
a
((()
=>
[
h
(
u
(
t
.
areaArray
[
t
.
areaIndex
].
value
),
1
)])),
_
:
1
}),
r
(
v
,{
class
:
m
([
"icon"
,
"iconfont"
,
"icon-arrowxia"
])})])),
_
:
1
})])),
_
:
1
},
8
,[
"value"
,
"range"
])):
f
(
""
,
!
0
),
r
(
I
,{
type
:
"text"
,
modelValue
:
t
.
mobile
,
"onUpdate:modelValue"
:
o
[
1
]
||
(
o
[
1
]
=
e
=>
t
.
mobile
=
e
),
onBlur
:
k
.
isHasAccount
,
onInput
:
k
.
clearInput
,
placeholder
:
t
.
loginType
?
"请输入手机号"
:
"请输入账号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
,
"onBlur"
,
"onInput"
,
"placeholder"
]),
t
.
showClearIcon
?(
c
(),
n
(
v
,{
key
:
1
,
class
:
"icon iconfont icon-searchclose"
,
onClick
:
o
[
2
]
||
(
o
[
2
]
=
e
=>
k
.
clearIcon
())})):
f
(
""
,
!
0
)])),
_
:
1
}),
t
.
isShowImgCode
?(
c
(),
n
(
x
,{
key
:
0
,
class
:
"input-box row verCenter bothSide"
},{
default
:
a
((()
=>
[
r
(
I
,{
type
:
"text"
,
modelValue
:
t
.
imgCode
,
"onUpdate:modelValue"
:
o
[
3
]
||
(
o
[
3
]
=
e
=>
t
.
imgCode
=
e
),
placeholder
:
"请输入图片验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
r
(
x
,{
class
:
"img-code"
},{
default
:
a
((()
=>
[
r
(
S
,{
src
:
t
.
imgCodeSrc
,
onClick
:
k
.
getImgCode
},
null
,
8
,[
"src"
,
"onClick"
])])),
_
:
1
})])),
_
:
1
})):
f
(
""
,
!
0
),
t
.
loginType
?(
c
(),
n
(
x
,{
key
:
1
,
class
:
"input-box row verCenter bothSide"
},{
default
:
a
((()
=>
[
r
(
I
,{
type
:
"text"
,
modelValue
:
t
.
code
,
"onUpdate:modelValue"
:
o
[
4
]
||
(
o
[
4
]
=
e
=>
t
.
code
=
e
),
placeholder
:
"请输入验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
r
(
x
,{
class
:
m
([
"code-btn"
,{
dis
:
t
.
code_disabled
}]),
onClick
:
k
.
countdownChange
},{
default
:
a
((()
=>
[
h
(
u
(
t
.
code_text
),
1
)])),
_
:
1
},
8
,[
"class"
,
"onClick"
])])),
_
:
1
})):
f
(
""
,
!
0
),
t
.
loginType
?
f
(
""
,
!
0
):(
c
(),
n
(
x
,{
key
:
2
,
class
:
"input-box row verCenter bothSide"
},{
default
:
a
((()
=>
[
t
.
passwordShow
?(
c
(),
n
(
I
,{
key
:
0
,
type
:
"text"
,
modelValue
:
t
.
password
,
"onUpdate:modelValue"
:
o
[
5
]
||
(
o
[
5
]
=
e
=>
t
.
password
=
e
),
placeholder
:
"请输入密码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])):(
c
(),
n
(
I
,{
key
:
1
,
type
:
"password"
,
modelValue
:
t
.
password
,
"onUpdate:modelValue"
:
o
[
6
]
||
(
o
[
6
]
=
e
=>
t
.
password
=
e
),
placeholder
:
"请输入密码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])),
r
(
x
,{
class
:
"row verCenter"
},{
default
:
a
((()
=>
[
r
(
v
,{
class
:
m
([
"icon iconfont icon-see2"
,{
"icon-see1"
:
!
t
.
passwordShow
}]),
onClick
:
o
[
7
]
||
(
o
[
7
]
=
e
=>
t
.
passwordShow
=!
t
.
passwordShow
)},
null
,
8
,[
"class"
]),
r
(
V
,{
url
:
"/pages/auth/forget"
,
class
:
"link-forget"
},{
default
:
a
((()
=>
[
h
(
"忘记密码"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})),
r
(
x
,{
class
:
"rule row verCenter"
},{
default
:
a
((()
=>
[
r
(
v
,{
class
:
m
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
t
.
isTest
}]),
onClick
:
o
[
8
]
||
(
o
[
8
]
=
e
=>
t
.
isTest
=!
t
.
isTest
)},
null
,
8
,[
"class"
]),
r
(
v
,{
onClick
:
o
[
9
]
||
(
o
[
9
]
=
e
=>
t
.
isTest
=!
t
.
isTest
)},{
default
:
a
((()
=>
[
h
(
"我已阅读并同意"
)])),
_
:
1
}),
r
(
V
,{
url
:
"/pages/auth/rule?id=1"
,
class
:
"link"
},{
default
:
a
((()
=>
[
h
(
"《爱智网站服务协议》"
)])),
_
:
1
}),
r
(
v
,
null
,{
default
:
a
((()
=>
[
h
(
"及"
)])),
_
:
1
}),
r
(
V
,{
url
:
"/pages/auth/rule?id=2"
,
class
:
"link"
},{
default
:
a
((()
=>
[
h
(
"《爱智隐私政策》"
)])),
_
:
1
})])),
_
:
1
}),
r
(
x
,{
class
:
m
([
"login-btn"
,{
yes
:
t
.
isYes
}]),
onClick
:
k
.
submit
},{
default
:
a
((()
=>
[
h
(
"登录"
)])),
_
:
1
},
8
,[
"class"
,
"onClick"
]),
r
(
x
,{
class
:
"self"
},{
default
:
a
((()
=>
[
h
(
"爱智不会在任何地方泄露您的信息"
)])),
_
:
1
}),
r
(
x
,{
class
:
"link-box row verCenter rowCenter"
},{
default
:
a
((()
=>
[
r
(
v
,{
onClick
:
o
[
10
]
||
(
o
[
10
]
=
e
=>
t
.
loginType
=!
t
.
loginType
)},{
default
:
a
((()
=>
[
h
(
u
(
t
.
loginType
?
"密码登录"
:
"短信验证码登录"
),
1
)])),
_
:
1
}),
r
(
V
,{
url
:
"/pages/auth/reg"
,
class
:
"link"
},{
default
:
a
((()
=>
[
h
(
"免费注册"
)])),
_
:
1
})])),
_
:
1
}),
t
.
isH5
?
f
(
""
,
!
0
):(
c
(),
n
(
x
,{
key
:
3
,
class
:
"other-login"
},{
default
:
a
((()
=>
[
r
(
v
,
null
,{
default
:
a
((()
=>
[
h
(
"手机号快捷登录"
)])),
_
:
1
}),
r
(
P
,{
plain
:
"true"
,
"open-type"
:
"getPhoneNumber"
,
onGetphonenumber
:
k
.
getPhoneNumber
},{
default
:
a
((()
=>
[
r
(
S
,{
src
:
"https://img.ichunt.com/images/ichunt/202503/12/b7e9be7f76205529ad280b3af01dbfdc.png"
})])),
_
:
1
},
8
,[
"onGetphonenumber"
])])),
_
:
1
}))])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-9e33f2e6"
]]);
export
{
x
as
default
};
unpackage/dist/build/web/assets/pages-auth-reg.CVCxlim_.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
A
as
o
,
n
as
s
,
G
as
l
,
r
as
a
,
c
as
i
,
w
as
t
,
i
as
n
,
o
as
c
,
d
,
e
as
r
,
t
as
u
,
v
as
h
,
f
as
p
,
m
,
k
as
_
,
H
as
f
,
I
as
w
,
l
as
g
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
b
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
C
,
b
as
k
}
from
"./barx.BsVUcAxA.js"
;
const
v
=
C
({
data
:()
=>
({
isTest
:
!
1
,
mobile
:
""
,
code
:
""
,
imgCode
:
""
,
imgCodeSrc
:
""
,
verify_rand_key
:
""
,
isShowImgCode
:
!
1
,
password
:
""
,
password1
:
""
,
passwordShow
:
!
1
,
passwordShow1
:
!
1
,
showClearIcon
:
!
1
,
intl_code
:
"0086"
,
areaIndex
:
0
,
code_disabled
:
!
1
,
code_text
:
"获取验证码"
,
areaArray
:[{
name
:
"0086(中国大陆)"
,
value
:
"0086"
},{
name
:
"00852(中国香港)"
,
value
:
"00852"
},{
name
:
"00853(中国澳门)"
,
value
:
"00853"
},{
name
:
"00886(中国台湾)"
,
value
:
"00886"
},{
name
:
"0066(泰国)"
,
value
:
"0066"
},{
name
:
"0084(越南)"
,
value
:
"0084"
}]}),
onLoad
:
function
(){},
methods
:{
checkIsReg
(){
if
(
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
this
.
mobile
&&
this
.
request
(
b
+
"/api/auth/checkExist"
,
"POST"
,{
intl_code
:
this
.
intl_code
,
mobile
:
this
.
mobile
},
!
1
).
then
((
o
=>
{
0
==
o
.
code
&&
1
==
o
.
data
.
exist
&&
e
({
title
:
"账号已存在,您可以直接登录或找回密码"
,
icon
:
"none"
})}))},
loginSuccess
(
e
){
o
(
"token"
,
e
.
data
.
token
),
o
(
"user_info"
,
JSON
.
stringify
(
e
.
data
.
user_info
))},
submit
(){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
if
(
!
this
.
code
)
return
void
e
({
title
:
"请输入验证码"
,
icon
:
"none"
});
if
(
!
this
.
password
||
this
.
password
.
length
<
6
)
return
void
e
({
title
:
"请输入密码,长度不小于6个字符"
,
icon
:
"none"
});
if
(
!
this
.
password1
||
this
.
password1
.
length
<
6
)
return
void
e
({
title
:
"请确认密码,长度不小于6个字符"
,
icon
:
"none"
});
if
(
this
.
password1
!=
this
.
password
)
return
void
e
({
title
:
"两次输入密码不一致"
,
icon
:
"none"
});
if
(
!
this
.
isTest
)
return
void
e
({
title
:
"请勾选爱智网服务协议和隐私政策"
,
icon
:
"none"
});
let
o
=
{
intl_code
:
this
.
intl_code
,
mobile
:
this
.
mobile
,
password
:
this
.
password
,
mobile_code
:
this
.
code
};
this
.
request
(
b
+
"/api/auth/register"
,
"POST"
,
o
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
this
.
loginSuccess
(
o
),
s
({
url
:
"/pages/auth/regSuccess"
})):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))},
getImgCode
(){
this
.
request
(
b
+
"/api/verifyCode/getVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
this
.
imgCodeSrc
=
o
.
data
.
captcha
,
this
.
verify_rand_key
=
o
.
data
.
rand_key
,
this
.
isShowImgCode
=!
0
):
e
({
title
:
o
.
msg
,
icon
:
"none"
})}))},
countdownChange
(){
if
(
!
this
.
code_disabled
){
if
(
!
this
.
mobile
||
"0086"
==
this
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
mobile
))
return
e
({
title
:
"请输正确的手机号"
,
icon
:
"none"
}),
!
1
;
this
.
request
(
b
+
"/api/verifyCode/sendMobileVerifyCode"
,
"GET"
,{
mobile
:
this
.
mobile
,
intl_code
:
this
.
intl_code
,
verify_code
:
this
.
imgCode
,
verify_rand_key
:
this
.
verify_rand_key
},
!
0
,
!
0
).
then
((
o
=>
{
if
(
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
,
0
===
o
.
code
){
l
({
duration
:
60
,
onTick
:
e
=>
{
this
.
code_disabled
=!
0
,
this
.
code_text
=
`重新发送
${
e
}
S`
},
onComplete
:()
=>
{
this
.
code_disabled
=!
1
,
this
.
code_text
=
"获取验证码"
}}).
start
()}
else
2
==
o
.
code
?(
o
.
data
.
sms_need_verify
&&
this
.
getImgCode
(),
e
({
title
:
o
.
msg
,
icon
:
"none"
})):(
this
.
code_disabled
=!
1
,
e
({
title
:
o
.
msg
,
icon
:
"none"
}))}))}},
bindPickerChange
:
function
(
e
,
o
){
this
.
areaIndex
=
e
.
detail
.
value
,
this
.
intl_code
=
this
.
areaArray
[
e
.
detail
.
value
].
value
,
console
.
log
(
this
.
intl_code
)},
clearInput
:
function
(
e
){
this
.
showClearIcon
=
this
.
mobile
.
length
>
0
},
clearIcon
:
function
(){
this
.
mobile
=
""
,
this
.
showClearIcon
=!
1
}},
components
:{
barX
:
k
}},[[
"render"
,
function
(
e
,
o
,
s
,
l
,
b
,
C
){
const
k
=
a
(
"barX"
),
v
=
m
,
y
=
n
,
x
=
_
,
S
=
f
,
I
=
w
,
V
=
g
;
return
c
(),
i
(
y
,{
class
:
"regPage"
},{
default
:
t
((()
=>
[
d
(
k
),
d
(
y
,{
class
:
"close-box"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
"icon iconfont icon-close2"
,
onClick
:
e
.
$goBack
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
d
(
x
,{
src
:
"/assets/logored-U6i9TuW5.png"
,
class
:
"logos"
}),
d
(
y
,{
class
:
"cons"
},{
default
:
t
((()
=>
[
d
(
y
,{
class
:
"input-box row verCenter"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
"icon iconfont icon-mobile ics"
}),
d
(
S
,{
onChange
:
o
[
0
]
||
(
o
[
0
]
=
e
=>
C
.
bindPickerChange
(
e
,
1
)),
value
:
b
.
areaIndex
,
range
:
b
.
areaArray
,
"range-key"
:
"name"
},{
default
:
t
((()
=>
[
d
(
y
,{
class
:
"areabox-box row verCenter"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
"areabox-but"
},{
default
:
t
((()
=>
[
r
(
u
(
b
.
areaArray
[
b
.
areaIndex
].
value
),
1
)])),
_
:
1
}),
d
(
v
,{
class
:
h
([
"icon"
,
"iconfont"
,
"icon-arrowxia"
])})])),
_
:
1
})])),
_
:
1
},
8
,[
"value"
,
"range"
]),
d
(
I
,{
type
:
"text"
,
modelValue
:
b
.
mobile
,
"onUpdate:modelValue"
:
o
[
1
]
||
(
o
[
1
]
=
e
=>
b
.
mobile
=
e
),
onBlur
:
C
.
checkIsReg
,
onInput
:
C
.
clearInput
,
placeholder
:
"请输入手机号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
,
"onBlur"
,
"onInput"
]),
b
.
showClearIcon
?(
c
(),
i
(
v
,{
key
:
0
,
class
:
"icon iconfont icon-searchclose"
,
onClick
:
o
[
2
]
||
(
o
[
2
]
=
e
=>
C
.
clearIcon
())})):
p
(
""
,
!
0
)])),
_
:
1
}),
b
.
isShowImgCode
?(
c
(),
i
(
y
,{
key
:
0
,
class
:
"input-box row verCenter bothSide"
},{
default
:
t
((()
=>
[
d
(
I
,{
type
:
"text"
,
modelValue
:
b
.
imgCode
,
"onUpdate:modelValue"
:
o
[
3
]
||
(
o
[
3
]
=
e
=>
b
.
imgCode
=
e
),
placeholder
:
"请输入图片验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]),
d
(
y
,{
class
:
"img-code"
},{
default
:
t
((()
=>
[
d
(
x
,{
src
:
b
.
imgCodeSrc
,
onClick
:
C
.
getImgCode
},
null
,
8
,[
"src"
,
"onClick"
])])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
d
(
y
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
t
((()
=>
[
d
(
y
,{
class
:
"row verCenter"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
"icon iconfont icon-code ics"
}),
d
(
I
,{
type
:
"text"
,
modelValue
:
b
.
code
,
"onUpdate:modelValue"
:
o
[
4
]
||
(
o
[
4
]
=
e
=>
b
.
code
=
e
),
placeholder
:
"请输入验证码"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
d
(
y
,{
class
:
h
([
"code-btn"
,{
dis
:
b
.
code_disabled
}]),
onClick
:
C
.
countdownChange
},{
default
:
t
((()
=>
[
r
(
u
(
b
.
code_text
),
1
)])),
_
:
1
},
8
,[
"class"
,
"onClick"
])])),
_
:
1
}),
d
(
y
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
t
((()
=>
[
d
(
y
,{
class
:
"row verCenter"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
"icon iconfont icon-password ics"
}),
b
.
passwordShow
?(
c
(),
i
(
I
,{
key
:
0
,
type
:
"text"
,
modelValue
:
b
.
password
,
"onUpdate:modelValue"
:
o
[
5
]
||
(
o
[
5
]
=
e
=>
b
.
password
=
e
),
placeholder
:
"请设置登录密码(6-20个字符)"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])):(
c
(),
i
(
I
,{
key
:
1
,
type
:
"password"
,
modelValue
:
b
.
password
,
"onUpdate:modelValue"
:
o
[
6
]
||
(
o
[
6
]
=
e
=>
b
.
password
=
e
),
placeholder
:
"请设置登录密码(6-20个字符)"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]))])),
_
:
1
}),
d
(
v
,{
class
:
h
([
"icon iconfont icon-see2"
,{
"icon-see1"
:
!
b
.
passwordShow
}]),
onClick
:
o
[
7
]
||
(
o
[
7
]
=
e
=>
b
.
passwordShow
=!
b
.
passwordShow
)},
null
,
8
,[
"class"
])])),
_
:
1
}),
d
(
y
,{
class
:
"input-box row verCenter bothSide"
},{
default
:
t
((()
=>
[
d
(
y
,{
class
:
"row verCenter"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
"icon iconfont icon-password ics"
}),
b
.
passwordShow1
?(
c
(),
i
(
I
,{
key
:
0
,
type
:
"text"
,
modelValue
:
b
.
password1
,
"onUpdate:modelValue"
:
o
[
8
]
||
(
o
[
8
]
=
e
=>
b
.
password1
=
e
),
placeholder
:
"确认登录密码(6-20个字符)"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])):(
c
(),
i
(
I
,{
key
:
1
,
type
:
"password"
,
modelValue
:
b
.
password1
,
"onUpdate:modelValue"
:
o
[
9
]
||
(
o
[
9
]
=
e
=>
b
.
password1
=
e
),
placeholder
:
"确认登录密码(6-20个字符)"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
]))])),
_
:
1
}),
d
(
v
,{
class
:
h
([
"icon iconfont icon-see2"
,{
"icon-see1"
:
!
b
.
passwordShow1
}]),
onClick
:
o
[
10
]
||
(
o
[
10
]
=
e
=>
b
.
passwordShow1
=!
b
.
passwordShow1
)},
null
,
8
,[
"class"
])])),
_
:
1
}),
d
(
y
,{
class
:
"rule row verCenter"
},{
default
:
t
((()
=>
[
d
(
v
,{
class
:
h
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
b
.
isTest
}]),
onClick
:
o
[
11
]
||
(
o
[
11
]
=
e
=>
b
.
isTest
=!
b
.
isTest
)},
null
,
8
,[
"class"
]),
d
(
v
,{
onClick
:
o
[
12
]
||
(
o
[
12
]
=
e
=>
b
.
isTest
=!
b
.
isTest
)},{
default
:
t
((()
=>
[
r
(
"我已阅读并同意"
)])),
_
:
1
}),
d
(
V
,{
url
:
"/pages/auth/rule?id=1"
,
class
:
"link"
},{
default
:
t
((()
=>
[
r
(
"《爱智网站服务协议》"
)])),
_
:
1
}),
d
(
v
,
null
,{
default
:
t
((()
=>
[
r
(
"及"
)])),
_
:
1
}),
d
(
V
,{
url
:
"/pages/auth/rule?id=2"
,
class
:
"link"
},{
default
:
t
((()
=>
[
r
(
"《爱智隐私政策》"
)])),
_
:
1
})])),
_
:
1
}),
d
(
y
,{
class
:
"reg-btn"
,
onClick
:
C
.
submit
},{
default
:
t
((()
=>
[
r
(
"注册"
)])),
_
:
1
},
8
,[
"onClick"
]),
d
(
y
,{
class
:
"self"
},{
default
:
t
((()
=>
[
r
(
"爱智不会在任何地方泄露您的信息"
)])),
_
:
1
}),
d
(
y
,{
class
:
"go-login"
},{
default
:
t
((()
=>
[
d
(
V
,{
url
:
"/pages/auth/login"
},{
default
:
t
((()
=>
[
r
(
"已有账号,去登录"
),
d
(
v
,{
class
:
"icon iconfont icon-arrow2"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-43de710c"
]]);
export
{
v
as
default
};
unpackage/dist/build/web/assets/pages-auth-regSuccess.liH9dBYK.js
deleted
100644 → 0
View file @
d46cc593
import
{
r
as
s
,
c
as
a
,
w
as
o
,
i
as
c
,
o
as
n
,
d
as
e
,
e
as
l
,
m
as
t
,
l
as
d
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
i
,
b
as
u
}
from
"./barx.BsVUcAxA.js"
;
const
f
=
i
({
data
:()
=>
({}),
onLoad
:
function
(){},
methods
:{},
components
:{
barX
:
u
}},[[
"render"
,
function
(
i
,
u
,
f
,
r
,
_
,
m
){
const
b
=
s
(
"barX"
),
p
=
t
,
x
=
c
,
g
=
d
;
return
n
(),
a
(
x
,{
class
:
"regSuccessPage"
},{
default
:
o
((()
=>
[
e
(
b
),
e
(
x
,{
class
:
"close-box"
},{
default
:
o
((()
=>
[
e
(
p
,{
class
:
"icon iconfont icon-close2"
,
onClick
:
i
.
$goBack
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
e
(
x
,{
class
:
"cons"
},{
default
:
o
((()
=>
[
e
(
p
,{
class
:
"icon iconfont icon-success"
}),
e
(
x
,
null
,{
default
:
o
((()
=>
[
l
(
"恭喜您注册成为iEdge爱智会员"
)])),
_
:
1
}),
e
(
p
,
null
,{
default
:
o
((()
=>
[
l
(
"现在可以进行订购、报价、询价等操作"
)])),
_
:
1
})])),
_
:
1
}),
e
(
x
,{
class
:
"bottom"
},{
default
:
o
((()
=>
[
e
(
g
,{
url
:
"/pages/index/index"
,
class
:
"btn"
},{
default
:
o
((()
=>
[
l
(
"进入首页"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-fd95c2c2"
]]);
export
{
f
as
default
};
unpackage/dist/build/web/assets/pages-auth-rule.BnNDxrp4.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
t
,
r
as
a
,
c
as
e
,
w
as
n
,
i
as
s
,
o
,
d
as
i
,
e
as
r
,
t
as
c
,
m
as
d
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
l
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
u
,
b
as
f
}
from
"./barx.BsVUcAxA.js"
;
const
m
=
u
({
data
:()
=>
({
id
:
1
,
content
:
""
}),
onLoad
:
function
(
t
){
this
.
id
=
t
.
id
,
this
.
getData
()},
methods
:{
getData
(){
this
.
request
(
l
+
"/api/xcx/newsPage"
,
"GET"
,{
type
:
this
.
id
},
!
0
).
then
((
a
=>
{
0
==
a
.
code
?
this
.
content
=
a
.
data
.
content
:
t
({
title
:
a
.
msg
,
icon
:
"error"
})}))}},
components
:{
barX
:
f
}},[[
"render"
,
function
(
t
,
l
,
u
,
f
,
m
,
p
){
const
h
=
a
(
"barX"
),
g
=
d
,
_
=
s
;
return
o
(),
e
(
_
,{
class
:
"rulePage"
},{
default
:
n
((()
=>
[
i
(
h
),
i
(
_
,{
class
:
"header row verCenter"
},{
default
:
n
((()
=>
[
i
(
g
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
t
.
$goBack
},
null
,
8
,[
"onClick"
]),
i
(
_
,
null
,{
default
:
n
((()
=>
[
r
(
c
(
1
==
m
.
id
?
"爱智网站服务协议"
:
"爱智隐私政策"
),
1
)])),
_
:
1
})])),
_
:
1
}),
i
(
_
,{
class
:
"content"
,
innerHTML
:
m
.
content
},
null
,
8
,[
"innerHTML"
])])),
_
:
1
})}],[
"__scopeId"
,
"data-v-27140733"
]]);
export
{
m
as
default
};
unpackage/dist/build/web/assets/pages-car-confirmOrder.DuVC1Zr9.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
e
,
b
as
s
,
A
as
i
,
n
as
o
,
r
as
a
,
x
as
t
,
c
as
d
,
w
as
r
,
i
as
n
,
o
as
l
,
d
as
c
,
e
as
_
,
t
as
u
,
f
,
h
as
p
,
j
as
h
,
F
as
m
,
m
as
v
,
l
as
g
,
I
,
v
as
y
,
k
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
b
,
_
as
w
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
C
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
x
,
b
as
q
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
S
}
from
"./title_nav.dc5elgbU.js"
;
const
L
=
x
({
data
:()
=>
({
confirmOrderBackUrl
:
e
(
"confirmOrderBackUrl"
)
||
""
,
carList
:[],
coupon_list
:[],
coupon_id
:
""
,
address_id
:
""
,
addressInfo
:
""
,
invoice_id
:
""
,
invoice_id_org
:
""
,
invoiceInfo
:
""
,
priceInfo
:
""
,
order_remark
:
""
,
isCompany
:
!
(
!
e
(
"user_info"
)
||!
JSON
.
parse
(
e
(
"user_info"
)).
company_name
)}),
onLoad
(
e
){
this
.
address_id
=
e
.
address_id
||
""
,
this
.
invoice_id
=
e
.
invoice_id
||
""
,
this
.
invoice_id_org
=
e
.
invoice_id
||
""
,
this
.
coupon_id
=
e
.
coupon_id
||
""
},
onShow
(){
this
.
getCarList
(),
this
.
getAddress
(),
this
.
getinvoice
(),
this
.
calPrice
()},
methods
:{
chooseYhq
(
e
){
this
.
coupon_id
=
e
},
chooseUp
(){
0
!=
this
.
coupon_list
&&
this
.
openPop
()},
confirmYhq
(){
this
.
calPrice
(),
this
.
closePop
()},
getAddress
(){
this
.
request
(
C
+
"/api/address/getList"
,
"GET"
,{},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
let
s
=
e
.
data
.
list
||
[];
s
.
forEach
((
e
=>
{
this
.
address_id
?
e
.
address_id
==
this
.
address_id
&&
(
this
.
addressInfo
=
e
):
1
==
e
.
is_default
&&
(
this
.
addressInfo
=
e
)})),
s
.
length
>
0
&&!
this
.
addressInfo
&&
(
this
.
addressInfo
=
s
[
0
]),
this
.
addressInfo
&&
(
this
.
address_id
=
this
.
addressInfo
.
address_id
)}}))},
getinvoice
(){
if
(
"460053411"
==
this
.
invoice_id_org
)
return
this
.
invoice_id
=
""
,
void
(
this
.
invoiceInfo
=
""
);
this
.
request
(
C
+
"/api/invoice/getList"
,
"GET"
,{},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
let
s
=
e
.
data
.
list
||
[];
s
.
forEach
((
e
=>
{
this
.
invoice_id
?
e
.
tax_id
==
this
.
invoice_id
&&
(
this
.
invoiceInfo
=
e
):
1
==
e
.
is_default
&&
(
this
.
invoiceInfo
=
e
)})),
s
.
length
>
0
&&!
this
.
invoiceInfo
&&
(
this
.
invoiceInfo
=
s
[
0
]),
this
.
invoiceInfo
&&
(
this
.
invoice_id
=
this
.
invoiceInfo
.
tax_id
)}}))},
calPrice
(){
this
.
request
(
C
+
"/api/order/calPrice"
,
"post"
,{
sku_ids
:
e
(
"car_ids"
),
user_coupon_id
:
this
.
coupon_id
||
""
},
!
0
,
!
0
).
then
((
e
=>
{
0
==
e
.
code
&&
(
this
.
priceInfo
=
e
.
data
)}))},
getCarList
(){
this
.
carList
=
[],
this
.
request
(
C
+
"/api/cart/getCartGoodsInfo"
,
"GET"
,{
sku_ids
:
e
(
"car_ids"
)},
!
0
,
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
e
.
data
.
goods_list
.
forEach
((
e
=>
{
e
.
delivery_list
.
forEach
((
e
=>
{
this
.
carList
.
push
(
e
)}))})),
this
.
coupon_list
=
e
.
data
.
coupon_list
||
[]}}))},
openPop
(){
this
.
$refs
.
popupyhq
.
open
(
"bottom"
)},
closePop
(){
this
.
$refs
.
popupyhq
.
close
(
"bottom"
)},
createOrder
(){
if
(
!
this
.
address_id
)
return
void
s
({
title
:
"请选择地址"
,
icon
:
"none"
});
let
e
=
[];
this
.
carList
.
forEach
((
s
=>
{
e
.
push
({
sku_id
:
s
.
goods_id
,
num
:
s
.
goods_num
})}));
let
a
=
{
order_shipping_type
:
1
,
zy_delivery_type
:
"3"
,
order_remark
:
this
.
order_remark
,
address_id
:
this
.
address_id
,
invoice_id
:
this
.
invoice_id
||
""
,
user_coupon_id
:
this
.
coupon_id
||
""
,
goods_json
:
JSON
.
stringify
(
e
)};
this
.
request
(
C
+
"/api/order/add"
,
"post"
,
a
,
!
0
).
then
((
e
=>
{
0
==
e
.
code
?(
s
({
title
:
"提交订单成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
i
(
"car_ids"
,
""
),
o
({
url
:
"/pages/user/orderList?status=1"
})}),
2
e3
)):
s
({
title
:
e
.
msg
,
icon
:
"nonde"
})}))}},
components
:{
barX
:
q
,
titleNav
:
S
}},[[
"render"
,
function
(
e
,
s
,
i
,
o
,
C
,
x
){
const
q
=
a
(
"barX"
),
S
=
a
(
"titleNav"
),
L
=
v
,
O
=
n
,
P
=
g
,
E
=
k
,
j
=
I
,
U
=
b
(
t
(
"uni-popup"
),
w
);
return
l
(),
d
(
O
,{
class
:
"confirmOrderPage"
},{
default
:
r
((()
=>
[
c
(
q
),
c
(
S
,{
title
:
"确认订单"
,
backurl
:
C
.
confirmOrderBackUrl
},
null
,
8
,[
"backurl"
]),
c
(
O
,{
class
:
"cons"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"top-box"
},{
default
:
r
((()
=>
[
C
.
addressInfo
?(
l
(),
d
(
P
,{
key
:
0
,
url
:
"/pages/user/address?form=confirmOrder&address_id="
+
C
.
address_id
+
"&coupon_id="
+
C
.
coupon_id
+
"&invoice_id="
+
C
.
invoice_id
,
class
:
"address-box"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"addbx row bothSide verCenter"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"l"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"ad row verCenter"
},{
default
:
r
((()
=>
[
c
(
L
,{
class
:
"csq"
},{
default
:
r
((()
=>
[
_
(
u
(
"中国"
!=
C
.
addressInfo
.
nation_cn
?
C
.
addressInfo
.
nation_cn
:
""
)
+
" "
+
u
(
C
.
addressInfo
.
province_val
)
+
" "
+
u
(
C
.
addressInfo
.
city_val
)
+
" "
+
u
(
C
.
addressInfo
.
district_val
),
1
)])),
_
:
1
}),
1
==
C
.
addressInfo
.
is_default
?(
l
(),
d
(
L
,{
key
:
0
,
class
:
"mr"
},{
default
:
r
((()
=>
[
_
(
"默认"
)])),
_
:
1
})):
f
(
""
,
!
0
)])),
_
:
1
}),
c
(
O
,{
class
:
"ad1"
},{
default
:
r
((()
=>
[
_
(
u
(
C
.
addressInfo
.
detail_address
),
1
)])),
_
:
1
}),
c
(
O
,{
class
:
"cnnk"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
C
.
addressInfo
.
consignee
),
1
)])),
_
:
1
}),
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
C
.
addressInfo
.
mobile
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
c
(
L
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
])):(
l
(),
d
(
P
,{
key
:
1
,
url
:
"/pages/user/address?form=confirmOrder&address_id="
+
C
.
address_id
+
"&coupon_id="
+
C
.
coupon_id
+
"&invoice_id="
+
C
.
invoice_id
,
class
:
"address-box"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"noadd row verCenter bothSide"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"收货地址"
)])),
_
:
1
}),
c
(
O
,
null
,{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"暂无地址信息去设置"
)])),
_
:
1
}),
c
(
L
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
]))])),
_
:
1
}),
C
.
carList
.
length
>
0
?(
l
(),
d
(
O
,{
key
:
0
,
class
:
"goods-box"
},{
default
:
r
((()
=>
[(
l
(
!
0
),
p
(
m
,
null
,
h
(
C
.
carList
,((
e
,
s
)
=>
(
l
(),
d
(
O
,{
class
:
"group row"
,
key
:
s
},{
default
:
r
((()
=>
[
c
(
E
,{
src
:
e
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
c
(
O
,{
class
:
"infos"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"ganme elep2"
},{
default
:
r
((()
=>
[
_
(
u
(
e
.
sku_name
),
1
)])),
_
:
2
},
1024
),
c
(
O
,{
class
:
"hqs row verCenter bothSide"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"货期:"
+
u
(
e
.
delivery_time
),
1
)])),
_
:
2
},
1024
),
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"x"
+
u
(
e
.
goods_num
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
c
(
O
,{
class
:
"price"
},{
default
:
r
((()
=>
[
_
(
"¥"
+
u
(
C
.
isCompany
&&
e
.
company_price
||
e
.
origin_price
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
)),
c
(
O
,{
class
:
"coupo-box row bothSide verCenter"
,
onClick
:
s
[
0
]
||
(
s
[
0
]
=
e
=>
x
.
chooseUp
())},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"l"
},{
default
:
r
((()
=>
[
_
(
"选择您的优惠券"
)])),
_
:
1
}),
c
(
O
,{
class
:
"r row verCenter"
},{
default
:
r
((()
=>
[
0
==
C
.
coupon_list
.
length
?(
l
(),
d
(
O
,{
key
:
0
,
class
:
"not"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"未识别到可用优惠券"
)])),
_
:
1
}),
c
(
L
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})):(
l
(),
d
(
O
,{
key
:
1
},{
default
:
r
((()
=>
[
C
.
priceInfo
?(
l
(),
d
(
L
,{
key
:
0
},{
default
:
r
((()
=>
[
_
(
"-"
+
u
(
C
.
priceInfo
.
currency_sign
)
+
u
(
C
.
priceInfo
.
discount_fee
||
"0.00"
),
1
)])),
_
:
1
})):
f
(
""
,
!
0
),
c
(
L
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
}))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
f
(
""
,
!
0
),
c
(
O
,{
class
:
"cginfo"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"tit"
},{
default
:
r
((()
=>
[
_
(
"采购信息确认"
)])),
_
:
1
}),
c
(
P
,{
url
:
"/pages/user/invoice?form=confirmOrder&invoice_id="
+
C
.
invoice_id
+
"&coupon_id="
+
C
.
coupon_id
+
"&address_id="
+
C
.
address_id
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"发票信息"
)])),
_
:
1
}),
c
(
O
,
null
,{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
"460053411"
==
C
.
invoice_id_org
?
"不开发票"
:
C
.
invoiceInfo
?
C
.
invoiceInfo
.
tax_title
:
"暂无发票去设置"
),
1
)])),
_
:
1
}),
c
(
L
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
]),
c
(
O
,{
class
:
"pur-sn-box"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"tit"
},{
default
:
r
((()
=>
[
_
(
"订单备注"
)])),
_
:
1
}),
c
(
j
,{
type
:
"text"
,
class
:
"pur-sn-val"
,
modelValue
:
C
.
order_remark
,
"onUpdate:modelValue"
:
s
[
1
]
||
(
s
[
1
]
=
e
=>
C
.
order_remark
=
e
),
"placeholder-class"
:
"placeholder-class"
,
placeholder
:
"请输入订单备注"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
}),
C
.
priceInfo
?(
l
(),
d
(
O
,{
key
:
1
,
class
:
"price-infos"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"top"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"item row bothSide"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"商品含税总额"
)])),
_
:
1
}),
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
C
.
priceInfo
.
currency_sign
)
+
u
(
C
.
priceInfo
.
total_amount
),
1
)])),
_
:
1
})])),
_
:
1
}),
c
(
O
,{
class
:
"item row bothSide"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"运费(未税)"
)])),
_
:
1
}),
Number
(
C
.
priceInfo
.
discovery_fee
)
<=
0
?(
l
(),
d
(
L
,{
key
:
0
},{
default
:
r
((()
=>
[
_
(
"已免运费"
)])),
_
:
1
})):(
l
(),
d
(
L
,{
key
:
1
},{
default
:
r
((()
=>
[
_
(
u
(
C
.
priceInfo
.
currency_sign
)
+
u
(
C
.
priceInfo
.
discovery_fee
||
"0.00"
),
1
)])),
_
:
1
}))])),
_
:
1
})])),
_
:
1
}),
c
(
O
,{
class
:
"bottom"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"item row bothSide"
},{
default
:
r
((()
=>
[
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
"优惠金额"
)])),
_
:
1
}),
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
C
.
priceInfo
.
currency_sign
)
+
u
(
C
.
priceInfo
.
discount_fee
||
"0.00"
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
f
(
""
,
!
0
)])),
_
:
1
}),
c
(
O
,{
class
:
"foot row verCenter bothSide"
},{
default
:
r
((()
=>
[
C
.
priceInfo
?(
l
(),
d
(
O
,{
key
:
0
,
class
:
"l row verCenter"
},{
default
:
r
((()
=>
[
_
(
"含税总额:"
),
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
C
.
priceInfo
.
currency_sign
)
+
u
(
C
.
priceInfo
.
pay_amount
),
1
)])),
_
:
1
})])),
_
:
1
})):
f
(
""
,
!
0
),
c
(
O
,{
class
:
"submit-btn"
,
onClick
:
x
.
createOrder
},{
default
:
r
((()
=>
[
_
(
"提交订单"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
c
(
U
,{
ref
:
"popupyhq"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"pop-yhq"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"trt"
},{
default
:
r
((()
=>
[
c
(
L
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
x
.
closePop
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
c
(
O
,{
class
:
"ttit elep"
},{
default
:
r
((()
=>
[
_
(
"优惠券"
)])),
_
:
1
}),
C
.
coupon_list
.
length
>
0
?(
l
(),
d
(
O
,{
key
:
0
,
class
:
"cons"
},{
default
:
r
((()
=>
[(
l
(
!
0
),
p
(
m
,
null
,
h
(
C
.
coupon_list
,((
e
,
s
)
=>
(
l
(),
d
(
O
,{
class
:
y
([
"group row bothSide verCenter"
,{
act
:
C
.
coupon_id
==
e
.
coupon_id
}]),
key
:
s
,
onClick
:
s
=>
x
.
chooseYhq
(
e
.
coupon_id
)},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"l row"
},{
default
:
r
((()
=>
[
c
(
O
,{
class
:
"price"
},{
default
:
r
((()
=>
[
2
==
e
.
coupon_type
?(
l
(),
d
(
L
,{
key
:
0
},{
default
:
r
((()
=>
[
_
(
"折"
),
c
(
L
,{
class
:
"textp"
},{
default
:
r
((()
=>
[
_
(
u
(
10
*
e
.
sale_amount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)):(
l
(),
d
(
L
,{
key
:
1
},{
default
:
r
((()
=>
[
_
(
u
(
e
.
currency_sign
),
1
),
c
(
L
,{
class
:
"textp"
},{
default
:
r
((()
=>
[
_
(
u
(
e
.
sale_amount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)),
c
(
O
,{
class
:
"tips"
},{
default
:
r
((()
=>
[
_
(
u
(
e
.
require_amount
<=
.
01
?
"无门槛优惠券"
:
e
.
coupon_name
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
c
(
O
,{
class
:
"yhld"
},{
default
:
r
((()
=>
[
c
(
O
,
null
,{
default
:
r
((()
=>
[
_
(
"商品优惠券"
)])),
_
:
1
}),
c
(
L
,
null
,{
default
:
r
((()
=>
[
_
(
u
(
e
.
start_time
)
+
" - "
+
u
(
e
.
end_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
})):
f
(
""
,
!
0
),
c
(
O
,{
class
:
"add-btn"
,
onClick
:
x
.
confirmYhq
},{
default
:
r
((()
=>
[
_
(
"确认"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-590ed507"
]]);
export
{
L
as
default
};
unpackage/dist/build/web/assets/pages-car-confirmQuote.DoXy3S9i.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
e
,
A
as
s
,
n
as
t
,
b
as
a
,
r
as
o
,
x
as
i
,
c
as
l
,
w
as
n
,
i
as
c
,
o
as
r
,
d
as
u
,
e
as
d
,
t
as
_
,
h
as
p
,
j
as
f
,
F
as
h
,
f
as
m
,
v
as
y
,
I
as
g
,
m
as
k
,
l
as
I
,
k
as
b
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
C
,
_
as
w
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
x
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
v
,
b
as
q
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
S
}
from
"./title_nav.dc5elgbU.js"
;
const
L
=
v
({
data
:()
=>
({
isTest
:
!
0
,
pdf_email
:
""
,
purchase_sn
:
""
,
userInfo
:
""
,
create_name
:
""
,
address_id
:
""
,
addressInfo
:
""
,
carList
:[],
coupon_list
:[],
coupon_id
:
""
,
priceInfo
:
""
,
company_name
:
""
,
isCompany
:
!
(
!
e
(
"user_info"
)
||!
JSON
.
parse
(
e
(
"user_info"
)).
company_name
)}),
onLoad
:
function
(
s
){
this
.
address_id
=
s
.
address_id
||
""
,
this
.
coupon_id
=
s
.
coupon_id
||
""
,
this
.
userInfo
=
JSON
.
parse
(
e
(
"user_info"
)),
this
.
create_name
=
this
.
userInfo
.
wx_nickname
||
this
.
userInfo
.
phone
||
this
.
userInfo
.
email
},
onShow
(){
this
.
getCarList
()},
methods
:{
chooseYhq
(
e
){
this
.
coupon_id
=
e
},
chooseUp
(){
0
!=
this
.
coupon_list
&&
this
.
openPop
()},
confirmYhq
(){
this
.
calPrice
(),
this
.
closePop
()},
calPrice
(){
let
e
=
[];
this
.
carList
.
forEach
((
s
=>
{
e
.
push
({
sku_id
:
s
.
goods_id
,
num
:
s
.
goods_num
})})),
this
.
request
(
x
+
"/api/order/calQuotePrice"
,
"post"
,{
sku_json
:
JSON
.
stringify
(
e
),
user_coupon_id
:
this
.
coupon_id
||
""
},
!
0
,
!
0
).
then
((
e
=>
{
0
==
e
.
code
&&
(
this
.
priceInfo
=
e
.
data
,
this
.
company_name
=
e
.
data
.
company_name
,
this
.
pdf_email
=
e
.
data
.
recent_quote_email
)}))},
getCarList
(){
this
.
carList
=
[],
this
.
request
(
x
+
"/api/cart/getCartGoodsInfo"
,
"GET"
,{
sku_ids
:
e
(
"car_ids"
)},
!
0
,
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
e
.
data
.
goods_list
.
forEach
((
e
=>
{
e
.
delivery_list
.
forEach
((
e
=>
{
this
.
carList
.
push
(
e
)}))})),
this
.
coupon_list
=
e
.
data
.
coupon_list
||
[],
this
.
calPrice
()}}))},
getAddress
(){
this
.
request
(
x
+
"/api/address/getList"
,
"GET"
,{},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
let
s
=
e
.
data
.
list
||
[];
s
.
forEach
((
e
=>
{
this
.
address_id
?
e
.
address_id
==
this
.
address_id
&&
(
this
.
addressInfo
=
e
):
1
==
e
.
is_default
&&
(
this
.
addressInfo
=
e
)})),
s
.
length
>
0
&&!
this
.
addressInfo
&&
(
this
.
addressInfo
=
s
[
0
]),
this
.
addressInfo
&&
(
this
.
address_id
=
this
.
addressInfo
.
address_id
)}}))},
createQuote
(){
let
e
=
[];
this
.
carList
.
forEach
((
s
=>
{
e
.
push
({
sku_id
:
s
.
goods_id
,
num
:
s
.
goods_num
})}));
let
o
=
{
create_name
:
this
.
create_name
,
pdf_email
:
this
.
pdf_email
,
sku_json
:
JSON
.
stringify
(
e
),
user_coupon_id
:
this
.
coupon_id
,
address_id
:
this
.
address_id
,
purchase_sn
:
this
.
purchase_sn
,
company_name
:
this
.
company_name
};
this
.
request
(
x
+
"/api/xcx/confirmQuote"
,
"post"
,
o
,
!
0
).
then
((
e
=>
{
0
==
e
.
code
?(
s
(
"quoteInfo"
,
JSON
.
stringify
(
e
.
data
)),
t
({
url
:
"/pages/car/confirmQuoteSuccess"
})):
a
({
title
:
e
.
msg
,
icon
:
"nonde"
})}))},
openTipsx
(){
this
.
isTest
?
this
.
$refs
.
popuptips
.
open
(
"bottom"
):
a
({
title
:
"请勾选并确认交易条款"
,
icon
:
"none"
})},
closeTipsx
(){
this
.
$refs
.
popuptips
.
close
(
"bottom"
)},
openPop
(){
this
.
$refs
.
popupyhq
.
open
(
"bottom"
)},
closePop
(){
this
.
$refs
.
popupyhq
.
close
(
"bottom"
)}},
components
:{
barX
:
q
,
titleNav
:
S
}},[[
"render"
,
function
(
e
,
s
,
t
,
a
,
x
,
v
){
const
q
=
o
(
"barX"
),
S
=
o
(
"titleNav"
),
L
=
c
,
P
=
g
,
T
=
b
,
j
=
k
,
E
=
I
,
N
=
C
(
i
(
"uni-popup"
),
w
);
return
r
(),
l
(
L
,{
class
:
"confirmQuotePage"
},{
default
:
n
((()
=>
[
u
(
q
),
u
(
S
,{
title
:
"确认报价单"
}),
u
(
L
,{
class
:
"cons"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"top-box"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"tit"
},{
default
:
n
((()
=>
[
d
(
"询价人:"
+
_
(
x
.
create_name
),
1
)])),
_
:
1
}),
u
(
L
,{
class
:
"tit row verCenter"
},{
default
:
n
((()
=>
[
d
(
" 公司名称:"
),
u
(
P
,{
class
:
"uni-input"
,
modelValue
:
x
.
company_name
,
"onUpdate:modelValue"
:
s
[
0
]
||
(
s
[
0
]
=
e
=>
x
.
company_name
=
e
)},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
}),
x
.
carList
.
length
>
0
?(
r
(),
l
(
L
,{
key
:
0
,
class
:
"goods-box"
},{
default
:
n
((()
=>
[(
r
(
!
0
),
p
(
h
,
null
,
f
(
x
.
carList
,((
e
,
s
)
=>
(
r
(),
l
(
L
,{
class
:
"group row"
,
key
:
s
},{
default
:
n
((()
=>
[
u
(
T
,{
src
:
e
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
u
(
L
,{
class
:
"infos"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"ganme elep2"
},{
default
:
n
((()
=>
[
d
(
_
(
e
.
sku_name
),
1
)])),
_
:
2
},
1024
),
u
(
L
,{
class
:
"hqs row verCenter bothSide"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"货期:"
+
_
(
e
.
delivery_time
),
1
)])),
_
:
2
},
1024
),
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"x"
+
_
(
e
.
goods_num
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
u
(
L
,{
class
:
"price"
},{
default
:
n
((()
=>
[
d
(
"¥"
+
_
(
x
.
isCompany
&&
e
.
company_price
||
e
.
origin_price
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
)),
u
(
L
,{
class
:
"coupo-box row bothSide verCenter"
,
onClick
:
s
[
1
]
||
(
s
[
1
]
=
e
=>
v
.
chooseUp
())},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"l"
},{
default
:
n
((()
=>
[
d
(
"选择您的优惠券"
)])),
_
:
1
}),
u
(
L
,{
class
:
"r row verCenter"
},{
default
:
n
((()
=>
[
0
==
x
.
coupon_list
.
length
?(
r
(),
l
(
L
,{
key
:
0
,
class
:
"not"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"未识别到可用优惠券"
)])),
_
:
1
}),
u
(
j
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})):(
r
(),
l
(
L
,{
key
:
1
},{
default
:
n
((()
=>
[
x
.
priceInfo
?(
r
(),
l
(
j
,{
key
:
0
},{
default
:
n
((()
=>
[
d
(
"-"
+
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
discount_fee
||
"0.00"
),
1
)])),
_
:
1
})):
m
(
""
,
!
0
),
u
(
j
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
}))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
m
(
""
,
!
0
),
x
.
priceInfo
?(
r
(),
l
(
L
,{
key
:
1
,
class
:
"price-infos"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"top"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"item row bothSide"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"商品含税总额"
)])),
_
:
1
}),
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
all_amount
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
L
,{
class
:
"item row bothSide"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"运费(未税)"
)])),
_
:
1
}),
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
discovery_fee
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
u
(
L
,{
class
:
"bottom"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"item row bothSide"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"总金额(未税)"
)])),
_
:
1
}),
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
total_amount
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
L
,{
class
:
"item row bothSide"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"总税额"
)])),
_
:
1
}),
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
tax_rate_amount
||
0
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
L
,{
class
:
"item row bothSide"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"应付金额(含税)"
)])),
_
:
1
}),
u
(
j
,{
class
:
"price-pay"
},{
default
:
n
((()
=>
[
d
(
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
pay_amount
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
m
(
""
,
!
0
),
u
(
L
,{
class
:
"rules row verCenter"
},{
default
:
n
((()
=>
[
u
(
j
,{
class
:
y
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
x
.
isTest
}]),
onClick
:
s
[
2
]
||
(
s
[
2
]
=
e
=>
x
.
isTest
=!
x
.
isTest
)},
null
,
8
,[
"class"
]),
u
(
E
,{
url
:
"/pages/car/confirmRule"
,
class
:
"tklink"
},{
default
:
n
((()
=>
[
d
(
"查看交易条款"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
u
(
L
,{
class
:
"foot row verCenter bothSide"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"l row verCenter"
},{
default
:
n
((()
=>
[
d
(
"含税总额:"
),
x
.
priceInfo
?(
r
(),
l
(
j
,{
key
:
0
},{
default
:
n
((()
=>
[
d
(
_
(
x
.
priceInfo
.
currency_sign
)
+
_
(
x
.
priceInfo
.
pay_amount
),
1
)])),
_
:
1
})):
m
(
""
,
!
0
)])),
_
:
1
}),
u
(
L
,{
class
:
"submit-btn"
,
onClick
:
v
.
openTipsx
},{
default
:
n
((()
=>
[
d
(
"完成报价"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
u
(
N
,{
ref
:
"popuptips"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"pop-tips"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"trt"
},{
default
:
n
((()
=>
[
u
(
j
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
v
.
closeTipsx
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
u
(
L
,{
class
:
"ttit elep"
},{
default
:
n
((()
=>
[
d
(
"温馨提示"
)])),
_
:
1
}),
u
(
L
,{
class
:
"tipjk"
},{
default
:
n
((()
=>
[
d
(
"请确认邮箱地址,爱智将以PDF格式报价单"
)])),
_
:
1
}),
u
(
L
,{
class
:
"cons"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"label"
},{
default
:
n
((()
=>
[
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
"*"
)])),
_
:
1
}),
d
(
"邮箱"
)])),
_
:
1
}),
u
(
P
,{
type
:
"text"
,
class
:
"inputv"
,
modelValue
:
x
.
pdf_email
,
"onUpdate:modelValue"
:
s
[
3
]
||
(
s
[
3
]
=
e
=>
x
.
pdf_email
=
e
),
placeholder
:
"请输入邮箱"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
u
(
L
,{
class
:
"sure"
,
onClick
:
v
.
createQuote
},{
default
:
n
((()
=>
[
d
(
"确认"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
},
512
),
u
(
N
,{
ref
:
"popupyhq"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"pop-yhq"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"trt"
},{
default
:
n
((()
=>
[
u
(
j
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
v
.
closePop
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
u
(
L
,{
class
:
"ttit elep"
},{
default
:
n
((()
=>
[
d
(
"优惠券"
)])),
_
:
1
}),
x
.
coupon_list
.
length
>
0
?(
r
(),
l
(
L
,{
key
:
0
,
class
:
"cons"
},{
default
:
n
((()
=>
[(
r
(
!
0
),
p
(
h
,
null
,
f
(
x
.
coupon_list
,((
e
,
s
)
=>
(
r
(),
l
(
L
,{
class
:
y
([
"group row bothSide verCenter"
,{
act
:
x
.
coupon_id
==
e
.
coupon_id
}]),
key
:
s
,
onClick
:
s
=>
v
.
chooseYhq
(
e
.
coupon_id
)},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"l row"
},{
default
:
n
((()
=>
[
u
(
L
,{
class
:
"price"
},{
default
:
n
((()
=>
[
2
==
e
.
coupon_type
?(
r
(),
l
(
j
,{
key
:
0
},{
default
:
n
((()
=>
[
d
(
"折"
),
u
(
j
,{
class
:
"textp"
},{
default
:
n
((()
=>
[
d
(
_
(
10
*
e
.
sale_amount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)):(
r
(),
l
(
j
,{
key
:
1
},{
default
:
n
((()
=>
[
d
(
_
(
e
.
currency_sign
),
1
),
u
(
j
,{
class
:
"textp"
},{
default
:
n
((()
=>
[
d
(
_
(
e
.
sale_amount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)),
u
(
L
,{
class
:
"tips"
},{
default
:
n
((()
=>
[
d
(
_
(
e
.
require_amount
<=
.
01
?
"无门槛优惠券"
:
e
.
coupon_name
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
u
(
L
,{
class
:
"yhld"
},{
default
:
n
((()
=>
[
u
(
L
,
null
,{
default
:
n
((()
=>
[
d
(
"商品优惠券"
)])),
_
:
1
}),
u
(
j
,
null
,{
default
:
n
((()
=>
[
d
(
_
(
e
.
start_time
)
+
" - "
+
_
(
e
.
end_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
})):
m
(
""
,
!
0
),
u
(
L
,{
class
:
"add-btn"
,
onClick
:
v
.
confirmYhq
},{
default
:
n
((()
=>
[
d
(
"确认"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-8cac18c1"
]]);
export
{
L
as
default
};
unpackage/dist/build/web/assets/pages-car-confirmQuoteSuccess.FypCnYVt.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
a
,
n
as
e
,
r
as
o
,
c
as
t
,
w
as
s
,
i
as
l
,
o
as
n
,
d
as
u
,
e
as
c
,
t
as
f
,
f
as
d
,
m
as
r
}
from
"./index-CDFUxcS7.js"
;
import
{
_
,
b
as
i
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
m
}
from
"./title_nav.dc5elgbU.js"
;
const
b
=
_
({
data
:()
=>
({
quoteInfo
:
""
}),
onLoad
:
function
(){
this
.
quoteInfo
=
JSON
.
parse
(
a
(
"quoteInfo"
))},
methods
:{
goOrder
(){
e
({
url
:
"/pages/car/confirmOrder"
})}},
components
:{
barX
:
i
,
titleNav
:
m
}},[[
"render"
,
function
(
a
,
e
,
_
,
i
,
m
,
b
){
const
q
=
o
(
"barX"
),
I
=
o
(
"titleNav"
),
k
=
r
,
p
=
l
;
return
n
(),
t
(
p
,{
class
:
"confirmQuoteSuccessPage"
},{
default
:
s
((()
=>
[
u
(
q
),
u
(
I
,{
title
:
"确认报价单"
}),
m
.
quoteInfo
?(
n
(),
t
(
p
,{
key
:
0
,
class
:
"cons"
},{
default
:
s
((()
=>
[
u
(
p
,{
class
:
"status-box"
},{
default
:
s
((()
=>
[
m
.
quoteInfo
.
mail_send_res
?(
n
(),
t
(
k
,{
key
:
0
,
class
:
"icon iconfont icon-goucc"
})):(
n
(),
t
(
k
,{
key
:
1
,
class
:
"icon iconfont icon-cccz"
})),
u
(
p
,
null
,{
default
:
s
((()
=>
[
c
(
f
(
m
.
quoteInfo
.
mail_send_res
?
"邮件已发送"
:
"邮箱发送不成功!"
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
p
,{
class
:
"sec"
},{
default
:
s
((()
=>
[
u
(
p
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
"询价单号"
)])),
_
:
1
}),
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
f
(
m
.
quoteInfo
.
quote_sn
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
p
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
"客户采购单号"
)])),
_
:
1
}),
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
f
(
m
.
quoteInfo
.
purchase_sn
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
p
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
"询价人"
)])),
_
:
1
}),
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
f
(
m
.
quoteInfo
.
create_name
),
1
)])),
_
:
1
})])),
_
:
1
}),
u
(
p
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
"询价时间"
)])),
_
:
1
}),
u
(
k
,
null
,{
default
:
s
((()
=>
[
c
(
f
(
m
.
quoteInfo
.
create_time
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
u
(
p
,{
class
:
"btns row rowCenter"
},{
default
:
s
((()
=>
[
u
(
p
,{
class
:
"back"
,
onClick
:
a
.
$goBack
},{
default
:
s
((()
=>
[
c
(
"返回"
)])),
_
:
1
},
8
,[
"onClick"
]),
u
(
p
,{
class
:
"dg"
,
onClick
:
b
.
goOrder
},{
default
:
s
((()
=>
[
c
(
"立即订购"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})):
d
(
""
,
!
0
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-336fda8d"
]]);
export
{
b
as
default
};
unpackage/dist/build/web/assets/pages-car-confirmRule.DfThVhLn.js
deleted
100644 → 0
View file @
d46cc593
import
{
r
as
a
,
c
as
t
,
w
as
l
,
i
as
s
,
o
as
e
,
d
as
o
,
e
as
n
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
u
,
b
as
d
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
c
}
from
"./title_nav.dc5elgbU.js"
;
const
f
=
u
({
data
:()
=>
({}),
onLoad
:
function
(){},
methods
:{},
components
:{
barX
:
d
,
titleNav
:
c
}},[[
"render"
,
function
(
u
,
d
,
c
,
f
,
r
,
i
){
const
_
=
a
(
"barX"
),
m
=
a
(
"titleNav"
),
p
=
s
;
return
e
(),
t
(
p
,{
class
:
"carRulePage"
},{
default
:
l
((()
=>
[
o
(
_
),
o
(
m
,{
title
:
"交易条款"
}),
o
(
p
,{
class
:
"cons"
},{
default
:
l
((()
=>
[
n
(
" 我们根据法律法规的要求,遵循合法、正当、必要和诚信的原则,仅收集实现产品功能所必要的个人信息。这些信息包括: 您在使用我们服务时主动提供的信息 "
),
o
(
p
,
null
,{
default
:
l
((()
=>
[
n
(
"·您在注册或使用我们的产品或服务时,主动填写或上传的昵称、手机号码、头像、图片等。"
)])),
_
:
1
}),
o
(
p
,
null
,{
default
:
l
((()
=>
[
n
(
"·您通过我们的客服或参加我们举办的活动时所提交的信息。"
)])),
_
:
1
}),
o
(
p
,
null
,{
default
:
l
((()
=>
[
n
(
" ·我们一些特定的服务可能需要您提供特定的个人信息来实现相关功能。若您选择不提供该类信息,将不会影响您使用产品或服务中的其他功能。 我们在您使用服务时获取的信息 "
)])),
_
:
1
}),
o
(
p
,
null
,{
default
:
l
((()
=>
[
n
(
" ·日志信息 例如,当您使用我们的服务时,为了维护产品与服务的安全稳定运行,我们可能会收集设备信息、软件信息、服务日志信息等相关信息。 "
)])),
_
:
1
}),
o
(
p
,
null
,{
default
:
l
((()
=>
[
n
(
" ·位置信息 例如,当您使用与位置有关的服务时,我们可能会记录您设备所在的位置信息,以便为您提供相关服务。 "
)])),
_
:
1
})])),
_
:
1
}),
o
(
p
,{
class
:
"foot"
},{
default
:
l
((()
=>
[
o
(
p
,{
class
:
"nava"
,
onClick
:
u
.
$goBack
},{
default
:
l
((()
=>
[
n
(
"我已阅读"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-0666cb60"
]]);
export
{
f
as
default
};
unpackage/dist/build/web/assets/pages-car-list.ufCTqebN.js
deleted
100644 → 0
View file @
d46cc593
import
{
o
as
t
,
c
as
e
,
w
as
s
,
d
as
i
,
K
as
o
,
L
as
a
,
e
as
c
,
i
as
l
,
g
as
n
,
b
as
d
,
y
as
u
,
A
as
r
,
n
as
h
,
r
as
f
,
x
as
_
,
t
as
m
,
f
as
p
,
h
as
k
,
j
as
g
,
F
as
b
,
v
as
L
,
p
as
C
,
m
as
w
,
l
as
x
,
k
as
v
,
I
as
y
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
N
,
_
as
S
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
E
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
j
,
b
as
q
}
from
"./barx.BsVUcAxA.js"
;
import
{
b
as
I
}
from
"./bottom_nav.Cwl6qhit.js"
;
const
T
=
j
({
data
:()
=>
({
timeout
:
""
,
dataInited
:
!
1
,
allcheck
:
!
0
,
isEdit
:
!
1
,
carList
:[],
totalprice
:
0
,
checkcount
:
0
,
isLogin
:
!!
n
(
"token"
),
list_name
:
""
,
qDList
:[]}),
onLoad
:
function
(){
this
.
isLogin
&&
this
.
getData
(),
this
.
getQdList
()},
methods
:{
getData
(
t
){
t
||
(
this
.
carList
=
[]),
this
.
request
(
E
+
"/api/cart/getCartList"
,
"GET"
,{},
!
t
).
then
((
t
=>
{
if
(
this
.
dataInited
=!
0
,
this
.
allcheck
=!
0
,
this
.
carList
=
[],
0
==
t
.
code
){
let
e
=
t
.
data
.
delivery_time_data
||
[],
s
=
[];
Object
.
keys
(
e
).
forEach
((
t
=>
{
e
[
t
].
forEach
((
t
=>
{
s
.
push
(
t
)}))})),
s
.
forEach
((
t
=>
{
t
.
checked
=!
0
,
t
.
goods_num
=
Number
(
t
.
goods_num
),
this
.
carList
.
push
(
t
)})),
this
.
listUi
()}}))},
listUi
(){
this
.
totalprice
=
0
,
this
.
checkcount
=
0
,
this
.
carList
.
forEach
((
t
=>
{
t
.
checked
&&
(
this
.
checkcount
++
,
this
.
totalprice
+=
Number
((
10
==
t
.
goods_info
.
ac_type
?
t
.
goods_info
.
ladder_price
[
0
].
price_ac
:
t
.
price
)
*
t
.
goods_num
))})),
this
.
totalprice
=
this
.
totalprice
.
toFixed
(
2
)},
changeNum
(
t
,
e
){
clearTimeout
(
this
.
timeout
),
this
.
timeout
=
setTimeout
((()
=>
{
let
e
=
this
.
carList
.
filter
((
e
=>
e
.
sku_id
==
t
))[
0
],
s
=
Number
(
e
.
goods_info
.
multiple
||
e
.
goods_info
.
mpl
),
i
=
Number
(
e
.
goods_info
.
stock
),
o
=
Number
(
e
.
goods_info
.
moq
),
a
=
Number
(
e
.
goods_num
);
a
=
Math
.
ceil
(
a
/
s
)
*
s
,
e
.
goods_num
=
a
,
a
<
o
&&
(
e
.
goods_num
=
o
),
a
>
i
&&
(
e
.
goods_num
=
Math
.
floor
(
i
/
s
)
*
s
),
this
.
request
(
E
+
"/api/cart/updateCartNum"
,
"POST"
,{
sku_id
:
e
.
sku_id
,
goods_num
:
e
.
goods_num
},
!
1
).
then
((
t
=>
{
this
.
listUi
()}))}),
800
)},
addjNum
(
t
,
e
){
let
s
=
this
.
carList
.
filter
((
e
=>
e
.
sku_id
==
t
))[
0
],
i
=
Number
(
s
.
goods_info
.
multiple
||
s
.
goods_info
.
mpl
),
o
=
Number
(
s
.
goods_info
.
stock
),
a
=
Number
(
s
.
goods_info
.
moq
),
c
=
Number
(
s
.
goods_num
);
if
(
1
==
e
){
var
l
=
c
-
i
;
l
<
a
?(
s
.
goods_num
=
a
,
d
({
title
:
"数量不能小于起订量"
,
duration
:
2
e3
,
icon
:
"none"
})):
s
.
goods_num
=
l
}
else
{
var
n
=
c
+
i
;
n
>
o
?(
d
({
title
:
"数量不能大于库存"
,
duration
:
2
e3
,
icon
:
"none"
}),
s
.
goods_num
=
Math
.
floor
(
o
/
i
)
*
i
):
s
.
goods_num
=
n
}
this
.
request
(
E
+
"/api/cart/updateCartNum"
,
"POST"
,{
sku_id
:
s
.
sku_id
,
goods_num
:
s
.
goods_num
},
!
1
).
then
((
t
=>
{
this
.
listUi
()}))},
checkboxchange
(
t
){
if
(
"460053411"
==
t
)
this
.
allcheck
=!
this
.
allcheck
,
this
.
carList
.
forEach
((
t
=>
{
t
.
checked
=
this
.
allcheck
}));
else
{
var
e
=
1
;
this
.
carList
.
forEach
((
s
=>
{
s
.
sku_id
==
t
&&
(
s
.
checked
=!
s
.
checked
),
s
.
checked
||
(
e
=
0
)})),
this
.
allcheck
=!!
e
}
return
this
.
listUi
(),
!
1
},
dels
(
t
){
let
e
=
this
.
carList
.
filter
((
t
=>
t
.
checked
)).
map
((
t
=>
t
.
sku_id
)).
join
(
","
);
t
&&
(
e
=
String
(
t
)),
e
?
u
({
title
:
"删除"
,
content
:
"是否删除当前"
+
(
t
?
"选中"
:
""
)
+
"商品?"
,
success
:
t
=>
{
t
.
confirm
&&
this
.
request
(
E
+
"/api/cart/delCart"
,
"POST"
,{
sku_id
:
e
},
!
0
).
then
((
t
=>
{
if
(
0
==
t
.
code
){
d
({
title
:
"删除成功"
,
duration
:
2
e3
,
icon
:
"none"
}),
this
.
$refs
.
bottomNav
.
updateCar
();
let
t
=
this
.
carList
.
filter
((
t
=>-
1
==
e
.
indexOf
(
t
.
sku_id
)));
this
.
carList
=
JSON
.
parse
(
JSON
.
stringify
(
t
)),
this
.
listUi
()}
else
d
({
title
:
t
.
msg
,
duration
:
2
e3
,
icon
:
"none"
})}))}}):
d
({
title
:
"请选择至少一个商品"
,
duration
:
2
e3
,
icon
:
"none"
})},
confirm
(
t
){
let
e
=
this
.
carList
.
filter
((
t
=>
t
.
checked
)).
map
((
t
=>
t
.
sku_id
)).
join
(
","
);
e
?(
r
(
"car_ids"
,
e
),
r
(
"confirmOrderBackUrl"
,
"/pages/car/list"
),
h
({
url
:
1
==
t
?
"/pages/car/confirmOrder"
:
"/pages/car/confirmQuote"
})):
d
({
title
:
"请选择至少一个商品"
,
duration
:
2
e3
,
icon
:
"none"
})},
getQdList
(){
n
(
"token"
)
&&
this
.
request
(
E
+
"/api/xcx/getGoodsList"
,
"get"
,{
page
:
1
,
limit
:
100
},
!
1
).
then
((
t
=>
{
if
(
this
.
qDList
=
[],
0
==
t
.
code
){
let
e
=
t
.
data
.
list
||
[];
e
.
forEach
((
t
=>
{
t
.
checked
=!
1
})),
this
.
qDList
=
e
}}))},
chooseQd
(
t
){
this
.
qDList
.
forEach
((
e
=>
{
e
.
list_id
==
t
?
e
.
checked
=!
e
.
checked
:
e
.
checked
=!
1
}))},
createList
(){
this
.
list_name
?
this
.
request
(
E
+
"/api/xcx/createGoodsList"
,
"post"
,{
list_name
:
this
.
list_name
},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
d
({
title
:
"创建清单成功"
,
icon
:
"success"
}),
this
.
closeNewList
(),
this
.
getQdList
()):
d
({
title
:
t
.
msg
,
icon
:
"nonde"
})})):
d
({
title
:
"请输入清单名称"
,
icon
:
"none"
})},
addQdList
(){
let
t
=
this
.
qDList
.
filter
((
t
=>
t
.
checked
));
if
(
0
==
t
.
length
)
return
void
d
({
title
:
"请选择一条清单"
,
icon
:
"none"
});
let
e
=
this
.
carList
.
filter
((
t
=>
t
.
checked
)),
s
=
[];
e
.
forEach
((
t
=>
{
s
.
push
({
sku_id
:
t
.
sku_id
,
qty
:
t
.
goods_num
})})),
this
.
request
(
E
+
"/api/xcx/addGoodsList"
,
"post"
,{
list_id
:
t
[
0
].
list_id
,
sku_json
:
JSON
.
stringify
(
s
)},
!
0
,
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
d
({
title
:
"加入清单成功"
,
icon
:
"success"
}),
this
.
closeAddList
(),
this
.
getQdList
()):
d
({
title
:
t
.
msg
,
icon
:
"nonde"
})}))},
openAddList
(){
0
!=
this
.
carList
.
filter
((
t
=>
t
.
checked
)).
length
?
n
(
"token"
)?
this
.
$refs
.
popupaddlist
.
open
(
"bottom"
):
h
({
url
:
"/pages/auth/login?referer="
+
encodeURIComponent
(
`/pages/goods/detail?goods_id=
${
this
.
goods_id_page
}
`
)}):
d
({
title
:
"请至少选择一条数据"
,
icon
:
"none"
})},
closeAddList
(){
this
.
$refs
.
popupaddlist
.
close
(
"bottom"
)},
openNewList
(){
this
.
closeAddList
(),
this
.
$refs
.
popupnewlist
.
open
(
"bottom"
)},
closeNewList
(){
this
.
$refs
.
popupnewlist
.
close
(
"bottom"
)}},
components
:{
barX
:
q
,
bottomNavFixed
:
I
,
delSlideLeft
:
j
({
components
:{},
props
:{
data_transit
:{
type
:
Object
,
default
:()
=>
({})},
item
:{
type
:
Object
,
default
:()
=>
({})}},
computed
:{},
data
:()
=>
({
item_show
:{},
delBtnWidth
:
60
,
startX
:
""
}),
created
:
function
(){
this
.
item
.
hasOwnProperty
(
"txtStyle"
)
||
this
.
$set
(
this
.
item
,
"txtStyle"
,
""
),
this
.
item_show
=
this
.
item
},
watch
:{
item
(
t
){
this
.
item_show
=
t
}},
methods
:{
delItem
:
function
(
t
){
let
e
=
{
item
:
t
,
data
:
this
.
data_transit
};
this
.
$emit
(
"delItem"
,
e
)},
touchS
:
function
(
t
){
1
==
t
.
touches
.
length
&&
(
this
.
startX
=
t
.
touches
[
0
].
clientX
)},
touchM
:
function
(
t
){
let
e
=
this
;
if
(
1
==
t
.
touches
.
length
){
var
s
=
t
.
touches
[
0
].
clientX
,
i
=
this
.
startX
-
s
,
o
=
this
.
delBtnWidth
,
a
=
""
;
0
==
i
||
i
<
0
?
a
=
"left:0px"
:
i
>
0
&&
(
a
=
"left:-"
+
i
+
"px"
,
i
>=
o
&&
(
a
=
"left:-"
+
o
+
"px"
)),
e
.
item_show
.
txtStyle
=
a
}},
touchE
:
function
(
t
){
let
e
=
this
;
if
(
1
==
t
.
changedTouches
.
length
){
var
s
=
t
.
changedTouches
[
0
].
clientX
,
i
=
this
.
startX
-
s
,
o
=
this
.
delBtnWidth
,
a
=
i
>
o
/
2
?
"left:-"
+
o
+
"px"
:
"left:0px"
;
e
.
item_show
.
txtStyle
=
a
}}}},[[
"render"
,
function
(
n
,
d
,
u
,
r
,
h
,
f
){
const
_
=
l
;
return
t
(),
e
(
_
,{
class
:
"box-slideLeft"
},{
default
:
s
((()
=>
[
i
(
_
,{
class
:
"touch-item touch-slideLeft"
,
onTouchstart
:
f
.
touchS
,
onTouchmove
:
f
.
touchM
,
onTouchend
:
f
.
touchE
,
style
:
a
(
h
.
item_show
.
txtStyle
)},{
default
:
s
((()
=>
[
o
(
n
.
$slots
,
"default"
,{},
void
0
,
!
0
)])),
_
:
3
},
8
,[
"onTouchstart"
,
"onTouchmove"
,
"onTouchend"
,
"style"
]),
i
(
_
,{
class
:
"touch-item del-box-touch-slideLeft cf-shuCenter"
,
onClick
:
d
[
0
]
||
(
d
[
0
]
=
t
=>
f
.
delItem
(
h
.
item_show
))},{
default
:
s
((()
=>
[
c
(
" 删除 "
)])),
_
:
1
})])),
_
:
3
})}],[
"__scopeId"
,
"data-v-0c3bb47f"
]])}},[[
"render"
,
function
(
o
,
a
,
n
,
d
,
u
,
r
){
const
h
=
f
(
"barX"
),
E
=
w
,
j
=
l
,
q
=
x
,
I
=
v
,
T
=
y
,
D
=
f
(
"delSlideLeft"
),
O
=
f
(
"bottomNavFixed"
),
U
=
N
(
_
(
"uni-popup"
),
S
);
return
t
(),
e
(
j
,{
class
:
"carListPage"
},{
default
:
s
((()
=>
[
i
(
h
),
i
(
j
,{
class
:
"car-head row bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"l row verCenter"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
o
.
$goBack
},
null
,
8
,[
"onClick"
]),
i
(
j
,
null
,{
default
:
s
((()
=>
[
c
(
"购物车("
+
m
(
u
.
carList
.
length
)
+
")"
,
1
)])),
_
:
1
})])),
_
:
1
}),
u
.
isEdit
?
p
(
""
,
!
0
):(
t
(),
e
(
j
,{
key
:
0
,
class
:
"r row verCenter"
},{
default
:
s
((()
=>
[
i
(
E
,{
onClick
:
a
[
0
]
||
(
a
[
0
]
=
t
=>
u
.
isEdit
=!
u
.
isEdit
)},{
default
:
s
((()
=>
[
c
(
"管理"
)])),
_
:
1
}),
i
(
q
,{
url
:
o
.
$globalData
.
KFQQ
,
class
:
"it"
},{
default
:
s
((()
=>
[
c
(
"客服"
)])),
_
:
1
},
8
,[
"url"
])])),
_
:
1
})),
u
.
isEdit
?(
t
(),
e
(
j
,{
key
:
1
,
class
:
"r row verCenter"
},{
default
:
s
((()
=>
[
i
(
E
,{
onClick
:
a
[
1
]
||
(
a
[
1
]
=
t
=>
u
.
isEdit
=!
u
.
isEdit
)},{
default
:
s
((()
=>
[
c
(
"退出管理"
)])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
)])),
_
:
1
}),
i
(
j
,{
class
:
"cons"
},{
default
:
s
((()
=>
[
!
u
.
isLogin
||
u
.
dataInited
&&
0
==
u
.
carList
.
length
?(
t
(),
e
(
j
,{
key
:
0
,
class
:
"no-data"
},{
default
:
s
((()
=>
[
i
(
I
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/19/7fdab385a25db187f8e57370875f7546.png"
}),
i
(
E
,
null
,{
default
:
s
((()
=>
[
c
(
"暂无商品信息!"
)])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
u
.
isLogin
?
p
(
""
,
!
0
):(
t
(),
e
(
j
,{
key
:
1
,
class
:
"nodl"
},{
default
:
s
((()
=>
[
i
(
q
,{
url
:
`/pages/auth/login?referer=
${
encodeURIComponent
(
"/pages/car/list"
)}
`
,
class
:
"login-btn"
},{
default
:
s
((()
=>
[
c
(
"登录 / 注册"
)])),
_
:
1
},
8
,[
"url"
])])),
_
:
1
})),
u
.
carList
.
length
>
0
?(
t
(),
e
(
j
,{
key
:
2
,
class
:
"list-box"
},{
default
:
s
((()
=>
[(
t
(
!
0
),
k
(
b
,
null
,
g
(
u
.
carList
,((
o
,
a
)
=>
(
t
(),
e
(
D
,{
key
:
a
,
onDelItem
:
t
=>
r
.
dels
(
o
.
sku_id
)},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"item-group row verCenter bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"l row verCenter"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
L
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
o
.
checked
}]),
onClick
:
C
((
t
=>
r
.
checkboxchange
(
o
.
sku_id
)),[
"stop"
])},
null
,
8
,[
"class"
,
"onClick"
]),
i
(
q
,{
url
:
"/pages/goods/detail?goods_id="
+
o
.
sku_id
},{
default
:
s
((()
=>
[
i
(
I
,{
src
:
o
.
goods_info
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
])])),
_
:
2
},
1032
,[
"url"
])])),
_
:
2
},
1024
),
i
(
j
,{
class
:
"r"
},{
default
:
s
((()
=>
[
i
(
q
,{
url
:
"/pages/goods/detail?goods_id="
+
o
.
sku_id
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"elep skun"
},{
default
:
s
((()
=>
[
c
(
m
(
o
.
goods_info
.
sku_name
),
1
)])),
_
:
2
},
1024
),
i
(
j
,{
class
:
"txt"
},{
default
:
s
((()
=>
[
c
(
"型号:"
+
m
(
o
.
goods_info
.
goods_name
),
1
)])),
_
:
2
},
1024
),
i
(
j
,{
class
:
"txt"
},{
default
:
s
((()
=>
[
c
(
"品牌:"
+
m
(
o
.
goods_info
.
brand_name
),
1
)])),
_
:
2
},
1024
),
i
(
j
,{
class
:
"txt"
},{
default
:
s
((()
=>
[
c
(
"货期:"
+
m
(
o
.
goods_info
.
cn_delivery_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
]),
i
(
j
,{
class
:
"row verCenter bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"price"
},{
default
:
s
((()
=>
[
c
(
"¥"
+
m
(
10
==
o
.
goods_info
.
ac_type
?
o
.
goods_info
.
ladder_price
[
0
].
price_ac
:
o
.
price
),
1
)])),
_
:
2
},
1024
),
i
(
j
,{
class
:
"hbha row verCenter bothSide"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
"icon iconfont icon-jian"
,
onClick
:
t
=>
r
.
addjNum
(
o
.
sku_id
,
1
)},
null
,
8
,[
"onClick"
]),
i
(
T
,{
type
:
"number"
,
modelValue
:
o
.
goods_num
,
"onUpdate:modelValue"
:
t
=>
o
.
goods_num
=
t
,
onInput
:
t
=>
r
.
changeNum
(
o
.
sku_id
)},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
,
"onInput"
]),
i
(
E
,{
class
:
"icon iconfont icon-jia"
,
onClick
:
t
=>
r
.
addjNum
(
o
.
sku_id
,
2
)},
null
,
8
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onDelItem"
])))),
128
))])),
_
:
1
})):
p
(
""
,
!
0
)])),
_
:
1
}),
u
.
isEdit
?(
t
(),
e
(
j
,{
key
:
0
,
class
:
"car-foot row verCenter bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"checked-box row verCenter"
,
onClick
:
a
[
2
]
||
(
a
[
2
]
=
C
((
t
=>
r
.
checkboxchange
(
460053411
)),[
"stop"
]))},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
L
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
u
.
allcheck
}])},
null
,
8
,[
"class"
]),
c
(
"全选"
)])),
_
:
1
}),
i
(
j
,{
class
:
"del-btn"
,
onClick
:
a
[
3
]
||
(
a
[
3
]
=
t
=>
r
.
dels
())},{
default
:
s
((()
=>
[
c
(
"删除"
)])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
u
.
isEdit
?
p
(
""
,
!
0
):(
t
(),
e
(
j
,{
key
:
1
,
class
:
"car-foot car-foot1"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"t row bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"checked-box row verCenter"
,
onClick
:
a
[
4
]
||
(
a
[
4
]
=
C
((
t
=>
r
.
checkboxchange
(
460053411
)),[
"stop"
]))},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
L
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
u
.
allcheck
}])},
null
,
8
,[
"class"
]),
c
(
"全选"
)])),
_
:
1
}),
i
(
j
,{
class
:
"pbx"
},{
default
:
s
((()
=>
[
c
(
"已选"
+
m
(
u
.
checkcount
)
+
"件,含税总额:"
,
1
),
i
(
E
,{
class
:
"price"
},{
default
:
s
((()
=>
[
c
(
"¥ "
+
m
(
u
.
totalprice
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
i
(
j
,{
class
:
"b row bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"bj-btn"
,
onClick
:
a
[
5
]
||
(
a
[
5
]
=
t
=>
r
.
confirm
(
2
))},{
default
:
s
((()
=>
[
c
(
"生成报价单"
)])),
_
:
1
}),
i
(
j
,{
class
:
"row verCenter bothSide"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"add-car"
,
onClick
:
r
.
openAddList
},{
default
:
s
((()
=>
[
c
(
"加入清单"
)])),
_
:
1
},
8
,[
"onClick"
]),
i
(
j
,{
class
:
"add-confirm"
,
onClick
:
a
[
6
]
||
(
a
[
6
]
=
t
=>
r
.
confirm
(
1
))},{
default
:
s
((()
=>
[
c
(
"去订购"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})),
i
(
O
,{
actval
:
"3"
,
ref
:
"bottomNav"
},
null
,
512
),
i
(
U
,{
ref
:
"popupaddlist"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"pop-add-list"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"trt"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
r
.
closeAddList
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
i
(
j
,{
class
:
"ttit elep"
},{
default
:
s
((()
=>
[
c
(
"加入清单"
)])),
_
:
1
}),
i
(
j
,{
class
:
"new-box row"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
"new-btn row verCenter"
,
onClick
:
r
.
openNewList
},{
default
:
s
((()
=>
[
c
(
"新建清单"
),
i
(
E
,{
class
:
"icon iconfont icon-jia"
})])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
u
.
qDList
.
length
>
0
?(
t
(),
e
(
j
,{
key
:
0
,
class
:
"list-box"
},{
default
:
s
((()
=>
[(
t
(
!
0
),
k
(
b
,
null
,
g
(
u
.
qDList
,((
o
,
a
)
=>
(
t
(),
e
(
j
,{
class
:
"item row verCenter bothSide"
,
key
:
a
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"row verCenter"
,
onClick
:
C
((
t
=>
r
.
chooseQd
(
o
.
list_id
)),[
"stop"
])},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"l"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
L
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
o
.
checked
}])},
null
,
8
,[
"class"
])])),
_
:
2
},
1024
),
i
(
j
,{
class
:
"c"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"elep"
},{
default
:
s
((()
=>
[
c
(
m
(
o
.
list_name
),
1
)])),
_
:
2
},
1024
),
i
(
E
,
null
,{
default
:
s
((()
=>
[
c
(
m
(
o
.
create_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
]),
i
(
q
,{
url
:
"/pages/user/qdDetail?list_id="
+
o
.
list_id
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"r row verCenter"
},{
default
:
s
((()
=>
[
i
(
E
,
null
,{
default
:
s
((()
=>
[
c
(
m
(
o
.
list_goods_count
)
+
"个商品"
,
1
)])),
_
:
2
},
1024
),
i
(
E
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
])])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):(
t
(),
e
(
j
,{
key
:
1
,
class
:
"list-box"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"no-data"
},{
default
:
s
((()
=>
[
i
(
I
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/07a360187d83ccf80a9d835029c27446.png"
}),
i
(
j
,
null
,{
default
:
s
((()
=>
[
c
(
"暂无清单数据,先去创建清单吧!"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})),
i
(
j
,{
class
:
"add-list"
,
onClick
:
a
[
7
]
||
(
a
[
7
]
=
t
=>
r
.
addQdList
())},{
default
:
s
((()
=>
[
c
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
),
i
(
U
,{
ref
:
"popupnewlist"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"pop-new-list"
},{
default
:
s
((()
=>
[
i
(
j
,{
class
:
"trt"
},{
default
:
s
((()
=>
[
i
(
E
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
r
.
closeNewList
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
i
(
j
,{
class
:
"ttit elep"
},{
default
:
s
((()
=>
[
c
(
"新建清单"
)])),
_
:
1
}),
i
(
j
,{
class
:
"cons"
},{
default
:
s
((()
=>
[
i
(
T
,{
type
:
"text"
,
class
:
"inputv"
,
modelValue
:
u
.
list_name
,
"onUpdate:modelValue"
:
a
[
8
]
||
(
a
[
8
]
=
t
=>
u
.
list_name
=
t
),
placeholder
:
"请输入清单名称,若未输入则显示商品分类;"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
i
(
j
,{
class
:
"add-list"
,
onClick
:
a
[
9
]
||
(
a
[
9
]
=
t
=>
r
.
createList
())},{
default
:
s
((()
=>
[
c
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-d4b34d4b"
]]);
export
{
T
as
default
};
unpackage/dist/build/web/assets/pages-class-list.GLXeqlk4.js
deleted
100644 → 0
View file @
d46cc593
import
{
n
as
s
,
b
as
t
,
r
as
a
,
x
as
e
,
c
as
i
,
w
as
l
,
i
as
o
,
o
as
c
,
d
as
r
,
v
as
n
,
e
as
h
,
h
as
d
,
j
as
g
,
F
as
u
,
f
as
p
,
t
as
f
,
m
as
_
,
k
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
m
,
_
as
b
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
x
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
C
,
b
as
y
}
from
"./barx.BsVUcAxA.js"
;
import
{
s
as
w
}
from
"./search_head.DkxRXJnQ.js"
;
import
{
o
as
A
}
from
"./one_item.DKn37E7s.js"
;
const
v
=
C
({
data
:()
=>
({
isHasAttr
:
!
1
,
isInit
:
!
1
,
class_id2
:
""
,
tabType
:
1
,
stocksort
:
!
1
,
pricesort
:
!
1
,
page_size
:
10
,
page
:
1
,
totals
:
0
,
isLoadEnd
:
!
1
,
aggs
:[],
list
:[]}),
async
onReachBottom
(){
this
.
isLoadEnd
||
this
.
getData
()},
onLoad
:
function
(
s
){
this
.
class_id2
=
s
.
class_id2
,
this
.
getData
()},
methods
:{
uiChage
(
s
){
this
.
aggs
.
forEach
((
t
=>
{
t
.
namex
==
s
&&
(
t
.
hideAll
=!
t
.
hideAll
)}))},
clearAttr
(){
this
.
aggs
.
forEach
((
s
=>
{
s
.
listx
.
forEach
((
s
=>
{
s
.
checked
=
0
}))})),
this
.
initGetData
()},
changeAttr
(
s
,
t
){
this
.
aggs
.
forEach
((
a
=>
{
s
==
a
.
namex
&&
a
.
listx
.
forEach
((
s
=>
{
t
==
s
.
attr_value_id
&&
(
s
.
checked
=
0
==
s
.
checked
?
"1"
:
"0"
)}))})),
this
.
initGetData
()},
getAttr
(){
let
s
=
{};
if
(
0
==
this
.
aggs
.
length
)
return
s
;
let
t
=
[],
a
=
[],
e
=
{};
return
this
.
aggs
.
forEach
((
s
=>
{
s
.
listx
.
forEach
((
s
=>
{
if
(
1
==
s
.
checked
)
switch
(
s
.
attr_id
){
case
"class_id1"
:
a
.
push
(
s
.
attr_value_id
);
break
;
case
"standard_brand_id"
:
t
.
push
(
s
.
attr_value_id
);
break
;
default
:
e
[
s
.
attr_id
]
||
(
e
[
s
.
attr_id
]
=
[]),
e
[
s
.
attr_id
].
push
(
String
(
s
.
attr_value_id
))}}))})),
t
.
length
>
0
&&
(
s
[
"standard_brand_id/eqs"
]
=
t
.
join
(
","
)),
Object
.
keys
(
e
).
length
>
0
&&
(
s
[
"attrs/group"
]
=
JSON
.
stringify
(
e
)),
s
},
getData
(){
let
s
=
this
.
getAttr
(),
t
=
{
page_size
:
this
.
page_size
,
page
:
this
.
page
,
hcy_test
:
1122
,
class_id2
:
this
.
class_id2
,...
s
};
2
==
this
.
tabType
&&
(
t
[
"stock/sort"
]
=
this
.
stocksort
?
"asc"
:
"desc"
),
3
==
this
.
tabType
&&
(
t
[
"single_price/sort"
]
=
this
.
pricesort
?
"asc"
:
"desc"
),
this
.
request
(
x
+
"/api/search/getData"
,
"POST"
,
t
,
!
0
).
then
((
s
=>
{
if
(
1
==
this
.
page
&&
(
this
.
list
=
[]),
0
==
s
.
code
){
if
(
!
this
.
isHasAttr
){
let
t
=
s
.
data
.
aggs
?
JSON
.
parse
(
JSON
.
stringify
(
s
.
data
.
aggs
)):[];
this
.
aggs
=
[],
Object
.
keys
(
t
).
forEach
((
s
=>
{
let
a
=
t
[
s
]
||
[];
"分类"
!=
s
&&
this
.
aggs
.
push
({
namex
:
s
,
listx
:
a
,
hideAll
:
!
1
})}))}
this
.
isHasAttr
=
1
,
this
.
isInit
=
1
,
this
.
list
=
[...
this
.
list
,...
s
.
data
.
lists
||
[]],
this
.
totals
=
s
.
data
.
total
||
0
,
this
.
page
*
this
.
page_size
>=
Number
(
s
.
data
.
total
)
&&
(
this
.
isLoadEnd
=!
0
),
this
.
page
++
}
else
this
.
totals
=
0
,
this
.
isInit
=
1
,
this
.
list
=
[]}))},
tab
(
s
){
this
.
tabType
=
s
,
2
==
s
?
this
.
stocksort
=!
this
.
stocksort
:
3
==
s
&&
(
this
.
pricesort
=!
this
.
pricesort
),
this
.
initGetData
()},
initGetData
(){
this
.
page
=
1
,
this
.
isInit
=!
1
,
this
.
isLoadEnd
=!
1
,
this
.
list
=
[],
this
.
getData
()},
goUrl
(){
s
({
url
:
"/pages/search/nav"
})},
onConfirm
(
a
){
let
e
=
a
.
detail
.
value
;
e
.
length
<
2
?
t
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
s
({
url
:
"/pages/search/list?k="
+
e
})},
open
(){
this
.
$refs
.
popupsx
.
open
(
"right"
)},
close
(){
this
.
$refs
.
popupsx
.
close
(
"right"
)}},
components
:{
barX
:
y
,
searchHead
:
w
,
oneItem
:
A
}},[[
"render"
,
function
(
s
,
t
,
x
,
C
,
y
,
w
){
const
A
=
a
(
"barX"
),
v
=
a
(
"searchHead"
),
E
=
o
,
j
=
_
,
D
=
a
(
"oneItem"
),
I
=
k
,
S
=
m
(
e
(
"uni-popup"
),
b
);
return
c
(),
i
(
E
,{
class
:
"searchPage"
},{
default
:
l
((()
=>
[
r
(
A
),
r
(
E
,{
class
:
"fixed-tp"
},{
default
:
l
((()
=>
[
r
(
v
,{
onConfirm
:
w
.
onConfirm
,
onGoUrl
:
w
.
goUrl
},
null
,
8
,[
"onConfirm"
,
"onGoUrl"
]),
r
(
E
,{
class
:
"shiftbox row bothSide verCenter"
},{
default
:
l
((()
=>
[
r
(
E
,{
class
:
n
([
"rank1 rank row"
,{
act
:
1
==
y
.
tabType
}]),
onClick
:
t
[
0
]
||
(
t
[
0
]
=
s
=>
w
.
tab
(
1
))},{
default
:
l
((()
=>
[
h
(
"综合排序"
)])),
_
:
1
},
8
,[
"class"
]),
r
(
E
,{
class
:
n
([
"rank2 rank row verCenter"
,{
act
:
2
==
y
.
tabType
}]),
onClick
:
t
[
1
]
||
(
t
[
1
]
=
s
=>
w
.
tab
(
2
))},{
default
:
l
((()
=>
[
h
(
"库存"
),
r
(
j
,{
class
:
n
([
"icon"
,
"iconfont"
,
y
.
stocksort
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
1
},
8
,[
"class"
]),
r
(
E
,{
class
:
n
([
"rank3 rank row verCenter"
,{
act
:
3
==
y
.
tabType
}]),
onClick
:
t
[
2
]
||
(
t
[
2
]
=
s
=>
w
.
tab
(
3
))},{
default
:
l
((()
=>
[
h
(
"价格"
),
r
(
j
,{
class
:
n
([
"icon"
,
"iconfont"
,
y
.
pricesort
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
1
},
8
,[
"class"
]),
r
(
E
,{
class
:
"sxbox row verCenter"
,
onClick
:
w
.
open
},{
default
:
l
((()
=>
[
h
(
"筛选"
),
r
(
j
,{
class
:
"icon iconfont icon-saixuan"
})])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
}),
r
(
E
,{
class
:
"cons"
},{
default
:
l
((()
=>
[
r
(
E
,{
class
:
"databox"
},{
default
:
l
((()
=>
[(
c
(
!
0
),
d
(
u
,
null
,
g
(
y
.
list
,((
s
,
t
)
=>
(
c
(),
i
(
D
,{
key
:
t
,
obj
:
s
},
null
,
8
,[
"obj"
])))),
128
)),
y
.
list
.
length
>
0
&&
y
.
isLoadEnd
?(
c
(),
i
(
E
,{
key
:
0
,
class
:
"pagebot"
},{
default
:
l
((()
=>
[
h
(
"—— 已经全部加载完 ——"
)])),
_
:
1
})):
p
(
""
,
!
0
),
y
.
isInit
&&
0
==
y
.
list
.
length
?(
c
(),
i
(
E
,{
key
:
1
,
class
:
"no-data-box"
},{
default
:
l
((()
=>
[
r
(
I
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/07/676f987065320e89a68d473ec62c8cea.png"
}),
r
(
E
,
null
,{
default
:
l
((()
=>
[
h
(
"抱歉,您可以联系客服咨询上品相关事宜!"
)])),
_
:
1
}),
r
(
E
,{
class
:
"backs"
,
onClick
:
s
.
$goBack
},{
default
:
l
((()
=>
[
h
(
"返回"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})):
p
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
}),
r
(
S
,{
ref
:
"popupsx"
,
type
:
"right"
},{
default
:
l
((()
=>
[
r
(
E
,{
class
:
"pop-consx"
},{
default
:
l
((()
=>
[
r
(
E
,{
class
:
"section"
},{
default
:
l
((()
=>
[
y
.
aggs
.
length
>
0
?(
c
(),
i
(
E
,{
key
:
0
},{
default
:
l
((()
=>
[(
c
(
!
0
),
d
(
u
,
null
,
g
(
y
.
aggs
,((
s
,
t
)
=>
(
c
(),
i
(
E
,{
class
:
"item-group"
,
key
:
t
},{
default
:
l
((()
=>
[
r
(
E
,{
class
:
"item-t row bothSide verCenter"
},{
default
:
l
((()
=>
[
r
(
j
,{
class
:
"names elep"
},{
default
:
l
((()
=>
[
h
(
f
(
s
.
namex
),
1
)])),
_
:
2
},
1024
),
s
.
listx
.
length
>
6
?(
c
(),
i
(
E
,{
key
:
0
,
class
:
"row verCenter status-box"
,
onClick
:
t
=>
w
.
uiChage
(
s
.
namex
)},{
default
:
l
((()
=>
[
r
(
j
,{
class
:
"status-name"
},{
default
:
l
((()
=>
[
h
(
f
(
s
.
hideAll
?
"收起"
:
"展开"
),
1
)])),
_
:
2
},
1024
),
r
(
j
,{
class
:
n
([
"icon"
,
"iconfont"
,
s
.
hideAll
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
2
},
1032
,[
"onClick"
])):
p
(
""
,
!
0
)])),
_
:
2
},
1024
),
r
(
E
,{
class
:
n
([
"item-c row"
,{
showAll
:
s
.
hideAll
}])},{
default
:
l
((()
=>
[(
c
(
!
0
),
d
(
u
,
null
,
g
(
s
.
listx
,((
t
,
a
)
=>
(
c
(),
i
(
E
,{
class
:
n
([
"citem elep"
,{
act
:
1
==
t
.
checked
}]),
onClick
:
a
=>
w
.
changeAttr
(
s
.
namex
,
t
.
attr_value_id
),
key
:
a
},{
default
:
l
((()
=>
[
h
(
f
(
t
.
value
),
1
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
2
},
1032
,[
"class"
])])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
p
(
""
,
!
0
)])),
_
:
1
}),
r
(
E
,{
class
:
"foot row bothSide"
},{
default
:
l
((()
=>
[
r
(
E
,{
class
:
"cz"
,
onClick
:
w
.
clearAttr
},{
default
:
l
((()
=>
[
h
(
"重置"
)])),
_
:
1
},
8
,[
"onClick"
]),
r
(
E
,{
class
:
"cx"
,
onClick
:
w
.
close
},{
default
:
l
((()
=>
[
h
(
"确认("
+
f
(
y
.
totals
)
+
"个型号)"
,
1
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-212251cc"
]]);
export
{
v
as
default
};
unpackage/dist/build/web/assets/pages-class-nav.DsBQLQqe.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
s
,
n
as
a
,
r
as
e
,
c
as
t
,
w
as
c
,
i
as
l
,
o
as
i
,
d
as
o
,
v
as
n
,
h
as
r
,
j
as
d
,
F
as
h
,
e
as
_
,
m
as
f
,
t
as
u
,
k
as
m
,
l
as
g
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
k
}
from
"./api.Cl4HE8_F.js"
;
import
{
s
as
p
}
from
"./search_head.DkxRXJnQ.js"
;
import
{
_
as
w
,
b
as
x
}
from
"./barx.BsVUcAxA.js"
;
import
{
b
}
from
"./bottom_nav.Cwl6qhit.js"
;
const
C
=
w
({
data
:()
=>
({
isShowClassOne
:
!
1
,
pageData
:[],
erJList
:[],
sanJlist
:[],
class_id1
:
""
,
class_id2
:
""
}),
onLoad
:
function
(
s
){
this
.
class_id1
=
s
.
class_id1
?
s
.
class_id1
:
""
,
this
.
class_id2
=
s
.
class_id2
?
s
.
class_id2
:
""
,
this
.
getData
()},
methods
:{
tab
(
s
,
a
){
1
==
s
?
this
.
pageData
.
forEach
((
s
=>
{
s
.
base_id
==
a
?(
s
.
checkedx
=!
0
,
this
.
erJList
=
s
.
right_cate_list
||
[]):
s
.
checkedx
=!
1
,(
this
.
erJList
||
[]).
forEach
(((
s
,
a
)
=>
{
0
==
a
?(
s
.
checkedx
=!
0
,
this
.
sanJlist
=
s
.
children
):
s
.
checkedx
=!
1
}))})):
this
.
erJList
.
forEach
(((
s
,
e
)
=>
{
s
.
class_id
==
a
?(
s
.
checkedx
=!
0
,
this
.
sanJlist
=
s
.
children
):
s
.
checkedx
=!
1
}))},
getData
(){
this
.
request
(
k
+
"/api/xcx/category"
,
"GET"
,{},
!
0
).
then
((
a
=>
{
0
==
a
.
code
?(
this
.
pageData
=
a
.
data
.
category_list
||
[],
this
.
pageData
.
forEach
(((
s
,
a
)
=>
{
this
.
class_id1
?
this
.
class_id1
==
s
.
base_id
?(
s
.
checkedx
=!
0
,
this
.
erJList
=
s
.
right_cate_list
||
[]):
s
.
checkedx
=!
1
:
0
==
a
?(
s
.
checkedx
=!
0
,
this
.
erJList
=
s
.
right_cate_list
||
[]):
s
.
checkedx
=!
1
,(
this
.
erJList
||
[]).
forEach
(((
s
,
a
)
=>
{
this
.
class_id2
?
this
.
class_id2
==
s
.
class_id
?(
s
.
checkedx
=!
0
,
this
.
sanJlist
=
s
.
children
):
s
.
checkedx
=!
1
:
0
==
a
?(
s
.
checkedx
=!
0
,
this
.
sanJlist
=
s
.
children
):
s
.
checkedx
=!
1
}))}))):
s
({
title
:
a
.
msg
,
icon
:
"error"
})}))},
onConfirm
(
e
){
let
t
=
e
.
detail
.
value
;
t
.
length
<
2
?
s
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
a
({
url
:
"/pages/search/list?k="
+
t
})},
goUrl
(){
a
({
url
:
"/pages/search/nav"
})}},
components
:{
searchHead
:
p
,
barX
:
x
,
bottomNav
:
b
}},[[
"render"
,
function
(
s
,
a
,
k
,
p
,
w
,
x
){
const
b
=
e
(
"barX"
),
C
=
e
(
"searchHead"
),
J
=
l
,
v
=
f
,
L
=
m
,
D
=
g
,
E
=
e
(
"bottomNav"
);
return
i
(),
t
(
J
,{
class
:
"classNavPage"
},{
default
:
c
((()
=>
[
o
(
b
),
o
(
J
,{
class
:
"bugc-ceng"
},{
default
:
c
((()
=>
[
o
(
C
,{
onConfirm
:
x
.
onConfirm
,
onGoUrl
:
x
.
goUrl
},
null
,
8
,[
"onConfirm"
,
"onGoUrl"
])])),
_
:
1
}),
o
(
J
,{
class
:
"cons"
},{
default
:
c
((()
=>
[
o
(
J
,{
class
:
n
([
"one-c-box"
,{
show
:
w
.
isShowClassOne
}])},{
default
:
c
((()
=>
[
o
(
J
,{
class
:
"lb row"
},{
default
:
c
((()
=>
[(
i
(
!
0
),
r
(
h
,
null
,
d
(
w
.
pageData
,((
s
,
a
)
=>
(
i
(),
t
(
J
,{
class
:
n
([
"itemo"
,{
act
:
s
.
checkedx
}]),
key
:
a
,
onClick
:
a
=>
x
.
tab
(
1
,
s
.
base_id
)},{
default
:
c
((()
=>
[
_
(
u
(
s
.
title
),
1
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
}),
o
(
J
,{
class
:
"rb row verCenter rowCenter"
,
onClick
:
a
[
0
]
||
(
a
[
0
]
=
s
=>
w
.
isShowClassOne
=!
w
.
isShowClassOne
)},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
n
([
"icon"
,
"iconfont"
,
"icon-arrowxia"
])})])),
_
:
1
}),
o
(
J
,{
class
:
"one-c-hide-cons"
},{
default
:
c
((()
=>
[
o
(
J
,{
class
:
"tit"
},{
default
:
c
((()
=>
[
_
(
"全部分类"
)])),
_
:
1
}),
o
(
J
,{
class
:
"hide-sec row"
},{
default
:
c
((()
=>
[(
i
(
!
0
),
r
(
h
,
null
,
d
(
w
.
pageData
,((
s
,
a
)
=>
(
i
(),
t
(
J
,{
class
:
n
([
"itemh"
,{
act
:
s
.
checkedx
}]),
key
:
a
,
onClick
:
a
=>
x
.
tab
(
1
,
s
.
base_id
)},{
default
:
c
((()
=>
[
o
(
L
,{
src
:
s
.
images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
mode
:
"aspectFit"
},
null
,
8
,[
"src"
]),
o
(
v
,{
class
:
"elep"
},{
default
:
c
((()
=>
[
_
(
u
(
s
.
title
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
}),
o
(
J
,{
class
:
"foot row verCenter rowCenter"
,
onClick
:
a
[
1
]
||
(
a
[
1
]
=
s
=>
w
.
isShowClassOne
=!
w
.
isShowClassOne
)},{
default
:
c
((()
=>
[
_
(
"收起"
),
o
(
v
,{
class
:
"icon iconfont icon-arrowshang"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
8
,[
"class"
]),
o
(
J
,{
class
:
"two-c-box row bothSide"
},{
default
:
c
((()
=>
[
o
(
J
,{
class
:
"lc"
},{
default
:
c
((()
=>
[(
i
(
!
0
),
r
(
h
,
null
,
d
(
w
.
erJList
,((
s
,
a
)
=>
(
i
(),
t
(
J
,{
class
:
n
([
"item row verCenter"
,{
act
:
s
.
checkedx
}]),
key
:
a
,
onClick
:
a
=>
x
.
tab
(
2
,
s
.
class_id
)},{
default
:
c
((()
=>
[
_
(
u
(
s
.
class_name
),
1
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
}),
o
(
J
,{
class
:
"rc"
},{
default
:
c
((()
=>
[(
i
(
!
0
),
r
(
h
,
null
,
d
(
w
.
sanJlist
,((
s
,
a
)
=>
(
i
(),
t
(
D
,{
url
:
"/pages/class/list?class_id2="
+
s
.
class_id
,
class
:
"item"
,
key
:
a
},{
default
:
c
((()
=>
[
o
(
L
,{
src
:
s
.
class_icon
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
mode
:
"aspectFit"
},
null
,
8
,[
"src"
]),
o
(
v
,{
class
:
"elep"
},{
default
:
c
((()
=>
[
_
(
u
(
s
.
class_name
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
o
(
E
,{
actval
:
"2"
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-067ef2cc"
]]);
export
{
C
as
default
};
unpackage/dist/build/web/assets/pages-goods-detail.CBzHLMHn.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
s
,
b
as
e
,
n
as
o
,
A
as
t
,
B
as
i
,
C
as
a
,
r
as
l
,
x
as
d
,
c
,
w
as
n
,
f
as
r
,
i
as
u
,
o
as
_
,
d
as
g
,
v
as
f
,
e
as
p
,
h
,
j
as
m
,
F
as
b
,
t
as
k
,
m
as
y
,
k
as
w
,
S
as
x
,
l
as
C
,
I
as
L
,
p
as
T
,
q
as
v
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
q
,
_
as
N
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
S
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
D
,
b
as
P
}
from
"./barx.BsVUcAxA.js"
;
const
j
=
D
({
data
:()
=>
({
isLogin
:
!!
s
(
"token"
),
goods_id_page
:
""
,
buyPrice
:
""
,
isCompany
:
!
(
!
s
(
"user_info"
)
||!
JSON
.
parse
(
s
(
"user_info"
)).
company_name
),
productType
:
1
,
pageTab
:
1
,
productTop
:
0
,
goBuyType
:
1
,
images
:[],
positions
:
""
,
currentPage
:
0
,
goods_numberx
:
1
,
goods_id
:
""
,
goods_info
:
""
,
goods_series
:[],
addType
:
1
,
list_name
:
""
,
qDList
:[],
miniShareOptions
:{
title
:
"爱智工业平台"
,
path
:
"/pages/goods/detail?goods_id="
,
imageUrl
:
"https://img.ichunt.com/images/ichunt/202503/19/cdaebc710d636541b8d9916210b46a49.png"
,
desc
:
""
}}),
onShareAppMessage
(){
return
{...
this
.
miniShareOptions
,
success
:()
=>
{
e
({
title
:
"分享成功"
,
icon
:
"success"
})},
fail
:()
=>
{
e
({
title
:
"分享失败"
,
icon
:
"none"
})}}},
onShareTimeline
(){
return
{...
this
.
miniShareOptions
,
success
:()
=>
{
e
({
title
:
"分享成功"
,
icon
:
"success"
})},
fail
:()
=>
{
e
({
title
:
"分享失败"
,
icon
:
"none"
})}}},
onLoad
(
s
){
this
.
goods_id_page
=
s
.
goods_id
,
this
.
goods_id
=
s
.
goods_id
,
this
.
getData
(),
this
.
getQdList
(),
this
.
miniShareOptions
.
path
=
"/pages/goods/detail?goods_id="
+
s
.
goods_id
},
onPageScroll
(
s
){
this
.
pageTab
=
1
,
s
.
scrollTop
>=
300
&&
(
this
.
pageTab
=
2
)},
methods
:{
gocar
(){
if
(
!
s
(
"token"
))
return
void
o
({
url
:
"/pages/auth/login?referer="
+
encodeURIComponent
(
`/pages/goods/detail?goods_id=
${
this
.
goods_id_page
}
`
)});
let
i
=
{
sku_id
:
this
.
goods_id
,
goods_num
:
this
.
goods_numberx
,
price
:
this
.
buyPrice
,
guid_
:
this
.
addType
};
2
==
this
.
addType
&&
(
i
.
is_cover_goods_num
=
1
),
this
.
request
(
S
+
"/api/cart/addCart"
,
"GET"
,
i
,
!
0
).
then
((
s
=>
{
0
==
s
.
code
?
1
==
this
.
addType
?(
e
({
title
:
"添加购物车成功"
,
icon
:
"success"
}),
this
.
close
()):(
t
(
"car_ids"
,
this
.
goods_id
),
t
(
"confirmOrderBackUrl"
,
`/pages/goods/detail?goods_id=
${
this
.
goods_id_page
}
`
),
o
({
url
:
"/pages/car/confirmOrder"
})):
e
({
title
:
s
.
msg
,
icon
:
"error"
})}))},
changeNum
(
s
,
e
){
clearTimeout
(
this
.
timeout
),
this
.
timeout
=
setTimeout
((()
=>
{
let
s
=
this
.
goods_info
,
e
=
Number
(
s
.
multiple
||
s
.
mpl
),
o
=
Number
(
s
.
stock
),
t
=
Number
(
s
.
moq
),
i
=
Number
(
this
.
goods_numberx
);
i
=
Math
.
ceil
(
i
/
e
)
*
e
,
this
.
goods_numberx
=
i
,
i
<
t
&&
(
this
.
goods_numberx
=
t
),
i
>
o
&&
(
this
.
goods_numberx
=
Math
.
floor
(
o
/
e
)
*
e
)}),
800
)},
addjNum
(
s
,
o
){
let
t
=
this
.
goods_info
,
i
=
Number
(
t
.
multiple
||
t
.
mpl
),
a
=
Number
(
t
.
stock
),
l
=
Number
(
t
.
moq
),
d
=
Number
(
this
.
goods_numberx
);
if
(
1
==
o
){
var
c
=
d
-
i
;
c
<
l
?(
this
.
goods_numberx
=
l
,
e
({
title
:
"数量不能小于起订量"
,
duration
:
2
e3
,
icon
:
"none"
})):
this
.
goods_numberx
=
c
}
else
{
var
n
=
d
+
i
;
n
>
a
?(
e
({
title
:
"数量不能大于库存"
,
duration
:
2
e3
,
icon
:
"none"
}),
this
.
goods_numberx
=
Math
.
floor
(
a
/
i
)
*
i
):
this
.
goods_numberx
=
n
}},
changeSku
(
s
){
this
.
goods_id
=
s
,
this
.
getData
(
1
)},
pdfPre
(){
window
.
open
(
this
.
goods_info
.
pdf
)},
getData
(
s
){
this
.
request
(
S
+
"/api/xcx/goodsDetail"
,
"GET"
,{
goods_id
:
this
.
goods_id
},
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
this
.
goods_info
=
o
.
data
.
goods_info
,
this
.
miniShareOptions
.
title
=
this
.
goods_info
.
goods_name
+
" "
+
this
.
goods_info
.
class_name
,
this
.
miniShareOptions
.
imageUrl
=
this
.
goods_info
.
goods_images
||
"https://img.ichunt.com/images/ichunt/202503/19/cdaebc710d636541b8d9916210b46a49.png"
,
this
.
goods_info
.
sku_detail
&&
(
this
.
goods_info
.
sku_detail
=
this
.
goods_info
.
sku_detail
.
replace
(
/<img/gi
,
'<img class="img-style"'
)),
this
.
goods_numberx
=
Number
(
this
.
goods_info
.
moq
),
this
.
buyPrice
=
0
,
this
.
goods_info
.
ladder_price
&&
this
.
goods_info
.
ladder_price
.
length
>
0
&&
(
this
.
buyPrice
=
this
.
isCompany
?
this
.
goods_info
.
ladder_price
[
1
].
price_cn
||
0
:
this
.
goods_info
.
ladder_price
[
0
].
price_cn
||
0
),
10
==
this
.
goods_info
.
ac_type
&&
(
this
.
buyPrice
=
this
.
goods_info
.
ladder_price
[
0
].
price_ac
||
0
),
s
||
(
this
.
goods_series
=
o
.
data
.
goods_series
||
[],
this
.
goods_series
.
sort
(((
s
,
e
)
=>
s
.
goods_id
==
this
.
goods_id
?
-
1
:
e
.
goods_id
==
this
.
goods_id
?
1
:
0
))),
this
.
images
=
[{
name
:
"default.png"
,
thumbnail
:
o
.
data
.
goods_info
.
goods_images
||
""
},...
o
.
data
.
goods_info
.
spu_extra
.
image_list
||
[]],
setTimeout
((()
=>
{
this
.
calculatePositions
()}),
100
)):
e
({
title
:
o
.
msg
,
icon
:
"error"
})}))},
calculatePositions
(){
const
s
=
i
();
s
.
select
(
".product-box"
).
boundingClientRect
(),
s
.
exec
((
s
=>
{
s
[
0
]
&&
(
this
.
productTop
=
s
[
0
].
top
)}))},
tab
(
s
){
this
.
pageTab
=
s
,
a
({
scrollTop
:
2
==
s
?
this
.
productTop
-
140
:
0
,
duration
:
300
})},
handleSwiperChange
(
s
){
this
.
currentPage
=
s
.
detail
.
current
,
setTimeout
((()
=>
{
this
.
calculatePositions
()}),
100
)},
getQdList
(){
s
(
"token"
)
&&
this
.
request
(
S
+
"/api/xcx/getGoodsList"
,
"get"
,{
page
:
1
,
limit
:
100
},
!
1
).
then
((
s
=>
{
if
(
this
.
qDList
=
[],
0
==
s
.
code
){
let
e
=
s
.
data
.
list
||
[];
e
.
forEach
((
s
=>
{
s
.
checked
=!
1
})),
this
.
qDList
=
e
}}))},
chooseQd
(
s
){
this
.
qDList
.
forEach
((
e
=>
{
e
.
list_id
==
s
&&
(
e
.
checked
=!
e
.
checked
)}))},
createList
(){
this
.
request
(
S
+
"/api/xcx/createGoodsList"
,
"post"
,{
list_name
:
this
.
list_name
||
this
.
goods_info
.
class_name
},
!
0
).
then
((
s
=>
{
0
==
s
.
code
?(
e
({
title
:
"创建清单成功"
,
icon
:
"success"
}),
this
.
closeNewList
(),
this
.
getQdList
()):
e
({
title
:
s
.
msg
,
icon
:
"nonde"
})}))},
addQdList
(){
let
s
=
this
.
qDList
.
filter
((
s
=>
s
.
checked
)),
o
=
s
.
map
((
s
=>
s
.
list_id
));
if
(
0
==
s
.
length
)
return
void
e
({
title
:
"请选择一条清单"
,
icon
:
"none"
});
let
t
=
[{
sku_id
:
this
.
goods_id
,
qty
:
this
.
goods_numberx
}];
this
.
request
(
S
+
"/api/xcx/addGoodsList"
,
"post"
,{
list_id
:
o
.
join
(
","
),
sku_json
:
JSON
.
stringify
(
t
)},
!
0
).
then
((
s
=>
{
0
==
s
.
code
?(
e
({
title
:
"加入清单成功"
,
icon
:
"success"
}),
this
.
closeAddList
(),
this
.
getQdList
()):
e
({
title
:
s
.
msg
,
icon
:
"nonde"
})}))},
open
(
s
){
this
.
addType
=
s
,
this
.
$refs
.
popupcar
.
open
(
"bottom"
)},
close
(){
this
.
$refs
.
popupcar
.
close
(
"bottom"
)},
openAddList
(){
s
(
"token"
)?
this
.
$refs
.
popupaddlist
.
open
(
"bottom"
):
o
({
url
:
"/pages/auth/login?referer="
+
encodeURIComponent
(
`/pages/goods/detail?goods_id=
${
this
.
goods_id_page
}
`
)})},
closeAddList
(){
this
.
$refs
.
popupaddlist
.
close
(
"bottom"
)},
openNewList
(){
this
.
closeAddList
(),
this
.
$refs
.
popupnewlist
.
open
(
"bottom"
)},
closeNewList
(){
this
.
$refs
.
popupnewlist
.
close
(
"bottom"
)}},
components
:{
barX
:
P
}},[[
"render"
,
function
(
s
,
e
,
o
,
t
,
i
,
a
){
const
S
=
l
(
"barX"
),
D
=
y
,
P
=
u
,
j
=
w
,
Q
=
v
,
$
=
x
,
O
=
C
,
A
=
L
,
M
=
q
(
d
(
"uni-popup"
),
N
);
return
i
.
goods_info
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"goodsDetailPage"
},{
default
:
n
((()
=>
[
g
(
S
),
g
(
P
,{
class
:
"header row verCenter"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
s
.
$goBack
},
null
,
8
,[
"onClick"
]),
g
(
D
,{
class
:
f
([
"tab-item"
,{
act
:
1
==
i
.
pageTab
}]),
onClick
:
e
[
0
]
||
(
e
[
0
]
=
s
=>
a
.
tab
(
1
))},{
default
:
n
((()
=>
[
p
(
"商品"
)])),
_
:
1
},
8
,[
"class"
]),
g
(
D
,{
class
:
f
([
"tab-item"
,{
act
:
2
==
i
.
pageTab
}]),
onClick
:
e
[
1
]
||
(
e
[
1
]
=
s
=>
a
.
tab
(
2
))},{
default
:
n
((()
=>
[
p
(
"详情"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
g
(
P
,{
class
:
"goods_info"
},{
default
:
n
((()
=>
[
i
.
images
.
length
>
0
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"swiper-box"
},{
default
:
n
((()
=>
[
g
(
$
,{
class
:
"swiper"
,
onChange
:
a
.
handleSwiperChange
,
"indicator-dots"
:
!
1
,
autoplay
:
!
1
,
interval
:
3
e3
,
duration
:
500
},{
default
:
n
((()
=>
[(
_
(
!
0
),
h
(
b
,
null
,
m
(
i
.
images
,((
s
,
e
)
=>
(
_
(),
c
(
Q
,{
class
:
"swiper-item"
,
key
:
e
},{
default
:
n
((()
=>
[
g
(
j
,{
class
:
"swiper-image"
,
src
:
s
.
thumbnail
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
,
mode
:
"aspectFit"
},
null
,
8
,[
"src"
])])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
},
8
,[
"onChange"
]),
g
(
D
,{
class
:
"page-indicator"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
currentPage
+
1
)
+
"/"
+
k
(
i
.
images
.
length
),
1
)])),
_
:
1
}),
10
==
i
.
goods_info
.
ac_type
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"ac618tagt"
})):
r
(
""
,
!
0
),
10
==
i
.
goods_info
.
ac_type
?(
_
(),
c
(
P
,{
key
:
1
,
class
:
"ac618tagb"
})):
r
(
""
,
!
0
)])),
_
:
1
})):
r
(
""
,
!
0
),
g
(
P
,{
class
:
"info-box"
},{
default
:
n
((()
=>
[
10
==
i
.
goods_info
.
ac_type
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"priceac168Box"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"tops row verCenter"
},{
default
:
n
((()
=>
[
g
(
P
,
null
,{
default
:
n
((()
=>
[
p
(
"¥"
+
k
(
i
.
goods_info
.
ladder_price
[
0
].
price_ac
),
1
)])),
_
:
1
}),
g
(
D
,
null
,{
default
:
n
((()
=>
[
p
(
"活动价 | 已补贴¥"
+
k
(
i
.
goods_info
.
ladder_price
[
0
].
price_diff
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"bots"
},{
default
:
n
((()
=>
[
p
(
"日常价:"
),
g
(
D
,
null
,{
default
:
n
((()
=>
[
p
(
"¥"
+
k
(
i
.
goods_info
.
ladder_price
[
0
].
price_cn
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
O
,{
class
:
"ac618link"
,
url
:
"/pages/activity/ac618"
})])),
_
:
1
})):(
_
(),
c
(
P
,{
key
:
1
,
class
:
"pricenormalbox"
},{
default
:
n
((()
=>
[
i
.
goods_info
.
ladder_price
&&
i
.
goods_info
.
ladder_price
.
length
>
0
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"price-box row verCenter"
},{
default
:
n
((()
=>
[
i
.
goods_info
.
ladder_price
[
0
].
price_cn
?(
_
(),
c
(
D
,{
key
:
0
,
class
:
"price1"
},{
default
:
n
((()
=>
[
p
(
"¥ "
+
k
(
i
.
goods_info
.
ladder_price
[
0
].
price_cn
),
1
)])),
_
:
1
})):(
_
(),
c
(
D
,{
key
:
1
,
class
:
"price1"
},{
default
:
n
((()
=>
[
p
(
"¥立即咨询"
)])),
_
:
1
})),
i
.
isLogin
?(
_
(),
c
(
P
,{
key
:
2
},{
default
:
n
((()
=>
[
i
.
goods_info
.
ladder_price
[
1
].
price_cn
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"row verCenter"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"price2"
},{
default
:
n
((()
=>
[
p
(
"¥ "
+
k
(
i
.
goods_info
.
ladder_price
[
1
].
price_cn
||
"立即咨询"
),
1
)])),
_
:
1
}),
g
(
D
,{
class
:
"qy"
},{
default
:
n
((()
=>
[
p
(
"企业价"
)])),
_
:
1
})])),
_
:
1
})):
r
(
""
,
!
0
)])),
_
:
1
})):(
_
(),
c
(
P
,{
key
:
3
,
class
:
"row verCenter"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"price2"
},{
default
:
n
((()
=>
[
p
(
"¥ ****"
)])),
_
:
1
}),
g
(
D
,{
class
:
"qy"
},{
default
:
n
((()
=>
[
p
(
"企业价"
)])),
_
:
1
}),
g
(
D
,{
class
:
"qytip"
},{
default
:
n
((()
=>
[
p
(
"登录后查看企业价"
)])),
_
:
1
})])),
_
:
1
}))])),
_
:
1
})):(
_
(),
c
(
P
,{
key
:
1
,
class
:
"price-box row verCenter"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"price1 price1no"
},{
default
:
n
((()
=>
[
p
(
"¥立即咨询"
)])),
_
:
1
})])),
_
:
1
}))])),
_
:
1
})),
i
.
goods_info
.
goods_tag
&&
i
.
goods_info
.
goods_tag
.
goods_tag_names
&&
i
.
goods_info
.
goods_tag
.
goods_tag_names
.
length
>
0
?(
_
(),
c
(
P
,{
key
:
2
,
class
:
"tag-box row"
},{
default
:
n
((()
=>
[(
_
(
!
0
),
h
(
b
,
null
,
m
(
i
.
goods_info
.
goods_tag
.
goods_tag_names
,((
s
,
e
)
=>
(
_
(),
c
(
P
,{
class
:
f
([
"tag"
,{
tag1
:
e
%
2
!=
0
,
tag2
:
e
%
2
==
0
}]),
key
:
e
},{
default
:
n
((()
=>
[
p
(
k
(
s
),
1
)])),
_
:
2
},
1032
,[
"class"
])))),
128
))])),
_
:
1
})):
r
(
""
,
!
0
),
g
(
P
,{
class
:
"goods-name elep2"
},{
default
:
n
((()
=>
[
g
(
D
,{
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
sku_name
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"attr-box"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"品牌"
)])),
_
:
1
}),
g
(
D
,{
class
:
"view"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
brand_name
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"型号"
)])),
_
:
1
}),
g
(
D
,{
class
:
"view"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
goods_name
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"分类"
)])),
_
:
1
}),
g
(
D
,{
class
:
"view"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
class_name
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"商品编码"
)])),
_
:
1
}),
g
(
D
,{
class
:
"view"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
goods_id
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"描述"
)])),
_
:
1
}),
g
(
P
,{
class
:
"view"
,
innerHTML
:
i
.
goods_info
.
spu_brief
,
"user-select"
:
"true"
},
null
,
8
,[
"innerHTML"
])])),
_
:
1
}),
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"货期"
)])),
_
:
1
}),
g
(
D
,{
class
:
"view"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
cn_delivery_time
),
1
)])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"item row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"text"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
"库存"
)])),
_
:
1
}),
g
(
D
,{
class
:
"view"
,
"user-select"
:
"true"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
stock
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"product-box"
,
ref
:
"productBox"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"tab row verCenter"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
f
({
act
:
1
==
i
.
productType
}),
onClick
:
e
[
2
]
||
(
e
[
2
]
=
s
=>
i
.
productType
=
1
)},{
default
:
n
((()
=>
[
p
(
"商品介绍"
)])),
_
:
1
},
8
,[
"class"
]),
i
.
goods_info
.
pdf
?(
_
(),
c
(
D
,{
key
:
0
,
onClick
:
a
.
pdfPre
},{
default
:
n
((()
=>
[
p
(
"数据手册"
)])),
_
:
1
},
8
,[
"onClick"
])):
r
(
""
,
!
0
)])),
_
:
1
}),
g
(
P
,{
class
:
f
([
"tabcon tabcon1 row verCenter rowCenter"
,{
act
:
1
==
i
.
productType
}]),
innerHTML
:
i
.
goods_info
.
sku_detail
},
null
,
8
,[
"class"
,
"innerHTML"
])])),
_
:
1
},
512
)])),
_
:
1
}),
g
(
P
,{
class
:
"foot row verCenter bothSide"
},{
default
:
n
((()
=>
[
g
(
O
,{
class
:
"item"
,
url
:
s
.
$globalData
.
KFQQ
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-kfd"
}),
g
(
P
,
null
,{
default
:
n
((()
=>
[
p
(
"客服"
)])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
]),
g
(
O
,{
class
:
"item"
,
url
:
"/pages/car/list"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-card"
}),
g
(
P
,
null
,{
default
:
n
((()
=>
[
p
(
"购物车"
)])),
_
:
1
})])),
_
:
1
}),
1
!=
i
.
goods_info
.
is_buy
?(
_
(),
c
(
O
,{
key
:
0
,
class
:
"kefzx"
,
url
:
s
.
$globalData
.
KFQQ
},{
default
:
n
((()
=>
[
p
(
" 立即咨询 "
)])),
_
:
1
},
8
,[
"url"
])):
r
(
""
,
!
0
),
1
==
i
.
goods_info
.
is_buy
?(
_
(),
c
(
P
,{
key
:
1
,
class
:
"item"
,
onClick
:
e
[
3
]
||
(
e
[
3
]
=
s
=>
a
.
openAddList
())},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-qdd"
}),
g
(
P
,
null
,{
default
:
n
((()
=>
[
p
(
"加入清单"
)])),
_
:
1
})])),
_
:
1
})):
r
(
""
,
!
0
),
1
==
i
.
goods_info
.
is_buy
?(
_
(),
c
(
P
,{
key
:
2
,
class
:
"row"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"add-car"
,
onClick
:
e
[
4
]
||
(
e
[
4
]
=
s
=>
a
.
open
(
1
))},{
default
:
n
((()
=>
[
p
(
"加入购物车"
)])),
_
:
1
}),
g
(
P
,{
class
:
"add-confirm"
,
onClick
:
e
[
5
]
||
(
e
[
5
]
=
s
=>
a
.
open
(
2
))},{
default
:
n
((()
=>
[
p
(
"立即订购"
)])),
_
:
1
})])),
_
:
1
})):
r
(
""
,
!
0
)])),
_
:
1
}),
g
(
M
,{
ref
:
"popupcar"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"pop-detail-car"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"trt"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
a
.
close
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
g
(
P
,{
class
:
"handle row"
},{
default
:
n
((()
=>
[
g
(
j
,{
src
:
i
.
goods_info
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
g
(
P
,{
class
:
"hbox"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"price1"
},{
default
:
n
((()
=>
[
p
(
"¥ "
+
k
(
i
.
buyPrice
),
1
)])),
_
:
1
}),
g
(
P
,{
class
:
"hbha row verCenter bothSide"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-jian"
,
onClick
:
e
[
6
]
||
(
e
[
6
]
=
s
=>
a
.
addjNum
(
i
.
goods_info
.
sku_id
,
1
))}),
g
(
A
,{
type
:
"number"
,
modelValue
:
i
.
goods_numberx
,
"onUpdate:modelValue"
:
e
[
7
]
||
(
e
[
7
]
=
s
=>
i
.
goods_numberx
=
s
),
onInput
:
e
[
8
]
||
(
e
[
8
]
=
s
=>
a
.
changeNum
(
i
.
goods_info
.
sku_id
))},
null
,
8
,[
"modelValue"
]),
g
(
D
,{
class
:
"icon iconfont icon-jia"
,
onClick
:
e
[
9
]
||
(
e
[
9
]
=
s
=>
a
.
addjNum
(
i
.
goods_info
.
sku_id
,
2
))})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
g
(
P
,{
class
:
"goods-box"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"tit"
},{
default
:
n
((()
=>
[
p
(
"型号"
)])),
_
:
1
}),(
_
(
!
0
),
h
(
b
,
null
,
m
(
i
.
goods_series
,((
s
,
e
)
=>
(
_
(),
c
(
P
,{
class
:
f
([
"item"
,{
act
:
i
.
goods_id
==
s
.
goods_id
}]),
key
:
e
},{
default
:
n
((()
=>
[
g
(
D
,{
onClick
:
e
=>
a
.
changeSku
(
s
.
goods_id
)},{
default
:
n
((()
=>
[
p
(
k
(
s
.
goods_name
),
1
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1032
,[
"class"
])))),
128
))])),
_
:
1
}),
1
!=
i
.
goods_info
.
is_buy
?(
_
(),
c
(
O
,{
key
:
0
,
url
:
s
.
$globalData
.
KFQQ
,
class
:
"xunjia"
},{
default
:
n
((()
=>
[
p
(
"立即询价"
)])),
_
:
1
},
8
,[
"url"
])):
r
(
""
,
!
0
),
1
==
i
.
goods_info
.
is_buy
?(
_
(),
c
(
P
,{
key
:
1
,
class
:
"add-btn"
,
onClick
:
a
.
gocar
},{
default
:
n
((()
=>
[
p
(
k
(
1
==
i
.
addType
?
"加入购物车"
:
"立即订购"
),
1
)])),
_
:
1
},
8
,[
"onClick"
])):
r
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
},
512
),
g
(
M
,{
ref
:
"popupaddlist"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"pop-add-list"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"trt"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
a
.
closeAddList
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
g
(
P
,{
class
:
"ttit elep"
},{
default
:
n
((()
=>
[
p
(
k
(
i
.
goods_info
.
goods_name
),
1
)])),
_
:
1
}),
g
(
P
,{
class
:
"new-box row"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"new-btn row verCenter"
,
onClick
:
a
.
openNewList
},{
default
:
n
((()
=>
[
p
(
"新建清单"
),
g
(
D
,{
class
:
"icon iconfont icon-jia"
})])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
i
.
qDList
.
length
>
0
?(
_
(),
c
(
P
,{
key
:
0
,
class
:
"list-box"
},{
default
:
n
((()
=>
[(
_
(
!
0
),
h
(
b
,
null
,
m
(
i
.
qDList
,((
s
,
e
)
=>
(
_
(),
c
(
P
,{
class
:
"item row verCenter bothSide"
,
key
:
e
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"row verCenter"
,
onClick
:
T
((
e
=>
a
.
chooseQd
(
s
.
list_id
)),[
"stop"
])},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"l"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
f
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
s
.
checked
}])},
null
,
8
,[
"class"
])])),
_
:
2
},
1024
),
g
(
P
,{
class
:
"c"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"elep"
},{
default
:
n
((()
=>
[
p
(
k
(
s
.
list_name
),
1
)])),
_
:
2
},
1024
),
g
(
D
,
null
,{
default
:
n
((()
=>
[
p
(
k
(
s
.
create_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
]),
g
(
O
,{
url
:
"/pages/user/qdDetail?list_id="
+
s
.
list_id
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"r row verCenter"
},{
default
:
n
((()
=>
[
g
(
D
,
null
,{
default
:
n
((()
=>
[
p
(
k
(
s
.
list_goods_count
)
+
"个商品"
,
1
)])),
_
:
2
},
1024
),
g
(
D
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
])])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):(
_
(),
c
(
P
,{
key
:
1
,
class
:
"list-box"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"no-data"
},{
default
:
n
((()
=>
[
g
(
j
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/07a360187d83ccf80a9d835029c27446.png"
}),
g
(
P
,
null
,{
default
:
n
((()
=>
[
p
(
"暂无清单数据,先去创建清单吧!"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})),
g
(
P
,{
class
:
"add-list"
,
onClick
:
e
[
10
]
||
(
e
[
10
]
=
s
=>
a
.
addQdList
())},{
default
:
n
((()
=>
[
p
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
),
g
(
M
,{
ref
:
"popupnewlist"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"pop-new-list"
},{
default
:
n
((()
=>
[
g
(
P
,{
class
:
"trt"
},{
default
:
n
((()
=>
[
g
(
D
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
a
.
closeNewList
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
g
(
P
,{
class
:
"ttit elep"
},{
default
:
n
((()
=>
[
p
(
"新建清单"
)])),
_
:
1
}),
g
(
P
,{
class
:
"cons"
},{
default
:
n
((()
=>
[
g
(
A
,{
type
:
"text"
,
class
:
"inputv"
,
modelValue
:
i
.
list_name
,
"onUpdate:modelValue"
:
e
[
11
]
||
(
e
[
11
]
=
s
=>
i
.
list_name
=
s
),
placeholder
:
"请输入清单名称,若未输入则显示商品分类;"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
g
(
P
,{
class
:
"add-list"
,
onClick
:
e
[
12
]
||
(
e
[
12
]
=
s
=>
a
.
createList
())},{
default
:
n
((()
=>
[
p
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})):
r
(
""
,
!
0
)}],[
"__scopeId"
,
"data-v-0b75b70f"
]]);
export
{
j
as
default
};
unpackage/dist/build/web/assets/pages-index-index.BypqV-iy.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
a
,
s
as
e
,
a
as
s
,
n
as
l
,
b
as
t
,
r
as
c
,
c
as
o
,
w
as
r
,
i
,
o
as
n
,
d
,
e
as
p
,
f
as
u
,
h
as
_
,
j
as
g
,
F
as
f
,
k
as
m
,
l
as
k
,
m
as
y
,
S
as
b
,
t
as
h
,
p
as
x
,
q
as
w
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
D
}
from
"./api.Cl4HE8_F.js"
;
import
{
b
as
C
}
from
"./bottom_nav.Cwl6qhit.js"
;
import
{
_
as
T
,
b
as
v
}
from
"./barx.BsVUcAxA.js"
;
const
F
=
T
({
data
:()
=>
({
isLogin
:
!!
a
(
"token"
),
pageTitle
:
""
,
type
:
1
,
scrollTop
:
0
,
pageData
:
""
}),
onPageScroll
(
a
){
this
.
scrollTop
=
a
.
scrollTop
,
a
.
scrollTop
>
180
?(
this
.
pageTitle
=
"爱智工业品平台"
,
this
.
type
=
0
,
e
({
frontColor
:
"#000000"
,
backgroundColor
:
"#F8F8F8"
,
animation
:{
duration
:
300
,
timingFunc
:
"ease-in-out"
}})):(
this
.
pageTitle
=
""
,
this
.
type
=
1
,
e
({
frontColor
:
"#ffffff"
,
backgroundColor
:
"#BF0009"
,
animation
:{
duration
:
300
,
timingFunc
:
"ease-in-out"
}})),
s
({
title
:
"爱智工业品"
})},
onLoad
(){
this
.
getData
(),
s
({
title
:
"爱智工业品"
})},
methods
:{
goxj
(){
l
({
url
:
this
.
$globalData
.
KFQQ
})},
getData
(){
this
.
request
(
D
+
"/api/xcx/homepage"
,
"GET"
,{},
!
0
).
then
((
a
=>
{
0
==
a
.
code
?
this
.
pageData
=
a
.
data
:
t
({
title
:
a
.
msg
,
icon
:
"error"
})}))},
goSearch
(){
l
({
url
:
"/pages/search/nav"
})}},
components
:{
bottomNavFixed
:
C
,
barX
:
v
}},[[
"render"
,
function
(
a
,
e
,
s
,
l
,
t
,
D
){
const
C
=
c
(
"barX"
),
T
=
m
,
v
=
k
,
F
=
y
,
S
=
i
,
j
=
w
,
q
=
b
,
Q
=
c
(
"bottomNavFixed"
);
return
n
(),
o
(
S
,{
class
:
"indexPage"
},{
default
:
r
((()
=>
[
d
(
C
,{
pageTitle
:
t
.
pageTitle
,
type
:
t
.
type
},
null
,
8
,[
"pageTitle"
,
"type"
]),
t
.
scrollTop
<=
180
?(
n
(),
o
(
S
,{
key
:
0
,
class
:
"header"
},{
default
:
r
((()
=>
[
d
(
T
,{
class
:
"logo"
,
src
:
"/assets/logo-0Cv4B4yG.png"
}),
d
(
v
,{
url
:
"/pages/user/userInfo"
,
class
:
"menber"
},{
default
:
r
((()
=>
[
p
(
"会员入口"
)])),
_
:
1
}),
d
(
S
,{
class
:
"input-box row verCenter"
},{
default
:
r
((()
=>
[
d
(
F
,{
class
:
"icon iconfont icon-search"
,
onClick
:
e
[
0
]
||
(
e
[
0
]
=
a
=>
D
.
goSearch
())}),
d
(
S
,{
onClick
:
e
[
1
]
||
(
e
[
1
]
=
a
=>
D
.
goSearch
())},{
default
:
r
((()
=>
[
p
(
"请输入商品名称/品牌/型号/商品编码"
)])),
_
:
1
}),
d
(
v
,{
class
:
"kfbtn"
,
url
:
a
.
$globalData
.
KFQQ
},
null
,
8
,[
"url"
])])),
_
:
1
})])),
_
:
1
})):
u
(
""
,
!
0
),
t
.
pageData
.
banner_list
&&
t
.
pageData
.
banner_list
.
length
>
0
?(
n
(),
o
(
q
,{
key
:
1
,
class
:
"swiper swiper-box"
,
"indicator-dots"
:
!
0
,
autoplay
:
!
0
,
interval
:
3
e3
,
duration
:
500
},{
default
:
r
((()
=>
[(
n
(
!
0
),
_
(
f
,
null
,
g
(
t
.
pageData
.
banner_list
,((
a
,
e
)
=>
(
n
(),
o
(
j
,{
class
:
"swiper-item"
,
key
:
e
},{
default
:
r
((()
=>
[
d
(
v
,{
url
:
a
.
url
,
class
:
"bannert"
},{
default
:
r
((()
=>
[
d
(
T
,{
src
:
a
.
images
,
"lazy-load"
:
""
},
null
,
8
,[
"src"
])])),
_
:
2
},
1032
,[
"url"
])])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
u
(
""
,
!
0
),
t
.
pageData
.
quick_links
&&
t
.
pageData
.
quick_links
.
length
>
0
?(
n
(),
o
(
S
,{
key
:
2
,
class
:
"cate-box row bothSide"
},{
default
:
r
((()
=>
[(
n
(
!
0
),
_
(
f
,
null
,
g
(
t
.
pageData
.
quick_links
,((
a
,
e
)
=>
(
n
(),
o
(
v
,{
url
:
a
.
url
,
class
:
"item"
,
key
:
e
},{
default
:
r
((()
=>
[
d
(
T
,{
src
:
a
.
images
},
null
,
8
,[
"src"
]),
d
(
F
,{
class
:
"elep"
},{
default
:
r
((()
=>
[
p
(
h
(
a
.
title
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
1
})):
u
(
""
,
!
0
),
t
.
pageData
.
recommend_goods
&&
t
.
pageData
.
recommend_goods
.
length
>
0
?(
n
(),
o
(
S
,{
key
:
3
,
class
:
"recommend-box"
},{
default
:
r
((()
=>
[
d
(
S
,{
class
:
"tit"
},{
default
:
r
((()
=>
[
p
(
"为你推荐"
)])),
_
:
1
}),
d
(
S
,{
class
:
"itembox row bothSide"
},{
default
:
r
((()
=>
[(
n
(
!
0
),
_
(
f
,
null
,
g
(
t
.
pageData
.
recommend_goods
,((
a
,
s
)
=>
(
n
(),
o
(
v
,{
url
:
"/pages/goods/detail?goods_id="
+
a
.
goods_id
,
class
:
"item"
,
key
:
s
},{
default
:
r
((()
=>
[
10
==
a
.
ac_type
?(
n
(),
o
(
S
,{
key
:
0
,
class
:
"ac618tagt"
})):
u
(
""
,
!
0
),
10
==
a
.
ac_type
?(
n
(),
o
(
S
,{
key
:
1
,
class
:
"ac618tagb"
})):
u
(
""
,
!
0
),
d
(
T
,{
src
:
a
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
d
(
S
,{
class
:
"title elep2"
},{
default
:
r
((()
=>
[
p
(
h
(
a
.
sku_name
),
1
)])),
_
:
2
},
1024
),
10
==
a
.
ac_type
?(
n
(),
o
(
S
,{
key
:
2
,
class
:
"priceac168Box"
},{
default
:
r
((()
=>
[
d
(
S
,{
class
:
"row item12"
},{
default
:
r
((()
=>
[
d
(
S
,{
class
:
"price0"
},{
default
:
r
((()
=>
[
p
(
"¥"
+
h
(
a
.
ladder_price
[
0
].
price_ac
||
""
),
1
)])),
_
:
2
},
1024
),
d
(
S
,{
class
:
"tagac"
},{
default
:
r
((()
=>
[
p
(
"活动价"
)])),
_
:
1
})])),
_
:
2
},
1024
),
d
(
S
,{
class
:
"row item11"
},{
default
:
r
((()
=>
[
d
(
S
,{
class
:
"t3"
},{
default
:
r
((()
=>
[
p
(
"¥"
+
h
(
a
.
ladder_price
[
0
].
price_cn
||
""
),
1
)])),
_
:
2
},
1024
),
d
(
S
,{
class
:
"tagac2"
},{
default
:
r
((()
=>
[
p
(
"日常价"
)])),
_
:
1
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)):(
n
(),
o
(
S
,{
key
:
3
,
class
:
"pricenormalbox"
},{
default
:
r
((()
=>
[
a
.
ladder_price
&&
a
.
ladder_price
.
length
>
0
?(
n
(),
o
(
S
,{
key
:
0
,
class
:
"price"
},{
default
:
r
((()
=>
[
d
(
S
,{
class
:
"price0"
},{
default
:
r
((()
=>
[
p
(
"¥"
+
h
(
a
.
ladder_price
[
0
].
price_cn
||
""
),
1
)])),
_
:
2
},
1024
),
d
(
S
,{
class
:
"row verCenter qibox"
},{
default
:
r
((()
=>
[
t
.
isLogin
?(
n
(),
o
(
F
,{
key
:
0
,
class
:
"price1"
},{
default
:
r
((()
=>
[
a
.
ladder_price
[
1
].
price_cn
?(
n
(),
o
(
F
,{
key
:
0
,
class
:
"price1"
},{
default
:
r
((()
=>
[
p
(
"¥"
+
h
(
a
.
ladder_price
[
1
].
price_cn
),
1
)])),
_
:
2
},
1024
)):
u
(
""
,
!
0
)])),
_
:
2
},
1024
)):(
n
(),
o
(
F
,{
key
:
1
,
class
:
"price1"
},{
default
:
r
((()
=>
[
p
(
"¥****"
)])),
_
:
1
})),
a
.
ladder_price
[
1
].
price_cn
?(
n
(),
o
(
F
,{
key
:
2
,
class
:
"qytag"
},{
default
:
r
((()
=>
[
p
(
"企业价"
)])),
_
:
1
})):
u
(
""
,
!
0
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)):(
n
(),
o
(
S
,{
key
:
1
,
class
:
"price-c"
},{
default
:
r
((()
=>
[
d
(
F
,{
class
:
"xunj"
,
onClick
:
e
[
2
]
||
(
e
[
2
]
=
x
((
a
=>
D
.
goxj
()),[
"stop"
,
"prevent"
]))},{
default
:
r
((()
=>
[
p
(
"立即询价"
)])),
_
:
1
})])),
_
:
1
}))])),
_
:
2
},
1024
))])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
1
})])),
_
:
1
})):
u
(
""
,
!
0
),
t
.
scrollTop
>
180
?(
n
(),
o
(
S
,{
key
:
4
,
class
:
"fixed-search"
},{
default
:
r
((()
=>
[
d
(
S
,{
class
:
"input-box row verCenter"
},{
default
:
r
((()
=>
[
d
(
F
,{
class
:
"icon iconfont icon-search"
,
onClick
:
e
[
3
]
||
(
e
[
3
]
=
a
=>
D
.
goSearch
())}),
d
(
S
,{
onClick
:
e
[
4
]
||
(
e
[
4
]
=
a
=>
D
.
goSearch
())},{
default
:
r
((()
=>
[
p
(
"请输入商品名称、品牌、型号、商品编码"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
u
(
""
,
!
0
),
d
(
Q
,{
actval
:
"1"
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-e5610061"
]]);
export
{
F
as
default
};
unpackage/dist/build/web/assets/pages-index-kf.BVHNTeU2.js
deleted
100644 → 0
View file @
d46cc593
import
{
r
as
a
,
c
as
s
,
w
as
e
,
i
as
o
,
o
as
r
,
d
as
t
,
u
as
c
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
n
,
b
as
d
}
from
"./barx.BsVUcAxA.js"
;
const
f
=
n
({
data
:()
=>
({}),
onLoad
(){},
methods
:{},
components
:{
barX
:
d
}},[[
"render"
,
function
(
n
,
d
,
f
,
b
,
i
,
m
){
const
p
=
a
(
"barX"
),
l
=
c
,
u
=
o
;
return
r
(),
s
(
u
,{
class
:
"kfPage"
},{
default
:
e
((()
=>
[
t
(
p
,{
type
:
1
,
pageTitle
:
"iEdge爱智 - 在线咨询"
}),
t
(
l
,{
src
:
"https://11012981.saas.53kf.com/code/xcx/a4d13c38cc838fb6be490633eff7260b6/1?header=none"
},
null
,
8
,[
"src"
])])),
_
:
1
})}]]);
export
{
f
as
default
};
unpackage/dist/build/web/assets/pages-search-list.CE20Cona.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
t
,
A
as
s
,
b
as
a
,
n
as
e
,
r
as
i
,
x
as
l
,
c
as
o
,
w
as
c
,
i
as
r
,
o
as
n
,
d
as
h
,
v
as
d
,
e
as
g
,
h
as
u
,
j
as
p
,
F
as
f
,
f
as
_
,
t
as
k
,
m
,
k
as
b
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
x
,
_
as
C
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
y
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
w
,
b
as
A
}
from
"./barx.BsVUcAxA.js"
;
import
{
s
as
v
}
from
"./search_head.DkxRXJnQ.js"
;
import
{
o
as
j
}
from
"./one_item.DKn37E7s.js"
;
const
I
=
w
({
data
:()
=>
({
isHasAttr
:
!
1
,
isInit
:
!
1
,
searchVal
:
""
,
tabType
:
1
,
stocksort
:
!
1
,
pricesort
:
!
1
,
page_size
:
10
,
page
:
1
,
totals
:
0
,
isLoadEnd
:
!
1
,
aggs
:[],
list
:[]}),
async
onReachBottom
(){
this
.
isLoadEnd
||
this
.
getData
()},
onLoad
:
function
(
t
){
this
.
searchVal
=
t
.
k
,
this
.
getData
(),
this
.
setHistoryItems
(
this
.
searchVal
)},
methods
:{
uiChage
(
t
){
this
.
aggs
.
forEach
((
s
=>
{
s
.
namex
==
t
&&
(
s
.
hideAll
=!
s
.
hideAll
)}))},
clearAttr
(){
this
.
aggs
.
forEach
((
t
=>
{
t
.
listx
.
forEach
((
t
=>
{
t
.
checked
=
0
}))})),
this
.
initGetData
()},
changeAttr
(
t
,
s
){
this
.
aggs
.
forEach
((
a
=>
{
t
==
a
.
namex
&&
a
.
listx
.
forEach
((
t
=>
{
s
==
t
.
attr_value_id
&&
(
t
.
checked
=
0
==
t
.
checked
?
"1"
:
"0"
)}))})),
this
.
initGetData
()},
getAttr
(){
let
t
=
{};
if
(
0
==
this
.
aggs
.
length
)
return
t
;
let
s
=
[],
a
=
[],
e
=
{};
return
this
.
aggs
.
forEach
((
t
=>
{
t
.
listx
.
forEach
((
t
=>
{
if
(
1
==
t
.
checked
)
switch
(
t
.
attr_id
){
case
"class_id1"
:
a
.
push
(
t
.
attr_value_id
);
break
;
case
"standard_brand_id"
:
s
.
push
(
t
.
attr_value_id
);
break
;
default
:
e
[
t
.
attr_id
]
||
(
e
[
t
.
attr_id
]
=
[]),
e
[
t
.
attr_id
].
push
(
String
(
t
.
attr_value_id
))}}))})),
s
.
length
>
0
&&
(
t
[
"standard_brand_id/eqs"
]
=
s
.
join
(
","
)),
a
.
length
>
0
&&
(
t
[
"class_id1/eqs"
]
=
a
.
join
(
","
)),
Object
.
keys
(
e
).
length
>
0
&&
(
t
[
"attrs/group"
]
=
JSON
.
stringify
(
e
)),
t
},
getData
(){
let
t
=
this
.
getAttr
(),
s
=
{
"goods_name_ik/like"
:
this
.
searchVal
,
page_size
:
this
.
page_size
,
page
:
this
.
page
,
hcy_test
:
1122
,...
t
};
2
==
this
.
tabType
&&
(
s
[
"stock/sort"
]
=
this
.
stocksort
?
"asc"
:
"desc"
),
3
==
this
.
tabType
&&
(
s
[
"single_price/sort"
]
=
this
.
pricesort
?
"asc"
:
"desc"
),
this
.
request
(
y
+
"/api/search/getData"
,
"POST"
,
s
,
!
0
).
then
((
t
=>
{
if
(
1
==
this
.
page
&&
(
this
.
list
=
[]),
0
==
t
.
code
){
if
(
!
this
.
isHasAttr
){
let
s
=
t
.
data
.
aggs
?
JSON
.
parse
(
JSON
.
stringify
(
t
.
data
.
aggs
)):[];
this
.
aggs
=
Object
.
keys
(
s
).
map
((
t
=>
({
namex
:
t
,
listx
:
s
[
t
]
||
[],
hideAll
:
!
1
})))}
this
.
isHasAttr
=
1
,
this
.
isInit
=
1
,
this
.
list
=
[...
this
.
list
,...
t
.
data
.
lists
||
[]],
this
.
totals
=
t
.
data
.
total
||
0
,
this
.
page
*
this
.
page_size
>=
Number
(
t
.
data
.
total
)
&&
(
this
.
isLoadEnd
=!
0
),
this
.
page
++
}
else
this
.
totals
=
0
,
this
.
isInit
=
1
,
this
.
list
=
[]}))},
tab
(
t
){
this
.
tabType
=
t
,
2
==
t
?
this
.
stocksort
=!
this
.
stocksort
:
3
==
t
&&
(
this
.
pricesort
=!
this
.
pricesort
),
this
.
initGetData
()},
initGetData
(){
this
.
page
=
1
,
this
.
isInit
=!
1
,
this
.
isLoadEnd
=!
1
,
this
.
list
=
[],
this
.
getData
()},
setHistoryItems
(
a
){
a
=
a
.
trim
();
let
e
=
t
(
"historyItems"
);
if
(
void
0
===
e
)
s
(
"historyItems"
,
a
);
else
{
let
t
=
e
.
split
(
"|"
).
filter
((
function
(
t
){
return
t
!=
a
}));
t
.
length
>=
10
&&
(
t
=
t
.
splice
(
0
,
9
)),
t
.
length
>
0
&&
(
e
=
a
+
"|"
+
t
.
join
(
"|"
)),
s
(
"historyItems"
,
e
)}},
onConfirm
(
t
){
let
s
=
t
.
detail
.
value
;
s
.
length
<
2
?
a
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
e
({
url
:
"/pages/search/list?k="
+
s
})},
open
(){
this
.
$refs
.
popupsx
.
open
(
"right"
)},
close
(){
this
.
$refs
.
popupsx
.
close
(
"right"
)}},
components
:{
barX
:
A
,
searchHead
:
v
,
oneItem
:
j
}},[[
"render"
,
function
(
t
,
s
,
a
,
e
,
y
,
w
){
const
A
=
i
(
"barX"
),
v
=
i
(
"searchHead"
),
j
=
r
,
I
=
m
,
E
=
i
(
"oneItem"
),
D
=
b
,
H
=
x
(
l
(
"uni-popup"
),
C
);
return
n
(),
o
(
j
,{
class
:
"searchPage"
},{
default
:
c
((()
=>
[
h
(
A
),
h
(
j
,{
class
:
"fixed-tp"
},{
default
:
c
((()
=>
[
h
(
v
,{
onConfirm
:
w
.
onConfirm
,
searchVal
:
y
.
searchVal
,
backurl
:
"/pages/index/index"
},
null
,
8
,[
"onConfirm"
,
"searchVal"
]),
h
(
j
,{
class
:
"shiftbox row bothSide verCenter"
},{
default
:
c
((()
=>
[
h
(
j
,{
class
:
d
([
"rank1 rank row"
,{
act
:
1
==
y
.
tabType
}]),
onClick
:
s
[
0
]
||
(
s
[
0
]
=
t
=>
w
.
tab
(
1
))},{
default
:
c
((()
=>
[
g
(
"综合排序"
)])),
_
:
1
},
8
,[
"class"
]),
h
(
j
,{
class
:
d
([
"rank2 rank row verCenter"
,{
act
:
2
==
y
.
tabType
}]),
onClick
:
s
[
1
]
||
(
s
[
1
]
=
t
=>
w
.
tab
(
2
))},{
default
:
c
((()
=>
[
g
(
"库存"
),
h
(
I
,{
class
:
d
([
"icon"
,
"iconfont"
,
y
.
stocksort
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
1
},
8
,[
"class"
]),
h
(
j
,{
class
:
d
([
"rank3 rank row verCenter"
,{
act
:
3
==
y
.
tabType
}]),
onClick
:
s
[
2
]
||
(
s
[
2
]
=
t
=>
w
.
tab
(
3
))},{
default
:
c
((()
=>
[
g
(
"价格"
),
h
(
I
,{
class
:
d
([
"icon"
,
"iconfont"
,
y
.
pricesort
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
1
},
8
,[
"class"
]),
h
(
j
,{
class
:
"sxbox row verCenter"
,
onClick
:
w
.
open
},{
default
:
c
((()
=>
[
g
(
"筛选"
),
h
(
I
,{
class
:
"icon iconfont icon-saixuan"
})])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
}),
h
(
j
,{
class
:
"cons"
},{
default
:
c
((()
=>
[
h
(
j
,{
class
:
"databox"
},{
default
:
c
((()
=>
[(
n
(
!
0
),
u
(
f
,
null
,
p
(
y
.
list
,((
t
,
s
)
=>
(
n
(),
o
(
E
,{
key
:
s
,
obj
:
t
},
null
,
8
,[
"obj"
])))),
128
)),
y
.
list
.
length
>
0
&&
y
.
isLoadEnd
?(
n
(),
o
(
j
,{
key
:
0
,
class
:
"pagebot"
},{
default
:
c
((()
=>
[
g
(
"—— 已经全部加载完 ——"
)])),
_
:
1
})):
_
(
""
,
!
0
),
y
.
isInit
&&
0
==
y
.
list
.
length
?(
n
(),
o
(
j
,{
key
:
1
,
class
:
"no-data-box"
},{
default
:
c
((()
=>
[
h
(
D
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/07/676f987065320e89a68d473ec62c8cea.png"
}),
h
(
j
,
null
,{
default
:
c
((()
=>
[
g
(
"抱歉,您可以联系客服咨询上品相关事宜!"
)])),
_
:
1
}),
h
(
j
,{
class
:
"backs"
,
onClick
:
t
.
$goBack
},{
default
:
c
((()
=>
[
g
(
"返回"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})):
_
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
}),
h
(
H
,{
ref
:
"popupsx"
,
type
:
"right"
},{
default
:
c
((()
=>
[
h
(
j
,{
class
:
"pop-consx"
},{
default
:
c
((()
=>
[
h
(
j
,{
class
:
"section"
},{
default
:
c
((()
=>
[
y
.
aggs
.
length
>
0
?(
n
(),
o
(
j
,{
key
:
0
},{
default
:
c
((()
=>
[(
n
(
!
0
),
u
(
f
,
null
,
p
(
y
.
aggs
,((
t
,
s
)
=>
(
n
(),
o
(
j
,{
class
:
"item-group"
,
key
:
s
},{
default
:
c
((()
=>
[
h
(
j
,{
class
:
"item-t row bothSide verCenter"
},{
default
:
c
((()
=>
[
h
(
I
,{
class
:
"names elep"
},{
default
:
c
((()
=>
[
g
(
k
(
t
.
namex
),
1
)])),
_
:
2
},
1024
),
t
.
listx
.
length
>
6
?(
n
(),
o
(
j
,{
key
:
0
,
class
:
"row verCenter status-box"
,
onClick
:
s
=>
w
.
uiChage
(
t
.
namex
)},{
default
:
c
((()
=>
[
h
(
I
,{
class
:
"status-name"
},{
default
:
c
((()
=>
[
g
(
k
(
t
.
hideAll
?
"收起"
:
"展开"
),
1
)])),
_
:
2
},
1024
),
h
(
I
,{
class
:
d
([
"icon"
,
"iconfont"
,
t
.
hideAll
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
2
},
1032
,[
"onClick"
])):
_
(
""
,
!
0
)])),
_
:
2
},
1024
),
h
(
j
,{
class
:
d
([
"item-c row"
,{
showAll
:
t
.
hideAll
}])},{
default
:
c
((()
=>
[(
n
(
!
0
),
u
(
f
,
null
,
p
(
t
.
listx
,((
s
,
a
)
=>
(
n
(),
o
(
j
,{
class
:
d
([
"citem elep"
,{
act
:
1
==
s
.
checked
}]),
onClick
:
a
=>
w
.
changeAttr
(
t
.
namex
,
s
.
attr_value_id
),
key
:
a
},{
default
:
c
((()
=>
[
g
(
k
(
s
.
value
),
1
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
2
},
1032
,[
"class"
])])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
_
(
""
,
!
0
)])),
_
:
1
}),
h
(
j
,{
class
:
"foot row bothSide"
},{
default
:
c
((()
=>
[
h
(
j
,{
class
:
"cz"
,
onClick
:
w
.
clearAttr
},{
default
:
c
((()
=>
[
g
(
"重置"
)])),
_
:
1
},
8
,[
"onClick"
]),
h
(
j
,{
class
:
"cx"
,
onClick
:
w
.
close
},{
default
:
c
((()
=>
[
g
(
"确认("
+
k
(
y
.
totals
)
+
"个型号)"
,
1
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-287e3886"
]]);
export
{
I
as
default
};
unpackage/dist/build/web/assets/pages-search-nav.Dh0xhlMw.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
s
,
n
as
t
,
g
as
e
,
y
as
a
,
z
as
o
,
r
,
c
as
i
,
w
as
l
,
i
as
n
,
o
as
c
,
d
as
h
,
e
as
d
,
t
as
u
,
f
,
v
as
g
,
h
as
_
,
j
as
m
,
F
as
p
,
m
as
y
,
l
as
C
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
w
}
from
"./api.Cl4HE8_F.js"
;
import
{
s
as
x
}
from
"./search_head.DkxRXJnQ.js"
;
import
{
_
as
H
,
b
as
k
}
from
"./barx.BsVUcAxA.js"
;
const
b
=
H
({
data
:()
=>
({
isExpanded
:
!
1
,
showToggle
:
!
0
,
hot_search_list
:[],
searchHistory
:[]}),
onReady
(){
this
.
getContentHeight
()},
onShow
:
function
(){
this
.
getData
(),
this
.
getsearchHistory
()},
methods
:{
getData
(){
this
.
request
(
w
+
"/api/xcx/hotSearch"
,
"GET"
,{},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?
this
.
hot_search_list
=
t
.
data
.
hot_search_list
||
[]:
s
({
title
:
t
.
msg
,
icon
:
"error"
})}))},
onConfirm
(
e
){
let
a
=
e
.
detail
.
value
;
a
.
length
<
2
?
s
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):
t
({
url
:
"/pages/search/list?k="
+
a
})},
getContentHeight
(){},
toggleContent
(){
this
.
isExpanded
=!
this
.
isExpanded
},
getsearchHistory
(){
let
s
=
e
(
"historyItems"
);
if
(
this
.
searchHistory
=
[],
s
){
s
.
split
(
"|"
).
forEach
((
s
=>
{
s
&&
this
.
searchHistory
.
push
(
s
)}))}
console
.
log
(
this
.
searchHistory
)},
delsearchHistory
(){
a
({
title
:
"删除"
,
content
:
"您确定要删除最近搜索内容吗?"
,
success
:
s
=>
{
s
.
confirm
&&
(
o
(
"historyItems"
),
this
.
getsearchHistory
())}})}},
components
:{
searchHead
:
x
,
barX
:
k
}},[[
"render"
,
function
(
s
,
t
,
e
,
a
,
o
,
w
){
const
x
=
r
(
"barX"
),
H
=
r
(
"searchHead"
),
k
=
y
,
b
=
n
,
E
=
C
;
return
c
(),
i
(
b
,{
class
:
"searchNavPage"
},{
default
:
l
((()
=>
[
h
(
x
),
h
(
H
,{
onConfirm
:
w
.
onConfirm
,
isFocus
:
!
0
},
null
,
8
,[
"onConfirm"
]),
o
.
hot_search_list
.
length
>
0
?(
c
(),
i
(
b
,{
key
:
0
,
class
:
"hot-search"
},{
default
:
l
((()
=>
[
h
(
b
,{
class
:
"tit row bothSide verCenter"
},{
default
:
l
((()
=>
[
h
(
k
,{
class
:
"word-name"
},{
default
:
l
((()
=>
[
d
(
"热搜"
)])),
_
:
1
}),
h
(
b
,{
class
:
"rt row verCenter"
},{
default
:
l
((()
=>
[
o
.
showToggle
?(
c
(),
i
(
k
,{
key
:
0
,
class
:
"status-name"
,
onClick
:
w
.
toggleContent
},{
default
:
l
((()
=>
[
d
(
u
(
o
.
isExpanded
?
"收起"
:
"展开"
),
1
)])),
_
:
1
},
8
,[
"onClick"
])):
f
(
""
,
!
0
),
o
.
showToggle
?(
c
(),
i
(
k
,{
key
:
1
,
class
:
g
([
"icon"
,
"iconfont"
,
o
.
isExpanded
?
"icon-arrowshang"
:
"icon-arrowxia"
]),
onClick
:
w
.
toggleContent
},
null
,
8
,[
"class"
,
"onClick"
])):
f
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
}),
h
(
b
,{
class
:
g
([
"content-box"
,
"row"
,{
hidex
:
o
.
showToggle
&&!
o
.
isExpanded
}])},{
default
:
l
((()
=>
[(
c
(
!
0
),
_
(
p
,
null
,
m
(
o
.
hot_search_list
,((
s
,
t
)
=>
(
c
(),
i
(
E
,{
url
:
"/pages/search/list?k="
+
s
.
title
,
class
:
"item"
,
key
:
t
},{
default
:
l
((()
=>
[
d
(
u
(
s
.
title
),
1
)])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})):
f
(
""
,
!
0
),
h
(
b
,{
class
:
"history-search"
},{
default
:
l
((()
=>
[
h
(
b
,{
class
:
"tit row bothSide verCenter"
},{
default
:
l
((()
=>
[
h
(
k
,{
class
:
"word-name"
},{
default
:
l
((()
=>
[
d
(
"历史搜索"
)])),
_
:
1
}),
h
(
b
,{
class
:
"rt row verCenter"
},{
default
:
l
((()
=>
[
h
(
k
,{
class
:
"icon iconfont icon-del"
,
onClick
:
w
.
delsearchHistory
},
null
,
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
}),
h
(
b
,{
class
:
"content-box-item row"
},{
default
:
l
((()
=>
[(
c
(
!
0
),
_
(
p
,
null
,
m
(
o
.
searchHistory
,((
s
,
t
)
=>
(
c
(),
i
(
E
,{
class
:
"item"
,
url
:
"/pages/search/list?k="
+
s
,
key
:
t
},{
default
:
l
((()
=>
[
d
(
u
(
s
),
1
)])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-fd544af5"
]]);
export
{
b
as
default
};
unpackage/dist/build/web/assets/pages-user-address.eBjcnW7T.js
deleted
100644 → 0
View file @
d46cc593
import
{
n
as
s
,
O
as
e
,
b
as
t
,
y
as
a
,
r
as
i
,
c
as
d
,
w
as
c
,
i
as
o
,
o
as
n
,
d
as
l
,
h
as
r
,
j
as
_
,
F
as
u
,
e
as
f
,
f
as
h
,
k
as
p
,
l
as
m
,
v
as
k
,
t
as
v
,
p
as
g
,
m
as
C
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
b
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
x
,
b
as
y
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
w
}
from
"./title_nav.dc5elgbU.js"
;
const
j
=
x
({
data
:()
=>
({
isInit
:
!
1
,
form
:
""
,
address_id
:
""
,
invoice_id
:
""
,
coupon_id
:
""
,
list
:[]}),
onLoad
:
function
(
s
){
this
.
form
=
s
.
form
||
""
,
this
.
address_id
=
s
.
address_id
||
""
,
this
.
invoice_id
=
s
.
invoice_id
||
""
,
this
.
coupon_id
=
s
.
coupon_id
||
""
},
onShow
(){
this
.
getData
()},
methods
:{
goUpdate
(
e
){
s
({
url
:
"/pages/user/addressEdit?address_id="
+
e
})},
setChoose
(
e
){
if
(
!
this
.
form
)
return
;
let
t
=
""
;
this
.
list
.
forEach
((
s
=>
{
s
.
checkedx
=!
1
,
e
==
s
.
address_id
&&
(
s
.
checkedx
=!
0
,
t
=
s
.
address_id
)})),
setTimeout
((()
=>
{
"confirmQuote"
!=
this
.
form
?
s
({
url
:
"/pages/car/confirmOrder?address_id="
+
t
+
"&coupon_id="
+
this
.
coupon_id
+
"&invoice_id="
+
this
.
invoice_id
}):
s
({
url
:
"/pages/car/confirmQuote?address_id="
+
t
+
"&coupon_id="
+
this
.
coupon_id
})}),
200
)},
copy
(
s
){
e
({
data
:(
"中国"
!=
s
.
nation_cn
?
s
.
nation_cn
:
""
)
+
s
.
province_val
+
" "
+
s
.
city_val
+
" "
+
s
.
district_val
+
" "
+
s
.
detail_address
,
success
:
function
(){
t
({
title
:
"复制成功"
,
icon
:
"success"
})}})},
deleteAdress
(
s
){
a
({
title
:
""
,
content
:
"您确定删除该地址嘛"
,
success
:
e
=>
{
e
.
confirm
&&
this
.
request
(
b
+
"/api/address/del"
,
"POST"
,{
address_id
:
s
},
!
0
).
then
((
s
=>
{
0
===
s
.
code
?(
t
({
title
:
"删除成功"
,
icon
:
"success"
}),
this
.
getData
(
1
)):
t
({
title
:
s
.
msg
,
icon
:
"none"
})}))}})},
setdefault
(
s
){
this
.
request
(
b
+
"/api/address/default"
,
"POST"
,{
address_id
:
s
},
!
0
).
then
((
s
=>
{
0
===
s
.
code
?(
t
({
title
:
"设置成功"
,
icon
:
"success"
}),
this
.
getData
(
1
)):
t
({
title
:
s
.
err_msg
,
icon
:
"none"
})}))},
getData
(
s
){
this
.
request
(
b
+
"/api/address/getList"
,
"GET"
,{
p
:
1
},
!
s
).
then
((
s
=>
{
if
(
0
==
s
.
code
){
this
.
isInit
=
1
;
let
e
=
s
.
data
.
list
||
[];
e
.
forEach
((
s
=>
{
s
.
checkedx
=!
1
,
s
.
address_id
==
this
.
address_id
&&
(
s
.
checkedx
=!
0
)})),
this
.
list
=
e
}
else
this
.
isInit
=
1
,
this
.
list
=
[]}))}},
components
:{
barX
:
y
,
titleNav
:
w
}},[[
"render"
,
function
(
s
,
e
,
t
,
a
,
b
,
x
){
const
y
=
i
(
"barX"
),
w
=
i
(
"titleNav"
),
j
=
C
,
E
=
o
,
I
=
p
,
A
=
m
;
return
n
(),
d
(
E
,{
class
:
"addressPage"
},{
default
:
c
((()
=>
[
l
(
y
),
l
(
w
,{
title
:
"收货地址"
}),
l
(
E
,{
class
:
"cons"
},{
default
:
c
((()
=>
[
l
(
E
,{
class
:
"data-box"
},{
default
:
c
((()
=>
[(
n
(
!
0
),
r
(
u
,
null
,
_
(
b
.
list
,((
s
,
e
)
=>
(
n
(),
d
(
E
,{
class
:
k
([
"group"
,{
hkk
:
s
.
checkedx
}]),
key
:
e
,
onClick
:
e
=>
x
.
setChoose
(
s
.
address_id
)},{
default
:
c
((()
=>
[
l
(
E
,{
class
:
"t row verCenter"
},{
default
:
c
((()
=>
[
l
(
j
,{
class
:
"tet"
},{
default
:
c
((()
=>
[
f
(
v
(
"中国"
!=
s
.
nation_cn
?
s
.
nation_cn
:
""
)
+
" "
+
v
(
s
.
province_val
)
+
" "
+
v
(
s
.
city_val
)
+
" "
+
v
(
s
.
district_val
)
+
" "
+
v
(
s
.
consignee
),
1
)])),
_
:
2
},
1024
),
1
==
s
.
is_default
?(
n
(),
d
(
j
,{
key
:
0
,
class
:
"mr row verCenter rowCenter"
},{
default
:
c
((()
=>
[
f
(
"默认"
)])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
2
},
1024
),
l
(
E
,{
class
:
"c"
},{
default
:
c
((()
=>
[
f
(
v
(
s
.
detail_address
),
1
)])),
_
:
2
},
1024
),
l
(
E
,{
class
:
"b row bothSide"
},{
default
:
c
((()
=>
[
b
.
form
?(
n
(),
d
(
E
,{
key
:
1
})):(
n
(),
d
(
E
,{
key
:
0
,
class
:
"l row verCenter"
,
onClick
:
e
=>
x
.
setdefault
(
s
.
address_id
)},{
default
:
c
((()
=>
[
l
(
j
,{
class
:
k
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
1
==
s
.
is_default
}])},
null
,
8
,[
"class"
]),
l
(
j
,
null
,{
default
:
c
((()
=>
[
f
(
v
(
1
==
s
.
is_default
?
"已默认"
:
"设为默认"
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
])),
l
(
E
,{
class
:
"r row verCenter"
},{
default
:
c
((()
=>
[
l
(
j
,{
onClick
:
g
((
e
=>
x
.
deleteAdress
(
s
.
address_id
)),[
"stop"
])},{
default
:
c
((()
=>
[
f
(
"删除"
)])),
_
:
2
},
1032
,[
"onClick"
]),
l
(
E
,{
onClick
:
g
((
e
=>
x
.
goUpdate
(
s
.
address_id
)),[
"stop"
])},{
default
:
c
((()
=>
[
f
(
"修改"
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
}),
b
.
isInit
&&
0
==
b
.
list
.
length
?(
n
(),
d
(
E
,{
key
:
0
,
class
:
"no-data"
},{
default
:
c
((()
=>
[
l
(
I
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/07/676f987065320e89a68d473ec62c8cea.png"
}),
l
(
E
,
null
,{
default
:
c
((()
=>
[
f
(
"暂无地址信息!"
)])),
_
:
1
})])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
1
}),
l
(
E
,{
class
:
"foot"
},{
default
:
c
((()
=>
[
l
(
A
,{
url
:
"/pages/user/addressAdd"
,
class
:
"btn"
},{
default
:
c
((()
=>
[
f
(
"新增收货地址"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-299b87fd"
]]);
export
{
j
as
default
};
unpackage/dist/build/web/assets/pages-user-addressAdd.s6Hi950E.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
U
as
a
,
r
as
t
,
c
as
l
,
w
as
i
,
i
as
s
,
o
as
r
,
d
as
n
,
e
as
o
,
t
as
d
,
v
as
u
,
m
as
c
,
I
as
m
,
H
as
h
,
V
as
f
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
p
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
v
,
b
as
g
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
_
}
from
"./title_nav.dc5elgbU.js"
;
const
x
=
v
({
data
:()
=>
({
multiArray
:[[],[],[]],
multiIndex
:[
0
,
0
,
0
],
selectText
:
"请选择省市区"
,
formParams
:{
consignee
:
""
,
province_id
:
""
,
city_id
:
""
,
district_id
:
""
,
detail_address
:
""
,
is_default
:
0
,
mobile
:
""
,
intl_code
:
"0086"
},
areaIndex
:
0
,
areaArray
:[{
name
:
"0086(中国大陆)"
,
value
:
"0086"
}]}),
onLoad
:
function
(){},
onShow
(){
this
.
getProvince
()},
methods
:{
bindPickerChange
:
function
(
e
,
a
){
this
.
areaIndex
=
e
.
detail
.
value
,
this
.
formParams
.
intl_code
=
this
.
areaArray
[
e
.
detail
.
value
].
value
},
onSwitchChange
(
e
){
this
.
formParams
.
is_default
=
e
.
detail
.
value
?
1
:
0
},
bindMultiPickerColumnChange
(
e
){
console
.
log
(
e
.
detail
),
0
===
e
.
detail
.
column
?(
this
.
multiIndex
[
0
]
=
e
.
detail
.
value
,
this
.
getCity
(
this
.
multiArray
[
0
][
e
.
detail
.
value
].
value
,
!
0
),
this
.
multiIndex
.
splice
(
1
,
1
,
0
),
this
.
multiIndex
.
splice
(
2
,
1
,
0
)):
1
===
e
.
detail
.
column
?(
this
.
multiIndex
[
1
]
=
e
.
detail
.
value
,
this
.
getDistrict
(
this
.
multiArray
[
1
][
e
.
detail
.
value
].
value
),
this
.
multiIndex
.
splice
(
2
,
1
,
0
)):
2
===
e
.
detail
.
column
&&
(
this
.
multiIndex
[
2
]
=
e
.
detail
.
value
),
this
.
$forceUpdate
()},
pickerChange
(
e
){
this
.
multiIndex
=
e
.
detail
.
value
,
this
.
formParams
.
province_id
=
this
.
multiArray
[
0
][
this
.
multiIndex
[
0
]].
value
,
this
.
formParams
.
city_id
=
this
.
multiArray
[
1
][
this
.
multiIndex
[
1
]].
value
,
this
.
formParams
.
district_id
=
this
.
multiArray
[
2
][
this
.
multiIndex
[
2
]].
value
,
this
.
selectText
=
""
+
(
this
.
multiArray
[
0
][
this
.
multiIndex
[
0
]].
name
+
","
+
this
.
multiArray
[
1
][
this
.
multiIndex
[
1
]].
name
+
","
+
this
.
multiArray
[
2
][
this
.
multiIndex
[
2
]].
name
)},
getProvince
(
e
=
1
){
console
.
log
(
"获取省数据id:"
+
e
),
this
.
request
(
p
+
"/api/address/getOptions"
,
"GET"
,{
id
:
e
},
!
1
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
var
a
=
[];
for
(
var
t
in
e
.
data
)
a
.
push
({
name
:
e
.
data
[
t
],
value
:
parseInt
(
t
)});
this
.
multiArray
[
0
]
=
a
,
this
.
getCity
(
2
,
!
0
),
this
.
$forceUpdate
()}}))},
getCity
(
e
,
a
){
console
.
log
(
"获取市数据id:"
+
e
),
this
.
request
(
p
+
"/api/address/getOptions"
,
"GET"
,{
id
:
e
},
!
1
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
var
t
=
[];
for
(
var
l
in
e
.
data
)
t
.
push
({
name
:
e
.
data
[
l
],
value
:
parseInt
(
l
)});
this
.
multiArray
[
1
]
=
t
,
a
&&
this
.
getDistrict
(
t
[
0
].
value
),
this
.
$forceUpdate
()}}))},
getDistrict
(
e
){
console
.
log
(
"获取区数据id:"
+
e
),
this
.
request
(
p
+
"/api/address/getOptions"
,
"GET"
,{
id
:
e
},
!
1
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
var
a
=
[];
for
(
var
t
in
e
.
data
)
a
.
push
({
name
:
e
.
data
[
t
],
value
:
parseInt
(
t
)});
this
.
multiArray
[
2
]
=
a
,
this
.
$forceUpdate
()}}))},
create
(){
if
(
!
this
.
formParams
.
consignee
)
return
e
({
title
:
"请输入收货人"
,
icon
:
"none"
}),
!
1
;
return
!
this
.
formParams
.
mobile
||
"0086"
==
this
.
formParams
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
formParams
.
mobile
)?(
e
({
title
:
"请输入正确的手机号"
,
icon
:
"none"
}),
!
1
):
this
.
formParams
.
province_id
?
this
.
formParams
.
detail_address
?
void
this
.
request
(
p
+
"/api/address/add"
,
"POST"
,
this
.
formParams
,
!
0
).
then
((
t
=>
{
0
===
t
.
code
?(
e
({
title
:
"新增地址成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
a
({
delta
:
1
})}),
2
e3
)):
e
({
title
:
t
.
msg
,
icon
:
"none"
})})):(
e
({
title
:
"请输入详细街道地址"
,
icon
:
"none"
}),
!
1
):(
e
({
title
:
"请选择省市区"
,
icon
:
"none"
}),
!
1
)}},
components
:{
barX
:
g
,
titleNav
:
_
}},[[
"render"
,
function
(
e
,
a
,
p
,
v
,
g
,
_
){
const
x
=
t
(
"barX"
),
y
=
t
(
"titleNav"
),
C
=
c
,
P
=
m
,
b
=
s
,
I
=
h
,
A
=
f
;
return
r
(),
l
(
b
,{
class
:
"addressAddPage"
},{
default
:
i
((()
=>
[
n
(
x
),
n
(
y
,{
title
:
"新增收货地址"
}),
n
(
b
,{
class
:
"cons"
},{
default
:
i
((()
=>
[
n
(
b
,{
class
:
"input-box"
},{
default
:
i
((()
=>
[
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
i
((()
=>
[
n
(
C
,{
class
:
"label"
},{
default
:
i
((()
=>
[
o
(
"收货人"
)])),
_
:
1
}),
n
(
P
,{
type
:
"text"
,
placeholder
:
"请输入收货人"
,
modelValue
:
g
.
formParams
.
consignee
,
"onUpdate:modelValue"
:
a
[
0
]
||
(
a
[
0
]
=
e
=>
g
.
formParams
.
consignee
=
e
),
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
i
((()
=>
[
n
(
C
,{
class
:
"label"
},{
default
:
i
((()
=>
[
o
(
"手机号"
)])),
_
:
1
}),
n
(
I
,{
onChange
:
a
[
1
]
||
(
a
[
1
]
=
e
=>
_
.
bindPickerChange
(
e
)),
value
:
g
.
areaIndex
,
range
:
g
.
areaArray
,
"range-key"
:
"name"
},{
default
:
i
((()
=>
[
n
(
b
,{
class
:
"areabox-but"
},{
default
:
i
((()
=>
[
n
(
C
,{
class
:
"but-val"
},{
default
:
i
((()
=>
[
o
(
d
(
g
.
areaArray
[
g
.
areaIndex
].
value
),
1
)])),
_
:
1
}),
n
(
C
,{
class
:
"icon iconfont icon-arrowxia"
})])),
_
:
1
})])),
_
:
1
},
8
,[
"value"
,
"range"
]),
n
(
P
,{
type
:
"number"
,
modelValue
:
g
.
formParams
.
mobile
,
"onUpdate:modelValue"
:
a
[
2
]
||
(
a
[
2
]
=
e
=>
g
.
formParams
.
mobile
=
e
),
placeholder
:
"请输入手机号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
i
((()
=>
[
n
(
C
,{
class
:
"label"
},{
default
:
i
((()
=>
[
o
(
"收货地区"
)])),
_
:
1
}),
n
(
I
,{
mode
:
"multiSelector"
,
onChange
:
_
.
pickerChange
,
onColumnchange
:
_
.
bindMultiPickerColumnChange
,
value
:
g
.
multiIndex
,
range
:
g
.
multiArray
,
"range-key"
:
"name"
},{
default
:
i
((()
=>
[
n
(
b
,{
class
:
u
([
"uni-input"
,{
color666
:
"请选择省市区"
==
g
.
selectText
}])},{
default
:
i
((()
=>
[
o
(
d
(
g
.
selectText
),
1
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
},
8
,[
"onChange"
,
"onColumnchange"
,
"value"
,
"range"
])])),
_
:
1
}),
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
i
((()
=>
[
n
(
C
,{
class
:
"label"
},{
default
:
i
((()
=>
[
o
(
"详细地址"
)])),
_
:
1
}),
n
(
P
,{
type
:
"text"
,
modelValue
:
g
.
formParams
.
detail_address
,
"onUpdate:modelValue"
:
a
[
3
]
||
(
a
[
3
]
=
e
=>
g
.
formParams
.
detail_address
=
e
),
placeholder
:
"请输入详细地址"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
}),
n
(
b
,{
class
:
"setting-default row verCenter bothSide"
},{
default
:
i
((()
=>
[
n
(
b
,{
class
:
"tt"
},{
default
:
i
((()
=>
[
n
(
b
,
null
,{
default
:
i
((()
=>
[
o
(
"设为默认地址"
)])),
_
:
1
}),
o
(
" 下单时会优先使用该地址 "
)])),
_
:
1
}),
n
(
b
,
null
,{
default
:
i
((()
=>
[
n
(
A
,{
onChange
:
_
.
onSwitchChange
,
color
:
"#D0121B"
,
style
:{
transform
:
"scale(0.8)"
}},
null
,
8
,[
"onChange"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
n
(
b
,{
class
:
"foot"
},{
default
:
i
((()
=>
[
n
(
b
,{
class
:
"btn"
,
onClick
:
_
.
create
},{
default
:
i
((()
=>
[
o
(
"确认"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-79375a06"
]]);
export
{
x
as
default
};
unpackage/dist/build/web/assets/pages-user-addressEdit.DC20JCTm.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
U
as
a
,
r
as
t
,
c
as
i
,
w
as
s
,
i
as
l
,
o
as
r
,
d
,
e
as
n
,
t
as
o
,
m
,
I
as
u
,
H
as
c
,
V
as
h
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
f
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
p
,
b
as
_
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
v
}
from
"./title_nav.dc5elgbU.js"
;
const
g
=
p
({
data
:()
=>
({
multiArray
:[[],[],[]],
multiIndex
:[
0
,
0
,
0
],
selectText
:
"请选择省市区"
,
formParams
:{
consignee
:
""
,
province_id
:
""
,
city_id
:
""
,
district_id
:
""
,
detail_address
:
""
,
is_default
:
1
,
mobile
:
""
,
intl_code
:
"0086"
,
address_id
:
""
},
areaIndex
:
0
,
areaArray
:[{
name
:
"0086(中国大陆)"
,
value
:
"0086"
},{
name
:
"00852(中国香港)"
,
value
:
"00852"
},{
name
:
"00853(中国澳门)"
,
value
:
"00853"
},{
name
:
"00886(中国台湾)"
,
value
:
"00886"
},{
name
:
"0066(泰国)"
,
value
:
"0066"
},{
name
:
"0084(越南)"
,
value
:
"0084"
}]}),
onLoad
:
function
(
e
){
this
.
formParams
.
address_id
=
e
.
address_id
||
""
},
onShow
(){
this
.
getData
()},
methods
:{
getData
(){
this
.
request
(
f
+
"/api/address/getList"
,
"get"
,{
p
:
1
},
!
0
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
let
a
=
e
.
data
.
list
.
filter
((
e
=>
e
.
address_id
==
this
.
formParams
.
address_id
))[
0
];
this
.
formParams
.
consignee
=
a
.
consignee
,
this
.
formParams
.
mobile
=
a
.
mobile
,
this
.
selectText
=
""
+
(
a
.
province_val
+
","
+
a
.
city_val
+
","
+
a
.
district_val
),
this
.
formParams
.
province_id
=
a
.
province
,
this
.
formParams
.
city_id
=
a
.
city
,
this
.
formParams
.
district_id
=
a
.
district
,
this
.
formParams
.
detail_address
=
a
.
detail_address
,
this
.
formParams
.
is_default
=
a
.
is_default
,
this
.
formParams
.
intl_code
=
a
.
intl_code
,
this
.
getProvince
(
1
,
this
.
formParams
.
province_id
);
let
t
=
this
.
findIndexFilte
(
this
.
areaArray
,
this
.
formParams
.
intl_code
);
this
.
areaIndex
=
t
}}))},
bindPickerChange
:
function
(
e
,
a
){
this
.
areaIndex
=
e
.
detail
.
value
,
this
.
formParams
.
intl_code
=
this
.
areaArray
[
e
.
detail
.
value
].
value
},
onSwitchChange
(
e
){
this
.
formParams
.
is_default
=
e
.
detail
.
value
?
1
:
0
},
findIndex
(
e
,
a
){
const
t
=
[];
return
e
.
map
(((
e
,
i
)
=>
{
e
.
value
==
a
&&
t
.
push
(
i
)})),
t
},
findIndexFilte
(
e
,
a
){
const
t
=
[];
return
e
.
map
(((
e
,
i
)
=>
{
e
.
value
==
a
&&
t
.
push
(
i
)})),
t
},
bindMultiPickerColumnChange
(
e
){
console
.
log
(
e
.
detail
),
0
===
e
.
detail
.
column
?(
this
.
multiIndex
[
0
]
=
e
.
detail
.
value
,
this
.
getCity
(
this
.
multiArray
[
0
][
e
.
detail
.
value
].
value
,
!
0
),
this
.
multiIndex
.
splice
(
1
,
1
,
0
),
this
.
multiIndex
.
splice
(
2
,
1
,
0
)):
1
===
e
.
detail
.
column
?(
this
.
multiIndex
[
1
]
=
e
.
detail
.
value
,
this
.
getDistrict
(
this
.
multiArray
[
1
][
e
.
detail
.
value
].
value
),
this
.
multiIndex
.
splice
(
2
,
1
,
0
)):
2
===
e
.
detail
.
column
&&
(
this
.
multiIndex
[
2
]
=
e
.
detail
.
value
),
this
.
$forceUpdate
()},
pickerChange
(
e
){
this
.
multiIndex
=
e
.
detail
.
value
,
this
.
formParams
.
province_id
=
this
.
multiArray
[
0
][
this
.
multiIndex
[
0
]].
value
,
this
.
formParams
.
city_id
=
this
.
multiArray
[
1
][
this
.
multiIndex
[
1
]].
value
,
this
.
formParams
.
district_id
=
this
.
multiArray
[
2
][
this
.
multiIndex
[
2
]].
value
,
this
.
selectText
=
""
+
(
this
.
multiArray
[
0
][
this
.
multiIndex
[
0
]].
name
+
","
+
this
.
multiArray
[
1
][
this
.
multiIndex
[
1
]].
name
+
","
+
this
.
multiArray
[
2
][
this
.
multiIndex
[
2
]].
name
)},
getProvince
(
e
=
1
,
a
){
this
.
request
(
f
+
"/api/address/getOptions"
,
"GET"
,{
id
:
e
},
!
1
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
var
t
=
[];
for
(
var
i
in
e
.
data
)
t
.
push
({
name
:
e
.
data
[
i
],
value
:
parseInt
(
i
)});
if
(
this
.
multiArray
[
0
]
=
t
,
a
){
let
e
=
this
.
findIndex
(
t
,
a
);
this
.
multiIndex
.
splice
(
0
,
1
,
e
[
0
])}
this
.
getCity
(
this
.
formParams
.
province_id
,
this
.
formParams
.
city_id
),
this
.
$forceUpdate
()}}))},
getCity
(
e
,
a
){
console
.
log
(
"获取市数据id:"
+
e
),
this
.
request
(
f
+
"/api/address/getOptions"
,
"GET"
,{
id
:
e
},
!
1
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
var
t
=
[];
for
(
var
i
in
e
.
data
)
t
.
push
({
name
:
e
.
data
[
i
],
value
:
parseInt
(
i
)});
if
(
this
.
multiArray
[
1
]
=
t
,
a
){
let
e
=
this
.
findIndex
(
t
,
a
);
this
.
multiIndex
.
splice
(
1
,
1
,
e
[
0
]),
this
.
getDistrict
(
this
.
formParams
.
city_id
,
this
.
formParams
.
district_id
)}
this
.
$forceUpdate
()}}))},
getDistrict
(
e
,
a
){
console
.
log
(
"获取区数据id:"
+
e
),
this
.
request
(
f
+
"/api/address/getOptions"
,
"GET"
,{
id
:
e
},
!
1
,
!
0
).
then
((
e
=>
{
if
(
0
===
e
.
code
){
var
t
=
[];
for
(
var
i
in
e
.
data
)
t
.
push
({
name
:
e
.
data
[
i
],
value
:
parseInt
(
i
)});
if
(
this
.
multiArray
[
2
]
=
t
,
a
){
let
e
=
this
.
findIndex
(
t
,
a
);
this
.
multiIndex
.
splice
(
2
,
1
,
e
[
0
])}
this
.
$forceUpdate
()}}))},
create
(){
if
(
!
this
.
formParams
.
consignee
)
return
e
({
title
:
"请输入收货人"
,
icon
:
"none"
}),
!
1
;
return
!
this
.
formParams
.
mobile
||
"0086"
==
this
.
formParams
.
intl_code
&&!
/^1
(
3
[
0-9
]
|4
[
01456879
]
|5
[
0-35-9
]
|6
[
2567
]
|7
[
0-8
]
|8
[
0-9
]
|9
[
0-35-9
])\d{8}
$/
.
test
(
this
.
formParams
.
mobile
)?(
e
({
title
:
"请输入正确的手机号"
,
icon
:
"none"
}),
!
1
):
this
.
formParams
.
province_id
?
this
.
formParams
.
detail_address
?
void
this
.
request
(
f
+
"/api/address/update"
,
"POST"
,
this
.
formParams
,
!
0
).
then
((
t
=>
{
0
===
t
.
code
?(
e
({
title
:
"编辑地址成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
a
({
delta
:
1
})}),
2
e3
)):
e
({
title
:
t
.
msg
,
icon
:
"none"
})})):(
e
({
title
:
"请输入详细街道地址"
,
icon
:
"none"
}),
!
1
):(
e
({
title
:
"请选择省市区"
,
icon
:
"none"
}),
!
1
)}},
components
:{
barX
:
_
,
titleNav
:
v
}},[[
"render"
,
function
(
e
,
a
,
f
,
p
,
_
,
v
){
const
g
=
t
(
"barX"
),
P
=
t
(
"titleNav"
),
x
=
m
,
y
=
u
,
I
=
l
,
b
=
c
,
C
=
h
;
return
r
(),
i
(
I
,{
class
:
"addressAddPage"
},{
default
:
s
((()
=>
[
d
(
g
),
d
(
P
,{
title
:
"编辑收货地址"
}),
d
(
I
,{
class
:
"cons"
},{
default
:
s
((()
=>
[
d
(
I
,{
class
:
"input-box"
},{
default
:
s
((()
=>
[
d
(
I
,{
class
:
"input-group row verCenter"
},{
default
:
s
((()
=>
[
d
(
x
,{
class
:
"label"
},{
default
:
s
((()
=>
[
n
(
"收货人"
)])),
_
:
1
}),
d
(
y
,{
type
:
"text"
,
placeholder
:
"请输入收货人"
,
modelValue
:
_
.
formParams
.
consignee
,
"onUpdate:modelValue"
:
a
[
0
]
||
(
a
[
0
]
=
e
=>
_
.
formParams
.
consignee
=
e
),
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
d
(
I
,{
class
:
"input-group row verCenter"
},{
default
:
s
((()
=>
[
d
(
x
,{
class
:
"label"
},{
default
:
s
((()
=>
[
n
(
"手机号"
)])),
_
:
1
}),
d
(
b
,{
onChange
:
a
[
1
]
||
(
a
[
1
]
=
e
=>
v
.
bindPickerChange
(
e
)),
value
:
_
.
areaIndex
,
range
:
_
.
areaArray
,
"range-key"
:
"name"
},{
default
:
s
((()
=>
[
d
(
x
,{
class
:
"areabox-but"
},{
default
:
s
((()
=>
[
d
(
x
,{
class
:
"but-val"
},{
default
:
s
((()
=>
[
n
(
o
(
_
.
areaArray
[
_
.
areaIndex
].
value
),
1
)])),
_
:
1
}),
d
(
x
,{
class
:
"icon iconfont icon-arrowxia"
})])),
_
:
1
})])),
_
:
1
},
8
,[
"value"
,
"range"
]),
d
(
y
,{
type
:
"number"
,
modelValue
:
_
.
formParams
.
mobile
,
"onUpdate:modelValue"
:
a
[
2
]
||
(
a
[
2
]
=
e
=>
_
.
formParams
.
mobile
=
e
),
placeholder
:
"请输入手机号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
d
(
I
,{
class
:
"input-group row verCenter"
},{
default
:
s
((()
=>
[
d
(
x
,{
class
:
"label"
},{
default
:
s
((()
=>
[
n
(
"收货地区"
)])),
_
:
1
}),
d
(
b
,{
mode
:
"multiSelector"
,
onChange
:
v
.
pickerChange
,
onColumnchange
:
v
.
bindMultiPickerColumnChange
,
value
:
_
.
multiIndex
,
range
:
_
.
multiArray
,
"range-key"
:
"name"
},{
default
:
s
((()
=>
[
d
(
I
,{
class
:
"uni-input"
},{
default
:
s
((()
=>
[
n
(
o
(
_
.
selectText
),
1
)])),
_
:
1
})])),
_
:
1
},
8
,[
"onChange"
,
"onColumnchange"
,
"value"
,
"range"
])])),
_
:
1
}),
d
(
I
,{
class
:
"input-group row verCenter"
},{
default
:
s
((()
=>
[
d
(
x
,{
class
:
"label"
},{
default
:
s
((()
=>
[
n
(
"详细地址"
)])),
_
:
1
}),
d
(
y
,{
type
:
"text"
,
modelValue
:
_
.
formParams
.
detail_address
,
"onUpdate:modelValue"
:
a
[
3
]
||
(
a
[
3
]
=
e
=>
_
.
formParams
.
detail_address
=
e
),
placeholder
:
"请输入详细地址"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
}),
d
(
I
,{
class
:
"setting-default row verCenter bothSide"
},{
default
:
s
((()
=>
[
d
(
I
,{
class
:
"tt"
},{
default
:
s
((()
=>
[
d
(
I
,
null
,{
default
:
s
((()
=>
[
n
(
"设为默认地址"
)])),
_
:
1
}),
n
(
" 下单时会优先使用该地址 "
)])),
_
:
1
}),
d
(
I
,
null
,{
default
:
s
((()
=>
[
d
(
C
,{
onChange
:
v
.
onSwitchChange
,
checked
:
1
==
_
.
formParams
.
is_default
,
color
:
"#D0121B"
,
style
:{
transform
:
"scale(0.8)"
}},
null
,
8
,[
"onChange"
,
"checked"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
d
(
I
,{
class
:
"foot"
},{
default
:
s
((()
=>
[
d
(
I
,{
class
:
"btn"
,
onClick
:
v
.
create
},{
default
:
s
((()
=>
[
n
(
"确认"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-b897a322"
]]);
export
{
g
as
default
};
unpackage/dist/build/web/assets/pages-user-companyInfo.DFpllNtY.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
a
,
n
as
e
,
r
as
o
,
c
as
t
,
w
as
l
,
i
as
s
,
o
as
r
,
d
as
i
,
e
as
m
,
m
as
n
,
I
as
d
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
c
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
u
,
b
as
f
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
p
}
from
"./title_nav.dc5elgbU.js"
;
const
h
=
u
({
data
:()
=>
({
id
:
""
,
dis
:
!
1
,
formParams
:{
com_name
:
""
,
tax_no
:
""
,
com_tel
:
""
,
com_addr
:
""
,
contact_person
:
""
,
contact_phone
:
""
,
email
:
""
},
certification
:[]}),
onLoad
:
function
(
a
){
this
.
id
=
a
.
id
||
""
,
console
.
log
(
this
.
id
),
this
.
id
&&
(
this
.
dis
=!
0
,
this
.
getData
())},
onShow
(){},
methods
:{
getData
(){
this
.
request
(
c
+
"/api/user/info"
,
"GET"
,{},
!
0
).
then
((
a
=>
{
if
(
0
==
a
.
code
){
let
e
=
a
.
data
.
certification
||
[];
this
.
certification
=
e
.
filter
((
a
=>
a
.
id
==
this
.
id
)),
this
.
formParams
=
{...
this
.
certification
[
0
]}}}))},
tianyancha
(){
this
.
formParams
.
com_name
&&
this
.
request
(
c
+
"/api/user/tianyancha"
,
"GET"
,{
company_name
:
this
.
formParams
.
com_name
},
!
1
).
then
((
e
=>
{
0
==
e
.
code
?(
e
.
data
.
com_name
||
a
({
title
:
"天眼查没有查到该公司信息"
,
icon
:
"none"
}),
e
.
data
.
com_name
&&
(
this
.
formParams
.
com_name
=
e
.
data
.
com_name
),
this
.
formParams
.
tax_no
=
e
.
data
.
tax_number
,
this
.
formParams
.
com_tel
=
e
.
data
.
phone_number
,
this
.
formParams
.
com_addr
=
e
.
data
.
com_address
):
a
({
title
:
e
.
msg
,
icon
:
"none"
})}))},
changeTab
(
a
){
this
.
formParams
.
inv_type
=
a
,
console
.
log
(
this
.
formParams
.
inv_type
)},
onSwitchChange
(
a
){
this
.
formParams
.
is_default
=
a
.
detail
.
value
?
1
:
0
},
submitI
(){
if
(
!
this
.
formParams
.
com_name
)
return
void
a
({
title
:
"公司名称不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
tax_no
)
return
void
a
({
title
:
"公司税号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
com_tel
)
return
void
a
({
title
:
"公司电话不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
com_addr
)
return
void
a
({
title
:
"注册地址不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
contact_person
)
return
void
a
({
title
:
"联系人不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
contact_phone
)
return
void
a
({
title
:
"联系电话不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
email
)
return
void
a
({
title
:
"邮箱不能为空"
,
icon
:
"none"
});
let
o
=
"/api/com/add"
;
this
.
id
&&
(
this
.
formParams
.
id
=
this
.
id
,
o
=
"/api/com/edit"
),
this
.
request
(
c
+
o
,
"POST"
,
this
.
formParams
,
!
0
).
then
((
o
=>
{
0
==
o
.
code
?(
a
({
title
:
this
.
id
?
"编辑成功"
:
"新增成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
e
({
url
:
"/pages/user/companyInfoList"
})}),
2
e3
)):
a
({
title
:
o
.
msg
,
icon
:
"none"
})}))}},
components
:{
barX
:
f
,
titleNav
:
p
}},[[
"render"
,
function
(
a
,
e
,
c
,
u
,
f
,
p
){
const
h
=
o
(
"barX"
),
_
=
o
(
"titleNav"
),
P
=
n
,
b
=
d
,
v
=
s
;
return
r
(),
t
(
v
,{
class
:
"companyInfoPage"
},{
default
:
l
((()
=>
[
i
(
h
),
i
(
_
,{
title
:
"资料管理"
}),
i
(
v
,{
class
:
"cons"
},{
default
:
l
((()
=>
[
i
(
v
,{
class
:
"input-box"
},{
default
:
l
((()
=>
[
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"公司名称"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
com_name
,
"onUpdate:modelValue"
:
e
[
0
]
||
(
e
[
0
]
=
a
=>
f
.
formParams
.
com_name
=
a
),
placeholder
:
"请输入公司名称"
,
"placeholder-class"
:
"placeholder-class"
,
onBlur
:
e
[
1
]
||
(
e
[
1
]
=
a
=>
p
.
tianyancha
()),
disabled
:
f
.
dis
},
null
,
8
,[
"modelValue"
,
"disabled"
])])),
_
:
1
}),
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"公司税号"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
tax_no
,
"onUpdate:modelValue"
:
e
[
2
]
||
(
e
[
2
]
=
a
=>
f
.
formParams
.
tax_no
=
a
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"公司电话"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
com_tel
,
"onUpdate:modelValue"
:
e
[
3
]
||
(
e
[
3
]
=
a
=>
f
.
formParams
.
com_tel
=
a
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"注册地址"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
com_addr
,
"onUpdate:modelValue"
:
e
[
4
]
||
(
e
[
4
]
=
a
=>
f
.
formParams
.
com_addr
=
a
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"联系人"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
contact_person
,
"onUpdate:modelValue"
:
e
[
5
]
||
(
e
[
5
]
=
a
=>
f
.
formParams
.
contact_person
=
a
),
placeholder
:
"请输入联系人"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"联系电话"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
contact_phone
,
"onUpdate:modelValue"
:
e
[
6
]
||
(
e
[
6
]
=
a
=>
f
.
formParams
.
contact_phone
=
a
),
placeholder
:
"请输入联系电话"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
i
(
v
,{
class
:
"input-group row verCenter"
},{
default
:
l
((()
=>
[
i
(
P
,{
class
:
"label required"
},{
default
:
l
((()
=>
[
m
(
"邮箱"
)])),
_
:
1
}),
i
(
b
,{
type
:
"text"
,
modelValue
:
f
.
formParams
.
email
,
"onUpdate:modelValue"
:
e
[
7
]
||
(
e
[
7
]
=
a
=>
f
.
formParams
.
email
=
a
),
placeholder
:
"请输入邮箱"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
i
(
v
,{
class
:
"foot"
},{
default
:
l
((()
=>
[
i
(
v
,{
class
:
"btn"
,
onClick
:
e
[
8
]
||
(
e
[
8
]
=
a
=>
p
.
submitI
())},{
default
:
l
((()
=>
[
m
(
"保存"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-1d8911ee"
]]);
export
{
h
as
default
};
unpackage/dist/build/web/assets/pages-user-companyInfoList.D2lDff_R.js
deleted
100644 → 0
View file @
d46cc593
import
{
n
as
t
,
y
as
s
,
b
as
e
,
r
as
a
,
c
as
i
,
w
as
l
,
i
as
o
,
o
as
c
,
d
as
n
,
h
as
d
,
j
as
r
,
F
as
u
,
e
as
f
,
f
as
_
,
k
as
m
,
l
as
h
,
t
as
p
,
v
as
g
,
p
as
k
,
m
as
C
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
b
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
v
,
b
as
w
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
I
}
from
"./title_nav.dc5elgbU.js"
;
const
y
=
v
({
data
:()
=>
({
isInit
:
!
1
,
list
:[]}),
onLoad
:
function
(
t
){
this
.
form
=
t
.
form
||
""
},
onShow
(){
this
.
getData
()},
methods
:{
goUpdate
(
s
){
t
({
url
:
"/pages/user/companyInfo?id="
+
s
})},
deleteAdress
(
t
){
s
({
title
:
""
,
content
:
"您确定删除当前企业信息吗?"
,
success
:
s
=>
{
s
.
confirm
&&
this
.
request
(
b
+
"/api/com/del"
,
"POST"
,{
id
:
t
},
!
0
).
then
((
t
=>
{
0
===
t
.
code
?(
e
({
title
:
"删除成功"
,
icon
:
"success"
}),
this
.
getData
(
1
)):
e
({
title
:
t
.
msg
,
icon
:
"none"
})}))}})},
setdefault
(
t
){
this
.
request
(
b
+
"/api/com/setDefault"
,
"POST"
,{
id
:
t
},
!
0
).
then
((
t
=>
{
0
===
t
.
code
?(
e
({
title
:
"设置成功"
,
icon
:
"success"
}),
this
.
getData
(
1
)):
e
({
title
:
t
.
err_msg
,
icon
:
"none"
})}))},
getData
(
t
){
this
.
request
(
b
+
"/api/user/info"
,
"GET"
,{},
!
t
).
then
((
t
=>
{
if
(
0
==
t
.
code
){
this
.
isInit
=
1
;
let
s
=
t
.
data
.
certification
||
[];
s
.
forEach
(((
t
,
s
)
=>
{
t
.
is_default
=
0
==
s
?
1
:
0
})),
this
.
list
=
s
}
else
this
.
isInit
=
1
,
this
.
list
=
[]}))}},
components
:{
barX
:
w
,
titleNav
:
I
}},[[
"render"
,
function
(
t
,
s
,
e
,
b
,
v
,
w
){
const
I
=
a
(
"barX"
),
y
=
a
(
"titleNav"
),
j
=
C
,
D
=
o
,
x
=
m
,
S
=
h
;
return
c
(),
i
(
D
,{
class
:
"companyInfoListPage"
},{
default
:
l
((()
=>
[
n
(
I
),
n
(
y
,{
title
:
"资料管理"
}),
n
(
D
,{
class
:
"cons"
},{
default
:
l
((()
=>
[
n
(
D
,{
class
:
"data-box"
},{
default
:
l
((()
=>
[(
c
(
!
0
),
d
(
u
,
null
,
r
(
v
.
list
,((
t
,
s
)
=>
(
c
(),
i
(
D
,{
class
:
"group"
,
key
:
s
},{
default
:
l
((()
=>
[
n
(
D
,{
class
:
"t row verCenter"
},{
default
:
l
((()
=>
[
n
(
j
,{
class
:
"tet"
},{
default
:
l
((()
=>
[
f
(
p
(
t
.
com_name
),
1
)])),
_
:
2
},
1024
),
1
==
t
.
is_default
?(
c
(),
i
(
j
,{
key
:
0
,
class
:
"mr row verCenter rowCenter"
},{
default
:
l
((()
=>
[
f
(
"默认"
)])),
_
:
1
})):
_
(
""
,
!
0
)])),
_
:
2
},
1024
),
n
(
D
,{
class
:
"c"
},{
default
:
l
((()
=>
[
f
(
p
(
t
.
contact_person
),
1
)])),
_
:
2
},
1024
),
n
(
D
,{
class
:
"b row bothSide"
},{
default
:
l
((()
=>
[
n
(
D
,{
class
:
"l row verCenter"
,
onClick
:
s
=>
w
.
setdefault
(
t
.
id
)},{
default
:
l
((()
=>
[
n
(
j
,{
class
:
g
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
1
==
t
.
is_default
}])},
null
,
8
,[
"class"
]),
n
(
j
,
null
,{
default
:
l
((()
=>
[
f
(
p
(
1
==
t
.
is_default
?
"已默认"
:
"设为默认"
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
]),
n
(
D
,{
class
:
"r row verCenter"
},{
default
:
l
((()
=>
[
n
(
j
,{
onClick
:
k
((
s
=>
w
.
deleteAdress
(
t
.
id
)),[
"stop"
])},{
default
:
l
((()
=>
[
f
(
"删除"
)])),
_
:
2
},
1032
,[
"onClick"
]),
n
(
D
,{
onClick
:
k
((
s
=>
w
.
goUpdate
(
t
.
id
)),[
"stop"
])},{
default
:
l
((()
=>
[
f
(
"修改"
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
}),
v
.
isInit
&&
0
==
v
.
list
.
length
?(
c
(),
i
(
D
,{
key
:
0
,
class
:
"no-data"
},{
default
:
l
((()
=>
[
n
(
x
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/07/676f987065320e89a68d473ec62c8cea.png"
}),
n
(
D
,
null
,{
default
:
l
((()
=>
[
f
(
"暂无企业信息!"
)])),
_
:
1
})])),
_
:
1
})):
_
(
""
,
!
0
)])),
_
:
1
}),
n
(
D
,{
class
:
"foot"
},{
default
:
l
((()
=>
[
n
(
S
,{
url
:
"/pages/user/companyInfo"
,
class
:
"btn"
},{
default
:
l
((()
=>
[
f
(
"新增企业资料"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-cee05245"
]]);
export
{
y
as
default
};
unpackage/dist/build/web/assets/pages-user-coupon.IuhjIWYH.js
deleted
100644 → 0
View file @
d46cc593
import
{
r
as
t
,
c
as
a
,
w
as
s
,
i
as
e
,
o
as
l
,
d
as
u
,
v
as
c
,
e
as
i
,
t
as
n
,
h
as
o
,
j
as
d
,
F
as
r
,
f
as
_
,
k
as
f
,
m
,
l
as
p
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
h
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
b
,
b
as
g
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
k
}
from
"./title_nav.dc5elgbU.js"
;
const
y
=
b
({
data
:()
=>
({
isInit
:
!
1
,
status
:
-
1
,
list
:[],
countData
:{
"-1"
:
0
,
1
:
0
,
"-2"
:
0
}}),
onLoad
:
function
(){
this
.
getData
()},
methods
:{
tab
(
t
){
this
.
status
=
t
,
this
.
getData
()},
getData
(
t
){
let
a
=
{
status
:
this
.
status
};
this
.
request
(
h
+
"/api/coupon/getList"
,
"GET"
,
a
,
!
0
).
then
((
t
=>
{
if
(
0
==
t
.
code
){
this
.
isInit
=
1
;
let
a
=
t
.
data
.
coupon_list
||
[];
this
.
list
=
a
,
this
.
countData
=
t
.
data
.
count
}
else
this
.
isInit
=
1
,
this
.
list
=
[],
this
.
countData
=
{
"-1"
:
0
,
1
:
0
,
"-2"
:
0
}}))}},
components
:{
barX
:
g
,
titleNav
:
k
}},[[
"render"
,
function
(
h
,
b
,
g
,
k
,
y
,
D
){
const
v
=
t
(
"barX"
),
x
=
t
(
"titleNav"
),
C
=
e
,
w
=
m
,
j
=
p
,
I
=
f
;
return
l
(),
a
(
C
,{
class
:
"couponPage"
},{
default
:
s
((()
=>
[
u
(
v
),
u
(
x
,{
title
:
"我的优惠券"
}),
u
(
C
,{
class
:
"tabs row rowCenter verCenter"
},{
default
:
s
((()
=>
[
u
(
C
,{
class
:
c
([
"item"
,{
act
:
-
1
==
y
.
status
}]),
onClick
:
b
[
0
]
||
(
b
[
0
]
=
t
=>
D
.
tab
(
-
1
))},{
default
:
s
((()
=>
[
i
(
"待使用("
+
n
(
y
.
countData
[
-
1
])
+
")"
,
1
)])),
_
:
1
},
8
,[
"class"
]),
u
(
C
,{
class
:
c
([
"item"
,{
act
:
1
==
y
.
status
}]),
onClick
:
b
[
1
]
||
(
b
[
1
]
=
t
=>
D
.
tab
(
1
))},{
default
:
s
((()
=>
[
i
(
"已使用("
+
n
(
y
.
countData
[
1
])
+
")"
,
1
)])),
_
:
1
},
8
,[
"class"
]),
u
(
C
,{
class
:
c
([
"item"
,{
act
:
-
2
==
y
.
status
}]),
onClick
:
b
[
2
]
||
(
b
[
2
]
=
t
=>
D
.
tab
(
-
2
))},{
default
:
s
((()
=>
[
i
(
"已失效("
+
n
(
y
.
countData
[
-
2
])
+
")"
,
1
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
u
(
C
,{
class
:
"cons"
},{
default
:
s
((()
=>
[
y
.
list
.
length
>
0
?(
l
(),
a
(
C
,{
key
:
0
,
class
:
"data-box"
},{
default
:
s
((()
=>
[(
l
(
!
0
),
o
(
r
,
null
,
d
(
y
.
list
,((
t
,
e
)
=>
(
l
(),
a
(
C
,{
class
:
c
([
"group row bothSide verCenter"
,{
sx
:
-
1
!=
t
.
status
}]),
key
:
e
},{
default
:
s
((()
=>
[
u
(
C
,{
class
:
"l row"
},{
default
:
s
((()
=>
[
u
(
C
,{
class
:
"price"
},{
default
:
s
((()
=>
[
2
==
t
.
coupon_type
?(
l
(),
a
(
w
,{
key
:
0
},{
default
:
s
((()
=>
[
i
(
"折"
),
u
(
w
,{
class
:
"textp"
},{
default
:
s
((()
=>
[
i
(
n
(
10
*
t
.
sale_amount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)):(
l
(),
a
(
w
,{
key
:
1
},{
default
:
s
((()
=>
[
i
(
n
(
t
.
currency_sign
),
1
),
u
(
w
,{
class
:
"textp"
},{
default
:
s
((()
=>
[
i
(
n
(
t
.
sale_amount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)),
u
(
C
,{
class
:
"tips"
},{
default
:
s
((()
=>
[
i
(
n
(
t
.
require_amount
<=
.
01
?
"无门槛优惠券"
:
t
.
coupon_name
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
u
(
C
,{
class
:
"yhld"
},{
default
:
s
((()
=>
[
u
(
C
,
null
,{
default
:
s
((()
=>
[
i
(
"商品优惠券"
)])),
_
:
1
}),
u
(
w
,
null
,{
default
:
s
((()
=>
[
i
(
n
(
t
.
start_time
)
+
" - "
+
n
(
t
.
end_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
u
(
C
,{
class
:
"r"
},{
default
:
s
((()
=>
[
-
1
==
t
.
status
?(
l
(),
a
(
j
,{
key
:
0
,
url
:
"/pages/car/list"
},{
default
:
s
((()
=>
[
u
(
C
,{
class
:
"boxjk"
},{
default
:
s
((()
=>
[
u
(
C
,{
class
:
"rbtn row verCenter rowCenter"
},{
default
:
s
((()
=>
[
u
(
C
,
null
,{
default
:
s
((()
=>
[
i
(
"使用"
)])),
_
:
1
}),
u
(
w
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):(
l
(),
a
(
C
,{
key
:
1
,
class
:
"alread"
},{
default
:
s
((()
=>
[
i
(
n
(
1
==
t
.
status
?
"已使用"
:
"已失效"
),
1
)])),
_
:
2
},
1024
))])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"class"
])))),
128
))])),
_
:
1
})):
_
(
""
,
!
0
),
y
.
isInit
&&
0
==
y
.
list
.
length
?(
l
(),
a
(
C
,{
key
:
1
,
class
:
"no-data"
},{
default
:
s
((()
=>
[
u
(
I
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/b0ca7a44c94cdd5a1446cae9198160eb.png"
}),
u
(
C
,
null
,{
default
:
s
((()
=>
[
i
(
"暂无优惠券!"
)])),
_
:
1
})])),
_
:
1
})):
_
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-e812e26d"
]]);
export
{
y
as
default
};
unpackage/dist/build/web/assets/pages-user-invoice.B8hM4kA3.js
deleted
100644 → 0
View file @
d46cc593
import
{
n
as
e
,
y
as
t
,
b
as
s
,
r
as
i
,
c
as
a
,
w
as
l
,
i
as
d
,
o
,
d
as
c
,
h
as
n
,
j
as
u
,
F
as
_
,
f
as
r
,
e
as
f
,
k
as
h
,
l
as
p
,
v
as
k
,
t
as
m
,
p
as
x
,
m
as
v
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
g
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
C
,
b
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
y
}
from
"./title_nav.dc5elgbU.js"
;
const
w
=
C
({
data
:()
=>
({
isInit
:
!
1
,
form
:
""
,
address_id
:
""
,
coupon_id
:
""
,
invoice_id
:
""
,
list
:[]}),
onLoad
:
function
(
e
){
this
.
invoice_id
=
e
.
invoice_id
||
""
,
this
.
form
=
e
.
form
||
""
,
this
.
address_id
=
e
.
address_id
||
""
,
this
.
coupon_id
=
e
.
coupon_id
||
""
},
onShow
(){
this
.
getData
()},
methods
:{
goUpdate
(
t
){
e
({
url
:
"/pages/user/invoiceEdit?tax_id="
+
t
})},
setChoose
(
t
){
if
(
!
this
.
form
)
return
;
let
s
=
""
;
this
.
list
.
forEach
((
e
=>
{
e
.
checkedx
=!
1
,
t
==
e
.
tax_id
&&
(
e
.
checkedx
=!
0
,
s
=
e
.
tax_id
)})),
setTimeout
((()
=>
{
e
({
url
:
"/pages/car/confirmOrder?invoice_id="
+
s
+
"&coupon_id="
+
this
.
coupon_id
+
"&address_id="
+
this
.
address_id
})}),
200
)},
deleteAdress
(
e
){
t
({
title
:
""
,
content
:
"您确定删除该发票嘛"
,
success
:
t
=>
{
t
.
confirm
&&
this
.
request
(
g
+
"/api/invoice/del"
,
"POST"
,{
tax_id
:
e
},
!
0
).
then
((
e
=>
{
0
===
e
.
code
?(
s
({
title
:
"删除成功"
,
icon
:
"success"
}),
this
.
getData
(
1
)):
s
({
title
:
e
.
msg
,
icon
:
"none"
})}))}})},
setdefault
(
e
){
this
.
request
(
g
+
"/api/invoice/default"
,
"POST"
,{
tax_id
:
e
},
!
0
).
then
((
e
=>
{
0
===
e
.
code
?(
s
({
title
:
"设置成功"
,
icon
:
"success"
}),
this
.
getData
(
1
)):
s
({
title
:
e
.
err_msg
,
icon
:
"none"
})}))},
getData
(
e
){
this
.
request
(
g
+
"/api/invoice/getList"
,
"GET"
,{
p
:
1
},
!
e
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
this
.
isInit
=
1
;
let
t
=
e
.
data
.
list
||
[];
if
(
t
.
forEach
((
e
=>
{
e
.
checkedx
=!
1
,
this
.
invoice_id
==
e
.
tax_id
&&
(
e
.
checkedx
=!
0
)})),
this
.
form
&&
t
.
length
>
0
){
let
e
=
{
tax_id
:
"460053411"
,
checkedx
:
!
1
};
this
.
invoice_id
||
(
e
.
checkedx
=!
0
),
t
.
push
(
e
)}
this
.
list
=
t
}
else
this
.
isInit
=
1
,
this
.
list
=
[]}))}},
components
:{
barX
:
b
,
titleNav
:
y
}},[[
"render"
,
function
(
e
,
t
,
s
,
g
,
C
,
b
){
const
y
=
i
(
"barX"
),
w
=
i
(
"titleNav"
),
j
=
v
,
E
=
d
,
I
=
h
,
S
=
p
;
return
o
(),
a
(
E
,{
class
:
"invoicePage"
},{
default
:
l
((()
=>
[
c
(
y
),
c
(
w
,{
title
:
"发票管理"
}),
c
(
E
,{
class
:
"cons"
},{
default
:
l
((()
=>
[
C
.
list
.
length
>
0
?(
o
(),
a
(
E
,{
key
:
0
,
class
:
"data-box"
},{
default
:
l
((()
=>
[(
o
(
!
0
),
n
(
_
,
null
,
u
(
C
.
list
,((
e
,
t
)
=>
(
o
(),
a
(
E
,{
class
:
k
([
"group"
,{
hkk
:
e
.
checkedx
}]),
key
:
t
,
onClick
:
t
=>
b
.
setChoose
(
e
.
tax_id
)},{
default
:
l
((()
=>
[
"460053411"
!=
e
.
tax_id
?(
o
(),
a
(
E
,{
key
:
0
},{
default
:
l
((()
=>
[
c
(
E
,{
class
:
"t row verCenter"
},{
default
:
l
((()
=>
[
f
(
m
(
3
==
e
.
inv_type
?
"增值税专票"
:
2
==
e
.
inv_type
?
"增值税普票(个人)"
:
"增值税普票(公司)"
)
+
" "
,
1
),
1
==
e
.
is_default
?(
o
(),
a
(
j
,{
key
:
0
},{
default
:
l
((()
=>
[
f
(
"默认"
)])),
_
:
1
})):
r
(
""
,
!
0
)])),
_
:
2
},
1024
),
c
(
E
,{
class
:
"c"
},{
default
:
l
((()
=>
[
c
(
E
,
null
,{
default
:
l
((()
=>
[
c
(
j
,
null
,{
default
:
l
((()
=>
[
f
(
"公司名称"
)])),
_
:
1
}),
f
(
m
(
e
.
tax_title
),
1
)])),
_
:
2
},
1024
),
c
(
E
,
null
,{
default
:
l
((()
=>
[
c
(
j
,
null
,{
default
:
l
((()
=>
[
f
(
"公司税号"
)])),
_
:
1
}),
f
(
m
(
e
.
tax_no
),
1
)])),
_
:
2
},
1024
),
c
(
E
,
null
,{
default
:
l
((()
=>
[
c
(
j
,
null
,{
default
:
l
((()
=>
[
f
(
"收票邮箱"
)])),
_
:
1
}),
f
(
m
(
e
.
email
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
c
(
E
,{
class
:
"b row bothSide"
},{
default
:
l
((()
=>
[
C
.
form
?(
o
(),
a
(
E
,{
key
:
1
})):(
o
(),
a
(
E
,{
key
:
0
,
class
:
"l row verCenter"
,
onClick
:
t
=>
b
.
setdefault
(
e
.
tax_id
)},{
default
:
l
((()
=>
[
c
(
j
,{
class
:
k
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
1
==
e
.
is_default
}])},
null
,
8
,[
"class"
]),
c
(
j
,
null
,{
default
:
l
((()
=>
[
f
(
m
(
1
==
e
.
is_default
?
"已默认"
:
"设为默认"
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
])),
c
(
E
,{
class
:
"r row verCenter"
},{
default
:
l
((()
=>
[
c
(
j
,{
onClick
:
x
((
t
=>
b
.
deleteAdress
(
e
.
tax_id
)),[
"stop"
])},{
default
:
l
((()
=>
[
f
(
"删除"
)])),
_
:
2
},
1032
,[
"onClick"
]),
c
(
E
,{
onClick
:
x
((
t
=>
b
.
goUpdate
(
e
.
tax_id
)),[
"stop"
])},{
default
:
l
((()
=>
[
f
(
"修改"
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)):(
o
(),
a
(
E
,{
key
:
1
},{
default
:
l
((()
=>
[
c
(
E
,{
class
:
"t row verCenter"
},{
default
:
l
((()
=>
[
f
(
"不开发票"
)])),
_
:
1
}),
c
(
E
,{
class
:
"b row bothSide"
},{
default
:
l
((()
=>
[
c
(
E
,{
class
:
"l row verCenter"
,
onClick
:
t
=>
b
.
setChoose
(
e
.
tax_id
)},{
default
:
l
((()
=>
[
c
(
E
,{
class
:
"nofps"
},{
default
:
l
((()
=>
[
f
(
"暂时无需发票"
)])),
_
:
1
})])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
))])),
_
:
2
},
1032
,[
"class"
,
"onClick"
])))),
128
))])),
_
:
1
})):
r
(
""
,
!
0
),
C
.
isInit
&&
0
==
C
.
list
.
length
?(
o
(),
a
(
E
,{
key
:
1
,
class
:
"no-data"
},{
default
:
l
((()
=>
[
c
(
I
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/07/676f987065320e89a68d473ec62c8cea.png"
}),
c
(
E
,
null
,{
default
:
l
((()
=>
[
f
(
"暂无发票信息!"
)])),
_
:
1
})])),
_
:
1
})):
r
(
""
,
!
0
)])),
_
:
1
}),
c
(
E
,{
class
:
"foot"
},{
default
:
l
((()
=>
[
c
(
S
,{
url
:
"/pages/user/invoiceAdd"
,
class
:
"btn"
},{
default
:
l
((()
=>
[
f
(
"新增发票"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-0c6c3855"
]]);
export
{
w
as
default
};
unpackage/dist/build/web/assets/pages-user-invoiceAdd.DKEdoNk6.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
U
as
a
,
r
as
l
,
c
as
t
,
w
as
o
,
i
as
s
,
o
as
r
,
d
as
n
,
e
as
i
,
v
as
m
,
f
as
c
,
m
as
d
,
I
as
u
,
V
as
f
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
p
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
,
b
as
h
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
P
}
from
"./title_nav.dc5elgbU.js"
;
const
v
=
_
({
data
:()
=>
({
formParams
:{
tax_title
:
""
,
consignee_address
:
""
,
company_phone
:
""
,
tax_no
:
""
,
bank_name
:
""
,
bank_account
:
""
,
consignee
:
""
,
consignee_phone
:
""
,
email
:
""
,
intl_code
:
"0086"
,
is_default
:
1
,
inv_type
:
3
}}),
onLoad
:
function
(){},
onShow
(){},
methods
:{
tianyancha
(){
this
.
formParams
.
tax_title
&&
this
.
request
(
p
+
"/api/user/tianyancha"
,
"GET"
,{
company_name
:
this
.
formParams
.
tax_title
},
!
1
).
then
((
a
=>
{
0
==
a
.
code
?(
a
.
data
.
com_name
||
e
({
title
:
"天眼查没有查到该公司信息"
,
icon
:
"none"
}),
this
.
formParams
.
tax_title
=
a
.
data
.
com_name
||
this
.
formParams
.
tax_title
,
this
.
formParams
.
tax_no
=
a
.
data
.
tax_number
||
this
.
formParams
.
tax_no
,
this
.
formParams
.
company_phone
=
a
.
data
.
phone_number
,
this
.
formParams
.
consignee_address
=
a
.
data
.
com_address
):
e
({
title
:
a
.
msg
,
icon
:
"none"
})}))},
changeTab
(
e
){
this
.
formParams
.
inv_type
=
e
,
console
.
log
(
this
.
formParams
.
inv_type
)},
onSwitchChange
(
e
){
this
.
formParams
.
is_default
=
e
.
detail
.
value
?
1
:
0
},
submitI
(){
if
(
this
.
formParams
.
tax_title
){
if
(
3
==
this
.
formParams
.
inv_type
){
if
(
!
this
.
formParams
.
tax_no
)
return
void
e
({
title
:
"公司税号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
company_phone
)
return
void
e
({
title
:
"公司电话不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee_address
)
return
void
e
({
title
:
"注册地址不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
bank_name
)
return
void
e
({
title
:
"开户银行不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
bank_account
)
return
void
e
({
title
:
"银行账号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
email
)
return
void
e
({
title
:
"发票接收邮箱不能为空"
,
icon
:
"none"
})}
else
if
(
2
==
this
.
formParams
.
inv_type
){
if
(
!
this
.
formParams
.
email
)
return
void
e
({
title
:
"发票接收邮箱不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee
)
return
void
e
({
title
:
"收票人不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee_phone
)
return
void
e
({
title
:
"收票人手机不能为空"
,
icon
:
"none"
})}
else
{
if
(
!
this
.
formParams
.
tax_no
)
return
void
e
({
title
:
"公司税号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
company_phone
)
return
void
e
({
title
:
"公司电话不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
email
)
return
void
e
({
title
:
"发票接收邮箱不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee
)
return
void
e
({
title
:
"收票人不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee_phone
)
return
void
e
({
title
:
"收票人手机不能为空"
,
icon
:
"none"
})}
this
.
request
(
p
+
"/api/invoice/add"
,
"POST"
,
this
.
formParams
,
!
0
).
then
((
l
=>
{
0
===
l
.
code
?(
e
({
title
:
"新增发票成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
a
({
delta
:
1
})}),
2
e3
)):
e
({
title
:
l
.
msg
,
icon
:
"none"
})}))}
else
e
({
title
:
"发票抬头不能为空"
,
icon
:
"none"
})}},
components
:{
barX
:
h
,
titleNav
:
P
}},[[
"render"
,
function
(
e
,
a
,
p
,
_
,
h
,
P
){
const
v
=
l
(
"barX"
),
y
=
l
(
"titleNav"
),
b
=
s
,
g
=
d
,
x
=
u
,
V
=
f
;
return
r
(),
t
(
b
,{
class
:
"invoiceAddPage"
},{
default
:
o
((()
=>
[
n
(
v
),
n
(
y
,{
title
:
"新增发票"
}),
n
(
b
,{
class
:
"cons"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"input-box"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"tab-group"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"tit"
},{
default
:
o
((()
=>
[
i
(
"发票类型"
)])),
_
:
1
}),
n
(
b
,{
class
:
"tab row bothSide"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
m
({
act
:
3
==
h
.
formParams
.
inv_type
}),
onClick
:
a
[
0
]
||
(
a
[
0
]
=
e
=>
P
.
changeTab
(
3
))},{
default
:
o
((()
=>
[
i
(
"增值税专用发票"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
g
,{
class
:
m
({
act
:
3
!=
h
.
formParams
.
inv_type
}),
onClick
:
a
[
1
]
||
(
a
[
1
]
=
e
=>
P
.
changeTab
(
4
))},{
default
:
o
((()
=>
[
i
(
"增值税普通发票"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
}),
3
!=
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
0
,
class
:
"tab-group"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"tit"
},{
default
:
o
((()
=>
[
i
(
"开票信息"
)])),
_
:
1
}),
n
(
b
,{
class
:
"tab row bothSide"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
m
({
act
:
2
!=
h
.
formParams
.
inv_type
&&
3
!=
h
.
formParams
.
inv_type
}),
onClick
:
a
[
2
]
||
(
a
[
2
]
=
e
=>
P
.
changeTab
(
4
))},{
default
:
o
((()
=>
[
i
(
"公司"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
g
,{
class
:
m
({
act
:
2
==
h
.
formParams
.
inv_type
}),
onClick
:
a
[
3
]
||
(
a
[
3
]
=
e
=>
P
.
changeTab
(
2
))},{
default
:
o
((()
=>
[
i
(
"个人"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
})):
c
(
""
,
!
0
),
2
!=
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
1
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"公司名称"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
tax_title
,
"onUpdate:modelValue"
:
a
[
4
]
||
(
a
[
4
]
=
e
=>
h
.
formParams
.
tax_title
=
e
),
onBlur
:
a
[
5
]
||
(
a
[
5
]
=
e
=>
P
.
tianyancha
()),
placeholder
:
"请输入公司名称"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
2
==
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
2
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"开票人名称"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
tax_title
,
"onUpdate:modelValue"
:
a
[
6
]
||
(
a
[
6
]
=
e
=>
h
.
formParams
.
tax_title
=
e
),
placeholder
:
"请输入开票人名称"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
2
!=
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
3
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"公司税号"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
tax_no
,
"onUpdate:modelValue"
:
a
[
7
]
||
(
a
[
7
]
=
e
=>
h
.
formParams
.
tax_no
=
e
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
2
!=
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
4
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"公司电话"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
company_phone
,
"onUpdate:modelValue"
:
a
[
8
]
||
(
a
[
8
]
=
e
=>
h
.
formParams
.
company_phone
=
e
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
3
==
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
5
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"注册地址"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
consignee_address
,
"onUpdate:modelValue"
:
a
[
9
]
||
(
a
[
9
]
=
e
=>
h
.
formParams
.
consignee_address
=
e
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
3
==
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
6
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"开户银行"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
bank_name
,
"onUpdate:modelValue"
:
a
[
10
]
||
(
a
[
10
]
=
e
=>
h
.
formParams
.
bank_name
=
e
),
placeholder
:
"请输入开户银行"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
3
==
h
.
formParams
.
inv_type
?(
r
(),
t
(
b
,{
key
:
7
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"开户银行账号"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
bank_account
,
"onUpdate:modelValue"
:
a
[
11
]
||
(
a
[
11
]
=
e
=>
h
.
formParams
.
bank_account
=
e
),
placeholder
:
"请输入开户银行账号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"发票接收邮箱"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
email
,
"onUpdate:modelValue"
:
a
[
12
]
||
(
a
[
12
]
=
e
=>
h
.
formParams
.
email
=
e
),
placeholder
:
"请输入发票接收邮箱"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
m
([
"label"
,{
required
:
3
!=
h
.
formParams
.
inv_type
}])},{
default
:
o
((()
=>
[
i
(
"收票人"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
consignee
,
"onUpdate:modelValue"
:
a
[
13
]
||
(
a
[
13
]
=
e
=>
h
.
formParams
.
consignee
=
e
),
placeholder
:
"请输入收票人"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
n
(
b
,{
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
m
([
"label"
,{
required
:
3
!=
h
.
formParams
.
inv_type
}])},{
default
:
o
((()
=>
[
i
(
"收票人手机号"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
x
,{
type
:
"number"
,
modelValue
:
h
.
formParams
.
consignee_phone
,
"onUpdate:modelValue"
:
a
[
14
]
||
(
a
[
14
]
=
e
=>
h
.
formParams
.
consignee_phone
=
e
),
placeholder
:
"请输入收票人手机号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
}),
n
(
b
,{
class
:
"setting-default row verCenter bothSide"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"tt"
},{
default
:
o
((()
=>
[
i
(
"默认发票信息"
)])),
_
:
1
}),
n
(
b
,
null
,{
default
:
o
((()
=>
[
n
(
V
,{
onChange
:
P
.
onSwitchChange
,
checked
:
""
,
color
:
"#D0121B"
,
style
:{
transform
:
"scale(0.8)"
}},
null
,
8
,[
"onChange"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
n
(
b
,{
class
:
"foot"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"btn"
,
onClick
:
a
[
15
]
||
(
a
[
15
]
=
e
=>
P
.
submitI
())},{
default
:
o
((()
=>
[
i
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-50a9ca82"
]]);
export
{
v
as
default
};
unpackage/dist/build/web/assets/pages-user-invoiceEdit.B2Y6rfXN.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
U
as
a
,
r
as
t
,
c
as
l
,
w
as
o
,
i
as
s
,
o
as
r
,
d
as
n
,
e
as
i
,
v
as
m
,
f
as
c
,
m
as
d
,
I
as
u
,
V
as
f
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
p
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
,
b
as
h
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
P
}
from
"./title_nav.dc5elgbU.js"
;
const
v
=
_
({
data
:()
=>
({
formParams
:{
tax_id
:
""
,
tax_title
:
""
,
consignee_address
:
""
,
company_phone
:
""
,
tax_no
:
""
,
bank_name
:
""
,
bank_account
:
""
,
consignee
:
""
,
consignee_phone
:
""
,
email
:
""
,
intl_code
:
"0086"
,
is_default
:
1
,
inv_type
:
3
}}),
onLoad
:
function
(
e
){
this
.
formParams
.
tax_id
=
e
.
tax_id
||
""
,
this
.
getData
()},
onShow
(){},
methods
:{
getData
(){
this
.
formParams
.
tax_id
&&
this
.
request
(
p
+
"/api/invoice/getList"
,
"get"
,{
p
:
1
},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
let
a
=
e
.
data
.
list
.
filter
((
e
=>
e
.
tax_id
==
this
.
formParams
.
tax_id
))[
0
];
this
.
formParams
=
{...
a
},
this
.
formParams
.
consignee_address
=
a
.
company_address
,
console
.
log
(
this
.
formParams
)}}))},
tianyancha
(){
this
.
formParams
.
tax_title
&&
this
.
request
(
p
+
"/api/user/tianyancha"
,
"GET"
,{
company_name
:
this
.
formParams
.
tax_title
},
!
1
).
then
((
a
=>
{
0
==
a
.
code
?(
a
.
data
.
com_name
||
e
({
title
:
"天眼查没有查到该公司信息"
,
icon
:
"none"
}),
this
.
formParams
.
tax_title
=
a
.
data
.
com_name
||
this
.
formParams
.
tax_title
,
this
.
formParams
.
tax_no
=
a
.
data
.
tax_number
||
this
.
formParams
.
tax_no
,
this
.
formParams
.
company_phone
=
a
.
data
.
phone_number
,
this
.
formParams
.
consignee_address
=
a
.
data
.
com_address
):
e
({
title
:
a
.
msg
,
icon
:
"none"
})}))},
changeTab
(
e
){
this
.
formParams
.
inv_type
=
e
,
console
.
log
(
this
.
formParams
.
inv_type
)},
onSwitchChange
(
e
){
this
.
formParams
.
is_default
=
e
.
detail
.
value
?
1
:
0
},
submitI
(){
if
(
this
.
formParams
.
tax_title
){
if
(
3
==
this
.
formParams
.
inv_type
){
if
(
!
this
.
formParams
.
tax_no
)
return
void
e
({
title
:
"公司税号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
company_phone
)
return
void
e
({
title
:
"公司电话不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee_address
)
return
void
e
({
title
:
"注册地址不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
bank_name
)
return
void
e
({
title
:
"开户银行不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
bank_account
)
return
void
e
({
title
:
"银行账号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
email
)
return
void
e
({
title
:
"发票接收邮箱不能为空"
,
icon
:
"none"
})}
else
if
(
2
==
this
.
formParams
.
inv_type
){
if
(
!
this
.
formParams
.
email
)
return
void
e
({
title
:
"发票接收邮箱不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee
)
return
void
e
({
title
:
"收票人不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee_phone
)
return
void
e
({
title
:
"收票人手机不能为空"
,
icon
:
"none"
})}
else
{
if
(
!
this
.
formParams
.
tax_no
)
return
void
e
({
title
:
"公司税号不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
company_phone
)
return
void
e
({
title
:
"公司电话不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
email
)
return
void
e
({
title
:
"发票接收邮箱不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee
)
return
void
e
({
title
:
"收票人不能为空"
,
icon
:
"none"
});
if
(
!
this
.
formParams
.
consignee_phone
)
return
void
e
({
title
:
"收票人手机不能为空"
,
icon
:
"none"
})}
this
.
request
(
p
+
"/api/invoice/update"
,
"POST"
,
this
.
formParams
,
!
0
).
then
((
t
=>
{
0
===
t
.
code
?(
e
({
title
:
"编辑发票成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
a
({
delta
:
1
})}),
2
e3
)):
e
({
title
:
t
.
msg
,
icon
:
"none"
})}))}
else
e
({
title
:
"发票抬头不能为空"
,
icon
:
"none"
})}},
components
:{
barX
:
h
,
titleNav
:
P
}},[[
"render"
,
function
(
e
,
a
,
p
,
_
,
h
,
P
){
const
v
=
t
(
"barX"
),
y
=
t
(
"titleNav"
),
g
=
s
,
b
=
d
,
x
=
u
,
V
=
f
;
return
r
(),
l
(
g
,{
class
:
"invoiceAddPage"
},{
default
:
o
((()
=>
[
n
(
v
),
n
(
y
,{
title
:
"编辑发票"
}),
n
(
g
,{
class
:
"cons"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"input-box"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"tab-group"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"tit"
},{
default
:
o
((()
=>
[
i
(
"发票类型"
)])),
_
:
1
}),
n
(
g
,{
class
:
"tab row bothSide"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
m
({
act
:
3
==
h
.
formParams
.
inv_type
}),
onClick
:
a
[
0
]
||
(
a
[
0
]
=
e
=>
P
.
changeTab
(
3
))},{
default
:
o
((()
=>
[
i
(
"增值税专用发票"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
b
,{
class
:
m
({
act
:
3
!=
h
.
formParams
.
inv_type
}),
onClick
:
a
[
1
]
||
(
a
[
1
]
=
e
=>
P
.
changeTab
(
4
))},{
default
:
o
((()
=>
[
i
(
"增值税普通发票"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
}),
3
!=
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
0
,
class
:
"tab-group"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"tit"
},{
default
:
o
((()
=>
[
i
(
"开票信息"
)])),
_
:
1
}),
n
(
g
,{
class
:
"tab row bothSide"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
m
({
act
:
2
!=
h
.
formParams
.
inv_type
&&
3
!=
h
.
formParams
.
inv_type
}),
onClick
:
a
[
2
]
||
(
a
[
2
]
=
e
=>
P
.
changeTab
(
4
))},{
default
:
o
((()
=>
[
i
(
"公司"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
b
,{
class
:
m
({
act
:
2
==
h
.
formParams
.
inv_type
}),
onClick
:
a
[
3
]
||
(
a
[
3
]
=
e
=>
P
.
changeTab
(
2
))},{
default
:
o
((()
=>
[
i
(
"个人"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
})):
c
(
""
,
!
0
),
2
!=
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
1
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"公司名称"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
tax_title
,
"onUpdate:modelValue"
:
a
[
4
]
||
(
a
[
4
]
=
e
=>
h
.
formParams
.
tax_title
=
e
),
onBlur
:
a
[
5
]
||
(
a
[
5
]
=
e
=>
P
.
tianyancha
()),
placeholder
:
"请输入公司名称"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
2
==
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
2
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"开票人名称"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
tax_title
,
"onUpdate:modelValue"
:
a
[
6
]
||
(
a
[
6
]
=
e
=>
h
.
formParams
.
tax_title
=
e
),
placeholder
:
"请输入开票人名称"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
2
!=
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
3
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"公司税号"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
tax_no
,
"onUpdate:modelValue"
:
a
[
7
]
||
(
a
[
7
]
=
e
=>
h
.
formParams
.
tax_no
=
e
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
2
!=
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
4
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"公司电话"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
company_phone
,
"onUpdate:modelValue"
:
a
[
8
]
||
(
a
[
8
]
=
e
=>
h
.
formParams
.
company_phone
=
e
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
3
==
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
5
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"注册地址"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
consignee_address
,
"onUpdate:modelValue"
:
a
[
9
]
||
(
a
[
9
]
=
e
=>
h
.
formParams
.
consignee_address
=
e
),
placeholder
:
"系统自动查询后补充"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
3
==
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
6
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"开户银行"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
bank_name
,
"onUpdate:modelValue"
:
a
[
10
]
||
(
a
[
10
]
=
e
=>
h
.
formParams
.
bank_name
=
e
),
placeholder
:
"请输入开户银行"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
3
==
h
.
formParams
.
inv_type
?(
r
(),
l
(
g
,{
key
:
7
,
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"开户银行账号"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
bank_account
,
"onUpdate:modelValue"
:
a
[
11
]
||
(
a
[
11
]
=
e
=>
h
.
formParams
.
bank_account
=
e
),
placeholder
:
"请输入开户银行账号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})):
c
(
""
,
!
0
),
n
(
g
,{
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
"label required"
},{
default
:
o
((()
=>
[
i
(
"发票接收邮箱"
)])),
_
:
1
}),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
email
,
"onUpdate:modelValue"
:
a
[
12
]
||
(
a
[
12
]
=
e
=>
h
.
formParams
.
email
=
e
),
placeholder
:
"请输入发票接收邮箱"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
n
(
g
,{
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
m
([
"label"
,{
required
:
3
!=
h
.
formParams
.
inv_type
}])},{
default
:
o
((()
=>
[
i
(
"收票人"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
x
,{
type
:
"text"
,
modelValue
:
h
.
formParams
.
consignee
,
"onUpdate:modelValue"
:
a
[
13
]
||
(
a
[
13
]
=
e
=>
h
.
formParams
.
consignee
=
e
),
placeholder
:
"请输入收票人"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
n
(
g
,{
class
:
"input-group row verCenter"
},{
default
:
o
((()
=>
[
n
(
b
,{
class
:
m
([
"label"
,{
required
:
3
!=
h
.
formParams
.
inv_type
}])},{
default
:
o
((()
=>
[
i
(
"收票人手机号"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
x
,{
type
:
"number"
,
modelValue
:
h
.
formParams
.
consignee_phone
,
"onUpdate:modelValue"
:
a
[
14
]
||
(
a
[
14
]
=
e
=>
h
.
formParams
.
consignee_phone
=
e
),
placeholder
:
"请输入收票人手机号"
,
"placeholder-class"
:
"placeholder-class"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
})])),
_
:
1
}),
n
(
g
,{
class
:
"setting-default row verCenter bothSide"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"tt"
},{
default
:
o
((()
=>
[
i
(
"默认发票信息"
)])),
_
:
1
}),
n
(
g
,
null
,{
default
:
o
((()
=>
[
n
(
V
,{
onChange
:
P
.
onSwitchChange
,
checked
:
1
==
h
.
formParams
.
is_default
,
color
:
"#D0121B"
,
style
:{
transform
:
"scale(0.8)"
}},
null
,
8
,[
"onChange"
,
"checked"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
n
(
g
,{
class
:
"foot"
},{
default
:
o
((()
=>
[
n
(
g
,{
class
:
"btn"
,
onClick
:
a
[
15
]
||
(
a
[
15
]
=
e
=>
P
.
submitI
())},{
default
:
o
((()
=>
[
i
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-1f95ddc4"
]]);
export
{
v
as
default
};
unpackage/dist/build/web/assets/pages-user-msgList.BhEjw36Q.js
deleted
100644 → 0
View file @
d46cc593
import
{
y
as
t
,
b
as
s
,
r
as
a
,
c
as
e
,
w
as
i
,
i
as
n
,
o
as
c
,
d
as
l
,
e
as
o
,
v
as
u
,
t
as
d
,
h
as
r
,
j
as
h
,
F
as
_
,
f
,
m
as
g
,
k
as
m
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
p
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
b
,
b
as
C
}
from
"./barx.BsVUcAxA.js"
;
const
w
=
b
({
data
:()
=>
({
isInit
:
!
1
,
page
:
1
,
limit
:
10
,
status
:
""
,
isLoadEnd
:
!
1
,
list
:[],
all_count
:
0
,
unreadcount
:
0
,
read_count
:
0
}),
onLoad
:
function
(){
this
.
getData
()},
async
onReachBottom
(){
this
.
isLoadEnd
||
this
.
getData
()},
methods
:{
clear
(){
t
({
title
:
""
,
content
:
"您确定清空所有已读消息吗?"
,
success
:
t
=>
{
t
.
confirm
&&
this
.
request
(
p
+
"/api/user/changeMsgStatus"
,
"post"
,{
status
:
2
},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
s
({
title
:
"删除已读成功"
,
duration
:
2
e3
,
icon
:
"none"
}),
this
.
initGetData
()):
s
({
title
:
t
.
msg
,
duration
:
2
e3
,
icon
:
"none"
})}))}})},
bjyd
(){
t
({
title
:
""
,
content
:
"您确定标记所有消息为已读吗?"
,
success
:
t
=>
{
t
.
confirm
&&
this
.
request
(
p
+
"/api/user/changeMsgStatus"
,
"post"
,{
status
:
3
},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
s
({
title
:
"标记已读成功"
,
duration
:
2
e3
,
icon
:
"none"
}),
this
.
initGetData
()):
s
({
title
:
t
.
msg
,
duration
:
2
e3
,
icon
:
"none"
})}))}})},
zankai
(
t
){
this
.
list
.
forEach
((
s
=>
{
s
.
msg_id
==
t
&&
(
s
.
showCons
=!
s
.
showCons
,
2
!=
s
.
status
&&
(
s
.
status
=
2
,
this
.
request
(
p
+
"/api/user/changeMsgStatusById"
,
"post"
,{
msg_id
:
s
.
msg_id
},
!
0
).
then
((
t
=>
{
this
.
getData
(
1
)}))))}))},
tab
(
t
){
this
.
status
=
t
,
this
.
initGetData
()},
initGetData
(){
this
.
page
=
1
,
this
.
isInit
=!
1
,
this
.
isLoadEnd
=!
1
,
this
.
list
=
[],
this
.
getData
()},
getData
(
t
){
let
s
=
{
status
:
this
.
status
,
page
:
this
.
page
,
limit
:
this
.
limit
};
this
.
request
(
p
+
"/api/user/msgList"
,
"GET"
,
s
,
!
0
).
then
((
s
=>
{
if
(
t
)
return
this
.
all_count
=
s
.
data
.
data
.
all_count
||
0
,
this
.
unreadcount
=
s
.
data
.
data
.
unreadcount
||
0
,
void
(
this
.
read_count
=
s
.
data
.
data
.
read_count
||
0
);
if
(
1
==
this
.
page
&&
(
this
.
list
=
[]),
this
.
all_count
=
s
.
data
.
data
.
all_count
||
0
,
this
.
unreadcount
=
s
.
data
.
data
.
unreadcount
||
0
,
this
.
read_count
=
s
.
data
.
data
.
read_count
||
0
,
0
==
s
.
code
){
this
.
isInit
=
1
;
let
t
=
s
.
data
.
data
.
list
||
[];
t
.
forEach
((
t
=>
{
t
.
showCons
=!
1
,
1
==
t
.
msg_type
&&
(
t
.
iconSrc
=
"https://img.ichunt.com/images/ichunt/202502/24/af70f0465763bc538222014215472f15.png"
),
2
==
t
.
msg_type
&&
(
t
.
iconSrc
=
"https://img.ichunt.com/images/ichunt/202502/24/076cb4c6de374b6f088852d822df770d.png"
),
3
==
t
.
msg_type
&&
(
t
.
iconSrc
=
"https://img.ichunt.com/images/ichunt/202502/24/f969027642ab0c8c94c1a8614c272198.png"
),
4
==
t
.
msg_type
&&
(
t
.
iconSrc
=
"https://img.ichunt.com/images/ichunt/202502/24/9d75f867b835d4f9b4461b5e1cf825c6.png"
)})),
this
.
list
=
[...
this
.
list
,...
t
],
this
.
page
*
this
.
limit
>=
Number
(
s
.
data
.
data
.
all_count
)
&&
(
this
.
isLoadEnd
=!
0
),
this
.
page
++
}
else
this
.
isInit
=
1
,
this
.
list
=
[]}))}},
components
:{
barX
:
C
}},[[
"render"
,
function
(
t
,
s
,
p
,
b
,
C
,
w
){
const
k
=
a
(
"barX"
),
y
=
g
,
v
=
n
,
L
=
m
;
return
c
(),
e
(
v
,{
class
:
"msgListPage"
},{
default
:
i
((()
=>
[
l
(
k
),
l
(
v
,{
class
:
"titsk-head row verCenter bothSide"
},{
default
:
i
((()
=>
[
l
(
v
,{
class
:
"l row verCenter"
},{
default
:
i
((()
=>
[
l
(
y
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
t
.
$goBack
},
null
,
8
,[
"onClick"
]),
l
(
v
,
null
,{
default
:
i
((()
=>
[
o
(
"我的消息"
)])),
_
:
1
})])),
_
:
1
}),
l
(
v
,{
class
:
"handle-box row verCenter"
},{
default
:
i
((()
=>
[
l
(
v
,{
class
:
"ite row verCenter"
,
onClick
:
s
[
0
]
||
(
s
[
0
]
=
t
=>
w
.
bjyd
())},{
default
:
i
((()
=>
[
l
(
y
,{
class
:
"icon iconfont icon-xib"
}),
l
(
y
,
null
,{
default
:
i
((()
=>
[
o
(
"标记已读"
)])),
_
:
1
})])),
_
:
1
}),
l
(
v
,{
class
:
"ite row verCenter"
,
onClick
:
s
[
1
]
||
(
s
[
1
]
=
t
=>
w
.
clear
())},{
default
:
i
((()
=>
[
l
(
y
,{
class
:
"icon iconfont icon-delk"
}),
l
(
y
,
null
,{
default
:
i
((()
=>
[
o
(
"删除"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
l
(
v
,{
class
:
"tabs row rowCenter verCenter"
},{
default
:
i
((()
=>
[
l
(
v
,{
class
:
u
([
"item"
,{
act
:
""
==
C
.
status
}]),
onClick
:
s
[
2
]
||
(
s
[
2
]
=
t
=>
w
.
tab
(
""
))},{
default
:
i
((()
=>
[
o
(
"全部("
+
d
(
C
.
all_count
)
+
")"
,
1
)])),
_
:
1
},
8
,[
"class"
]),
l
(
v
,{
class
:
u
([
"item"
,{
act
:
2
==
C
.
status
}]),
onClick
:
s
[
3
]
||
(
s
[
3
]
=
t
=>
w
.
tab
(
2
))},{
default
:
i
((()
=>
[
o
(
"已读("
+
d
(
C
.
read_count
)
+
")"
,
1
)])),
_
:
1
},
8
,[
"class"
]),
l
(
v
,{
class
:
u
([
"item"
,{
act
:
1
==
C
.
status
}]),
onClick
:
s
[
4
]
||
(
s
[
4
]
=
t
=>
w
.
tab
(
1
))},{
default
:
i
((()
=>
[
o
(
"未读("
+
d
(
C
.
unreadcount
)
+
")"
,
1
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
l
(
v
,{
class
:
"cons"
},{
default
:
i
((()
=>
[
C
.
list
.
length
>
0
?(
c
(),
e
(
v
,{
key
:
0
,
class
:
"data-box"
},{
default
:
i
((()
=>
[(
c
(
!
0
),
r
(
_
,
null
,
h
(
C
.
list
,((
t
,
s
)
=>
(
c
(),
e
(
v
,{
class
:
"group"
,
key
:
s
},{
default
:
i
((()
=>
[
l
(
v
,{
class
:
"t row verCenter"
},{
default
:
i
((()
=>
[
l
(
L
,{
src
:
t
.
iconSrc
},
null
,
8
,[
"src"
]),
l
(
v
,{
class
:
"elep"
},{
default
:
i
((()
=>
[
o
(
d
(
t
.
title
),
1
)])),
_
:
2
},
1024
),
1
==
t
.
status
?(
c
(),
e
(
v
,{
key
:
0
,
class
:
"new"
})):
f
(
""
,
!
0
)])),
_
:
2
},
1024
),
t
.
showCons
?(
c
(),
e
(
v
,{
key
:
0
,
class
:
"c"
,
innerHTML
:
t
.
content
},
null
,
8
,[
"innerHTML"
])):
f
(
""
,
!
0
),
l
(
v
,{
class
:
"b row verCenter bothSide"
},{
default
:
i
((()
=>
[
l
(
v
,{
class
:
"l row verCenter"
},{
default
:
i
((()
=>
[
l
(
y
,
null
,{
default
:
i
((()
=>
[
o
(
d
(
1
==
t
.
msg_type
?
"公告"
:
2
==
t
.
msg_type
?
"活动"
:
3
==
t
.
msg_type
?
"新闻"
:
"其他"
),
1
)])),
_
:
2
},
1024
),
l
(
y
,{
class
:
"line"
}),
l
(
y
,
null
,{
default
:
i
((()
=>
[
o
(
d
(
t
.
actual_send_time_format
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
l
(
v
,{
class
:
"r row"
},{
default
:
i
((()
=>
[
l
(
v
,{
class
:
"btnj row verCenter"
,
onClick
:
s
=>
w
.
zankai
(
t
.
msg_id
)},{
default
:
i
((()
=>
[
o
(
d
(
t
.
showCons
?
"收起"
:
"展开"
),
1
),
l
(
y
,{
class
:
u
([
"icon"
,
"iconfont"
,
t
.
showCons
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
f
(
""
,
!
0
),
C
.
list
.
length
>
0
&&
C
.
isLoadEnd
?(
c
(),
e
(
v
,{
key
:
1
,
class
:
"pagebot"
},{
default
:
i
((()
=>
[
o
(
"—— 已经全部加载完 ——"
)])),
_
:
1
})):
f
(
""
,
!
0
),
C
.
isInit
&&
0
==
C
.
list
.
length
?(
c
(),
e
(
v
,{
key
:
2
,
class
:
"no-data"
},{
default
:
i
((()
=>
[
l
(
L
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/07a360187d83ccf80a9d835029c27446.png"
}),
l
(
v
,
null
,{
default
:
i
((()
=>
[
o
(
"暂无信息!"
)])),
_
:
1
})])),
_
:
1
})):
f
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-9ed24328"
]]);
export
{
w
as
default
};
unpackage/dist/build/web/assets/pages-user-orderDetail.DUeauW8_.js
deleted
100644 → 0
View file @
d46cc593
import
{
W
as
a
,
O
as
e
,
b
as
s
,
A
as
l
,
n
as
t
,
r
as
o
,
c
as
d
,
w
as
r
,
i
as
n
,
o
as
i
,
d
as
_
,
h
as
u
,
j
as
c
,
F
as
f
,
f
as
g
,
e
as
p
,
t
as
m
,
m
as
h
,
l
as
w
,
v
as
k
,
k
as
b
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
D
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
v
,
b
as
x
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
y
}
from
"./title_nav.dc5elgbU.js"
;
const
C
=
v
({
data
:()
=>
({
pageData
:
""
,
order_id
:
""
,
wlInfo
:[]}),
onLoad
:
function
(
a
){
this
.
order_id
=
a
.
order_id
||
""
,
this
.
getData
()},
methods
:{
callPhone
(
e
){
console
.
log
(
e
),
a
({
phoneNumber
:
e
,
success
:()
=>
{
console
.
log
(
"拨打电话成功"
)}})},
copywl
(
a
){
e
({
data
:
a
.
shipping_no
,
success
:
function
(){
s
({
title
:
"复制成功"
,
icon
:
"success"
})}})},
sqzk
(
a
){
this
.
wlInfo
.
forEach
((
e
=>
{
e
.
shipping_info
.
forEach
((
e
=>
{
a
==
e
.
shipping_no
&&
(
e
.
showUlAll
=!
e
.
showUlAll
)}))}))},
again
(
a
){
let
e
=
this
.
pageData
.
order_items
||
[],
o
=
[],
d
=
[];
e
.
forEach
((
e
=>
{
let
s
=
{
goods_num
:
e
.
goods_number
,
sku_id
:
e
.
goods_id
,
price
:
e
.
price_has_tax
};
a
&&
(
s
.
is_cover_goods_num
=
1
),
o
.
push
(
s
),
d
.
push
(
s
.
sku_id
)})),
this
.
request
(
D
+
"/api/cart/batchAddCart"
,
"POST"
,{
sku_json
:
JSON
.
stringify
(
o
)},
!
0
).
then
((
e
=>
{
0
==
e
.
code
?
a
?(
l
(
"car_ids"
,
d
.
join
(
","
)),
l
(
"confirmOrderBackUrl"
,
`/pages/user/orderDetail?order_id=
${
this
.
order_id
}
`
),
t
({
url
:
"/pages/car/confirmOrder"
})):
s
({
title
:
"添加购物车成功"
,
icon
:
"success"
}):
s
({
title
:
e
.
msg
,
icon
:
"error"
})}))},
getData
(){
this
.
request
(
D
+
"/api/order/detail"
,
"GET"
,{
order_id
:
this
.
order_id
},
!
0
).
then
((
a
=>
{
0
==
a
.
code
?(
this
.
pageData
=
a
.
data
,
this
.
wlInfo
=
a
.
data
.
order_shipping
||
[],
this
.
wlInfo
.
forEach
((
a
=>
{
a
.
showUlAll
=!
1
}))):
s
({
title
:
a
.
msg
,
icon
:
"error"
})}))}},
components
:{
barX
:
x
,
titleNav
:
y
}},[[
"render"
,
function
(
a
,
e
,
s
,
l
,
t
,
D
){
const
v
=
o
(
"barX"
),
x
=
o
(
"titleNav"
),
y
=
b
,
C
=
h
,
S
=
n
,
A
=
w
;
return
i
(),
d
(
S
,{
class
:
"orderDetailPage"
},{
default
:
r
((()
=>
[
_
(
v
),
_
(
x
,{
title
:
"订单详情"
}),
_
(
S
,{
class
:
"cons"
},{
default
:
r
((()
=>
[
t
.
pageData
?(
i
(),
d
(
S
,{
key
:
0
},{
default
:
r
((()
=>
[
t
.
wlInfo
.
length
>
0
?(
i
(),
d
(
S
,{
key
:
0
,
class
:
"wl-box"
},{
default
:
r
((()
=>
[(
i
(
!
0
),
u
(
f
,
null
,
c
(
t
.
wlInfo
,((
a
,
e
)
=>
(
i
(),
d
(
S
,{
class
:
"wiboxitem"
,
key
:
e
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"pack row"
},{
default
:
r
((()
=>
[(
i
(
!
0
),
u
(
f
,
null
,
c
(
a
.
shipping_items
,((
a
,
e
)
=>
(
i
(),
d
(
S
,{
class
:
"item row verCenter"
,
key
:
e
},{
default
:
r
((()
=>
[
_
(
y
,{
src
:
a
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
a
.
goods_name
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"wlinfobox"
},{
default
:
r
((()
=>
[(
i
(
!
0
),
u
(
f
,
null
,
c
(
a
.
shipping_info
,((
e
,
s
)
=>
(
i
(),
d
(
S
,{
class
:
"wl-cons"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"tit row bothSide verCenter"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"row verCenter"
},{
default
:
r
((()
=>
[
p
(
m
(
e
.
tracking_name
)
+
" "
+
m
(
e
.
shipping_no
),
1
)])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"row verCenter"
},{
default
:
r
((()
=>
[
_
(
C
,{
onClick
:
a
=>
D
.
copywl
(
e
)},{
default
:
r
((()
=>
[
p
(
"复制"
)])),
_
:
2
},
1032
,[
"onClick"
]),
_
(
C
,{
class
:
"call"
,
onClick
:
e
=>
D
.
callPhone
(
a
.
shipping_tel
)},{
default
:
r
((()
=>
[
p
(
"打电话"
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"consfg"
},{
default
:
r
((()
=>
[(
i
(
!
0
),
u
(
f
,
null
,
c
(
e
.
tracking_msg
,((
a
,
s
)
=>
(
i
(),
d
(
S
,{
class
:
k
([
"wlitem"
,{
hidex
:
s
>
0
&&!
e
.
showUlAll
}]),
key
:
s
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"row wlt verCenter"
},{
default
:
r
((()
=>
[
a
.
tracking_status_val
?(
i
(),
d
(
C
,{
key
:
0
,
class
:
"tet"
},{
default
:
r
((()
=>
[
p
(
m
(
a
.
tracking_status_val
),
1
)])),
_
:
2
},
1024
)):
g
(
""
,
!
0
),
_
(
C
,{
class
:
"txt"
},{
default
:
r
((()
=>
[
p
(
m
(
a
.
time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"wlb"
},{
default
:
r
((()
=>
[
p
(
m
(
a
.
context
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"class"
])))),
128
))])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"wlbt1 row verCenter"
,
onClick
:
a
=>
D
.
sqzk
(
e
.
shipping_no
)},{
default
:
r
((()
=>
[
p
(
m
(
e
.
showUlAll
?
"收起"
:
"查看"
)
+
"更多物流明细 "
,
1
),
_
(
C
,{
class
:
k
([
"icon"
,
"iconfont"
,
e
.
showUlAll
?
"icon-arrowshang"
:
"icon-arrowxia"
])},
null
,
8
,[
"class"
])])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1024
)))),
256
))])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
g
(
""
,
!
0
),
t
.
wlInfo
.
length
>
0
?(
i
(),
d
(
S
,{
key
:
1
,
class
:
"wlfoot"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"t row"
},{
default
:
r
((()
=>
[
_
(
C
,{
class
:
"icon iconfont icon-dzsd"
}),
_
(
S
,
null
,{
default
:
r
((()
=>
[
p
(
"送至 "
+
m
(
t
.
pageData
.
order_address
.
address
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"b"
},{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_address
.
consignee
)
+
" "
+
m
(
t
.
pageData
.
order_address
.
mobile
),
1
)])),
_
:
1
})])),
_
:
1
})):
g
(
""
,
!
0
),
!
t
.
wlInfo
.
length
>
0
?(
i
(),
d
(
S
,{
key
:
2
,
class
:
"top-box"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"address-box"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"addbx row bothSide verCenter"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"l"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"ad row verCenter"
},{
default
:
r
((()
=>
[
_
(
C
,{
class
:
"csq"
},{
default
:
r
((()
=>
[
p
(
m
((
"中国"
!=
t
.
pageData
.
order_address
.
nation_cn
?
t
.
pageData
.
order_address
.
nation_cn
:
""
)
+
t
.
pageData
.
order_address
.
province_val
+
" "
+
t
.
pageData
.
order_address
.
city_val
+
" "
+
t
.
pageData
.
order_address
.
district_val
),
1
)])),
_
:
1
}),
1
==
t
.
pageData
.
order_address
.
is_default
?(
i
(),
d
(
C
,{
key
:
0
,
class
:
"mr"
},{
default
:
r
((()
=>
[
p
(
"默认"
)])),
_
:
1
})):
g
(
""
,
!
0
)])),
_
:
1
}),
_
(
S
,{
class
:
"ad1"
},{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_address
.
address
),
1
)])),
_
:
1
}),
_
(
S
,{
class
:
"cnnk"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_address
.
consignee
),
1
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_address
.
mobile
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
g
(
""
,
!
0
),
_
(
S
,{
class
:
"goods-box"
},{
default
:
r
((()
=>
[(
i
(
!
0
),
u
(
f
,
null
,
c
(
t
.
pageData
.
order_items
,((
a
,
e
)
=>
(
i
(),
d
(
S
,{
class
:
"group row"
,
key
:
e
},{
default
:
r
((()
=>
[
_
(
y
,{
src
:
a
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
_
(
S
,{
class
:
"infos"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"ganme elep2"
},{
default
:
r
((()
=>
[
p
(
m
(
a
.
sku_name
),
1
)])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"hqs row verCenter bothSide"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"货期:"
+
m
(
a
.
delivery_time
),
1
)])),
_
:
2
},
1024
),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"x"
+
m
(
a
.
goods_number
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
_
(
S
,{
class
:
"price"
},{
default
:
r
((()
=>
[
p
(
m
(
a
.
goods_amount_order
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
}),
_
(
S
,{
class
:
"price-infos"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"tit"
},{
default
:
r
((()
=>
[
p
(
"订单信息"
)])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"发票信息"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_invoice
.
tax_title
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"订单编号"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
order_sn
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"下单时间"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
create_time
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"订单备注"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
order_remark
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"price-infos"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"tit"
},{
default
:
r
((()
=>
[
p
(
"结算信息"
)])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"商品含税总额"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
goods_amount_has_tax_format
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"税费"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
tax_amount_format
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"优惠券抵用"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
coupon_amount_format
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"运费"
)])),
_
:
1
}),
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
shipping_amount_format
),
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
S
,{
class
:
"row bothSide item"
},{
default
:
r
((()
=>
[
_
(
C
,
null
,{
default
:
r
((()
=>
[
p
(
"含税总额"
)])),
_
:
1
}),
_
(
C
,{
class
:
"price"
},{
default
:
r
((()
=>
[
p
(
m
(
t
.
pageData
.
order_info
.
order_amount_format
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
g
(
""
,
!
0
)])),
_
:
1
}),
t
.
pageData
?(
i
(),
d
(
S
,{
key
:
0
,
class
:
"foot row verCenter bothSide"
},{
default
:
r
((()
=>
[
_
(
A
,{
class
:
"item"
,
url
:
a
.
$globalData
.
KFQQ
},{
default
:
r
((()
=>
[
_
(
C
,{
class
:
"icon iconfont icon-kfd"
}),
_
(
S
,
null
,{
default
:
r
((()
=>
[
p
(
"我的客服"
)])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
]),
_
(
S
,{
class
:
"row"
},{
default
:
r
((()
=>
[
_
(
S
,{
class
:
"add-car"
,
onClick
:
e
[
0
]
||
(
e
[
0
]
=
a
=>
D
.
again
())},{
default
:
r
((()
=>
[
p
(
"加入购物车"
)])),
_
:
1
}),
_
(
S
,{
class
:
"add-confirm"
,
onClick
:
e
[
1
]
||
(
e
[
1
]
=
a
=>
D
.
again
(
1
))},{
default
:
r
((()
=>
[
p
(
"再来一单"
)])),
_
:
1
}),
2
==
t
.
pageData
.
order_info
.
status
||
3
==
t
.
pageData
.
order_info
.
status
?(
i
(),
d
(
A
,{
key
:
0
,
url
:
"/pages/user/orderPay?order_id="
+
t
.
order_id
,
class
:
"pay"
},{
default
:
r
((()
=>
[
p
(
"立即支付"
)])),
_
:
1
},
8
,[
"url"
])):
g
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
})):
g
(
""
,
!
0
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-f07de8ed"
]]);
export
{
C
as
default
};
unpackage/dist/build/web/assets/pages-user-orderList.DMe6D3qm.js
deleted
100644 → 0
View file @
d46cc593
import
{
A
as
t
,
n
as
s
,
b
as
a
,
y
as
e
,
r
as
l
,
c
as
i
,
w
as
o
,
i
as
c
,
o
as
u
,
d
as
n
,
f
as
r
,
v
as
d
,
e
as
_
,
h
,
j
as
f
,
F
as
p
,
m
,
I
as
g
,
k
,
t
as
C
,
p
as
b
,
l
as
y
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
v
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
w
,
b
as
I
}
from
"./barx.BsVUcAxA.js"
;
const
x
=
w
({
data
:()
=>
({
isInit
:
!
1
,
status
:
""
,
limit
:
10
,
page
:
1
,
isLoadEnd
:
!
1
,
list
:[],
inputValue
:
""
,
showClearIcon
:
!
1
}),
onLoad
:
function
(
t
){
this
.
status
=
t
.
status
||
""
,
this
.
getData
()},
async
onReachBottom
(){
this
.
isLoadEnd
||
this
.
getData
()},
methods
:{
again
(
e
){
let
l
=
[],
i
=
[];
e
.
goods_list
.
forEach
((
t
=>
{
l
.
push
({
goods_num
:
t
.
goods_number
,
sku_id
:
t
.
sku_id
,
price
:
t
.
price_has_tax
,
is_cover_goods_num
:
1
}),
i
.
push
(
t
.
sku_id
)})),
this
.
request
(
v
+
"/api/cart/batchAddCart"
,
"POST"
,{
sku_json
:
JSON
.
stringify
(
l
)},
!
0
).
then
((
e
=>
{
0
==
e
.
code
?(
t
(
"car_ids"
,
i
.
join
(
","
)),
t
(
"confirmOrderBackUrl"
,
`/pages/user/orderList?status=
${
this
.
status
}
`
),
s
({
url
:
"/pages/car/confirmOrder"
})):
a
({
title
:
e
.
msg
,
icon
:
"error"
})}))},
payOrder
(
t
){
s
({
url
:
"/pages/user/orderPay?order_id="
+
t
})},
sure
(
t
){
e
({
title
:
"订单确认"
,
content
:
"您要把当前订单确认收货吗?"
,
success
:
s
=>
{
s
.
confirm
&&
this
.
request
(
v
+
"/api/order/confirmReceipt"
,
"POST"
,{
order_id
:
t
},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
a
({
title
:
"确认收货成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
this
.
initGetData
()}),
2
e3
)):
a
({
title
:
t
.
msg
,
icon
:
"none"
})}))}})},
cancelOrder
(
t
){
e
({
title
:
"取消订单"
,
content
:
"您确定要取消当前订单吗?"
,
success
:
s
=>
{
s
.
confirm
&&
this
.
request
(
v
+
"/api/order/cancel"
,
"POST"
,{
order_id
:
t
},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
a
({
title
:
"取消订单成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
this
.
initGetData
()}),
2
e3
)):
a
({
title
:
t
.
msg
,
icon
:
"none"
})}))}})},
onConfirm
(
t
){
t
.
detail
.
value
.
length
<
2
?
a
({
title
:
"关键字不能小于2个字符"
,
duration
:
2
e3
,
icon
:
"none"
}):(
this
.
status
=
""
,
this
.
initGetData
())},
tab
(
t
){
this
.
status
=
t
,
this
.
initGetData
()},
initGetData
(){
this
.
page
=
1
,
this
.
isInit
=!
1
,
this
.
isLoadEnd
=!
1
,
this
.
list
=
[],
this
.
getData
()},
getData
(){
let
t
=
{
is_multi
:
1
,
status
:
this
.
status
,
limit
:
this
.
limit
,
page
:
this
.
page
,
xcx_search
:
this
.
inputValue
};
this
.
request
(
v
+
"/api/order/list"
,
"GET"
,
t
,
!
0
,
!
0
).
then
((
t
=>
{
if
(
0
==
t
.
code
){
this
.
isInit
=
1
;
let
s
=
t
.
data
.
list
||
[];
s
.
forEach
((
t
=>
{
1
==
t
.
status
&&
(
t
.
status_val
=
"待确认"
),
2
!=
t
.
status
&&
3
!=
t
.
status
||
(
t
.
status_val
=
"待付款"
),
4
==
t
.
status
&&
(
t
.
status_val
=
"待发货"
),
7
!=
t
.
status
&&
8
!=
t
.
status
||
(
t
.
status_val
=
"待收货"
),
-
1
!=
t
.
status
&&
10
!=
t
.
status
||
(
t
.
status_val
=
"已完结"
)})),
this
.
list
=
[...
this
.
list
,...
s
],
this
.
page
*
this
.
limit
>=
Number
(
t
.
data
.
total
)
&&
(
this
.
isLoadEnd
=!
0
),
this
.
page
++
}
else
this
.
isInit
=
1
,
this
.
list
=
[]}))},
clearInput
:
function
(
t
){
this
.
inputValue
=
t
.
detail
.
value
,
t
.
detail
.
value
.
length
>
0
?
this
.
showClearIcon
=!
0
:
this
.
showClearIcon
=!
1
},
clearIcon
:
function
(){
this
.
inputValue
=
""
,
this
.
showClearIcon
=!
1
}},
components
:{
barX
:
I
}},[[
"render"
,
function
(
t
,
s
,
a
,
e
,
v
,
w
){
const
I
=
l
(
"barX"
),
x
=
m
,
D
=
g
,
O
=
c
,
E
=
k
,
L
=
y
;
return
u
(),
i
(
O
,{
class
:
"orderListPage"
},{
default
:
o
((()
=>
[
n
(
I
),
n
(
O
,{
class
:
"head"
},{
default
:
o
((()
=>
[
n
(
O
,{
class
:
"top-box-order row bothSide verCenter"
},{
default
:
o
((()
=>
[
n
(
x
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
s
[
0
]
||
(
s
[
0
]
=
s
=>
t
.
$goBack
())}),
n
(
O
,{
class
:
"search-box row verCenter"
},{
default
:
o
((()
=>
[
n
(
x
,{
class
:
"icon iconfont icon-search"
}),
n
(
D
,{
class
:
"uni-input"
,
placeholder
:
"请输入订单编号、商品名称、型号"
,
value
:
v
.
inputValue
,
onInput
:
w
.
clearInput
,
"confirm-type"
:
"search"
,
onConfirm
:
w
.
onConfirm
},
null
,
8
,[
"value"
,
"onInput"
,
"onConfirm"
]),
v
.
showClearIcon
?(
u
(),
i
(
x
,{
key
:
0
,
class
:
"icon iconfont icon-searchclose"
,
onClick
:
s
[
1
]
||
(
s
[
1
]
=
t
=>
w
.
clearIcon
())})):
r
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
}),
n
(
O
,{
class
:
"tabs row bothSide verCenter"
},{
default
:
o
((()
=>
[
n
(
O
,{
class
:
d
([
"item"
,{
act
:
""
==
v
.
status
}]),
onClick
:
s
[
2
]
||
(
s
[
2
]
=
t
=>
w
.
tab
(
""
))},{
default
:
o
((()
=>
[
_
(
"全部"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
O
,{
class
:
d
([
"item"
,{
act
:
"1"
==
v
.
status
}]),
onClick
:
s
[
3
]
||
(
s
[
3
]
=
t
=>
w
.
tab
(
"1"
))},{
default
:
o
((()
=>
[
_
(
"待确认"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
O
,{
class
:
d
([
"item"
,{
act
:
"2,3"
==
v
.
status
}]),
onClick
:
s
[
4
]
||
(
s
[
4
]
=
t
=>
w
.
tab
(
"2,3"
))},{
default
:
o
((()
=>
[
_
(
"待付款"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
O
,{
class
:
d
([
"item"
,{
act
:
"4"
==
v
.
status
}]),
onClick
:
s
[
5
]
||
(
s
[
5
]
=
t
=>
w
.
tab
(
"4"
))},{
default
:
o
((()
=>
[
_
(
"待发货"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
O
,{
class
:
d
([
"item"
,{
act
:
"7,8"
==
v
.
status
}]),
onClick
:
s
[
6
]
||
(
s
[
6
]
=
t
=>
w
.
tab
(
"7,8"
))},{
default
:
o
((()
=>
[
_
(
"待收货"
)])),
_
:
1
},
8
,[
"class"
]),
n
(
O
,{
class
:
d
([
"item"
,{
act
:
"-1,10"
==
v
.
status
}]),
onClick
:
s
[
7
]
||
(
s
[
7
]
=
t
=>
w
.
tab
(
"-1,10"
))},{
default
:
o
((()
=>
[
_
(
"已完结"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
}),
n
(
O
,{
class
:
"cons"
},{
default
:
o
((()
=>
[
v
.
list
.
length
>
0
?(
u
(),
i
(
O
,{
key
:
0
,
class
:
"data-box"
},{
default
:
o
((()
=>
[(
u
(
!
0
),
h
(
p
,
null
,
f
(
v
.
list
,((
t
,
s
)
=>
(
u
(),
i
(
L
,{
url
:
"/pages/user/orderDetail?order_id="
+
t
.
order_id
,
class
:
"group"
,
key
:
s
},{
default
:
o
((()
=>
[
n
(
O
,{
class
:
"t row verCenter bothSide"
},{
default
:
o
((()
=>
[
n
(
x
,
null
,{
default
:
o
((()
=>
[
_
(
"订单编号 "
+
C
(
t
.
order_sn
),
1
)])),
_
:
2
},
1024
),
1
==
t
.
status
||
2
==
t
.
status
||
3
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
0
,
class
:
"tag"
},{
default
:
o
((()
=>
[
_
(
C
(
t
.
status_val
),
1
)])),
_
:
2
},
1024
)):
r
(
""
,
!
0
),
4
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
1
,
class
:
"tag tag-blue"
},{
default
:
o
((()
=>
[
_
(
C
(
t
.
status_val
),
1
)])),
_
:
2
},
1024
)):
r
(
""
,
!
0
),
7
==
t
.
status
||
8
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
2
,
class
:
"tag tag-yellow"
},{
default
:
o
((()
=>
[
_
(
C
(
t
.
status_val
),
1
)])),
_
:
2
},
1024
)):
r
(
""
,
!
0
),
-
1
==
t
.
status
||
10
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
3
,
class
:
"tag tag-ccc"
},{
default
:
o
((()
=>
[
_
(
C
(
t
.
status_val
),
1
)])),
_
:
2
},
1024
)):
r
(
""
,
!
0
)])),
_
:
2
},
1024
),(
u
(
!
0
),
h
(
p
,
null
,
f
(
t
.
goods_list
,((
t
,
s
)
=>
(
u
(),
i
(
O
,{
class
:
"c row"
,
key
:
s
},{
default
:
o
((()
=>
[
n
(
E
,{
src
:
t
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
]),
n
(
O
,{
class
:
"r"
},{
default
:
o
((()
=>
[
n
(
O
,{
class
:
"tr row bothSide"
},{
default
:
o
((()
=>
[
n
(
O
,{
class
:
"elep"
},{
default
:
o
((()
=>
[
_
(
C
(
t
.
sku_name
),
1
)])),
_
:
2
},
1024
),
n
(
x
,
null
,{
default
:
o
((()
=>
[
_
(
"x"
+
C
(
t
.
goods_number
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
n
(
O
,{
class
:
"cr"
},{
default
:
o
((()
=>
[
_
(
"货期:"
+
C
(
t
.
delivery_time
),
1
)])),
_
:
2
},
1024
),
n
(
O
,{
class
:
"br"
},{
default
:
o
((()
=>
[
n
(
O
,
null
,{
default
:
o
((()
=>
[
_
(
C
(
t
.
price_has_tax_format
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
)),
n
(
O
,{
class
:
"hsprice"
},{
default
:
o
((()
=>
[
n
(
x
,
null
,{
default
:
o
((()
=>
[
_
(
"(含税总额)"
)])),
_
:
1
}),
_
(
C
(
t
.
order_amount_format
),
1
)])),
_
:
2
},
1024
),
-
1
!=
t
.
status
&&
10
!=
t
.
status
&&
4
!=
t
.
status
?(
u
(),
i
(
O
,{
key
:
0
,
class
:
"handle row"
},{
default
:
o
((()
=>
[
1
==
t
.
status
||
2
==
t
.
status
||
3
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
0
,
class
:
"cancel"
,
onClick
:
b
((
s
=>
w
.
cancelOrder
(
t
.
order_id
)),[
"stop"
,
"prevent"
])},{
default
:
o
((()
=>
[
_
(
"取消订单"
)])),
_
:
2
},
1032
,[
"onClick"
])):
r
(
""
,
!
0
),
2
==
t
.
status
||
3
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
1
,
class
:
"pay"
,
onClick
:
b
((
s
=>
w
.
payOrder
(
t
.
order_id
)),[
"stop"
,
"prevent"
])},{
default
:
o
((()
=>
[
_
(
"确认付款"
)])),
_
:
2
},
1032
,[
"onClick"
])):
r
(
""
,
!
0
),
7
==
t
.
status
||
8
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
2
,
class
:
"cancel"
,
onClick
:
b
((
s
=>
w
.
again
(
t
)),[
"stop"
,
"prevent"
])},{
default
:
o
((()
=>
[
_
(
"再来一单"
)])),
_
:
2
},
1032
,[
"onClick"
])):
r
(
""
,
!
0
),
7
==
t
.
status
||
8
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
3
,
class
:
"cancel"
},{
default
:
o
((()
=>
[
_
(
"查看物流"
)])),
_
:
1
})):
r
(
""
,
!
0
),
7
==
t
.
status
||
8
==
t
.
status
?(
u
(),
i
(
O
,{
key
:
4
,
class
:
"pay"
,
onClick
:
b
((
s
=>
w
.
sure
(
t
.
order_id
)),[
"stop"
,
"prevent"
])},{
default
:
o
((()
=>
[
_
(
"确认收货"
)])),
_
:
2
},
1032
,[
"onClick"
])):
r
(
""
,
!
0
)])),
_
:
2
},
1024
)):
r
(
""
,
!
0
)])),
_
:
2
},
1032
,[
"url"
])))),
128
))])),
_
:
1
})):
r
(
""
,
!
0
),
v
.
list
.
length
>
0
&&
v
.
isLoadEnd
?(
u
(),
i
(
O
,{
key
:
1
,
class
:
"pagebot"
},{
default
:
o
((()
=>
[
_
(
"—— 已经全部加载完 ——"
)])),
_
:
1
})):
r
(
""
,
!
0
),
v
.
isInit
&&
0
==
v
.
list
.
length
?(
u
(),
i
(
O
,{
key
:
2
,
class
:
"no-data"
},{
default
:
o
((()
=>
[
n
(
E
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/07a360187d83ccf80a9d835029c27446.png"
}),
n
(
O
,
null
,{
default
:
o
((()
=>
[
_
(
"暂无订单数据!"
)])),
_
:
1
})])),
_
:
1
})):
r
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-a0c00846"
]]);
export
{
x
as
default
};
unpackage/dist/build/web/assets/pages-user-orderPay.DdB_S1Fz.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
t
,
n
as
e
,
r
as
a
,
c
as
o
,
w
as
s
,
i
,
o
as
r
,
d
as
n
,
e
as
d
,
t
as
c
,
p
as
l
,
f
as
p
,
k
as
u
,
m
as
h
,
l
as
m
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
f
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
,
b
as
g
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
y
}
from
"./title_nav.dc5elgbU.js"
;
const
b
=
_
({
data
:()
=>
({
order_id
:
""
,
pageData
:
""
,
action
:
""
,
bizContent
:
""
,
pf
:
"h5"
}),
onLoad
:
function
(
t
){
this
.
order_id
=
t
.
order_id
||
""
,
this
.
getData
(),
console
.
log
(
this
.
pf
)},
onShow
(){},
methods
:{
goApplyPay
(){
this
.
request
(
f
+
"/api/pay/h5Pay"
,
"POST"
,{
order_id
:
this
.
order_id
,
pay_type
:
2
,
callback_url
:
window
.
location
.
origin
+
"/#/pages/user/orderList?status=4"
},
!
0
).
then
((
e
=>
{
if
(
0
==
e
.
code
){
this
.
bizContent
=
e
.
data
.
qRAuthCode
.
bizContent
,
this
.
action
=
e
.
data
.
qRAuthCode
.
action
;
const
t
=
document
.
createElement
(
"div"
);
t
.
innerHTML
=
`\n\t\t\t\t\t\t<form id="myForm" action="
${
this
.
action
}
" method="post" name="punchout_form" class="formapplyi">\n\t\t\t\t\t\t <input type="hidden" name="biz_content" value='
${
this
.
bizContent
}
'>\n\t\t\t\t\t\t <button type="submit">提交</button>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t\t`
,
document
.
body
.
appendChild
(
t
),
document
.
forms
[
0
].
submit
()}
else
t
({
title
:
e
.
msg
,
icon
:
"error"
})}))},
gopays
(){
"h5"
==
this
.
pf
?
this
.
request
(
f
+
"/api/pay/h5Pay"
,
"POST"
,{
order_id
:
this
.
order_id
,
pay_type
:
1
,
callback_url
:
window
.
location
.
origin
+
"/#/pages/user/orderList?status=4"
},
!
0
).
then
((
e
=>
{
0
==
e
.
code
?
window
.
location
.
href
=
e
.
data
.
qRAuthCode
:
t
({
title
:
e
.
msg
,
icon
:
"error"
})})):
this
.
request
(
f
+
"/api/pay/wxMiniProgramPay"
,
"GET"
,{
order_id
:
this
.
order_id
},
!
0
).
then
((
a
=>
{
0
==
a
.
code
?
uni
.
requestPayment
({
timeStamp
:
a
.
data
.
timeStamp
,
nonceStr
:
a
.
data
.
nonceStr
,
package
:
a
.
data
.
package
,
signType
:
a
.
data
.
signType
,
paySign
:
a
.
data
.
paySign
,
success
:
a
=>
{
t
({
title
:
"支付成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
e
({
url
:
"/pages/user/orderList?status=4"
})}),
2
e3
)},
fail
:
e
=>
{
console
.
error
(
"支付失败"
,
e
),
t
({
title
:
"支付失败"
,
icon
:
"none"
})}}):
t
({
title
:
a
.
msg
,
icon
:
"error"
})}))},
getData
(){
this
.
request
(
f
+
"/api/order/detail"
,
"GET"
,{
order_id
:
this
.
order_id
},
!
0
).
then
((
e
=>
{
0
==
e
.
code
?
this
.
pageData
=
e
.
data
:
t
({
title
:
e
.
msg
,
icon
:
"error"
})}))}},
components
:{
barX
:
g
,
titleNav
:
y
}},[[
"render"
,
function
(
t
,
e
,
f
,
_
,
g
,
y
){
const
b
=
a
(
"barX"
),
w
=
a
(
"titleNav"
),
v
=
i
,
C
=
u
,
P
=
h
,
S
=
m
;
return
r
(),
o
(
v
,{
class
:
"orderPayPage"
},{
default
:
s
((()
=>
[
n
(
b
),
n
(
w
,{
title
:
"在线支付"
}),
n
(
v
,{
class
:
"cons"
},{
default
:
s
((()
=>
[
g
.
pageData
?(
r
(),
o
(
v
,{
key
:
0
,
class
:
"sec"
},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"tit"
},{
default
:
s
((()
=>
[
d
(
"待付款"
)])),
_
:
1
}),
n
(
v
,{
class
:
"price"
},{
default
:
s
((()
=>
[
d
(
c
(
g
.
pageData
.
order_info
.
order_amount_format
),
1
)])),
_
:
1
}),
n
(
v
,{
class
:
"pay-box"
},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"tx"
},{
default
:
s
((()
=>
[
d
(
"请选择支付方式"
)])),
_
:
1
}),
n
(
v
,{
class
:
"payc-choose"
},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"item row verCenter bothSide"
,
onClick
:
e
[
0
]
||
(
e
[
0
]
=
l
((
t
=>
y
.
gopays
()),[
"stop"
,
"prevent"
]))},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"row"
},{
default
:
s
((()
=>
[
n
(
C
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/26/253f5437f82270598296b216f4e49622.png"
}),
n
(
P
,
null
,{
default
:
s
((()
=>
[
d
(
"微信支付"
)])),
_
:
1
})])),
_
:
1
}),
n
(
P
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
}),
"h5"
==
g
.
pf
?(
r
(),
o
(
v
,{
key
:
0
,
class
:
"item row verCenter bothSide"
,
onClick
:
e
[
1
]
||
(
e
[
1
]
=
l
((
t
=>
y
.
goApplyPay
()),[
"stop"
,
"prevent"
]))},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"row"
},{
default
:
s
((()
=>
[
n
(
C
,{
src
:
"https://imgscdn.ichunt.com/show/origin/abb790j10hs0hs0000000svib0vcm"
}),
n
(
P
,
null
,{
default
:
s
((()
=>
[
d
(
"支付宝支付"
)])),
_
:
1
})])),
_
:
1
}),
n
(
P
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})):
p
(
""
,
!
0
),
n
(
S
,{
url
:
"/pages/user/orderPayLine?order_id="
+
g
.
order_id
},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"item row verCenter bothSide"
},{
default
:
s
((()
=>
[
n
(
v
,{
class
:
"row"
},{
default
:
s
((()
=>
[
n
(
C
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/26/bd1559d2520276133bfcf50f97adcd7c.png"
}),
n
(
P
,
null
,{
default
:
s
((()
=>
[
d
(
"公司转账"
)])),
_
:
1
})])),
_
:
1
}),
n
(
P
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
])])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-85534fb2"
]]);
export
{
b
as
default
};
unpackage/dist/build/web/assets/pages-user-orderPayLine.BhzSbE6V.js
deleted
100644 → 0
View file @
d46cc593
import
{
O
as
a
,
b
as
e
,
r
as
t
,
c
as
l
,
w
as
s
,
i
as
d
,
o
,
d
as
r
,
e
as
u
,
t
as
_
,
f
as
n
,
v
as
f
,
m
as
i
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
c
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
p
,
b
as
h
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
m
}
from
"./title_nav.dc5elgbU.js"
;
const
g
=
p
({
data
:()
=>
({
order_id
:
""
,
pageData
:
""
}),
onLoad
:
function
(
a
){
this
.
order_id
=
a
.
order_id
||
""
,
this
.
getData
()},
onShow
(){},
methods
:{
copy
(){
let
t
=
`收款人户名 深圳华云数智工业科技有限公司\n银行账号 交通银行深圳梅林支行\n开户银行 443066388013008419909\n付款识别码
${
this
.
pageData
.
order_info
.
order_sn
}
`
;
a
({
data
:
t
,
success
:
function
(){
e
({
title
:
"复制成功"
,
icon
:
"success"
})}})},
getData
(){
this
.
request
(
c
+
"/api/order/detail"
,
"GET"
,{
order_id
:
this
.
order_id
},
!
0
).
then
((
a
=>
{
0
==
a
.
code
?
this
.
pageData
=
a
.
data
:
e
({
title
:
a
.
msg
,
icon
:
"error"
})}))}},
components
:{
barX
:
h
,
titleNav
:
m
}},[[
"render"
,
function
(
a
,
e
,
c
,
p
,
h
,
m
){
const
g
=
t
(
"barX"
),
b
=
t
(
"titleNav"
),
D
=
d
,
w
=
i
;
return
o
(),
l
(
D
,{
class
:
"orderPayLinePage"
},{
default
:
s
((()
=>
[
r
(
g
),
r
(
b
,{
title
:
"公司转账"
}),
r
(
D
,{
class
:
f
([
"cons"
,{
act
:
h
.
pageData
}])},{
default
:
s
((()
=>
[
h
.
pageData
?(
o
(),
l
(
D
,{
key
:
0
,
class
:
"sec"
},{
default
:
s
((()
=>
[
r
(
D
,{
class
:
"tit"
},{
default
:
s
((()
=>
[
u
(
"待付款"
)])),
_
:
1
}),
r
(
D
,{
class
:
"price"
},{
default
:
s
((()
=>
[
u
(
_
(
h
.
pageData
.
order_info
.
order_amount_format
),
1
)])),
_
:
1
}),
r
(
D
,{
class
:
"infos"
},{
default
:
s
((()
=>
[
r
(
D
,{
class
:
"row bothSide verCenter"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"订单号:"
)])),
_
:
1
}),
r
(
D
,
null
,{
default
:
s
((()
=>
[
u
(
_
(
h
.
pageData
.
order_info
.
order_sn
),
1
)])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"row bothSide verCenter"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"下单时间:"
)])),
_
:
1
}),
r
(
D
,
null
,{
default
:
s
((()
=>
[
u
(
_
(
h
.
pageData
.
order_info
.
create_time
),
1
)])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"row bothSide verCenter"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"订单状态:"
)])),
_
:
1
}),
r
(
D
,{
class
:
"status"
},{
default
:
s
((()
=>
[
u
(
_
(
h
.
pageData
.
order_info
.
status_val
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"zhtti"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"线下对公付款信息"
)])),
_
:
1
}),
u
(
" (请按照以下信息进行线下转账汇款操作) "
)])),
_
:
1
}),
r
(
D
,{
class
:
"zhcons"
},{
default
:
s
((()
=>
[
r
(
D
,{
class
:
"zhtips"
},{
default
:
s
((()
=>
[
u
(
" 您的汇款识别码"
),
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
_
(
h
.
pageData
.
order_info
.
order_sn
),
1
)])),
_
:
1
}),
u
(
",汇款填写用途/备注/摘要栏,便于快速核销款项款项。 "
)])),
_
:
1
}),
r
(
D
,{
class
:
"zhc"
},{
default
:
s
((()
=>
[
r
(
D
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"收款人户名"
)])),
_
:
1
}),
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"深圳华云数智工业科技有限公司"
)])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"银行账号"
)])),
_
:
1
}),
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"交通银行深圳梅林支行"
)])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"开户银行"
)])),
_
:
1
}),
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"443066388013008419909"
)])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"银联号(非必填)"
)])),
_
:
1
}),
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"301584000395"
)])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"row bothSide"
},{
default
:
s
((()
=>
[
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
"用途/备注/摘要栏"
)])),
_
:
1
}),
r
(
w
,
null
,{
default
:
s
((()
=>
[
u
(
_
(
h
.
pageData
.
order_info
.
order_remark
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
r
(
D
,{
class
:
"copy"
,
onClick
:
m
.
copy
},{
default
:
s
((()
=>
[
u
(
"一键复制"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
})):
n
(
""
,
!
0
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})}],[
"__scopeId"
,
"data-v-691508ec"
]]);
export
{
g
as
default
};
unpackage/dist/build/web/assets/pages-user-qDlist.C2xWjdlb.js
deleted
100644 → 0
View file @
d46cc593
import
{
b
as
e
,
y
as
t
,
r
as
s
,
c
as
a
,
w
as
c
,
i
,
o
as
l
,
d
as
o
,
e
as
d
,
f
as
n
,
h
as
r
,
j
as
h
,
F
as
f
,
v
as
u
,
p
as
k
,
m
as
_
,
k
as
g
,
t
as
m
,
l
as
p
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
b
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
C
,
b
as
L
}
from
"./barx.BsVUcAxA.js"
;
const
w
=
C
({
data
:()
=>
({
dataInited
:
!
1
,
allcheck
:
!
1
,
isEdit
:
!
1
,
carList
:[]}),
onLoad
:
function
(){
this
.
getData
()},
methods
:{
getData
(
e
){
this
.
request
(
b
+
"/api/xcx/getGoodsList"
,
"get"
,{
page
:
1
,
limit
:
100
},
!
1
).
then
((
e
=>
{
if
(
this
.
dataInited
=!
0
,
this
.
allcheck
=!
1
,
this
.
carList
=
[],
0
==
e
.
code
){
let
t
=
e
.
data
.
list
||
[];
t
.
forEach
((
e
=>
{
e
.
checked
=!
1
})),
this
.
carList
=
t
}}))},
checkboxchange
(
e
){
if
(
"460053411"
==
e
)
this
.
allcheck
=!
this
.
allcheck
,
this
.
carList
.
forEach
((
e
=>
{
e
.
checked
=
this
.
allcheck
}));
else
{
var
t
=
1
;
this
.
carList
.
forEach
((
s
=>
{
s
.
list_id
==
e
&&
(
s
.
checked
=!
s
.
checked
),
s
.
checked
||
(
t
=
0
)})),
this
.
allcheck
=!!
t
}
return
!
1
},
dels
(){
let
s
=
this
.
carList
.
filter
((
e
=>
e
.
checked
)).
map
((
e
=>
e
.
list_id
)).
join
(
","
);
s
?
t
({
title
:
"删除"
,
content
:
"是否删除当前选中清单?"
,
success
:
t
=>
{
t
.
confirm
&&
this
.
request
(
b
+
"/api/xcx/delGoodsList"
,
"POST"
,{
list_ids
:
s
},
!
0
).
then
((
t
=>
{
if
(
0
==
t
.
code
){
e
({
title
:
"删除成功"
,
duration
:
2
e3
,
icon
:
"none"
});
let
t
=
this
.
carList
.
filter
((
e
=>-
1
==
s
.
indexOf
(
e
.
list_id
)));
this
.
carList
=
JSON
.
parse
(
JSON
.
stringify
(
t
))}
else
e
({
title
:
t
.
msg
,
duration
:
2
e3
,
icon
:
"none"
})}))}}):
e
({
title
:
"请选择至少一个清单数量"
,
duration
:
2
e3
,
icon
:
"none"
})}},
components
:{
barX
:
L
}},[[
"render"
,
function
(
e
,
t
,
b
,
C
,
L
,
w
){
const
x
=
s
(
"barX"
),
E
=
_
,
v
=
i
,
y
=
g
,
S
=
p
;
return
l
(),
a
(
v
,{
class
:
"qDlistPage"
},{
default
:
c
((()
=>
[
o
(
x
),
o
(
v
,{
class
:
"car-head row bothSide"
},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
"l row verCenter"
},{
default
:
c
((()
=>
[
o
(
E
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
e
.
$goBack
},
null
,
8
,[
"onClick"
]),
o
(
v
,
null
,{
default
:
c
((()
=>
[
d
(
"我的清单"
)])),
_
:
1
})])),
_
:
1
}),
L
.
isEdit
?
n
(
""
,
!
0
):(
l
(),
a
(
v
,{
key
:
0
,
class
:
"r row verCenter"
},{
default
:
c
((()
=>
[
o
(
E
,{
onClick
:
t
[
0
]
||
(
t
[
0
]
=
e
=>
L
.
isEdit
=!
L
.
isEdit
)},{
default
:
c
((()
=>
[
d
(
"编辑"
)])),
_
:
1
})])),
_
:
1
})),
L
.
isEdit
?(
l
(),
a
(
v
,{
key
:
1
,
class
:
"r row verCenter"
},{
default
:
c
((()
=>
[
o
(
E
,{
onClick
:
t
[
1
]
||
(
t
[
1
]
=
e
=>
L
.
isEdit
=!
L
.
isEdit
)},{
default
:
c
((()
=>
[
d
(
"完成"
)])),
_
:
1
})])),
_
:
1
})):
n
(
""
,
!
0
)])),
_
:
1
}),
o
(
v
,{
class
:
"cons"
},{
default
:
c
((()
=>
[
L
.
dataInited
&&
0
==
L
.
carList
.
length
?(
l
(),
a
(
v
,{
key
:
0
,
class
:
"no-data"
},{
default
:
c
((()
=>
[
o
(
y
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/19/7fdab385a25db187f8e57370875f7546.png"
}),
o
(
E
,
null
,{
default
:
c
((()
=>
[
d
(
"暂无清单信息!"
)])),
_
:
1
})])),
_
:
1
})):
n
(
""
,
!
0
),
L
.
carList
.
length
>
0
?(
l
(),
a
(
v
,{
key
:
1
,
class
:
"list-box"
},{
default
:
c
((()
=>
[(
l
(
!
0
),
r
(
f
,
null
,
h
(
L
.
carList
,((
e
,
t
)
=>
(
l
(),
a
(
v
,{
class
:
u
([
"item-group"
,{
noedit
:
!
L
.
isEdit
}]),
key
:
t
},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
"l row verCenter rowCenter"
,
onClick
:
k
((
t
=>
w
.
checkboxchange
(
e
.
list_id
)),[
"stop"
])},{
default
:
c
((()
=>
[
o
(
E
,{
class
:
u
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
e
.
checked
}])},
null
,
8
,[
"class"
])])),
_
:
2
},
1032
,[
"onClick"
]),
o
(
S
,{
url
:
"/pages/user/qdDetail?list_id="
+
e
.
list_id
},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
"r row bothSide"
},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
"rcon"
},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
"elep names"
},{
default
:
c
((()
=>
[
d
(
m
(
e
.
list_name
),
1
)])),
_
:
2
},
1024
),
o
(
v
,{
class
:
"time"
},{
default
:
c
((()
=>
[
d
(
m
(
e
.
create_time
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
o
(
v
,{
class
:
"goodsg row bothSide"
},{
default
:
c
((()
=>
[
o
(
E
,
null
,{
default
:
c
((()
=>
[
d
(
m
(
e
.
list_goods_count
)
+
"个商品"
,
1
)])),
_
:
2
},
1024
),
o
(
E
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"url"
])])),
_
:
2
},
1032
,[
"class"
])))),
128
))])),
_
:
1
})):
n
(
""
,
!
0
)])),
_
:
1
}),
L
.
isEdit
?(
l
(),
a
(
v
,{
key
:
0
,
class
:
"car-foot row verCenter bothSide"
},{
default
:
c
((()
=>
[
o
(
v
,{
class
:
"checked-box row verCenter"
,
onClick
:
t
[
2
]
||
(
t
[
2
]
=
k
((
e
=>
w
.
checkboxchange
(
460053411
)),[
"stop"
]))},{
default
:
c
((()
=>
[
o
(
E
,{
class
:
u
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
L
.
allcheck
}])},
null
,
8
,[
"class"
]),
d
(
"全选"
)])),
_
:
1
}),
o
(
v
,{
class
:
"del-btn"
,
onClick
:
t
[
3
]
||
(
t
[
3
]
=
e
=>
w
.
dels
())},{
default
:
c
((()
=>
[
d
(
"删除"
)])),
_
:
1
})])),
_
:
1
})):
n
(
""
,
!
0
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-89262522"
]]);
export
{
w
as
default
};
unpackage/dist/build/web/assets/pages-user-qdDetail.CRjm69JM.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
t
,
b
as
e
,
y
as
s
,
A
as
i
,
n
as
a
,
r
as
o
,
x
as
c
,
c
as
l
,
w
as
n
,
i
as
d
,
o
as
r
,
d
as
u
,
e
as
h
,
t
as
_
,
f
as
p
,
h
as
m
,
j
as
f
,
F
as
k
,
p
as
g
,
v
as
b
,
m
as
C
,
k
as
w
,
I
as
x
}
from
"./index-CDFUxcS7.js"
;
import
{
r
as
L
,
_
as
N
}
from
"./uni-popup.Cj83ad0Q.js"
;
import
{
A
as
S
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
v
,
b
as
y
}
from
"./barx.BsVUcAxA.js"
;
const
O
=
v
({
data
:()
=>
({
checkcount
:
0
,
timeout
:
""
,
dataInited
:
!
1
,
allcheck
:
!
0
,
isEdit
:
!
1
,
carList
:[],
totalprice
:
0
,
list_id
:
""
,
share_uuid
:
""
,
list_name
:
""
,
isCompany
:
!
(
!
t
(
"user_info"
)
||!
JSON
.
parse
(
t
(
"user_info"
)).
company_name
),
miniShareOptions
:{
title
:
"给您分享我的清单"
,
path
:
"/pages/user/qdDetail"
,
imageUrl
:
"https://img.ichunt.com/images/ichunt/202503/19/cdaebc710d636541b8d9916210b46a49.png"
,
desc
:
""
}}),
onLoad
:
function
(
t
){
this
.
list_id
=
t
.
list_id
,
this
.
share_uuid
=
t
.
share_uuid
,
this
.
getData
()},
onShareAppMessage
(){
return
{...
this
.
miniShareOptions
,
success
:()
=>
{
e
({
title
:
"分享成功"
,
icon
:
"success"
})},
fail
:()
=>
{
e
({
title
:
"分享失败"
,
icon
:
"none"
})}}},
onShareTimeline
(){
return
{...
this
.
miniShareOptions
,
success
:()
=>
{
e
({
title
:
"分享成功"
,
icon
:
"success"
})},
fail
:()
=>
{
e
({
title
:
"分享失败"
,
icon
:
"none"
})}}},
methods
:{
getData
(
t
){
t
||
(
this
.
carList
=
[]),
this
.
request
(
S
+
"/api/xcx/goodsListDetail"
,
"GET"
,{
list_id
:
this
.
list_id
,
share_uuid
:
this
.
share_uuid
||
""
},
!
t
).
then
((
t
=>
{
if
(
this
.
dataInited
=!
0
,
this
.
allcheck
=!
0
,
this
.
carList
=
[],
0
==
t
.
code
){
this
.
list_name
=
t
.
data
.
info
.
list_name
,
this
.
list_id
=
t
.
data
.
info
.
list_id
,
this
.
share_uuid
=
t
.
data
.
info
.
share_uuid
,
this
.
miniShareOptions
.
path
=
"/pages/user/qdDetail?list_id="
+
this
.
list_id
+
"&share_uuid="
+
this
.
share_uuid
,(
t
.
data
.
list
||
[]).
forEach
((
t
=>
{
t
.
checked
=!
0
,
t
.
buyPrice
=
t
.
goods_price
,
t
.
ladder_price
&&
t
.
ladder_price
.
length
>
0
&&
(
t
.
buyPrice
=
this
.
isCompany
?
t
.
ladder_price
[
1
].
price_cn
||
0
:
t
.
ladder_price
[
0
].
price_cn
||
0
),
t
.
goods_price
=
t
.
buyPrice
,
this
.
carList
.
push
(
t
)})),
this
.
listUi
()}}))},
listUi
(){
this
.
totalprice
=
0
,
this
.
checkcount
=
0
,
this
.
carList
.
forEach
((
t
=>
{
t
.
checked
&&
(
this
.
checkcount
++
,
this
.
totalprice
+=
Number
(
t
.
goods_price
*
t
.
goods_count
))})),
this
.
totalprice
=
this
.
totalprice
.
toFixed
(
2
)},
changeNum
(
t
,
e
){
clearTimeout
(
this
.
timeout
),
this
.
timeout
=
setTimeout
((()
=>
{
let
e
=
this
.
carList
.
filter
((
e
=>
e
.
sku_id
==
t
))[
0
],
s
=
Number
(
e
.
multiple
||
e
.
mpl
),
i
=
Number
(
e
.
stock
),
a
=
Number
(
e
.
moq
),
o
=
Number
(
e
.
goods_count
);
o
=
Math
.
ceil
(
o
/
s
)
*
s
,
e
.
goods_count
=
o
,
o
<
a
&&
(
e
.
goods_count
=
a
),
o
>
i
&&
(
e
.
goods_count
=
Math
.
floor
(
i
/
s
)
*
s
),
this
.
request
(
S
+
"/api/xcx/updateGoodsNum"
,
"POST"
,{
sku_id
:
e
.
sku_id
,
goods_num
:
e
.
goods_count
,
list_id
:
this
.
list_id
},
!
1
).
then
((
t
=>
{
this
.
listUi
()}))}),
800
)},
addjNum
(
t
,
s
){
let
i
=
this
.
carList
.
filter
((
e
=>
e
.
sku_id
==
t
))[
0
],
a
=
Number
(
i
.
multiple
||
i
.
mpl
),
o
=
Number
(
i
.
stock
),
c
=
Number
(
i
.
moq
),
l
=
Number
(
i
.
goods_count
);
if
(
1
==
s
){
var
n
=
l
-
a
;
n
<
c
?(
i
.
goods_count
=
c
,
e
({
title
:
"数量不能小于起订量"
,
duration
:
2
e3
,
icon
:
"none"
})):
i
.
goods_count
=
n
}
else
{
var
d
=
l
+
a
;
d
>
o
?(
e
({
title
:
"数量不能大于库存"
,
duration
:
2
e3
,
icon
:
"none"
}),
i
.
goods_count
=
Math
.
floor
(
o
/
a
)
*
a
):
i
.
goods_count
=
d
}
this
.
request
(
S
+
"/api/xcx/updateGoodsNum"
,
"POST"
,{
sku_id
:
i
.
sku_id
,
goods_num
:
i
.
goods_count
,
list_id
:
this
.
list_id
},
!
1
).
then
((
t
=>
{
this
.
listUi
()}))},
checkboxchange
(
t
){
if
(
"460053411"
==
t
)
this
.
allcheck
=!
this
.
allcheck
,
this
.
carList
.
forEach
((
t
=>
{
t
.
checked
=
this
.
allcheck
}));
else
{
var
e
=
1
;
this
.
carList
.
forEach
((
s
=>
{
s
.
sku_id
==
t
&&
(
s
.
checked
=!
s
.
checked
),
s
.
checked
||
(
e
=
0
)})),
this
.
allcheck
=!!
e
}
return
this
.
listUi
(),
!
1
},
dels
(){
let
t
=
this
.
carList
.
filter
((
t
=>
t
.
checked
)).
map
((
t
=>
t
.
sku_id
)).
join
(
","
);
t
?
s
({
title
:
"删除"
,
content
:
"是否删除当前选中商品?"
,
success
:
s
=>
{
s
.
confirm
&&
this
.
request
(
S
+
"/api/xcx/delGoods"
,
"POST"
,{
list_id
:
this
.
list_id
,
sku_ids
:
t
},
!
0
).
then
((
s
=>
{
if
(
0
==
s
.
code
){
e
({
title
:
"删除成功"
,
duration
:
2
e3
,
icon
:
"none"
});
let
s
=
this
.
carList
.
filter
((
e
=>-
1
==
t
.
indexOf
(
e
.
sku_id
)));
this
.
carList
=
JSON
.
parse
(
JSON
.
stringify
(
s
)),
this
.
listUi
()}
else
e
({
title
:
s
.
msg
,
duration
:
2
e3
,
icon
:
"none"
})}))}}):
e
({
title
:
"请选择至少一个商品"
,
duration
:
2
e3
,
icon
:
"none"
})},
addCar
(
t
){
let
s
=
[],
o
=
[];
this
.
carList
.
forEach
((
e
=>
{
if
(
e
.
checked
){
let
i
=
{
goods_num
:
e
.
goods_count
,
sku_id
:
e
.
sku_id
,
price
:
e
.
goods_price
};
1
==
t
&&
(
i
.
is_cover_goods_num
=
1
),
s
.
push
(
i
),
o
.
push
(
e
.
sku_id
)}})),
0
!=
o
.
length
?
this
.
request
(
S
+
"/api/cart/batchAddCart"
,
"POST"
,{
sku_json
:
JSON
.
stringify
(
s
)},
!
0
).
then
((
s
=>
{
0
==
s
.
code
?
1
==
t
?(
i
(
"car_ids"
,
o
.
join
(
","
)),
i
(
"confirmOrderBackUrl"
,
`/pages/user/qdDetail?list_id=
${
this
.
list_id
}
`
),
a
({
url
:
"/pages/car/confirmOrder"
})):
e
({
title
:
"加入购物车成功"
,
icon
:
"success"
}):
e
({
title
:
s
.
msg
,
icon
:
"error"
})})):
e
({
title
:
"请勾选商品"
,
icon
:
"none"
})},
updateList
(){
this
.
list_name
||
e
({
title
:
"请输入清单名字"
,
duration
:
2
e3
,
icon
:
"none"
}),
this
.
request
(
S
+
"/api/xcx/updateGoodsList"
,
"post"
,{
list_name
:
this
.
list_name
,
list_id
:
this
.
list_id
},
!
0
).
then
((
t
=>
{
0
==
t
.
code
?(
e
({
title
:
"修改成功"
,
icon
:
"success"
}),
this
.
closeNewList
()):
e
({
title
:
t
.
msg
,
icon
:
"nonde"
})}))},
openNewList
(){
this
.
$refs
.
popupnewlist
.
open
(
"bottom"
)},
closeNewList
(){
this
.
$refs
.
popupnewlist
.
close
(
"bottom"
)}},
components
:{
barX
:
y
}},[[
"render"
,
function
(
t
,
e
,
s
,
i
,
a
,
S
){
const
v
=
o
(
"barX"
),
y
=
C
,
O
=
d
,
j
=
w
,
q
=
x
,
U
=
L
(
c
(
"uni-popup"
),
N
);
return
r
(),
l
(
O
,{
class
:
"qdDetailPage"
},{
default
:
n
((()
=>
[
u
(
v
),
u
(
O
,{
class
:
"car-head row bothSide"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"l row verCenter"
},{
default
:
n
((()
=>
[
u
(
y
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
t
.
$goBack
},
null
,
8
,[
"onClick"
]),
u
(
O
,
null
,{
default
:
n
((()
=>
[
h
(
"清单详情"
)])),
_
:
1
})])),
_
:
1
}),
u
(
O
,{
class
:
"r row verCenter"
},{
default
:
n
((()
=>
[
u
(
y
,{
onClick
:
e
[
0
]
||
(
e
[
0
]
=
t
=>
S
.
dels
())},{
default
:
n
((()
=>
[
h
(
"删除"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
u
(
O
,{
class
:
"name-box row verCenter"
},{
default
:
n
((()
=>
[
u
(
y
,{
onClick
:
S
.
openNewList
},{
default
:
n
((()
=>
[
h
(
_
(
a
.
list_name
),
1
),
u
(
y
,{
class
:
"icon iconfont icon-edit"
})])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
u
(
O
,{
class
:
"cons"
},{
default
:
n
((()
=>
[
a
.
dataInited
&&
0
==
a
.
carList
.
length
?(
r
(),
l
(
O
,{
key
:
0
,
class
:
"no-data"
},{
default
:
n
((()
=>
[
u
(
j
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/19/7fdab385a25db187f8e57370875f7546.png"
}),
u
(
y
,
null
,{
default
:
n
((()
=>
[
h
(
"暂无商品信息!"
)])),
_
:
1
})])),
_
:
1
})):
p
(
""
,
!
0
),
a
.
carList
.
length
>
0
?(
r
(),
l
(
O
,{
key
:
1
,
class
:
"list-box"
},{
default
:
n
((()
=>
[(
r
(
!
0
),
m
(
k
,
null
,
f
(
a
.
carList
,((
t
,
e
)
=>
(
r
(),
l
(
O
,{
class
:
"item-group row verCenter bothSide"
,
key
:
e
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"l row verCenter"
},{
default
:
n
((()
=>
[
u
(
y
,{
class
:
b
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
t
.
checked
}]),
onClick
:
g
((
e
=>
S
.
checkboxchange
(
t
.
sku_id
)),[
"stop"
])},
null
,
8
,[
"class"
,
"onClick"
]),
u
(
j
,{
src
:
t
.
goods_images
||
"https://www.iedge.net/assets/images/common/defaultnew.png"
},
null
,
8
,[
"src"
])])),
_
:
2
},
1024
),
u
(
O
,{
class
:
"r"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"elep skun"
},{
default
:
n
((()
=>
[
h
(
_
(
t
.
sku_name
),
1
)])),
_
:
2
},
1024
),
u
(
O
,{
class
:
"txt"
},{
default
:
n
((()
=>
[
h
(
"型号:"
+
_
(
t
.
goods_name
),
1
)])),
_
:
2
},
1024
),
u
(
O
,{
class
:
"txt"
},{
default
:
n
((()
=>
[
h
(
"品牌:"
+
_
(
t
.
brand_name
),
1
)])),
_
:
2
},
1024
),
u
(
O
,{
class
:
"txt"
},{
default
:
n
((()
=>
[
h
(
"货期:"
+
_
(
t
.
cn_delivery_time
),
1
)])),
_
:
2
},
1024
),
u
(
O
,{
class
:
"row verCenter bothSide"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"price"
},{
default
:
n
((()
=>
[
h
(
"¥"
+
_
(
t
.
goods_price
),
1
)])),
_
:
2
},
1024
),
u
(
O
,{
class
:
"hbha row verCenter bothSide"
},{
default
:
n
((()
=>
[
u
(
y
,{
class
:
"icon iconfont icon-jian"
,
onClick
:
e
=>
S
.
addjNum
(
t
.
sku_id
,
1
)},
null
,
8
,[
"onClick"
]),
u
(
q
,{
type
:
"number"
,
modelValue
:
t
.
goods_count
,
"onUpdate:modelValue"
:
e
=>
t
.
goods_count
=
e
,
onInput
:
e
=>
S
.
changeNum
(
t
.
sku_id
)},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
,
"onInput"
]),
u
(
y
,{
class
:
"icon iconfont icon-jia"
,
onClick
:
e
=>
S
.
addjNum
(
t
.
sku_id
,
2
)},
null
,
8
,[
"onClick"
])])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
128
))])),
_
:
1
})):
p
(
""
,
!
0
)])),
_
:
1
}),
u
(
O
,{
class
:
"car-foot car-foot1 row bothSide"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"t row bothSide verCenter"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"checked-box row verCenter"
,
onClick
:
e
[
1
]
||
(
e
[
1
]
=
g
((
t
=>
S
.
checkboxchange
(
460053411
)),[
"stop"
]))},{
default
:
n
((()
=>
[
u
(
y
,{
class
:
b
([
"icon iconfont icon-checked1"
,{
"icon-checked"
:
a
.
allcheck
}])},
null
,
8
,[
"class"
]),
h
(
"全选"
)])),
_
:
1
}),
u
(
O
,{
class
:
"pbx"
},{
default
:
n
((()
=>
[
h
(
"已选"
+
_
(
a
.
checkcount
)
+
"件,含税总额:"
,
1
),
u
(
O
,{
class
:
"price"
},{
default
:
n
((()
=>
[
h
(
"¥ "
+
_
(
a
.
totalprice
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
u
(
O
,{
class
:
"b row bothSide verCenter"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"row verCenter bothSide"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"add-car"
,
onClick
:
S
.
addCar
},{
default
:
n
((()
=>
[
h
(
"加入购物车"
)])),
_
:
1
},
8
,[
"onClick"
]),
u
(
O
,{
class
:
"add-confirm"
,
onClick
:
e
[
2
]
||
(
e
[
2
]
=
t
=>
S
.
addCar
(
1
))},{
default
:
n
((()
=>
[
h
(
"去订购"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
u
(
U
,{
ref
:
"popupnewlist"
,
type
:
"bottom"
,
"safe-area"
:
!
1
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"pop-new-list"
},{
default
:
n
((()
=>
[
u
(
O
,{
class
:
"trt"
},{
default
:
n
((()
=>
[
u
(
y
,{
class
:
"icon iconfont icon-caca"
,
onClick
:
S
.
closeNewList
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
u
(
O
,{
class
:
"ttit elep"
},{
default
:
n
((()
=>
[
h
(
"修改清单"
)])),
_
:
1
}),
u
(
O
,{
class
:
"cons"
},{
default
:
n
((()
=>
[
u
(
q
,{
type
:
"text"
,
class
:
"inputv"
,
modelValue
:
a
.
list_name
,
"onUpdate:modelValue"
:
e
[
3
]
||
(
e
[
3
]
=
t
=>
a
.
list_name
=
t
),
placeholder
:
"请输入清单名称,若未输入则显示商品分类;"
},
null
,
8
,[
"modelValue"
])])),
_
:
1
}),
u
(
O
,{
class
:
"add-list"
,
onClick
:
e
[
4
]
||
(
e
[
4
]
=
t
=>
S
.
updateList
())},{
default
:
n
((()
=>
[
h
(
"确认"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-e6ccaf85"
]]);
export
{
O
as
default
};
unpackage/dist/build/web/assets/pages-user-setting.BrRQxxh8.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
s
,
A
as
a
,
b
as
e
,
E
as
t
,
r
as
o
,
c
as
l
,
w
as
r
,
i
as
u
,
o
as
n
,
d
as
i
,
e
as
c
,
t
as
d
,
f
,
m
as
_
,
l
as
p
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
b
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
g
,
b
as
m
}
from
"./barx.BsVUcAxA.js"
;
import
{
t
as
h
}
from
"./title_nav.dc5elgbU.js"
;
const
w
=
g
({
data
:()
=>
({
userInfo
:
JSON
.
parse
(
s
(
"user_info"
))
||
""
}),
onLoad
:
function
(){},
onShow
(){},
methods
:{
submitI
(){
this
.
request
(
b
+
"/api/user/logout"
,
"get"
,{},
!
0
).
then
((
s
=>
{
0
==
s
.
code
?(
a
(
"token"
,
""
),
a
(
"user_info"
,
""
),
e
({
title
:
"退出成功"
,
icon
:
"success"
}),
setTimeout
((()
=>
{
t
({
url
:
"/pages/index/index"
})}),
2
e3
)):
e
({
title
:
s
.
msg
,
icon
:
"success"
})}))}},
components
:{
barX
:
m
,
titleNav
:
h
}},[[
"render"
,
function
(
s
,
a
,
e
,
t
,
b
,
g
){
const
m
=
o
(
"barX"
),
h
=
o
(
"titleNav"
),
w
=
_
,
x
=
u
,
v
=
p
;
return
n
(),
l
(
x
,{
class
:
"settingPage"
},{
default
:
r
((()
=>
[
i
(
m
),
i
(
h
,{
title
:
"账号设置"
}),
i
(
x
,{
class
:
"cons"
},{
default
:
r
((()
=>
[
b
.
userInfo
?(
n
(),
l
(
x
,{
key
:
0
,
class
:
"input-box"
},{
default
:
r
((()
=>
[
i
(
v
,{
url
:
"/pages/auth/forget"
,
class
:
"wbox"
},{
default
:
r
((()
=>
[
i
(
x
,{
class
:
"input-group row verCenter bothSide"
},{
default
:
r
((()
=>
[
i
(
w
,{
class
:
"label"
},{
default
:
r
((()
=>
[
c
(
"密码"
)])),
_
:
1
}),
i
(
x
,{
class
:
"r"
},{
default
:
r
((()
=>
[
i
(
w
,{
class
:
"xh"
},{
default
:
r
((()
=>
[
c
(
"******"
)])),
_
:
1
}),
i
(
w
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
i
(
x
,{
class
:
"input-group row verCenter bothSide wbox"
},{
default
:
r
((()
=>
[
i
(
w
,{
class
:
"label"
},{
default
:
r
((()
=>
[
c
(
"手机号"
)])),
_
:
1
}),
i
(
x
,{
class
:
"r"
},{
default
:
r
((()
=>
[
i
(
w
,
null
,{
default
:
r
((()
=>
[
c
(
d
(
b
.
userInfo
.
phone
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
i
(
v
,{
url
:
"/pages/auth/rule?id=2"
,
class
:
"wbox"
},{
default
:
r
((()
=>
[
i
(
x
,{
class
:
"input-group row verCenter bothSide"
},{
default
:
r
((()
=>
[
i
(
w
,{
class
:
"label"
},{
default
:
r
((()
=>
[
c
(
"隐私政策"
)])),
_
:
1
}),
i
(
x
,{
class
:
"r"
},{
default
:
r
((()
=>
[
i
(
w
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
f
(
""
,
!
0
)])),
_
:
1
}),
i
(
x
,{
class
:
"foot"
},{
default
:
r
((()
=>
[
i
(
x
,{
class
:
"btn"
,
onClick
:
a
[
0
]
||
(
a
[
0
]
=
s
=>
g
.
submitI
())},{
default
:
r
((()
=>
[
c
(
"退出登录"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-78482d5a"
]]);
export
{
w
as
default
};
unpackage/dist/build/web/assets/pages-user-userInfo.D2KiK4S1.js
deleted
100644 → 0
View file @
d46cc593
import
{
g
as
s
,
A
as
e
,
b
as
t
,
M
as
a
,
N
as
o
,
r
as
n
,
c
,
w
as
u
,
i
as
r
,
o
as
i
,
d
as
l
,
e
as
d
,
t
as
f
,
f
as
h
,
m
,
l
as
g
,
k
as
p
}
from
"./index-CDFUxcS7.js"
;
import
{
A
as
_
}
from
"./api.Cl4HE8_F.js"
;
import
{
_
as
b
,
b
as
C
}
from
"./barx.BsVUcAxA.js"
;
import
{
b
as
y
}
from
"./bottom_nav.Cwl6qhit.js"
;
const
w
=
b
({
data
:()
=>
({
isInit
:
!
1
,
couponCount
:
0
,
certification
:[],
userinfo
:
s
(
"user_info"
)?
JSON
.
parse
(
s
(
"user_info"
)):
""
,
companyId
:
""
,
orderCount
:{
1
:
0
,
2
:
0
,
3
:
0
,
4
:
0
,
7
:
0
,
8
:
0
,
10
:
0
,
"-1"
:
0
}}),
onLoad
:
function
(){
this
.
getData
()},
onShow
(){
this
.
getInfo
()},
methods
:{
getInfo
(){
this
.
request
(
_
+
"/api/user/info"
,
"GET"
,{},
!
this
.
isInit
).
then
((
s
=>
{
this
.
isInit
=!
0
,
0
==
s
.
code
?(
this
.
certification
=
s
.
data
.
certification
||
[],
this
.
userinfo
=
s
.
data
.
userinfo
,
e
(
"user_info"
,
JSON
.
stringify
(
this
.
userinfo
)),
this
.
certification
.
forEach
((
s
=>
{
s
.
com_name
==
this
.
userinfo
.
company_name
&&
(
this
.
companyId
=
s
.
id
)}))):
t
({
title
:
s
.
msg
,
icon
:
"none"
})}))},
chooseImageChange
(){
a
({
count
:
1
,
sizeType
:[
"original"
,
"compressed"
],
sourceType
:[
"album"
,
"camera"
],
success
:
s
=>
{
const
e
=
s
.
tempFilePaths
[
0
];
o
({
url
:
_
+
"/api/upload/uploadFile"
,
filePath
:
e
,
name
:
"file"
,
formData
:{},
success
:
s
=>
{
let
e
=
JSON
.
parse
(
s
.
data
);
0
==
e
.
code
?(
t
({
title
:
"上传成功"
,
icon
:
"success"
}),
this
.
request
(
_
+
"/api/user/editAvatar"
,
"POST"
,{
url
:
e
.
data
.
show_url
},
!
1
).
then
((
s
=>
{
0
==
s
.
code
&&
this
.
getInfo
()}))):
t
({
title
:
e
.
msg
,
icon
:
"success"
})}})}})},
getData
(){
s
(
"token"
)
&&
(
this
.
request
(
_
+
"/api/coupon/getList"
,
"GET"
,{
status
:
-
1
},
!
0
).
then
((
s
=>
{
0
==
s
.
code
&&
(
this
.
couponCount
=
s
.
data
.
count
[
-
1
]
||
0
)})),
this
.
request
(
_
+
"/api/order/count"
,
"GET"
,{},
!
0
).
then
((
s
=>
{
0
==
s
.
code
&&
(
this
.
orderCount
=
{...
s
.
data
})})))}},
components
:{
barX
:
C
,
bottomNavFixed
:
y
}},[[
"render"
,
function
(
s
,
e
,
t
,
a
,
o
,
_
){
const
b
=
n
(
"barX"
),
C
=
m
,
y
=
g
,
w
=
r
,
k
=
p
,
v
=
n
(
"bottomNavFixed"
);
return
i
(),
c
(
w
,{
class
:
"userInfoPage"
},{
default
:
u
((()
=>
[
l
(
b
),
o
.
userinfo
?(
i
(),
c
(
w
,{
key
:
0
,
class
:
"head"
},{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"top row"
},{
default
:
u
((()
=>
[
l
(
y
,{
url
:
"/pages/user/msgList"
},{
default
:
u
((()
=>
[
l
(
C
,{
class
:
"icon iconfont icon-ldxi"
})])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/setting"
},{
default
:
u
((()
=>
[
l
(
C
,{
class
:
"icon iconfont icon-set"
})])),
_
:
1
})])),
_
:
1
}),
l
(
w
,{
class
:
"cen row"
},{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"imgh"
},{
default
:
u
((()
=>
[
l
(
k
,{
onClick
:
_
.
chooseImageChange
,
src
:
o
.
userinfo
.
avatar_url
?
o
.
userinfo
.
avatar_url
:
"https://img.ichunt.com/images/ichunt/202502/24/e3f1f226b93f791de65faf46be2cdf9f.png"
},
null
,
8
,[
"onClick"
,
"src"
])])),
_
:
1
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"namen"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
userinfo
.
wx_nickname
||
o
.
userinfo
.
phone
||
o
.
userinfo
.
email
||
"微信用户"
),
1
)])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/companyInfoList"
},{
default
:
u
((()
=>
[
o
.
certification
.
length
>
0
?(
i
(),
c
(
w
,{
key
:
0
,
class
:
"com row verCenter"
},{
default
:
u
((()
=>
[
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
f
(
o
.
userinfo
.
company_name
),
1
)])),
_
:
1
}),
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/71bb98554d41d147323089e464079a28.png"
}),
l
(
C
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})):(
i
(),
c
(
w
,{
key
:
1
,
class
:
"com row verCenter di"
},{
default
:
u
((()
=>
[
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"暂无公司信息"
)])),
_
:
1
}),
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/00d5a3c2e0a057075b618a2da69978da.png"
}),
l
(
C
,{
class
:
"grz"
},{
default
:
u
((()
=>
[
d
(
"去认证"
),
l
(
C
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
}))])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/coupon"
},{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"coup-box row verCenter"
},{
default
:
u
((()
=>
[
d
(
" 优惠券:"
),
l
(
C
,{
class
:
"tops"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
couponCount
),
1
)])),
_
:
1
}),
d
(
" 张未使用 "
),
l
(
C
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):(
i
(),
c
(
w
,{
key
:
1
,
class
:
"head"
})),
l
(
w
,{
class
:
"sec"
},{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"order-box"
},{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"tit row bothSide verCenter"
},{
default
:
u
((()
=>
[
l
(
C
,
null
,{
default
:
u
((()
=>
[
d
(
"我的订单"
)])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/orderList"
,
class
:
"go-order"
},{
default
:
u
((()
=>
[
l
(
w
,{
class
:
"row verCenter"
},{
default
:
u
((()
=>
[
d
(
" 查看 "
),
l
(
C
,{
class
:
"icon iconfont icon-arrowright"
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
l
(
w
,{
class
:
"order-status row bothSide"
},{
default
:
u
((()
=>
[
l
(
y
,{
url
:
"/pages/user/orderList?status=1"
,
class
:
"yhq"
},{
default
:
u
((()
=>
[
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/d70205f2f83cead903cca76bde50db17.png"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"待确认"
)])),
_
:
1
}),
o
.
orderCount
[
1
]
>
0
?(
i
(),
c
(
C
,{
key
:
0
,
class
:
"count"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
orderCount
[
1
]),
1
)])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/orderList?status=2,3"
,
class
:
"yhq"
},{
default
:
u
((()
=>
[
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/1fe54495f0fdfb72f8126daee9d5564f.png"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"待付款"
)])),
_
:
1
}),
o
.
orderCount
[
2
]
+
o
.
orderCount
[
3
]
>
0
?(
i
(),
c
(
C
,{
key
:
0
,
class
:
"count"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
orderCount
[
2
]
+
o
.
orderCount
[
3
]),
1
)])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/orderList?status=4"
,
class
:
"yhq"
},{
default
:
u
((()
=>
[
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/4de1203f3ddb51a020c0ab53bd2ee3b5.png"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"待发货"
)])),
_
:
1
}),
o
.
orderCount
[
4
]
>
0
?(
i
(),
c
(
C
,{
key
:
0
,
class
:
"count"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
orderCount
[
4
]),
1
)])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/orderList?status=7,8"
,
class
:
"yhq"
},{
default
:
u
((()
=>
[
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/986cd7e0d070537db3767503d85084c9.png"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"待收货"
)])),
_
:
1
}),
o
.
orderCount
[
7
]
+
o
.
orderCount
[
8
]
>
0
?(
i
(),
c
(
C
,{
key
:
0
,
class
:
"count"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
orderCount
[
7
]
+
o
.
orderCount
[
8
]),
1
)])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/orderList?status=-1,10"
,
class
:
"yhq"
},{
default
:
u
((()
=>
[
l
(
k
,{
src
:
"https://img.ichunt.com/images/ichunt/202502/24/d75f5fe63ec44f624c0289ca2c4821a5.png"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"已完结"
)])),
_
:
1
}),
o
.
orderCount
[
-
1
]
+
o
.
orderCount
[
10
]
>
0
?(
i
(),
c
(
C
,{
key
:
0
,
class
:
"count"
},{
default
:
u
((()
=>
[
d
(
f
(
o
.
orderCount
[
-
1
]
+
o
.
orderCount
[
10
]),
1
)])),
_
:
1
})):
h
(
""
,
!
0
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
l
(
w
,{
class
:
"link-box row bothSide"
},{
default
:
u
((()
=>
[
l
(
y
,{
url
:
"/pages/user/qDlist"
,
class
:
"litem"
},{
default
:
u
((()
=>
[
l
(
C
,{
class
:
"icon iconfont icon iconfont icon-qdlist"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"我的清单"
)])),
_
:
1
})])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/address"
,
class
:
"litem"
},{
default
:
u
((()
=>
[
l
(
C
,{
class
:
"icon iconfont icon-dzsd"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"地址管理"
)])),
_
:
1
})])),
_
:
1
}),
l
(
y
,{
url
:
"/pages/user/invoice"
,
class
:
"litem"
},{
default
:
u
((()
=>
[
l
(
C
,{
class
:
"icon iconfont icon-fpgl"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"发票管理"
)])),
_
:
1
})])),
_
:
1
}),
l
(
y
,{
url
:
s
.
$globalData
.
KFQQ
,
class
:
"litem"
},{
default
:
u
((()
=>
[
l
(
C
,{
class
:
"icon iconfont icon-kfi"
}),
l
(
w
,
null
,{
default
:
u
((()
=>
[
d
(
"我的客服"
)])),
_
:
1
})])),
_
:
1
},
8
,[
"url"
])])),
_
:
1
})])),
_
:
1
}),
l
(
v
,{
actval
:
"4"
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-a380c0f1"
]]);
export
{
w
as
default
};
unpackage/dist/build/web/assets/search_head.DkxRXJnQ.js
deleted
100644 → 0
View file @
d46cc593
import
{
E
as
a
,
o
,
c
as
l
,
w
as
e
,
d
as
n
,
f
as
s
,
m
as
t
,
I
as
c
,
i
as
r
,
l
as
i
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
u
}
from
"./barx.BsVUcAxA.js"
;
const
h
=
u
({
name
:
"search_head"
,
props
:{
searchVal
:{
type
:
String
,
default
:
""
},
isFocus
:{
type
:
Boolean
,
default
:
!
1
},
backurl
:{
type
:
String
,
default
:
""
}},
created
(){
this
.
inputClearValue
=
this
.
searchVal
},
watch
:{
searchVal
(
a
){
this
.
inputClearValue
=
a
,
this
.
inputClearValue
.
length
>
0
?
this
.
showClearIcon
=!
0
:
this
.
showClearIcon
=!
1
},
backurl
(
a
){
this
.
backurl
=
a
}},
data
:()
=>
({
inputClearValue
:
""
,
inputValue
:
""
,
showClearIcon
:
!
1
}),
methods
:{
goBack
(){
this
.
backurl
?
a
({
url
:
this
.
backurl
}):
this
.
$goBack
()},
onConfirm
(
a
){
this
.
$emit
(
"confirm"
,
a
)},
goUrl
(
a
){
this
.
$emit
(
"goUrl"
,
a
)},
clearInput
:
function
(
a
){
this
.
inputClearValue
=
a
.
detail
.
value
,
a
.
detail
.
value
.
length
>
0
?
this
.
showClearIcon
=!
0
:
this
.
showClearIcon
=!
1
},
clearIcon
:
function
(){
this
.
inputClearValue
=
""
,
this
.
inputValue
=
""
,
this
.
showClearIcon
=!
1
}}},[[
"render"
,
function
(
a
,
u
,
h
,
p
,
C
,
f
){
const
d
=
t
,
k
=
c
,
m
=
r
,
I
=
i
;
return
o
(),
l
(
m
,{
class
:
"top-box row bothSide verCenter"
},{
default
:
e
((()
=>
[
n
(
d
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
f
.
goBack
},
null
,
8
,[
"onClick"
]),
n
(
m
,{
class
:
"search-box row verCenter"
},{
default
:
e
((()
=>
[
n
(
d
,{
class
:
"icon iconfont icon-search"
}),
n
(
k
,{
class
:
"uni-input"
,
placeholder
:
"请输入商品名称/品牌/型号/商品编码"
,
value
:
C
.
inputClearValue
,
onInput
:
f
.
clearInput
,
"confirm-type"
:
"search"
,
onConfirm
:
f
.
onConfirm
,
onClick
:
f
.
goUrl
,
focus
:
h
.
isFocus
},
null
,
8
,[
"value"
,
"onInput"
,
"onConfirm"
,
"onClick"
,
"focus"
]),
C
.
showClearIcon
?(
o
(),
l
(
d
,{
key
:
0
,
class
:
"icon iconfont icon-searchclose"
,
onClick
:
u
[
0
]
||
(
u
[
0
]
=
a
=>
f
.
clearIcon
())})):
s
(
""
,
!
0
)])),
_
:
1
}),
n
(
I
,{
class
:
"kfbtn"
,
url
:
a
.
$globalData
.
KFQQ
},
null
,
8
,[
"url"
])])),
_
:
1
})}],[
"__scopeId"
,
"data-v-7c94b5b3"
]]);
export
{
h
as
s
};
unpackage/dist/build/web/assets/title_nav.dc5elgbU.js
deleted
100644 → 0
View file @
d46cc593
import
{
E
as
t
,
o
as
a
,
c
as
e
,
w
as
s
,
d
as
r
,
e
as
l
,
t
as
o
,
m
as
c
,
i
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
n
}
from
"./barx.BsVUcAxA.js"
;
const
d
=
n
({
name
:
"title_nav"
,
props
:{
title
:{
type
:
String
,
default
:
"爱智工业品"
},
backurl
:{
type
:
String
,
default
:
""
}},
created
(){},
data
:()
=>
({}),
methods
:{
back
(){
this
.
backurl
?
t
({
url
:
this
.
backurl
}):
this
.
$goBack
()}}},[[
"render"
,
function
(
t
,
n
,
d
,
u
,
f
,
k
){
const
p
=
c
,
b
=
i
;
return
a
(),
e
(
b
,{
class
:
"titsk-head row verCenter"
},{
default
:
s
((()
=>
[
r
(
b
,{
class
:
"leftbox row verCenter"
},{
default
:
s
((()
=>
[
r
(
p
,{
class
:
"icon iconfont icon-arrowleft"
,
onClick
:
k
.
back
},
null
,
8
,[
"onClick"
])])),
_
:
1
}),
r
(
b
,{
class
:
"title"
},{
default
:
s
((()
=>
[
l
(
o
(
d
.
title
),
1
)])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-42009dce"
]]);
export
{
d
as
t
};
unpackage/dist/build/web/assets/uni-popup.Cj83ad0Q.js
deleted
100644 → 0
View file @
d46cc593
import
{
P
as
t
,
Q
as
s
,
R
as
i
,
o
as
e
,
c
as
o
,
w
as
a
,
K
as
n
,
v
as
r
,
L
as
l
,
i
as
h
,
x
as
c
,
r
as
d
,
d
as
p
,
f
as
u
,
T
as
m
}
from
"./index-CDFUxcS7.js"
;
import
{
_
as
f
}
from
"./barx.BsVUcAxA.js"
;
class
g
{
constructor
(
s
,
i
){
this
.
options
=
s
,
this
.
animation
=
t
({...
s
}),
this
.
currentStepAnimates
=
{},
this
.
next
=
0
,
this
.
$
=
i
}
_nvuePushAnimates
(
t
,
s
){
let
i
=
this
.
currentStepAnimates
[
this
.
next
],
e
=
{};
if
(
e
=
i
||
{
styles
:{},
config
:{}},
y
.
includes
(
t
)){
e
.
styles
.
transform
||
(
e
.
styles
.
transform
=
""
);
let
i
=
""
;
"rotate"
===
t
&&
(
i
=
"deg"
),
e
.
styles
.
transform
+=
`
${
t
}
(
${
s
+
i
}
) `
}
else
e
.
styles
[
t
]
=
`
${
s
}
`
;
this
.
currentStepAnimates
[
this
.
next
]
=
e
}
_animateRun
(
t
=
{},
s
=
{}){
let
i
=
this
.
$
.
$refs
.
ani
.
ref
;
if
(
i
)
return
new
Promise
(((
e
,
o
)
=>
{
nvueAnimation
.
transition
(
i
,{
styles
:
t
,...
s
},(
t
=>
{
e
()}))}))}
_nvueNextAnimate
(
t
,
s
=
0
,
i
){
let
e
=
t
[
s
];
if
(
e
){
let
{
styles
:
o
,
config
:
a
}
=
e
;
this
.
_animateRun
(
o
,
a
).
then
((()
=>
{
s
+=
1
,
this
.
_nvueNextAnimate
(
t
,
s
,
i
)}))}
else
this
.
currentStepAnimates
=
{},
"function"
==
typeof
i
&&
i
(),
this
.
isEnd
=!
0
}
step
(
t
=
{}){
return
this
.
animation
.
step
(
t
),
this
}
run
(
t
){
this
.
$
.
animationData
=
this
.
animation
.
export
(),
this
.
$
.
timer
=
setTimeout
((()
=>
{
"function"
==
typeof
t
&&
t
()}),
this
.
$
.
durationTime
)}}
const
y
=
[
"matrix"
,
"matrix3d"
,
"rotate"
,
"rotate3d"
,
"rotateX"
,
"rotateY"
,
"rotateZ"
,
"scale"
,
"scale3d"
,
"scaleX"
,
"scaleY"
,
"scaleZ"
,
"skew"
,
"skewX"
,
"skewY"
,
"translate"
,
"translate3d"
,
"translateX"
,
"translateY"
,
"translateZ"
];
function
k
(
t
,
s
){
if
(
s
)
return
clearTimeout
(
s
.
timer
),
new
g
(
t
,
s
)}
y
.
concat
([
"opacity"
,
"backgroundColor"
],[
"width"
,
"height"
,
"left"
,
"right"
,
"top"
,
"bottom"
]).
forEach
((
t
=>
{
g
.
prototype
[
t
]
=
function
(...
s
){
return
this
.
animation
[
t
](...
s
),
this
}}));
const
b
=
f
({
name
:
"uniTransition"
,
emits
:[
"click"
,
"change"
],
props
:{
show
:{
type
:
Boolean
,
default
:
!
1
},
modeClass
:{
type
:[
Array
,
String
],
default
:()
=>
"fade"
},
duration
:{
type
:
Number
,
default
:
300
},
styles
:{
type
:
Object
,
default
:()
=>
({})},
customClass
:{
type
:
String
,
default
:
""
},
onceRender
:{
type
:
Boolean
,
default
:
!
1
}},
data
:()
=>
({
isShow
:
!
1
,
transform
:
""
,
opacity
:
1
,
animationData
:{},
durationTime
:
300
,
config
:{}}),
watch
:{
show
:{
handler
(
t
){
t
?
this
.
open
():
this
.
isShow
&&
this
.
close
()},
immediate
:
!
0
}},
computed
:{
stylesObject
(){
let
t
=
{...
this
.
styles
,
"transition-duration"
:
this
.
duration
/
1
e3
+
"s"
},
s
=
""
;
for
(
let
i
in
t
){
s
+=
this
.
toLine
(
i
)
+
":"
+
t
[
i
]
+
";"
}
return
s
},
transformStyles
(){
return
"transform:"
+
this
.
transform
+
";opacity:"
+
this
.
opacity
+
";"
+
this
.
stylesObject
}},
created
(){
this
.
config
=
{
duration
:
this
.
duration
,
timingFunction
:
"ease"
,
transformOrigin
:
"50% 50%"
,
delay
:
0
},
this
.
durationTime
=
this
.
duration
},
methods
:{
init
(
t
=
{}){
t
.
duration
&&
(
this
.
durationTime
=
t
.
duration
),
this
.
animation
=
k
(
Object
.
assign
(
this
.
config
,
t
),
this
)},
onClick
(){
this
.
$emit
(
"click"
,{
detail
:
this
.
isShow
})},
step
(
t
,
s
=
{}){
if
(
this
.
animation
){
for
(
let
s
in
t
)
try
{
"object"
==
typeof
t
[
s
]?
this
.
animation
[
s
](...
t
[
s
]):
this
.
animation
[
s
](
t
[
s
])}
catch
(
i
){
console
.
error
(
`方法
${
s
}
不存在`
)}
return
this
.
animation
.
step
(
s
),
this
}},
run
(
t
){
this
.
animation
&&
this
.
animation
.
run
(
t
)},
open
(){
clearTimeout
(
this
.
timer
),
this
.
transform
=
""
,
this
.
isShow
=!
0
;
let
{
opacity
:
t
,
transform
:
s
}
=
this
.
styleInit
(
!
1
);
void
0
!==
t
&&
(
this
.
opacity
=
t
),
this
.
transform
=
s
,
this
.
$nextTick
((()
=>
{
this
.
timer
=
setTimeout
((()
=>
{
this
.
animation
=
k
(
this
.
config
,
this
),
this
.
tranfromInit
(
!
1
).
step
(),
this
.
animation
.
run
(),
this
.
$emit
(
"change"
,{
detail
:
this
.
isShow
})}),
20
)}))},
close
(
t
){
this
.
animation
&&
this
.
tranfromInit
(
!
0
).
step
().
run
((()
=>
{
this
.
isShow
=!
1
,
this
.
animationData
=
null
,
this
.
animation
=
null
;
let
{
opacity
:
t
,
transform
:
s
}
=
this
.
styleInit
(
!
1
);
this
.
opacity
=
t
||
1
,
this
.
transform
=
s
,
this
.
$emit
(
"change"
,{
detail
:
this
.
isShow
})}))},
styleInit
(
t
){
let
s
=
{
transform
:
""
},
i
=
(
t
,
i
)
=>
{
"fade"
===
i
?
s
.
opacity
=
this
.
animationType
(
t
)[
i
]:
s
.
transform
+=
this
.
animationType
(
t
)[
i
]
+
" "
};
return
"string"
==
typeof
this
.
modeClass
?
i
(
t
,
this
.
modeClass
):
this
.
modeClass
.
forEach
((
s
=>
{
i
(
t
,
s
)})),
s
},
tranfromInit
(
t
){
let
s
=
(
t
,
s
)
=>
{
let
i
=
null
;
"fade"
===
s
?
i
=
t
?
0
:
1
:(
i
=
t
?
"-100%"
:
"0"
,
"zoom-in"
===
s
&&
(
i
=
t
?.
8
:
1
),
"zoom-out"
===
s
&&
(
i
=
t
?
1.2
:
1
),
"slide-right"
===
s
&&
(
i
=
t
?
"100%"
:
"0"
),
"slide-bottom"
===
s
&&
(
i
=
t
?
"100%"
:
"0"
)),
this
.
animation
[
this
.
animationMode
()[
s
]](
i
)};
return
"string"
==
typeof
this
.
modeClass
?
s
(
t
,
this
.
modeClass
):
this
.
modeClass
.
forEach
((
i
=>
{
s
(
t
,
i
)})),
this
.
animation
},
animationType
:
t
=>
({
fade
:
t
?
0
:
1
,
"slide-top"
:
`translateY(
${
t
?
"0"
:
"-100%"
}
)`
,
"slide-right"
:
`translateX(
${
t
?
"0"
:
"100%"
}
)`
,
"slide-bottom"
:
`translateY(
${
t
?
"0"
:
"100%"
}
)`
,
"slide-left"
:
`translateX(
${
t
?
"0"
:
"-100%"
}
)`
,
"zoom-in"
:
`scaleX(
${
t
?
1
:.
8
}
) scaleY(
${
t
?
1
:.
8
}
)`
,
"zoom-out"
:
`scaleX(
${
t
?
1
:
1.2
}
) scaleY(
${
t
?
1
:
1.2
}
)`
}),
animationMode
:()
=>
({
fade
:
"opacity"
,
"slide-top"
:
"translateY"
,
"slide-right"
:
"translateX"
,
"slide-bottom"
:
"translateY"
,
"slide-left"
:
"translateX"
,
"zoom-in"
:
"scale"
,
"zoom-out"
:
"scale"
}),
toLine
:
t
=>
t
.
replace
(
/
([
A-Z
])
/g
,
"-$1"
).
toLowerCase
()}},[[
"render"
,
function
(
t
,
c
,
d
,
p
,
u
,
m
){
const
f
=
h
;
return
s
((
e
(),
o
(
f
,{
ref
:
"ani"
,
animation
:
u
.
animationData
,
class
:
r
(
d
.
customClass
),
style
:
l
(
m
.
transformStyles
),
onClick
:
m
.
onClick
},{
default
:
a
((()
=>
[
n
(
t
.
$slots
,
"default"
)])),
_
:
3
},
8
,[
"animation"
,
"class"
,
"style"
,
"onClick"
])),[[
i
,
u
.
isShow
]])}]]);
function
w
(
t
,
s
){
return
"string"
==
typeof
t
?
s
:
t
}
const
C
=
f
({
name
:
"uniPopup"
,
components
:{
keypress
:{
name
:
"Keypress"
,
props
:{
disable
:{
type
:
Boolean
,
default
:
!
1
}},
mounted
(){
const
t
=
{
esc
:[
"Esc"
,
"Escape"
],
tab
:
"Tab"
,
enter
:
"Enter"
,
space
:[
" "
,
"Spacebar"
],
up
:[
"Up"
,
"ArrowUp"
],
left
:[
"Left"
,
"ArrowLeft"
],
right
:[
"Right"
,
"ArrowRight"
],
down
:[
"Down"
,
"ArrowDown"
],
delete
:[
"Backspace"
,
"Delete"
,
"Del"
]};
document
.
addEventListener
(
"keyup"
,(
s
=>
{
if
(
this
.
disable
)
return
;
const
i
=
Object
.
keys
(
t
).
find
((
i
=>
{
const
e
=
s
.
key
,
o
=
t
[
i
];
return
o
===
e
||
Array
.
isArray
(
o
)
&&
o
.
includes
(
e
)}));
i
&&
setTimeout
((()
=>
{
this
.
$emit
(
i
,{})}),
0
)}))},
render
:()
=>
{}}},
emits
:[
"change"
,
"maskClick"
],
props
:{
animation
:{
type
:
Boolean
,
default
:
!
0
},
type
:{
type
:
String
,
default
:
"center"
},
isMaskClick
:{
type
:
Boolean
,
default
:
null
},
maskClick
:{
type
:
Boolean
,
default
:
null
},
backgroundColor
:{
type
:
String
,
default
:
"none"
},
safeArea
:{
type
:
Boolean
,
default
:
!
0
},
maskBackgroundColor
:{
type
:
String
,
default
:
"rgba(0, 0, 0, 0.4)"
},
borderRadius
:{
type
:
String
}},
watch
:{
type
:{
handler
:
function
(
t
){
this
.
config
[
t
]
&&
this
[
this
.
config
[
t
]](
!
0
)},
immediate
:
!
0
},
isDesktop
:{
handler
:
function
(
t
){
this
.
config
[
t
]
&&
this
[
this
.
config
[
this
.
type
]](
!
0
)},
immediate
:
!
0
},
maskClick
:{
handler
:
function
(
t
){
this
.
mkclick
=
t
},
immediate
:
!
0
},
isMaskClick
:{
handler
:
function
(
t
){
this
.
mkclick
=
t
},
immediate
:
!
0
},
showPopup
(
t
){
document
.
getElementsByTagName
(
"body"
)[
0
].
style
.
overflow
=
t
?
"hidden"
:
"visible"
}},
data
(){
return
{
duration
:
300
,
ani
:[],
showPopup
:
!
1
,
showTrans
:
!
1
,
popupWidth
:
0
,
popupHeight
:
0
,
config
:{
top
:
"top"
,
bottom
:
"bottom"
,
center
:
"center"
,
left
:
"left"
,
right
:
"right"
,
message
:
"top"
,
dialog
:
"center"
,
share
:
"bottom"
},
maskClass
:{
position
:
"fixed"
,
bottom
:
0
,
top
:
0
,
left
:
0
,
right
:
0
,
backgroundColor
:
"rgba(0, 0, 0, 0.4)"
},
transClass
:{
backgroundColor
:
"transparent"
,
borderRadius
:
this
.
borderRadius
||
"0"
,
position
:
"fixed"
,
left
:
0
,
right
:
0
},
maskShow
:
!
0
,
mkclick
:
!
0
,
popupstyle
:
"top"
}},
computed
:{
getStyles
(){
let
t
=
{
backgroundColor
:
this
.
bg
};
return
this
.
borderRadius
,
t
=
Object
.
assign
(
t
,{
borderRadius
:
this
.
borderRadius
}),
t
},
isDesktop
(){
return
this
.
popupWidth
>=
500
&&
this
.
popupHeight
>=
500
},
bg
(){
return
""
===
this
.
backgroundColor
||
"none"
===
this
.
backgroundColor
?
"transparent"
:
this
.
backgroundColor
}},
mounted
(){(()
=>
{
const
{
windowWidth
:
t
,
windowHeight
:
s
,
windowTop
:
i
,
safeArea
:
e
,
screenHeight
:
o
,
safeAreaInsets
:
a
}
=
m
();
this
.
popupWidth
=
t
,
this
.
popupHeight
=
s
+
(
i
||
0
),
e
&&
this
.
safeArea
?
this
.
safeAreaInsets
=
a
.
bottom
:
this
.
safeAreaInsets
=
0
})()},
unmounted
(){
this
.
setH5Visible
()},
activated
(){
this
.
setH5Visible
(
!
this
.
showPopup
)},
deactivated
(){
this
.
setH5Visible
(
!
0
)},
created
(){
null
===
this
.
isMaskClick
&&
null
===
this
.
maskClick
?
this
.
mkclick
=!
0
:
this
.
mkclick
=
null
!==
this
.
isMaskClick
?
this
.
isMaskClick
:
this
.
maskClick
,
this
.
animation
?
this
.
duration
=
300
:
this
.
duration
=
0
,
this
.
messageChild
=
null
,
this
.
clearPropagation
=!
1
,
this
.
maskClass
.
backgroundColor
=
this
.
maskBackgroundColor
},
methods
:{
setH5Visible
(
t
=!
0
){
document
.
getElementsByTagName
(
"body"
)[
0
].
style
.
overflow
=
t
?
"visible"
:
"hidden"
},
closeMask
(){
this
.
maskShow
=!
1
},
disableMask
(){
this
.
mkclick
=!
1
},
clear
(
t
){
t
.
stopPropagation
(),
this
.
clearPropagation
=!
0
},
open
(
t
){
if
(
this
.
showPopup
)
return
;
t
&&-
1
!==
[
"top"
,
"center"
,
"bottom"
,
"left"
,
"right"
,
"message"
,
"dialog"
,
"share"
].
indexOf
(
t
)
||
(
t
=
this
.
type
),
this
.
config
[
t
]?(
this
[
this
.
config
[
t
]](),
this
.
$emit
(
"change"
,{
show
:
!
0
,
type
:
t
})):
console
.
error
(
"缺少类型:"
,
t
)},
close
(
t
){
this
.
showTrans
=!
1
,
this
.
$emit
(
"change"
,{
show
:
!
1
,
type
:
this
.
type
}),
clearTimeout
(
this
.
timer
),
this
.
timer
=
setTimeout
((()
=>
{
this
.
showPopup
=!
1
}),
300
)},
touchstart
(){
this
.
clearPropagation
=!
1
},
onTap
(){
this
.
clearPropagation
?
this
.
clearPropagation
=!
1
:(
this
.
$emit
(
"maskClick"
),
this
.
mkclick
&&
this
.
close
())},
top
(
t
){
this
.
popupstyle
=
this
.
isDesktop
?
"fixforpc-top"
:
"top"
,
this
.
ani
=
[
"slide-top"
],
this
.
transClass
=
{
position
:
"fixed"
,
left
:
0
,
right
:
0
,
backgroundColor
:
this
.
bg
,
borderRadius
:
this
.
borderRadius
||
"0"
},
t
||
(
this
.
showPopup
=!
0
,
this
.
showTrans
=!
0
,
this
.
$nextTick
((()
=>
{
this
.
showPoptrans
(),
this
.
messageChild
&&
"message"
===
this
.
type
&&
this
.
messageChild
.
timerClose
()})))},
bottom
(
t
){
this
.
popupstyle
=
"bottom"
,
this
.
ani
=
[
"slide-bottom"
],
this
.
transClass
=
{
position
:
"fixed"
,
left
:
0
,
right
:
0
,
bottom
:
0
,
paddingBottom
:
this
.
safeAreaInsets
+
"px"
,
backgroundColor
:
this
.
bg
,
borderRadius
:
this
.
borderRadius
||
"0"
},
t
||
this
.
showPoptrans
()},
center
(
t
){
this
.
popupstyle
=
"center"
,
this
.
ani
=
[
"zoom-out"
,
"fade"
],
this
.
transClass
=
{
position
:
"fixed"
,
display
:
"flex"
,
flexDirection
:
"column"
,
bottom
:
0
,
left
:
0
,
right
:
0
,
top
:
0
,
justifyContent
:
"center"
,
alignItems
:
"center"
,
borderRadius
:
this
.
borderRadius
||
"0"
},
t
||
this
.
showPoptrans
()},
left
(
t
){
this
.
popupstyle
=
"left"
,
this
.
ani
=
[
"slide-left"
],
this
.
transClass
=
{
position
:
"fixed"
,
left
:
0
,
bottom
:
0
,
top
:
0
,
backgroundColor
:
this
.
bg
,
borderRadius
:
this
.
borderRadius
||
"0"
,
display
:
"flex"
,
flexDirection
:
"column"
},
t
||
this
.
showPoptrans
()},
right
(
t
){
this
.
popupstyle
=
"right"
,
this
.
ani
=
[
"slide-right"
],
this
.
transClass
=
{
position
:
"fixed"
,
bottom
:
0
,
right
:
0
,
top
:
0
,
backgroundColor
:
this
.
bg
,
borderRadius
:
this
.
borderRadius
||
"0"
,
display
:
"flex"
,
flexDirection
:
"column"
},
t
||
this
.
showPoptrans
()},
showPoptrans
(){
this
.
$nextTick
((()
=>
{
this
.
showPopup
=!
0
,
this
.
showTrans
=!
0
}))}}},[[
"render"
,
function
(
t
,
s
,
i
,
m
,
f
,
g
){
const
y
=
w
(
c
(
"uni-transition"
),
b
),
k
=
h
,
C
=
d
(
"keypress"
);
return
f
.
showPopup
?(
e
(),
o
(
k
,{
key
:
0
,
class
:
r
([
"uni-popup"
,[
f
.
popupstyle
,
g
.
isDesktop
?
"fixforpc-z-index"
:
""
]])},{
default
:
a
((()
=>
[
p
(
k
,{
onTouchstart
:
g
.
touchstart
},{
default
:
a
((()
=>
[
f
.
maskShow
?(
e
(),
o
(
y
,{
key
:
"1"
,
name
:
"mask"
,
"mode-class"
:
"fade"
,
styles
:
f
.
maskClass
,
duration
:
f
.
duration
,
show
:
f
.
showTrans
,
onClick
:
g
.
onTap
},
null
,
8
,[
"styles"
,
"duration"
,
"show"
,
"onClick"
])):
u
(
""
,
!
0
),
p
(
y
,{
key
:
"2"
,
"mode-class"
:
f
.
ani
,
name
:
"content"
,
styles
:
f
.
transClass
,
duration
:
f
.
duration
,
show
:
f
.
showTrans
,
onClick
:
g
.
onTap
},{
default
:
a
((()
=>
[
p
(
k
,{
class
:
r
([
"uni-popup__wrapper"
,[
f
.
popupstyle
]]),
style
:
l
(
g
.
getStyles
),
onClick
:
g
.
clear
},{
default
:
a
((()
=>
[
n
(
t
.
$slots
,
"default"
,{},
void
0
,
!
0
)])),
_
:
3
},
8
,[
"style"
,
"class"
,
"onClick"
])])),
_
:
3
},
8
,[
"mode-class"
,
"styles"
,
"duration"
,
"show"
,
"onClick"
])])),
_
:
3
},
8
,[
"onTouchstart"
]),
f
.
maskShow
?(
e
(),
o
(
C
,{
key
:
0
,
onEsc
:
g
.
onTap
},
null
,
8
,[
"onEsc"
])):
u
(
""
,
!
0
)])),
_
:
3
},
8
,[
"class"
])):
u
(
""
,
!
0
)}],[
"__scopeId"
,
"data-v-fc99ec19"
]]);
export
{
C
as
_
,
w
as
r
};
unpackage/dist/build/web/assets/userInfo-BoNwHeOD.css
deleted
100644 → 0
View file @
d46cc593
uni-view
[
data-v-a380c0f1
],
uni-text
[
data-v-a380c0f1
],
uni-input
[
data-v-a380c0f1
],
uni-navigator
[
data-v-a380c0f1
]
{
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-a380c0f1
],
uni-page-body
[
data-v-a380c0f1
],
uni-view
[
data-v-a380c0f1
],
uni-text
[
data-v-a380c0f1
],
uni-scroll-view
[
data-v-a380c0f1
]
{
-webkit-user-select
:
text
!important
;
user-select
:
text
!important
}
.navigator-hover
[
data-v-a380c0f1
]
{
background
:
none
;
opacity
:
1
}
uni-image
[
data-v-a380c0f1
]
{
vertical-align
:
middle
}
.elep
[
data-v-a380c0f1
]
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
}
.elep2
[
data-v-a380c0f1
]
{
word-break
:
break-all
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
}
.column
[
data-v-a380c0f1
]
{
display
:
flex
;
flex-direction
:
column
}
.row
[
data-v-a380c0f1
]
{
display
:
flex
;
flex-direction
:
row
}
.boxsiz
[
data-v-a380c0f1
]
{
box-sizing
:
border-box
}
.bothSide
[
data-v-a380c0f1
]
{
justify-content
:
space-between
}
.avarage
[
data-v-a380c0f1
]
{
justify-content
:
space-around
}
.rowCenter
[
data-v-a380c0f1
]
{
justify-content
:
center
}
.verCenter
[
data-v-a380c0f1
]
{
align-items
:
center
}
.userInfoPage
[
data-v-a380c0f1
]
{
background
:
#f6f6f6
;
padding-bottom
:
4.75rem
;
height
:
calc
(
100vh
-
5.46875rem
);
height
:
calc
(
100vh
-
2.8125rem
)}
.userInfoPage
.head
[
data-v-a380c0f1
]
{
height
:
13.875rem
;
background
:
linear-gradient
(
180deg
,
#fff2f2
,
rgba
(
218
,
210
,
210
,
0
));
padding-top
:
1rem
;
padding-left
:
.78125rem
;
padding-right
:
1.09375rem
}
.userInfoPage
.head
.top
[
data-v-a380c0f1
]
{
justify-content
:
flex-end
;
margin-bottom
:
.1875rem
}
.userInfoPage
.head
.top
.icon
[
data-v-a380c0f1
]
{
font-size
:
1.25rem
;
color
:
#000
;
margin-left
:
.90625rem
}
.userInfoPage
.head
.cen
.imgh
[
data-v-a380c0f1
]
{
margin-right
:
.8125rem
}
.userInfoPage
.head
.cen
.imgh
uni-image
[
data-v-a380c0f1
]
{
width
:
3.125rem
;
height
:
3.125rem
;
border-radius
:
3.125rem
;
border
:
.03125rem
solid
#FFFFFF
}
.userInfoPage
.head
.cen
.namen
[
data-v-a380c0f1
]
{
font-size
:
.75rem
;
color
:
#000
;
height
:
1.5rem
;
line-height
:
1.53125rem
}
.userInfoPage
.head
.cen
.coup-box
[
data-v-a380c0f1
]
{
margin-top
:
1.71875rem
;
font-size
:
.75rem
;
color
:
#000
;
height
:
1.25rem
}
.userInfoPage
.head
.cen
.coup-box
.tops
[
data-v-a380c0f1
]
{
color
:
#d0121b
;
margin
:
0
.15625rem
;
position
:
relative
;
top
:
.0625rem
}
.userInfoPage
.head
.cen
.coup-box
.icon
[
data-v-a380c0f1
]
{
font-size
:
.5rem
;
color
:
#898989
;
margin-left
:
1.09375rem
}
.userInfoPage
.head
.cen
.com
[
data-v-a380c0f1
]
{
height
:
1.53125rem
;
margin-top
:
.0625rem
}
.userInfoPage
.head
.cen
.com
uni-view
[
data-v-a380c0f1
]
{
font-size
:
.75rem
;
color
:
#000
}
.userInfoPage
.head
.cen
.com
uni-image
[
data-v-a380c0f1
]
{
width
:
.78125rem
;
height
:
.78125rem
;
margin-left
:
.3125rem
;
margin-right
:
.6875rem
}
.userInfoPage
.head
.cen
.com
.icon
[
data-v-a380c0f1
]
{
font-size
:
.5rem
;
color
:
#898989
}
.userInfoPage
.head
.cen
.com
.grz
[
data-v-a380c0f1
]
{
font-size
:
.6875rem
;
color
:
#d0121b
;
display
:
block
}
.userInfoPage
.head
.cen
.com
.grz
.icon
[
data-v-a380c0f1
]
{
font-size
:
.5rem
;
color
:
#d0121b
;
margin-left
:
.15625rem
;
position
:
relative
;
top
:
-.0625rem
}
.userInfoPage
.sec
[
data-v-a380c0f1
]
{
width
:
21.875rem
;
margin
:
0
auto
;
position
:
relative
;
top
:
-4.25rem
}
.userInfoPage
.sec
.order-box
[
data-v-a380c0f1
]
{
height
:
8.5rem
;
background
:
#fff
;
border-radius
:
.625rem
;
padding
:
1.09375rem
1.40625rem
}
.userInfoPage
.sec
.order-box
.tit
[
data-v-a380c0f1
]
{
font-size
:
.75rem
;
color
:
#000
;
height
:
1.25rem
}
.userInfoPage
.sec
.order-box
.tit
.go-order
[
data-v-a380c0f1
]
{
display
:
block
;
height
:
1.25rem
;
color
:
#666
}
.userInfoPage
.sec
.order-box
.tit
.go-order
uni-view
[
data-v-a380c0f1
]
{
height
:
1.25rem
}
.userInfoPage
.sec
.order-box
.tit
.go-order
.icon
[
data-v-a380c0f1
]
{
font-size
:
.5rem
;
color
:
#898989
;
margin-left
:
.3125rem
}
.userInfoPage
.sec
.order-box
.order-status
[
data-v-a380c0f1
]
{
padding-right
:
.75rem
;
margin-top
:
1.09375rem
}
.userInfoPage
.sec
.order-box
.order-status
.yhq
[
data-v-a380c0f1
]
{
position
:
relative
}
.userInfoPage
.sec
.order-box
.order-status
.count
[
data-v-a380c0f1
]
{
position
:
absolute
;
min-width
:
1.03125rem
;
height
:
.78125rem
;
font-size
:
.5625rem
;
color
:
#fff
;
line-height
:
.875rem
;
text-align
:
center
;
font-weight
:
700
;
right
:
-.46875rem
;
top
:
-.21875rem
;
background
:
#ff6300
;
border-radius
:
.25rem
}
.userInfoPage
.sec
.order-box
.order-status
uni-image
[
data-v-a380c0f1
]
{
width
:
1.875rem
;
height
:
1.875rem
;
display
:
block
;
margin
:
0
auto
}
.userInfoPage
.sec
.order-box
.order-status
uni-view
[
data-v-a380c0f1
]
{
font-size
:
.6875rem
;
color
:
#000
;
text-align
:
center
;
margin-top
:
.46875rem
}
.userInfoPage
.sec
.link-box
[
data-v-a380c0f1
]
{
height
:
5.46875rem
;
margin-top
:
.9375rem
;
background
:
#fff
;
border-radius
:
.625rem
;
padding
:
1.09375rem
1.40625rem
;
font-size
:
.6875rem
;
color
:
#000
}
.userInfoPage
.sec
.link-box
.litem
[
data-v-a380c0f1
]
{
text-align
:
center
}
.userInfoPage
.sec
.link-box
.litem
.icon
[
data-v-a380c0f1
]
{
font-size
:
1.5625rem
;
color
:
#444
}
.userInfoPage
.sec
.link-box
.litem
uni-view
[
data-v-a380c0f1
]
{
margin-top
:
.46875rem
}
unpackage/dist/build/web/index.html
View file @
689f138a
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<title>
iedgeMini
</title>
<title>
iedgeMini
</title>
<!--preload-links-->
<!--preload-links-->
<!--app-context-->
<!--app-context-->
<script
type=
"module"
crossorigin
src=
"/assets/index-
CDFUxcS7
.js"
></script>
<script
type=
"module"
crossorigin
src=
"/assets/index-
BhiKOyn6
.js"
></script>
<link
rel=
"stylesheet"
crossorigin
href=
"/assets/index-trb1RZni.css"
>
<link
rel=
"stylesheet"
crossorigin
href=
"/assets/index-trb1RZni.css"
>
</head>
</head>
<body>
<body>
...
...
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