Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
G
GangShi-un2
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
黄旭新
GangShi-un2
Commits
a9280eb9
提交
a9280eb9
authored
4月 26, 2021
作者:
黄旭新
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xin
上级
af5275e1
显示空白字符变更
内嵌
并排
正在显示
36 个修改的文件
包含
39 行增加
和
34 行删除
+39
-34
vendor.js
unpackage/dist/build/mp-weixin/common/vendor.js
+1
-1
index.json
...dist/build/mp-weixin/components/custom-tab-bar/index.json
+2
-2
index.json
...ist/build/mp-weixin/components/selectCompoment/index.json
+2
-2
CompanyAuthentication.js
...d/mp-weixin/pages/authentication/CompanyAuthentication.js
+1
-1
CompanyAuthentication.wxml
...mp-weixin/pages/authentication/CompanyAuthentication.wxml
+1
-1
CompanyAuthentication.wxss
...mp-weixin/pages/authentication/CompanyAuthentication.wxss
+1
-1
basicInformation.js
...uild/mp-weixin/pages/basicInformation/basicInformation.js
+1
-1
basicInformation.wxml
...ld/mp-weixin/pages/basicInformation/basicInformation.wxml
+1
-1
Companys.js
unpackage/dist/build/mp-weixin/pages/group/Companys.js
+1
-1
group.js
unpackage/dist/build/mp-weixin/pages/group/group.js
+1
-1
group.wxml
unpackage/dist/build/mp-weixin/pages/group/group.wxml
+1
-1
group.wxss
unpackage/dist/build/mp-weixin/pages/group/group.wxss
+1
-1
groupInfo.js
unpackage/dist/build/mp-weixin/pages/group/groupInfo.js
+1
-1
groupInfo.wxml
unpackage/dist/build/mp-weixin/pages/group/groupInfo.wxml
+1
-1
groupInfo.wxss
unpackage/dist/build/mp-weixin/pages/group/groupInfo.wxss
+1
-1
index.js
unpackage/dist/build/mp-weixin/pages/index/index.js
+1
-1
login.js
unpackage/dist/build/mp-weixin/pages/login/login.js
+1
-1
myInfo.js
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.js
+1
-1
myInfo.wxml
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxml
+1
-1
myInfo.wxss
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxss
+2
-1
LssueContracts.js
...-weixin/pagesA/Contracts/LssueContracts/LssueContracts.js
+1
-1
ElectricPassengerCenter.js
...pagesA/ElectricPassengerCenter/ElectricPassengerCenter.js
+1
-1
ElectricPassengerCenter.json
...gesA/ElectricPassengerCenter/ElectricPassengerCenter.json
+1
-0
ElectricPassengerCenter.wxml
...gesA/ElectricPassengerCenter/ElectricPassengerCenter.wxml
+1
-1
ElectricPassengerCenter.wxss
...gesA/ElectricPassengerCenter/ElectricPassengerCenter.wxss
+1
-1
electriCompanyDetail.js
...d/mp-weixin/pagesA/electriCompany/electriCompanyDetail.js
+1
-1
electriCompanyDetail.wxss
...mp-weixin/pagesA/electriCompany/electriCompanyDetail.wxss
+1
-1
Demand.js
unpackage/dist/build/mp-weixin/pagesA/enquiry/Demand.js
+1
-1
Demand.wxss
unpackage/dist/build/mp-weixin/pagesA/enquiry/Demand.wxss
+3
-1
switchIdentity.js
...t/build/mp-weixin/pagesA/switchIdentity/switchIdentity.js
+1
-1
switchIdentity.wxml
...build/mp-weixin/pagesA/switchIdentity/switchIdentity.wxml
+1
-1
switchIdentity.wxss
...build/mp-weixin/pagesA/switchIdentity/switchIdentity.wxss
+2
-1
fenshi.png
...ckage/dist/build/mp-weixin/static/images/icons/fenshi.png
+0
-0
guding.png
...ckage/dist/build/mp-weixin/static/images/icons/guding.png
+0
-0
switch.png
unpackage/dist/build/mp-weixin/static/images/switch.png
+0
-0
api.js
unpackage/dist/build/mp-weixin/static/util/api.js
+1
-1
没有找到文件。
unpackage/dist/build/mp-weixin/common/vendor.js
浏览文件 @
a9280eb9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
unpackage/dist/build/mp-weixin/components/custom-tab-bar/index.json
浏览文件 @
a9280eb9
{
"
component"
:
true
,
"
usingComponents"
:
{}
"
usingComponents"
:
{}
,
"
component"
:
true
}
\ No newline at end of file
unpackage/dist/build/mp-weixin/components/selectCompoment/index.json
浏览文件 @
a9280eb9
{
"
usingComponents"
:
{}
,
"
component"
:
true
"
component"
:
true
,
"
usingComponents"
:
{}
}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/authentication/CompanyAuthentication.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/authentication/CompanyAuthentication"
],{
"1d32"
:
function
(
t
,
e
,
i
){
"use strict"
;
var
n
=
i
(
"9038"
),
a
=
i
.
n
(
n
);
a
.
a
},
6206
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
r
(
e
);
var
n
=
i
(
"f857"
),
a
=
i
.
n
(
n
);
for
(
var
r
in
n
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
e
,
t
,(
function
(){
return
n
[
t
]}))}(
r
);
e
[
"default"
]
=
a
.
a
},
9038
:
function
(
t
,
e
,
i
){},
9466
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
r
(
e
);
var
n
=
i
(
"af53"
),
a
=
i
(
"6206"
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
e
,
t
,(
function
(){
return
a
[
t
]}))}(
r
);
i
(
"1d32"
);
var
s
,
o
=
i
(
"f0c5"
),
c
=
Object
(
o
[
"a"
])(
a
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
s
);
e
[
"default"
]
=
c
.
exports
},
a26a
:
function
(
t
,
e
,
i
){
"use strict"
;(
function
(
t
){
i
(
"78ef"
);
n
(
i
(
"66fd"
));
var
e
=
n
(
i
(
"9466"
));
function
n
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
i
(
"543d"
)[
"createPage"
])},
af53
:
function
(
t
,
e
,
i
){
"use strict"
;
var
n
;
i
.
d
(
e
,
"b"
,(
function
(){
return
a
})),
i
.
d
(
e
,
"c"
,(
function
(){
return
r
})),
i
.
d
(
e
,
"a"
,(
function
(){
return
n
}));
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
;
t
.
_self
.
_c
},
r
=
[]},
f857
:
function
(
t
,
e
,
i
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
n
=
i
(
"86df"
),
a
=
r
(
i
(
"9036"
));
function
r
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
s
=
{
data
:
function
(){
return
{
id
:
null
,
enterpriseId
:
""
,
companyName
:
""
,
whetherAdmit
:
2
,
enterpriseCode
:
""
,
contactPerson
:
""
,
phone
:
""
,
email
:
""
,
industry
:
""
,
enterpriseCertificationType
:
""
,
entrustName
:
""
,
cardFront
:
""
,
cardNegative
:
""
,
principalCardFront
:
""
,
principalCardNegative
:
""
,
powerOfAttorney
:
""
,
region
:
""
,
address
:
""
,
businessLicense
:
""
,
powerConsumption
:
""
,
annualElectricityConsumption
:
""
,
peakElectricity
:
""
,
peaceElectricity
:
""
,
valleyElectricity
:
""
,
electricityBill
:
""
,
authenticateRemark
:
""
,
isAuthenticate
:
""
,
switchChecked
:
!
1
,
industrys
:[],
industryList
:[],
industryValue
:
""
,
typeList
:[
"法人认证"
,
"委托人认证"
],
typeValue
:
""
,
natureList
:[
"大工业用电"
,
"普通工业用电"
,
"商业用电"
,
"其他用电"
],
natureValue
:
""
,
imgUrlFront
:
""
,
imgUrlNegative
:
""
,
isClick
:
!
0
,
isEdit
:
!
1
,
imgList
:[],
hide
:
!
1
}},
created
:
function
(){
var
e
=
this
;
console
.
log
(
this
.
isClick
);
var
i
=
t
.
getStorageSync
(
"user"
),
r
=
t
.
getStorageSync
(
"type"
);
this
.
enterpriseId
=
i
.
enterpriseId
,
this
.
getUserInfo
(
r
),(
0
,
n
.
get
)(
a
.
default
.
getIndustryList
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
industrys
=
t
.
data
,
e
.
industryList
=
t
.
data
.
map
((
function
(
t
){
return
t
.
industryName
})))}))},
onShow
:
function
(){
this
.
isClick
=!
0
},
methods
:{
switchChange
:
function
(
t
){
var
e
=
t
.
target
.
value
;
this
.
whetherAdmit
=
e
?
1
:
2
,
this
.
switchChecked
=
e
},
industryChange
:
function
(
t
){
var
e
=
this
,
i
=
t
.
target
.
value
;
this
.
industryValue
=
this
.
industryList
[
i
];
var
n
=
this
.
industrys
.
map
((
function
(
t
){
if
(
t
.
industryName
==
e
.
industryValue
)
return
t
.
id
}));
this
.
industry
=
n
.
join
(
""
)},
typeChange
:
function
(
t
){
var
e
=
t
.
target
.
value
;
this
.
typeValue
=
this
.
typeList
[
e
],
"法人认证"
==
this
.
typeValue
?
this
.
enterpriseCertificationType
=
2
:
this
.
enterpriseCertificationType
=
1
},
regionChange
:
function
(
t
){
this
.
region
=
t
.
target
.
value
.
join
(
"/"
)},
natureChange
:
function
(
t
){
var
e
=
t
.
target
.
value
;
this
.
natureValue
=
this
.
natureList
[
e
],
this
.
powerConsumption
=
Number
(
e
)
+
1
},
chooseImg
:
function
(
e
){
var
i
=
this
;
t
.
chooseImage
({
count
:
1
,
sizeType
:[
"original"
,
"compressed"
],
success
:
function
(
n
){
var
r
=
n
.
tempFilePaths
;
t
.
uploadFile
({
url
:
a
.
default
.
uploadFile
,
filePath
:
r
[
0
],
name
:
"file"
,
success
:
function
(
t
){
var
n
=
JSON
.
parse
(
t
.
data
).
url
;
0
==
e
?(
i
.
imgUrlFront
=
n
,
"法人认证"
==
i
.
typeValue
?
i
.
cardFront
=
n
:
i
.
principalCardFront
=
n
):
1
==
e
?(
i
.
imgUrlNegative
=
n
,
"法人认证"
==
i
.
typeValue
?
i
.
cardNegative
=
n
:
i
.
principalCardNegative
=
n
):
2
==
e
?
i
.
powerOfAttorney
=
n
:
3
==
e
?
i
.
businessLicense
=
n
:(
i
.
imgList
.
push
(
n
),
i
.
imgList
.
length
>
5
&&
(
i
.
hide
=!
0
))},
fail
:
function
(
e
){
t
.
showToast
({
title
:
"文件上传失败,请检查网络"
,
icon
:
"none"
})}})}})},
getUserInfo
:
function
(
t
){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
getUserInformation
,{
type
:
t
,
userId
:
this
.
enterpriseId
}).
then
((
function
(
i
){
200
==
i
.
code
&&
(
e
.
isAuthenticate
=
i
.
data
.
isAuthenticate
,
e
.
authenticateRemark
=
i
.
data
.
authenticateRemark
,
0
!=
e
.
isAuthenticate
&&
(
console
.
log
(
"11111"
),
e
.
getCertifiction
(
t
)))}))},
getCertifiction
:
function
(
t
){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
viewVerifiedDetails
,{
type
:
t
,
userId
:
this
.
enterpriseId
}).
then
((
function
(
t
){
console
.
log
(
t
.
data
),
e
.
id
=
t
.
data
.
tuserCertification
.
id
,
e
.
companyName
=
t
.
data
.
tuserCertification
.
companyName
;
var
i
=
t
.
data
.
tuserCertification
.
whetherAdmit
;
1
==
i
?(
e
.
switchChecked
=!
0
,
e
.
enterpriseCode
=
t
.
data
.
tuserCertification
.
enterpriseCode
):(
e
.
switchChecked
=!
1
,
e
.
enterpriseCode
=
""
),
e
.
contactPerson
=
t
.
data
.
tuserCertification
.
contactPerson
,
e
.
phone
=
t
.
data
.
tuserCertification
.
phone
,
e
.
email
=
t
.
data
.
tuserCertification
.
mailbox
,
e
.
industryValue
=
t
.
data
.
industryName
;
var
n
=
e
.
industrys
.
map
((
function
(
t
){
if
(
t
.
industryName
==
e
.
industryValue
)
return
t
.
id
}));
e
.
industry
=
n
.
join
(
""
),
e
.
enterpriseCertificationType
=
t
.
data
.
enterpriseCertificationType
,
1
==
t
.
data
.
enterpriseCertificationType
?(
e
.
typeValue
=
"委托人认证"
,
e
.
imgUrlFront
=
t
.
data
.
principalCardFront
,
e
.
imgUrlNegative
=
t
.
data
.
principalCardNegative
,
e
.
principalCardFront
=
t
.
data
.
principalCardFront
,
e
.
principalCardNegative
=
t
.
data
.
principalCardNegative
):(
e
.
typeValue
=
"法人认证"
,
e
.
imgUrlFront
=
t
.
data
.
cardFront
,
e
.
imgUrlNegative
=
t
.
data
.
cardNegative
,
e
.
cardFront
=
t
.
data
.
cardFront
,
e
.
cardNegative
=
t
.
data
.
cardNegative
),
e
.
entrustName
=
t
.
data
.
tuserCertification
.
legalPersonName
,
e
.
powerOfAttorney
=
t
.
data
.
powerOfAttorney
,
e
.
region
=
t
.
data
.
tuserCertification
.
region
,
e
.
address
=
t
.
data
.
tuserCertification
.
detailedAddress
,
e
.
businessLicense
=
t
.
data
.
businessLicense
,
e
.
powerConsumption
=
t
.
data
.
powerConsumption
,
e
.
natureValue
=
e
.
natureList
[
t
.
data
.
powerConsumption
-
1
],
e
.
annualElectricityConsumption
=
t
.
data
.
annualElectricityConsumption
,
e
.
peakElectricity
=
t
.
data
.
peakElectricity
,
e
.
peaceElectricity
=
t
.
data
.
peaceElectricity
,
e
.
valleyElectricity
=
t
.
data
.
valleyElectricity
,
e
.
imgList
=
t
.
data
.
electricityBill
.
split
(
","
)}))},
edit
:
function
(){
this
.
isAuthenticate
=
0
},
submit
:
function
(){
if
(
""
==
this
.
companyName
)
return
t
.
showToast
({
title
:
"请输入企业名称"
,
icon
:
"none"
}),
!
1
;
if
(
this
.
switchChecked
){
if
(
this
.
whetherAdmit
=
1
,
""
==
this
.
enterpriseCode
)
return
t
.
showToast
({
title
:
"请输入企业交易代码"
,
icon
:
"none"
}),
!
1
}
else
this
.
whetherAdmit
=
2
,
this
.
enterpriseCode
=
""
;
if
(
""
==
this
.
contactPerson
)
return
t
.
showToast
({
title
:
"请输入联系人"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
phone
||!
/^
[
1
][
3,4,5,7,8
][
0-9
]{9}
$/
.
test
(
this
.
phone
))
return
t
.
showToast
({
title
:
"请输入联系方式"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
typeValue
)
return
t
.
showToast
({
title
:
"请选择认证类型"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
imgUrlFront
)
return
t
.
showToast
({
title
:
"请上传身份证正面照片"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
imgUrlNegative
)
return
t
.
showToast
({
title
:
"请上传身份证反面照片"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
region
)
return
t
.
showToast
({
title
:
"请选择所在区域"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
businessLicense
)
return
t
.
showToast
({
title
:
"请上传营业执照"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
natureValue
)
return
t
.
showToast
({
title
:
"请选择用电性质"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
annualElectricityConsumption
||
isNaN
(
this
.
annualElectricityConsumption
))
return
t
.
showToast
({
title
:
"请输入正确的年度用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
peakElectricity
||
isNaN
(
this
.
peakElectricity
))
return
t
.
showToast
({
title
:
"请输入正确的峰期用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
peaceElectricity
||
isNaN
(
this
.
peaceElectricity
))
return
t
.
showToast
({
title
:
"请输入正确的平期用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
valleyElectricity
||
isNaN
(
this
.
valleyElectricity
))
return
t
.
showToast
({
title
:
"请输入正确的谷期用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
imgList
.
length
)
return
t
.
showToast
({
title
:
"请电费通知单"
,
icon
:
"none"
}),
!
1
;
var
e
=
{
id
:
this
.
id
,
enterpriseId
:
this
.
enterpriseId
,
companyName
:
this
.
companyName
,
whetherAdmit
:
this
.
whetherAdmit
,
enterpriseCode
:
this
.
enterpriseCode
,
contactPerson
:
this
.
contactPerson
,
phone
:
this
.
phone
,
industry
:
this
.
industry
,
enterpriseCertificationType
:
this
.
enterpriseCertificationType
,
cardFront
:
this
.
cardFront
,
cardNegative
:
this
.
cardNegative
,
principalCardFront
:
this
.
principalCardFront
,
principalCardNegative
:
this
.
principalCardNegative
,
powerOfAttorney
:
this
.
powerOfAttorney
,
region
:
this
.
region
,
businessLicense
:
this
.
businessLicense
,
powerConsumption
:
this
.
powerConsumption
,
annualElectricityConsumption
:
this
.
annualElectricityConsumption
,
peakElectricity
:
this
.
peakElectricity
,
peaceElectricity
:
this
.
peaceElectricity
,
valleyElectricity
:
this
.
valleyElectricity
,
electricityBill
:
this
.
imgList
.
join
(
","
),
mailbox
:
this
.
email
,
legalPersonName
:
this
.
entrustName
,
detailedAddress
:
this
.
address
};(
0
,
n
.
post
)(
a
.
default
.
verifiedBefore
,
e
).
then
((
function
(
i
){
console
.
log
(
i
),
200
==
i
.
code
?(
t
.
setStorageSync
(
"enterpriseInfo"
,
e
),
t
.
navigateTo
({
url
:
"/pagesA/takePhoto/takePhoto"
})):
t
.
showToast
({
title
:
i
.
msg
,
icon
:
"none"
})}))}}};
e
.
default
=
s
}).
call
(
this
,
i
(
"543d"
)[
"default"
])}},[[
"a26a"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/authentication/CompanyAuthentication"
],{
"1d32"
:
function
(
t
,
e
,
i
){
"use strict"
;
var
n
=
i
(
"9038"
),
a
=
i
.
n
(
n
);
a
.
a
},
"4c4e"
:
function
(
t
,
e
,
i
){
"use strict"
;
var
n
;
i
.
d
(
e
,
"b"
,(
function
(){
return
a
})),
i
.
d
(
e
,
"c"
,(
function
(){
return
r
})),
i
.
d
(
e
,
"a"
,(
function
(){
return
n
}));
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
;
t
.
_self
.
_c
},
r
=
[]},
6206
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
r
(
e
);
var
n
=
i
(
"f857"
),
a
=
i
.
n
(
n
);
for
(
var
r
in
n
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
e
,
t
,(
function
(){
return
n
[
t
]}))}(
r
);
e
[
"default"
]
=
a
.
a
},
9038
:
function
(
t
,
e
,
i
){},
9466
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
r
(
e
);
var
n
=
i
(
"4c4e"
),
a
=
i
(
"6206"
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
e
,
t
,(
function
(){
return
a
[
t
]}))}(
r
);
i
(
"1d32"
);
var
s
,
o
=
i
(
"f0c5"
),
c
=
Object
(
o
[
"a"
])(
a
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
s
);
e
[
"default"
]
=
c
.
exports
},
a26a
:
function
(
t
,
e
,
i
){
"use strict"
;(
function
(
t
){
i
(
"78ef"
);
n
(
i
(
"66fd"
));
var
e
=
n
(
i
(
"9466"
));
function
n
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
i
(
"543d"
)[
"createPage"
])},
f857
:
function
(
t
,
e
,
i
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
n
=
i
(
"86df"
),
a
=
r
(
i
(
"9036"
));
function
r
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
s
=
{
data
:
function
(){
return
{
id
:
null
,
enterpriseId
:
""
,
companyName
:
""
,
whetherAdmit
:
2
,
enterpriseCode
:
""
,
contactPerson
:
""
,
phone
:
""
,
email
:
""
,
industry
:
""
,
enterpriseCertificationType
:
""
,
entrustName
:
""
,
cardFront
:
""
,
cardNegative
:
""
,
principalCardFront
:
""
,
principalCardNegative
:
""
,
powerOfAttorney
:
""
,
region
:
""
,
address
:
""
,
businessLicense
:
""
,
powerConsumption
:
""
,
annualElectricityConsumption
:
""
,
peakElectricity
:
""
,
peaceElectricity
:
""
,
valleyElectricity
:
""
,
electricityBill
:
""
,
authenticateRemark
:
""
,
isAuthenticate
:
""
,
switchChecked
:
!
1
,
industrys
:[],
industryList
:[],
industryValue
:
""
,
typeList
:[
"法人认证"
,
"委托人认证"
],
typeValue
:
""
,
natureList
:[
"大工业用电"
,
"普通工业用电"
,
"商业用电"
,
"其他用电"
],
natureValue
:
""
,
imgUrlFront
:
""
,
imgUrlNegative
:
""
,
isClick
:
!
0
,
isEdit
:
!
1
,
imgList
:[],
hide
:
!
1
}},
created
:
function
(){
var
e
=
this
;
console
.
log
(
this
.
isClick
);
var
i
=
t
.
getStorageSync
(
"user"
),
r
=
t
.
getStorageSync
(
"type"
);
this
.
enterpriseId
=
i
.
enterpriseId
,
this
.
getUserInfo
(
r
),(
0
,
n
.
get
)(
a
.
default
.
getIndustryList
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
industrys
=
t
.
data
,
e
.
industryList
=
t
.
data
.
map
((
function
(
t
){
return
t
.
industryName
})))}))},
onShow
:
function
(){
this
.
isClick
=!
0
},
methods
:{
switchChange
:
function
(
t
){
var
e
=
t
.
target
.
value
;
this
.
whetherAdmit
=
e
?
1
:
2
,
this
.
switchChecked
=
e
},
industryChange
:
function
(
t
){
var
e
=
this
,
i
=
t
.
target
.
value
;
this
.
industryValue
=
this
.
industryList
[
i
];
var
n
=
this
.
industrys
.
map
((
function
(
t
){
if
(
t
.
industryName
==
e
.
industryValue
)
return
t
.
id
}));
this
.
industry
=
n
.
join
(
""
)},
typeChange
:
function
(
t
){
var
e
=
t
.
target
.
value
;
this
.
typeValue
=
this
.
typeList
[
e
],
"法人认证"
==
this
.
typeValue
?
this
.
enterpriseCertificationType
=
2
:
this
.
enterpriseCertificationType
=
1
},
regionChange
:
function
(
t
){
this
.
region
=
t
.
target
.
value
.
join
(
"/"
)},
natureChange
:
function
(
t
){
var
e
=
t
.
target
.
value
;
this
.
natureValue
=
this
.
natureList
[
e
],
this
.
powerConsumption
=
Number
(
e
)
+
1
},
chooseImg
:
function
(
e
){
var
i
=
this
;
t
.
chooseImage
({
count
:
1
,
sizeType
:[
"original"
,
"compressed"
],
success
:
function
(
n
){
var
r
=
n
.
tempFilePaths
;
t
.
uploadFile
({
url
:
a
.
default
.
uploadFile
,
filePath
:
r
[
0
],
name
:
"file"
,
success
:
function
(
t
){
var
n
=
JSON
.
parse
(
t
.
data
).
url
;
0
==
e
?(
i
.
imgUrlFront
=
n
,
"法人认证"
==
i
.
typeValue
?
i
.
cardFront
=
n
:
i
.
principalCardFront
=
n
):
1
==
e
?(
i
.
imgUrlNegative
=
n
,
"法人认证"
==
i
.
typeValue
?
i
.
cardNegative
=
n
:
i
.
principalCardNegative
=
n
):
2
==
e
?
i
.
powerOfAttorney
=
n
:
3
==
e
?
i
.
businessLicense
=
n
:(
i
.
imgList
.
push
(
n
),
i
.
imgList
.
length
>
5
&&
(
i
.
hide
=!
0
))},
fail
:
function
(
e
){
t
.
showToast
({
title
:
"文件上传失败,请检查网络"
,
icon
:
"none"
})}})}})},
getUserInfo
:
function
(
t
){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
getUserInformation
,{
type
:
t
,
userId
:
this
.
enterpriseId
}).
then
((
function
(
i
){
200
==
i
.
code
&&
(
e
.
isAuthenticate
=
i
.
data
.
isAuthenticate
,
e
.
authenticateRemark
=
i
.
data
.
authenticateRemark
,
0
!=
e
.
isAuthenticate
&&
(
console
.
log
(
"11111"
),
e
.
getCertifiction
(
t
)))}))},
getCertifiction
:
function
(
t
){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
viewVerifiedDetails
,{
type
:
t
,
userId
:
this
.
enterpriseId
}).
then
((
function
(
t
){
console
.
log
(
t
.
data
),
e
.
id
=
t
.
data
.
tuserCertification
.
id
,
e
.
companyName
=
t
.
data
.
tuserCertification
.
companyName
;
var
i
=
t
.
data
.
tuserCertification
.
whetherAdmit
;
1
==
i
?(
e
.
switchChecked
=!
0
,
e
.
enterpriseCode
=
t
.
data
.
tuserCertification
.
enterpriseCode
):(
e
.
switchChecked
=!
1
,
e
.
enterpriseCode
=
""
),
e
.
contactPerson
=
t
.
data
.
tuserCertification
.
contactPerson
,
e
.
phone
=
t
.
data
.
tuserCertification
.
phone
,
e
.
email
=
t
.
data
.
tuserCertification
.
mailbox
,
e
.
industryValue
=
t
.
data
.
industryName
;
var
n
=
e
.
industrys
.
map
((
function
(
t
){
if
(
t
.
industryName
==
e
.
industryValue
)
return
t
.
id
}));
e
.
industry
=
n
.
join
(
""
),
e
.
enterpriseCertificationType
=
t
.
data
.
enterpriseCertificationType
,
1
==
t
.
data
.
enterpriseCertificationType
?(
e
.
typeValue
=
"委托人认证"
,
e
.
imgUrlFront
=
t
.
data
.
principalCardFront
,
e
.
imgUrlNegative
=
t
.
data
.
principalCardNegative
,
e
.
principalCardFront
=
t
.
data
.
principalCardFront
,
e
.
principalCardNegative
=
t
.
data
.
principalCardNegative
):(
e
.
typeValue
=
"法人认证"
,
e
.
imgUrlFront
=
t
.
data
.
cardFront
,
e
.
imgUrlNegative
=
t
.
data
.
cardNegative
,
e
.
cardFront
=
t
.
data
.
cardFront
,
e
.
cardNegative
=
t
.
data
.
cardNegative
),
e
.
entrustName
=
t
.
data
.
tuserCertification
.
legalPersonName
,
e
.
powerOfAttorney
=
t
.
data
.
powerOfAttorney
,
e
.
region
=
t
.
data
.
tuserCertification
.
region
,
e
.
address
=
t
.
data
.
tuserCertification
.
detailedAddress
,
e
.
businessLicense
=
t
.
data
.
businessLicense
,
e
.
powerConsumption
=
t
.
data
.
powerConsumption
,
e
.
natureValue
=
e
.
natureList
[
t
.
data
.
powerConsumption
-
1
],
e
.
annualElectricityConsumption
=
t
.
data
.
annualElectricityConsumption
,
e
.
peakElectricity
=
t
.
data
.
peakElectricity
,
e
.
peaceElectricity
=
t
.
data
.
peaceElectricity
,
e
.
valleyElectricity
=
t
.
data
.
valleyElectricity
,
e
.
imgList
=
t
.
data
.
electricityBill
.
split
(
","
)}))},
edit
:
function
(){
this
.
isAuthenticate
=
0
},
submit
:
function
(){
if
(
""
==
this
.
companyName
)
return
t
.
showToast
({
title
:
"请输入企业名称"
,
icon
:
"none"
}),
!
1
;
if
(
this
.
switchChecked
){
if
(
this
.
whetherAdmit
=
1
,
""
==
this
.
enterpriseCode
)
return
t
.
showToast
({
title
:
"请输入企业交易代码"
,
icon
:
"none"
}),
!
1
}
else
this
.
whetherAdmit
=
2
,
this
.
enterpriseCode
=
""
;
if
(
""
==
this
.
contactPerson
)
return
t
.
showToast
({
title
:
"请输入联系人"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
phone
||!
/^
[
1
][
3,4,5,7,8
][
0-9
]{9}
$/
.
test
(
this
.
phone
))
return
t
.
showToast
({
title
:
"请输入联系方式"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
typeValue
)
return
t
.
showToast
({
title
:
"请选择认证类型"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
imgUrlFront
)
return
t
.
showToast
({
title
:
"请上传身份证正面照片"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
imgUrlNegative
)
return
t
.
showToast
({
title
:
"请上传身份证反面照片"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
region
)
return
t
.
showToast
({
title
:
"请选择所在区域"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
businessLicense
)
return
t
.
showToast
({
title
:
"请上传营业执照"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
natureValue
)
return
t
.
showToast
({
title
:
"请选择用电性质"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
annualElectricityConsumption
||
isNaN
(
this
.
annualElectricityConsumption
))
return
t
.
showToast
({
title
:
"请输入正确的年度用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
peakElectricity
||
isNaN
(
this
.
peakElectricity
))
return
t
.
showToast
({
title
:
"请输入正确的峰期用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
peaceElectricity
||
isNaN
(
this
.
peaceElectricity
))
return
t
.
showToast
({
title
:
"请输入正确的平期用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
valleyElectricity
||
isNaN
(
this
.
valleyElectricity
))
return
t
.
showToast
({
title
:
"请输入正确的谷期用电量"
,
icon
:
"none"
}),
!
1
;
if
(
""
==
this
.
imgList
.
length
)
return
t
.
showToast
({
title
:
"请电费通知单"
,
icon
:
"none"
}),
!
1
;
var
e
=
{
id
:
this
.
id
,
enterpriseId
:
this
.
enterpriseId
,
companyName
:
this
.
companyName
,
whetherAdmit
:
this
.
whetherAdmit
,
enterpriseCode
:
this
.
enterpriseCode
,
contactPerson
:
this
.
contactPerson
,
phone
:
this
.
phone
,
industry
:
this
.
industry
,
enterpriseCertificationType
:
this
.
enterpriseCertificationType
,
cardFront
:
this
.
cardFront
,
cardNegative
:
this
.
cardNegative
,
principalCardFront
:
this
.
principalCardFront
,
principalCardNegative
:
this
.
principalCardNegative
,
powerOfAttorney
:
this
.
powerOfAttorney
,
region
:
this
.
region
,
businessLicense
:
this
.
businessLicense
,
powerConsumption
:
this
.
powerConsumption
,
annualElectricityConsumption
:
this
.
annualElectricityConsumption
,
peakElectricity
:
this
.
peakElectricity
,
peaceElectricity
:
this
.
peaceElectricity
,
valleyElectricity
:
this
.
valleyElectricity
,
electricityBill
:
this
.
imgList
.
join
(
","
),
mailbox
:
this
.
email
,
legalPersonName
:
this
.
entrustName
,
detailedAddress
:
this
.
address
};(
0
,
n
.
post
)(
a
.
default
.
verifiedBefore
,
e
).
then
((
function
(
i
){
console
.
log
(
i
),
200
==
i
.
code
?(
t
.
setStorageSync
(
"enterpriseInfo"
,
e
),
t
.
navigateTo
({
url
:
"/pagesA/takePhoto/takePhoto"
})):
t
.
showToast
({
title
:
i
.
msg
,
icon
:
"none"
})}))}}};
e
.
default
=
s
}).
call
(
this
,
i
(
"543d"
)[
"default"
])}},[[
"a26a"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/authentication/CompanyAuthentication.wxml
浏览文件 @
a9280eb9
<view class="company"><block wx:if="{{isAuthenticate==1}}"><view class="authentication_state"><image src="../../static/images/index/group.png" mode></image><view>平台审核不通过</view><view class="cause">{{authenticateRemark}}</view></view></block><block wx:if="{{isAuthenticate==2}}"><view class="authentication_state"><image src="../../static/images/index/group.png" mode></image><view>平台审核通过</view></view></block><block wx:if="{{isAuthenticate==3}}"><view class="authentication_state"><image src="../../static/images/index/group.png" mode></image><view>平台审核中</view></view></block><block wx:if="{{isAuthenticate==0}}"><view class="unauthorized"><view class="authentication_basic"><view class="title_common">基本信息</view><view class="item_common"><view class="title"><text>*</text>企业名称</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','companyName','$event',[]]]]]]}}" value="{{companyName}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">是否准入</view><switch style="transform:scale(0.7);" checked="{{switchChecked}}" color="#1989fa" data-event-opts="{{[['change',[['switchChange',['$event']]]]]}}" bindchange="__e"></switch><view class="border_bottom"></view></view><block wx:if="{{switchChecked}}"><view class="item_common"><view class="title"><text>*</text>企业交易代码</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','enterpriseCode','$event',[]]]]]]}}" value="{{enterpriseCode}}" bindinput="__e"/><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>联系人</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','contactPerson','$event',[]]]]]]}}" value="{{contactPerson}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>联系方式</view><input type="number" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">邮箱</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','email','$event',[]]]]]]}}" value="{{email}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">所属行业</view><picker mode="selector" range="{{industryList}}" data-event-opts="{{[['change',[['industryChange',['$event']]]]]}}" bindchange="__e"><view>{{industryValue?industryValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>认证类型</view><picker mode="selector" range="{{typeList}}" data-event-opts="{{[['change',[['typeChange',['$event']]]]]}}" bindchange="__e"><view>{{typeValue?typeValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><block wx:if="{{typeValue}}"><view class="item_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'授权委托人')+"姓名"}}</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','entrustName','$event',[]]]]]]}}" value="{{entrustName}}" bindinput="__e"/><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(正面)"}}</view><view data-event-opts="{{[['tap',[['chooseImg',[0]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{imgUrlFront}}"><image src="{{imgUrlFront}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(反面)"}}</view><view data-event-opts="{{[['tap',[['chooseImg',[1]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{imgUrlNegative}}"><image src="{{imgUrlNegative}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue=='委托人认证'}}"><view class="img_common"><view class="title"><text>*</text>委托书</view><view data-event-opts="{{[['tap',[['chooseImg',[2]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{powerOfAttorney}}"><image src="{{powerOfAttorney}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>所在区域</view><picker mode="region" data-event-opts="{{[['change',[['regionChange',['$event']]]]]}}" bindchange="__e"><view>{{region?region:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>详细地址</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" value="{{address}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common"><view class="title"><text>*</text>营业执照</view><view data-event-opts="{{[['tap',[['chooseImg',[3]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{businessLicense}}"><image src="{{businessLicense}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view><view class="authentication_electricity"><view class="title_common">用电信息</view><view class="item_common"><view class="title"><text>*</text>用电性质</view><picker mode="selector" range="{{natureList}}" data-event-opts="{{[['change',[['natureChange',['$event']]]]]}}" bindchange="__e"><view>{{natureValue?natureValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>年度用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','annualElectricityConsumption','$event',[]]]]]]}}" value="{{annualElectricityConsumption}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>峰期用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','peakElectricity','$event',[]]]]]]}}" value="{{peakElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>平期用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','peaceElectricity','$event',[]]]]]]}}" value="{{peaceElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>谷期用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','valleyElectricity','$event',[]]]]]]}}" value="{{valleyElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common_img"><view class="title"><text>*</text>电费通知单</view><view data-event-opts="{{[['tap',[['chooseImg',[4]]]]]}}" class="uploadImg_box" bindtap="__e"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image src="{{item}}" mode></image></block><block wx:if="{{!hide}}"><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view></view></block><block wx:if="{{isAuthenticate!=0}}"><view class="completed"><view class="authentication_basic"><view class="title_common">基本信息</view><view class="item_common"><view class="title"><text>*</text>企业名称</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','companyName','$event',[]]]]]]}}" value="{{companyName}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">是否准入</view><switch style="transform:scale(0.7);" checked="{{switchChecked}}" color="#1989fa" disabled="{{true}}"></switch><view class="border_bottom"></view></view><block wx:if="{{switchChecked}}"><view class="item_common"><view class="title"><text>*</text>企业交易代码</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','enterpriseCode','$event',[]]]]]]}}" value="{{enterpriseCode}}" bindinput="__e"/><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>联系人</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','contactPerson','$event',[]]]]]]}}" value="{{contactPerson}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>联系方式</view><input type="number" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">邮箱</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">所属行业</view><picker mode="selector" disabled="{{true}}"><view>{{industryValue?industryValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>认证类型</view><picker mode="selector" disabled="{{true}}"><view>{{typeValue?typeValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><block wx:if="{{typeValue}}"><view class="item_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'授权委托人')+"姓名"}}</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','entrustName','$event',[]]]]]]}}" value="{{entrustName}}" bindinput="__e"/><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(正面)"}}</view><view class="uploadImg"><block wx:if="{{imgUrlFront}}"><image src="{{imgUrlFront}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(反面)"}}</view><view class="uploadImg"><block wx:if="{{imgUrlNegative}}"><image src="{{imgUrlNegative}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue=='委托人认证'}}"><view class="img_common"><view class="title"><text>*</text>委托书</view><view class="uploadImg"><block wx:if="{{powerOfAttorney}}"><image src="{{powerOfAttorney}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>所在区域</view><picker mode="region" disabled="{{true}}"><view>{{region?region:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>详细地址</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" value="{{address}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common"><view class="title"><text>*</text>营业执照</view><view class="uploadImg"><block wx:if="{{businessLicense}}"><image src="{{businessLicense}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view><view class="authentication_electricity"><view class="title_common">用电信息</view><view class="item_common"><view class="title"><text>*</text>用电性质</view><picker mode="selector" disabled="{{true}}"><view>{{natureValue?natureValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>年度用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','annualElectricityConsumption','$event',[]]]]]]}}" value="{{annualElectricityConsumption}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>峰期用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','peakElectricity','$event',[]]]]]]}}" value="{{peakElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>平期用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','peaceElectricity','$event',[]]]]]]}}" value="{{peaceElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>谷期用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','valleyElectricity','$event',[]]]]]]}}" value="{{valleyElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common_img"><view class="title"><text>*</text>电费通知单</view><view data-event-opts="{{[['tap',[['chooseImg',[4]]]]]}}" class="uploadImg_box" bindtap="__e"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image src="{{item}}" mode></image></block><block wx:if="{{!hide}}"><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view></view></block><view class="authentication_btn"><block wx:if="{{isAuthenticate==0&&isClick}}"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="compile" bindtap="__e">提交审核</view></block><block wx:else><block wx:if="{{isAuthenticate==1&&isClick}}"><view data-event-opts="{{[['tap',[['edit',['$event']]]]]}}" class="compile" bindtap="__e">编辑</view></block><block wx:else><block wx:if="{{isAuthenticate==2&&isClick}}"><view data-event-opts="{{[['tap',[['edit',['$event']]]]]}}" class="compile" bindtap="__e">编辑</view></block><block wx:else><block wx:if="{{!isClick}}"><view class="compile">下一步</view></block></block></block></block></view></view>
\ No newline at end of file
<view class="company"><block wx:if="{{isAuthenticate==1}}"><view class="authentication_state"><image src="../../static/images/index/group.png" mode></image><view>平台审核不通过</view><view class="cause">{{authenticateRemark}}</view></view></block><block wx:if="{{isAuthenticate==2}}"><view class="authentication_state"><image src="../../static/images/index/group.png" mode></image><view>平台审核通过</view></view></block><block wx:if="{{isAuthenticate==3}}"><view class="authentication_state"><image src="../../static/images/index/group.png" mode></image><view>平台审核中</view></view></block><block wx:if="{{isAuthenticate==0}}"><view class="unauthorized"><view class="authentication_basic"><view class="title_common">基本信息</view><view class="item_common"><view class="title"><text>*</text>企业名称</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','companyName','$event',[]]]]]]}}" value="{{companyName}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">是否准入</view><switch style="transform:scale(0.7);" checked="{{switchChecked}}" color="#1989fa" data-event-opts="{{[['change',[['switchChange',['$event']]]]]}}" bindchange="__e"></switch><view class="border_bottom"></view></view><block wx:if="{{switchChecked}}"><view class="item_common"><view class="title"><text>*</text>企业交易代码</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','enterpriseCode','$event',[]]]]]]}}" value="{{enterpriseCode}}" bindinput="__e"/><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>联系人</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','contactPerson','$event',[]]]]]]}}" value="{{contactPerson}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>联系方式</view><input type="number" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">邮箱</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','email','$event',[]]]]]]}}" value="{{email}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">所属行业</view><picker mode="selector" range="{{industryList}}" data-event-opts="{{[['change',[['industryChange',['$event']]]]]}}" bindchange="__e"><view>{{industryValue?industryValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>认证类型</view><picker mode="selector" range="{{typeList}}" data-event-opts="{{[['change',[['typeChange',['$event']]]]]}}" bindchange="__e"><view>{{typeValue?typeValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><block wx:if="{{typeValue}}"><view class="item_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'授权委托人')+"姓名"}}</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','entrustName','$event',[]]]]]]}}" value="{{entrustName}}" bindinput="__e"/><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(正面)"}}</view><view data-event-opts="{{[['tap',[['chooseImg',[0]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{imgUrlFront}}"><image src="{{imgUrlFront}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(反面)"}}</view><view data-event-opts="{{[['tap',[['chooseImg',[1]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{imgUrlNegative}}"><image src="{{imgUrlNegative}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue=='委托人认证'}}"><view class="img_common"><view class="title"><text>*</text>委托书</view><view data-event-opts="{{[['tap',[['chooseImg',[2]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{powerOfAttorney}}"><image src="{{powerOfAttorney}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>所在区域</view><picker mode="region" data-event-opts="{{[['change',[['regionChange',['$event']]]]]}}" bindchange="__e"><view>{{region?region:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>详细地址</view><input type="text" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" value="{{address}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common"><view class="title"><text>*</text>营业执照</view><view data-event-opts="{{[['tap',[['chooseImg',[3]]]]]}}" class="uploadImg" bindtap="__e"><block wx:if="{{businessLicense}}"><image src="{{businessLicense}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view><view class="authentication_electricity"><view class="title_common">用电信息</view><view class="item_common"><view class="title"><text>*</text>用电性质</view><picker mode="selector" range="{{natureList}}" data-event-opts="{{[['change',[['natureChange',['$event']]]]]}}" bindchange="__e"><view>{{natureValue?natureValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>年度用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','annualElectricityConsumption','$event',[]]]]]]}}" value="{{annualElectricityConsumption}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>峰期用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','peakElectricity','$event',[]]]]]]}}" value="{{peakElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>平期用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','peaceElectricity','$event',[]]]]]]}}" value="{{peaceElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>谷期用电量(万kWh)</view><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','valleyElectricity','$event',[]]]]]]}}" value="{{valleyElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common_img"><view class="title"><text>*</text>电费通知单</view><view data-event-opts="{{[['tap',[['chooseImg',[4]]]]]}}" class="uploadImg_box" bindtap="__e"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image src="{{item}}" mode></image></block><block wx:if="{{!hide}}"><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view></view></block><block wx:if="{{isAuthenticate!=0}}"><view class="unauthorized"><view class="authentication_basic"><view class="title_common">基本信息</view><view class="item_common"><view class="title"><text>*</text>企业名称</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','companyName','$event',[]]]]]]}}" value="{{companyName}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">是否准入</view><switch style="transform:scale(0.7);" checked="{{switchChecked}}" color="#1989fa" disabled="{{true}}"></switch><view class="border_bottom"></view></view><block wx:if="{{switchChecked}}"><view class="item_common"><view class="title"><text>*</text>企业交易代码</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','enterpriseCode','$event',[]]]]]]}}" value="{{enterpriseCode}}" bindinput="__e"/><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>联系人</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','contactPerson','$event',[]]]]]]}}" value="{{contactPerson}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>联系方式</view><input type="number" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">邮箱</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title">所属行业</view><picker mode="selector" disabled="{{true}}"><view>{{industryValue?industryValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>认证类型</view><picker mode="selector" disabled="{{true}}"><view>{{typeValue?typeValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><block wx:if="{{typeValue}}"><view class="item_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'授权委托人')+"姓名"}}</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','entrustName','$event',[]]]]]]}}" value="{{entrustName}}" bindinput="__e"/><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(正面)"}}</view><view class="uploadImg"><block wx:if="{{imgUrlFront}}"><image src="{{imgUrlFront}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue}}"><view class="img_common"><view class="title"><text>*</text>{{(typeValue=='法人认证'?'法人':'委托人')+"身份证(反面)"}}</view><view class="uploadImg"><block wx:if="{{imgUrlNegative}}"><image src="{{imgUrlNegative}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><block wx:if="{{typeValue=='委托人认证'}}"><view class="img_common"><view class="title"><text>*</text>委托书</view><view class="uploadImg"><block wx:if="{{powerOfAttorney}}"><image src="{{powerOfAttorney}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></block><view class="item_common"><view class="title"><text>*</text>所在区域</view><picker mode="region" disabled="{{true}}"><view>{{region?region:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>详细地址</view><input type="text" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" value="{{address}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common"><view class="title"><text>*</text>营业执照</view><view class="uploadImg"><block wx:if="{{businessLicense}}"><image src="{{businessLicense}}" mode></image></block><block wx:else><image src="../../static/images/upload_bg.png" mode></image></block></view><view class="border_bottom"></view></view></view><view class="authentication_electricity"><view class="title_common">用电信息</view><view class="item_common"><view class="title"><text>*</text>用电性质</view><picker mode="selector" disabled="{{true}}"><view>{{natureValue?natureValue:'请选择'}}</view></picker><image class="img" src="../../static/images/right.png" mode></image><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>年度用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','annualElectricityConsumption','$event',[]]]]]]}}" value="{{annualElectricityConsumption}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>峰期用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','peakElectricity','$event',[]]]]]]}}" value="{{peakElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>平期用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','peaceElectricity','$event',[]]]]]]}}" value="{{peaceElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="item_common"><view class="title"><text>*</text>谷期用电量(万kWh)</view><input type="digit" placeholder="请输入" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','valleyElectricity','$event',[]]]]]]}}" value="{{valleyElectricity}}" bindinput="__e"/><view class="border_bottom"></view></view><view class="img_common_img"><view class="title"><text>*</text>电费通知单</view><view class="uploadImg_box"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image src="{{item}}" mode></image></block><block wx:if="{{!hide}}"><image src="../../static/images/upload_bg.png" mode></image></block></view></view></view></view></block><view class="authentication_btn"><block wx:if="{{isAuthenticate==0&&isClick}}"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="compile" bindtap="__e">提交审核</view></block><block wx:else><block wx:if="{{isAuthenticate==1&&isClick}}"><view data-event-opts="{{[['tap',[['edit',['$event']]]]]}}" class="compile" bindtap="__e">编辑</view></block><block wx:else><block wx:if="{{isAuthenticate==2&&isClick}}"><view data-event-opts="{{[['tap',[['edit',['$event']]]]]}}" class="compile" bindtap="__e">编辑</view></block><block wx:else><block wx:if="{{!isClick}}"><view class="compile">下一步</view></block></block></block></block></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/authentication/CompanyAuthentication.wxss
浏览文件 @
a9280eb9
.company{width:100%;height:auto;overflow:hidden;background-color:#f4f5f7}.company .authentication_state{margin:32rpx 0;height:265rpx;text-align:center;background-color:#fff}.company .authentication_state image{margin:32rpx 0;width:100rpx;height:100rpx}.company .authentication_state view{margin-bottom:6rpx;font-size:30rpx;font-weight:500;color:#666}.company .authentication_state .cause{font-size:24rpx;color:#999}.company .authentication_basic{margin-bottom:32rpx}.company .authentication_electricity{margin-bottom:64rpx}.company .authentication_btn{width:100%;height:auto;overflow:hidden;background:hsla(0,0%,100%,.9);-webkit-box-shadow:0rpx -2rpx 10rpx 0rpx rgba(0,0,0,.08);box-shadow:0rpx -2rpx 10rpx 0rpx rgba(0,0,0,.08)}.company .authentication_btn .compile{margin:32rpx auto;margin-bottom:100rpx;width:622rpx;height:104rpx;line-height:104rpx;text-align:center;font-size:30;font-weight:500;color:#fff;text-shadow:0rpx -2rpx 10rpx 0rpx rgba(0,0,0,.08);background:#1989fa;-webkit-border-radius:16rpx;border-radius:16rpx}.company .title_common{padding:32rpx;padding-bottom:0;font-size:30rpx;font-weight:500;color:#999;background-color:#fff}.company .item_common{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;position:relative;padding:0 32rpx;height:110rpx;background-color:#fff}.company .item_common .title{font-size:34rpx;font-weight:400;color:#333}.company .item_common .title text{color:#ec6045}.company .item_common input,
.company .item_common picker{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:right;font-size:24rpx;font-weight:500;color:grey}.company .item_common input view,
.company .item_common picker view{padding-right:20rpx}.company .item_common .img{position:absolute;right:32rpx;top:40rpx;width:16rpx;height:32rpx}.company .img_common{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:32rpx;background-color:#fff;border-bottom:1px solid #f4f5f7}.company .img_common .title{font-size:34rpx;font-weight:400;color:#333}.company .img_common .title text{color:#ec6045}.company .img_common .uploadImg{width:160rpx;height:160rpx}.company .img_common_img{padding:32rpx;background-color:#fff;border-bottom:1px solid #f4f5f7}.company .img_common_img .title{margin-bottom:32rpx;font-size:34rpx;font-weight:400;color:#333}.company .img_common_img .title text{color:#ec6045}.company .img_common_img .uploadImg_box{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.company .img_common_img .uploadImg_box image{width:180rpx;height:180rpx;margin-right:10rpx;margin-bottom:10rpx}.company .border_bottom{position:absolute;left:50%;bottom:0;-webkit-transform:translate(-50%);transform:translate(-50%);width:686rpx;height:2rpx;background-color:#f4f5f7}
\ No newline at end of file
.company .item_common picker view{padding-right:20rpx}.company .item_common .img{position:absolute;right:32rpx;top:40rpx;width:16rpx;height:32rpx}.company .img_common{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;position:relative;padding:32rpx;background-color:#fff;border-bottom:1px solid #f4f5f7}.company .img_common .title{font-size:34rpx;font-weight:400;color:#333}.company .img_common .title text{color:#ec6045}.company .img_common .uploadImg{width:160rpx;height:160rpx}.company .img_common_img{padding:32rpx;background-color:#fff;border-bottom:1px solid #f4f5f7}.company .img_common_img .title{margin-bottom:32rpx;font-size:34rpx;font-weight:400;color:#333}.company .img_common_img .title text{color:#ec6045}.company .img_common_img .uploadImg_box{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.company .img_common_img .uploadImg_box image{width:180rpx;height:180rpx;margin-right:10rpx;margin-bottom:10rpx}.company .border_bottom{position:absolute;left:50%;bottom:0;-webkit-transform:translate(-50%);transform:translate(-50%);width:686rpx;height:2rpx;background-color:#f4f5f7}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/basicInformation/basicInformation.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/basicInformation/basicInformation"
],{
"26b1"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"e1f9"
),
a
=
n
(
"a672"
);
for
(
var
s
in
a
)
"default"
!==
s
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
s
);
n
(
"7821"
);
var
r
,
o
=
n
(
"f0c5"
),
u
=
Object
(
o
[
"a"
])(
a
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
i
[
"a"
],
r
);
t
[
"default"
]
=
u
.
exports
},
"6cdb"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
i
(
n
(
"66fd"
));
var
t
=
i
(
n
(
"26b1"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
7821
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
=
n
(
"8d3d"
),
a
=
n
.
n
(
i
);
a
.
a
},
8743
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
i
(
n
(
"9036"
)),
n
(
"86df"
);
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
a
=
{
data
:
function
(){
return
{
type
:
null
,
enterpriseId
:
""
,
isAuthenticate
:
""
,
earningsList
:[],
earningsList_dianke
:[{
id
:
1
,
name
:
"绑定手机号"
,
message
:
""
,
url
:
"/pages/phone/phone"
},{
id
:
2
,
name
:
"实名认证"
,
message
:
"未认证"
,
url
:
"/pages/Certification/Certification"
},{
id
:
3
,
name
:
"电客认证"
,
message
:
""
,
url
:
"/pages/authentication/authentication"
},{
id
:
4
,
name
:
"信用分"
,
message
:
""
,
url
:
"/pages/CreditPoints/CreditPoints"
}],
earningsList_gaoji
:[{
id
:
1
,
name
:
"绑定手机号"
,
message
:
""
,
limit
:
"bindMobile"
,
url
:
"/pages/phone/phone"
},{
id
:
2
,
name
:
"企业认证"
,
message
:
"未认证"
,
limit
:
"enterpriseCertification"
,
url
:
"/pages/authentication/CompanyAuthentication"
},{
id
:
3
,
name
:
"信用分"
,
message
:
""
,
limit
:
"creditScore"
,
url
:
"/pages/CreditPoints/CreditPoints"
},{
id
:
4
,
name
:
"账号管理"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pages/Account/AccountSetting"
}],
earningsList_putong
:[{
id
:
1
,
name
:
"绑定手机号"
,
message
:
""
,
limit
:
"bindMobile"
,
url
:
"/pages/phone/phone"
},{
id
:
2
,
name
:
"企业认证"
,
message
:
"未认证"
,
limit
:
"enterpriseCertification"
,
url
:
"/pages/authentication/CompanyAuthentication"
},{
id
:
4
,
name
:
"账号管理"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pages/Account/AccountSetting"
}],
terracelist
:[{
id
:
5
,
name
:
"平台协议"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/agreement/protocol/PlatformProtocol"
},{
id
:
6
,
name
:
"法律条款"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/agreement/protocol/LawProtocol"
},{
id
:
7
,
name
:
"隐私协议"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/agreement/protocol/PrivacyProtocol"
},{
id
:
8
,
name
:
"意见反馈"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/feedback/feedback"
}]}},
created
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"type"
);
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
i
=
e
.
getStorageSync
(
"user"
),
a
=
""
;
t
.
isAuthenticate
=
e
.
getStorageSync
(
"userStatus"
).
isAuthenticate
,
0
==
t
.
isAuthenticate
?
a
=
"未认证"
:
1
==
t
.
isAuthenticate
?
a
=
"认证失败"
:
2
==
t
.
isAuthenticate
?
a
=
"已认证"
:
3
==
t
.
isAuthenticate
&&
(
a
=
"待审核"
);
var
s
=
i
.
creditScore
;
if
(
1
==
n
){
var
r
=
i
.
userType
,
o
=
i
.
createById
,
u
=
{};
u
=
i
.
tenterpriseRole
,
1
==
r
||
5
==
r
?
o
&&
u
?(
t
.
earningsList_gaoji
.
pop
(),
t
.
earningsList
=
t
.
earningsList_gaoji
.
map
((
function
(
e
){
for
(
var
t
in
u
)
t
==
e
.
limit
&&
1
==
u
[
t
]
&&
(
e
.
url
=
""
);
return
e
}))):
t
.
earningsList
=
t
.
earningsList_gaoji
:
o
&&
u
?(
t
.
earningsList_putong
.
pop
(),
t
.
earningsList
=
t
.
earningsList_putong
.
map
((
function
(
e
){
for
(
var
t
in
u
)
t
==
e
.
limit
&&
1
==
u
[
t
]
&&
(
e
.
url
=
""
);
return
e
}))):
t
.
earningsList
=
t
.
earningsList_putong
}
else
t
.
earningsList
=
t
.
earningsList_dianke
;
console
.
log
(
a
),
t
.
earningsList
.
map
((
function
(
e
,
t
){
0
==
t
&&
(
e
.
message
=
i
.
phone
),
"信用分"
==
e
.
name
&&
(
e
.
message
=
s
),
"企业认证"
!=
e
.
name
&&
"实名认证"
!=
e
.
name
||
(
e
.
message
=
a
)}))},
methods
:{
linkto
:
function
(
t
){
if
(
""
==
t
)
return
e
.
showToast
({
title
:
"你没有权限, 请联系管理员"
,
icon
:
"none"
}),
!
1
;
if
(
"/pages/authentication/authentication"
==
t
||
"/pages/Account/AccountSetting"
==
t
){
if
(
0
==
this
.
isAuthenticate
)
return
e
.
showToast
({
title
:
"请先完成实名认证"
,
icon
:
"none"
}),
!
1
;
if
(
3
==
this
.
isAuthenticate
)
return
e
.
showToast
({
title
:
"实名认证还未通过"
,
icon
:
"none"
}),
!
1
;
if
(
1
==
this
.
isAuthenticate
)
return
e
.
showToast
({
title
:
"实名认证失败,请重新认证"
,
icon
:
"none"
}),
!
1
}
e
.
navigateTo
({
url
:
t
})},
linktoSwitchIdentity
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/switchIdentity/switchIdentity"
})},
quit
:
function
(){
var
t
=
e
.
getStorageSync
(
"user"
);
if
(
!
t
.
userType
||
2
!=
t
.
userType
&&
3
!=
t
.
userType
)
e
.
reLaunch
({
url
:
"/pages/login/login?adasd=1"
});
else
{
var
n
=
2
==
t
.
userType
?
2
:
1
;
e
.
reLaunch
({
url
:
"/pages/login/login?inviteType="
+
n
})}
e
.
clearStorageSync
()}}};
t
.
default
=
a
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"8d3d"
:
function
(
e
,
t
,
n
){},
a672
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"8743"
),
a
=
n
.
n
(
i
);
for
(
var
s
in
i
)
"default"
!==
s
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
s
);
t
[
"default"
]
=
a
.
a
},
e1f9
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
;
n
.
d
(
t
,
"b"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
s
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
s
=
[]}},[[
"6cdb"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/basicInformation/basicInformation"
],{
"1ce2"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
;
n
.
d
(
t
,
"b"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
s
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
s
=
[]},
"26b1"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"1ce2"
),
a
=
n
(
"a672"
);
for
(
var
s
in
a
)
"default"
!==
s
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
s
);
n
(
"7821"
);
var
r
,
o
=
n
(
"f0c5"
),
u
=
Object
(
o
[
"a"
])(
a
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
i
[
"a"
],
r
);
t
[
"default"
]
=
u
.
exports
},
"6cdb"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
i
(
n
(
"66fd"
));
var
t
=
i
(
n
(
"26b1"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
7821
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
=
n
(
"8d3d"
),
a
=
n
.
n
(
i
);
a
.
a
},
8743
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
i
(
n
(
"9036"
)),
n
(
"86df"
);
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
a
=
{
data
:
function
(){
return
{
type
:
null
,
isCreated
:
!
1
,
enterpriseId
:
""
,
isAuthenticate
:
""
,
earningsList
:[],
earningsList_dianke
:[{
id
:
1
,
name
:
"绑定手机号"
,
message
:
""
,
url
:
"/pages/phone/phone"
},{
id
:
2
,
name
:
"实名认证"
,
message
:
"未认证"
,
url
:
"/pages/Certification/Certification"
},{
id
:
3
,
name
:
"电客认证"
,
message
:
""
,
url
:
"/pages/authentication/authentication"
},{
id
:
4
,
name
:
"信用分"
,
message
:
""
,
url
:
"/pages/CreditPoints/CreditPoints"
}],
earningsList_gaoji
:[{
id
:
1
,
name
:
"绑定手机号"
,
message
:
""
,
limit
:
"bindMobile"
,
url
:
"/pages/phone/phone"
},{
id
:
2
,
name
:
"企业认证"
,
message
:
"未认证"
,
limit
:
"enterpriseCertification"
,
url
:
"/pages/authentication/CompanyAuthentication"
},{
id
:
3
,
name
:
"信用分"
,
message
:
""
,
limit
:
"creditScore"
,
url
:
"/pages/CreditPoints/CreditPoints"
},{
id
:
4
,
name
:
"账号管理"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pages/Account/AccountSetting"
}],
earningsList_putong
:[{
id
:
1
,
name
:
"绑定手机号"
,
message
:
""
,
limit
:
"bindMobile"
,
url
:
"/pages/phone/phone"
},{
id
:
2
,
name
:
"企业认证"
,
message
:
"未认证"
,
limit
:
"enterpriseCertification"
,
url
:
"/pages/authentication/CompanyAuthentication"
},{
id
:
4
,
name
:
"账号管理"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pages/Account/AccountSetting"
}],
terracelist
:[{
id
:
5
,
name
:
"平台协议"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/agreement/protocol/PlatformProtocol"
},{
id
:
6
,
name
:
"法律条款"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/agreement/protocol/LawProtocol"
},{
id
:
7
,
name
:
"隐私协议"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/agreement/protocol/PrivacyProtocol"
},{
id
:
8
,
name
:
"意见反馈"
,
message
:
""
,
limit
:
"accountManagement"
,
url
:
"/pagesA/feedback/feedback"
}]}},
created
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"type"
);
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
i
=
e
.
getStorageSync
(
"user"
),
a
=
""
;
t
.
isAuthenticate
=
e
.
getStorageSync
(
"userStatus"
).
isAuthenticate
,
0
==
t
.
isAuthenticate
?
a
=
"未认证"
:
1
==
t
.
isAuthenticate
?
a
=
"认证失败"
:
2
==
t
.
isAuthenticate
?
a
=
"已认证"
:
3
==
t
.
isAuthenticate
&&
(
a
=
"待审核"
);
var
s
=
i
.
creditScore
;
if
(
1
==
n
){
var
r
=
i
.
userType
,
o
=
i
.
createById
,
u
=
{};
u
=
i
.
tenterpriseRole
,
1
==
r
||
5
==
r
?(
t
.
isCreated
=!
0
,
o
&&
u
?(
t
.
earningsList_gaoji
.
pop
(),
t
.
earningsList
=
t
.
earningsList_gaoji
.
map
((
function
(
e
){
for
(
var
t
in
u
)
t
==
e
.
limit
&&
1
==
u
[
t
]
&&
(
e
.
url
=
""
);
return
e
}))):
t
.
earningsList
=
t
.
earningsList_gaoji
):
o
&&
u
?(
t
.
earningsList_putong
.
pop
(),
t
.
earningsList
=
t
.
earningsList_putong
.
map
((
function
(
e
){
for
(
var
t
in
u
)
t
==
e
.
limit
&&
1
==
u
[
t
]
&&
(
e
.
url
=
""
);
return
e
}))):
t
.
earningsList
=
t
.
earningsList_putong
}
else
t
.
isCreated
=!
0
,
t
.
earningsList
=
t
.
earningsList_dianke
;
console
.
log
(
a
),
t
.
earningsList
.
map
((
function
(
e
,
t
){
0
==
t
&&
(
e
.
message
=
i
.
phone
),
"信用分"
==
e
.
name
&&
(
e
.
message
=
s
),
"企业认证"
!=
e
.
name
&&
"实名认证"
!=
e
.
name
||
(
e
.
message
=
a
)}))},
methods
:{
linkto
:
function
(
t
){
if
(
""
==
t
)
return
e
.
showToast
({
title
:
"你没有权限, 请联系管理员"
,
icon
:
"none"
}),
!
1
;
if
(
"/pages/authentication/authentication"
==
t
||
"/pages/Account/AccountSetting"
==
t
){
if
(
0
==
this
.
isAuthenticate
)
return
e
.
showToast
({
title
:
"请先完成实名认证"
,
icon
:
"none"
}),
!
1
;
if
(
3
==
this
.
isAuthenticate
)
return
e
.
showToast
({
title
:
"实名认证还未通过"
,
icon
:
"none"
}),
!
1
;
if
(
1
==
this
.
isAuthenticate
)
return
e
.
showToast
({
title
:
"实名认证失败,请重新认证"
,
icon
:
"none"
}),
!
1
}
e
.
navigateTo
({
url
:
t
})},
linktoSwitchIdentity
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/switchIdentity/switchIdentity"
})},
quit
:
function
(){
var
t
=
e
.
getStorageSync
(
"user"
);
if
(
!
t
.
userType
||
2
!=
t
.
userType
&&
3
!=
t
.
userType
)
e
.
reLaunch
({
url
:
"/pages/login/login?adasd=1"
});
else
{
var
n
=
2
==
t
.
userType
?
2
:
1
;
e
.
reLaunch
({
url
:
"/pages/login/login?inviteType="
+
n
})}
e
.
clearStorageSync
()}}};
t
.
default
=
a
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"8d3d"
:
function
(
e
,
t
,
n
){},
a672
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"8743"
),
a
=
n
.
n
(
i
);
for
(
var
s
in
i
)
"default"
!==
s
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
s
);
t
[
"default"
]
=
a
.
a
}},[[
"6cdb"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/basicInformation/basicInformation.wxml
浏览文件 @
a9280eb9
<view class="basic_information"><view class="myInfo_earnings myInfo_commons"><block wx:for="{{earningsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkto',['$0'],[[['earningsList','',index,'url']]]]]]]}}" class="myInfo_items" bindtap="__e">{{''+item.name+''}}<view class="text"><text>{{item.message}}</text><image src="../../static/images/right.png" mode></image></view><view class="hexian"></view></view></block><block wx:for="{{terracelist}}" wx:for-item="item2" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkto',['$0'],[[['terracelist','',index,'url']]]]]]]}}" class="myInfo_items" bindtap="__e">{{''+item2.name+''}}<view class="text"><text>{{item2.message}}</text><image src="../../static/images/right.png" mode></image></view><view class="hexian"></view></view></block><view data-event-opts="{{[['tap',[['linktoSwitchIdentity',['$event']]]]]}}" class="myInfo_items" bindtap="__e">切换身份<view class="text"><text>{{"点击切换为"+(type==1?'"电客"':'"用电企业"')}}</text><image src="../../static/images/right.png" mode></image></view></view></view><view class="basic_information_btn"><view data-event-opts="{{[['tap',[['quit',['$event']]]]]}}" bindtap="__e">退出登录</view></view></view>
\ No newline at end of file
<view class="basic_information"><view class="myInfo_earnings myInfo_commons"><block wx:for="{{earningsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkto',['$0'],[[['earningsList','',index,'url']]]]]]]}}" class="myInfo_items" bindtap="__e">{{''+item.name+''}}<view class="text"><text>{{item.message}}</text><image src="../../static/images/right.png" mode></image></view><view class="hexian"></view></view></block><block wx:for="{{terracelist}}" wx:for-item="item2" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkto',['$0'],[[['terracelist','',index,'url']]]]]]]}}" class="myInfo_items" bindtap="__e">{{''+item2.name+''}}<view class="text"><text>{{item2.message}}</text><image src="../../static/images/right.png" mode></image></view><view class="hexian"></view></view></block><block wx:if="{{isCreated}}"><view data-event-opts="{{[['tap',[['linktoSwitchIdentity',['$event']]]]]}}" class="myInfo_items" bindtap="__e">切换身份<view class="text"><text>{{"点击切换为"+(type==1?'"电客"':'"用电企业"')}}</text><image src="../../static/images/right.png" mode></image></view></view></block></view><view class="basic_information_btn"><view data-event-opts="{{[['tap',[['quit',['$event']]]]]}}" bindtap="__e">退出登录</view></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/Companys.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/group/Companys"
],{
2658
:
function
(
t
,
n
,
e
){},
3569
:
function
(
t
,
n
,
e
){
"use strict"
;
var
a
=
e
(
"2658"
),
u
=
e
.
n
(
a
);
u
.
a
},
"541f"
:
function
(
t
,
n
,
e
){
"use strict"
;
var
a
;
e
.
d
(
n
,
"b"
,(
function
(){
return
u
})),
e
.
d
(
n
,
"c"
,(
function
(){
return
r
})),
e
.
d
(
n
,
"a"
,(
function
(){
return
a
}));
var
u
=
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
(
t
.
_self
.
_c
,
t
.
__map
(
t
.
takeCompanyList
,(
function
(
n
,
e
){
var
a
=
t
.
__get_orig
(
n
),
u
=
n
.
createTime
.
slice
(
5
,
16
);
return
{
$orig
:
a
,
g0
:
u
}})));
t
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l0
:
e
}})},
r
=
[]},
"6c31"
:
function
(
t
,
n
,
e
){
"use strict"
;
e
.
r
(
n
);
var
a
=
e
(
"541f"
),
u
=
e
(
"f010"
);
for
(
var
r
in
u
)
"default"
!==
r
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
u
[
t
]}))}(
r
);
e
(
"3569"
);
var
o
,
c
=
e
(
"f0c5"
),
i
=
Object
(
c
[
"a"
])(
u
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
o
);
n
[
"default"
]
=
i
.
exports
},
8709
:
function
(
t
,
n
,
e
){
"use strict"
;(
function
(
t
){
e
(
"78ef"
);
a
(
e
(
"66fd"
));
var
n
=
a
(
e
(
"6c31"
));
function
a
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
n
.
default
)}).
call
(
this
,
e
(
"543d"
)[
"createPage"
])},
e16d
:
function
(
t
,
n
,
e
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
a
=
e
(
"86df"
),
u
=
r
(
e
(
"9036"
));
function
r
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
o
=
{
data
:
function
(){
return
{
takeCompanyList
:[]}},
onLoad
:
function
(
n
){
var
e
=
this
,
r
=
n
.
id
,
o
=
t
.
getStorageSync
(
"type"
),
c
=
t
.
getStorageSync
(
"user"
),
i
=
null
;
i
=
1
==
o
?
c
.
enterpriseId
:
c
.
electricId
,(
0
,
a
.
get
)(
u
.
default
.
allParticipatingCompanies
,{
type
:
o
,
userId
:
i
,
packageId
:
r
}).
then
((
function
(
t
){
console
.
log
(
t
),
e
.
takeCompanyList
=
t
.
data
}))}};
n
.
default
=
o
}).
call
(
this
,
e
(
"543d"
)[
"default"
])},
f010
:
function
(
t
,
n
,
e
){
"use strict"
;
e
.
r
(
n
);
var
a
=
e
(
"e16d"
),
u
=
e
.
n
(
a
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
a
[
t
]}))}(
r
);
n
[
"default"
]
=
u
.
a
}},[[
"8709"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/group/Companys"
],{
2658
:
function
(
t
,
e
,
n
){},
3569
:
function
(
t
,
e
,
n
){
"use strict"
;
var
a
=
n
(
"2658"
),
r
=
n
.
n
(
a
);
r
.
a
},
"6c31"
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
a
=
n
(
"c4c5"
),
r
=
n
(
"f010"
);
for
(
var
c
in
r
)
"default"
!==
c
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
r
[
t
]}))}(
c
);
n
(
"3569"
);
var
u
,
i
=
n
(
"f0c5"
),
o
=
Object
(
i
[
"a"
])(
r
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
u
);
e
[
"default"
]
=
o
.
exports
},
8709
:
function
(
t
,
e
,
n
){
"use strict"
;(
function
(
t
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
e
=
a
(
n
(
"6c31"
));
function
a
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
c4c5
:
function
(
t
,
e
,
n
){
"use strict"
;
var
a
;
n
.
d
(
e
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
e
,
"c"
,(
function
(){
return
c
})),
n
.
d
(
e
,
"a"
,(
function
(){
return
a
}));
var
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
(
t
.
_self
.
_c
,
t
.
__map
(
t
.
takeCompanyList
,(
function
(
e
,
n
){
var
a
=
t
.
__get_orig
(
e
),
r
=
e
.
createTime
.
slice
(
5
,
16
);
return
{
$orig
:
a
,
g0
:
r
}})));
t
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l0
:
n
}})},
c
=
[]},
e16d
:
function
(
t
,
e
,
n
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
a
=
n
(
"86df"
),
r
=
c
(
n
(
"9036"
));
function
c
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
u
=
{
data
:
function
(){
return
{
takeCompanyList
:[]}},
onLoad
:
function
(
e
){
var
n
=
this
,
c
=
e
.
id
,
u
=
t
.
getStorageSync
(
"type"
),
i
=
t
.
getStorageSync
(
"user"
),
o
=
null
;
o
=
1
==
u
?
i
.
enterpriseId
:
i
.
electricId
,(
0
,
a
.
get
)(
r
.
default
.
allParticipatingCompanies
,{
type
:
u
,
userId
:
o
,
packageId
:
c
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
var
e
=
t
.
data
;
n
.
takeCompanyList
=
e
.
map
((
function
(
t
){
return
function
(
e
){
console
.
log
(
e
),
t
.
certificationName
=
e
.
substring
(
0
,
2
)
+
"***有限公司"
}(
t
.
certificationName
),
t
.
createTime
=
t
.
createTime
.
substr
(
5
,
11
),
t
}))}}))}};
e
.
default
=
u
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
f010
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
a
=
n
(
"e16d"
),
r
=
n
.
n
(
a
);
for
(
var
c
in
a
)
"default"
!==
c
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
a
[
t
]}))}(
c
);
e
[
"default"
]
=
r
.
a
}},[[
"8709"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/group.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/group/group"
],{
"0405"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"42c9"
),
n
=
a
.
n
(
i
);
n
.
a
},
"18d4"
:
function
(
e
,
t
,
a
){
"use strict"
;(
function
(
e
){
a
(
"78ef"
);
i
(
a
(
"66fd"
));
var
t
=
i
(
a
(
"e123"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
a
(
"543d"
)[
"createPage"
])},
"23b4"
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
r
(
t
);
var
i
=
a
(
"a9f1"
),
n
=
a
.
n
(
i
);
for
(
var
l
in
i
)
"default"
!==
l
&&
function
(
e
){
a
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
l
);
t
[
"default"
]
=
n
.
a
},
"42c9"
:
function
(
e
,
t
,
a
){},
a9f1
:
function
(
e
,
t
,
a
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
a
(
"57ea"
);
var
i
=
a
(
"86df"
),
n
=
l
(
a
(
"9036"
));
function
l
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
created
:
function
(){
var
t
=
this
;
this
.
getCashFilter
(),(
0
,
i
.
get
)(
n
.
default
.
electricitySalesCompaniesList
).
then
((
function
(
e
){
200
==
e
.
code
&&
e
.
data
.
map
((
function
(
e
,
a
){
var
i
=
{};
i
.
value
=
a
+
1
,
i
.
label
=
e
.
eName
,
t
.
electricityCompanys
.
push
(
i
)}))}));
var
a
=
e
.
getStorageSync
(
"type"
);
this
.
type
=
a
;
var
l
=
e
.
getStorageSync
(
"user"
);
if
(
1
==
a
){
var
r
=
l
.
userType
;
if
(
1
==
r
||
5
==
r
){
var
o
=
{
label
:
"普通现货拼团"
,
value
:
3
};
this
.
groupTypes_xianhuo
.
push
(
o
),
this
.
tabbar
=!
0
;
var
u
=
e
.
getStorageSync
(
"user"
).
createById
,
c
=
{};
c
=
e
.
getStorageSync
(
"user"
).
tenterpriseRole
,
u
&&
c
&&
1
==
c
.
joinPackage
&&
(
this
.
limit
=!
1
)}
else
this
.
tabbar
=!
1
}
else
this
.
tabbar
=!
0
,
this
.
rangli
=!
0
},
onLoad
:
function
(
e
){
var
t
=
e
.
id
;
t
&&
(
0
==
t
?(
this
.
tabIndex
=
1
,
this
.
getCashFilter
()):(
this
.
tabIndex
=
2
,
this
.
getDifferenceFilter
()))},
onShow
:
function
(){},
data
:
function
(){
return
{
type
:
null
,
electricityCompany
:
""
,
spotShareRatio
:
""
,
spread
:
""
,
joinType
:
""
,
remainder2
:[],
rangli
:
!
1
,
tabIndex
:
1
,
value0
:
0
,
value1
:
0
,
value2
:
0
,
clickIndex
:
null
,
electricityCompanys
:[{
label
:
"全部"
,
value
:
0
}],
ratio_xianhuo
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"50%以上"
,
value
:
50
},{
label
:
"60%以上"
,
value
:
60
},{
label
:
"70%以上"
,
value
:
70
},{
label
:
"80%以上"
,
value
:
80
},{
label
:
"90%以上"
,
value
:
90
}],
prices_jiacha
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"3分以上"
,
value
:
3
},{
label
:
"4分以上"
,
value
:
4
},{
label
:
"5分以上"
,
value
:
5
},{
label
:
"6分以上"
,
value
:
6
}],
groupTypes_xianhuo
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"月竞分成现货拼团"
,
value
:
1
},{
label
:
"固定价差现货拼团"
,
value
:
2
}],
groupTypes_jiacha
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"分时价差"
,
value
:
4
},{
label
:
"固定价差"
,
value
:
5
}],
moreShow
:
!
1
,
moreIndex
:
null
,
setmealList
:[],
tabbarIndex
:
1
,
tabbar
:
!
1
,
setIntervaltimer2
:
""
,
limit
:
!
0
}},
methods
:{
getTab
:
function
(
e
){
this
.
tabIndex
=
e
,
1
==
e
?
this
.
getCashFilter
():
this
.
getDifferenceFilter
()},
open
:
function
(
e
){
this
.
clickIndex
=
e
,
this
.
$refs
.
uDropdown
.
highlight
()},
close
:
function
(
e
){
this
.
$refs
.
uDropdown
.
highlight
(
e
)},
clickItem
:
function
(
e
){
var
t
=
e
;
if
(
1
==
this
.
tabIndex
){
if
(
0
==
this
.
clickIndex
){
var
a
=
this
.
electricityCompanys
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
i
=
a
[
0
].
label
,
n
=
a
[
0
].
value
;
this
.
electricityCompany
=
0
==
n
?
""
:
i
}
else
if
(
1
==
this
.
clickIndex
){
var
l
=
this
.
ratio_xianhuo
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
r
=
l
[
0
].
value
;
this
.
spotShareRatio
=
0
==
r
?
""
:
r
}
else
{
var
o
=
this
.
groupTypes_xianhuo
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
u
=
o
[
0
].
value
;
this
.
joinType
=
0
==
u
?
""
:
u
}
this
.
getCashFilter
()}
else
{
if
(
0
==
this
.
clickIndex
){
var
c
=
this
.
electricityCompanys
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
s
=
c
[
0
].
label
,
f
=
c
[
0
].
value
;
this
.
electricityCompany
=
0
==
f
?
""
:
s
}
else
if
(
1
==
this
.
clickIndex
){
console
.
log
(
"点击是是价差"
);
var
p
=
this
.
prices_jiacha
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
d
=
p
[
0
].
value
;
this
.
spread
=
0
==
d
?
""
:
d
}
else
{
var
h
=
this
.
groupTypes_jiacha
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
v
=
h
[
0
].
value
;
this
.
joinType
=
0
==
v
?
""
:
v
}
this
.
getDifferenceFilter
()}},
getMore
:
function
(
e
){
this
.
moreIndex
=
e
,
this
.
moreShow
=!
this
.
moreShow
},
linkToCompanyInfo
:
function
(
t
){
this
.
limit
?
e
.
navigateTo
({
url
:
"/pages/CompanyInfo/CompanyInfo?id="
+
t
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
linkToGroupInfo
:
function
(
t
){
this
.
limit
?
e
.
navigateTo
({
url
:
"/pages/group/groupInfo?id="
+
t
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
getCashFilter
:
function
(){
var
e
=
this
;
clearInterval
(
e
.
setIntervaltimer2
),(
0
,
i
.
get
)(
n
.
default
.
joinInPackageSpotList
,{
electricityCompany
:
e
.
electricityCompany
,
spotShareRatio
:
e
.
spotShareRatio
,
joinType
:
e
.
joinType
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
2
==
e
.
type
?
e
.
setmealList
=
t
.
data
.
filter
((
function
(
e
){
if
(
3
!=
e
.
type
)
return
e
})):
e
.
setmealList
=
t
.
data
;
var
a
=
[],
n
=
[];
e
.
remainder2
=
[],
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
a
.
push
((
0
,
i
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
n
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
e
.
setIntervaltimer2
=
setInterval
((
function
(){
n
.
map
((
function
(
t
,
l
){
n
[
l
]
>
0
&&
(
n
[
l
]
-=
1
e3
,
a
[
l
]
=
(
0
,
i
.
getDuration
)(
n
[
l
]),
e
.
remainder2
=
a
)})),
e
.
$forceUpdate
()}),
1
e3
)}}))},
getDifferenceFilter
:
function
(){
var
e
=
this
;
clearInterval
(
e
.
setIntervaltimer2
),(
0
,
i
.
get
)(
n
.
default
.
joinInPackageSpreadList
,{
electricityCompany
:
e
.
electricityCompany
,
spread
:
e
.
spread
,
joinType
:
e
.
joinType
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
e
.
setmealList
=
t
.
data
;
var
a
=
[],
n
=
[];
e
.
remainder2
=
[],
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
a
.
push
((
0
,
i
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
n
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
e
.
setIntervaltimer2
=
setInterval
((
function
(){
n
.
map
((
function
(
t
,
l
){
n
[
l
]
>
0
&&
(
n
[
l
]
-=
1
e3
,
a
[
l
]
=
(
0
,
i
.
getDuration
)(
n
[
l
]),
e
.
remainder2
=
a
)})),
e
.
$forceUpdate
()}),
1
e3
)}}))}}};
t
.
default
=
r
}).
call
(
this
,
a
(
"543d"
)[
"default"
])},
b7a0
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
d
(
t
,
"b"
,(
function
(){
return
n
})),
a
.
d
(
t
,
"c"
,(
function
(){
return
l
})),
a
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
i
=
{
uDropdown
:
function
(){
return
a
.
e
(
"uview-ui/components/u-dropdown/u-dropdown"
).
then
(
a
.
bind
(
null
,
"2279"
))},
uDropdownItem
:
function
(){
return
a
.
e
(
"uview-ui/components/u-dropdown-item/u-dropdown-item"
).
then
(
a
.
bind
(
null
,
"6068"
))}},
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
(
e
.
_self
.
_c
,
e
.
__map
(
e
.
setmealList
,(
function
(
t
,
a
){
var
i
=
e
.
__get_orig
(
t
),
n
=
1
==
t
.
type
||
2
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
l
=
3
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
r
=
4
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
5
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
;
return
{
$orig
:
i
,
l0
:
n
,
l1
:
l
,
l2
:
r
,
l3
:
o
}})));
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l4
:
a
}})},
l
=
[]},
e123
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
r
(
t
);
var
i
=
a
(
"b7a0"
),
n
=
a
(
"23b4"
);
for
(
var
l
in
n
)
"default"
!==
l
&&
function
(
e
){
a
.
d
(
t
,
e
,(
function
(){
return
n
[
e
]}))}(
l
);
a
(
"0405"
);
var
r
,
o
=
a
(
"f0c5"
),
u
=
Object
(
o
[
"a"
])(
n
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
i
[
"a"
],
r
);
t
[
"default"
]
=
u
.
exports
}},[[
"18d4"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/group/group"
],{
"0405"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"42c9"
),
n
=
a
.
n
(
i
);
n
.
a
},
"0fb0"
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
d
(
t
,
"b"
,(
function
(){
return
n
})),
a
.
d
(
t
,
"c"
,(
function
(){
return
l
})),
a
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
i
=
{
uDropdown
:
function
(){
return
a
.
e
(
"uview-ui/components/u-dropdown/u-dropdown"
).
then
(
a
.
bind
(
null
,
"2279"
))},
uDropdownItem
:
function
(){
return
a
.
e
(
"uview-ui/components/u-dropdown-item/u-dropdown-item"
).
then
(
a
.
bind
(
null
,
"6068"
))}},
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
(
e
.
_self
.
_c
,
e
.
__map
(
e
.
setmealList
,(
function
(
t
,
a
){
var
i
=
e
.
__get_orig
(
t
),
n
=
1
==
t
.
type
||
2
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
l
=
3
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
r
=
4
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
5
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
;
return
{
$orig
:
i
,
l0
:
n
,
l1
:
l
,
l2
:
r
,
l3
:
o
}})));
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l4
:
a
}})},
l
=
[]},
"18d4"
:
function
(
e
,
t
,
a
){
"use strict"
;(
function
(
e
){
a
(
"78ef"
);
i
(
a
(
"66fd"
));
var
t
=
i
(
a
(
"e123"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
a
(
"543d"
)[
"createPage"
])},
"23b4"
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
r
(
t
);
var
i
=
a
(
"a9f1"
),
n
=
a
.
n
(
i
);
for
(
var
l
in
i
)
"default"
!==
l
&&
function
(
e
){
a
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
l
);
t
[
"default"
]
=
n
.
a
},
"42c9"
:
function
(
e
,
t
,
a
){},
a9f1
:
function
(
e
,
t
,
a
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
a
(
"57ea"
);
var
i
=
a
(
"86df"
),
n
=
l
(
a
(
"9036"
));
function
l
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
created
:
function
(){
var
t
=
this
;
this
.
getCashFilter
(),(
0
,
i
.
get
)(
n
.
default
.
electricitySalesCompaniesList
).
then
((
function
(
e
){
200
==
e
.
code
&&
e
.
data
.
map
((
function
(
e
,
a
){
var
i
=
{};
i
.
value
=
a
+
1
,
i
.
label
=
e
.
eName
,
t
.
electricityCompanys
.
push
(
i
)}))}));
var
a
=
e
.
getStorageSync
(
"type"
);
this
.
type
=
a
;
var
l
=
e
.
getStorageSync
(
"user"
);
if
(
1
==
a
){
var
r
=
l
.
userType
;
if
(
1
==
r
||
5
==
r
){
var
o
=
{
label
:
"普通现货拼团"
,
value
:
3
};
this
.
groupTypes_xianhuo
.
push
(
o
),
this
.
tabbar
=!
0
;
var
u
=
e
.
getStorageSync
(
"user"
).
createById
,
c
=
{};
c
=
e
.
getStorageSync
(
"user"
).
tenterpriseRole
,
u
&&
c
&&
1
==
c
.
joinPackage
&&
(
this
.
limit
=!
1
)}
else
this
.
tabbar
=!
1
}
else
this
.
tabbar
=!
0
,
this
.
rangli
=!
0
},
onLoad
:
function
(
e
){
var
t
=
e
.
id
;
t
&&
(
0
==
t
?(
this
.
tabIndex
=
1
,
this
.
getCashFilter
()):(
this
.
tabIndex
=
2
,
this
.
getDifferenceFilter
()))},
onShow
:
function
(){},
data
:
function
(){
return
{
type
:
null
,
electricityCompany
:
""
,
spotShareRatio
:
""
,
spread
:
""
,
joinType
:
""
,
remainder2
:[],
rangli
:
!
1
,
tabIndex
:
1
,
value0
:
0
,
value1
:
0
,
value2
:
0
,
clickIndex
:
null
,
electricityCompanys
:[{
label
:
"全部"
,
value
:
0
}],
ratio_xianhuo
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"50%以上"
,
value
:
50
},{
label
:
"60%以上"
,
value
:
60
},{
label
:
"70%以上"
,
value
:
70
},{
label
:
"80%以上"
,
value
:
80
},{
label
:
"90%以上"
,
value
:
90
}],
prices_jiacha
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"3分以上"
,
value
:
3
},{
label
:
"4分以上"
,
value
:
4
},{
label
:
"5分以上"
,
value
:
5
},{
label
:
"6分以上"
,
value
:
6
}],
groupTypes_xianhuo
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"月竞分成现货拼团"
,
value
:
1
},{
label
:
"固定价差现货拼团"
,
value
:
2
}],
groupTypes_jiacha
:[{
label
:
"全部"
,
value
:
0
},{
label
:
"分时价差"
,
value
:
4
},{
label
:
"固定价差"
,
value
:
5
}],
moreShow
:
!
1
,
moreIndex
:
null
,
setmealList
:[],
tabbarIndex
:
1
,
tabbar
:
!
1
,
setIntervaltimer2
:
""
,
limit
:
!
0
}},
methods
:{
getTab
:
function
(
e
){
this
.
tabIndex
=
e
,
1
==
e
?
this
.
getCashFilter
():
this
.
getDifferenceFilter
()},
open
:
function
(
e
){
this
.
clickIndex
=
e
,
this
.
$refs
.
uDropdown
.
highlight
()},
close
:
function
(
e
){
this
.
$refs
.
uDropdown
.
highlight
(
e
)},
clickItem
:
function
(
e
){
var
t
=
e
;
if
(
1
==
this
.
tabIndex
){
if
(
0
==
this
.
clickIndex
){
var
a
=
this
.
electricityCompanys
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
i
=
a
[
0
].
label
,
n
=
a
[
0
].
value
;
this
.
electricityCompany
=
0
==
n
?
""
:
i
}
else
if
(
1
==
this
.
clickIndex
){
var
l
=
this
.
ratio_xianhuo
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
r
=
l
[
0
].
value
;
this
.
spotShareRatio
=
0
==
r
?
""
:
r
}
else
{
var
o
=
this
.
groupTypes_xianhuo
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
u
=
o
[
0
].
value
;
this
.
joinType
=
0
==
u
?
""
:
u
}
this
.
getCashFilter
()}
else
{
if
(
0
==
this
.
clickIndex
){
var
c
=
this
.
electricityCompanys
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
s
=
c
[
0
].
label
,
f
=
c
[
0
].
value
;
this
.
electricityCompany
=
0
==
f
?
""
:
s
}
else
if
(
1
==
this
.
clickIndex
){
console
.
log
(
"点击是是价差"
);
var
p
=
this
.
prices_jiacha
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
d
=
p
[
0
].
value
;
this
.
spread
=
0
==
d
?
""
:
d
}
else
{
var
h
=
this
.
groupTypes_jiacha
.
filter
((
function
(
e
){
return
e
.
value
==
t
})),
v
=
h
[
0
].
value
;
this
.
joinType
=
0
==
v
?
""
:
v
}
this
.
getDifferenceFilter
()}},
getMore
:
function
(
e
){
this
.
moreIndex
=
e
,
this
.
moreShow
=!
this
.
moreShow
},
linkToCompanyInfo
:
function
(
t
){
this
.
limit
?
e
.
navigateTo
({
url
:
"/pages/CompanyInfo/CompanyInfo?id="
+
t
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
linkToGroupInfo
:
function
(
t
){
this
.
limit
?
e
.
navigateTo
({
url
:
"/pages/group/groupInfo?id="
+
t
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
getCashFilter
:
function
(){
var
e
=
this
;
clearInterval
(
e
.
setIntervaltimer2
),(
0
,
i
.
get
)(
n
.
default
.
joinInPackageSpotList
,{
electricityCompany
:
e
.
electricityCompany
,
spotShareRatio
:
e
.
spotShareRatio
,
joinType
:
e
.
joinType
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
2
==
e
.
type
?
e
.
setmealList
=
t
.
data
.
filter
((
function
(
e
){
if
(
3
!=
e
.
type
)
return
e
})):
e
.
setmealList
=
t
.
data
;
var
a
=
[],
n
=
[];
e
.
remainder2
=
[],
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
a
.
push
((
0
,
i
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
n
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
e
.
setIntervaltimer2
=
setInterval
((
function
(){
n
.
map
((
function
(
t
,
l
){
n
[
l
]
>
0
&&
(
n
[
l
]
-=
1
e3
,
a
[
l
]
=
(
0
,
i
.
getDuration
)(
n
[
l
]),
e
.
remainder2
=
a
)})),
e
.
$forceUpdate
()}),
1
e3
)}}))},
getDifferenceFilter
:
function
(){
var
e
=
this
;
clearInterval
(
e
.
setIntervaltimer2
),(
0
,
i
.
get
)(
n
.
default
.
joinInPackageSpreadList
,{
electricityCompany
:
e
.
electricityCompany
,
spread
:
e
.
spread
,
joinType
:
e
.
joinType
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
e
.
setmealList
=
t
.
data
;
var
a
=
[],
n
=
[];
e
.
remainder2
=
[],
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
a
.
push
((
0
,
i
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
n
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
e
.
setIntervaltimer2
=
setInterval
((
function
(){
n
.
map
((
function
(
t
,
l
){
n
[
l
]
>
0
&&
(
n
[
l
]
-=
1
e3
,
a
[
l
]
=
(
0
,
i
.
getDuration
)(
n
[
l
]),
e
.
remainder2
=
a
)})),
e
.
$forceUpdate
()}),
1
e3
)}}))}}};
t
.
default
=
r
}).
call
(
this
,
a
(
"543d"
)[
"default"
])},
e123
:
function
(
e
,
t
,
a
){
"use strict"
;
a
.
r
(
t
);
var
i
=
a
(
"0fb0"
),
n
=
a
(
"23b4"
);
for
(
var
l
in
n
)
"default"
!==
l
&&
function
(
e
){
a
.
d
(
t
,
e
,(
function
(){
return
n
[
e
]}))}(
l
);
a
(
"0405"
);
var
r
,
o
=
a
(
"f0c5"
),
u
=
Object
(
o
[
"a"
])(
n
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
i
[
"a"
],
r
);
t
[
"default"
]
=
u
.
exports
}},[[
"18d4"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/group.wxml
浏览文件 @
a9280eb9
<view class="group"><view class="group_title"><view data-event-opts="{{[['tap',[['getTab',[1]]]]]}}" class="{{[(tabIndex==1)?'border':'']}}" bindtap="__e">现货拼团</view><view data-event-opts="{{[['tap',[['getTab',[2]]]]]}}" class="{{[(tabIndex==2)?'border':'']}}" bindtap="__e">价差拼团</view></view><view class="group_type"><block wx:if="{{tabIndex==1}}"><u-dropdown class="dropdown vue-ref" bind:open="__e" bind:close="__e" vue-id="471c2b80-1" data-ref="uDropdown" data-event-opts="{{[['^open',[['open']]],['^close',[['close']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:400rpx;" scroll-y="true"><u-dropdown-item vue-id="{{('471c2b80-2')+','+('471c2b80-1')}}" title="售电公司" options="{{electricityCompanys}}" value="{{value0}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value0','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-3')+','+('471c2b80-1')}}" title="现货收益比例" options="{{ratio_xianhuo}}" value="{{value1}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-4')+','+('471c2b80-1')}}" title="拼团类型" options="{{groupTypes_xianhuo}}" value="{{value2}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value2','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item></scroll-view></u-dropdown></block><block wx:if="{{tabIndex==2}}"><u-dropdown class="dropdown vue-ref" bind:open="__e" bind:close="__e" vue-id="471c2b80-5" data-ref="uDropdown" data-event-opts="{{[['^open',[['open']]],['^close',[['close']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:400rpx;" scroll-y="true"><u-dropdown-item vue-id="{{('471c2b80-6')+','+('471c2b80-5')}}" title="售电公司" options="{{electricityCompanys}}" value="{{value0}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value0','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-7')+','+('471c2b80-5')}}" title="价差" options="{{prices_jiacha}}" value="{{value1}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-8')+','+('471c2b80-5')}}" title="拼团类型" options="{{groupTypes_jiacha}}" value="{{value2}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value2','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item></scroll-view></u-dropdown></block></view><scroll-view class="group_list_scroll" scroll-y="true"><view class="group_list"><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="group_list_item"><view class="item_content"><view data-event-opts="{{[['tap',[['linkToGroupInfo',['$0'],[[['setmealList','',index,'id']]]]]]]}}" class="item_content_top" bindtap="__e"><view class="img"><block wx:if="{{tabIndex==2}}"><text class="text_red">{{''+(item.$orig.type==4?'固定价差':'分时价差')+''}}</text></block><image src="https://fire.huoshitou.net/profile/icon/tcicon.png" mode></image></view><view class="top_text"><text class="text_one"><block wx:if="{{item.$orig.commissionRate}}"><text class="text_one_brokerage">佣金</text></block>{{''+item.$orig.name+''}}</text><block wx:if="{{item.$orig.type==1}}"><text>最高月竞分成比例:<text class="text_item">{{item.$orig.maxShareRatio+"%"}}</text></text></block><block wx:if="{{item.$orig.type==2}}"><text>最高保底价差:<text class="text_item">{{item.$orig.maxGuaranteedSpread+"厘"}}</text></text></block><block wx:if="{{item.$orig.type==3}}"><view style="height:38rpx;"></view></block><block wx:if="{{item.$orig.intermediateProfitCeiling&&rangli&&(item.$orig.type==4||item.$orig.type==5)}}"><text>居间让利上限:<text class="text_item">{{item.$orig.intermediateProfitCeiling+"厘"}}</text></text></block><block wx:if="{{!item.$orig.intermediateProfitCeiling&&rangli&&(item.$orig.type==4||item.$orig.type==5)}}"><view style="height:38rpx;"></view></block><block wx:if="{{!rangli&&(item.$orig.type==4||item.$orig.type==5)}}"><view style="height:38rpx;"></view></block><text style="margin-bottom:0;">{{item.$orig.year+''}}<block wx:if="{{!remainder2[index]||remainder2[index]==0}}"><text class="count">拼团已结束</text></block><block wx:else><text class="count">{{"结束倒计时:"+(remainder2[index]?remainder2[index]:'')}}</text></block></text></view></view><view data-event-opts="{{[['tap',[['getMore',[index]]]]]}}" class="{{['item_content_bottom',moreShow&&moreIndex==index?'bottom_active':'']}}" bindtap="__e"><view class="below">{{''+(moreShow&&moreIndex==index?'收起':'展开')+''}}<image class="{{[(moreShow&&moreIndex==index)?'active':'']}}" src="../../static/images/xia.png" mode></image></view><block wx:if="{{item.$orig.type==1||item.$orig.type==2}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+"万kWh内,获得"+item.$orig.packageSettingsList[0].rangli+'%现货收益'}}</text><block wx:for="{{item.l0}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,获得"+ele.rangli+'%现货收益'}}</text></block></view></block><block wx:if="{{item.$orig.type==3}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+"万kWh内,获得"+item.$orig.packageSettingsList[0].enterpriseShareRatio+'%售电公司收益'}}</text><block wx:for="{{item.l1}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,获得"+ele.enterpriseShareRatio+'%售电公司收益'}}</text></block></view></block><block wx:if="{{item.$orig.type==4}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+"万kWh内,获得"+item.$orig.packageSettingsList[0].reduce+'厘/度电价差收益'}}</text><block wx:for="{{item.l2}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,获得"+ele.reduce+'厘/度电价差收益'}}</text></block></view></block><block wx:if="{{item.$orig.type==5}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+'万kWh内,获得初始分时价差收益'}}</text><block wx:for="{{item.l3}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,在初始分时价差基础上增加"+ele.basePrice+'厘'}}</text></block></view></block></view></view></view></block></view></scroll-view><block wx:if="{{tabbar}}"><tab-bar vue-id="471c2b80-9" activeIndex="{{tabbarIndex}}" bind:__l="__l"></tab-bar></block></view>
\ No newline at end of file
<view class="group"><view class="group_title"><view data-event-opts="{{[['tap',[['getTab',[1]]]]]}}" class="{{[(tabIndex==1)?'border':'']}}" bindtap="__e">现货拼团</view><view data-event-opts="{{[['tap',[['getTab',[2]]]]]}}" class="{{[(tabIndex==2)?'border':'']}}" bindtap="__e">价差拼团</view></view><view class="group_type"><block wx:if="{{tabIndex==1}}"><u-dropdown class="dropdown vue-ref" bind:open="__e" bind:close="__e" vue-id="471c2b80-1" data-ref="uDropdown" data-event-opts="{{[['^open',[['open']]],['^close',[['close']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:400rpx;" scroll-y="true"><u-dropdown-item vue-id="{{('471c2b80-2')+','+('471c2b80-1')}}" title="售电公司" options="{{electricityCompanys}}" value="{{value0}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value0','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-3')+','+('471c2b80-1')}}" title="现货收益比例" options="{{ratio_xianhuo}}" value="{{value1}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-4')+','+('471c2b80-1')}}" title="拼团类型" options="{{groupTypes_xianhuo}}" value="{{value2}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value2','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item></scroll-view></u-dropdown></block><block wx:if="{{tabIndex==2}}"><u-dropdown class="dropdown vue-ref" bind:open="__e" bind:close="__e" vue-id="471c2b80-5" data-ref="uDropdown" data-event-opts="{{[['^open',[['open']]],['^close',[['close']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:400rpx;" scroll-y="true"><u-dropdown-item vue-id="{{('471c2b80-6')+','+('471c2b80-5')}}" title="售电公司" options="{{electricityCompanys}}" value="{{value0}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value0','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-7')+','+('471c2b80-5')}}" title="价差" options="{{prices_jiacha}}" value="{{value1}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item><u-dropdown-item vue-id="{{('471c2b80-8')+','+('471c2b80-5')}}" title="拼团类型" options="{{groupTypes_jiacha}}" value="{{value2}}" data-event-opts="{{[['^change',[['clickItem']]],['^input',[['__set_model',['','value2','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-dropdown-item></scroll-view></u-dropdown></block></view><scroll-view class="group_list_scroll" scroll-y="true"><view class="group_list"><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="group_list_item"><view class="item_content"><view data-event-opts="{{[['tap',[['linkToGroupInfo',['$0'],[[['setmealList','',index,'id']]]]]]]}}" class="item_content_top" bindtap="__e"><view class="img"><image src="https://fire.huoshitou.net/profile/icon/tcicon.png"></image></view><view class="top_text"><text class="text_one"><block wx:if="{{type==2&&item.$orig.commissionRate}}"><text class="text_one_brokerage">佣金</text></block><block wx:if="{{item.$orig.type==4}}"><text class="text_one_priceTime">分时价差</text></block><block wx:if="{{item.$orig.type==5}}"><text class="text_one_priceTime">固定价差</text></block>{{''+item.$orig.name+''}}</text><block wx:if="{{item.$orig.type==1}}"><text>最高月竞分成比例:<text class="text_item">{{item.$orig.maxShareRatio+"%"}}</text></text></block><block wx:if="{{item.$orig.type==2}}"><text>最高保底价差:<text class="text_item">{{item.$orig.maxGuaranteedSpread+"厘"}}</text></text></block><block wx:if="{{item.$orig.type==3}}"><view style="height:38rpx;"></view></block><block wx:if="{{item.$orig.intermediateProfitCeiling&&rangli&&(item.$orig.type==4||item.$orig.type==5)}}"><text>居间让利上限:<text class="text_item">{{item.$orig.intermediateProfitCeiling+"厘"}}</text></text></block><block wx:if="{{!item.$orig.intermediateProfitCeiling&&rangli&&(item.$orig.type==4||item.$orig.type==5)}}"><view style="height:38rpx;"></view></block><block wx:if="{{!rangli&&(item.$orig.type==4||item.$orig.type==5)}}"><view style="height:38rpx;"></view></block><text style="margin-bottom:0;">{{item.$orig.year+''}}<block wx:if="{{!remainder2[index]||remainder2[index]==0}}"><text class="count">拼团已结束</text></block><block wx:else><text class="count">{{"结束倒计时:"+(remainder2[index]?remainder2[index]:'')}}</text></block></text></view></view><view data-event-opts="{{[['tap',[['getMore',[index]]]]]}}" class="{{['item_content_bottom',moreShow&&moreIndex==index?'bottom_active':'']}}" bindtap="__e"><view class="below">{{''+(moreShow&&moreIndex==index?'收起':'展开')+''}}<image class="{{[(moreShow&&moreIndex==index)?'active':'']}}" src="../../static/images/xia.png" mode></image></view><block wx:if="{{item.$orig.type==1||item.$orig.type==2}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+"万kWh内,获得"+item.$orig.packageSettingsList[0].rangli+'%现货收益'}}</text><block wx:for="{{item.l0}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,获得"+ele.rangli+'%现货收益'}}</text></block></view></block><block wx:if="{{item.$orig.type==3}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+"万kWh内,获得"+item.$orig.packageSettingsList[0].enterpriseShareRatio+'%售电公司收益'}}</text><block wx:for="{{item.l1}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,获得"+ele.enterpriseShareRatio+'%售电公司收益'}}</text></block></view></block><block wx:if="{{item.$orig.type==4}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+"万kWh内,获得"+item.$orig.packageSettingsList[0].reduce+'厘/度电价差收益'}}</text><block wx:for="{{item.l2}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,获得"+ele.reduce+'厘/度电价差收益'}}</text></block></view></block><block wx:if="{{item.$orig.type==5}}"><view><text>{{'拼包电量'+item.$orig.packageSettingsList[0].electricityFull+'万kWh内,获得初始分时价差收益'}}</text><block wx:for="{{item.l3}}" wx:for-item="ele" wx:for-index="i" wx:key="i"><text>{{'拼包电量达'+ele.electricityFull+"万kWh,在初始分时价差基础上增加"+ele.basePrice+'厘'}}</text></block></view></block></view></view></view></block></view></scroll-view><block wx:if="{{tabbar}}"><tab-bar vue-id="471c2b80-9" activeIndex="{{tabbarIndex}}" bind:__l="__l"></tab-bar></block></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/group.wxss
浏览文件 @
a9280eb9
.group{position:relative;width:100%;min-height:100%;background-color:#f4f5f7}.group .group_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;height:95rpx;line-height:95rpx;font-size:30rpx;font-weight:400rpx;color:#999;background-color:#fff}.group .group_title .border{color:#1989fa;border-bottom:6rpx solid #1989fa}.group .group_type{height:80rpx}.group .group_list_scroll{height:calc(100vh - 300rpx)}.group .group_list_scroll .group_list .group_list_item{padding:0 32rpx;padding-bottom:16rpx;margin-bottom:16rpx;background-color:#fff}.group .group_list_scroll .group_list .group_list_item .item_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100rpx;font-size:28rpx;color:#133675;border-bottom:1rpx solid #f4f5f7}.group .group_list_scroll .group_list .group_list_item .item_title image{width:16rpx;height:32rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top{display:-webkit-box;display:-webkit-flex;display:flex;padding:24rpx 0}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .img{position:relative;width:110rpx;height:110rpx;margin-right:32rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .img .text_red{position:absolute;left:0;top:4rpx;padding:0 4rpx;color:#ec6045;font-size:20rpx;border:2rpx solid #ec6045;-webkit-border-radius:10rpx;border-radius:10rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one{font-size:28rpx;font-weight:500;color:#333}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one .text_one_brokerage{display:inline-block;padding:0 8rpx;margin-right:10rpx;color:#ec6045;border:2rpx solid #ec6045;-webkit-border-radius:10rpx;border-radius:10rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text{display:block;font-size:24rpx;font-weight:500;color:#999}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .text_item{display:inline-block;margin-left:10rpx;color:#fda700;font-size:30rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .count{padding:4rpx;float:right;font-size:20rpx;color:#fff;background-color:#fda700;-webkit-border-radius:8rpx;border-radius:8rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom{position:relative;height:80rpx;overflow:hidden}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below{position:absolute;top:50%;right:30rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24rpx;color:#133675}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below image{margin-left:5rpx;vertical-align:middle;width:30rpx;height:30rpx;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below .active{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom view text{display:block;line-height:40rpx;font-size:24rpx;color:#666}.group .group_list_scroll .group_list .group_list_item .item_content .bottom_active{height:auto}
\ No newline at end of file
.group{position:relative;width:100%;min-height:100%;background-color:#f4f5f7}.group .group_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;height:95rpx;line-height:95rpx;font-size:30rpx;font-weight:400rpx;color:#999;background-color:#fff}.group .group_title .border{color:#1989fa;border-bottom:6rpx solid #1989fa}.group .group_type{height:80rpx}.group .group_list_scroll{height:calc(100vh - 300rpx)}.group .group_list_scroll .group_list .group_list_item{padding:0 32rpx;padding-bottom:16rpx;margin-bottom:16rpx;background-color:#fff}.group .group_list_scroll .group_list .group_list_item .item_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100rpx;font-size:28rpx;color:#133675;border-bottom:1rpx solid #f4f5f7}.group .group_list_scroll .group_list .group_list_item .item_title image{width:16rpx;height:32rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top{display:-webkit-box;display:-webkit-flex;display:flex;padding:24rpx 0}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .img{position:relative;width:110rpx;height:110rpx;margin-right:32rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one{font-size:28rpx;font-weight:500;color:#333}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one text{display:inline-block;padding:0 8rpx;margin-right:10rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one .text_one_brokerage{color:#ec6045;border:2rpx solid #ec6045;-webkit-border-radius:10rpx;border-radius:10rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one .text_one_priceTime{color:#1989fa;border:2rpx solid #1989fa;-webkit-border-radius:10rpx;border-radius:10rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text{display:block;font-size:24rpx;font-weight:500;color:#999}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .text_item{display:inline-block;margin-left:10rpx;color:#fda700;font-size:30rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .count{padding:4rpx;float:right;font-size:20rpx;color:#fff;background-color:#fda700;-webkit-border-radius:8rpx;border-radius:8rpx}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom{position:relative;height:80rpx;overflow:hidden}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below{position:absolute;top:50%;right:30rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24rpx;color:#133675}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below image{margin-left:5rpx;vertical-align:middle;width:30rpx;height:30rpx;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below .active{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.group .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom view text{display:block;line-height:40rpx;font-size:24rpx;color:#666}.group .group_list_scroll .group_list .group_list_item .item_content .bottom_active{height:auto}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/groupInfo.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/group/groupInfo"
],{
"297d"
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
i
(
"86df"
),
a
=
o
(
i
(
"9036"
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
s
=
function
(){
i
.
e
(
"components/bottomWindow/bottomWindow"
).
then
(
function
(){
return
resolve
(
i
(
"54aa"
))}.
bind
(
null
,
i
)).
catch
(
i
.
oe
)},
c
=
{
created
:
function
(){},
onLoad
:
function
(
t
){
var
i
=
this
,
n
=
e
.
getStorageSync
(
"user"
);
t
.
scene
&&
(
i
.
packageId
=
decodeURIComponent
(
t
.
scene
),
console
.
log
(
"scene"
,
i
.
packageId
)),
i
.
type
=
e
.
getStorageSync
(
"type"
),
i
.
packageId
=
t
.
id
,
1
==
i
.
type
?(
i
.
userType
=
n
.
userType
,
i
.
userId
=
n
.
enterpriseId
,
n
&&
i
.
isParticipate
()):
i
.
userId
=
n
.
electricId
,
n
&&
(
i
.
getUserMessage
(),
i
.
getallParticipatingCompanies
(),
i
.
getBasicCreditScore
()),
i
.
getPackageDetail
()},
onShow
:
function
(){
this
.
failDialog
=!
1
;
var
t
=
e
.
getStorageSync
(
"user"
);
t
&&
this
.
getUserMessage
(),
1
==
this
.
type
&&
t
&&
this
.
isParticipate
()},
components
:{
bottomWindow
:
s
},
data
:
function
(){
return
{
type
:
null
,
isAuthenticate
:
""
,
certificationStatus
:
""
,
BasicCreditScore
:
!
1
,
packageId
:
null
,
userId
:
null
,
userType
:
""
,
isJion
:
!
1
,
remainder
:[],
remaindering
:[],
groupDetails
:{},
takeCompanyList
:[],
electricityLimited
:[],
isshare
:
!
1
,
tableList
:[],
settleShow
:
!
1
,
settelTypeShow
:
!
1
,
failDialog
:
!
1
,
hintText
:
""
,
failDialogBtnShow
:
""
,
btnText
:
""
,
isParticipated
:
"0"
,
setIntervaltimerindex
:
""
}},
methods
:{
onShareAppMessage
:
function
(
t
){
var
i
=
this
,
n
=
e
.
getStorageSync
(
"user"
).
certificationName
;
return
console
.
log
(
"that.packageId==="
,
i
.
packageId
),{
title
:
n
+
"邀请您参与拼团"
,
path
:
"/pages/group/groupInfo?id="
+
i
.
packageId
,
imageUrl
:
"../../static/images/index/group.png"
,
content
:
"邀请您参与限时拼团"
,
desc
:
"电客"
,
success
:
function
(
e
){
console
.
log
(
"111111"
),
console
.
log
(
e
)},
fail
:
function
(
e
){
console
.
log
(
"222222"
),
console
.
log
(
e
)}}},
closeModel
:
function
(
e
){
"closeModel"
==
e
&&
(
this
.
isshare
=!
1
)},
invitation
:
function
(){
var
t
=
this
,
i
=
e
.
getStorageSync
(
"type"
),
n
=
e
.
getStorageSync
(
"user"
);
if
(
!
n
)
return
this
.
nologin
(),
!
1
;
if
(
1
==
i
){
if
(
!
n
.
enterpriseId
||
null
==
n
.
enterpriseId
)
return
t
.
nologin
(),
!
1
}
else
if
(
!
n
.
electricId
||
null
==
n
.
electricId
)
return
t
.
nologin
(),
!
1
;
if
(
2
!=
this
.
isAuthenticate
)
return
t
.
failDialog
=!
0
,
t
.
failDialogBtnShow
=!
0
,
t
.
hintText
=
"您未完成认证信息,无法邀请企业"
,
t
.
btnText
=
"去认证"
,
!
1
;
t
.
isshare
=!
0
},
linktoCompanyInfo
:
function
(
t
){
e
.
navigateTo
({
url
:
"/pagesA/electriCompany/electriCompanyDetail?userId="
+
t
})},
linktoCompanys
:
function
(){
e
.
navigateTo
({
url
:
"/pages/group/Companys?id="
+
this
.
packageId
})},
getBasicCreditScore
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
getBasicCreditScore
,{
type
:
e
.
type
,
userId
:
e
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
?
e
.
BasicCreditScore
=
t
.
data
:
console
.
log
(
t
.
msg
)}))},
getUserMessage
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
getUserInformation
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
console
.
log
(
t
),
200
==
t
.
code
&&
(
e
.
isAuthenticate
=
t
.
data
.
isAuthenticate
,
e
.
certificationStatus
=
t
.
data
.
certificationStatus
)}))},
getPackageDetail
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
joinPackageDetail
,{
packageId
:
e
.
packageId
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
e
.
groupDetails
=
t
.
data
;
var
i
=
JSON
.
parse
(
t
.
data
.
electricityLimited
),
a
=
i
.
map
((
function
(
e
,
t
){
return
t
!=
i
.
length
-
1
&&
(
e
+=
"、"
),
e
}));
e
.
electricityLimited
=
a
,
null
!=
t
.
data
.
timeSharingSpreadRelatedList
&&
(
e
.
tableList
=
t
.
data
.
timeSharingSpreadRelatedList
,
e
.
tableList
.
map
((
function
(
e
){
null
==
e
.
value
&&
(
e
.
value
=
"-"
)})));
var
o
=
t
.
data
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
e
.
remainder
.
push
((
0
,
n
.
getDuration
)(
new
Date
(
o
).
getTime
()
-
(
new
Date
).
getTime
())),
e
.
remaindering
.
push
(
new
Date
(
o
).
getTime
()
-
(
new
Date
).
getTime
()),
e
.
setIntervaltimerindex
=
setInterval
((
function
(){
e
.
remaindering
[
0
]
>
0
&&
(
e
.
remaindering
[
0
]
-=
1
e3
,
e
.
remainder
[
0
]
=
(
0
,
n
.
getDuration
)(
e
.
remaindering
[
0
])),
e
.
$forceUpdate
()}),
1
e3
)}}))},
getallParticipatingCompanies
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
allParticipatingCompanies
,{
type
:
this
.
type
,
userId
:
this
.
userId
,
packageId
:
this
.
packageId
}).
then
((
function
(
t
){
var
i
=
t
.
data
;
console
.
log
(
i
),
e
.
takeCompanyList
=
i
.
map
((
function
(
e
){
return
e
.
certificationName
&&
e
.
certificationName
.
length
>
6
&&
(
e
.
certificationName
=
e
.
certificationName
.
substring
(
0
,
6
)
+
"..."
),
e
.
createTime
=
e
.
createTime
.
substr
(
5
,
11
),
e
})),
e
.
takeCompanyList
=
i
}))},
exitGroup
:
function
(
t
){
console
.
log
(
t
);
var
i
=
e
.
getStorageSync
(
"user"
);
if
(
!
i
){
e
.
showToast
({
title
:
"您还未登录,请先登录!"
,
icon
:
"none"
});
var
n
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/login/login"
}),
clearTimeout
(
n
)}),
800
);
return
!
1
}
1
==
this
.
type
?(
this
.
failDialog
=!
0
,
this
.
failDialogBtnShow
=!
0
,
this
.
hintText
=
"退出拼团意味着放弃当前收益,确定退出?"
,
this
.
btnText
=
"确定退出"
):
e
.
navigateTo
({
url
:
"/pages/group/GroupCompany?packageId="
+
this
.
packageId
})},
linktoGroupCompany
:
function
(
t
,
i
){
var
o
=
this
,
s
=
this
,
c
=
e
.
getStorageSync
(
"user"
),
r
=
e
.
getStorageSync
(
"type"
);
if
(
!
c
)
return
s
.
nologin
(),
!
1
;
if
(
1
==
r
){
if
(
!
c
.
enterpriseId
||
null
==
c
.
enterpriseId
)
return
s
.
nologin
(),
!
1
}
else
if
(
!
c
.
electricId
||
null
==
c
.
electricId
)
return
s
.
nologin
(),
!
1
;
if
(
this
.
packageId
=
t
,
!
this
.
BasicCreditScore
)
return
e
.
showToast
({
title
:
"您的信用分过低不能参与拼团"
,
icon
:
"none"
}),
!
1
;
if
(
1
==
r
){
var
l
=
e
.
getStorageSync
(
"user"
).
enterpriseId
;(
0
,
n
.
get
)(
a
.
default
.
participatePackageCheck
,{
mode
:
"0"
,
type
:
"1"
,
packageId
:
this
.
packageId
,
userId
:
l
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
)
e
.
navigateTo
({
url
:
"/pagesA/memberJion/memberJion?packageId="
+
o
.
packageId
});
else
{
o
.
failDialog
=!
0
;
var
i
=
t
.
msg
;
i
.
indexOf
(
"I"
)
>-
1
||
i
.
indexOf
(
"H"
)
>-
1
?(
o
.
failDialogBtnShow
=!
0
,
o
.
hintText
=
"您未完成实名认证,请先实名认证"
,
o
.
btnText
=
"去认证"
):
i
.
indexOf
(
"a"
)
>-
1
?(
o
.
failDialogBtnShow
=!
0
,
o
.
hintText
=
"您当前未准入市场,如已准入,请重新认证"
,
o
.
btnText
=
"重新认证"
):
i
.
indexOf
(
"W"
)
>-
1
?(
o
.
hintText
=
"您是存量已交易远期企业,不能参与拼团"
,
o
.
btnText
=
"我知道了"
):
i
.
indexOf
(
"b"
)
>-
1
?(
o
.
hintText
=
"您已参与独立询价套餐,不能参与拼团"
,
o
.
btnText
=
"我知道了"
):
i
.
indexOf
(
"X"
)
>-
1
?(
o
.
failDialogBtnShow
=!
0
,
o
.
hintText
=
"您已参与过同年度其他拼团套餐,是否退出已参与的拼团套餐并重新参与新拼团套餐"
,
o
.
btnText
=
"参与新套餐"
):
i
.
indexOf
(
"J"
)
>-
1
?(
o
.
hintText
=
"你的用电性质不符合"
,
o
.
btnText
=
"我知道了"
):(
o
.
hintText
=
"您不满足拼团条件,无法参与拼团"
,
o
.
btnText
=
"我知道了"
)}}))}
else
2
!=
this
.
isAuthenticate
?(
this
.
failDialog
=!
0
,
this
.
failDialogBtnShow
=!
0
,
this
.
hintText
=
"您未完成实名认证,请先实名认证"
,
this
.
btnText
=
"去认证"
):
e
.
navigateTo
({
url
:
"/pages/group/GroupCompany?packageId="
+
this
.
packageId
+
"&packageType="
+
i
})},
nologin
:
function
(){
e
.
showToast
({
title
:
"您还未登录,请先登录!"
,
icon
:
"none"
});
var
t
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/login/login"
}),
clearTimeout
(
t
)}),
800
)},
cancleClcik
:
function
(){
this
.
failDialog
=!
1
},
handleClcik
:
function
(){
var
t
=
this
;
"去认证"
==
this
.
btnText
?
1
==
this
.
type
?
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}):
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}):
"确定退出"
==
this
.
btnText
?
this
.
quitPackage
():
"参与新套餐"
==
this
.
btnText
?(
0
,
n
.
get
)(
a
.
default
.
replacementPackage
,{
mode
:
0
,
type
:
"1"
,
packageId
:
this
.
packageId
,
userId
:
this
.
userId
}).
then
((
function
(
i
){
200
==
i
.
code
?(
t
.
failDialog
=!
1
,
e
.
navigateTo
({
url
:
"/pagesA/memberJion/memberJion?packageId="
+
t
.
packageId
+
"&newPackage=1"
})):
e
.
showToast
({
title
:
i
.
msg
,
icon
:
"none"
})})):
"我知道了"
==
this
.
btnText
?
this
.
failDialog
=!
1
:
"重新认证"
==
this
.
btnText
&&
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
})},
quitPackage
:
function
(){
var
t
=
this
;(
0
,
n
.
get
)(
a
.
default
.
quitPackage
,{
packageId
:
this
.
packageId
,
userId
:
this
.
userId
}).
then
((
function
(
i
){
200
==
i
.
code
?(
t
.
failDialog
=!
1
,
e
.
showToast
({
title
:
"退出成功"
}),
e
.
navigateBack
({
delta
:
1
})):
e
.
showToast
({
title
:
"请联系管理员"
,
icon
:
"none"
})}))},
isParticipate
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
isParticipate
,{
packageId
:
this
.
packageId
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
isParticipated
=
t
.
msg
)}))},
openWord
:
function
(
t
){
var
i
=
t
.
replace
(
/http/g
,
"https"
);
if
(
i
.
lastIndexOf
(
".pdf"
)
>-
1
||
i
.
lastIndexOf
(
".doc"
)
>-
1
)
e
.
downloadFile
({
url
:
i
,
success
:
function
(
t
){
console
.
log
(
t
),
200
==
t
.
statusCode
&&
e
.
openDocument
({
filePath
:
t
.
tempFilePath
,
success
:
function
(){
console
.
log
(
"打开文档成功"
)}})},
fail
:
function
(
t
){
e
.
showToast
({
title
:
"打开文档失败,请联系管理员"
,
icon
:
"none"
})}});
else
{
var
n
=
[];
n
.
push
(
i
),
e
.
previewImage
({
urls
:
n
,
longPressActions
:{
itemList
:[
"发送给朋友"
,
"保存图片"
,
"收藏"
],
success
:
function
(
e
){
console
.
log
(
"选中了第"
+
(
e
.
tapIndex
+
1
)
+
"个按钮,第"
+
(
e
.
index
+
1
)
+
"张图片"
)},
fail
:
function
(
e
){
console
.
log
(
e
.
errMsg
)}}})}},
linktoElectriCompanyDetail
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/electriCompany/electriCompanyDetail"
})}}};
t
.
default
=
c
}).
call
(
this
,
i
(
"543d"
)[
"default"
])},
"7bd4"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"ab74"
),
a
=
i
(
"9c7a"
);
for
(
var
o
in
a
)
"default"
!==
o
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
o
);
i
(
"f6f3"
);
var
s
,
c
=
i
(
"f0c5"
),
r
=
Object
(
c
[
"a"
])(
a
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
s
);
t
[
"default"
]
=
r
.
exports
},
"9c7a"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"297d"
),
a
=
i
.
n
(
n
);
for
(
var
o
in
n
)
"default"
!==
o
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
n
[
e
]}))}(
o
);
t
[
"default"
]
=
a
.
a
},
a353
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
i
(
"78ef"
);
n
(
i
(
"66fd"
));
var
t
=
n
(
i
(
"7bd4"
));
function
n
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
i
(
"543d"
)[
"createPage"
])},
ab74
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
d
(
t
,
"b"
,(
function
(){
return
a
})),
i
.
d
(
t
,
"c"
,(
function
(){
return
o
})),
i
.
d
(
t
,
"a"
,(
function
(){
return
n
}));
var
n
=
{
uTable
:
function
(){
return
i
.
e
(
"uview-ui/components/u-table/u-table"
).
then
(
i
.
bind
(
null
,
"2d78"
))},
uTr
:
function
(){
return
i
.
e
(
"uview-ui/components/u-tr/u-tr"
).
then
(
i
.
bind
(
null
,
"07a0"
))},
uTd
:
function
(){
return
i
.
e
(
"uview-ui/components/u-td/u-td"
).
then
(
i
.
bind
(
null
,
"5619"
))},
bottomWindow
:
function
(){
return
i
.
e
(
"components/bottomWindow/bottomWindow"
).
then
(
i
.
bind
(
null
,
"54aa"
))}},
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
(
e
.
_self
.
_c
,
1
==
e
.
groupDetails
.
type
||
2
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
),
n
=
3
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
,
a
=
4
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
5
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
;
e
.
_isMounted
||
(
e
.
e0
=
function
(
t
){
e
.
settleShow
=!
1
},
e
.
e1
=
function
(
t
){
e
.
settelTypeShow
=!
1
},
e
.
e2
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e3
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e4
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e5
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e6
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e7
=
function
(
t
){
e
.
settelTypeShow
=!
0
},
e
.
e8
=
function
(
t
){
e
.
settelTypeShow
=!
0
},
e
.
e9
=
function
(
t
){
e
.
settelTypeShow
=!
0
},
e
.
e10
=
function
(
t
){
e
.
settleShow
=!
0
}),
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l0
:
i
,
l1
:
n
,
l2
:
a
,
l3
:
o
}})},
o
=
[]},
c7d9
:
function
(
e
,
t
,
i
){},
f6f3
:
function
(
e
,
t
,
i
){
"use strict"
;
var
n
=
i
(
"c7d9"
),
a
=
i
.
n
(
n
);
a
.
a
}},[[
"a353"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/group/groupInfo"
],{
"297d"
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
i
(
"86df"
),
a
=
o
(
i
(
"9036"
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
s
=
function
(){
i
.
e
(
"components/bottomWindow/bottomWindow"
).
then
(
function
(){
return
resolve
(
i
(
"54aa"
))}.
bind
(
null
,
i
)).
catch
(
i
.
oe
)},
c
=
{
created
:
function
(){},
onLoad
:
function
(
t
){
var
i
=
this
,
n
=
e
.
getStorageSync
(
"user"
);
t
.
scene
&&
(
i
.
packageId
=
decodeURIComponent
(
t
.
scene
),
console
.
log
(
"scene"
,
i
.
packageId
)),
i
.
type
=
e
.
getStorageSync
(
"type"
),
i
.
packageId
=
t
.
id
,
1
==
i
.
type
?(
i
.
userType
=
n
.
userType
,
i
.
userId
=
n
.
enterpriseId
,
n
&&
i
.
isParticipate
()):
i
.
userId
=
n
.
electricId
,
n
&&
(
i
.
getUserMessage
(),
i
.
getallParticipatingCompanies
(),
i
.
getBasicCreditScore
()),
i
.
getPackageDetail
()},
onShow
:
function
(){
this
.
failDialog
=!
1
;
var
t
=
e
.
getStorageSync
(
"user"
);
t
&&
this
.
getUserMessage
(),
1
==
this
.
type
&&
t
&&
this
.
isParticipate
()},
components
:{
bottomWindow
:
s
},
data
:
function
(){
return
{
type
:
null
,
isAuthenticate
:
""
,
certificationStatus
:
""
,
BasicCreditScore
:
!
1
,
packageId
:
null
,
userId
:
null
,
userType
:
""
,
isJion
:
!
1
,
remainder
:[],
remaindering
:[],
groupDetails
:{},
takeCompanyList
:[],
electricityLimited
:[],
isshare
:
!
1
,
tableList
:[],
settleShow
:
!
1
,
settelTypeShow
:
!
1
,
failDialog
:
!
1
,
hintText
:
""
,
failDialogBtnShow
:
""
,
btnText
:
""
,
isParticipated
:
"0"
,
setIntervaltimerindex
:
""
}},
methods
:{
onShareAppMessage
:
function
(
t
){
var
i
=
this
,
n
=
e
.
getStorageSync
(
"user"
).
certificationName
;
return
console
.
log
(
"that.packageId==="
,
i
.
packageId
),{
title
:
n
+
"邀请您参与拼团"
,
path
:
"/pages/group/groupInfo?id="
+
i
.
packageId
,
imageUrl
:
"../../static/images/index/group.png"
,
content
:
"邀请您参与限时拼团"
,
desc
:
"电客"
,
success
:
function
(
e
){
console
.
log
(
"111111"
),
console
.
log
(
e
)},
fail
:
function
(
e
){
console
.
log
(
"222222"
),
console
.
log
(
e
)}}},
closeModel
:
function
(
e
){
"closeModel"
==
e
&&
(
this
.
isshare
=!
1
)},
invitation
:
function
(){
var
t
=
this
,
i
=
e
.
getStorageSync
(
"type"
),
n
=
e
.
getStorageSync
(
"user"
);
if
(
!
n
)
return
this
.
nologin
(),
!
1
;
if
(
1
==
i
){
if
(
!
n
.
enterpriseId
||
null
==
n
.
enterpriseId
)
return
t
.
nologin
(),
!
1
}
else
if
(
!
n
.
electricId
||
null
==
n
.
electricId
)
return
t
.
nologin
(),
!
1
;
if
(
2
!=
this
.
isAuthenticate
)
return
t
.
failDialog
=!
0
,
t
.
failDialogBtnShow
=!
0
,
t
.
hintText
=
"您未完成认证信息,无法邀请企业"
,
t
.
btnText
=
"去认证"
,
!
1
;
t
.
isshare
=!
0
},
linktoElectriCompanyDetail
:
function
(
t
){
console
.
log
(
t
),
e
.
navigateTo
({
url
:
"/pagesA/electriCompany/electriCompanyDetail?userId="
+
t
})},
linktoCompanys
:
function
(){
e
.
navigateTo
({
url
:
"/pages/group/Companys?id="
+
this
.
packageId
})},
getBasicCreditScore
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
getBasicCreditScore
,{
type
:
e
.
type
,
userId
:
e
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
?
e
.
BasicCreditScore
=
t
.
data
:
console
.
log
(
t
.
msg
)}))},
getUserMessage
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
getUserInformation
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
isAuthenticate
=
t
.
data
.
isAuthenticate
,
e
.
certificationStatus
=
t
.
data
.
certificationStatus
)}))},
getPackageDetail
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
joinPackageDetail
,{
packageId
:
e
.
packageId
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
e
.
groupDetails
=
t
.
data
;
var
i
=
JSON
.
parse
(
t
.
data
.
electricityLimited
),
a
=
i
.
map
((
function
(
e
,
t
){
return
t
!=
i
.
length
-
1
&&
(
e
+=
"、"
),
e
}));
e
.
electricityLimited
=
a
,
null
!=
t
.
data
.
timeSharingSpreadRelatedList
&&
(
e
.
tableList
=
t
.
data
.
timeSharingSpreadRelatedList
,
e
.
tableList
.
map
((
function
(
e
){
null
==
e
.
value
&&
(
e
.
value
=
"-"
)})));
var
o
=
t
.
data
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
e
.
remainder
.
push
((
0
,
n
.
getDuration
)(
new
Date
(
o
).
getTime
()
-
(
new
Date
).
getTime
())),
e
.
remaindering
.
push
(
new
Date
(
o
).
getTime
()
-
(
new
Date
).
getTime
()),
e
.
setIntervaltimerindex
=
setInterval
((
function
(){
e
.
remaindering
[
0
]
>
0
&&
(
e
.
remaindering
[
0
]
-=
1
e3
,
e
.
remainder
[
0
]
=
(
0
,
n
.
getDuration
)(
e
.
remaindering
[
0
])),
e
.
$forceUpdate
()}),
1
e3
)}}))},
getallParticipatingCompanies
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
allParticipatingCompanies
,{
type
:
this
.
type
,
userId
:
this
.
userId
,
packageId
:
this
.
packageId
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
var
i
=
t
.
data
;
e
.
takeCompanyList
=
i
.
map
((
function
(
e
){
return
function
(
t
){
e
.
certificationName
=
t
.
substring
(
0
,
2
)
+
"***有限公司"
}(
e
.
certificationName
),
e
.
createTime
=
e
.
createTime
.
substr
(
5
,
11
),
e
}))}}))},
exitGroup
:
function
(
t
){
console
.
log
(
t
);
var
i
=
e
.
getStorageSync
(
"user"
);
if
(
!
i
){
e
.
showToast
({
title
:
"您还未登录,请先登录!"
,
icon
:
"none"
});
var
n
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/login/login"
}),
clearTimeout
(
n
)}),
800
);
return
!
1
}
1
==
this
.
type
?(
this
.
failDialog
=!
0
,
this
.
failDialogBtnShow
=!
0
,
this
.
hintText
=
"退出拼团意味着放弃当前收益,确定退出?"
,
this
.
btnText
=
"确定退出"
):
e
.
navigateTo
({
url
:
"/pages/group/GroupCompany?packageId="
+
this
.
packageId
})},
linktoGroupCompany
:
function
(
t
,
i
){
var
o
=
this
,
s
=
this
,
c
=
e
.
getStorageSync
(
"user"
),
r
=
e
.
getStorageSync
(
"type"
);
if
(
!
c
)
return
s
.
nologin
(),
!
1
;
if
(
1
==
r
){
if
(
!
c
.
enterpriseId
||
null
==
c
.
enterpriseId
)
return
s
.
nologin
(),
!
1
}
else
if
(
!
c
.
electricId
||
null
==
c
.
electricId
)
return
s
.
nologin
(),
!
1
;
if
(
this
.
packageId
=
t
,
!
this
.
BasicCreditScore
)
return
e
.
showToast
({
title
:
"您的信用分过低不能参与拼团"
,
icon
:
"none"
}),
!
1
;
if
(
1
==
r
){
var
l
=
e
.
getStorageSync
(
"user"
).
enterpriseId
;(
0
,
n
.
get
)(
a
.
default
.
participatePackageCheck
,{
mode
:
"0"
,
type
:
"1"
,
packageId
:
this
.
packageId
,
userId
:
l
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
)
e
.
navigateTo
({
url
:
"/pagesA/memberJion/memberJion?packageId="
+
o
.
packageId
});
else
{
o
.
failDialog
=!
0
;
var
i
=
t
.
msg
;
i
.
indexOf
(
"I"
)
>-
1
||
i
.
indexOf
(
"H"
)
>-
1
?(
o
.
failDialogBtnShow
=!
0
,
o
.
hintText
=
"您未完成实名认证,请先实名认证"
,
o
.
btnText
=
"去认证"
):
i
.
indexOf
(
"a"
)
>-
1
?(
o
.
failDialogBtnShow
=!
0
,
o
.
hintText
=
"您当前未准入市场,如已准入,请重新认证"
,
o
.
btnText
=
"重新认证"
):
i
.
indexOf
(
"W"
)
>-
1
?(
o
.
hintText
=
"您是存量已交易远期企业,不能参与拼团"
,
o
.
btnText
=
"我知道了"
):
i
.
indexOf
(
"b"
)
>-
1
?(
o
.
hintText
=
"您已参与独立询价套餐,不能参与拼团"
,
o
.
btnText
=
"我知道了"
):
i
.
indexOf
(
"X"
)
>-
1
?(
o
.
failDialogBtnShow
=!
0
,
o
.
hintText
=
"您已参与过同年度其他拼团套餐,是否退出已参与的拼团套餐并重新参与新拼团套餐"
,
o
.
btnText
=
"参与新套餐"
):
i
.
indexOf
(
"J"
)
>-
1
?(
o
.
hintText
=
"你的用电性质不符合"
,
o
.
btnText
=
"我知道了"
):(
o
.
hintText
=
"您不满足拼团条件,无法参与拼团"
,
o
.
btnText
=
"我知道了"
)}}))}
else
2
!=
this
.
isAuthenticate
?(
this
.
failDialog
=!
0
,
this
.
failDialogBtnShow
=!
0
,
this
.
hintText
=
"您未完成实名认证,请先实名认证"
,
this
.
btnText
=
"去认证"
):
e
.
navigateTo
({
url
:
"/pages/group/GroupCompany?packageId="
+
this
.
packageId
+
"&packageType="
+
i
})},
nologin
:
function
(){
e
.
showToast
({
title
:
"您还未登录,请先登录!"
,
icon
:
"none"
});
var
t
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/login/login"
}),
clearTimeout
(
t
)}),
800
)},
cancleClcik
:
function
(){
this
.
failDialog
=!
1
},
handleClcik
:
function
(){
var
t
=
this
;
"去认证"
==
this
.
btnText
?
1
==
this
.
type
?
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}):
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}):
"确定退出"
==
this
.
btnText
?
this
.
quitPackage
():
"参与新套餐"
==
this
.
btnText
?(
0
,
n
.
get
)(
a
.
default
.
replacementPackage
,{
mode
:
0
,
type
:
"1"
,
packageId
:
this
.
packageId
,
userId
:
this
.
userId
}).
then
((
function
(
i
){
200
==
i
.
code
?(
t
.
failDialog
=!
1
,
e
.
navigateTo
({
url
:
"/pagesA/memberJion/memberJion?packageId="
+
t
.
packageId
+
"&newPackage=1"
})):
e
.
showToast
({
title
:
i
.
msg
,
icon
:
"none"
})})):
"我知道了"
==
this
.
btnText
?
this
.
failDialog
=!
1
:
"重新认证"
==
this
.
btnText
&&
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
})},
quitPackage
:
function
(){
var
t
=
this
;(
0
,
n
.
get
)(
a
.
default
.
quitPackage
,{
packageId
:
this
.
packageId
,
userId
:
this
.
userId
}).
then
((
function
(
i
){
200
==
i
.
code
?(
t
.
failDialog
=!
1
,
e
.
showToast
({
title
:
"退出成功"
}),
e
.
navigateBack
({
delta
:
1
})):
e
.
showToast
({
title
:
"请联系管理员"
,
icon
:
"none"
})}))},
isParticipate
:
function
(){
var
e
=
this
;(
0
,
n
.
get
)(
a
.
default
.
isParticipate
,{
packageId
:
this
.
packageId
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
isParticipated
=
t
.
msg
)}))},
openWord
:
function
(
t
){
var
i
=
t
.
replace
(
/http/g
,
"https"
);
if
(
i
.
lastIndexOf
(
".pdf"
)
>-
1
||
i
.
lastIndexOf
(
".doc"
)
>-
1
)
e
.
downloadFile
({
url
:
i
,
success
:
function
(
t
){
console
.
log
(
t
),
200
==
t
.
statusCode
&&
e
.
openDocument
({
filePath
:
t
.
tempFilePath
,
success
:
function
(){
console
.
log
(
"打开文档成功"
)}})},
fail
:
function
(
t
){
e
.
showToast
({
title
:
"打开文档失败,请联系管理员"
,
icon
:
"none"
})}});
else
{
var
n
=
[];
n
.
push
(
i
),
e
.
previewImage
({
urls
:
n
,
longPressActions
:{
itemList
:[
"发送给朋友"
,
"保存图片"
,
"收藏"
],
success
:
function
(
e
){
console
.
log
(
"选中了第"
+
(
e
.
tapIndex
+
1
)
+
"个按钮,第"
+
(
e
.
index
+
1
)
+
"张图片"
)},
fail
:
function
(
e
){
console
.
log
(
e
.
errMsg
)}}})}}}};
t
.
default
=
c
}).
call
(
this
,
i
(
"543d"
)[
"default"
])},
"7bd4"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"b1e1"
),
a
=
i
(
"9c7a"
);
for
(
var
o
in
a
)
"default"
!==
o
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
o
);
i
(
"f6f3"
);
var
s
,
c
=
i
(
"f0c5"
),
r
=
Object
(
c
[
"a"
])(
a
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
s
);
t
[
"default"
]
=
r
.
exports
},
"9c7a"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"297d"
),
a
=
i
.
n
(
n
);
for
(
var
o
in
n
)
"default"
!==
o
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
n
[
e
]}))}(
o
);
t
[
"default"
]
=
a
.
a
},
a353
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
i
(
"78ef"
);
n
(
i
(
"66fd"
));
var
t
=
n
(
i
(
"7bd4"
));
function
n
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
i
(
"543d"
)[
"createPage"
])},
b1e1
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
d
(
t
,
"b"
,(
function
(){
return
a
})),
i
.
d
(
t
,
"c"
,(
function
(){
return
o
})),
i
.
d
(
t
,
"a"
,(
function
(){
return
n
}));
var
n
=
{
uTable
:
function
(){
return
i
.
e
(
"uview-ui/components/u-table/u-table"
).
then
(
i
.
bind
(
null
,
"2d78"
))},
uTr
:
function
(){
return
i
.
e
(
"uview-ui/components/u-tr/u-tr"
).
then
(
i
.
bind
(
null
,
"07a0"
))},
uTd
:
function
(){
return
i
.
e
(
"uview-ui/components/u-td/u-td"
).
then
(
i
.
bind
(
null
,
"5619"
))},
bottomWindow
:
function
(){
return
i
.
e
(
"components/bottomWindow/bottomWindow"
).
then
(
i
.
bind
(
null
,
"54aa"
))}},
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
(
e
.
_self
.
_c
,
1
==
e
.
groupDetails
.
type
||
2
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
),
n
=
3
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
,
a
=
4
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
5
==
e
.
groupDetails
.
type
?
e
.
groupDetails
.
packageSettingsList
.
slice
(
1
):
null
;
e
.
_isMounted
||
(
e
.
e0
=
function
(
t
){
e
.
settleShow
=!
1
},
e
.
e1
=
function
(
t
){
e
.
settelTypeShow
=!
1
},
e
.
e2
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e3
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e4
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e5
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e6
=
function
(
t
){
e
.
settleShow
=!
0
},
e
.
e7
=
function
(
t
){
e
.
settelTypeShow
=!
0
},
e
.
e8
=
function
(
t
){
e
.
settelTypeShow
=!
0
},
e
.
e9
=
function
(
t
){
e
.
settelTypeShow
=!
0
},
e
.
e10
=
function
(
t
){
e
.
settleShow
=!
0
}),
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l0
:
i
,
l1
:
n
,
l2
:
a
,
l3
:
o
}})},
o
=
[]},
c7d9
:
function
(
e
,
t
,
i
){},
f6f3
:
function
(
e
,
t
,
i
){
"use strict"
;
var
n
=
i
(
"c7d9"
),
a
=
i
.
n
(
n
);
a
.
a
}},[[
"a353"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/groupInfo.wxml
浏览文件 @
a9280eb9
<view class="groupInfo"><block wx:if="{{takeCompanyList.length>0}}"><view class="groupInfo_swiper"><swiper autoplay="{{true}}" circular="{{true}}" vertical="{{true}}" interval="{{5000}}" duration="{{1000}}"><block wx:for="{{takeCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view class="swiper-item"><text>{{item.certificationName+"参与了拼团"}}</text></view></swiper-item></block></swiper></view></block><view class="groupInfo_merit"><view class="groupInfo_hot"><block wx:if="{{groupDetails.type==1}}"><view>{{"当前现货收益分成比例: "+groupDetails.currentEarnings+"%"}}</view></block><block wx:if="{{userType==1&&userType==5&&groupDetails.type==3}}"><view>{{"当前现货收益分成比例:\n\t\t\t\t"+groupDetails.currentEarnings+'%'}}</view></block><block wx:if="{{groupDetails.type==2}}"><view>{{"当前现货收益: "+groupDetails.currentEarnings+"%"}}</view></block><block wx:if="{{groupDetails.type==4}}"><view>{{"当前固定价差: "+groupDetails.currentEarnings+"分"}}</view></block><block wx:if="{{groupDetails.type==5}}"><view>{{"当前分时价差: 在初始分时价差基础上增加"+groupDetails.currentEarnings+"厘"}}</view></block><view>{{"当前参与企业数量: "+groupDetails.enterpriseCount}}</view><view>{{"当前参与合同电量: "+groupDetails.contractElectricity+"万kWh"}}</view></view><block wx:if="{{takeCompanyList.length>0}}"><view class="groupInfo_cmp"><view class="groupInfo_cmp_title"><text>企业参与</text><view data-event-opts="{{[['tap',[['linktoCompanys',['$event']]]]]}}" bindtap="__e">查看全部<image src="../../static/images/right.png"></image></view></view><block wx:if="{{takeCompanyList.length<4}}"><view><block wx:for="{{takeCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="groupInfo_cmp_item"><text>{{item.certificationName}}</text><text style="text-align:center;">{{item.annualElectricityConsumption+"万kWh"}}</text><text class="groupInfo_cmp_item_time">{{item.createTime}}</text></view></block></view></block><block wx:if="{{takeCompanyList.length>=4}}"><view><swiper class="company_swiper" autoplay="{{true}}" circular="{{true}}" vertical="{{true}}" interval="{{3000}}" duration="{{1000}}" display-multiple-items="3"><block wx:for="{{takeCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="company_swiper_item"><view class="groupInfo_cmp_item"><text>{{item.certificationName}}</text><text style="text-align:center;">{{item.annualElectricityConsumption+"万kWh"}}</text><text class="groupInfo_cmp_item_time">{{item.createTime}}</text></view></swiper-item></block></swiper></view></block></view></block></view><view class="groupInfo_combo"><block wx:if="{{settleShow}}"><view class="settle_hint"><view class="settle_hint_box"><block wx:if="{{groupDetails.type==1}}"><view class="settle_hint_box_text">拼团完成的电量在非现货模式下结算方式为月竞分成,现货模式下结算方式为月竞分成加现货收益分成</view></block><block wx:if="{{groupDetails.type==2}}"><view class="settle_hint_box_text">拼团完成的电量在非现货模式下结算方式为价差保底,现货模式下结算方式为价差保底加现货收益分成</view></block><block wx:if="{{groupDetails.type==3}}"><view class="settle_hint_box_text">拼团完成的电量按售电公司的净批发利润乘以合同上约定的分成比例,在交易中心以退补电费方式结算</view></block><block wx:if="{{groupDetails.type==4}}"><view class="settle_hint_box_text">拼团完成的电量结算方式为固定价差</view></block><block wx:if="{{groupDetails.type==5}}"><view class="settle_hint_box_text">企业峰谷平用电时段签订的价差让利价格不同</view></block><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="settle_hint_box_btn" bindtap="__e">我知道了</view></view></view></block><block wx:if="{{settelTypeShow}}"><view class="settle_hint"><view class="settle_hint_box"><block wx:if="{{groupDetails.settelType==1}}"><view class="settle_hint_box_text">现货拼团中结算的现货利润为单家企业现货收益,因每家企业峰平谷用电比例不同会影响售电公司在现货电量批发成本,从而每家企业现货收益不同</view></block><block wx:if="{{groupDetails.settelType==2}}"><view class="settle_hint_box_text">现货拼团中结算的现货利润为单家企业现货收益,因每家企业每日用电比例不同会影响售电公司在现货电量批发成本,从而每家企业现货收益不同</view></block><block wx:if="{{groupDetails.settelType==3}}"><view class="settle_hint_box_text">现货拼团中结算的度电现货收益为售电公司代理的整个大盘企业电量现货收益的加权平均</view></block><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="settle_hint_box_btn" bindtap="__e">我知道了</view></view></view></block><view class="groupInfo_combo_title common_title">套餐详情</view><view class="groupInfo_combo_item common_item"><view data-event-opts="{{[['tap',[['linktoCompanyInfo',['$0'],['groupDetails.userId']]]]]}}" class="groupInfo_combo_item_company" bindtap="__e">{{''+groupDetails.ename+''}}<image src="../../static/images/right.png"></image></view><view data-event-opts="{{[['tap',[['openWord',['$0'],['groupDetails.rulesDescription']]]]]}}" class="groupInfo_combo_item_company" bindtap="__e">拼团规则说明<image src="../../static/images/right.png"></image></view><view>{{groupDetails.name}}</view><view>{{"用电年份: "+groupDetails.year+"年"}}</view><block wx:if="{{groupDetails.type==1}}"><view>拼团类型:月竞分成现货拼团<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==2}}"><view>拼团类型:固定价差现货拼团<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==3}}"><view>拼团类型:普通现货拼团<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==4}}"><view>拼团类型:固定价差<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==5}}"><view>拼团类型:分时价差<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{(groupDetails.type==1||groupDetails.type==2)&&groupDetails.settelType==1}}"><view>结算方式: 时清月结<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e7',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:else><block wx:if="{{(groupDetails.type==1||groupDetails.type==2)&&groupDetails.settelType==2}}"><view>结算方式:日清月结<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e8',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:else><block wx:if="{{(groupDetails.type==1||groupDetails.type==2)&&groupDetails.settelType==3}}"><view>结算方式:月清月结<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e9',['$event']]]]]}}" bindtap="__e"></image></view></block></block></block><block wx:if="{{groupDetails.type==1}}"><view>{{"最高月竞分成比例: "+groupDetails.maxShareRatio+"%"}}</view></block><block wx:if="{{groupDetails.type==2}}"><view>{{"最高保底价差: "+groupDetails.maxGuaranteedSpread+"厘"}}</view></block><block wx:if="{{groupDetails.intermediateProfitCeiling&&type==2&&(groupDetails.type==4||groupDetails.type==5)}}"><view>{{'居间让利上限:'+groupDetails.intermediateProfitCeiling+"厘"}}</view></block><view>{{"拼团电量上限:"+groupDetails.powerLimit+"万kWh"}}</view><block wx:if="{{groupDetails.commissionRate}}"><view>{{"佣金:"+groupDetails.commissionRate+'%'}}<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e10',['$event']]]]]}}" bindtap="__e"></image></view></block></view></view><view class="groupInfo_gradient"><view class="groupInfo_gradient_title common_title">套餐梯度</view><block wx:if="{{groupDetails.type==1||groupDetails.type==2}}"><view class="groupInfo_gradient_item common_item"><view>{{'拼包电量'+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得"+groupDetails.packageSettingsList[0].rangli+'%的现货收益'}}</view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh,获得"+item.rangli+'%的现货收益'}}</view></block></view></block><block wx:if="{{groupDetails.type==3}}"><view class="groupInfo_gradient_item common_item"><view>{{'拼包电量'+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得"+groupDetails.packageSettingsList[0].enterpriseShareRatio+'%的售电公司收益'}}</view><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh,获得"+item.enterpriseShareRatio+'%的售电公司收益'}}</view></block></view></block><block wx:if="{{groupDetails.type==4}}"><view class="groupInfo_gradient_item common_item"><view>{{'拼包电量'+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得"+groupDetails.packageSettingsList[0].reduce+'厘/度电价差收益'}}</view><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh,获得"+item.reduce+'厘/度电的价差收益'}}</view></block></view></block><block wx:if="{{groupDetails.type==5}}"><view class="groupInfo_gradient_item common_item"><view>{{"拼包电量"+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得初始分时价差收益"}}</view><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh, 在初始分时价差基础上增加"+item.basePrice+'厘'}}</view></block></view></block></view><block wx:if="{{groupDetails.type==5}}"><view class="groupInfo_timePrice"><view class="groupInfo_timePrice_title common_title">初始分时价差</view><view class="table_box"><u-table vue-id="6547a932-1" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-2')+','+('6547a932-1')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-3')+','+('6547a932-2')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-4')+','+('6547a932-2')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<6}}"><u-tr vue-id="{{('6547a932-5-'+index)+','+('6547a932-1')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-6-'+index)+','+('6547a932-5-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-7-'+index)+','+('6547a932-5-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table><u-table vue-id="6547a932-8" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-9')+','+('6547a932-8')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-10')+','+('6547a932-9')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-11')+','+('6547a932-9')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index>=6&&index<12}}"><u-tr vue-id="{{('6547a932-12-'+index)+','+('6547a932-8')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-13-'+index)+','+('6547a932-12-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-14-'+index)+','+('6547a932-12-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table><u-table vue-id="6547a932-15" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-16')+','+('6547a932-15')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-17')+','+('6547a932-16')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-18')+','+('6547a932-16')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index>=12&&index<18}}"><u-tr vue-id="{{('6547a932-19-'+index)+','+('6547a932-15')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-20-'+index)+','+('6547a932-19-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-21-'+index)+','+('6547a932-19-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table><u-table vue-id="6547a932-22" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-23')+','+('6547a932-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-24')+','+('6547a932-23')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-25')+','+('6547a932-23')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index>=18&&index<24}}"><u-tr vue-id="{{('6547a932-26-'+index)+','+('6547a932-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-27-'+index)+','+('6547a932-26-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-28-'+index)+','+('6547a932-26-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table></view></view></block><view class="groupInfo_condition"><view class="groupInfo_condition_title common_title">限制条件</view><view class="groupInfo_condition_item common_item"><block wx:if="{{groupDetails.limitationFactor==1}}"><view>{{"峰期电量最低占比"+groupDetails.peakPeriodMin+"%"}}</view></block><block wx:if="{{groupDetails.limitationFactor==2}}"><view>{{"峰期电量最高占比"+groupDetails.peakPeriodMax+"%"}}</view></block><block wx:if="{{groupDetails.limitationFactor==3}}"><view>{{"谷期电量最低占比"+groupDetails.valleyPeriodMin+"%"}}</view></block><block wx:if="{{groupDetails.limitationFactor==4}}"><view>{{"谷期电量最高占比"+groupDetails.valleyPeriodMax+"%"}}</view></block><view>限<block wx:for="{{electricityLimited}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text>{{item}}</text></block>的用电性质企业</view></view></view><view class="groupInfo_btns"><view class="groupInfo_count">{{''+(remainder[0]==0?'拼团已结束':remainder[0])+''}}</view><view class="btns"><view data-event-opts="{{[['tap',[['linktoElectriCompanyDetail',['$event']]]]]}}" class="shop" bindtap="__e">进店看看</view><view data-event-opts="{{[['tap',[['invitation',['$event']]]]]}}" class="invite" bindtap="__e">邀请企业</view><block wx:if="{{isParticipated==1&&remainder[0]!=0}}"><view data-event-opts="{{[['tap',[['exitGroup',['$0'],['groupDetails.id']]]]]}}" class="take" bindtap="__e">已参与</view></block><block wx:else><block wx:if="{{isParticipated==0&&remainder[0]!=0}}"><view data-event-opts="{{[['tap',[['linktoGroupCompany',['$0','$1'],['groupDetails.id','groupDetails.type']]]]]}}" class="take" bindtap="__e">参与拼团</view></block><block wx:else><view class="over">已结束</view></block></block></view></view><block wx:if="{{failDialog}}"><view class="fail_dialog"><view class="fail_dialog_box"><view class="fail_dialog_box_hint">{{hintText}}</view><view class="fail_dialog_box_btn"><block wx:if="{{failDialogBtnShow}}"><view data-event-opts="{{[['tap',[['cancleClcik',['$event']]]]]}}" class="btn_cnacle" bindtap="__e">取消</view></block><view data-event-opts="{{[['tap',[['handleClcik',['$event']]]]]}}" bindtap="__e">{{btnText}}</view></view></view></view></block><block wx:if="{{isshare}}"><bottom-window vue-id="6547a932-29" type="{{2}}" packageId="{{packageId}}" data-event-opts="{{[['^closeModel',[['closeModel']]]]}}" bind:closeModel="__e" bind:__l="__l"></bottom-window></block></view>
\ No newline at end of file
<view class="groupInfo"><block wx:if="{{takeCompanyList.length>0}}"><view class="groupInfo_swiper"><swiper autoplay="{{true}}" circular="{{true}}" vertical="{{true}}" interval="{{5000}}" duration="{{1000}}"><block wx:for="{{takeCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view class="swiper-item"><text>{{item.certificationName+"参与了拼团"}}</text></view></swiper-item></block></swiper></view></block><view class="groupInfo_merit"><view class="groupInfo_hot"><block wx:if="{{groupDetails.type==1}}"><view>{{"当前现货收益分成比例: "+groupDetails.currentEarnings+"%"}}</view></block><block wx:if="{{userType==1&&userType==5&&groupDetails.type==3}}"><view>{{"当前现货收益分成比例:\n\t\t\t\t"+groupDetails.currentEarnings+'%'}}</view></block><block wx:if="{{groupDetails.type==2}}"><view>{{"当前现货收益: "+groupDetails.currentEarnings+"%"}}</view></block><block wx:if="{{groupDetails.type==4}}"><view>{{"当前固定价差: "+groupDetails.currentEarnings+"分"}}</view></block><block wx:if="{{groupDetails.type==5}}"><view>{{"当前分时价差: 在初始分时价差基础上增加"+groupDetails.currentEarnings+"厘"}}</view></block><view>{{"当前参与企业数量: "+groupDetails.enterpriseCount}}</view><view>{{"当前参与合同电量: "+groupDetails.contractElectricity+"万kWh"}}</view></view><block wx:if="{{takeCompanyList.length>0}}"><view class="groupInfo_cmp"><view class="groupInfo_cmp_title"><text>企业参与</text><view data-event-opts="{{[['tap',[['linktoCompanys',['$event']]]]]}}" bindtap="__e">查看全部<image src="../../static/images/right.png"></image></view></view><block wx:if="{{takeCompanyList.length<4}}"><view><block wx:for="{{takeCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="groupInfo_cmp_item"><text>{{item.certificationName}}</text><text style="text-align:center;">{{item.annualElectricityConsumption+"万kWh"}}</text><text class="groupInfo_cmp_item_time">{{item.createTime}}</text></view></block></view></block><block wx:if="{{takeCompanyList.length>=4}}"><view><swiper class="company_swiper" autoplay="{{true}}" circular="{{true}}" vertical="{{true}}" interval="{{3000}}" duration="{{1000}}" display-multiple-items="3"><block wx:for="{{takeCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="company_swiper_item"><view class="groupInfo_cmp_item"><text>{{item.certificationName}}</text><text style="text-align:center;">{{item.annualElectricityConsumption+"万kWh"}}</text><text class="groupInfo_cmp_item_time">{{item.createTime}}</text></view></swiper-item></block></swiper></view></block></view></block></view><view class="groupInfo_combo"><block wx:if="{{settleShow}}"><view class="settle_hint"><view class="settle_hint_box"><block wx:if="{{groupDetails.type==1}}"><view class="settle_hint_box_text">拼团完成的电量在非现货模式下结算方式为月竞分成,现货模式下结算方式为月竞分成加现货收益分成</view></block><block wx:if="{{groupDetails.type==2}}"><view class="settle_hint_box_text">拼团完成的电量在非现货模式下结算方式为价差保底,现货模式下结算方式为价差保底加现货收益分成</view></block><block wx:if="{{groupDetails.type==3}}"><view class="settle_hint_box_text">拼团完成的电量按售电公司的净批发利润乘以合同上约定的分成比例,在交易中心以退补电费方式结算</view></block><block wx:if="{{groupDetails.type==4}}"><view class="settle_hint_box_text">拼团完成的电量结算方式为固定价差</view></block><block wx:if="{{groupDetails.type==5}}"><view class="settle_hint_box_text">企业峰谷平用电时段签订的价差让利价格不同</view></block><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="settle_hint_box_btn" bindtap="__e">我知道了</view></view></view></block><block wx:if="{{settelTypeShow}}"><view class="settle_hint"><view class="settle_hint_box"><block wx:if="{{groupDetails.settelType==1}}"><view class="settle_hint_box_text">现货拼团中结算的现货利润为单家企业现货收益,因每家企业峰平谷用电比例不同会影响售电公司在现货电量批发成本,从而每家企业现货收益不同</view></block><block wx:if="{{groupDetails.settelType==2}}"><view class="settle_hint_box_text">现货拼团中结算的现货利润为单家企业现货收益,因每家企业每日用电比例不同会影响售电公司在现货电量批发成本,从而每家企业现货收益不同</view></block><block wx:if="{{groupDetails.settelType==3}}"><view class="settle_hint_box_text">现货拼团中结算的度电现货收益为售电公司代理的整个大盘企业电量现货收益的加权平均</view></block><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="settle_hint_box_btn" bindtap="__e">我知道了</view></view></view></block><view class="groupInfo_combo_title common_title">套餐详情</view><view class="groupInfo_combo_item common_item"><view data-event-opts="{{[['tap',[['linktoElectriCompanyDetail',['$0'],['groupDetails.userId']]]]]}}" class="groupInfo_combo_item_company" bindtap="__e">{{''+groupDetails.ename+''}}<image src="../../static/images/right.png"></image></view><view data-event-opts="{{[['tap',[['openWord',['$0'],['groupDetails.rulesDescription']]]]]}}" class="groupInfo_combo_item_company" bindtap="__e">拼团规则说明<image src="../../static/images/right.png"></image></view><view>{{groupDetails.name}}</view><view>{{"用电年份: "+groupDetails.year+"年"}}</view><block wx:if="{{groupDetails.type==1}}"><view>拼团类型:月竞分成现货拼团<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==2}}"><view>拼团类型:固定价差现货拼团<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==3}}"><view>拼团类型:普通现货拼团<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==4}}"><view>拼团类型:固定价差<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{groupDetails.type==5}}"><view>拼团类型:分时价差<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{(groupDetails.type==1||groupDetails.type==2)&&groupDetails.settelType==1}}"><view>结算方式: 时清月结<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e7',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:else><block wx:if="{{(groupDetails.type==1||groupDetails.type==2)&&groupDetails.settelType==2}}"><view>结算方式:日清月结<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e8',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:else><block wx:if="{{(groupDetails.type==1||groupDetails.type==2)&&groupDetails.settelType==3}}"><view>结算方式:月清月结<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e9',['$event']]]]]}}" bindtap="__e"></image></view></block></block></block><block wx:if="{{groupDetails.type==1}}"><view>{{"最高月竞分成比例: "+groupDetails.maxShareRatio+"%"}}</view></block><block wx:if="{{groupDetails.type==2}}"><view>{{"最高保底价差: "+groupDetails.maxGuaranteedSpread+"厘"}}</view></block><block wx:if="{{groupDetails.intermediateProfitCeiling&&type==2&&(groupDetails.type==4||groupDetails.type==5)}}"><view>{{'居间让利上限:'+groupDetails.intermediateProfitCeiling+"厘"}}</view></block><view>{{"拼团电量上限:"+groupDetails.powerLimit+"万kWh"}}</view><block wx:if="{{type==2&&groupDetails.commissionRate}}"><view>{{"佣金:"+groupDetails.commissionRate+'%'}}<image style="margin-left:10rpx;" src="../../static/images/icon_wenhao.png" data-event-opts="{{[['tap',[['e10',['$event']]]]]}}" bindtap="__e"></image></view></block></view></view><view class="groupInfo_gradient"><view class="groupInfo_gradient_title common_title">套餐梯度</view><block wx:if="{{groupDetails.type==1||groupDetails.type==2}}"><view class="groupInfo_gradient_item common_item"><view>{{'拼包电量'+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得"+groupDetails.packageSettingsList[0].rangli+'%的现货收益'}}</view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh,获得"+item.rangli+'%的现货收益'}}</view></block></view></block><block wx:if="{{groupDetails.type==3}}"><view class="groupInfo_gradient_item common_item"><view>{{'拼包电量'+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得"+groupDetails.packageSettingsList[0].enterpriseShareRatio+'%的售电公司收益'}}</view><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh,获得"+item.enterpriseShareRatio+'%的售电公司收益'}}</view></block></view></block><block wx:if="{{groupDetails.type==4}}"><view class="groupInfo_gradient_item common_item"><view>{{'拼包电量'+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得"+groupDetails.packageSettingsList[0].reduce+'厘/度电价差收益'}}</view><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh,获得"+item.reduce+'厘/度电的价差收益'}}</view></block></view></block><block wx:if="{{groupDetails.type==5}}"><view class="groupInfo_gradient_item common_item"><view>{{"拼包电量"+groupDetails.packageSettingsList[0].electricityFull+"万kWh内,获得初始分时价差收益"}}</view><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{'拼包电量达'+item.electricityFull+"万kWh, 在初始分时价差基础上增加"+item.basePrice+'厘'}}</view></block></view></block></view><block wx:if="{{groupDetails.type==5}}"><view class="groupInfo_timePrice"><view class="groupInfo_timePrice_title common_title">初始分时价差</view><view class="table_box"><u-table vue-id="6547a932-1" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-2')+','+('6547a932-1')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-3')+','+('6547a932-2')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-4')+','+('6547a932-2')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<6}}"><u-tr vue-id="{{('6547a932-5-'+index)+','+('6547a932-1')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-6-'+index)+','+('6547a932-5-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-7-'+index)+','+('6547a932-5-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table><u-table vue-id="6547a932-8" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-9')+','+('6547a932-8')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-10')+','+('6547a932-9')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-11')+','+('6547a932-9')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index>=6&&index<12}}"><u-tr vue-id="{{('6547a932-12-'+index)+','+('6547a932-8')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-13-'+index)+','+('6547a932-12-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-14-'+index)+','+('6547a932-12-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table><u-table vue-id="6547a932-15" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-16')+','+('6547a932-15')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-17')+','+('6547a932-16')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-18')+','+('6547a932-16')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index>=12&&index<18}}"><u-tr vue-id="{{('6547a932-19-'+index)+','+('6547a932-15')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-20-'+index)+','+('6547a932-19-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-21-'+index)+','+('6547a932-19-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table><u-table vue-id="6547a932-22" font-size="18" align="center" color="#333" bind:__l="__l" vue-slots="{{['default']}}"><u-tr vue-id="{{('6547a932-23')+','+('6547a932-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-24')+','+('6547a932-23')}}" bind:__l="__l" vue-slots="{{['default']}}">分时</u-td><u-td vue-id="{{('6547a932-25')+','+('6547a932-23')}}" bind:__l="__l" vue-slots="{{['default']}}">价差(厘)</u-td></u-tr><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index>=18&&index<24}}"><u-tr vue-id="{{('6547a932-26-'+index)+','+('6547a932-22')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-td vue-id="{{('6547a932-27-'+index)+','+('6547a932-26-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{index+"时"}}</u-td><u-td vue-id="{{('6547a932-28-'+index)+','+('6547a932-26-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}">{{item.value}}</u-td></u-tr></block></block></u-table></view></view></block><view class="groupInfo_condition"><view class="groupInfo_condition_title common_title">限制条件</view><view class="groupInfo_condition_item common_item"><block wx:if="{{groupDetails.limitationFactor==1}}"><view>{{"峰期电量最低占比"+groupDetails.peakPeriodMin+"%"}}</view></block><block wx:if="{{groupDetails.limitationFactor==2}}"><view>{{"峰期电量最高占比"+groupDetails.peakPeriodMax+"%"}}</view></block><block wx:if="{{groupDetails.limitationFactor==3}}"><view>{{"谷期电量最低占比"+groupDetails.valleyPeriodMin+"%"}}</view></block><block wx:if="{{groupDetails.limitationFactor==4}}"><view>{{"谷期电量最高占比"+groupDetails.valleyPeriodMax+"%"}}</view></block><view>限<block wx:for="{{electricityLimited}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text>{{item}}</text></block>的用电性质企业</view></view></view><view class="groupInfo_btns"><view class="groupInfo_count">{{''+(remainder[0]==0?'拼团已结束':remainder[0])+''}}</view><view class="btns"><view data-event-opts="{{[['tap',[['linktoElectriCompanyDetail',['$0'],['groupDetails.userId']]]]]}}" class="shop" bindtap="__e">进店看看</view><view data-event-opts="{{[['tap',[['invitation',['$event']]]]]}}" class="invite" bindtap="__e">邀请企业</view><block wx:if="{{isParticipated==1&&remainder[0]!=0}}"><view data-event-opts="{{[['tap',[['exitGroup',['$0'],['groupDetails.id']]]]]}}" class="take" bindtap="__e">已参与</view></block><block wx:else><block wx:if="{{isParticipated==0&&remainder[0]!=0}}"><view data-event-opts="{{[['tap',[['linktoGroupCompany',['$0','$1'],['groupDetails.id','groupDetails.type']]]]]}}" class="take" bindtap="__e">参与拼团</view></block><block wx:else><view class="over">已结束</view></block></block></view></view><block wx:if="{{failDialog}}"><view class="fail_dialog"><view class="fail_dialog_box"><view class="fail_dialog_box_hint">{{hintText}}</view><view class="fail_dialog_box_btn"><block wx:if="{{failDialogBtnShow}}"><view data-event-opts="{{[['tap',[['cancleClcik',['$event']]]]]}}" class="btn_cnacle" bindtap="__e">取消</view></block><view data-event-opts="{{[['tap',[['handleClcik',['$event']]]]]}}" bindtap="__e">{{btnText}}</view></view></view></view></block><block wx:if="{{isshare}}"><bottom-window vue-id="6547a932-29" type="{{2}}" packageId="{{packageId}}" data-event-opts="{{[['^closeModel',[['closeModel']]]]}}" bind:closeModel="__e" bind:__l="__l"></bottom-window></block></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/group/groupInfo.wxss
浏览文件 @
a9280eb9
.groupInfo{position:relative;padding-top:32rpx;width:100%;min-height:100%;overflow:hidden;background-color:#f4f5f7}.groupInfo .groupInfo_swiper{padding:32rpx;padding-bottom:0;width:100%;text-align:center;background-color:#fff}.groupInfo .groupInfo_swiper swiper{height:68rpx;background:#fff8eb;-webkit-border-radius:99rpx;border-radius:99rpx}.groupInfo .groupInfo_swiper swiper swiper-item{height:100%}.groupInfo .groupInfo_swiper swiper swiper-item .swiper-item text{font-size:24rpx;color:#fda700;line-height:68rpx}.groupInfo .groupInfo_merit{padding:32rpx;padding-bottom:0;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_merit .groupInfo_hot{padding:24rpx;font-size:28rpx;color:#333;line-height:50rpx;background-color:#f4f5f7;-webkit-border-radius:16rpx;border-radius:16rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:75rpx;font-size:30rpx;color:#999}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_title view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100%}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_title view image{margin-left:16rpx;width:16rpx;height:30rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .company_swiper{height:300rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100rpx;font-size:30rpx;color:#333;border-bottom:1rpx solid #f4f5f7}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_item text{-webkit-box-flex:1;-webkit-flex:1;flex:1}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_item .groupInfo_cmp_item_time{font-size:24rpx;font-weight:500;color:#999;text-align:center}.groupInfo .groupInfo_combo{position:relative;padding:0 32rpx;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_combo .settle_hint{position:fixed;left:0;top:0;width:100vw;height:100vh;background:rgba(0,0,0,.5)}.groupInfo .groupInfo_combo .settle_hint .settle_hint_box{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:65vw;height:auto;background-color:#fff;-webkit-border-radius:16rpx;border-radius:16rpx}.groupInfo .groupInfo_combo .settle_hint .settle_hint_box .settle_hint_box_text{padding:32rpx;padding-bottom:0;font-size:24rpx;color:#666}.groupInfo .groupInfo_combo .settle_hint .settle_hint_box .settle_hint_box_btn{height:90rpx;line-height:90rpx;text-align:center;color:#1989fa}.groupInfo .groupInfo_combo .groupInfo_combo_item view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.groupInfo .groupInfo_combo .groupInfo_combo_item view image{width:30rpx;height:30rpx}.groupInfo .groupInfo_combo .groupInfo_combo_item .groupInfo_combo_item_company{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:90rpx;font-size:30rpx;color:#133675;border-bottom:1rpx solid #f4f5f7}.groupInfo .groupInfo_combo .groupInfo_combo_item .groupInfo_combo_item_company image{width:16rpx;height:32rpx}.groupInfo .groupInfo_gradient{padding:0 32rpx;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_gradient .groupInfo_gradient_title{margin-bottom:16rpx}.groupInfo .groupInfo_gradient .groupInfo_gradient_item view{color:#666}.groupInfo .groupInfo_timePrice{padding:32rpx;padding-top:0;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_timePrice .groupInfo_timePrice_title{margin-bottom:32rpx}.groupInfo .groupInfo_timePrice .table_box{display:-webkit-box;display:-webkit-flex;display:flex}.groupInfo .groupInfo_timePrice .table_box u-table{width:25%}.groupInfo .groupInfo_condition{padding:0 32rpx;margin-bottom:140rpx;background-color:#fff}.groupInfo .groupInfo_condition .groupInfo_condition_title{margin-bottom:16rpx}.groupInfo .groupInfo_btns{position:fixed;left:0;bottom:0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:32rpx;height:100rpx;background-color:#fff}.groupInfo .groupInfo_btns .groupInfo_count{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;font-size:24rpx;font-weight:500;color:#ec6045}.groupInfo .groupInfo_btns .btns{display:-webkit-box;display:-webkit-flex;display:flex}.groupInfo .groupInfo_btns .btns view{width:170rpx;height:70rpx;line-height:70rpx;text-align:center;font-size:28rpx;font-weight:500;color:#fff}.groupInfo .groupInfo_btns .btns .shop{background:#1989fa;-webkit-border-radius:16rpx 0rpx 0rpx 16rpx;border-radius:16rpx 0rpx 0rpx 16rpx}.groupInfo .groupInfo_btns .btns .invite{background:#fda700}.groupInfo .groupInfo_btns .btns .take{background:#ec6045;-webkit-border-radius:0rpx 16rpx 16rpx 0rpx;border-radius:0rpx 16rpx 16rpx 0rpx}.groupInfo .groupInfo_btns .btns .over{background:#ccc;-webkit-border-radius:0rpx 16rpx 16rpx 0rpx;border-radius:0rpx 16rpx 16rpx 0rpx}.groupInfo .fail_dialog{position:fixed;left:0;bottom:0;width:100vw;height:100vh;background:rgba(0,0,0,.5)}.groupInfo .fail_dialog .fail_dialog_box{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:560rpx;height:auto;background-color:#fff;-webkit-border-radius:16rpx;border-radius:16rpx}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_hint{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:40rpx 60rpx;height:190rpx;font-size:28rpx;color:#666}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_btn{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;height:auto;border-top:1rpx solid #f4f5f7}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_btn view{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100rpx;line-height:100rpx;text-align:center;font-size:34rpx;font-weight:500;color:#1989fa}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_btn .btn_cnacle{color:#999;border-right:1rpx solid #f4f5f7}.groupInfo .common_title{padding-top:30rpx;font-size:34rpx;color:#333;text-shadow:0rpx 2rpx 10rpx 0rpx rgba(0,0,0,.08)}.groupInfo .common_item{padding-bottom:16rpx}.groupInfo .common_item view{font-size:24rpx;color:#999;line-height:50rpx}
\ No newline at end of file
.groupInfo{position:relative;padding-top:32rpx;width:100%;min-height:100%;overflow:hidden;background-color:#f4f5f7}.groupInfo .groupInfo_swiper{padding:32rpx;padding-bottom:0;width:100%;text-align:center;background-color:#fff}.groupInfo .groupInfo_swiper swiper{height:68rpx;background:#fff8eb;-webkit-border-radius:99rpx;border-radius:99rpx}.groupInfo .groupInfo_swiper swiper swiper-item{height:100%}.groupInfo .groupInfo_swiper swiper swiper-item .swiper-item text{font-size:24rpx;color:#fda700;line-height:68rpx}.groupInfo .groupInfo_merit{padding:32rpx;padding-bottom:0;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_merit .groupInfo_hot{padding:24rpx;font-size:28rpx;color:#333;line-height:50rpx;background-color:#f4f5f7;-webkit-border-radius:16rpx;border-radius:16rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:75rpx;font-size:30rpx;color:#999}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_title view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100%}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_title view image{margin-left:16rpx;width:16rpx;height:30rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .company_swiper{height:300rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100rpx;font-size:30rpx;color:#333;border-bottom:1rpx solid #f4f5f7}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_item text{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:24rpx}.groupInfo .groupInfo_merit .groupInfo_cmp .groupInfo_cmp_item .groupInfo_cmp_item_time{font-size:22rpx;font-weight:500;color:#999;text-align:center}.groupInfo .groupInfo_combo{position:relative;padding:0 32rpx;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_combo .settle_hint{position:fixed;left:0;top:0;width:100vw;height:100vh;background:rgba(0,0,0,.5)}.groupInfo .groupInfo_combo .settle_hint .settle_hint_box{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:65vw;height:auto;background-color:#fff;-webkit-border-radius:16rpx;border-radius:16rpx}.groupInfo .groupInfo_combo .settle_hint .settle_hint_box .settle_hint_box_text{padding:32rpx;padding-bottom:0;font-size:24rpx;color:#666}.groupInfo .groupInfo_combo .settle_hint .settle_hint_box .settle_hint_box_btn{height:90rpx;line-height:90rpx;text-align:center;color:#1989fa}.groupInfo .groupInfo_combo .groupInfo_combo_item view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.groupInfo .groupInfo_combo .groupInfo_combo_item view image{width:30rpx;height:30rpx}.groupInfo .groupInfo_combo .groupInfo_combo_item .groupInfo_combo_item_company{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:90rpx;font-size:30rpx;color:#133675;border-bottom:1rpx solid #f4f5f7}.groupInfo .groupInfo_combo .groupInfo_combo_item .groupInfo_combo_item_company image{width:16rpx;height:32rpx}.groupInfo .groupInfo_gradient{padding:0 32rpx;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_gradient .groupInfo_gradient_title{margin-bottom:16rpx}.groupInfo .groupInfo_gradient .groupInfo_gradient_item view{color:#666}.groupInfo .groupInfo_timePrice{padding:32rpx;padding-top:0;margin-bottom:32rpx;background-color:#fff}.groupInfo .groupInfo_timePrice .groupInfo_timePrice_title{margin-bottom:32rpx}.groupInfo .groupInfo_timePrice .table_box{display:-webkit-box;display:-webkit-flex;display:flex}.groupInfo .groupInfo_timePrice .table_box u-table{width:25%}.groupInfo .groupInfo_condition{padding:0 32rpx;margin-bottom:140rpx;background-color:#fff}.groupInfo .groupInfo_condition .groupInfo_condition_title{margin-bottom:16rpx}.groupInfo .groupInfo_btns{position:fixed;left:0;bottom:0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:32rpx;height:100rpx;background-color:#fff}.groupInfo .groupInfo_btns .groupInfo_count{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;font-size:24rpx;font-weight:500;color:#ec6045}.groupInfo .groupInfo_btns .btns{display:-webkit-box;display:-webkit-flex;display:flex}.groupInfo .groupInfo_btns .btns view{width:170rpx;height:70rpx;line-height:70rpx;text-align:center;font-size:28rpx;font-weight:500;color:#fff}.groupInfo .groupInfo_btns .btns .shop{background:#1989fa;-webkit-border-radius:16rpx 0rpx 0rpx 16rpx;border-radius:16rpx 0rpx 0rpx 16rpx}.groupInfo .groupInfo_btns .btns .invite{background:#fda700}.groupInfo .groupInfo_btns .btns .take{background:#ec6045;-webkit-border-radius:0rpx 16rpx 16rpx 0rpx;border-radius:0rpx 16rpx 16rpx 0rpx}.groupInfo .groupInfo_btns .btns .over{background:#ccc;-webkit-border-radius:0rpx 16rpx 16rpx 0rpx;border-radius:0rpx 16rpx 16rpx 0rpx}.groupInfo .fail_dialog{position:fixed;left:0;bottom:0;width:100vw;height:100vh;background:rgba(0,0,0,.5)}.groupInfo .fail_dialog .fail_dialog_box{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:560rpx;height:auto;background-color:#fff;-webkit-border-radius:16rpx;border-radius:16rpx}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_hint{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:40rpx 60rpx;height:190rpx;font-size:28rpx;color:#666}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_btn{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;height:auto;border-top:1rpx solid #f4f5f7}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_btn view{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100rpx;line-height:100rpx;text-align:center;font-size:34rpx;font-weight:500;color:#1989fa}.groupInfo .fail_dialog .fail_dialog_box .fail_dialog_box_btn .btn_cnacle{color:#999;border-right:1rpx solid #f4f5f7}.groupInfo .common_title{padding-top:30rpx;font-size:34rpx;color:#333;text-shadow:0rpx 2rpx 10rpx 0rpx rgba(0,0,0,.08)}.groupInfo .common_item{padding-bottom:16rpx}.groupInfo .common_item view{font-size:24rpx;color:#999;line-height:50rpx}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/index/index.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/index/index"
],{
"0701"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"4da6"
),
i
=
n
.
n
(
a
);
i
.
a
},
"118b"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
;
n
.
d
(
t
,
"b"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
var
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
(
e
.
_self
.
_c
,
e
.
isEstablish
&&
e
.
recommendedPackageList
.
length
>
0
?
e
.
__map
(
e
.
recommendedPackageList
,(
function
(
t
,
n
){
var
a
=
e
.
__get_orig
(
t
),
i
=
1
==
t
.
type
||
2
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
3
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
r
=
4
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
s
=
5
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
;
return
{
$orig
:
a
,
l0
:
i
,
l1
:
o
,
l2
:
r
,
l3
:
s
}})):
null
);
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l4
:
n
}})},
o
=
[]},
"4da6"
:
function
(
e
,
t
,
n
){},
5030
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
n
(
"57ea"
);
var
a
,
i
=
r
(
n
(
"9036"
)),
o
=
n
(
"86df"
);
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
function
s
(
e
,
t
,
n
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
n
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
n
,
e
}
var
c
=
{
created
:
function
(){
var
t
=
this
;
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
n
=
e
.
getStorageSync
(
"user"
);
if
(
1
==
t
.
type
){
var
a
=
n
.
userType
;
if
(
1
==
a
||
5
==
a
){
var
i
=
n
.
createById
;
if
(
i
&&
n
.
tenterpriseRole
){
var
o
=
{};
o
=
n
.
tenterpriseRole
,
1
==
o
.
joinPackage
&&
(
t
.
isEstablish
=!
1
),
t
.
iconList
=
t
.
iconList
.
map
((
function
(
e
){
for
(
var
t
in
o
)
t
==
e
.
limit
&&
1
==
o
[
t
]
&&
(
e
.
path
=
""
);
return
e
}))}}
else
t
.
isCreate
=!
1
,
t
.
isEstablish
=!
1
}
t
.
getAllPackageCompanies
(),
t
.
getStatistics
(),
t
.
getSalesInformation
()},
onShow
:
function
(){
this
.
getAllPackageCompanies
(),
this
.
getStatistics
(),
this
.
isEstablish
&&
this
.
getRecommendedPackageList
()},
data
:
function
(){
return
{
type
:
""
,
takePackgeList
:[],
electricCount
:
0
,
enterpriseCount
:
0
,
transactionPower
:
0
,
iconList
:[{
name
:
"现货拼团"
,
imgUrl
:
"../../static/images/index/icon_01.png"
,
path
:
"/pages/group/group"
,
limit
:
""
},{
name
:
"价差拼团"
,
imgUrl
:
"../../static/images/index/icon_02.png"
,
path
:
"/pages/group/group"
,
limit
:
""
},{
name
:
"独立询价"
,
imgUrl
:
"../../static/images/index/icon_03.png"
,
path
:
"/pagesA/enquiry/Demand"
,
limit
:
"inquiry"
}],
moreShow
:
!
1
,
activeIndex
:
"-1"
,
selectIndex
:
""
,
recommendedPackageList
:[],
salesInformationList
:[],
tabbarIndex
:
0
,
isCreate
:
!
0
,
isEstablish
:
!
0
,
remainder
:[],
setIntervaltimerindex
:
""
}},
onHide
:
function
(){
clearInterval
(
this
.
setIntervaltimerindex
)},
onUnload
:
function
(){
clearInterval
(
this
.
setIntervaltimerindex
)},
methods
:(
a
=
{
getAllPackageCompanies
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
allPackageCompanies
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
takePackgeList
=
t
.
data
.
map
((
function
(
e
){
return
e
.
enterpriseName
.
length
>
6
&&
(
e
.
enterpriseName
=
e
.
enterpriseName
.
slice
(
0
,
6
)
+
"..."
),
e
})))}))},
getStatistics
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
statistics
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
electricCount
=
t
.
data
.
electricCount
,
e
.
enterpriseCount
=
t
.
data
.
enterpriseCount
,
e
.
transactionPower
=
t
.
data
.
transactionPower
)}))},
getRecommendedPackageList
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
recommendedPackageList
).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
e
.
recommendedPackageList
=
t
.
data
;
var
n
=
[],
a
=
[];
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
n
.
push
((
0
,
o
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
a
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
e
.
setIntervaltimerindex
=
setInterval
((
function
(){
a
.
map
((
function
(
t
,
i
){
a
[
i
]
>
0
&&
(
a
[
i
]
-=
1
e3
,
n
[
i
]
=
(
0
,
o
.
getDuration
)(
a
[
i
]),
e
.
remainder
=
n
)})),
e
.
$forceUpdate
()}),
1
e3
)}}))},
getSalesInformation
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
salesInformation
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
salesInformationList
=
t
.
data
)}))},
getMore
:
function
(
e
){
var
t
=
this
;
console
.
log
(
e
),
console
.
log
(
t
.
activeIndex
),
t
.
activeIndex
==
e
?(
t
.
moreShow
=!
1
,
t
.
activeIndex
=
"-1"
):(
t
.
moreShow
=!
0
,
t
.
activeIndex
=
e
)},
navToSerach
:
function
(){
e
.
navigateTo
({
url
:
"/pages/index/serach"
})},
linkToPages
:
function
(
t
){
var
n
=
this
.
iconList
[
t
].
path
;
if
(
n
)
n
.
indexOf
(
"group"
)
>
0
&&
e
.
reLaunch
({
url
:
"/pages/group/group?id="
+
t
}),
e
.
navigateTo
({
url
:
n
});
else
{
var
a
=
e
.
getStorageSync
(
"user"
).
createById
;
a
?
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
}):
e
.
showToast
({
title
:
"开发中"
,
icon
:
"none"
})}},
linktoGroup
:
function
(){
var
t
=
e
.
getStorageSync
(
"user"
);
t
?(
e
.
switchTab
({
url
:
"/pages/group/group"
}),
e
.
navigateTo
({
url
:
"/pages/group/group"
})):
e
.
navigateTo
({
url
:
"../login/login"
})},
linktoCompanyInfo
:
function
(
t
){
console
.
log
(
t
);
var
n
=
e
.
getStorageSync
(
"user"
);
n
?
e
.
navigateTo
({
url
:
"/pages/CompanyInfo/CompanyInfo?id="
+
t
}):
e
.
navigateTo
({
url
:
"../login/login"
})},
linktoGroupInfo
:
function
(
t
){
console
.
log
(
t
),
e
.
navigateTo
({
url
:
"/pages/group/groupInfo?id="
+
t
})},
toareaServe
:
function
(){
e
.
navigateTo
({
url
:
"/pages/index/areaServe"
})},
linktoInformation
:
function
(){
e
.
navigateTo
({
url
:
"/pages/index/Information"
})},
linktoMoreInfo
:
function
(
t
){
console
.
log
(
t
),
e
.
navigateTo
({
url
:
"/pages/index/MoreInformation?id="
+
t
})}},
s
(
a
,
"getMore"
,(
function
(
e
){
this
.
selectIndex
=
e
,
this
.
moreShow
=!
this
.
moreShow
})),
s
(
a
,
"linktoElectriCompany"
,(
function
(){
e
.
navigateTo
({
url
:
"/pagesA/electriCompany/electriCompany"
})})),
a
)};
t
.
default
=
c
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"8d9f"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"5030"
),
i
=
n
.
n
(
a
);
for
(
var
o
in
a
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
o
);
t
[
"default"
]
=
i
.
a
},
d1f7
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
t
=
a
(
n
(
"e37d"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
e37d
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"118b"
),
i
=
n
(
"8d9f"
);
for
(
var
o
in
i
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
o
);
n
(
"0701"
);
var
r
,
s
=
n
(
"f0c5"
),
c
=
Object
(
s
[
"a"
])(
i
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
r
);
t
[
"default"
]
=
c
.
exports
}},[[
"d1f7"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/index/index"
],{
"0701"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"4da6"
),
i
=
n
.
n
(
a
);
i
.
a
},
"4da6"
:
function
(
e
,
t
,
n
){},
5030
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
n
(
"57ea"
);
var
a
,
i
=
r
(
n
(
"9036"
)),
o
=
n
(
"86df"
);
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
function
c
(
e
,
t
,
n
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
n
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
n
,
e
}
var
s
=
{
created
:
function
(){
var
t
=
this
;
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
n
=
e
.
getStorageSync
(
"user"
);
if
(
1
==
t
.
type
){
var
a
=
n
.
userType
;
if
(
1
==
a
||
5
==
a
){
var
i
=
n
.
createById
;
if
(
i
&&
n
.
tenterpriseRole
){
var
o
=
{};
o
=
n
.
tenterpriseRole
,
1
==
o
.
joinPackage
&&
(
t
.
isEstablish
=!
1
),
t
.
iconList
=
t
.
iconList
.
map
((
function
(
e
){
for
(
var
t
in
o
)
t
==
e
.
limit
&&
1
==
o
[
t
]
&&
(
e
.
path
=
""
);
return
e
}))}}
else
t
.
isCreate
=!
1
,
t
.
isEstablish
=!
1
}
t
.
getAllPackageCompanies
(),
t
.
getStatistics
(),
t
.
getSalesInformation
()},
onShow
:
function
(){
this
.
getAllPackageCompanies
(),
this
.
getStatistics
(),
this
.
isEstablish
&&
this
.
getRecommendedPackageList
()},
data
:
function
(){
return
{
type
:
""
,
takePackgeList
:[],
electricCount
:
0
,
enterpriseCount
:
0
,
transactionPower
:
0
,
iconList
:[{
name
:
"现货拼团"
,
imgUrl
:
"../../static/images/index/icon_01.png"
,
path
:
"/pages/group/group"
,
limit
:
""
},{
name
:
"价差拼团"
,
imgUrl
:
"../../static/images/index/icon_02.png"
,
path
:
"/pages/group/group"
,
limit
:
""
},{
name
:
"独立询价"
,
imgUrl
:
"../../static/images/index/icon_03.png"
,
path
:
"/pagesA/enquiry/Demand"
,
limit
:
"inquiry"
}],
moreShow
:
!
1
,
activeIndex
:
"-1"
,
selectIndex
:
""
,
recommendedPackageList
:[],
salesInformationList
:[],
tabbarIndex
:
0
,
isCreate
:
!
0
,
isEstablish
:
!
0
,
remainder
:[],
setIntervaltimerindex
:
""
}},
onHide
:
function
(){
clearInterval
(
this
.
setIntervaltimerindex
)},
onUnload
:
function
(){
clearInterval
(
this
.
setIntervaltimerindex
)},
methods
:(
a
=
{
getAllPackageCompanies
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
allPackageCompanies
).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
var
n
=
t
.
data
;
e
.
takePackgeList
=
n
.
map
((
function
(
e
){
return
function
(
t
){
e
.
enterpriseName
=
t
.
substring
(
0
,
2
)
+
"***有限公司"
}(
e
.
enterpriseName
),
e
}))}}))},
getStatistics
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
statistics
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
electricCount
=
t
.
data
.
electricCount
,
e
.
enterpriseCount
=
t
.
data
.
enterpriseCount
,
e
.
transactionPower
=
t
.
data
.
transactionPower
)}))},
getRecommendedPackageList
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
recommendedPackageList
).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
e
.
recommendedPackageList
=
t
.
data
;
var
n
=
[],
a
=
[];
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
n
.
push
((
0
,
o
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
a
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
e
.
setIntervaltimerindex
=
setInterval
((
function
(){
a
.
map
((
function
(
t
,
i
){
a
[
i
]
>
0
&&
(
a
[
i
]
-=
1
e3
,
n
[
i
]
=
(
0
,
o
.
getDuration
)(
a
[
i
]),
e
.
remainder
=
n
)})),
e
.
$forceUpdate
()}),
1
e3
)}}))},
getSalesInformation
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
i
.
default
.
salesInformation
).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
salesInformationList
=
t
.
data
)}))},
getMore
:
function
(
e
){
var
t
=
this
;
console
.
log
(
e
),
console
.
log
(
t
.
activeIndex
),
t
.
activeIndex
==
e
?(
t
.
moreShow
=!
1
,
t
.
activeIndex
=
"-1"
):(
t
.
moreShow
=!
0
,
t
.
activeIndex
=
e
)},
navToSerach
:
function
(){
e
.
navigateTo
({
url
:
"/pages/index/serach"
})},
linkToPages
:
function
(
t
){
var
n
=
this
.
iconList
[
t
].
path
;
if
(
n
)
n
.
indexOf
(
"group"
)
>
0
&&
e
.
reLaunch
({
url
:
"/pages/group/group?id="
+
t
}),
e
.
navigateTo
({
url
:
n
});
else
{
var
a
=
e
.
getStorageSync
(
"user"
).
createById
;
a
?
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
}):
e
.
showToast
({
title
:
"开发中"
,
icon
:
"none"
})}},
linktoGroup
:
function
(){
var
t
=
e
.
getStorageSync
(
"user"
);
t
?(
e
.
switchTab
({
url
:
"/pages/group/group"
}),
e
.
navigateTo
({
url
:
"/pages/group/group"
})):
e
.
navigateTo
({
url
:
"../login/login"
})},
linktoCompanyInfo
:
function
(
t
){
console
.
log
(
t
);
var
n
=
e
.
getStorageSync
(
"user"
);
n
?
e
.
navigateTo
({
url
:
"/pages/CompanyInfo/CompanyInfo?id="
+
t
}):
e
.
navigateTo
({
url
:
"../login/login"
})},
linktoGroupInfo
:
function
(
t
){
console
.
log
(
t
),
e
.
navigateTo
({
url
:
"/pages/group/groupInfo?id="
+
t
})},
toareaServe
:
function
(){
e
.
navigateTo
({
url
:
"/pages/index/areaServe"
})},
linktoInformation
:
function
(){
e
.
navigateTo
({
url
:
"/pages/index/Information"
})},
linktoMoreInfo
:
function
(
t
){
console
.
log
(
t
),
e
.
navigateTo
({
url
:
"/pages/index/MoreInformation?id="
+
t
})}},
c
(
a
,
"getMore"
,(
function
(
e
){
this
.
selectIndex
=
e
,
this
.
moreShow
=!
this
.
moreShow
})),
c
(
a
,
"linktoElectriCompany"
,(
function
(){
e
.
navigateTo
({
url
:
"/pagesA/electriCompany/electriCompany"
})})),
a
)};
t
.
default
=
s
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"8d9f"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"5030"
),
i
=
n
.
n
(
a
);
for
(
var
o
in
a
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
o
);
t
[
"default"
]
=
i
.
a
},
d1f7
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
t
=
a
(
n
(
"e37d"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
e37d
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"ebfc"
),
i
=
n
(
"8d9f"
);
for
(
var
o
in
i
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
o
);
n
(
"0701"
);
var
r
,
c
=
n
(
"f0c5"
),
s
=
Object
(
c
[
"a"
])(
i
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
r
);
t
[
"default"
]
=
s
.
exports
},
ebfc
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
;
n
.
d
(
t
,
"b"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
var
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
(
e
.
_self
.
_c
,
e
.
isEstablish
&&
e
.
recommendedPackageList
.
length
>
0
?
e
.
__map
(
e
.
recommendedPackageList
,(
function
(
t
,
n
){
var
a
=
e
.
__get_orig
(
t
),
i
=
1
==
t
.
type
||
2
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
3
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
r
=
4
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
c
=
5
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
;
return
{
$orig
:
a
,
l0
:
i
,
l1
:
o
,
l2
:
r
,
l3
:
c
}})):
null
);
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l4
:
n
}})},
o
=
[]}},[[
"d1f7"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/login/login.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/login/login"
],{
"1ece"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
=
c
(
n
(
"9036"
)),
i
=
n
(
"86df"
);
function
c
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
onLoad
:
function
(
t
){
e
.
hideHomeButton
();
var
n
=
this
;
if
(
console
.
log
(
t
),
t
.
scene
){
var
c
=
decodeURIComponent
(
t
.
scene
);
n
.
inviteType
=
c
.
split
(
"&&"
)[
0
];
var
r
=
JSON
.
stringify
(
c
.
split
(
"&&"
)[
1
]);
r
.
indexOf
(
"ht="
)
>=
0
?(
n
.
culiangcontractId
=
r
.
split
(
"="
)[
1
],
e
.
showToast
({
title
:
n
.
culiangcontractId
,
icon
:
"none"
,
duration
:
3
e3
})):(
n
.
userId
=
r
,(
0
,
i
.
get
)(
o
.
default
.
getUserInformation
,{
type
:
"2"
,
userId
:
n
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
?
n
.
inviteCode
=
t
.
data
.
inviteCode
:
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
,
duration
:
1200
})})))}
else
n
.
inviteType
=
t
.
inviteType
,
n
.
inviteCode
=
t
.
inviteCode
;
this
.
contractId
=
t
.
contractId
,
this
.
inviterUserId
=
t
.
inviterUserId
?
t
.
inviterUserId
:
""
,
this
.
roleId
=
t
.
roleId
?
t
.
roleId
:
""
,(
this
.
inviteType
||
this
.
inviterUserId
||
this
.
roleId
)
&&
(
this
.
isCreated
=!
1
)},
data
:
function
(){
return
{
inviteType
:
""
,
inviteCode
:
""
,
contractId
:
null
,
inviterUserId
:
""
,
roleId
:
""
,
socketTask
:
null
,
type
:
""
,
openId
:
""
,
isCreated
:
!
0
,
culiangcontractId
:
""
}},
methods
:{
getIdentity
:
function
(
e
){
this
.
type
=
e
.
detail
.
value
},
getUserInfo
:
function
(){
var
t
=
this
;
t
.
inviteType
&&
(
t
.
type
=
4
!=
t
.
inviteType
?
1
:
2
),
t
.
inviterUserId
&&
(
t
.
type
=
1
),
33
==
t
.
inviteType
&&
(
t
.
type
=
2
),
t
.
type
?
e
.
getUserProfile
({
desc
:
"用于完善会员资料"
,
success
:
function
(
n
){
e
.
setStorageSync
(
"userInfo"
,
n
.
userInfo
),
e
.
showLoading
({
title
:
"加载中"
}),
e
.
login
({
success
:
function
(
n
){
var
c
=
n
.
code
,
r
=
e
.
getStorageSync
(
"userInfo"
).
nickName
,
s
=
e
.
getStorageSync
(
"userInfo"
).
avatarUrl
;(
0
,
i
.
get
)(
o
.
default
.
login
,{
type
:
t
.
type
,
inviterUserId
:
t
.
inviterUserId
,
roleId
:
t
.
roleId
,
code
:
c
,
nickName
:
r
,
avatar
:
s
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
){
var
o
=
n
.
data
.
user
.
openId
;
t
.
openId
=
e
.
getStorageSync
(
"openId"
),
e
.
setStorageSync
(
"openId"
,
o
),
e
.
setStorageSync
(
"type"
,
t
.
type
),
e
.
setStorageSync
(
"user"
,
n
.
data
.
user
);
var
i
=
n
.
data
.
sign
;
if
(
i
)
e
.
reLaunch
({
url
:
"/pages/index/index"
}),
e
.
hideLoading
();
else
if
(
t
.
inviteType
){
var
c
=
"/pages/register/register?inviteType="
+
t
.
inviteType
+
"&inviteCode="
+
t
.
inviteCode
;
t
.
contractId
&&
(
c
=
c
+
"&contractId="
+
t
.
contractId
),
t
.
culiangcontractId
&&
(
c
=
c
+
"&culiangcontractId="
+
t
.
culiangcontractId
),
e
.
reLaunch
({
url
:
c
})}
else
e
.
reLaunch
({
url
:
"/pages/register/register"
})}
else
e
.
showToast
({
title
:
n
.
msg
,
icon
:
"none"
})}))}})}}):
e
.
showToast
({
title
:
"请选择类型"
,
icon
:
"none"
})},
WebSocket
:
function
(){
var
t
=
this
,
n
=
this
.
type
+
this
.
openId
;
console
.
log
(
this
.
type
),
console
.
log
(
this
.
openId
),
console
.
log
(
n
),
t
.
socketTask
=
e
.
connectSocket
({
url
:
"wss://192.168.1.163:9099/api/WebSocket?typeUserId="
+
n
,
success
:
function
(
e
){
console
.
log
(
e
,
"连接成功"
)}}),
t
.
socketTask
.
onOpen
((
function
(
e
){
t
.
is_open_socket
=!
0
,
t
.
socketTask
.
onMessage
((
function
(
e
){
console
.
log
(
e
)})),
t
.
socketTask
.
onClose
((
function
(
e
){
console
.
log
(
"关闭"
)}))}))}}};
t
.
default
=
r
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"5f82"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
o
=
n
(
"1ece"
),
i
=
n
.
n
(
o
);
for
(
var
c
in
o
)
"default"
!==
c
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
c
);
t
[
"default"
]
=
i
.
a
},
aa45
:
function
(
e
,
t
,
n
){
"use strict"
;
var
o
;
n
.
d
(
t
,
"b"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
c
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
o
}));
var
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
c
=
[]},
c1d4
:
function
(
e
,
t
,
n
){},
cc20
:
function
(
e
,
t
,
n
){
"use strict"
;
var
o
=
n
(
"c1d4"
),
i
=
n
.
n
(
o
);
i
.
a
},
d33c
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
o
=
n
(
"aa45"
),
i
=
n
(
"5f82"
);
for
(
var
c
in
i
)
"default"
!==
c
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
c
);
n
(
"cc20"
);
var
r
,
s
=
n
(
"f0c5"
),
a
=
Object
(
s
[
"a"
])(
i
[
"default"
],
o
[
"b"
],
o
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
o
[
"a"
],
r
);
t
[
"default"
]
=
a
.
exports
},
e3f0
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
o
(
n
(
"66fd"
));
var
t
=
o
(
n
(
"d33c"
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])}},[[
"e3f0"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/login/login"
],{
"1ece"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
i
=
c
(
n
(
"9036"
)),
o
=
n
(
"86df"
);
function
c
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
onLoad
:
function
(
t
){
e
.
hideHomeButton
();
var
n
=
this
;
if
(
console
.
log
(
t
),
t
.
scene
){
var
c
=
decodeURIComponent
(
t
.
scene
);
n
.
inviteType
=
c
.
split
(
"&&"
)[
0
];
var
r
=
JSON
.
stringify
(
c
.
split
(
"&&"
)[
1
]);
r
.
indexOf
(
"ht="
)
>=
0
?(
n
.
culiangcontractId
=
r
.
split
(
"="
)[
1
],
e
.
showToast
({
title
:
n
.
culiangcontractId
,
icon
:
"none"
,
duration
:
3
e3
})):(
n
.
userId
=
r
,(
0
,
o
.
get
)(
i
.
default
.
getUserInformation
,{
type
:
"2"
,
userId
:
n
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
?
n
.
inviteCode
=
t
.
data
.
inviteCode
:
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
,
duration
:
1200
})})))}
else
n
.
inviteType
=
t
.
inviteType
,
n
.
inviteCode
=
t
.
inviteCode
;
this
.
contractId
=
t
.
contractId
,
this
.
inviterUserId
=
t
.
inviterUserId
?
t
.
inviterUserId
:
""
,
this
.
roleId
=
t
.
roleId
?
t
.
roleId
:
""
,(
this
.
inviteType
||
this
.
inviterUserId
||
this
.
roleId
)
&&
(
this
.
isCreated
=!
1
)},
data
:
function
(){
return
{
inviteType
:
""
,
inviteCode
:
""
,
contractId
:
null
,
inviterUserId
:
""
,
roleId
:
""
,
socketTask
:
null
,
type
:
""
,
openId
:
""
,
isCreated
:
!
0
,
culiangcontractId
:
""
}},
methods
:{
getIdentity
:
function
(
e
){
this
.
type
=
e
.
detail
.
value
},
getUserInfo
:
function
(){
var
t
=
this
;
t
.
inviteType
&&
(
t
.
type
=
4
!=
t
.
inviteType
?
1
:
2
),
t
.
inviterUserId
&&
(
t
.
type
=
1
),
33
==
t
.
inviteType
&&
(
t
.
type
=
2
),
t
.
type
?
e
.
getUserProfile
({
desc
:
"用于完善会员资料"
,
success
:
function
(
n
){
var
c
=
n
.
userInfo
.
nickName
,
r
=
n
.
userInfo
.
avatarUrl
;
e
.
showLoading
({
title
:
"加载中"
}),
e
.
login
({
success
:
function
(
n
){
var
s
=
n
.
code
;(
0
,
o
.
get
)(
i
.
default
.
login
,{
type
:
t
.
type
,
inviterUserId
:
t
.
inviterUserId
,
roleId
:
t
.
roleId
,
code
:
s
,
nickName
:
c
,
avatar
:
r
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
){
n
.
data
.
user
.
openId
;
e
.
setStorageSync
(
"type"
,
t
.
type
),
e
.
setStorageSync
(
"user"
,
n
.
data
.
user
);
var
i
=
n
.
data
.
sign
;
if
(
i
)
e
.
reLaunch
({
url
:
"/pages/index/index"
}),
e
.
hideLoading
();
else
if
(
t
.
inviteType
){
var
o
=
"/pages/register/register?inviteType="
+
t
.
inviteType
+
"&inviteCode="
+
t
.
inviteCode
;
t
.
contractId
&&
(
o
=
o
+
"&contractId="
+
t
.
contractId
),
t
.
culiangcontractId
&&
(
o
=
o
+
"&culiangcontractId="
+
t
.
culiangcontractId
),
e
.
reLaunch
({
url
:
o
})}
else
e
.
reLaunch
({
url
:
"/pages/register/register"
})}
else
e
.
showToast
({
title
:
n
.
msg
,
icon
:
"none"
})}))}})}}):
e
.
showToast
({
title
:
"请选择类型"
,
icon
:
"none"
})},
WebSocket
:
function
(){
var
t
=
this
,
n
=
this
.
type
+
this
.
openId
;
console
.
log
(
this
.
type
),
console
.
log
(
this
.
openId
),
console
.
log
(
n
),
t
.
socketTask
=
e
.
connectSocket
({
url
:
"wss://192.168.1.163:9099/api/WebSocket?typeUserId="
+
n
,
success
:
function
(
e
){
console
.
log
(
e
,
"连接成功"
)}}),
t
.
socketTask
.
onOpen
((
function
(
e
){
t
.
is_open_socket
=!
0
,
t
.
socketTask
.
onMessage
((
function
(
e
){
console
.
log
(
e
)})),
t
.
socketTask
.
onClose
((
function
(
e
){
console
.
log
(
"关闭"
)}))}))}}};
t
.
default
=
r
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"5f82"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"1ece"
),
o
=
n
.
n
(
i
);
for
(
var
c
in
i
)
"default"
!==
c
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
c
);
t
[
"default"
]
=
o
.
a
},
c1d4
:
function
(
e
,
t
,
n
){},
c674
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
;
n
.
d
(
t
,
"b"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
c
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
o
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
c
=
[]},
cc20
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
=
n
(
"c1d4"
),
o
=
n
.
n
(
i
);
o
.
a
},
d33c
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"c674"
),
o
=
n
(
"5f82"
);
for
(
var
c
in
o
)
"default"
!==
c
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
c
);
n
(
"cc20"
);
var
r
,
s
=
n
(
"f0c5"
),
a
=
Object
(
s
[
"a"
])(
o
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
i
[
"a"
],
r
);
t
[
"default"
]
=
a
.
exports
},
e3f0
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
i
(
n
(
"66fd"
));
var
t
=
i
(
n
(
"d33c"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])}},[[
"e3f0"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/myInfo/myInfo"
],{
"2a3a"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
;
n
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
o
=
[]},
"4b1f"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
i
(
n
(
"66fd"
));
var
t
=
i
(
n
(
"8d93"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
"8d93"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"2a3a"
),
r
=
n
(
"ab4b"
);
for
(
var
o
in
r
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
o
);
n
(
"a327"
);
var
s
,
a
=
n
(
"f0c5"
),
g
=
Object
(
a
[
"a"
])(
r
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
"4e9259b6"
,
null
,
!
1
,
i
[
"a"
],
s
);
t
[
"default"
]
=
g
.
exports
},
a327
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
=
n
(
"f8ff"
),
r
=
n
.
n
(
i
);
r
.
a
},
ab4b
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"cad3"
),
r
=
n
.
n
(
i
);
for
(
var
o
in
i
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
o
);
t
[
"default"
]
=
r
.
a
},
cad3
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
i
=
n
(
"86df"
),
r
=
o
(
n
(
"9036"
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
s
=
getApp
(),
a
=
{
data
:
function
(){
return
{
contractNum
:
""
,
contractA
:
!
1
,
earningsList
:[],
earningsList_dianke
:[{
id
:
1
,
name
:
"现货收益"
,
others
:
""
,
url
:
"/pages/Earnings/CashEarnings/CashEarnings"
},{
id
:
2
,
name
:
"居间收益"
,
others
:
""
,
url
:
"/pages/Earnings/IntermediateEarings/IntermediateEarings"
},{
id
:
3
,
name
:
"佣金收益"
,
others
:
""
,
url
:
"/pages/Earnings/commissionEarnings/commissionEarnings"
},{
id
:
4
,
name
:
"存量居间收益"
,
others
:
""
,
url
:
"/pages/Earnings/betweenEarnings/betweenEarnings"
},{
id
:
6
,
name
:
"服务费收益"
,
others
:
""
,
url
:
"/pages/Earnings/service/service"
},{
id
:
5
,
name
:
"待确认收益"
,
others
:
""
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_gaoji
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"现货收益"
,
others
:
""
,
limit
:
"spotIncome"
,
url
:
"/pages/Earnings/CashEarnings/CashEarnings"
},{
id
:
3
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_zhongji
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"现货收益"
,
others
:
""
,
limit
:
"spotIncome"
,
url
:
"/pages/Earnings/CashEarnings/CashEarnings"
},{
id
:
3
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_putong
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_cunliang
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
personageList
:[],
personageList_dianke
:[{
id
:
3
,
name
:
"我的企业"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/wdqy.png"
,
url
:
"/pages/MyBusiness/MyBusiness"
},{
id
:
1
,
name
:
"企业合同"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/qyht.png"
,
url
:
"/pagesA/Contracts/EnterpriseContract/EnterpriseContract"
},{
id
:
2
,
name
:
"拼团记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/ptdk.png"
,
url
:
"/pagesA/MyGroups/MyGroups"
},{
id
:
5
,
name
:
"询价记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/xjdk.png"
,
url
:
"/pagesA/enquiry/Enquiry"
},{
id
:
4
,
name
:
"我的服务单"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/wdfwd.png"
,
url
:
"/pagesA/MyServeOeder/ServeOrder"
},{
id
:
6
,
name
:
"发票管理"
,
others
:
"null"
,
image
:
"https://fire.huoshitou.net/profile/icon/fbdk.png"
,
url
:
"/pages/Invoice/invoice"
}],
personageList_gaoji
:[{
id
:
2
,
name
:
"拼团记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/pt.png"
,
limit
:
"myGroupRecord"
,
url
:
"/pagesA/MyGroups/MyGroups"
},{
id
:
5
,
name
:
"询价记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/xj.png"
,
url
:
"/pagesA/enquiry/Enquiry"
},{
id
:
6
,
name
:
"发票管理"
,
others
:
"null"
,
limit
:
"invoiceManagement"
,
image
:
"https://fire.huoshitou.net/profile/icon/fb.png"
,
url
:
"/pages/Invoice/invoice"
},{
id
:
5
,
name
:
"结算联系单"
,
limit
:
"retailSettlementForm"
,
others
:
"null"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
},{
id
:
4
,
name
:
"我的电客"
,
others
:
"未绑定"
,
image
:
"https://fire.huoshitou.net/profile/icon/dk.png"
,
limit
:
"myElectric"
,
url
:
"/pages/myInfo/Myguest"
}],
personageList_zhongji
:[{
id
:
4
,
name
:
"发票管理"
,
others
:
"null"
,
limit
:
"invoiceManagement"
,
image
:
"https://fire.huoshitou.net/profile/icon/fb.png"
,
url
:
"/pages/Invoice/invoice"
},{
id
:
5
,
name
:
"结算联系单"
,
others
:
"null"
,
limit
:
"retailSettlementForm"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
},{
id
:
2
,
name
:
"我的电客"
,
others
:
"未绑定"
,
limit
:
"myElectric"
,
image
:
"https://fire.huoshitou.net/profile/icon/dk.png"
,
url
:
"/pagesA/myElectric/myElectric"
}],
personageList_putong
:[{
id
:
3
,
name
:
"结算联系单"
,
others
:
"null"
,
limit
:
"retailSettlementForm"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
},{
id
:
2
,
name
:
"我的电客"
,
others
:
"未绑定"
,
limit
:
"myElectric"
,
image
:
"https://fire.huoshitou.net/profile/icon/dk.png"
,
url
:
"/pages/myInfo/Myguest"
}],
personageList_cunliang
:[{
id
:
3
,
name
:
"零售结算联系单"
,
others
:
""
,
limit
:
"retailSettlementForm"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
}],
toollist
:[],
toollist_dk
:[{
id
:
1
,
name
:
"赚钱指引"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/zqzy.png"
,
url
:
"/pagesA/MakeMoney/MakeMoney"
},{
id
:
2
,
name
:
"电客报名"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/dkbm.png"
,
url
:
"/pages/authentication/authentication"
},{
id
:
4
,
name
:
"推广中心"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/tgzx.png"
,
url
:
"/pagesA/PromotionCenter/PromotionCenter"
},{
id
:
3
,
name
:
"开具合同"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/kjht.png"
,
url
:
"/pagesA/Contracts/LssueContracts/LssueContracts?template=1"
},{
id
:
5
,
name
:
"上传合同"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/scht.png"
,
url
:
"/pagesA/Contracts/LssueContracts/LssueContracts"
},{
id
:
6
,
name
:
"授权书"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/kjsqs.png"
,
url
:
"/pagesA/PowerOfAttorney/PowerOfAttorney"
},{
id
:
7
,
name
:
"现货计算器"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/jsdk.png"
,
url
:
"/pages/index/Calculator"
}],
toollist_gaoji
:[{
id
:
1
,
name
:
"电客中心"
,
others
:
""
,
limit
:
"electricityDeclaration"
,
image
:
"https://fire.huoshitou.net/profile/icon/dkzx.png"
,
url
:
"/pagesA/ElectricPassengerCenter/ElectricPassengerCenter"
},{
id
:
2
,
name
:
"电量申报"
,
others
:
""
,
limit
:
"electricityDeclaration"
,
image
:
"https://fire.huoshitou.net/profile/icon/declare.png"
,
url
:
"/pagesA/dianliangshengbao/shengbao"
},{
id
:
3
,
name
:
"现货计算器"
,
others
:
""
,
limit
:
"electricityDeclaration"
,
image
:
"https://fire.huoshitou.net/profile/icon/js.png"
,
url
:
"/pages/index/Calculator"
}],
statusBarHeight
:
50
,
inviteCode
:
""
,
credit
:
""
,
tabbarIndex
:
null
,
type
:
""
,
isAuthenticate
:
""
,
wxName
:
""
,
certificationName
:
""
,
iscreate
:
!
1
,
userId
:
null
,
isuser
:
!
0
}},
onShow
:
function
(){
var
t
=
e
.
getStorageSync
(
"user"
);
if
(
t
){
var
n
=
this
,
i
=
e
.
getStorageSync
(
"type"
);
n
.
type
=
i
,
1
==
i
?
t
.
enterpriseId
&&
null
!=
t
.
enterpriseId
&&
(
n
.
getUesrInfo
(),
n
.
getMyContractWaitHandleCount
(),
n
.
getMyJoinPackageCount
(),
n
.
getMyElectricI
(),
n
.
getAllIncome
()):
t
.
electricId
&&
null
!=
t
.
electricId
&&
(
n
.
getUesrInfo
(),
n
.
getMyContractWaitHandleCount
(),
n
.
getMyJoinPackageCount
(),
n
.
getMyElectricI
(),
n
.
getAllIncome
())}},
created
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"type"
);
t
.
type
=
n
;
var
i
=
e
.
getStorageSync
(
"user"
);
if
(
console
.
log
(
i
),
!
i
)
return
t
.
tabbarIndex
=
2
,
t
.
isuser
=!
1
,
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
,
!
1
;
if
(
t
.
credit
=
i
.
creditScore
,
t
.
type
=
n
,
1
==
n
){
if
(
t
.
tabbarIndex
=
2
,
t
.
userId
=
i
.
enterpriseId
,
!
t
.
userId
||
null
==
t
.
userId
)
return
t
.
tabbarIndex
=
2
,
t
.
isuser
=!
1
,
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
,
t
.
toollist
=
t
.
toollist_gaoji
,
!
1
;
var
r
=
i
.
createById
,
o
=
{};
o
=
i
.
tenterpriseRole
,
console
.
log
(
o
);
var
a
=
i
.
userType
;
console
.
log
(
"userType:"
+
a
),
1
==
a
||
5
==
a
?(
t
.
iscreate
=!
0
,
t
.
contractA
=!
0
,
r
&&
o
?(
t
.
earningsList
=
t
.
roleFilter
(
t
.
earningsList_gaoji
,
o
),
t
.
personageList
=
t
.
roleFilter
(
t
.
personageList_gaoji
,
o
)):(
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
),
t
.
toollist
=
t
.
toollist_gaoji
):
2
==
a
?(
t
.
earningsList
=
r
&&
o
?
t
.
roleFilter
(
t
.
earningsList_cunliang
,
o
):
t
.
earningsList_cunliang
,
t
.
personageList
=
t
.
personageList_cunliang
):
3
==
a
?
r
&&
o
?(
t
.
earningsList
=
t
.
roleFilter
(
t
.
earningsList_putong
,
o
),
t
.
personageList
=
t
.
roleFilter
(
t
.
personageList_putong
,
o
)):(
t
.
earningsList
=
t
.
earningsList_putong
,
t
.
personageList
=
t
.
personageList_putong
):
4
==
a
&&
(
r
&&
o
?(
t
.
earningsList
=
t
.
roleFilter
(
t
.
earningsList_zhongji
,
o
),
t
.
personageList
=
t
.
roleFilter
(
t
.
personageList_zhongji
,
o
)):(
t
.
earningsList
=
t
.
earningsList_zhongji
,
t
.
personageList
=
t
.
personageList_zhongji
))}
else
if
(
2
==
n
){
if
(
t
.
contractA
=!
0
,
t
.
userId
=
i
.
electricId
,
t
.
toollist
=
t
.
toollist_dk
,
!
t
.
userId
||
null
==
t
.
userId
)
return
t
.
tabbarIndex
=
2
,
t
.
isuser
=!
1
,
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
,
!
1
;
t
.
earningsList
=
t
.
earningsList_dianke
,
t
.
personageList
=
t
.
personageList_dianke
,
t
.
tabbarIndex
=
3
}
var
g
=
s
.
globalData
.
statusBarHeight
;
g
>=
40
&&
(
t
.
statusBarHeight
=
2
*
g
),
t
.
userId
&&
null
!=
t
.
userId
&&
(
t
.
getUesrInfo
(),
t
.
getMyContractWaitHandleCount
(),
t
.
getMyJoinPackageCount
(),
t
.
getMyElectricI
(),
t
.
getAllIncome
())},
methods
:{
linktocontract
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
0
==
t
?
e
.
navigateTo
({
url
:
"/pagesA/Contracts/MyContractType/MyContractType"
}):
e
.
navigateTo
({
url
:
"/pagesA/Contracts/MyContractType/MyContractType?typenum="
+
t
})},
notice
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/PlatformAnnouncement/PlatformAnnouncement"
})},
tologin
:
function
(){
e
.
navigateTo
({
url
:
"../login/login"
})},
getAllIncome
:
function
(){
var
e
=
this
;(
0
,
i
.
get
)(
r
.
default
.
sumOfIncome
,{
userId
:
e
.
userId
,
type
:
e
.
type
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
earningsList_dianke
[
0
].
others
=
"¥"
+
t
.
data
.
spotIncome
,
e
.
earningsList_dianke
[
1
].
others
=
"¥"
+
t
.
data
.
intermediateIncome
,
e
.
earningsList_dianke
[
2
].
others
=
"¥"
+
t
.
data
.
commissionIncome
,
e
.
earningsList_dianke
[
3
].
others
=
"¥"
+
t
.
data
.
stockIntermediaryIncome
,
e
.
earningsList_dianke
[
4
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_dianke
[
5
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_gaoji
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_gaoji
[
1
].
others
=
"¥"
+
t
.
data
.
spotIncome
,
e
.
earningsList_gaoji
[
2
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_zhongji
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_zhongji
[
1
].
others
=
"¥"
+
t
.
data
.
spotIncome
,
e
.
earningsList_zhongji
[
2
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_putong
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_putong
[
1
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_cunliang
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_cunliang
[
1
].
others
=
"¥"
+
t
.
data
.
pendingIncome
)}))},
getUesrInfo
:
function
(){
var
t
=
this
;(
0
,
i
.
get
)(
r
.
default
.
getUserInformation
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
){
var
i
=
e
.
getStorageSync
(
"user"
);
i
.
userType
=
n
.
data
.
userType
,
e
.
setStorageSync
(
"user"
,
i
),
e
.
setStorageSync
(
"userStatus"
,
n
.
data
),
t
.
wxName
=
n
.
data
.
wxName
,
t
.
inviteCode
=
n
.
data
.
inviteCode
,
t
.
certificationName
=
n
.
data
.
certificationName
,
t
.
isAuthenticate
=
n
.
data
.
isAuthenticate
}}))},
getMyJoinPackageCount
:
function
(){
var
e
=
this
;(
0
,
i
.
get
)(
r
.
default
.
myJoinPackageCount
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
1
==
e
.
type
?
e
.
personageList_gaoji
[
1
].
others
=
t
.
data
+
""
:
e
.
personageList_dianke
[
1
].
others
=
t
.
data
+
""
)}))},
getMyContractWaitHandleCount
:
function
(){
var
e
=
this
;(
0
,
i
.
get
)(
r
.
default
.
myContractWaitHandleCount
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
contractNum
=
t
.
data
)}))},
getMyElectricI
:
function
(){
var
t
=
this
;(
0
,
i
.
get
)(
r
.
default
.
myElectric
,{
enterpriseId
:
this
.
userId
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
&&
(
n
.
sign
||
n
.
data
)){
var
i
=
e
.
getStorageSync
(
"user"
).
userType
,
r
=
e
.
getStorageSync
(
"user"
).
tenterpriseRole
;
t
.
personageList_gaoji
[
3
].
others
=
"已绑定"
,
t
.
personageList_zhongji
[
1
].
others
=
"已绑定"
,
t
.
personageList_putong
[
1
].
others
=
"已绑定"
,
5
==
i
&&
1
==
n
.
data
.
isCommissionPackage
?
t
.
personageList_gaoji
[
3
].
url
=
"/pagesA/myElectric/myElectric"
:
r
&&
1
==
r
.
myElectric
&&
(
t
.
personageList_gaoji
[
3
].
url
=
""
),
r
&&
1
==
r
.
myElectric
?(
t
.
personageList_zhongji
[
1
].
url
=
""
,
t
.
personageList_putong
[
1
].
url
=
""
):(
t
.
personageList_zhongji
[
1
].
url
=
"/pagesA/myElectric/myElectric"
,
t
.
personageList_putong
[
1
].
url
=
"/pagesA/myElectric/myElectric"
)}}))},
linkposter
:
function
(){
e
.
navigateTo
({
url
:
"../Benefits/Benefits"
})},
linkto
:
function
(){
e
.
navigateTo
({
url
:
"../basicInformation/basicInformation"
})},
linkToEarnings
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
var
n
=
this
.
earningsList
[
t
].
url
;
n
?
e
.
navigateTo
({
url
:
n
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
linkToPersonage
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
var
n
=
this
.
personageList
[
t
].
url
;
n
?
e
.
navigateTo
({
url
:
n
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
linkToTool
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
var
n
=
this
.
toollist
[
t
].
url
;
n
?
e
.
navigateTo
({
url
:
n
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
roleFilter
:
function
(
e
,
t
){
return
console
.
log
(
t
,
"子账号拥有的权限"
),
e
.
forEach
((
function
(
e
){
for
(
var
n
in
t
)
e
.
limit
==
n
&&
1
==
t
[
n
]
&&
(
e
.
url
=
""
)})),
e
},
getInviteCode
:
function
(){
e
.
setClipboardData
({
data
:
this
.
inviteCode
,
success
:
function
(){}})},
onCopyResult
:
function
(
t
){
"success"
===
t
?
e
.
showToast
({
title
:
"复制成功"
,
icon
:
"none"
}):
e
.
showToast
({
title
:
"复制失败"
,
icon
:
"none"
})}}};
t
.
default
=
a
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
f8ff
:
function
(
e
,
t
,
n
){}},[[
"4b1f"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pages/myInfo/myInfo"
],{
"4b1f"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
i
(
n
(
"66fd"
));
var
t
=
i
(
n
(
"8d93"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
"4c73"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
;
n
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
s
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
i
}));
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
s
=
[]},
6541
:
function
(
e
,
t
,
n
){
"use strict"
;
var
i
=
n
(
"8e65"
),
r
=
n
.
n
(
i
);
r
.
a
},
"8d93"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"4c73"
),
r
=
n
(
"ab4b"
);
for
(
var
s
in
r
)
"default"
!==
s
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
s
);
n
(
"6541"
);
var
o
,
a
=
n
(
"f0c5"
),
g
=
Object
(
a
[
"a"
])(
r
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
"52b88cb5"
,
null
,
!
1
,
i
[
"a"
],
o
);
t
[
"default"
]
=
g
.
exports
},
"8e65"
:
function
(
e
,
t
,
n
){},
ab4b
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
i
=
n
(
"cad3"
),
r
=
n
.
n
(
i
);
for
(
var
s
in
i
)
"default"
!==
s
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
s
);
t
[
"default"
]
=
r
.
a
},
cad3
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
i
=
n
(
"86df"
),
r
=
s
(
n
(
"9036"
));
function
s
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
o
=
getApp
(),
a
=
{
data
:
function
(){
return
{
contractNum
:
""
,
contractA
:
!
1
,
earningsList
:[],
earningsList_dianke
:[{
id
:
1
,
name
:
"现货收益"
,
others
:
""
,
url
:
"/pages/Earnings/CashEarnings/CashEarnings"
},{
id
:
2
,
name
:
"居间收益"
,
others
:
""
,
url
:
"/pages/Earnings/IntermediateEarings/IntermediateEarings"
},{
id
:
3
,
name
:
"佣金收益"
,
others
:
""
,
url
:
"/pages/Earnings/commissionEarnings/commissionEarnings"
},{
id
:
4
,
name
:
"存量居间收益"
,
others
:
""
,
url
:
"/pages/Earnings/betweenEarnings/betweenEarnings"
},{
id
:
6
,
name
:
"服务费收益"
,
others
:
""
,
url
:
"/pages/Earnings/service/service"
},{
id
:
5
,
name
:
"待确认收益"
,
others
:
""
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_gaoji
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"现货收益"
,
others
:
""
,
limit
:
"spotIncome"
,
url
:
"/pages/Earnings/CashEarnings/CashEarnings"
},{
id
:
3
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_zhongji
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"现货收益"
,
others
:
""
,
limit
:
"spotIncome"
,
url
:
"/pages/Earnings/CashEarnings/CashEarnings"
},{
id
:
3
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_putong
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
earningsList_cunliang
:[{
id
:
1
,
name
:
"企业优惠金额"
,
others
:
""
,
limit
:
"corporateDiscount"
,
url
:
"/pages/Earnings/DiscountsMoney/DiscountsMoney"
},{
id
:
2
,
name
:
"待确认收益"
,
others
:
""
,
limit
:
"pendingIncome"
,
url
:
"/pages/Earnings/affirmEarnings/affirmEarnings"
}],
personageList
:[],
personageList_dianke
:[{
id
:
3
,
name
:
"我的企业"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/wdqy.png"
,
url
:
"/pages/MyBusiness/MyBusiness"
},{
id
:
1
,
name
:
"企业合同"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/qyht.png"
,
url
:
"/pagesA/Contracts/EnterpriseContract/EnterpriseContract"
},{
id
:
2
,
name
:
"拼团记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/ptdk.png"
,
url
:
"/pagesA/MyGroups/MyGroups"
},{
id
:
5
,
name
:
"询价记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/xjdk.png"
,
url
:
"/pagesA/enquiry/Enquiry"
},{
id
:
4
,
name
:
"我的服务单"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/wdfwd.png"
,
url
:
"/pagesA/MyServeOeder/ServeOrder"
},{
id
:
6
,
name
:
"发票管理"
,
others
:
"null"
,
image
:
"https://fire.huoshitou.net/profile/icon/fbdk.png"
,
url
:
"/pages/Invoice/invoice"
}],
personageList_gaoji
:[{
id
:
2
,
name
:
"拼团记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/pt.png"
,
limit
:
"myGroupRecord"
,
url
:
"/pagesA/MyGroups/MyGroups"
},{
id
:
5
,
name
:
"询价记录"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/xj.png"
,
url
:
"/pagesA/enquiry/Enquiry"
},{
id
:
6
,
name
:
"发票管理"
,
others
:
"null"
,
limit
:
"invoiceManagement"
,
image
:
"https://fire.huoshitou.net/profile/icon/fb.png"
,
url
:
"/pages/Invoice/invoice"
},{
id
:
5
,
name
:
"结算联系单"
,
limit
:
"retailSettlementForm"
,
others
:
"null"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
},{
id
:
4
,
name
:
"我的电客"
,
others
:
"未绑定"
,
image
:
"https://fire.huoshitou.net/profile/icon/dk.png"
,
limit
:
"myElectric"
,
url
:
"/pages/myInfo/Myguest"
}],
personageList_zhongji
:[{
id
:
4
,
name
:
"发票管理"
,
others
:
"null"
,
limit
:
"invoiceManagement"
,
image
:
"https://fire.huoshitou.net/profile/icon/fb.png"
,
url
:
"/pages/Invoice/invoice"
},{
id
:
5
,
name
:
"结算联系单"
,
others
:
"null"
,
limit
:
"retailSettlementForm"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
},{
id
:
2
,
name
:
"我的电客"
,
others
:
"未绑定"
,
limit
:
"myElectric"
,
image
:
"https://fire.huoshitou.net/profile/icon/dk.png"
,
url
:
"/pagesA/myElectric/myElectric"
}],
personageList_putong
:[{
id
:
3
,
name
:
"结算联系单"
,
others
:
"null"
,
limit
:
"retailSettlementForm"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
},{
id
:
2
,
name
:
"我的电客"
,
others
:
"未绑定"
,
limit
:
"myElectric"
,
image
:
"https://fire.huoshitou.net/profile/icon/dk.png"
,
url
:
"/pages/myInfo/Myguest"
}],
personageList_cunliang
:[{
id
:
3
,
name
:
"零售结算联系单"
,
others
:
""
,
limit
:
"retailSettlementForm"
,
image
:
"https://fire.huoshitou.net/profile/icon/jslxd.png"
,
url
:
"/pages/myInfo/retailTrade"
}],
toollist
:[],
toollist_dk
:[{
id
:
1
,
name
:
"赚钱指引"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/zqzy.png"
,
url
:
"/pagesA/MakeMoney/MakeMoney"
},{
id
:
2
,
name
:
"电客报名"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/dkbm.png"
,
url
:
"/pages/authentication/authentication"
},{
id
:
4
,
name
:
"推广中心"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/tgzx.png"
,
url
:
"/pagesA/PromotionCenter/PromotionCenter"
},{
id
:
3
,
name
:
"开具合同"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/kjht.png"
,
url
:
"/pagesA/Contracts/LssueContracts/LssueContracts?template=1"
},{
id
:
5
,
name
:
"上传合同"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/scht.png"
,
url
:
"/pagesA/Contracts/LssueContracts/LssueContracts"
},{
id
:
6
,
name
:
"授权书"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/kjsqs.png"
,
url
:
"/pagesA/PowerOfAttorney/PowerOfAttorney"
},{
id
:
7
,
name
:
"现货计算器"
,
others
:
""
,
image
:
"https://fire.huoshitou.net/profile/icon/jsdk.png"
,
url
:
"/pages/index/Calculator"
}],
toollist_gaoji
:[{
id
:
1
,
name
:
"电客中心"
,
others
:
""
,
limit
:
"electricityDeclaration"
,
image
:
"https://fire.huoshitou.net/profile/icon/dkzx.png"
,
url
:
"/pagesA/ElectricPassengerCenter/ElectricPassengerCenter"
},{
id
:
2
,
name
:
"电量申报"
,
others
:
""
,
limit
:
"electricityDeclaration"
,
image
:
"https://fire.huoshitou.net/profile/icon/declare.png"
,
url
:
"/pagesA/dianliangshengbao/shengbao"
},{
id
:
3
,
name
:
"现货计算器"
,
others
:
""
,
limit
:
"electricityDeclaration"
,
image
:
"https://fire.huoshitou.net/profile/icon/js.png"
,
url
:
"/pages/index/Calculator"
}],
statusBarHeight
:
50
,
inviteCode
:
""
,
credit
:
""
,
tabbarIndex
:
null
,
type
:
""
,
isAuthenticate
:
""
,
wxName
:
""
,
certificationName
:
""
,
iscreate
:
!
1
,
userId
:
null
,
isuser
:
!
0
}},
onShow
:
function
(){
var
t
=
e
.
getStorageSync
(
"user"
);
if
(
t
){
var
n
=
this
,
i
=
e
.
getStorageSync
(
"type"
);
n
.
type
=
i
,
1
==
i
?
t
.
enterpriseId
&&
null
!=
t
.
enterpriseId
&&
(
n
.
getUesrInfo
(),
n
.
getMyContractWaitHandleCount
(),
n
.
getMyJoinPackageCount
(),
n
.
getMyElectricI
(),
n
.
getAllIncome
()):
t
.
electricId
&&
null
!=
t
.
electricId
&&
(
n
.
getUesrInfo
(),
n
.
getMyContractWaitHandleCount
(),
n
.
getMyJoinPackageCount
(),
n
.
getMyElectricI
(),
n
.
getAllIncome
())}},
created
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"type"
);
t
.
type
=
n
;
var
i
=
e
.
getStorageSync
(
"user"
);
if
(
!
i
)
return
t
.
tabbarIndex
=
2
,
t
.
isuser
=!
1
,
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
,
!
1
;
if
(
t
.
credit
=
i
.
creditScore
,
t
.
type
=
n
,
1
==
n
){
if
(
t
.
tabbarIndex
=
2
,
t
.
userId
=
i
.
enterpriseId
,
!
t
.
userId
||
null
==
t
.
userId
)
return
t
.
tabbarIndex
=
2
,
t
.
isuser
=!
1
,
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
,
t
.
toollist
=
t
.
toollist_gaoji
,
!
1
;
var
r
=
i
.
createById
,
s
=
{};
s
=
i
.
tenterpriseRole
,
console
.
log
(
s
);
var
a
=
i
.
userType
;
console
.
log
(
"userType:"
+
a
),
1
==
a
||
5
==
a
?(
t
.
iscreate
=!
0
,
t
.
contractA
=!
0
,
r
&&
s
?(
t
.
earningsList
=
t
.
roleFilter
(
t
.
earningsList_gaoji
,
s
),
t
.
personageList
=
t
.
roleFilter
(
t
.
personageList_gaoji
,
s
)):(
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
),
t
.
toollist
=
t
.
toollist_gaoji
):
2
==
a
?(
t
.
earningsList
=
r
&&
s
?
t
.
roleFilter
(
t
.
earningsList_cunliang
,
s
):
t
.
earningsList_cunliang
,
t
.
personageList
=
t
.
personageList_cunliang
):
3
==
a
?
r
&&
s
?(
t
.
earningsList
=
t
.
roleFilter
(
t
.
earningsList_putong
,
s
),
t
.
personageList
=
t
.
roleFilter
(
t
.
personageList_putong
,
s
)):(
t
.
earningsList
=
t
.
earningsList_putong
,
t
.
personageList
=
t
.
personageList_putong
):
4
==
a
&&
(
r
&&
s
?(
t
.
earningsList
=
t
.
roleFilter
(
t
.
earningsList_zhongji
,
s
),
t
.
personageList
=
t
.
roleFilter
(
t
.
personageList_zhongji
,
s
)):(
t
.
earningsList
=
t
.
earningsList_zhongji
,
t
.
personageList
=
t
.
personageList_zhongji
))}
else
if
(
2
==
n
){
if
(
t
.
contractA
=!
0
,
t
.
userId
=
i
.
electricId
,
t
.
toollist
=
t
.
toollist_dk
,
!
t
.
userId
||
null
==
t
.
userId
)
return
t
.
tabbarIndex
=
2
,
t
.
isuser
=!
1
,
t
.
earningsList
=
t
.
earningsList_gaoji
,
t
.
personageList
=
t
.
personageList_gaoji
,
!
1
;
t
.
earningsList
=
t
.
earningsList_dianke
,
t
.
personageList
=
t
.
personageList_dianke
,
t
.
tabbarIndex
=
3
}
var
g
=
o
.
globalData
.
statusBarHeight
;
g
>=
40
&&
(
t
.
statusBarHeight
=
2
*
g
),
t
.
userId
&&
null
!=
t
.
userId
&&
(
t
.
getUesrInfo
(),
t
.
getMyContractWaitHandleCount
(),
t
.
getMyJoinPackageCount
(),
t
.
getMyElectricI
(),
t
.
getAllIncome
())},
methods
:{
linktocontract
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
0
==
t
?
e
.
navigateTo
({
url
:
"/pagesA/Contracts/MyContractType/MyContractType"
}):
e
.
navigateTo
({
url
:
"/pagesA/Contracts/MyContractType/MyContractType?typenum="
+
t
})},
notice
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/PlatformAnnouncement/PlatformAnnouncement"
})},
tologin
:
function
(){
e
.
navigateTo
({
url
:
"../login/login"
})},
getAllIncome
:
function
(){
var
e
=
this
;(
0
,
i
.
get
)(
r
.
default
.
sumOfIncome
,{
userId
:
e
.
userId
,
type
:
e
.
type
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
earningsList_dianke
[
0
].
others
=
"¥"
+
t
.
data
.
spotIncome
,
e
.
earningsList_dianke
[
1
].
others
=
"¥"
+
t
.
data
.
intermediateIncome
,
e
.
earningsList_dianke
[
2
].
others
=
"¥"
+
t
.
data
.
commissionIncome
,
e
.
earningsList_dianke
[
3
].
others
=
"¥"
+
t
.
data
.
stockIntermediaryIncome
,
e
.
earningsList_dianke
[
4
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_dianke
[
5
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_gaoji
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_gaoji
[
1
].
others
=
"¥"
+
t
.
data
.
spotIncome
,
e
.
earningsList_gaoji
[
2
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_zhongji
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_zhongji
[
1
].
others
=
"¥"
+
t
.
data
.
spotIncome
,
e
.
earningsList_zhongji
[
2
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_putong
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_putong
[
1
].
others
=
"¥"
+
t
.
data
.
pendingIncome
,
e
.
earningsList_cunliang
[
0
].
others
=
"¥"
+
t
.
data
.
corporateDiscountAmount
,
e
.
earningsList_cunliang
[
1
].
others
=
"¥"
+
t
.
data
.
pendingIncome
)}))},
getUesrInfo
:
function
(){
var
t
=
this
;(
0
,
i
.
get
)(
r
.
default
.
getUserInformation
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
){
var
i
=
e
.
getStorageSync
(
"user"
);
i
.
userType
=
n
.
data
.
userType
,
e
.
setStorageSync
(
"user"
,
i
),
e
.
setStorageSync
(
"userStatus"
,
n
.
data
),
t
.
wxName
=
n
.
data
.
wxName
,
t
.
inviteCode
=
n
.
data
.
inviteCode
,
t
.
certificationName
=
n
.
data
.
certificationName
,
t
.
isAuthenticate
=
n
.
data
.
isAuthenticate
}}))},
getMyJoinPackageCount
:
function
(){
var
e
=
this
;(
0
,
i
.
get
)(
r
.
default
.
myJoinPackageCount
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
1
==
e
.
type
?
e
.
personageList_gaoji
[
1
].
others
=
t
.
data
+
""
:
e
.
personageList_dianke
[
1
].
others
=
t
.
data
+
""
)}))},
getMyContractWaitHandleCount
:
function
(){
var
t
=
this
,
n
=
this
;(
0
,
i
.
get
)(
r
.
default
.
myContractWaitHandleCount
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
i
){
if
(
200
==
i
.
code
)
if
(
n
.
contractNum
=
i
.
data
,
console
.
log
(
i
),
1
==
t
.
type
){
var
r
=
e
.
getStorageSync
(
"user"
).
userType
;
1
==
r
||
5
==
r
?
t
.
personageList_gaoji
[
0
].
others
=
i
.
data
+
"份合同待处理"
:
4
==
r
&&
(
t
.
personageList_zhongji
[
0
].
others
=
i
.
data
+
"份合同待处理"
)}
else
t
.
personageList_dianke
[
0
].
others
=
i
.
data
+
"份合同待处理"
}))},
getMyElectricI
:
function
(){
var
t
=
this
;(
0
,
i
.
get
)(
r
.
default
.
myElectric
,{
enterpriseId
:
this
.
userId
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
&&
(
n
.
sign
||
n
.
data
)){
var
i
=
e
.
getStorageSync
(
"user"
).
userType
,
r
=
e
.
getStorageSync
(
"user"
).
tenterpriseRole
;
t
.
personageList_gaoji
[
3
].
others
=
"已绑定"
,
t
.
personageList_zhongji
[
1
].
others
=
"已绑定"
,
t
.
personageList_putong
[
1
].
others
=
"已绑定"
,
5
==
i
&&
1
==
n
.
data
.
isCommissionPackage
?
t
.
personageList_gaoji
[
3
].
url
=
"/pagesA/myElectric/myElectric"
:
r
&&
1
==
r
.
myElectric
&&
(
t
.
personageList_gaoji
[
3
].
url
=
""
),
r
&&
1
==
r
.
myElectric
?(
t
.
personageList_zhongji
[
1
].
url
=
""
,
t
.
personageList_putong
[
1
].
url
=
""
):(
t
.
personageList_zhongji
[
1
].
url
=
"/pagesA/myElectric/myElectric"
,
t
.
personageList_putong
[
1
].
url
=
"/pagesA/myElectric/myElectric"
)}}))},
linkposter
:
function
(){
e
.
navigateTo
({
url
:
"../Benefits/Benefits"
})},
linkto
:
function
(){
e
.
navigateTo
({
url
:
"../basicInformation/basicInformation"
})},
linkToEarnings
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
var
n
=
this
.
earningsList
[
t
].
url
;
n
?
e
.
navigateTo
({
url
:
n
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
linkToPersonage
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
var
n
=
this
.
personageList
[
t
].
url
;
n
?
e
.
navigateTo
({
url
:
n
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
linkToTool
:
function
(
t
){
if
(
!
this
.
isuser
)
return
e
.
navigateTo
({
url
:
"../login/login"
}),
!
1
;
var
n
=
this
.
toollist
[
t
].
url
;
n
?
e
.
navigateTo
({
url
:
n
}):
e
.
showToast
({
title
:
"你没有权限,请联系管理员"
,
icon
:
"none"
})},
roleFilter
:
function
(
e
,
t
){
return
console
.
log
(
t
,
"子账号拥有的权限"
),
e
.
forEach
((
function
(
e
){
for
(
var
n
in
t
)
e
.
limit
==
n
&&
1
==
t
[
n
]
&&
(
e
.
url
=
""
)})),
e
},
getInviteCode
:
function
(){
e
.
setClipboardData
({
data
:
this
.
inviteCode
,
success
:
function
(){}})},
onCopyResult
:
function
(
t
){
"success"
===
t
?
e
.
showToast
({
title
:
"复制成功"
,
icon
:
"none"
}):
e
.
showToast
({
title
:
"复制失败"
,
icon
:
"none"
})}}};
t
.
default
=
a
}).
call
(
this
,
n
(
"543d"
)[
"default"
])}},[[
"4b1f"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxml
浏览文件 @
a9280eb9
<view class="mypage data-v-4e9259b6"><view class="myInfo_navigation data-v-4e9259b6"><text class="myInfo_navigation_title data-v-4e9259b6" style="{{'top:'+(statusBarHeight+'rpx')+';'}}">我的</text><image src="../../static/images/my_bg.jpg" mode="widthFix" class="data-v-4e9259b6"></image><view class="myInfo_user data-v-4e9259b6"><view class="kfgg data-v-4e9259b6"><button open-type="contact" class="data-v-4e9259b6"><image src="https://fire.huoshitou.net/profile/icon/kf.png" mode="widthFix" class="data-v-4e9259b6"></image></button><image src="https://fire.huoshitou.net/profile/icon/ld.png" mode="widthFix" data-event-opts="{{[['tap',[['notice',['$event']]]]]}}" bindtap="__e" class="data-v-4e9259b6"></image></view><image class="user_img data-v-4e9259b6" src="../../static/images/index/group.png" mode="scaleToFill"></image><view class="user_info data-v-4e9259b6"><block wx:if="{{isAuthenticate==2}}"><view class="user_info_name data-v-4e9259b6">{{''+certificationName+''}}</view></block><block wx:else><view class="user_info_name data-v-4e9259b6">{{''+wxName+''}}</view></block><block wx:if="{{type==2}}"><view class="user_info_code data-v-4e9259b6">{{'邀请码: '+(inviteCode?inviteCode:'需实名认证')+''}}<text data-event-opts="{{[['tap',[['getInviteCode']]]]}}" class="item-btn data-v-4e9259b6" bindtap="__e">复制</text></view></block><block wx:if="{{type==1&&iscreate}}"><view class="credit data-v-4e9259b6">{{'信用分: '+credit+''}}</view></block></view><block wx:if="{{isuser}}"><view data-event-opts="{{[['tap',[['linkto',['$event']]]]]}}" class="authentication data-v-4e9259b6" bindtap="__e"><block wx:if="{{isAuthenticate==0}}"><text class="data-v-4e9259b6">未认证</text></block><block wx:if="{{isAuthenticate==1}}"><text class="data-v-4e9259b6">认证失败</text></block><block wx:if="{{isAuthenticate==2}}"><text class="data-v-4e9259b6">已认证</text></block><block wx:if="{{isAuthenticate==3}}"><text class="data-v-4e9259b6">待审核</text></block><image src="../../static/images/right.png" mode="widthFix" class="data-v-4e9259b6"></image></view></block><block wx:if="{{!isuser}}"><view data-event-opts="{{[['tap',[['tologin',['$event']]]]]}}" class="authentication data-v-4e9259b6" bindtap="__e"><text class="data-v-4e9259b6">未登录</text><image src="../../static/images/right.png" mode="widthFix" class="data-v-4e9259b6"></image></view></block></view></view><view class="myInfo data-v-4e9259b6"><block wx:if="{{type==2||iscreate}}"><view data-event-opts="{{[['tap',[['linkposter',['$event']]]]]}}" class="banner data-v-4e9259b6" bindtap="__e"><swiper indicator-dots="{{true}}" autoplay="{{true}}" circular="{{true}}" interval="{{3000}}" duration="{{1000}}" class="data-v-4e9259b6"><swiper-item class="myInfo_poster data-v-4e9259b6" style="height:auto;"><image src="https://fire.huoshitou.net/profile/icon/mybanner.png" mode="widthFix" class="data-v-4e9259b6"></image></swiper-item><swiper-item class="myInfo_poster data-v-4e9259b6" style="height:auto;"><image src="https://fire.huoshitou.net/profile/icon/mybanner1.png" mode="widthFix" class="data-v-4e9259b6"></image></swiper-item><swiper-item class="myInfo_poster data-v-4e9259b6" style="height:auto;"><image src="https://fire.huoshitou.net/profile/icon/mybanner2.png" mode="widthFix" class="data-v-4e9259b6"></image></swiper-item></swiper></view></block><view class="myInfo_block data-v-4e9259b6"><view class="myInfo_block_title data-v-4e9259b6">我的收益</view><view class="myInfo_earnings myInfo_commons data-v-4e9259b6"><block wx:for="{{earningsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkToEarnings',[index]]]]]}}" class="myInfo_items data-v-4e9259b6" bindtap="__e">{{''+item.name+''}}<view class="text data-v-4e9259b6"><block wx:if="{{item.others!='null'}}"><text class="data-v-4e9259b6">{{item.others}}</text></block></view></view></block></view></view><view class="myInfo_block data-v-4e9259b6"><view data-event-opts="{{[['tap',[['linktocontract',[0]]]]]}}" class="myInfo_block_title data-v-4e9259b6" bindtap="__e">我的合同</view><view data-event-opts="{{[['tap',[['linktocontract',[0]]]]]}}" class="right_icon data-v-4e9259b6" bindtap="__e"><block wx:if="{{contractNum==''}}"><text class="contracttext data-v-4e9259b6">无合同待处理</text></block><block wx:if="{{contractNum!=''}}"><text class="data-v-4e9259b6">{{contractNum+"份合同待处理"}}</text></block><image src="https://fire.huoshitou.net/profile/icon/right.png" mode="widthFix" class="data-v-4e9259b6"></image></view><view class="contract_box mycontract_box data-v-4e9259b6"><block wx:if="{{contractA}}"><view data-event-opts="{{[['tap',[['linktocontract',[1]]]]]}}" class="contract_icon data-v-4e9259b6" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/dqr.png" mode="widthFix" class="data-v-4e9259b6"></image><text class="data-v-4e9259b6">待确认</text></view></block><view data-event-opts="{{[['tap',[['linktocontract',[6]]]]]}}" class="contract_icon data-v-4e9259b6" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/dsx.png" mode="widthFix" class="data-v-4e9259b6"></image><text class="data-v-4e9259b6">待生效</text></view><view data-event-opts="{{[['tap',[['linktocontract',[7]]]]]}}" class="contract_icon data-v-4e9259b6" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/ysx.png" mode="widthFix" class="data-v-4e9259b6"></image><text class="data-v-4e9259b6">已生效</text></view><view data-event-opts="{{[['tap',[['linktocontract',[8]]]]]}}" class="contract_icon data-v-4e9259b6" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/yxs.png" mode="widthFix" class="data-v-4e9259b6"></image><text class="data-v-4e9259b6">已失效</text></view></view></view><block wx:if="{{personageList.length!=0}}"><view class="myInfo_block personer_area data-v-4e9259b6"><view class="contract_box data-v-4e9259b6"><block wx:for="{{personageList}}" wx:for-item="i" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkToPersonage',[index]]]]]}}" class="contract_icon data-v-4e9259b6" bindtap="__e"><image src="{{i.image}}" mode="widthFix" class="data-v-4e9259b6"></image><text class="data-v-4e9259b6">{{i.name}}</text></view></block></view></view></block><block wx:if="{{toollist.length!=0}}"><view class="myInfo_block tool data-v-4e9259b6"><view class="myInfo_block_title data-v-4e9259b6">推荐工具</view><view class="contract_box data-v-4e9259b6"><block wx:for="{{toollist}}" wx:for-item="t" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkToTool',[index]]]]]}}" class="contract_icon data-v-4e9259b6" bindtap="__e"><image class="{{['data-v-4e9259b6',(type==2)?'dk_icon':'']}}" src="{{t.image}}" mode="widthFix"></image><text class="data-v-4e9259b6">{{t.name}}</text></view></block></view></view></block><tab-bar vue-id="5dcf2140-1" activeIndex="{{tabbarIndex}}" class="data-v-4e9259b6" bind:__l="__l"></tab-bar></view></view>
\ No newline at end of file
<view class="mypage data-v-52b88cb5"><view class="myInfo_navigation data-v-52b88cb5"><text class="myInfo_navigation_title data-v-52b88cb5" style="{{'top:'+(statusBarHeight+'rpx')+';'}}">我的</text><image src="../../static/images/my_bg.jpg" mode="widthFix" class="data-v-52b88cb5"></image><view class="myInfo_user data-v-52b88cb5"><view class="kfgg data-v-52b88cb5"><button open-type="contact" class="data-v-52b88cb5"><image src="https://fire.huoshitou.net/profile/icon/kf.png" mode="widthFix" class="data-v-52b88cb5"></image></button><image src="https://fire.huoshitou.net/profile/icon/ld.png" mode="widthFix" data-event-opts="{{[['tap',[['notice',['$event']]]]]}}" bindtap="__e" class="data-v-52b88cb5"></image></view><image class="user_img data-v-52b88cb5" src="../../static/images/index/group.png" mode="scaleToFill"></image><view class="user_info data-v-52b88cb5"><block wx:if="{{isAuthenticate==2}}"><view class="user_info_name data-v-52b88cb5">{{''+certificationName+''}}</view></block><block wx:else><view class="user_info_name data-v-52b88cb5">{{''+wxName+''}}</view></block><block wx:if="{{type==2}}"><view class="user_info_code data-v-52b88cb5">{{'邀请码: '+(inviteCode?inviteCode:'需实名认证')+''}}<text data-event-opts="{{[['tap',[['getInviteCode']]]]}}" class="item-btn data-v-52b88cb5" bindtap="__e">复制</text></view></block><block wx:if="{{type==1&&iscreate}}"><view class="credit data-v-52b88cb5">{{'信用分: '+credit+''}}</view></block></view><block wx:if="{{isuser}}"><view data-event-opts="{{[['tap',[['linkto',['$event']]]]]}}" class="authentication data-v-52b88cb5" bindtap="__e"><block wx:if="{{isAuthenticate==0}}"><text class="data-v-52b88cb5">未认证</text></block><block wx:if="{{isAuthenticate==1}}"><text class="data-v-52b88cb5">认证失败</text></block><block wx:if="{{isAuthenticate==2}}"><text class="data-v-52b88cb5">已认证</text></block><block wx:if="{{isAuthenticate==3}}"><text class="data-v-52b88cb5">待审核</text></block><image src="../../static/images/right.png" mode="widthFix" class="data-v-52b88cb5"></image></view></block><block wx:if="{{!isuser}}"><view data-event-opts="{{[['tap',[['tologin',['$event']]]]]}}" class="authentication data-v-52b88cb5" bindtap="__e"><text class="data-v-52b88cb5">未登录</text><image src="../../static/images/right.png" mode="widthFix" class="data-v-52b88cb5"></image></view></block></view></view><view class="myInfo data-v-52b88cb5"><block wx:if="{{type==2||iscreate}}"><view data-event-opts="{{[['tap',[['linkposter',['$event']]]]]}}" class="banner data-v-52b88cb5" bindtap="__e"><swiper indicator-dots="{{true}}" autoplay="{{true}}" circular="{{true}}" interval="{{3000}}" duration="{{1000}}" class="data-v-52b88cb5"><swiper-item class="myInfo_poster data-v-52b88cb5" style="height:auto;"><image src="https://fire.huoshitou.net/profile/icon/mybanner.png" mode="widthFix" class="data-v-52b88cb5"></image></swiper-item><swiper-item class="myInfo_poster data-v-52b88cb5" style="height:auto;"><image src="https://fire.huoshitou.net/profile/icon/mybanner1.png" mode="widthFix" class="data-v-52b88cb5"></image></swiper-item><swiper-item class="myInfo_poster data-v-52b88cb5" style="height:auto;"><image src="https://fire.huoshitou.net/profile/icon/mybanner2.png" mode="widthFix" class="data-v-52b88cb5"></image></swiper-item></swiper></view></block><view class="myInfo_block data-v-52b88cb5"><view class="myInfo_block_title data-v-52b88cb5">我的收益</view><view class="myInfo_earnings myInfo_commons data-v-52b88cb5"><block wx:for="{{earningsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkToEarnings',[index]]]]]}}" class="myInfo_items data-v-52b88cb5" bindtap="__e">{{''+item.name+''}}<view class="text data-v-52b88cb5"><block wx:if="{{item.others!='null'}}"><text class="data-v-52b88cb5">{{item.others}}</text></block></view></view></block></view></view><view class="myInfo_block data-v-52b88cb5"><view data-event-opts="{{[['tap',[['linktocontract',[0]]]]]}}" class="myInfo_block_title data-v-52b88cb5" bindtap="__e">我的合同</view><view data-event-opts="{{[['tap',[['linktocontract',[0]]]]]}}" class="right_icon data-v-52b88cb5" bindtap="__e"><block wx:if="{{contractNum==''}}"><text class="contracttext data-v-52b88cb5">无合同待处理</text></block><block wx:if="{{contractNum!=''}}"><text class="data-v-52b88cb5">{{contractNum+"份合同待处理"}}</text></block><image src="https://fire.huoshitou.net/profile/icon/right.png" mode="widthFix" class="data-v-52b88cb5"></image></view><view class="contract_box mycontract_box data-v-52b88cb5"><block wx:if="{{contractA}}"><view data-event-opts="{{[['tap',[['linktocontract',[1]]]]]}}" class="contract_icon data-v-52b88cb5" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/dqr.png" mode="widthFix" class="data-v-52b88cb5"></image><text class="data-v-52b88cb5">待确认</text></view></block><view data-event-opts="{{[['tap',[['linktocontract',[6]]]]]}}" class="contract_icon data-v-52b88cb5" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/dsx.png" mode="widthFix" class="data-v-52b88cb5"></image><text class="data-v-52b88cb5">待生效</text></view><view data-event-opts="{{[['tap',[['linktocontract',[7]]]]]}}" class="contract_icon data-v-52b88cb5" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/ysx.png" mode="widthFix" class="data-v-52b88cb5"></image><text class="data-v-52b88cb5">已生效</text></view><view data-event-opts="{{[['tap',[['linktocontract',[8]]]]]}}" class="contract_icon data-v-52b88cb5" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/yxs.png" mode="widthFix" class="data-v-52b88cb5"></image><text class="data-v-52b88cb5">已失效</text></view></view></view><block wx:if="{{personageList.length!=0}}"><view class="myInfo_block personer_area data-v-52b88cb5"><view class="contract_box data-v-52b88cb5"><block wx:for="{{personageList}}" wx:for-item="i" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkToPersonage',[index]]]]]}}" class="contract_icon data-v-52b88cb5" bindtap="__e"><image src="{{i.image}}" mode="widthFix" class="data-v-52b88cb5"></image><text class="data-v-52b88cb5">{{i.name}}</text></view></block></view></view></block><block wx:if="{{toollist.length!=0}}"><view class="myInfo_block tool data-v-52b88cb5"><view class="myInfo_block_title data-v-52b88cb5">推荐工具</view><view class="contract_box data-v-52b88cb5"><block wx:for="{{toollist}}" wx:for-item="t" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkToTool',[index]]]]]}}" class="contract_icon data-v-52b88cb5" bindtap="__e"><image class="{{['data-v-52b88cb5',(type==2)?'dk_icon':'']}}" src="{{t.image}}" mode="widthFix"></image><text class="data-v-52b88cb5">{{t.name}}</text></view></block></view></view></block><tab-bar vue-id="5dcf2140-1" activeIndex="{{tabbarIndex}}" class="data-v-52b88cb5" bind:__l="__l"></tab-bar></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxss
浏览文件 @
a9280eb9
.mypage.data-v-4e9259b6, page.data-v-4e9259b6{background:#f5f5f5}.myInfo_navigation.data-v-4e9259b6{width:100%;position:relative}.myInfo_navigation image.data-v-4e9259b6{width:100%;display:block;-webkit-border-radius:0 0 20% 20%;border-radius:0 0 20% 20%}.myInfo_navigation .kfgg.data-v-4e9259b6{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:40rpx;width:100%;z-index:100;position:absolute;left:0;top:20rpx}.myInfo_navigation .kfgg button.data-v-4e9259b6{background-color:transparent;border:none;margin:0;padding:0}.myInfo_navigation .kfgg button.data-v-4e9259b6::after{display:none}.myInfo_navigation .kfgg image.data-v-4e9259b6{width:50rpx;height:50rpx}.myInfo_navigation .kfgg image.data-v-4e9259b6:nth-last-child(1){margin-left:26rpx;margin-right:34rpx;width:48rpx;height:48rpx}.myInfo_navigation .kfgg button image.data-v-4e9259b6:nth-last-child(1){margin-left:0;margin-right:0;width:50rpx;height:50rpx}.myInfo_navigation .myInfo_navigation_title.data-v-4e9259b6{width:100%;display:block;text-align:center;position:absolute;left:0;font-size:34rpx;color:#fff;height:68rpx;line-height:68rpx;z-index:100}.myInfo_navigation .myInfo_user.data-v-4e9259b6{width:91.5%;left:4.25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:60rpx 32rpx 32rpx 32rpx;bottom:-18rpx;position:absolute;height:220rpx;background-color:#fff;-webkit-border-radius:10rpx;border-radius:10rpx;-webkit-box-shadow:0 3px 3px rgba(0,0,0,.16);box-shadow:0 3px 3px rgba(0,0,0,.16)}.myInfo_navigation .myInfo_user .user_img.data-v-4e9259b6{width:100rpx;height:100rpx;-webkit-border-radius:50%;border-radius:50%;margin-right:18rpx}.myInfo_navigation .myInfo_user .authentication.data-v-4e9259b6{color:#999;font-size:24rpx}.myInfo_navigation .myInfo_user .authentication image.data-v-4e9259b6{width:18rpx;height:28rpx;display:inline-block;margin-left:16rpx;vertical-align:middle;padding-bottom:2rpx}.myInfo_navigation .myInfo_user .user_info.data-v-4e9259b6{-webkit-box-flex:1;-webkit-flex:1;flex:1}.myInfo_navigation .myInfo_user .user_info .user_info_name.data-v-4e9259b6{margin-bottom:10rpx;font-weight:500;color:#333;font-size:34rpx}.myInfo_navigation .myInfo_user .user_info .user_info_code.data-v-4e9259b6{color:#999;font-size:24rpx}.myInfo_navigation .myInfo_user .user_info .user_info_code text.data-v-4e9259b6{font-size:21rpx;display:inline-block;margin-left:16rpx;width:58rpx;height:32rpx;line-height:32rpx;text-align:center;border:1rpx solid #1989fa;color:#1989fa;-webkit-border-radius:8rpx;border-radius:8rpx}.myInfo.data-v-4e9259b6{padding:32rpx;margin-bottom:120rpx}.myInfo .banner swiper.data-v-4e9259b6{height:196rpx}.myInfo .myInfo_block.data-v-4e9259b6{position:relative;background-color:#fff;margin:20rpx 0;-webkit-border-radius:10rpx;border-radius:10rpx;padding:16rpx 22rpx}.myInfo .myInfo_block .right_icon.data-v-4e9259b6{position:absolute;right:38rpx;width:100%;top:16rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#ea0000;font-size:28rpx}.myInfo .myInfo_block .right_icon image.data-v-4e9259b6{width:18rpx;height:36rpx;display:block;padding-left:10rpx}.myInfo .myInfo_block .right_icon .contracttext.data-v-4e9259b6{color:#999}.myInfo .myInfo_block .mycontract_box.data-v-4e9259b6{-webkit-justify-content:space-around;justify-content:space-around}.myInfo .myInfo_block .contract_box.data-v-4e9259b6{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}.myInfo .myInfo_block .contract_box .contract_icon.data-v-4e9259b6{width:25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.myInfo .myInfo_block .contract_box .contract_icon image.data-v-4e9259b6{width:108rpx;height:auto;display:block;padding-bottom:12rpx}.myInfo .myInfo_block .contract_box .contract_icon text.data-v-4e9259b6{font-size:28rpx;color:#666}.myInfo .personer_area .contract_box .contract_icon.data-v-4e9259b6{margin-bottom:28rpx}.myInfo .personer_area .contract_box .contract_icon image.data-v-4e9259b6{padding-bottom:20rpx}.myInfo .tool .contract_box .contract_icon.data-v-4e9259b6{margin-bottom:28rpx}.myInfo .tool .contract_box .contract_icon image.data-v-4e9259b6{width:60rpx}.myInfo .tool .contract_box .contract_icon .dk_icon.data-v-4e9259b6{width:108rpx}.myInfo .tool .contract_box .contract_icon:nth-child(1) image.data-v-4e9259b6{width:70rpx}.myInfo .tool .contract_box .contract_icon:nth-child(1) .dk_icon.data-v-4e9259b6{width:108rpx}.myInfo .myInfo_block_title.data-v-4e9259b6{color:#333;font-size:34rpx;text-indent:16rpx;margin-bottom:18rpx;font-weight:700}.myInfo .myInfo_poster.data-v-4e9259b6{padding-top:10rpx}.myInfo .myInfo_poster image.data-v-4e9259b6{width:100%;display:block;-webkit-border-radius:10rpx;border-radius:10rpx}.myInfo .jianju.data-v-4e9259b6{width:100vw;height:16rpx;background:#f2f7ff;margin-left:-32rpx}.myInfo .myInfo_commons.data-v-4e9259b6{background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-border-radius:10rpx;border-radius:10rpx;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.myInfo .myInfo_items:nth-last-child(1) .hexian.data-v-4e9259b6{display:none}.myInfo .myInfo_box .myInfo_items:nth-last-child(1) .hexian.data-v-4e9259b6{display:block}.myInfo .myInfo_box:nth-last-child(1) .hexian.data-v-4e9259b6{display:none;height:0}.myInfo .myInfo_box button.data-v-4e9259b6::after{height:0;width:0}.myInfo .myInfo_items.data-v-4e9259b6{width:33%;color:#666;font-size:28rpx;font-weight:500;display:-webkit-box;display:-webkit-flex;display:flex;height:111rpx;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.myInfo .myInfo_items image.data-v-4e9259b6{width:18rpx;height:28rpx;vertical-align:middle;padding-top:5rpx}.myInfo .myInfo_items .hexian.data-v-4e9259b6{width:100%;height:1px;background-color:#c6c9cc;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-o-transform:scaleY(.5);-ms-transform:scaleY(.5);position:absolute;bottom:0}.myInfo .myInfo_items .text.data-v-4e9259b6{padding-top:24rpx}.myInfo .myInfo_items .text text.data-v-4e9259b6{font-size:32rpx;color:#1989fa}.myInfo .official.data-v-4e9259b6{margin-bottom:80rpx}
\ No newline at end of file
.mypage.data-v-52b88cb5,
page.data-v-52b88cb5{background:#f5f5f5}.myInfo_navigation.data-v-52b88cb5{width:100%;position:relative}.myInfo_navigation image.data-v-52b88cb5{width:100%;display:block;-webkit-border-radius:0 0 20% 20%;border-radius:0 0 20% 20%}.myInfo_navigation .kfgg.data-v-52b88cb5{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:40rpx;width:100%;z-index:100;position:absolute;left:0;top:20rpx}.myInfo_navigation .kfgg button.data-v-52b88cb5{background-color:transparent;border:none;margin:0;padding:0}.myInfo_navigation .kfgg button.data-v-52b88cb5::after{display:none}.myInfo_navigation .kfgg image.data-v-52b88cb5{width:50rpx;height:50rpx}.myInfo_navigation .kfgg image.data-v-52b88cb5:nth-last-child(1){margin-left:26rpx;margin-right:34rpx;width:48rpx;height:48rpx}.myInfo_navigation .kfgg button image.data-v-52b88cb5:nth-last-child(1){margin-left:0;margin-right:0;width:50rpx;height:50rpx}.myInfo_navigation .myInfo_navigation_title.data-v-52b88cb5{width:100%;display:block;text-align:center;position:absolute;left:0;font-size:34rpx;color:#fff;height:68rpx;line-height:68rpx;z-index:100}.myInfo_navigation .myInfo_user.data-v-52b88cb5{width:91.5%;left:4.25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:60rpx 32rpx 32rpx 32rpx;bottom:-18rpx;position:absolute;height:220rpx;background-color:#fff;-webkit-border-radius:10rpx;border-radius:10rpx;-webkit-box-shadow:0 3px 3px rgba(0,0,0,.16);box-shadow:0 3px 3px rgba(0,0,0,.16)}.myInfo_navigation .myInfo_user .user_img.data-v-52b88cb5{width:100rpx;height:100rpx;-webkit-border-radius:50%;border-radius:50%;margin-right:18rpx}.myInfo_navigation .myInfo_user .authentication.data-v-52b88cb5{color:#999;font-size:24rpx}.myInfo_navigation .myInfo_user .authentication image.data-v-52b88cb5{width:18rpx;height:28rpx;display:inline-block;margin-left:16rpx;vertical-align:middle;padding-bottom:2rpx}.myInfo_navigation .myInfo_user .user_info.data-v-52b88cb5{-webkit-box-flex:1;-webkit-flex:1;flex:1}.myInfo_navigation .myInfo_user .user_info .user_info_name.data-v-52b88cb5{margin-bottom:10rpx;font-weight:500;color:#333;font-size:34rpx}.myInfo_navigation .myInfo_user .user_info .user_info_code.data-v-52b88cb5{color:#999;font-size:24rpx}.myInfo_navigation .myInfo_user .user_info .user_info_code text.data-v-52b88cb5{font-size:21rpx;display:inline-block;margin-left:16rpx;width:58rpx;height:32rpx;line-height:32rpx;text-align:center;border:1rpx solid #1989fa;color:#1989fa;-webkit-border-radius:8rpx;border-radius:8rpx}.myInfo.data-v-52b88cb5{padding:32rpx;margin-bottom:120rpx}.myInfo .banner swiper.data-v-52b88cb5{height:196rpx}.myInfo .myInfo_block.data-v-52b88cb5{position:relative;background-color:#fff;margin:20rpx 0;-webkit-border-radius:10rpx;border-radius:10rpx;padding:16rpx 22rpx}.myInfo .myInfo_block .right_icon.data-v-52b88cb5{position:absolute;right:38rpx;width:100%;top:16rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#ea0000;font-size:28rpx}.myInfo .myInfo_block .right_icon image.data-v-52b88cb5{width:18rpx;height:36rpx;display:block;padding-left:10rpx}.myInfo .myInfo_block .right_icon .contracttext.data-v-52b88cb5{color:#999}.myInfo .myInfo_block .mycontract_box.data-v-52b88cb5{-webkit-justify-content:space-around;justify-content:space-around}.myInfo .myInfo_block .contract_box.data-v-52b88cb5{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}.myInfo .myInfo_block .contract_box .contract_icon.data-v-52b88cb5{width:25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.myInfo .myInfo_block .contract_box .contract_icon image.data-v-52b88cb5{width:108rpx;height:auto;display:block;padding-bottom:12rpx}.myInfo .myInfo_block .contract_box .contract_icon text.data-v-52b88cb5{font-size:28rpx;color:#666}.myInfo .personer_area .contract_box .contract_icon.data-v-52b88cb5{margin-bottom:28rpx}.myInfo .personer_area .contract_box .contract_icon image.data-v-52b88cb5{padding-bottom:20rpx}.myInfo .tool .contract_box .contract_icon.data-v-52b88cb5{margin-bottom:28rpx}.myInfo .tool .contract_box .contract_icon image.data-v-52b88cb5{width:60rpx}.myInfo .tool .contract_box .contract_icon .dk_icon.data-v-52b88cb5{width:108rpx}.myInfo .tool .contract_box .contract_icon:nth-child(1) image.data-v-52b88cb5{width:70rpx}.myInfo .tool .contract_box .contract_icon:nth-child(1) .dk_icon.data-v-52b88cb5{width:108rpx}.myInfo .myInfo_block_title.data-v-52b88cb5{color:#333;font-size:34rpx;text-indent:16rpx;margin-bottom:18rpx;font-weight:700}.myInfo .myInfo_poster.data-v-52b88cb5{padding-top:10rpx}.myInfo .myInfo_poster image.data-v-52b88cb5{width:100%;display:block;-webkit-border-radius:10rpx;border-radius:10rpx}.myInfo .jianju.data-v-52b88cb5{width:100vw;height:16rpx;background:#f2f7ff;margin-left:-32rpx}.myInfo .myInfo_commons.data-v-52b88cb5{background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-border-radius:10rpx;border-radius:10rpx;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.myInfo .myInfo_items:nth-last-child(1) .hexian.data-v-52b88cb5{display:none}.myInfo .myInfo_box .myInfo_items:nth-last-child(1) .hexian.data-v-52b88cb5{display:block}.myInfo .myInfo_box:nth-last-child(1) .hexian.data-v-52b88cb5{display:none;height:0}.myInfo .myInfo_box button.data-v-52b88cb5::after{height:0;width:0}.myInfo .myInfo_items.data-v-52b88cb5{width:33%;color:#666;font-size:28rpx;font-weight:500;display:-webkit-box;display:-webkit-flex;display:flex;height:111rpx;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.myInfo .myInfo_items image.data-v-52b88cb5{width:18rpx;height:28rpx;vertical-align:middle;padding-top:5rpx}.myInfo .myInfo_items .hexian.data-v-52b88cb5{width:100%;height:1px;background-color:#c6c9cc;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-o-transform:scaleY(.5);-ms-transform:scaleY(.5);position:absolute;bottom:0}.myInfo .myInfo_items .text.data-v-52b88cb5{padding-top:24rpx}.myInfo .myInfo_items .text text.data-v-52b88cb5{font-size:32rpx;color:#1989fa}.myInfo .official.data-v-52b88cb5{margin-bottom:80rpx}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/Contracts/LssueContracts/LssueContracts.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/Contracts/LssueContracts/LssueContracts"
],{
2668
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
;
a
.
d
(
e
,
"b"
,(
function
(){
return
c
})),
a
.
d
(
e
,
"c"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"a"
,(
function
(){
return
n
}));
var
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
;
t
.
_self
.
_c
},
i
=
[]},
6675
:
function
(
t
,
e
,
a
){
"use strict"
;(
function
(
t
){
a
(
"78ef"
);
n
(
a
(
"66fd"
));
var
e
=
n
(
a
(
"bcb8"
));
function
n
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
a
(
"543d"
)[
"createPage"
])},
9899
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
a
(
"b5ed"
),
c
=
a
.
n
(
n
);
c
.
a
},
b5ed
:
function
(
t
,
e
,
a
){},
bcb8
:
function
(
t
,
e
,
a
){
"use strict"
;
a
.
r
(
e
);
var
n
=
a
(
"2668"
),
c
=
a
(
"ded5"
);
for
(
var
i
in
c
)
"default"
!==
i
&&
function
(
t
){
a
.
d
(
e
,
t
,(
function
(){
return
c
[
t
]}))}(
i
);
a
(
"9899"
);
var
o
,
r
=
a
(
"f0c5"
),
s
=
Object
(
r
[
"a"
])(
c
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
o
);
e
[
"default"
]
=
s
.
exports
},
ded5
:
function
(
t
,
e
,
a
){
"use strict"
;
a
.
r
(
e
);
var
n
=
a
(
"f98f"
),
c
=
a
.
n
(
n
);
for
(
var
i
in
n
)
"default"
!==
i
&&
function
(
t
){
a
.
d
(
e
,
t
,(
function
(){
return
n
[
t
]}))}(
i
);
e
[
"default"
]
=
c
.
a
},
f98f
:
function
(
t
,
e
,
a
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
n
=
i
(
a
(
"9036"
)),
c
=
a
(
"86df"
);
function
i
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
o
=
{
created
:
function
(){
this
.
electricId
=
t
.
getStorageSync
(
"user"
).
electricId
,
this
.
getElectricitySalesCompaniesList
()},
onLoad
:
function
(
t
){
var
e
=
this
;
e
.
contractId
=
t
.
id
,
t
.
template
&&
(
e
.
onTemplate
=!
1
)},
data
:
function
(){
return
{
contractId
:
""
,
contractType
:
""
,
contractA
:
""
,
userId
:
null
,
electricity
:
""
,
fixedSpread
:
""
,
shareRatio
:
""
,
contractStartTime
:
""
,
contractEndTime
:
""
,
electricId
:
""
,
typeValue
:
""
,
typeOptions
:[
"固定价差"
,
"月竞分成"
],
companyValue
:
""
,
companys
:
""
,
companyOptions
:[],
pdFurl
:
""
,
imgList
:[],
onUpload
:
!
0
,
onTemplate
:
!
0
,
onSubmint
:
!
1
}},
computed
:{
startDate
:
function
(){
var
t
=
(
new
Date
).
getFullYear
(),
e
=
(
new
Date
).
getMonth
()
+
1
,
a
=
(
new
Date
).
getDay
();
return
13
==
e
&&
(
t
+=
1
,
e
=
1
),
e
=
e
>
9
?
e
:
"0"
+
e
,
a
=
a
>
9
?
a
:
"0"
+
a
,
t
+
"-"
+
e
+
"-"
+
a
},
endDate
:
function
(){
var
t
=
(
new
Date
).
getFullYear
()
+
10
;
return
t
+
"-12-31"
}},
methods
:{
getElectricitySalesCompaniesList
:
function
(){
var
t
=
this
;(
0
,
c
.
get
)(
n
.
default
.
electricitySalesCompaniesList
).
then
((
function
(
e
){
200
==
e
.
code
&&
(
console
.
log
(
"获取售电公司列表"
),
t
.
companys
=
e
.
data
,
t
.
companyOptions
=
e
.
data
.
map
((
function
(
t
){
return
t
.
eName
})),
t
.
contractId
&&
t
.
datashow
())}))},
datashow
:
function
(){
var
t
=
this
;(
0
,
c
.
get
)(
n
.
default
.
contractDetail
,{
contractId
:
t
.
contractId
}).
then
((
function
(
e
){
if
(
console
.
log
(
"获取合同信息"
),
200
==
e
.
code
){
t
.
contractA
=
e
.
data
.
contractA
,
t
.
companyValue
=
e
.
data
.
ename
;
var
a
=
t
.
companys
.
filter
((
function
(
e
){
return
e
.
eName
==
t
.
companyValue
}));
console
.
log
(
a
),
t
.
userId
=
a
[
0
].
userId
,
t
.
electricity
=
e
.
data
.
electricity
,
t
.
contractStartTime
=
e
.
data
.
contractStartTime
.
replace
(
new
RegExp
(
"-"
,
"g"
),
"/"
),
t
.
contractEndTime
=
e
.
data
.
contractEndTime
.
replace
(
new
RegExp
(
"-"
,
"g"
),
"/"
),
t
.
contractType
=
e
.
data
.
contractType
,
1
==
t
.
contractType
?(
t
.
typeValue
=
"固定价差"
,
t
.
fixedSpread
=
e
.
data
.
fixedSpread
):(
t
.
typeValue
=
"月竞分成"
,
t
.
shareRatio
=
e
.
data
.
shareRatio
);
var
n
=
JSON
.
parse
(
e
.
data
.
contractAnnex
);
n
.
map
((
function
(
e
){
e
.
lastIndexOf
(
".pdf"
)
>-
1
?
t
.
pdFurl
=
e
:
t
.
imgList
=
n
}))}}))},
bindTypeChange
:
function
(
t
){
var
e
=
t
.
detail
.
value
;
switch
(
this
.
typeValue
=
this
.
typeOptions
[
e
],
this
.
typeValue
){
case
"固定价差"
:
this
.
contractType
=
1
;
break
;
case
"月竞分成"
:
this
.
contractType
=
3
;
break
}},
bindCompanyChange
:
function
(
t
){
var
e
=
this
,
a
=
t
.
detail
.
value
;
this
.
companyValue
=
this
.
companyOptions
[
a
];
var
n
=
this
.
companys
.
filter
((
function
(
t
){
if
(
t
.
eName
==
e
.
companyValue
)
return
t
.
userId
}));
this
.
userId
=
n
[
0
].
userId
},
bindStartDateChange
:
function
(
t
){
var
e
=
t
.
detail
.
value
.
replace
(
"-"
,
"/"
);
this
.
contractStartTime
=
e
+
"/01"
},
bindEndDateChange
:
function
(
e
){
this
.
contractStartTime
.
split
(
"/"
)[
0
]
>
e
.
detail
.
value
?
t
.
showToast
({
title
:
"合同开始时间不能大于合同结束时间"
,
icon
:
"none"
}):
this
.
contractEndTime
=
e
.
detail
.
value
+
"/12/31"
},
slectImage
:
function
(){
var
e
=
this
;
wx
.
chooseMessageFile
({
count
:
1
,
type
:
"all"
,
success
:
function
(
a
){
t
.
showLoading
({
title
:
"上传中"
});
var
c
=
a
.
tempFiles
;
t
.
uploadFile
({
url
:
n
.
default
.
uploadFile
,
filePath
:
c
[
0
].
path
,
name
:
"file"
,
success
:
function
(
a
){
var
n
=
JSON
.
parse
(
a
.
data
).
url
;
n
.
lastIndexOf
(
".pdf"
)
>-
1
?(
e
.
pdFurl
=
n
,
e
.
imgList
=
[]):(
e
.
imgList
.
push
(
n
),
e
.
imgList
.
length
>
5
&&
(
e
.
onUpload
=!
1
),
e
.
pdFurl
=
""
),
t
.
hideLoading
()}})}})},
openContract
:
function
(){
console
.
log
(
"下载合同"
);
var
e
=
this
.
checkout
();
if
(
e
)
t
.
showToast
({
title
:
e
,
icon
:
"none"
});
else
{
var
a
=
{
contractType
:
this
.
contractType
,
contractA
:
this
.
contractA
,
userId
:
this
.
userId
,
electricity
:
this
.
electricity
,
fixedSpread
:
this
.
fixedSpread
,
shareRatio
:
this
.
shareRatio
,
contractStartTime
:
this
.
contractStartTime
,
contractEndTime
:
this
.
contractEndTime
,
electricId
:
this
.
electricId
};(
0
,
c
.
get
)(
n
.
default
.
previewContract
,
a
).
then
((
function
(
e
){
if
(
console
.
log
(
e
),
200
==
e
.
code
){
var
a
=
e
.
msg
.
replace
(
/http/g
,
"https"
);
t
.
downloadFile
({
url
:
a
,
filePath
:
wx
.
env
.
USER_DATA_PATH
+
"/购售电交易合同.docx"
,
success
:
function
(
e
){
console
.
log
(
e
),
200
==
e
.
statusCode
&&
t
.
openDocument
({
filePath
:
e
.
filePath
,
showMenu
:
!
0
,
success
:
function
(){
console
.
log
(
"打开文档成功"
)}})},
fail
:
function
(
e
){
t
.
showToast
({
title
:
"打开文档失败,请联系管理员"
,
icon
:
"none"
})}})}}))}},
submit
:
function
(){
var
e
=
this
;
console
.
log
(
"上传合同"
);
var
a
=
this
.
contractStartTime
.
replace
(
new
RegExp
(
"/"
,
"g"
),
"-"
),
i
=
this
.
contractEndTime
.
replace
(
/
\/
/g
,
"-"
),
o
=
this
.
checkout
();
if
(
o
)
t
.
showToast
({
title
:
o
,
icon
:
"none"
});
else
{
var
r
=
[];
this
.
pdFurl
?
r
.
push
(
this
.
pdFurl
):
r
=
this
.
imgList
,
this
.
onSubmint
=!
0
,(
0
,
c
.
post
)(
n
.
default
.
uploadContract
,{
id
:
this
.
contractId
,
contractType
:
this
.
contractType
,
contractA
:
this
.
contractA
,
userId
:
this
.
userId
,
electricity
:
this
.
electricity
,
fixedSpread
:
this
.
fixedSpread
,
shareRatio
:
this
.
shareRatio
,
contractStartTime
:
a
,
contractEndTime
:
i
,
electricId
:
this
.
electricId
,
contractAnnex
:
JSON
.
stringify
(
r
)}).
then
((
function
(
a
){
200
==
a
.
code
?(
t
.
showToast
({
title
:
"保存成功"
}),
setTimeout
((
function
(){
t
.
navigateBack
({
delta
:
1
})}),
500
)):(
t
.
showToast
({
title
:
a
.
msg
,
icon
:
"none"
}),
setTimeout
((
function
(){
e
.
onSubmint
=!
1
}),
1
e3
))}))}},
checkout
:
function
(){
return
""
==
this
.
contractType
?
"请选择合同类型"
:
""
==
this
.
contractA
?
"请输入合同的甲方"
:
null
==
this
.
userId
?
"请选择合同的乙方"
:
""
==
this
.
electricity
||
isNaN
(
this
.
electricity
)?
"请输入合同的电量"
:
1
==
this
.
contractType
&&
""
==
this
.
fixedSpread
?
"请输入固定的价差"
:
3
==
this
.
contractType
&&
""
==
this
.
shareRatio
?
"请输入分成的比例"
:
""
==
this
.
contractStartTime
?
"请选择合同的开始时间"
:
""
==
this
.
contractEndTime
?
"请选择合同的结束时间"
:
!
(
!
this
.
onTemplate
||
""
!=
this
.
pdFurl
||
0
!=
this
.
imgList
.
length
)
&&
"请上传合同附件"
}}};
e
.
default
=
o
}).
call
(
this
,
a
(
"543d"
)[
"default"
])}},[[
"6675"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/Contracts/LssueContracts/LssueContracts"
],{
6675
:
function
(
t
,
e
,
a
){
"use strict"
;(
function
(
t
){
a
(
"78ef"
);
n
(
a
(
"66fd"
));
var
e
=
n
(
a
(
"bcb8"
));
function
n
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
a
(
"543d"
)[
"createPage"
])},
"83cf"
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
;
a
.
d
(
e
,
"b"
,(
function
(){
return
c
})),
a
.
d
(
e
,
"c"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"a"
,(
function
(){
return
n
}));
var
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
;
t
.
_self
.
_c
},
i
=
[]},
9899
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
a
(
"b5ed"
),
c
=
a
.
n
(
n
);
c
.
a
},
b5ed
:
function
(
t
,
e
,
a
){},
bcb8
:
function
(
t
,
e
,
a
){
"use strict"
;
a
.
r
(
e
);
var
n
=
a
(
"83cf"
),
c
=
a
(
"ded5"
);
for
(
var
i
in
c
)
"default"
!==
i
&&
function
(
t
){
a
.
d
(
e
,
t
,(
function
(){
return
c
[
t
]}))}(
i
);
a
(
"9899"
);
var
o
,
r
=
a
(
"f0c5"
),
s
=
Object
(
r
[
"a"
])(
c
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
o
);
e
[
"default"
]
=
s
.
exports
},
ded5
:
function
(
t
,
e
,
a
){
"use strict"
;
a
.
r
(
e
);
var
n
=
a
(
"f98f"
),
c
=
a
.
n
(
n
);
for
(
var
i
in
n
)
"default"
!==
i
&&
function
(
t
){
a
.
d
(
e
,
t
,(
function
(){
return
n
[
t
]}))}(
i
);
e
[
"default"
]
=
c
.
a
},
f98f
:
function
(
t
,
e
,
a
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
n
=
i
(
a
(
"9036"
)),
c
=
a
(
"86df"
);
function
i
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
o
=
{
created
:
function
(){
this
.
electricId
=
t
.
getStorageSync
(
"user"
).
electricId
,
this
.
getElectricitySalesCompaniesList
()},
onLoad
:
function
(
t
){
var
e
=
this
;
e
.
contractId
=
t
.
id
,
t
.
template
&&
(
e
.
onTemplate
=!
1
)},
data
:
function
(){
return
{
contractId
:
""
,
contractType
:
""
,
contractA
:
""
,
userId
:
null
,
electricity
:
""
,
fixedSpread
:
""
,
shareRatio
:
""
,
contractStartTime
:
""
,
contractEndTime
:
""
,
electricId
:
""
,
typeValue
:
""
,
typeOptions
:[
"固定价差"
,
"月竞分成"
],
companyValue
:
""
,
companys
:
""
,
companyOptions
:[],
pdFurl
:
""
,
imgList
:[],
onUpload
:
!
0
,
onTemplate
:
!
0
,
onSubmint
:
!
1
}},
computed
:{
startDate
:
function
(){
var
t
=
(
new
Date
).
getFullYear
(),
e
=
(
new
Date
).
getMonth
()
+
1
,
a
=
(
new
Date
).
getDay
();
return
13
==
e
&&
(
t
+=
1
,
e
=
1
),
e
=
e
>
9
?
e
:
"0"
+
e
,
a
=
a
>
9
?
a
:
"0"
+
a
,
t
+
"-"
+
e
+
"-"
+
a
},
endDate
:
function
(){
var
t
=
(
new
Date
).
getFullYear
()
+
10
;
return
t
+
"-12-31"
}},
methods
:{
getElectricitySalesCompaniesList
:
function
(){
var
t
=
this
;(
0
,
c
.
get
)(
n
.
default
.
electricitySalesCompaniesList
).
then
((
function
(
e
){
200
==
e
.
code
&&
(
console
.
log
(
"获取售电公司列表"
),
t
.
companys
=
e
.
data
,
t
.
companyOptions
=
e
.
data
.
map
((
function
(
t
){
return
t
.
eName
})),
t
.
contractId
&&
t
.
datashow
())}))},
datashow
:
function
(){
var
t
=
this
;(
0
,
c
.
get
)(
n
.
default
.
contractDetail
,{
contractId
:
t
.
contractId
}).
then
((
function
(
e
){
if
(
console
.
log
(
"获取合同信息"
),
200
==
e
.
code
){
t
.
contractA
=
e
.
data
.
contractA
,
t
.
companyValue
=
e
.
data
.
ename
;
var
a
=
t
.
companys
.
filter
((
function
(
e
){
return
e
.
eName
==
t
.
companyValue
}));
t
.
userId
=
a
[
0
].
userId
,
t
.
electricity
=
e
.
data
.
electricity
,
t
.
contractStartTime
=
e
.
data
.
contractStartTime
.
replace
(
new
RegExp
(
"-"
,
"g"
),
"/"
),
t
.
contractEndTime
=
e
.
data
.
contractEndTime
.
replace
(
new
RegExp
(
"-"
,
"g"
),
"/"
),
t
.
contractType
=
e
.
data
.
contractType
,
1
==
t
.
contractType
?(
t
.
typeValue
=
"固定价差"
,
t
.
fixedSpread
=
e
.
data
.
fixedSpread
):(
t
.
typeValue
=
"月竞分成"
,
t
.
shareRatio
=
e
.
data
.
shareRatio
);
var
n
=
JSON
.
parse
(
e
.
data
.
contractAnnex
);
n
.
map
((
function
(
e
){
e
.
lastIndexOf
(
".pdf"
)
>-
1
?
t
.
pdFurl
=
e
:
t
.
imgList
=
n
}))}}))},
bindTypeChange
:
function
(
t
){
var
e
=
t
.
detail
.
value
;
switch
(
this
.
typeValue
=
this
.
typeOptions
[
e
],
this
.
typeValue
){
case
"固定价差"
:
this
.
contractType
=
1
;
break
;
case
"月竞分成"
:
this
.
contractType
=
3
;
break
}},
bindCompanyChange
:
function
(
t
){
var
e
=
this
,
a
=
t
.
detail
.
value
;
this
.
companyValue
=
this
.
companyOptions
[
a
];
var
n
=
this
.
companys
.
filter
((
function
(
t
){
if
(
t
.
eName
==
e
.
companyValue
)
return
t
.
userId
}));
this
.
userId
=
n
[
0
].
userId
},
bindStartDateChange
:
function
(
t
){
var
e
=
t
.
detail
.
value
.
replace
(
"-"
,
"/"
);
this
.
contractStartTime
=
e
+
"/01"
},
bindEndDateChange
:
function
(
e
){
this
.
contractStartTime
.
split
(
"/"
)[
0
]
>
e
.
detail
.
value
?
t
.
showToast
({
title
:
"合同开始时间不能大于合同结束时间"
,
icon
:
"none"
}):
this
.
contractEndTime
=
e
.
detail
.
value
+
"/12/31"
},
slectImage
:
function
(){
var
e
=
this
;
wx
.
chooseMessageFile
({
count
:
1
,
type
:
"all"
,
success
:
function
(
a
){
t
.
showLoading
({
title
:
"上传中"
});
var
c
=
a
.
tempFiles
;
t
.
uploadFile
({
url
:
n
.
default
.
uploadFile
,
filePath
:
c
[
0
].
path
,
name
:
"file"
,
success
:
function
(
a
){
var
n
=
JSON
.
parse
(
a
.
data
).
url
;
n
.
lastIndexOf
(
".pdf"
)
>-
1
?(
e
.
pdFurl
=
n
,
e
.
imgList
=
[]):(
e
.
imgList
.
push
(
n
),
e
.
imgList
.
length
>
5
&&
(
e
.
onUpload
=!
1
),
e
.
pdFurl
=
""
),
t
.
hideLoading
()}})}})},
openContract
:
function
(){
console
.
log
(
"下载合同"
);
var
e
=
this
.
checkout
();
if
(
e
)
t
.
showToast
({
title
:
e
,
icon
:
"none"
});
else
{
var
a
=
{
contractType
:
this
.
contractType
,
contractA
:
this
.
contractA
,
userId
:
this
.
userId
,
electricity
:
this
.
electricity
,
fixedSpread
:
this
.
fixedSpread
,
shareRatio
:
this
.
shareRatio
,
contractStartTime
:
this
.
contractStartTime
,
contractEndTime
:
this
.
contractEndTime
,
electricId
:
this
.
electricId
};(
0
,
c
.
get
)(
n
.
default
.
previewContract
,
a
).
then
((
function
(
e
){
if
(
console
.
log
(
e
),
200
==
e
.
code
){
var
a
=
e
.
msg
.
replace
(
/http/g
,
"https"
);
t
.
downloadFile
({
url
:
a
,
filePath
:
wx
.
env
.
USER_DATA_PATH
+
"/购售电交易合同.docx"
,
success
:
function
(
e
){
console
.
log
(
e
),
200
==
e
.
statusCode
&&
t
.
openDocument
({
filePath
:
e
.
filePath
,
showMenu
:
!
0
,
success
:
function
(){
console
.
log
(
"打开文档成功"
)}})},
fail
:
function
(
e
){
t
.
showToast
({
title
:
"打开文档失败,请联系管理员"
,
icon
:
"none"
})}})}}))}},
submit
:
function
(){
var
e
=
this
;
console
.
log
(
"上传合同"
);
var
a
=
this
.
contractStartTime
.
replace
(
new
RegExp
(
"/"
,
"g"
),
"-"
),
i
=
this
.
contractEndTime
.
replace
(
/
\/
/g
,
"-"
),
o
=
this
.
checkout
();
if
(
o
)
t
.
showToast
({
title
:
o
,
icon
:
"none"
});
else
{
var
r
=
[];
this
.
pdFurl
?
r
.
push
(
this
.
pdFurl
):
r
=
this
.
imgList
,
this
.
onSubmint
=!
0
,(
0
,
c
.
post
)(
n
.
default
.
uploadContract
,{
id
:
this
.
contractId
,
contractType
:
this
.
contractType
,
contractA
:
this
.
contractA
,
userId
:
this
.
userId
,
electricity
:
this
.
electricity
,
fixedSpread
:
this
.
fixedSpread
,
shareRatio
:
this
.
shareRatio
,
contractStartTime
:
a
,
contractEndTime
:
i
,
electricId
:
this
.
electricId
,
contractAnnex
:
JSON
.
stringify
(
r
)}).
then
((
function
(
a
){
200
==
a
.
code
?(
t
.
showToast
({
title
:
"保存成功"
}),
setTimeout
((
function
(){
t
.
navigateBack
({
delta
:
1
})}),
500
)):(
t
.
showToast
({
title
:
a
.
msg
,
icon
:
"none"
}),
setTimeout
((
function
(){
e
.
onSubmint
=!
1
}),
1
e3
))}))}},
checkout
:
function
(){
return
""
==
this
.
contractType
?
"请选择合同类型"
:
""
==
this
.
contractA
?
"请输入合同的甲方"
:
null
==
this
.
userId
?
"请选择合同的乙方"
:
""
==
this
.
electricity
||
isNaN
(
this
.
electricity
)?
"请输入合同的电量"
:
1
==
this
.
contractType
&&
""
==
this
.
fixedSpread
?
"请输入固定的价差"
:
3
==
this
.
contractType
&&
""
==
this
.
shareRatio
?
"请输入分成的比例"
:
""
==
this
.
contractStartTime
?
"请选择合同的开始时间"
:
""
==
this
.
contractEndTime
?
"请选择合同的结束时间"
:
!
(
!
this
.
onTemplate
||
""
!=
this
.
pdFurl
||
0
!=
this
.
imgList
.
length
)
&&
"请上传合同附件"
}}};
e
.
default
=
o
}).
call
(
this
,
a
(
"543d"
)[
"default"
])}},[[
"6675"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/ElectricPassengerCenter/ElectricPassengerCenter.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/ElectricPassengerCenter/ElectricPassengerCenter"
],{
"2c0f"
:
function
(
n
,
t
,
e
){
"use strict"
;
var
c
=
e
(
"3161"
),
r
=
e
.
n
(
c
);
r
.
a
},
3161
:
function
(
n
,
t
,
e
){},
"3bcc"
:
function
(
n
,
t
){},
"49eb"
:
function
(
n
,
t
,
e
){
"use strict"
;(
function
(
n
){
e
(
"78ef"
);
c
(
e
(
"66fd"
));
var
t
=
c
(
e
(
"ac55"
));
function
c
(
n
){
return
n
&&
n
.
__esModule
?
n
:{
default
:
n
}}
n
(
t
.
default
)}).
call
(
this
,
e
(
"543d"
)[
"createPage"
])},
7618
:
function
(
n
,
t
,
e
){
"use strict"
;
var
c
;
e
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
e
.
d
(
t
,
"c"
,(
function
(){
return
u
})),
e
.
d
(
t
,
"a"
,(
function
(){
return
c
}));
var
r
=
function
(){
var
n
=
this
,
t
=
n
.
$createElement
;
n
.
_self
.
_c
},
u
=
[]},
ac55
:
function
(
n
,
t
,
e
){
"use strict"
;
e
.
r
(
t
);
var
c
=
e
(
"7618"
),
r
=
e
(
"ce70"
);
for
(
var
u
in
r
)
"default"
!==
u
&&
function
(
n
){
e
.
d
(
t
,
n
,(
function
(){
return
r
[
n
]}))}(
u
);
e
(
"2c0f"
);
var
a
,
f
=
e
(
"f0c5"
),
o
=
Object
(
f
[
"a"
])(
r
[
"default"
],
c
[
"b"
],
c
[
"c"
],
!
1
,
null
,
"5ad630c3"
,
null
,
!
1
,
c
[
"a"
],
a
);
t
[
"default"
]
=
o
.
exports
},
ce70
:
function
(
n
,
t
,
e
){
"use strict"
;
e
.
r
(
t
);
var
c
=
e
(
"3bcc"
),
r
=
e
.
n
(
c
);
for
(
var
u
in
c
)
"default"
!==
u
&&
function
(
n
){
e
.
d
(
t
,
n
,(
function
(){
return
c
[
n
]}))}(
u
);
t
[
"default"
]
=
r
.
a
}},[[
"49eb"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/ElectricPassengerCenter/ElectricPassengerCenter"
],{
"240b"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
c
=
n
(
"ebae"
),
u
=
n
.
n
(
c
);
u
.
a
},
"3bcc"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
n
(
"86df"
),
c
(
n
(
"9036"
)),
c
(
n
(
"57ea"
));
function
c
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
u
=
{
data
:
function
(){
return
{}},
created
:
function
(){},
computed
:{},
methods
:{
back
:
function
(){
e
.
navigateBack
({
delta
:
1
})},
linktodk
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/switchIdentity/switchIdentity"
})}}};
t
.
default
=
u
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"410e"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
c
;
n
.
d
(
t
,
"b"
,(
function
(){
return
u
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
c
}));
var
u
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
a
=
[]},
"49eb"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
c
(
n
(
"66fd"
));
var
t
=
c
(
n
(
"ac55"
));
function
c
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
ac55
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
c
=
n
(
"410e"
),
u
=
n
(
"ce70"
);
for
(
var
a
in
u
)
"default"
!==
a
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
u
[
e
]}))}(
a
);
n
(
"240b"
);
var
r
,
i
=
n
(
"f0c5"
),
o
=
Object
(
i
[
"a"
])(
u
[
"default"
],
c
[
"b"
],
c
[
"c"
],
!
1
,
null
,
"7d25422c"
,
null
,
!
1
,
c
[
"a"
],
r
);
t
[
"default"
]
=
o
.
exports
},
ce70
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
c
=
n
(
"3bcc"
),
u
=
n
.
n
(
c
);
for
(
var
a
in
c
)
"default"
!==
a
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
c
[
e
]}))}(
a
);
t
[
"default"
]
=
u
.
a
},
ebae
:
function
(
e
,
t
,
n
){}},[[
"49eb"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/ElectricPassengerCenter/ElectricPassengerCenter.json
浏览文件 @
a9280eb9
{
"navigationBarTitleText"
:
"电客中心"
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
,
"usingComponents"
:
{}
}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/ElectricPassengerCenter/ElectricPassengerCenter.wxml
浏览文件 @
a9280eb9
<view class="ElectricPassengerCenter data-v-5ad630c3"></view>
\ No newline at end of file
<view class="ElectricPassengerCenter data-v-7d25422c"><view class="MakeMoney_bg data-v-7d25422c"><image class="back data-v-7d25422c" src="https://fire.huoshitou.net/profile/icon/left.png" mode="widthFix" data-event-opts="{{[['tap',[['back',['$event']]]]]}}" bindtap="__e"></image><text class="Center_title data-v-7d25422c">电客中心</text></view><view class="Center_content data-v-7d25422c"><view class="Center_content_box data-v-7d25422c"><view data-event-opts="{{[['tap',[['linktodk',['$event']]]]]}}" class="banner data-v-7d25422c" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/dkzxbanner.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card data-v-7d25422c"><view class="card_banner data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxtitle5.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_xian data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxxian.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_icon data-v-7d25422c"><view class="card_icon_block data-v-7d25422c"><view class="card_icon1 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxdzsy.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_icon2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/cwdkly1.png" mode="widthFix" class="data-v-7d25422c"></image></view></view><view class="card_icon_block card_icon_block2 data-v-7d25422c"><view class="card_icon2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/cwdkly2.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_icon1 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxjstm.png" mode="widthFix" class="data-v-7d25422c"></image></view></view></view><view class="card_icon data-v-7d25422c"><view class="card_icon_block data-v-7d25422c"><view class="card_icon1 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxwcjgf.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_icon2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/cwdkly3.png" mode="widthFix" class="data-v-7d25422c"></image></view></view><view class="card_icon_block card_icon_block2 data-v-7d25422c"><view class="card_icon2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/cwdkly4.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_icon1 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxptbz.png" mode="widthFix" class="data-v-7d25422c"></image></view></view></view></view><view class="rz_banner2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxbanner2.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card data-v-7d25422c"><view class="card_banner data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxtitle4.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_xian data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxxian.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">几乎零门槛,仅需在平台进行实名认证,并遵守平 台协议及规则,即可获得源源不断的回报</text></view><view class="card_banner card_banner2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxtitle3.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_xian data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxxian.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">电客获得的收益包括:居间收益、现货收益、佣金收益,服务费收益等多种收益</text></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">针对不同企业,电客均可获得不同类型的回报</text></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">无层级瓜分,收益净归电客所有</text></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">结算透明,保障电客收益</text></view><view class="card_banner card_banner2 data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxtitle2.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_xian data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxxian.png" mode="widthFix" class="data-v-7d25422c"></image></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">邀请企业进入平台</text></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">引导企业参与平台套餐或者独立询价业务</text></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">跟进企业签订合同</text></view><view class="card_text data-v-7d25422c"><text class="text_dian data-v-7d25422c"></text><text class="data-v-7d25422c">合同签订成功,获得收益</text></view></view></view></view><view class="button_box data-v-7d25422c"><image src="https://fire.huoshitou.net/profile/icon/dkzxtitle1.png" mode="widthFix" data-event-opts="{{[['tap',[['linktodk',['$event']]]]]}}" bindtap="__e" class="data-v-7d25422c"></image></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/ElectricPassengerCenter/ElectricPassengerCenter.wxss
浏览文件 @
a9280eb9
.ElectricPassengerCenter.data-v-5ad630c3{width:100%;height:100%}
\ No newline at end of file
.ElectricPassengerCenter.data-v-7d25422c{width:100%;height:100%}.ElectricPassengerCenter .button_box.data-v-7d25422c{background-color:#fff;width:100%;position:fixed;left:0;bottom:0;padding:60rpx 0}.ElectricPassengerCenter .button_box image.data-v-7d25422c{width:58%;margin-left:21%}.ElectricPassengerCenter .MakeMoney_bg.data-v-7d25422c{width:100%;height:422rpx;background:-webkit-gradient(linear,left top,left bottom,from(#1a8afa),to(#3caff6));background:-webkit-linear-gradient(top,#1a8afa,#3caff6);background:linear-gradient(180deg,#1a8afa,#3caff6);position:relative}.ElectricPassengerCenter .MakeMoney_bg .back.data-v-7d25422c{width:24rpx;display:block;position:absolute;left:27rpx;top:6vh}.ElectricPassengerCenter .MakeMoney_bg .Center_title.data-v-7d25422c{color:#fff;font-size:36rpx;position:absolute;top:6vh;left:64rpx}.ElectricPassengerCenter .Center_content.data-v-7d25422c{width:100%;background:#fff url(https://fire.huoshitou.net/profile/icon/dkzxbg.png) no-repeat;background-size:100%;-webkit-border-radius:50rpx 50rpx 0 0;border-radius:50rpx 50rpx 0 0;position:absolute;left:0;top:300rpx}.ElectricPassengerCenter .Center_content .Center_content_box.data-v-7d25422c{width:88%;margin-left:6%;padding-top:200rpx;position:relative;padding-bottom:240rpx}.ElectricPassengerCenter .Center_content .Center_content_box .banner.data-v-7d25422c{width:100%;position:absolute;top:-120rpx;left:0}.ElectricPassengerCenter .Center_content .Center_content_box .banner image.data-v-7d25422c{width:100%;display:block}.ElectricPassengerCenter .Center_content .Center_content_box .card.data-v-7d25422c{width:100%;background-color:#fff;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.3);box-shadow:0 2px 4px rgba(0,0,0,.3);padding:26rpx 0 40rpx 0;margin-bottom:24rpx;-webkit-border-radius:10rpx;border-radius:10rpx}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_text.data-v-7d25422c{color:#333;font-size:26rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_text text.data-v-7d25422c{width:90%;margin-top:20rpx;font-weight:700}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_text .text_dian.data-v-7d25422c{-webkit-border-radius:50%;border-radius:50%;width:12rpx;height:12rpx;background-color:#8283fd;display:block;margin-left:3.5%;margin-top:32rpx;margin-right:10rpx}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_banner.data-v-7d25422c{width:48%;margin-left:26%;margin-bottom:14rpx}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_banner image.data-v-7d25422c{width:100%;display:block}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_banner2.data-v-7d25422c{margin-top:20rpx}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_xian.data-v-7d25422c{width:93%;margin-left:3.5%}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_xian image.data-v-7d25422c{width:100%;display:block}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_icon.data-v-7d25422c{width:88%;margin-left:6%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-top:30rpx}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_icon .card_icon_block.data-v-7d25422c{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_icon .card_icon_block image.data-v-7d25422c{width:100%;display:block}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_icon .card_icon_block .card_icon1.data-v-7d25422c{width:31%}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_icon .card_icon_block .card_icon2.data-v-7d25422c{width:63%}.ElectricPassengerCenter .Center_content .Center_content_box .card .card_icon .card_icon_block2.data-v-7d25422c{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.ElectricPassengerCenter .Center_content .Center_content_box .rz_banner2.data-v-7d25422c{width:100%}.ElectricPassengerCenter .Center_content .Center_content_box .rz_banner2 image.data-v-7d25422c{width:100%;display:block;margin-bottom:24rpx}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/electriCompany/electriCompanyDetail.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/electriCompany/electriCompanyDetail"
],{
"0bf6"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
t
=
a
(
n
(
"c8e0"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
"74b0"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
"86df"
),
i
=
o
(
n
(
"9036"
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
u
=
{
data
:
function
(){
return
{
companydata
:
""
,
userId
:
""
,
eName
:
""
,
Count
:
""
,
tabIndex
:
1
,
moreIndex
:
null
,
moreShow
:
!
1
,
setmealList
:[],
Companytimer
:
""
,
remainder3
:
""
}},
onLoad
:
function
(
e
){
var
t
=
this
;
e
&&
(
t
.
userId
=
e
.
userId
,
t
.
companyPackageList
(
t
.
userId
),
t
.
companyProfile
(
t
.
userId
))},
methods
:{
tabClick
:
function
(
e
){
this
.
tabIndex
=
e
},
companyPackageList
:
function
(
t
){
var
n
=
this
;(
0
,
a
.
get
)(
i
.
default
.
companyPackageList
,{
userId
:
t
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
n
.
setmealList
=
t
.
data
;
var
i
=
[],
o
=
[];
t
.
data
.
map
((
function
(
e
){
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
i
.
push
((
0
,
a
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
o
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
n
.
Companytimer
=
setInterval
((
function
(){
o
.
map
((
function
(
e
,
t
){
o
[
t
]
>
0
&&
(
o
[
t
]
-=
1
e3
,
i
[
t
]
=
(
0
,
a
.
getDuration
)(
o
[
t
]),
n
.
remainder3
=
i
)})),
n
.
$forceUpdate
()}),
1
e3
)}
else
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))},
companyProfile
:
function
(
t
){
var
n
=
this
;(
0
,
a
.
get
)(
i
.
default
.
companyProfile
,{
userId
:
t
}).
then
((
function
(
t
){
200
==
t
.
code
?
n
.
companydata
=
t
.
data
:
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))},
getMore
:
function
(
e
){
this
.
moreIndex
=
e
,
this
.
moreShow
=!
this
.
moreShow
},
linkToGroupInfo
:
function
(
t
){
e
.
navigateTo
({
url
:
"/pages/group/groupInfo?id="
+
t
})},
linktoInquiry
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Demand?eName="
+
this
.
companydata
.
eName
})}}};
t
.
default
=
u
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"900f"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"e04d"
),
i
=
n
.
n
(
a
);
i
.
a
},
a1fd
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
;
n
.
d
(
t
,
"b"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
var
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
(
e
.
_self
.
_c
,
1
==
e
.
tabIndex
?
e
.
__map
(
e
.
setmealList
,(
function
(
t
,
n
){
var
a
=
e
.
__get_orig
(
t
),
i
=
1
==
t
.
type
||
2
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
o
=
3
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
u
=
4
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
r
=
5
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
;
return
{
$orig
:
a
,
l0
:
i
,
l1
:
o
,
l2
:
u
,
l3
:
r
}})):
null
);
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l4
:
n
}})},
o
=
[]},
c0b5
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"74b0"
),
i
=
n
.
n
(
a
);
for
(
var
o
in
a
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
o
);
t
[
"default"
]
=
i
.
a
},
c8e0
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"a1fd"
),
i
=
n
(
"c0b5"
);
for
(
var
o
in
i
)
"default"
!==
o
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
o
);
n
(
"900f"
);
var
u
,
r
=
n
(
"f0c5"
),
c
=
Object
(
r
[
"a"
])(
i
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
u
);
t
[
"default"
]
=
c
.
exports
},
e04d
:
function
(
e
,
t
,
n
){}},[[
"0bf6"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/electriCompany/electriCompanyDetail"
],{
"0bf6"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
t
=
a
(
n
(
"c8e0"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
"726c"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
;
n
.
d
(
t
,
"b"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
var
o
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
(
e
.
_self
.
_c
,
1
==
e
.
tabIndex
?
e
.
__map
(
e
.
setmealList
,(
function
(
t
,
n
){
var
a
=
e
.
__get_orig
(
t
),
o
=
1
==
t
.
type
||
2
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
i
=
3
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
u
=
4
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
,
c
=
5
==
t
.
type
?
t
.
packageSettingsList
.
slice
(
1
):
null
;
return
{
$orig
:
a
,
l0
:
o
,
l1
:
i
,
l2
:
u
,
l3
:
c
}})):
null
);
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l4
:
n
}})},
i
=
[]},
"74b0"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
"86df"
),
o
=
i
(
n
(
"9036"
));
function
i
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
u
=
{
data
:
function
(){
return
{
companydata
:
""
,
userId
:
""
,
eName
:
""
,
Count
:
""
,
tabIndex
:
1
,
moreIndex
:
null
,
moreShow
:
!
1
,
setmealList
:[],
Companytimer
:
""
,
remainder3
:
""
}},
onLoad
:
function
(
e
){
var
t
=
this
;
e
&&
(
t
.
userId
=
e
.
userId
,
t
.
companyPackageList
(
t
.
userId
),
t
.
companyProfile
(
t
.
userId
))},
methods
:{
tabClick
:
function
(
e
){
this
.
tabIndex
=
e
},
companyPackageList
:
function
(
t
){
var
n
=
this
;(
0
,
a
.
get
)(
o
.
default
.
companyPackageList
,{
userId
:
t
}).
then
((
function
(
t
){
if
(
200
==
t
.
code
){
n
.
setmealList
=
t
.
data
;
var
o
=
[],
i
=
[];
t
.
data
.
map
((
function
(
e
){
console
.
log
(
e
.
packageEndTime
);
var
t
=
e
.
packageEndTime
.
replace
(
"T"
,
" "
).
replace
(
".000+0800"
,
""
).
replace
(
/-/g
,
"/"
);
o
.
push
((
0
,
a
.
getDuration
)(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())),
i
.
push
(
new
Date
(
t
).
getTime
()
-
(
new
Date
).
getTime
())})),
n
.
Companytimer
=
setInterval
((
function
(){
i
.
map
((
function
(
e
,
t
){
i
[
t
]
>
0
&&
(
i
[
t
]
-=
1
e3
,
o
[
t
]
=
(
0
,
a
.
getDuration
)(
i
[
t
]),
n
.
remainder3
=
o
)})),
n
.
$forceUpdate
()}),
1
e3
)}
else
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))},
companyProfile
:
function
(
t
){
var
n
=
this
;(
0
,
a
.
get
)(
o
.
default
.
companyProfile
,{
userId
:
t
}).
then
((
function
(
t
){
200
==
t
.
code
?
n
.
companydata
=
t
.
data
:
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))},
getMore
:
function
(
e
){
this
.
moreIndex
=
e
,
this
.
moreShow
=!
this
.
moreShow
},
linkToGroupInfo
:
function
(
t
){
e
.
navigateTo
({
url
:
"/pages/group/groupInfo?id="
+
t
})},
linktoInquiry
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Demand?eName="
+
this
.
companydata
.
eName
})}}};
t
.
default
=
u
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"900f"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"e04d"
),
o
=
n
.
n
(
a
);
o
.
a
},
c0b5
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"74b0"
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"default"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
[
"default"
]
=
o
.
a
},
c8e0
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"726c"
),
o
=
n
(
"c0b5"
);
for
(
var
i
in
o
)
"default"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
i
);
n
(
"900f"
);
var
u
,
c
=
n
(
"f0c5"
),
r
=
Object
(
c
[
"a"
])(
o
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
u
);
t
[
"default"
]
=
r
.
exports
},
e04d
:
function
(
e
,
t
,
n
){}},[[
"0bf6"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/electriCompany/electriCompanyDetail.wxss
浏览文件 @
a9280eb9
.electriCompanyDetail{position:relative;padding:0 32rpx;width:100%;height:100%}.electriCompanyDetail .electriCompanyDetail_info{padding-bottom:200rpx}.electriCompanyDetail .electriCompanyDetail_top{display:-webkit-box;display:-webkit-flex;display:flex;margin:32rpx 0}.electriCompanyDetail .electriCompanyDetail_top .electriCompanyDetail_top_img{margin-right:32rpx;width:90rpx;height:90rpx}.electriCompanyDetail .electriCompanyDetail_top .electriCompanyDetail_top_info text{display:block;margin-bottom:10rpx;font-size:28rpx}.electriCompanyDetail .electriCompanyDetail_tab{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;margin-bottom:16rpx}.electriCompanyDetail .electriCompanyDetail_tab view{height:60rpx;text-align:center}.electriCompanyDetail .electriCompanyDetail_tab .border_bottom{border-bottom:1rpx solid #666}.electriCompanyDetail .group_list_scroll{height:calc(100vh - 175rpx)}.electriCompanyDetail .group_list_scroll .group_list{margin-bottom:120rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item{padding-bottom:16rpx;margin-bottom:16rpx;background-color:#fff}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100rpx;font-size:28rpx;color:#133675;border-bottom:1rpx solid #f4f5f7}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_title image{width:16rpx;height:32rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top{display:-webkit-box;display:-webkit-flex;display:flex;padding:24rpx 0}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .img{width:110rpx;height:110rpx;margin-right:32rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one{font-size:28rpx;font-weight:500;color:#333}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text{display:block;font-size:24rpx;font-weight:500;color:#999}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .text_item{display:inline-block;margin-left:10rpx;color:#fda700;font-size:30rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .count{padding:4rpx;float:right;font-size:20rpx;color:#fff;background-color:#fda700;-webkit-border-radius:8rpx;border-radius:8rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom{position:relative;height:80rpx;overflow:hidden}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below{position:absolute;top:50%;right:0rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24rpx;color:#133675}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below image{margin-left:5rpx;vertical-align:middle;width:30rpx;height:30rpx;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below .active{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom view text{display:block;line-height:40rpx;font-size:24rpx;color:#666}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .bottom_active{height:auto}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_title{color:#000;font-size:32rpx;font-weight:700}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:22rpx 0;font-size:28rpx}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_item text{color:silver;font-size:24rpx}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_item image{width:98rpx;height:98rpx}.electriCompanyDetail .electriCompanyDetail_inquiry{position:fixed;left:0;bottom:0;width:100%;height:180rpx;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.electriCompanyDetail .electriCompanyDetail_inquiry .electriCompanyDetail_inquiry_btn{width:686rpx;height:100rpx;line-height:100rpx;text-align:center;color:#fff;font-size:32rpx;background-color:#1989fa;-webkit-border-radius:16rpx;border-radius:16rpx}
\ No newline at end of file
.electriCompanyDetail{position:relative;padding:0 32rpx;padding-top:32rpx;width:100%;height:100%}.electriCompanyDetail .electriCompanyDetail_info{padding-bottom:200rpx}.electriCompanyDetail .electriCompanyDetail_top{display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:32rpx}.electriCompanyDetail .electriCompanyDetail_top .electriCompanyDetail_top_img{margin-right:32rpx;width:90rpx;height:90rpx}.electriCompanyDetail .electriCompanyDetail_top .electriCompanyDetail_top_info text{display:block;margin-bottom:10rpx;font-size:28rpx}.electriCompanyDetail .electriCompanyDetail_tab{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;margin-bottom:16rpx}.electriCompanyDetail .electriCompanyDetail_tab view{height:60rpx;text-align:center}.electriCompanyDetail .electriCompanyDetail_tab .border_bottom{border-bottom:1rpx solid #666}.electriCompanyDetail .group_list_scroll{height:calc(100vh - 380rpx)}.electriCompanyDetail .group_list_scroll .group_list .group_list_item{padding-bottom:16rpx;margin-bottom:16rpx;background-color:#fff}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_title{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100rpx;font-size:28rpx;color:#133675;border-bottom:1rpx solid #f4f5f7}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_title image{width:16rpx;height:32rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top{display:-webkit-box;display:-webkit-flex;display:flex;padding:24rpx 0}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .img{width:110rpx;height:110rpx;margin-right:32rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text .text_one{font-size:28rpx;font-weight:500;color:#333}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text{display:block;font-size:24rpx;font-weight:500;color:#999}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .text_item{display:inline-block;margin-left:10rpx;color:#fda700;font-size:30rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_top .top_text text .count{padding:4rpx;float:right;font-size:20rpx;color:#fff;background-color:#fda700;-webkit-border-radius:8rpx;border-radius:8rpx}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom{position:relative;height:80rpx;overflow:hidden}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below{position:absolute;top:50%;right:0rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24rpx;color:#133675}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below image{margin-left:5rpx;vertical-align:middle;width:30rpx;height:30rpx;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom .below .active{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .item_content_bottom view text{display:block;line-height:40rpx;font-size:24rpx;color:#666}.electriCompanyDetail .group_list_scroll .group_list .group_list_item .item_content .bottom_active{height:auto}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_title{color:#000;font-size:32rpx;font-weight:700}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:22rpx 0;font-size:28rpx}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_item text{color:silver;font-size:24rpx}.electriCompanyDetail .electriCompanyDetail_info .electriCompanyDetail_info_item image{width:98rpx;height:98rpx}.electriCompanyDetail .electriCompanyDetail_inquiry{position:fixed;left:0;bottom:0;width:100%;height:180rpx;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.electriCompanyDetail .electriCompanyDetail_inquiry .electriCompanyDetail_inquiry_btn{width:686rpx;height:100rpx;line-height:100rpx;text-align:center;color:#fff;font-size:32rpx;background-color:#1989fa;-webkit-border-radius:16rpx;border-radius:16rpx}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/enquiry/Demand.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/enquiry/Demand"
],{
1726
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
a
(
i
(
"9036"
)),
o
=
i
(
"86df"
);
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
c
=
{
data
:
function
(){
return
{
companys
:[],
companyid
:
""
,
selectcompany
:
""
,
companyOptions
:[],
YjProportion
:
""
,
enquirytype
:
""
,
enquiryValue
:
""
,
typelist
:[
"固定价差"
,
"月竞分成"
],
YxDifference
:
""
,
JuDifference
:
""
,
informImg
:
""
,
informImglist
:[],
selectyear
:
""
,
yearlist
:
""
,
remarks
:
""
,
type
:
""
,
enterpriseId
:
""
,
electricId
:
""
,
userType
:
"0"
,
isAuthenticate
:
""
,
certificationStatus
:
""
}},
onLoad
:
function
(
e
){
var
t
=
this
,
i
=
this
;(
0
,
o
.
get
)(
n
.
default
.
electricitySalesCompaniesList
).
then
((
function
(
n
){
if
(
200
==
n
.
code
&&
(
t
.
companys
=
n
.
data
,
t
.
companyOptions
=
n
.
data
.
map
((
function
(
e
){
return
e
.
eName
})),
e
.
eName
)){
i
.
selectcompany
=
e
.
eName
;
var
o
=
i
.
companys
.
filter
((
function
(
e
){
if
(
e
.
eName
==
i
.
selectcompany
)
return
e
.
userId
}));
i
.
companyid
=
o
[
0
].
userId
}}))},
created
:
function
(){
var
t
=
this
;
t
.
yearlist
=
(
0
,
o
.
getyearlist
)(),
t
.
type
=
e
.
getStorageSync
(
"type"
),
t
.
electricId
=
e
.
getStorageSync
(
"user"
).
electricId
,
t
.
enterpriseId
=
e
.
getStorageSync
(
"user"
).
enterpriseId
;
var
i
=
e
.
getStorageSync
(
"user"
);
1
==
t
.
type
?(
t
.
userType
=
i
.
userType
,
console
.
log
(
"userType:"
+
t
.
userType
)):
t
.
certificationStatus
=
i
.
certificationStatus
,
t
.
isAuthenticate
=
i
.
isAuthenticate
},
methods
:{
bindelectype
:
function
(
e
){
var
t
=
e
.
detail
.
value
,
i
=
this
.
typelist
[
t
];
this
.
enquiryValue
=
i
,
this
.
enquirytype
=
Number
(
e
.
detail
.
value
)},
bindyear
:
function
(
e
){
this
.
selectyear
=
this
.
yearlist
[
e
.
target
.
value
]},
bindCompanyChange
:
function
(
e
){
var
t
=
this
,
i
=
e
.
detail
.
value
;
this
.
selectcompany
=
this
.
companyOptions
[
i
];
var
n
=
this
.
companys
.
filter
((
function
(
e
){
if
(
e
.
eName
==
t
.
selectcompany
)
return
e
.
userId
}));
this
.
companyid
=
n
[
0
].
userId
,
console
.
log
(
"this.companyid"
,
this
.
companyid
)},
chooseImg
:
function
(
t
){
var
i
=
this
;
e
.
chooseImage
({
count
:
1
,
sizeType
:[
"original"
,
"compressed"
],
success
:
function
(
o
){
var
a
=
o
.
tempFilePaths
;
e
.
uploadFile
({
url
:
n
.
default
.
uploadFile
,
filePath
:
a
[
0
],
name
:
"file"
,
success
:
function
(
e
){
var
n
=
JSON
.
parse
(
e
.
data
).
url
;
-
1
==
t
?
i
.
informImglist
.
push
(
n
):(
i
.
informImglist
[
t
]
=
n
,
i
.
$forceUpdate
())}})}})},
submit
:
function
(){
var
t
=
this
;
if
(
1
==
t
.
type
&&
0
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您还未企业认证,请先去认证!"
,
icon
:
"none"
});
var
i
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}),
clearTimeout
(
i
)}),
1500
)}
else
if
(
1
==
t
.
type
&&
1
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的企业认证失败,请重新认证!"
,
icon
:
"none"
});
var
n
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}),
clearTimeout
(
n
)}),
1500
)}
else
if
(
1
==
t
.
type
&&
3
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的企业认证待审核,请通过后再发布需求!"
,
icon
:
"none"
});
var
o
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}),
clearTimeout
(
o
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
0
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您还未实名认证,请先去认证!"
,
icon
:
"none"
});
var
a
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}),
clearTimeout
(
a
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
1
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的实名认证,请重新认证!"
,
icon
:
"none"
});
var
c
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}),
clearTimeout
(
c
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
1
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的实名认证待审核,请通过后再发布需求!"
,
icon
:
"none"
});
var
r
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}),
clearTimeout
(
r
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
2
==
t
.
isAuthenticate
&&
0
==
t
.
certificationStatus
){
e
.
showToast
({
title
:
"您还未电客认证,请先去认证!"
,
icon
:
"none"
});
var
s
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/authentication"
}),
clearTimeout
(
s
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
2
==
t
.
isAuthenticate
&&
2
==
t
.
certificationStatus
){
e
.
showToast
({
title
:
"您的电客认证待审核,请通过后再发布需求!"
,
icon
:
"none"
});
var
u
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/authentication"
}),
clearTimeout
(
u
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
2
==
t
.
isAuthenticate
&&
3
==
t
.
certificationStatus
){
e
.
showToast
({
title
:
"您的电客认证审核不通过,请重新认证!"
,
icon
:
"none"
});
var
l
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/authentication"
}),
clearTimeout
(
l
)}),
1500
)}
else
""
==
t
.
enquiryValue
?
e
.
showToast
({
title
:
"请选择询价类型"
,
icon
:
"none"
}):
""
==
t
.
YxDifference
&&
0
==
t
.
enquirytype
?
e
.
showToast
({
title
:
"请输入意向差价"
,
icon
:
"none"
}):
""
==
t
.
YjProportion
&&
1
==
t
.
enquirytype
?
e
.
showToast
({
title
:
"请输入意向分成比例"
,
icon
:
"none"
}):
""
==
t
.
JuDifference
&&
2
==
t
.
type
?
e
.
showToast
({
title
:
"请输入居间差价"
,
icon
:
"none"
}):
""
==
t
.
selectyear
?
e
.
showToast
({
title
:
"请选择年份"
,
icon
:
"none"
}):
""
==
t
.
selectcompany
?
e
.
showToast
({
title
:
"请选择售电公司"
,
icon
:
"none"
}):
""
==
t
.
informImglist
?
e
.
showToast
({
title
:
"请上传电费通知单"
,
icon
:
"none"
}):(
t
.
informImg
=
JSON
.
stringify
(
t
.
informImglist
),
console
.
log
(
typeof
t
.
informImg
),
console
.
log
(
t
.
informImg
),
t
.
ReleaseRequirements
())},
ReleaseRequirements
:
function
(){
var
t
=
this
;(
0
,
o
.
post
)(
n
.
default
.
independentInquiryRelease
,{
type
:
t
.
enquirytype
+
1
,
userType
:
t
.
type
,
enterpriseId
:
t
.
enterpriseId
,
electricId
:
t
.
electricId
,
company
:
t
.
companyid
,
contractSpread
:
t
.
YxDifference
,
intermediateSpread
:
t
.
JuDifference
,
shareRatio
:
t
.
YjProportion
,
year
:
t
.
selectyear
,
enterpriseElectricityNoticeBill
:
t
.
informImg
,
remark
:
t
.
remarks
}).
then
((
function
(
t
){
200
==
t
.
code
?(
e
.
showToast
({
title
:
"发布成功"
,
icon
:
"none"
}),
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Enquiry"
})}),
1
e3
)):
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))}}};
t
.
default
=
c
}).
call
(
this
,
i
(
"543d"
)[
"default"
])},
"4b4f"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"1726"
),
o
=
i
.
n
(
n
);
for
(
var
a
in
n
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
n
[
e
]}))}(
a
);
t
[
"default"
]
=
o
.
a
},
"5d5b"
:
function
(
e
,
t
,
i
){
"use strict"
;
var
n
;
i
.
d
(
t
,
"b"
,(
function
(){
return
o
})),
i
.
d
(
t
,
"c"
,(
function
(){
return
a
})),
i
.
d
(
t
,
"a"
,(
function
(){
return
n
}));
var
o
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
a
=
[]},
"89dd"
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
i
(
"78ef"
);
n
(
i
(
"66fd"
));
var
t
=
n
(
i
(
"96fa"
));
function
n
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
i
(
"543d"
)[
"createPage"
])},
"96fa"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"5d5b"
),
o
=
i
(
"4b4f"
);
for
(
var
a
in
o
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
a
);
i
(
"e1e7"
);
var
c
,
r
=
i
(
"f0c5"
),
s
=
Object
(
r
[
"a"
])(
o
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
c
);
t
[
"default"
]
=
s
.
exports
},
bd23
:
function
(
e
,
t
,
i
){},
e1e7
:
function
(
e
,
t
,
i
){
"use strict"
;
var
n
=
i
(
"bd23"
),
o
=
i
.
n
(
n
);
o
.
a
}},[[
"89dd"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/enquiry/Demand"
],{
1726
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
a
(
i
(
"9036"
)),
o
=
i
(
"86df"
);
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
data
:
function
(){
return
{
userId
:
null
,
companys
:[],
companyid
:
""
,
selectcompany
:
""
,
companyOptions
:[],
YjProportion
:
""
,
enquirytype
:
""
,
enquiryValue
:
""
,
typelist
:[
"固定价差"
,
"月竞分成"
],
YxDifference
:
""
,
JuDifference
:
""
,
informImg
:
""
,
informImglist
:[],
selectyear
:
""
,
yearlist
:
""
,
remarks
:
""
,
type
:
""
,
enterpriseId
:
""
,
electricId
:
""
,
userType
:
"0"
,
isAuthenticate
:
""
,
certificationStatus
:
""
}},
onLoad
:
function
(
e
){
var
t
=
this
,
i
=
this
;(
0
,
o
.
get
)(
n
.
default
.
electricitySalesCompaniesList
).
then
((
function
(
n
){
if
(
200
==
n
.
code
&&
(
t
.
companys
=
n
.
data
,
t
.
companyOptions
=
n
.
data
.
map
((
function
(
e
){
return
e
.
eName
})),
e
.
eName
)){
i
.
selectcompany
=
e
.
eName
;
var
o
=
i
.
companys
.
filter
((
function
(
e
){
if
(
e
.
eName
==
i
.
selectcompany
)
return
e
.
userId
}));
i
.
companyid
=
o
[
0
].
userId
}}))},
created
:
function
(){
var
t
=
this
;
t
.
yearlist
=
(
0
,
o
.
getyearlist
)(),
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
i
=
e
.
getStorageSync
(
"user"
);
1
==
t
.
type
?(
t
.
userType
=
i
.
userType
,
t
.
enterpriseId
=
e
.
getStorageSync
(
"user"
).
enterpriseId
,
t
.
userId
=
e
.
getStorageSync
(
"user"
).
enterpriseId
,
console
.
log
(
"userType:"
+
t
.
userType
)):(
t
.
electricId
=
e
.
getStorageSync
(
"user"
).
electricId
,
t
.
userId
=
e
.
getStorageSync
(
"user"
).
electricId
),
t
.
getUserInfo
()},
onShow
:
function
(){
var
e
=
this
;
e
.
getUserInfo
()},
methods
:{
getUserInfo
:
function
(){
var
e
=
this
;(
0
,
o
.
get
)(
n
.
default
.
getUserInformation
,{
type
:
e
.
type
,
userId
:
e
.
userId
}).
then
((
function
(
t
){
200
==
t
.
code
&&
(
e
.
certificationStatus
=
t
.
data
.
certificationStatus
,
e
.
isAuthenticate
=
t
.
data
.
isAuthenticate
)}))},
bindelectype
:
function
(
e
){
var
t
=
e
.
detail
.
value
,
i
=
this
.
typelist
[
t
];
this
.
enquiryValue
=
i
,
this
.
enquirytype
=
Number
(
e
.
detail
.
value
)},
bindyear
:
function
(
e
){
this
.
selectyear
=
this
.
yearlist
[
e
.
target
.
value
]},
bindCompanyChange
:
function
(
e
){
var
t
=
this
,
i
=
e
.
detail
.
value
;
this
.
selectcompany
=
this
.
companyOptions
[
i
];
var
n
=
this
.
companys
.
filter
((
function
(
e
){
if
(
e
.
eName
==
t
.
selectcompany
)
return
e
.
userId
}));
this
.
companyid
=
n
[
0
].
userId
,
console
.
log
(
"this.companyid"
,
this
.
companyid
)},
chooseImg
:
function
(
t
){
var
i
=
this
;
e
.
chooseImage
({
count
:
1
,
sizeType
:[
"original"
,
"compressed"
],
success
:
function
(
o
){
var
a
=
o
.
tempFilePaths
;
e
.
uploadFile
({
url
:
n
.
default
.
uploadFile
,
filePath
:
a
[
0
],
name
:
"file"
,
success
:
function
(
e
){
var
n
=
JSON
.
parse
(
e
.
data
).
url
;
-
1
==
t
?
i
.
informImglist
.
push
(
n
):(
i
.
informImglist
[
t
]
=
n
,
i
.
$forceUpdate
())}})}})},
submit
:
function
(){
var
t
=
this
;
if
(
1
==
t
.
type
&&
0
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您还未企业认证,请先去认证!"
,
icon
:
"none"
});
var
i
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}),
clearTimeout
(
i
)}),
1500
)}
else
if
(
1
==
t
.
type
&&
1
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的企业认证失败,请重新认证!"
,
icon
:
"none"
});
var
n
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}),
clearTimeout
(
n
)}),
1500
)}
else
if
(
1
==
t
.
type
&&
3
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的企业认证待审核,请通过后再发布需求!"
,
icon
:
"none"
});
var
o
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/CompanyAuthentication"
}),
clearTimeout
(
o
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
0
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您还未实名认证,请先去认证!"
,
icon
:
"none"
});
var
a
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}),
clearTimeout
(
a
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
1
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的实名认证,请重新认证!"
,
icon
:
"none"
});
var
r
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}),
clearTimeout
(
r
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
1
==
t
.
isAuthenticate
){
e
.
showToast
({
title
:
"您的实名认证待审核,请通过后再发布需求!"
,
icon
:
"none"
});
var
s
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/Certification/Certification"
}),
clearTimeout
(
s
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
2
==
t
.
isAuthenticate
&&
0
==
t
.
certificationStatus
){
e
.
showToast
({
title
:
"您还未电客认证,请先去认证!"
,
icon
:
"none"
});
var
c
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/authentication"
}),
clearTimeout
(
c
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
2
==
t
.
isAuthenticate
&&
2
==
t
.
certificationStatus
){
e
.
showToast
({
title
:
"您的电客认证待审核,请通过后再发布需求!"
,
icon
:
"none"
});
var
u
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/authentication"
}),
clearTimeout
(
u
)}),
1500
)}
else
if
(
2
==
t
.
type
&&
2
==
t
.
isAuthenticate
&&
3
==
t
.
certificationStatus
){
e
.
showToast
({
title
:
"您的电客认证审核不通过,请重新认证!"
,
icon
:
"none"
});
var
l
=
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pages/authentication/authentication"
}),
clearTimeout
(
l
)}),
1500
)}
else
""
==
t
.
enquiryValue
?
e
.
showToast
({
title
:
"请选择询价类型"
,
icon
:
"none"
}):
""
==
t
.
YxDifference
&&
0
==
t
.
enquirytype
?
e
.
showToast
({
title
:
"请输入意向差价"
,
icon
:
"none"
}):
""
==
t
.
YjProportion
&&
1
==
t
.
enquirytype
?
e
.
showToast
({
title
:
"请输入意向分成比例"
,
icon
:
"none"
}):
""
==
t
.
JuDifference
&&
2
==
t
.
type
?
e
.
showToast
({
title
:
"请输入居间差价"
,
icon
:
"none"
}):
""
==
t
.
selectyear
?
e
.
showToast
({
title
:
"请选择年份"
,
icon
:
"none"
}):
""
==
t
.
selectcompany
?
e
.
showToast
({
title
:
"请选择售电公司"
,
icon
:
"none"
}):
""
==
t
.
informImglist
?
e
.
showToast
({
title
:
"请上传电费通知单"
,
icon
:
"none"
}):(
t
.
informImg
=
JSON
.
stringify
(
t
.
informImglist
),
console
.
log
(
typeof
t
.
informImg
),
console
.
log
(
t
.
informImg
),
t
.
ReleaseRequirements
())},
ReleaseRequirements
:
function
(){
var
t
=
this
;(
0
,
o
.
post
)(
n
.
default
.
independentInquiryRelease
,{
type
:
t
.
enquirytype
+
1
,
userType
:
t
.
type
,
enterpriseId
:
t
.
enterpriseId
,
electricId
:
t
.
electricId
,
company
:
t
.
companyid
,
contractSpread
:
t
.
YxDifference
,
intermediateSpread
:
t
.
JuDifference
,
shareRatio
:
t
.
YjProportion
,
year
:
t
.
selectyear
,
enterpriseElectricityNoticeBill
:
t
.
informImg
,
remark
:
t
.
remarks
}).
then
((
function
(
t
){
200
==
t
.
code
?(
e
.
showToast
({
title
:
"发布成功"
,
icon
:
"none"
}),
setTimeout
((
function
(){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Enquiry"
})}),
1
e3
)):
e
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))}}};
t
.
default
=
r
}).
call
(
this
,
i
(
"543d"
)[
"default"
])},
"4b4f"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"1726"
),
o
=
i
.
n
(
n
);
for
(
var
a
in
n
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
n
[
e
]}))}(
a
);
t
[
"default"
]
=
o
.
a
},
"89dd"
:
function
(
e
,
t
,
i
){
"use strict"
;(
function
(
e
){
i
(
"78ef"
);
n
(
i
(
"66fd"
));
var
t
=
n
(
i
(
"96fa"
));
function
n
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
i
(
"543d"
)[
"createPage"
])},
"96fa"
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
n
=
i
(
"eec4"
),
o
=
i
(
"4b4f"
);
for
(
var
a
in
o
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
a
);
i
(
"e1e7"
);
var
r
,
s
=
i
(
"f0c5"
),
c
=
Object
(
s
[
"a"
])(
o
[
"default"
],
n
[
"b"
],
n
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"a"
],
r
);
t
[
"default"
]
=
c
.
exports
},
bd23
:
function
(
e
,
t
,
i
){},
e1e7
:
function
(
e
,
t
,
i
){
"use strict"
;
var
n
=
i
(
"bd23"
),
o
=
i
.
n
(
n
);
o
.
a
},
eec4
:
function
(
e
,
t
,
i
){
"use strict"
;
var
n
;
i
.
d
(
t
,
"b"
,(
function
(){
return
o
})),
i
.
d
(
t
,
"c"
,(
function
(){
return
a
})),
i
.
d
(
t
,
"a"
,(
function
(){
return
n
}));
var
o
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
a
=
[]}},[[
"89dd"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/enquiry/Demand.wxss
浏览文件 @
a9280eb9
.demand{padding-top:32rpx;width:100%;min-height:100%;background-color:#f4f5f7}.demand .content{width:100%;background-color:#fff;padding:0 32rpx 22rpx 32rpx}.demand .content .placeholder{color:#ccc;font-size:24rpx;text-align:right}.demand .content picker .title, .demand .content .picker .title{text-align:right;background:transparent;position:absolute;top:0;left:0;width:100%;padding-right:30rpx;z-index:100}.demand .content picker .placeholder, .demand .content .picker .placeholder{padding-right:30rpx;position:absolute;width:100%;top:0;left:0}.demand .content .list{width:100%;position:relative;height:111rpx;line-height:111rpx;border-bottom:1rpx solid #f4f5f7}.demand .content .list .lable{color:#333;font-size:34rpx;font-weight:500;height:68rpx}.demand .content .list .lable .xin{color:#ec6045}.demand .content .list .jiantou_icon{position:absolute;width:18rpx;height:28rpx;right:0;top:5rpx}.demand .content .tishi{width:100vw;margin-left:-32rpx;background-color:#f4f5f7;padding:16rpx 32rpx 48rpx 32rpx;font-size:24rpx;color:#1989fa;margin-bottom:29rpx}.demand .button_box{width:100%;height:236rpx;margin-top:117rpx;background:#fff;-webkit-box-shadow:0 -2px 10px 0 rgba(0,0,0,.08);box-shadow:0 -2px 10px 0 rgba(0,0,0,.08)}.demand .button_box .button_block{width:100%;height:136rpx;padding-top:32rpx}.demand .button_box .button_block button{color:#fff;margin:auto;width:622rpx;height:104rpx;background:#1989fa;-webkit-border-radius:16rpx;border-radius:16rpx;font-size:30rpx;text-align:center;line-height:104rpx}.demand .year{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:111rpx;line-height:111rpx;font-size:32rpx;border-bottom:1rpx solid #f4f5f7}.demand .year view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:110rpx;height:111rpx}.demand .year view image{width:40rpx;height:40rpx}.demand .inform{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;margin:32rpx 0;font-size:32rpx}.demand .inform .upload{position:relative;margin:16rpx 0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}.demand .inform .upload .upload_img{width:160rpx;height:160rpx}.demand .inform .upload .upload_img image{width:160rpx;height:160rpx}.demand .inform .upload .upload_bg{height:160rpx;width:160rpx;margin-right:10rpx;margin-bottom:10rpx;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.demand .inform .upload .upload_bg image{width:100%}.demand .inform text{font-size:24rpx;color:#999}.demand .remark .remark_title{margin-bottom:32rpx;font-size:32rpx}.demand .remark textarea{padding:16rpx;width:660rpx;height:158rpx;font-size:28rpx;background-color:#f4f5f7;-webkit-border-radius:10px;border-radius:10px;color:#333}.demand .demand_btn{width:100%;height:80rpx;line-height:80rpx;text-align:center;color:#fff;font-size:32rpx;background-color:#1989fa;-webkit-border-radius:20rpx;border-radius:20rpx}.demand .row_common{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:120rpx;line-height:120rpx;font-size:32rpx;border-bottom:1rpx solid #f4f5f7}.demand .row_common input{width:300rpx;text-align:right;color:#333;font-size:28rpx;height:102rpx;font-size:32rpx}
\ No newline at end of file
.demand{padding-top:32rpx;width:100%;min-height:100%;background-color:#f4f5f7}.demand .content{width:100%;background-color:#fff;padding:0 32rpx 22rpx 32rpx}.demand .content .placeholder{color:#ccc;font-size:24rpx;text-align:right}.demand .content picker .title,
.demand .content .picker .title{text-align:right;background:transparent;position:absolute;top:0;left:0;width:100%;padding-right:30rpx;z-index:100}.demand .content picker .placeholder,
.demand .content .picker .placeholder{padding-right:30rpx;position:absolute;width:100%;top:0;left:0}.demand .content .list{width:100%;position:relative;height:111rpx;line-height:111rpx;border-bottom:1rpx solid #f4f5f7}.demand .content .list .lable{color:#333;font-size:34rpx;font-weight:500;height:68rpx}.demand .content .list .lable .xin{color:#ec6045}.demand .content .list .jiantou_icon{position:absolute;width:18rpx;height:28rpx;right:0;top:5rpx}.demand .content .tishi{width:100vw;margin-left:-32rpx;background-color:#f4f5f7;padding:16rpx 32rpx 48rpx 32rpx;font-size:24rpx;color:#1989fa;margin-bottom:29rpx}.demand .button_box{width:100%;height:236rpx;margin-top:117rpx;background:#fff;-webkit-box-shadow:0 -2px 10px 0 rgba(0,0,0,.08);box-shadow:0 -2px 10px 0 rgba(0,0,0,.08)}.demand .button_box .button_block{width:100%;height:136rpx;padding-top:32rpx}.demand .button_box .button_block button{color:#fff;margin:auto;width:622rpx;height:104rpx;background:#1989fa;-webkit-border-radius:16rpx;border-radius:16rpx;font-size:30rpx;text-align:center;line-height:104rpx}.demand .year{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:111rpx;line-height:111rpx;font-size:32rpx;border-bottom:1rpx solid #f4f5f7}.demand .year view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:110rpx;height:111rpx}.demand .year view image{width:40rpx;height:40rpx}.demand .inform{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;margin:32rpx 0;font-size:32rpx}.demand .inform .upload{position:relative;margin:16rpx 0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}.demand .inform .upload .upload_img{width:160rpx;height:160rpx}.demand .inform .upload .upload_img image{width:160rpx;height:160rpx}.demand .inform .upload .upload_bg{height:160rpx;width:160rpx;margin-right:10rpx;margin-bottom:10rpx;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.demand .inform .upload .upload_bg image{width:100%}.demand .inform text{font-size:24rpx;color:#999}.demand .remark .remark_title{margin-bottom:32rpx;font-size:32rpx}.demand .remark textarea{padding:16rpx;width:660rpx;height:158rpx;font-size:28rpx;background-color:#f4f5f7;-webkit-border-radius:10px;border-radius:10px;color:#333}.demand .demand_btn{width:100%;height:80rpx;line-height:80rpx;text-align:center;color:#fff;font-size:32rpx;background-color:#1989fa;-webkit-border-radius:20rpx;border-radius:20rpx}.demand .row_common{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:120rpx;line-height:120rpx;font-size:32rpx;border-bottom:1rpx solid #f4f5f7}.demand .row_common input{width:300rpx;text-align:right;color:#333;font-size:28rpx;height:102rpx;font-size:32rpx}
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/switchIdentity/switchIdentity.js
浏览文件 @
a9280eb9
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/switchIdentity/switchIdentity"
],{
"0fbc"
:
function
(
t
,
e
,
n
){
"use strict"
;
var
u
;
n
.
d
(
e
,
"b"
,(
function
(){
return
c
})),
n
.
d
(
e
,
"c"
,(
function
(){
return
r
})),
n
.
d
(
e
,
"a"
,(
function
(){
return
u
}));
var
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
;
t
.
_self
.
_c
},
r
=
[]},
9088
:
function
(
t
,
e
,
n
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
u
=
n
(
"86df"
),
c
=
r
(
n
(
"9036"
));
function
r
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
a
=
{
created
:
function
(){
this
.
type
=
t
.
getStorageSync
(
"type"
),
1
==
this
.
type
?
this
.
userId
=
t
.
getStorageSync
(
"user"
).
enterpriseId
:
this
.
userId
=
t
.
getStorageSync
(
"user"
).
electricId
},
data
:
function
(){
return
{
type
:
null
,
userId
:
null
}},
methods
:{
switchIdentity
:
function
(){
var
t
=
{
type
:
this
.
type
,
userId
:
this
.
userId
};(
0
,
u
.
get
)(
c
.
default
.
switchIdentit
,
t
).
then
((
function
(
t
){
console
.
log
(
t
),
t
.
code
}))},
linkBack
:
function
(){
t
.
navigateBack
({
delta
:
1
})}}};
e
.
default
=
a
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
a141
:
function
(
t
,
e
,
n
){},
b2f0
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
u
=
n
(
"9088"
),
c
=
n
.
n
(
u
);
for
(
var
r
in
u
)
"default"
!==
r
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
u
[
t
]}))}(
r
);
e
[
"default"
]
=
c
.
a
},
e122
:
function
(
t
,
e
,
n
){
"use strict"
;
var
u
=
n
(
"a141"
),
c
=
n
.
n
(
u
);
c
.
a
},
ec7a
:
function
(
t
,
e
,
n
){
"use strict"
;(
function
(
t
){
n
(
"78ef"
);
u
(
n
(
"66fd"
));
var
e
=
u
(
n
(
"fe1f"
));
function
u
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
fe1f
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
u
=
n
(
"0fbc"
),
c
=
n
(
"b2f0"
);
for
(
var
r
in
c
)
"default"
!==
r
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
c
[
t
]}))}(
r
);
n
(
"e122"
);
var
a
,
i
=
n
(
"f0c5"
),
f
=
Object
(
i
[
"a"
])(
c
[
"default"
],
u
[
"b"
],
u
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
u
[
"a"
],
a
);
e
[
"default"
]
=
f
.
exports
}},[[
"ec7a"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/switchIdentity/switchIdentity"
],{
9088
:
function
(
t
,
e
,
n
){
"use strict"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
r
=
n
(
"86df"
),
u
=
a
(
n
(
"9036"
));
function
a
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
var
i
=
{
created
:
function
(){
this
.
type
=
t
.
getStorageSync
(
"type"
),
1
==
this
.
type
?
this
.
userId
=
t
.
getStorageSync
(
"user"
).
enterpriseId
:
this
.
userId
=
t
.
getStorageSync
(
"user"
).
electricId
},
data
:
function
(){
return
{
type
:
null
,
userId
:
null
}},
methods
:{
switchIdentity
:
function
(){
var
e
=
this
;
t
.
removeStorageSync
(
"user"
),
t
.
removeStorageSync
(
"type"
),
t
.
showLoading
({
title
:
"切换中"
}),(
0
,
r
.
get
)(
u
.
default
.
switchIdentit
,{
type
:
this
.
type
,
userId
:
this
.
userId
}).
then
((
function
(
n
){
if
(
n
.
data
.
registered
){
var
r
=
1
==
e
.
type
?
2
:
1
;
t
.
setStorageSync
(
"user"
,
n
.
data
.
user
),
t
.
setStorageSync
(
"type"
,
r
),
t
.
reLaunch
({
url
:
"/pages/index/index"
}),
uin
.
hideLoading
()}}))},
linkBack
:
function
(){
t
.
navigateBack
({
delta
:
1
})}}};
e
.
default
=
i
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
a141
:
function
(
t
,
e
,
n
){},
b2f0
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
r
=
n
(
"9088"
),
u
=
n
.
n
(
r
);
for
(
var
a
in
r
)
"default"
!==
a
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
r
[
t
]}))}(
a
);
e
[
"default"
]
=
u
.
a
},
e122
:
function
(
t
,
e
,
n
){
"use strict"
;
var
r
=
n
(
"a141"
),
u
=
n
.
n
(
r
);
u
.
a
},
ec7a
:
function
(
t
,
e
,
n
){
"use strict"
;(
function
(
t
){
n
(
"78ef"
);
r
(
n
(
"66fd"
));
var
e
=
r
(
n
(
"fe1f"
));
function
r
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
t
(
e
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
fc9f
:
function
(
t
,
e
,
n
){
"use strict"
;
var
r
;
n
.
d
(
e
,
"b"
,(
function
(){
return
u
})),
n
.
d
(
e
,
"c"
,(
function
(){
return
a
})),
n
.
d
(
e
,
"a"
,(
function
(){
return
r
}));
var
u
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
;
t
.
_self
.
_c
},
a
=
[]},
fe1f
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
r
=
n
(
"fc9f"
),
u
=
n
(
"b2f0"
);
for
(
var
a
in
u
)
"default"
!==
a
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
u
[
t
]}))}(
a
);
n
(
"e122"
);
var
i
,
c
=
n
(
"f0c5"
),
f
=
Object
(
c
[
"a"
])(
u
[
"default"
],
r
[
"b"
],
r
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
r
[
"a"
],
i
);
e
[
"default"
]
=
f
.
exports
}},[[
"ec7a"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/switchIdentity/switchIdentity.wxml
浏览文件 @
a9280eb9
<view class="switchIdentity"><view class="switchIdentity_img"><image src="../../static/images/index/banner.jpg" mode></image></view><view class="switchIdentity_hint">{{'你当前的身份是'+(type==1?'"用电企业"':'"电客"')+''}}</view><view class="switchIdentity_btns"><view data-event-opts="{{[['tap',[['switchIdentity',['$event']]]]]}}" class="switch" bindtap="__e">{{"切换为"+(type==1?'"电客"':'"用电企业"')+"身份"}}</view><view data-event-opts="{{[['tap',[['linkBack',['$event']]]]]}}" class="back" bindtap="__e">返回</view></view></view>
\ No newline at end of file
<view class="switchIdentity"><view class="switchIdentity_img"><image src="../../static/images/switch.png" mode="widthFix"></image></view><view class="switchIdentity_hint">{{'你当前的身份是'+(type==1?'"用电企业"':'"电客"')+''}}</view><view class="switchIdentity_btns"><button class="switch" type="default" data-event-opts="{{[['tap',[['switchIdentity',['$event']]]]]}}" bindtap="__e">{{"切换为"+(type==1?'"电客"':'"用电企业"')+"身份"}}</button><view data-event-opts="{{[['tap',[['linkBack',['$event']]]]]}}" class="back" bindtap="__e">返回</view></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/switchIdentity/switchIdentity.wxss
浏览文件 @
a9280eb9
.switchIdentity{position:relative;padding:32rpx;width:100%;height:100%}.switchIdentity .switchIdentity_img{padding:32rpx;height:368rpx}.switchIdentity .switchIdentity_hint{margin-top:60rpx;text-align:center;font-size:34rpx;color:#000}.switchIdentity .switchIdentity_btns{position:absolute;left:0;bottom:32rpx;width:100%}.switchIdentity .switchIdentity_btns view{margin-left:32rpx;margin-bottom:32rpx;width:686rpx;height:80rpx;line-height:80rpx;text-align:center;color:#fff;-webkit-border-radius:10rpx;border-radius:10rpx;background-color:#ccc}.switchIdentity .switchIdentity_btns .switch{background-color:#1989fa}.switchIdentity .switchIdentity_btns .back{color:#000}
\ No newline at end of file
.switchIdentity{position:relative;padding:32rpx;width:100%;height:100%}.switchIdentity .switchIdentity_img{padding:32rpx}.switchIdentity .switchIdentity_hint{text-align:center;font-size:34rpx;font-weight:700;color:#333}.switchIdentity .switchIdentity_btns{position:absolute;left:0;bottom:32rpx;width:100%}.switchIdentity .switchIdentity_btns .switch,
.switchIdentity .switchIdentity_btns .back{margin-left:32rpx;margin-bottom:32rpx;width:686rpx;height:100rpx;line-height:100rpx;text-align:center;font-size:28rpx;color:#fff;-webkit-border-radius:10rpx;border-radius:10rpx;background-color:#1989fa}.switchIdentity .switchIdentity_btns .back{background-color:#3caff6}
\ No newline at end of file
unpackage/dist/build/mp-weixin/static/images/icons/fenshi.png
0 → 100644
浏览文件 @
a9280eb9
558 Bytes
unpackage/dist/build/mp-weixin/static/images/icons/guding.png
0 → 100644
浏览文件 @
a9280eb9
667 Bytes
unpackage/dist/build/mp-weixin/static/images/switch.png
0 → 100644
浏览文件 @
a9280eb9
177.9 KB
unpackage/dist/build/mp-weixin/static/util/api.js
浏览文件 @
a9280eb9
...
...
@@ -150,5 +150,5 @@ erp.electricitySalesCompanies = HOST + 'common/electricitySalesCompanies' // 入
erp
.
companyProfile
=
HOST
+
'common/companyProfile'
// 入驻公司公司简介
erp
.
companyPackageList
=
HOST
+
'common/companyPackageList'
// 售电公司详情---拼团套餐
erp
.
verifiedBefore
=
HOST
+
'enterprise/verifiedBefore'
// 企业认证提交前校验接口
erp
.
switchIdentit
=
HOST
+
'common/switchIdentit'
// 身份切换
erp
.
switchIdentit
=
HOST
+
'common/switchIdentit
y
'
// 身份切换
export
default
erp
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论