Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f12effbc
authored
Dec 18, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 适配
1 parent
81ea7e63
Show whitespace changes
Inline
Side-by-side
Showing
59 changed files
with
2188 additions
and
1896 deletions
App.vue
assets/css/sprite.scss
components/CarBrands.vue
components/CustomerAutocomplete.vue
components/CustomerTags.vue
components/Employee.vue
components/FinishStep.vue
components/HomeFrame/components/CaseItem.vue
components/HomeFrame/components/CustomerFile.vue
components/HomeFrame/components/CustomerInfo.vue
components/HomeFrame/components/KfBox.vue
components/HomeFrame/components/LeftSide.vue
components/HomeFrame/components/RecordList.vue
components/HomeFrame/components/SettingBox.vue
components/HomeFrame/components/saveRecord.vue
components/HomeFrame/index.vue
components/Insurance/Insurance.vue
components/Insurance/components/InsurancePopup.vue
components/Insurance/components/InsuranceTable.vue
components/MessageBox/index.vue
components/ReceptionSence.vue
components/ToolBox.vue
components/UpdateBox.vue
pages/boutique/case.vue
pages/boutique/components/CouponPop.vue
pages/boutique/components/CustomerType.vue
pages/boutique/components/OptionalTable.vue
pages/boutique/components/Picture.vue
pages/boutique/components/Reception.vue
pages/boutique/components/RiskInformedBox.vue
pages/boutique/components/SkuBox.vue
pages/boutique/detail.vue
pages/boutique/history.vue
pages/boutique/index.vue
pages/boutique/invitation.vue
pages/boutique/preview.vue
pages/common/accountItems.vue
pages/common/caseDetail.vue
pages/common/components/AccountList.vue
pages/common/components/AudioComponent.vue
pages/common/components/MerchantList.vue
pages/common/components/NoData.vue
pages/common/components/PackagePopup.vue
pages/common/components/Scene.vue
pages/common/customerDetail.vue
pages/common/login.vue
pages/equity/detail/components/Guarantee.vue
pages/equity/detail/components/History.vue
pages/equity/detail/components/MediaComponent.vue
pages/equity/detail/components/PartsPop.vue
pages/equity/detail/components/Reception.vue
pages/equity/detail/components/Tabs.vue
pages/equity/detail/components/ThreeGuarantees.vue
pages/equity/detail/components/informationEntry.vue
pages/equity/detail/components/payPop.vue
pages/equity/detail/detail.vue
pages/equity/index.vue
uni.scss
vue.config.js
App.vue
View file @
f12effb
...
@@ -111,7 +111,7 @@ body {
...
@@ -111,7 +111,7 @@ body {
}
}
page
{
page
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
height
:
100%
;
height
:
100%
;
min-height
:
100%
;
min-height
:
100%
;
}
}
...
@@ -157,7 +157,7 @@ button {
...
@@ -157,7 +157,7 @@ button {
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
line-height
:
1.5
;
line-height
:
1.5
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
background-color
:
transparent
;
background-color
:
transparent
;
border-radius
:
0
;
border-radius
:
0
;
position
:
relative
;
position
:
relative
;
...
@@ -169,14 +169,14 @@ button::after {
...
@@ -169,14 +169,14 @@ button::after {
//
指定按钮按下去的样式类
//
指定按钮按下去的样式类
.button-hover
{
.button-hover
{
transform
:
translate
(
1
rpx
,
1
rpx
);
transform
:
translate
(
toRpx
(
1
),
toRpx
(
1
)
);
}
}
.webview-container
{
.webview-container
{
position
:
absolute
;
position
:
absolute
;
width
:
100
rpx
;
width
:
toRpx
(
100
)
;
height
:
100
rpx
;
height
:
toRpx
(
100
)
;
top
:
0
rpx
;
top
:
0
;
left
:
0
rpx
;
left
:
0
;
}
}
</
style
>
</
style
>
assets/css/sprite.scss
View file @
f12effb
.sprite-icon
{
background-image
:
url(@/assets/images/sprite.png)
;
background-size
:
1310rpx
1044rpx
;}
.icon-addr
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1165rpx
-617rpx
;}
.icon-aito
{
width
:
320rpx
;
height
:
36rpx
;
background-position
:
-830rpx
-617rpx
;}
.icon-arrow-bottom
{
width
:
48rpx
;
height
:
48rpx
;
background-position
:
-765rpx
-558rpx
;}
.icon-arrow-right
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1212rpx
-617rpx
;}
.icon-avatar
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-635rpx
-726rpx
;}
.icon-back
{
width
:
128rpx
;
height
:
50rpx
;
background-position
:
-333rpx
-853rpx
;}
.icon-bao
{
width
:
196rpx
;
height
:
220rpx
;
background-position
:
-830rpx
-382rpx
;}
.icon-boutique-config-0
{
width
:
44rpx
;
height
:
44rpx
;
background-position
:
-476rpx
-853rpx
;}
.icon-boutique-config-1
{
width
:
44rpx
;
height
:
44rpx
;
background-position
:
-535rpx
-853rpx
;}
.icon-boutique-config-2
{
width
:
44rpx
;
height
:
44rpx
;
background-position
:
-594rpx
-853rpx
;}
.icon-byd
{
width
:
184rpx
;
height
:
36rpx
;
background-position
:
-1041rpx
-557rpx
;}
.icon-change-account
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1259rpx
-617rpx
;}
.icon-clone
{
width
:
24rpx
;
height
:
24rpx
;
background-position
:
-781rpx
-509rpx
;}
.icon-customer-1
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
0rpx
0rpx
;}
.icon-customer-2
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
-415rpx
0rpx
;}
.icon-customer-add
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-1216rpx
-382rpx
;}
.icon-customer-detail
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-830rpx
-668rpx
;}
.icon-customer-file-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-638rpx
-558rpx
;}
.icon-customer-file
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
0rpx
-726rpx
;}
.icon-detail-start
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
0rpx
-964rpx
;}
.icon-face-error-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-746rpx
-726rpx
;}
.icon-face-error
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-857rpx
-726rpx
;}
.icon-face-success-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-968rpx
-726rpx
;}
.icon-face-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-1079rpx
-726rpx
;}
.icon-feedback
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-1216rpx
-477rpx
;}
.icon-first-nav
{
width
:
464rpx
;
height
:
176rpx
;
background-position
:
-830rpx
-191rpx
;}
.icon-home-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-127rpx
-726rpx
;}
.icon-home
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-254rpx
-726rpx
;}
.icon-icon-arrow
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1215rpx
-668rpx
;}
.icon-icon-close
{
width
:
72rpx
;
height
:
72rpx
;
background-position
:
-285rpx
-964rpx
;}
.icon-icon-female
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1262rpx
-668rpx
;}
.icon-icon-male
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-781rpx
-415rpx
;}
.icon-icon-shop
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-781rpx
-462rpx
;}
.icon-icon-upload
{
width
:
128rpx
;
height
:
128rpx
;
background-position
:
-503rpx
-415rpx
;}
.icon-icon-weixin
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-653rpx
-853rpx
;}
.icon-info_shield
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-885rpx
-668rpx
;}
.icon-invisible
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-940rpx
-668rpx
;}
.icon-kf-0
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-700rpx
-853rpx
;}
.icon-kf-1
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-747rpx
-853rpx
;}
.icon-kf-2
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-794rpx
-853rpx
;}
.icon-kf-3
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-841rpx
-853rpx
;}
.icon-logo
{
width
:
160rpx
;
height
:
160rpx
;
background-position
:
-1041rpx
-382rpx
;}
.icon-mask-del
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-95rpx
-964rpx
;}
.icon-mask-edit
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-190rpx
-964rpx
;}
.icon-no-insurance-data
{
width
:
488rpx
;
height
:
296rpx
;
background-position
:
0rpx
-415rpx
;}
.icon-pause
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-995rpx
-668rpx
;}
.icon-pen-active
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-646rpx
-415rpx
;}
.icon-pen
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-503rpx
-558rpx
;}
.icon-play
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1050rpx
-668rpx
;}
.icon-qr-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-1190rpx
-726rpx
;}
.icon-qw
{
width
:
48rpx
;
height
:
48rpx
;
background-position
:
-765rpx
-621rpx
;}
.icon-record-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-381rpx
-726rpx
;}
.icon-record
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-508rpx
-726rpx
;}
.icon-scan
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-888rpx
-853rpx
;}
.icon-scene-0
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
0rpx
-853rpx
;}
.icon-scene-1
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-111rpx
-853rpx
;}
.icon-search
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1105rpx
-668rpx
;}
.icon-second-nav
{
width
:
480rpx
;
height
:
176rpx
;
background-position
:
-830rpx
0rpx
;}
.icon-setting
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-372rpx
-964rpx
;}
.icon-store
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-222rpx
-853rpx
;}
.icon-tag-checked
{
width
:
60rpx
;
height
:
32rpx
;
background-position
:
-1240rpx
-557rpx
;}
.icon-tool-file
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-451rpx
-964rpx
;}
.icon-tool-finish
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-526rpx
-964rpx
;}
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-601rpx
-964rpx
;}
.icon-total
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-935rpx
-853rpx
;}
.icon-visible
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1160rpx
-668rpx
;}
\ No newline at end of file
\ No newline at end of file
.sprite-icon
{
background-image
:
url(@/assets/images/sprite.png)
;
background-size
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.5583972719522592
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
.44501278772378516
);}
.icon-addr
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.49658994032395565
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.263000852514919
);}
.icon-aito
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.13640238704177324
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3537936913895993
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.263000852514919
);}
.icon-arrow-bottom
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.32608695652173914
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.23785166240409208
);}
.icon-arrow-right
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5166240409207161
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.263000852514919
);}
.icon-avatar
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.27067348678601877
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-back
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.021312872975277068
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.14194373401534527
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-bao
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.08354646206308611
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0937766410912191
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3537936913895993
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1628303495311168
);}
.icon-boutique-config-0
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2028985507246377
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-boutique-config-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2280477408354646
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-boutique-config-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2531969309462916
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-byd
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0784313725490196
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4437340153452685
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.23742540494458653
);}
.icon-change-account
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5366581415174766
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.263000852514919
);}
.icon-clone
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3329070758738278
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.21696504688832055
);}
.icon-customer-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.17050298380221654
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.17050298380221654
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
);}
.icon-customer-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.17050298380221654
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.17050298380221654
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.17689684569479966
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
);}
.icon-customer-add
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5183290707587382
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1628303495311168
);}
.icon-customer-detail
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3537936913895993
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-customer-file-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.27195225916453536
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.23785166240409208
);}
.icon-customer-file
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-detail-start
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-face-error-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.31798806479113384
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-face-error
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3653026427962489
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-face-success-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41261722080136404
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-face-success
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4599317988064791
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-feedback
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5183290707587382
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20332480818414322
);}
.icon-first-nav
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.1977834612105712
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.07502131287297528
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3537936913895993
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.0814151747655584
);}
.icon-home-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.05413469735720375
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-home
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1082693947144075
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-icon-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5179028132992327
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-icon-close
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.030690537084398978
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.030690537084398978
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.12148337595907928
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-icon-female
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5379369138959932
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-icon-male
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3329070758738278
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.17689684569479966
);}
.icon-icon-shop
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3329070758738278
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1969309462915601
);}
.icon-icon-upload
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2144075021312873
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.17689684569479966
);}
.icon-icon-weixin
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2783461210571185
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-info_shield
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3772378516624041
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-invisible
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.40068201193520886
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-kf-0
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.29838022165387895
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-kf-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.31841432225063937
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-kf-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.33844842284739984
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-kf-3
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.35848252344416026
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-logo
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06820119352088662
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06820119352088662
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4437340153452685
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1628303495311168
);}
.icon-mask-del
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.04049445865302643
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-mask-edit
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.08098891730605286
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-no-insurance-data
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.20801364023870417
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.12617220801364024
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.17689684569479966
);}
.icon-pause
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.42412617220801363
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-pen-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05115089514066496
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05115089514066496
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2753623188405797
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.17689684569479966
);}
.icon-pen
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05115089514066496
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05115089514066496
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2144075021312873
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.23785166240409208
);}
.icon-play
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4475703324808184
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-qr-success
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5072463768115942
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-qw
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.32608695652173914
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2647058823529412
);}
.icon-record-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.16240409207161124
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-record
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.216538789428815
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.309462915601023
);}
.icon-scan
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.37851662404092073
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-scene-0
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-scene-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.04731457800511509
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-search
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.47101449275362317
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
.icon-second-nav
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.20460358056265984
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.07502131287297528
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3537936913895993
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
);}
.icon-setting
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1585677749360614
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-store
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.09462915601023018
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-tag-checked
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5285592497868713
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.23742540494458653
);}
.icon-tool-file
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.19224211423699913
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-tool-finish
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.22421142369991476
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-tool-pay
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.25618073316283035
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.41091219096334186
);}
.icon-total
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.39855072463768115
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3635976129582268
);}
.icon-visible
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.49445865302642794
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2847399829497016
);}
\ No newline at end of file
\ No newline at end of file
components/CarBrands.vue
View file @
f12effb
...
@@ -215,24 +215,24 @@ export default {
...
@@ -215,24 +215,24 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.select-box
{
.select-box
{
margin
:
40
rpx
0
;
margin
:
toRpx
(
40
)
0
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
32
rpx
;
gap
:
toRpx
(
32
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
50vh
;
max-height
:
50vh
;
padding-bottom
:
60
rpx
;
padding-bottom
:
toRpx
(
60
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#333
;
color
:
#333
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.checked
{
&.checked
{
border
:
2
rpx
solid
#292d33
;
border
:
toRpx
(
2
)
solid
#292d33
;
}
}
}
}
}
}
...
...
components/CustomerAutocomplete.vue
View file @
f12effb
...
@@ -97,21 +97,21 @@ export default {
...
@@ -97,21 +97,21 @@ export default {
.
customer
-
box
{
.
customer
-
box
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
88
rpx
;
top
:
toRpx
(
88
)
;
width
:
100
%
;
width
:
100
%
;
height
:
352
rpx
;
height
:
toRpx
(
352
)
;
background
:
#
ffffff
;
background
:
#
ffffff
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
z
-
index
:
-
1
;
z
-
index
:
-
1
;
opacity
:
0
;
opacity
:
0
;
.
customer
-
title
{
.
customer
-
title
{
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
color
:
#
999999
;
color
:
#
999999
;
line
-
height
:
40
rpx
;
line
-
height
:
toRpx
(
40
)
;
padding
:
16
rpx
24
rpx
8
rpx
;
padding
:
toRpx
(
16
)
toRpx
(
24
)
toRpx
(
8
)
;
}
}
.
scroll
-
box
{
.
scroll
-
box
{
height
:
calc
(
100
%
-
64
rpx
);
height
:
calc
(
100
%
-
#
{
toRpx
(
64
)
}
);
.
loading
{
.
loading
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
height
:
100
%
;
...
@@ -123,26 +123,26 @@ export default {
...
@@ -123,26 +123,26 @@ export default {
.
nothing
{
.
nothing
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
height
:
100
%
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
color
:
#
c7ccd7
;
color
:
#
c7ccd7
;
flex
-
direction
:
column
;
flex
-
direction
:
column
;
.
icon
{
.
icon
{
margin
-
top
:
52
rpx
;
margin
-
top
:
toRpx
(
52
)
;
width
:
96
rpx
;
width
:
toRpx
(
96
)
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background
-
image
:
url
(
'@/assets/images/common/nothing.webp'
);
background
-
image
:
url
(
'@/assets/images/common/nothing.webp'
);
background
-
size
:
100
%
;
background
-
size
:
100
%
;
}
}
}
}
.
item
{
.
item
{
width
:
100
%
;
width
:
100
%
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
333333
;
color
:
#
333333
;
line
-
height
:
40
rpx
;
line
-
height
:
toRpx
(
40
)
;
padding
-
left
:
24
rpx
;
padding
-
left
:
toRpx
(
24
)
;
margin
-
bottom
:
8
rpx
;
margin
-
bottom
:
toRpx
(
8
)
;
}
}
.
active
{
.
active
{
background
:
#
ecf1ff
;
background
:
#
ecf1ff
;
...
...
components/CustomerTags.vue
View file @
f12effb
...
@@ -146,41 +146,41 @@ export default {
...
@@ -146,41 +146,41 @@ export default {
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
60vh
;
max-height
:
60vh
;
position
:
relative
;
position
:
relative
;
padding-bottom
:
128
rpx
;
padding-bottom
:
toRpx
(
128
)
;
.select-group
{
.select-group
{
margin
:
32
rpx
0
;
margin
:
toRpx
(
32
)
0
;
.select-title
{
.select-title
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
margin-bottom
:
10
rpx
;
margin-bottom
:
toRpx
(
10
)
;
}
}
.select-box
{
.select-box
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
32
rpx
;
gap
:
toRpx
(
32
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
justify-content
:
center
;
justify-content
:
center
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#333
;
color
:
#333
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
position
:
relative
;
position
:
relative
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
13
rpx
40
rpx
;
padding
:
toRpx
(
13
)
toRpx
(
40
)
;
word-break
:
break-all
;
word-break
:
break-all
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
.sprite-icon
{
.sprite-icon
{
display
:
none
;
display
:
none
;
position
:
absolute
;
position
:
absolute
;
right
:
-2
rpx
;
right
:
toMinusRpx
(
2
)
;
top
:
-2
rpx
;
top
:
toMinusRpx
(
2
)
;
}
}
}
}
.checked
{
.checked
{
border
:
2
rpx
solid
#2c66f7
;
border
:
toRpx
(
2
)
solid
#2c66f7
;
background
:
#ecf1ff
;
background
:
#ecf1ff
;
color
:
#2c66f7
;
color
:
#2c66f7
;
.sprite-icon
{
.sprite-icon
{
...
@@ -195,23 +195,23 @@ export default {
...
@@ -195,23 +195,23 @@ export default {
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
width
:
100%
;
width
:
100%
;
height
:
176
rpx
;
height
:
toRpx
(
176
)
;
background
:
#ffffff
;
background
:
#ffffff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
32
rpx
;
padding-top
:
toRpx
(
32
)
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
gap
:
0
34
rpx
;
gap
:
0
toRpx
(
34
)
;
.btn
{
.btn
{
width
:
718
rpx
;
width
:
toRpx
(
718
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background-image
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
background-image
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#ffffff
;
color
:
#ffffff
;
}
}
.cancel
{
.cancel
{
...
...
components/Employee.vue
View file @
f12effb
...
@@ -74,24 +74,24 @@ export default {
...
@@ -74,24 +74,24 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.select-box
{
.select-box
{
margin
:
40
rpx
0
;
margin
:
toRpx
(
40
)
0
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
32
rpx
;
gap
:
toRpx
(
32
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
50vh
;
max-height
:
50vh
;
padding-bottom
:
60
rpx
;
padding-bottom
:
toRpx
(
60
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#333
;
color
:
#333
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.checked
{
&.checked
{
border
:
2
rpx
solid
#292d33
;
border
:
toRpx
(
2
)
solid
#292d33
;
}
}
}
}
}
}
...
...
components/FinishStep.vue
View file @
f12effb
...
@@ -303,15 +303,15 @@ export default {
...
@@ -303,15 +303,15 @@ export default {
.pop-tips
{
.pop-tips
{
background
:
rgba
(
44
,
102
,
247
,
0.1
);
background
:
rgba
(
44
,
102
,
247
,
0.1
);
color
:
#2c66f7
;
color
:
#2c66f7
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
padding
:
24
rpx
80
rpx
24
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
80
)
toRpx
(
24
)
;
margin-top
:
30
rpx
;
margin-top
:
toRpx
(
30
)
;
text-align
:
center
;
text-align
:
center
;
}
}
.error-tip
{
.error-tip
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
padding
:
32
rpx
60
rpx
24
rpx
;
padding
:
toRpx
(
32
)
toRpx
(
60
)
toRpx
(
24
)
;
margin-top
:
30
rpx
;
margin-top
:
toRpx
(
30
)
;
text-align
:
center
;
text-align
:
center
;
background-color
:
rgb
(
254
,
237
,
234
);
background-color
:
rgb
(
254
,
237
,
234
);
color
:
#f45c3d
;
color
:
#f45c3d
;
...
@@ -319,44 +319,44 @@ export default {
...
@@ -319,44 +319,44 @@ export default {
.form
{
.form
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
24
rpx
0
;
gap
:
toRpx
(
24
)
0
;
padding-top
:
30
rpx
;
padding-top
:
toRpx
(
30
)
;
&-item
{
&-item
{
//
flex
:
50%
;
//
flex
:
50%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
color
:
#6c6c70
;
color
:
#6c6c70
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
auto
;
margin
:
0
auto
;
.label
{
.label
{
position
:
relative
;
position
:
relative
;
margin-left
:
auto
;
margin-left
:
auto
;
flex-shrink
:
0
;
flex-shrink
:
0
;
width
:
124
rpx
;
width
:
toRpx
(
124
)
;
}
}
.required
{
.required
{
&::before
{
&::before
{
content
:
'*'
;
content
:
'*'
;
color
:
#ff0000
;
color
:
#ff0000
;
position
:
absolute
;
position
:
absolute
;
left
:
-20
rpx
;
left
:
toMinusRpx
(
20
)
;
top
:
50%
;
top
:
50%
;
transform
:
translate
(
0
,
-50%
);
transform
:
translate
(
0
,
-50%
);
}
}
}
}
.value
{
.value
{
width
:
520
rpx
;
width
:
toRpx
(
520
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
border
:
2
rpx
solid
#e8e8ea
;
border
:
toRpx
(
2
)
solid
#e8e8ea
;
background
:
#ffffff
;
background
:
#ffffff
;
margin-left
:
32
rpx
;
margin-left
:
toRpx
(
32
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
40
rpx
;
padding
:
0
toRpx
(
40
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.error
{
&.error
{
border
:
2
rpx
solid
#f24724
;
border
:
toRpx
(
2
)
solid
#f24724
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
}
}
.input
,
.input
,
.select
{
.select
{
...
@@ -365,7 +365,7 @@ export default {
...
@@ -365,7 +365,7 @@ export default {
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
;
outline
:
none
;
padding
:
0
!important
;
padding
:
0
!important
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
&::placeholder
{
&::placeholder
{
color
:
#c9c9c9
;
color
:
#c9c9c9
;
}
}
...
@@ -378,7 +378,7 @@ export default {
...
@@ -378,7 +378,7 @@ export default {
}
}
}
}
/
deep
/
.placeholder
{
/
deep
/
.placeholder
{
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#c9c9c9
;
color
:
#c9c9c9
;
}
}
}
}
...
@@ -398,15 +398,15 @@ export default {
...
@@ -398,15 +398,15 @@ export default {
align-items
:
center
;
align-items
:
center
;
.choose-item
{
.choose-item
{
width
:
100%
;
width
:
100%
;
height
:
128
rpx
;
height
:
toRpx
(
128
)
;
border
:
2
rpx
solid
#e8e8e8
;
border
:
toRpx
(
2
)
solid
#e8e8e8
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
24
rpx
;
margin-top
:
toRpx
(
24
)
;
.sprite-icon
{
.sprite-icon
{
margin-right
:
16
rpx
;
margin-right
:
toRpx
(
16
)
;
}
}
}
}
.success
{
.success
{
...
...
components/HomeFrame/components/CaseItem.vue
View file @
f12effb
...
@@ -100,32 +100,32 @@ export default {
...
@@ -100,32 +100,32 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
8
rpx
24
rpx
0
#2c66f71
a
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#2c66f71
a
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
overflow
:
hidden
;
overflow
:
hidden
;
.img
{
.img
{
width
:
100%
;
width
:
100%
;
height
:
324
rpx
;
height
:
toRpx
(
324
)
;
}
}
.case-name
{
.case-name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
48
rpx
;
line-height
:
toRpx
(
48
)
;
padding
:
16
rpx
32
rpx
8
rpx
;
padding
:
toRpx
(
16
)
toRpx
(
32
)
toRpx
(
8
)
;
}
}
.case-text
{
.case-text
{
align-items
:
flex-start
;
align-items
:
flex-start
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#666666
;
color
:
#666666
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
margin-bottom
:
4
rpx
;
margin-bottom
:
toRpx
(
4
)
;
}
}
.case-label
{
.case-label
{
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
}
}
...
...
components/HomeFrame/components/CustomerFile.vue
View file @
f12effb
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
class=
"sprite-icon"
class=
"sprite-icon"
:class=
"[
:class=
"[
firstIndex == index ? `icon-$
{firstClass[index]} active` : '',
firstIndex == index ? `icon-$
{firstClass[index]} active` : '',
firstLeft[index]
]"
]"
:style="{ left: firstLeft[index] }"
>
</view>
>
</view>
<view
<view
class=
"text"
class=
"text"
...
@@ -99,9 +99,10 @@
...
@@ -99,9 +99,10 @@
:key=
"item.id"
:key=
"item.id"
>
>
<case-item
<case-item
:item=
"item"
:item=
"item"
:source=
"2"
:source=
"2"
imgStyle=
"height:
290rpx
"
imgStyle=
"height:
calc(100vw * (290 / 2346))
"
/>
/>
</view>
</view>
</
template
>
</
template
>
...
@@ -257,7 +258,7 @@ export default {
...
@@ -257,7 +258,7 @@ export default {
{
tabName
:
'客户案例广场'
}
,
{
tabName
:
'客户案例广场'
}
,
],
],
firstIndex
:
0
,
firstIndex
:
0
,
firstLeft
:
[
'
0rpx'
,
'352rpx'
,
'756rpx
'
],
firstLeft
:
[
'
first'
,
'second'
,
'three
'
],
firstClass
:
[
'first-nav'
,
'second-nav'
,
'second-nav'
],
firstClass
:
[
'first-nav'
,
'second-nav'
,
'second-nav'
],
dateList
:
[
dateList
:
[
{
text
:
'今日'
}
,
{
text
:
'今日'
}
,
...
@@ -297,9 +298,10 @@ export default {
...
@@ -297,9 +298,10 @@ export default {
}
,
}
,
computed
:
{
computed
:
{
activeBtnStyle
()
{
activeBtnStyle
()
{
let
{
dateIndex
}
=
this
let
{
dateIndex
}
=
this
,
val
=
dateIndex
*
184
return
{
return
{
transform
:
`translate(
calc(${dateIndex * 184
}
rpx
), -50%)`
transform
:
`translate(
toRpx(${val
}
), -50%)`
}
}
}
,
}
,
recordClass
()
{
recordClass
()
{
...
@@ -534,43 +536,53 @@ export default {
...
@@ -534,43 +536,53 @@ export default {
.
record
-
content
{
.
record
-
content
{
height
:
100
%
;
height
:
100
%
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
padding
-
top
:
96
rpx
;
padding
-
top
:
toRpx
(
96
)
;
.
data
-
container
{
.
data
-
container
{
background
:
#
ffffff
;
background
:
#
ffffff
;
border
-
radius
:
48
rpx
;
border
-
radius
:
toRpx
(
48
)
;
margin
-
top
:
48
rpx
;
margin
-
top
:
toRpx
(
48
)
;
height
:
1112
rpx
;
height
:
72.39
vh
;
margin
-
right
:
66
rpx
;
margin
-
right
:
toRpx
(
66
)
;
box
-
shadow
:
inset
0
0
16
rpx
0
#
ffffff
;
box
-
shadow
:
inset
0
0
toRpx
(
16
)
0
#
ffffff
;
border
:
2
rpx
solid
#
fff
;
border
:
toRpx
(
2
)
solid
#
fff
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
.
type
-
box
{
.
type
-
box
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
width
:
100
%
;
width
:
100
%
;
background
-
color
:
#
eef4fe
;
background
-
color
:
#
eef4fe
;
height
:
176
rpx
;
height
:
toRpx
(
176
)
;
line
-
height
:
128
rpx
;
line
-
height
:
toRpx
(
128
)
;
border
-
radius
:
48
rpx
48
rpx
0
0
;
border
-
radius
:
toRpx
(
48
)
toRpx
(
48
)
0
0
;
z
-
index
:
0
;
z
-
index
:
0
;
.
tab
-
item
{
.
tab
-
item
{
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
text
-
align
:
center
;
text
-
align
:
center
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
40
rpx
;
font
-
size
:
toRpx
(
40
)
;
color
:
#
1
f2133
;
color
:
#
1
f2133
;
.
first
{
left
:
0
;
}
.
second
{
left
:
toRpx
(
352
);
}
.
three
{
left
:
toRpx
(
756
);
}
.
text
{
.
text
{
position
:
relative
;
position
:
relative
;
text
-
align
:
center
;
text
-
align
:
center
;
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
}
}
.
active
{
.
active
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
z
-
index
:
-
1
;
z
-
index
:
-
1
;
font
-
weight
:
700
;
font
-
weight
:
700
;
font
-
size
:
40
rpx
;
font
-
size
:
toRpx
(
40
)
;
color
:
#
2
c66f7
;
color
:
#
2
c66f7
;
&
::
after
{
&
::
after
{
content
:
''
;
content
:
''
;
...
@@ -578,10 +590,10 @@ export default {
...
@@ -578,10 +590,10 @@ export default {
bottom
:
0
;
bottom
:
0
;
left
:
50
%
;
left
:
50
%
;
transform
:
translateX
(
-
50
%
);
transform
:
translateX
(
-
50
%
);
width
:
48
rpx
;
width
:
toRpx
(
48
)
;
height
:
8
rpx
;
height
:
toRpx
(
8
)
;
background
-
color
:
#
2
c66f7
;
background
-
color
:
#
2
c66f7
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
}
}
}
}
}
}
...
@@ -605,29 +617,30 @@ export default {
...
@@ -605,29 +617,30 @@ export default {
}
}
}
}
.
record
-
list
{
.
record
-
list
{
height
:
calc
(
100
%
-
242
rpx
);
height
:
calc
(
100
%
-
#
{
toRpx
(
242
)
}
);
box
-
sizing
:
border
-
box
;
position
:
relative
;
position
:
relative
;
z
-
index
:
4
;
z
-
index
:
4
;
}
}
.
type
-
1
{
.
type
-
1
{
height
:
calc
(
100
%
-
128
rpx
);
height
:
calc
(
100
%
-
#
{
toRpx
(
128
)
}
);
margin
-
top
:
-
48
rpx
;
margin
-
top
:
toMinusRpx
(
48
)
;
.
list
{
.
list
{
padding
-
top
:
48
rpx
;
padding
-
top
:
toRpx
(
48
)
;
.
item
{
.
item
{
.
name
{
.
name
{
max
-
width
:
416
rpx
;
max
-
width
:
toRpx
(
416
)
;
}
}
}
}
}
}
}
}
.
type
-
2
{
.
type
-
2
{
height
:
calc
(
100
%
-
248
rpx
);
height
:
calc
(
100
%
-
#
{
toRpx
(
248
)
}
);
.
list
{
.
list
{
padding
-
top
:
48
rpx
;
padding
-
top
:
toRpx
(
48
)
;
.
item
{
.
item
{
.
name
{
.
name
{
max
-
width
:
416
rpx
;
max
-
width
:
toRpx
(
416
)
;
}
}
}
}
}
}
...
@@ -635,27 +648,27 @@ export default {
...
@@ -635,27 +648,27 @@ export default {
.
list
{
.
list
{
display
:
flex
;
display
:
flex
;
flex
-
wrap
:
wrap
;
flex
-
wrap
:
wrap
;
gap
:
40
rpx
44
rpx
;
gap
:
toRpx
(
40
)
toRpx
(
44
)
;
padding
:
40
rpx
0
20
rpx
64
rpx
;
padding
:
toRpx
(
40
)
0
toRpx
(
20
)
toRpx
(
64
)
;
.
item
{
.
item
{
width
:
608
rpx
;
width
:
toRpx
(
608
)
;
background
:
#
ffffff
;
background
:
#
ffffff
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
padding
:
24
rpx
32
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
32
)
;
position
:
relative
;
position
:
relative
;
box
-
shadow
:
0
8
rpx
24
rpx
0
#
2
c66f71a
;
box
-
shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#
2
c66f71a
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
.
status
{
.
status
{
position
:
absolute
;
position
:
absolute
;
top
:
24
rpx
;
top
:
toRpx
(
24
)
;
right
:
32
rpx
;
right
:
toRpx
(
32
)
;
width
:
88
rpx
;
width
:
toRpx
(
88
)
;
height
:
44
rpx
;
height
:
toRpx
(
44
)
;
background
:
#
fdece9
;
background
:
#
fdece9
;
color
:
#
f24724
;
color
:
#
f24724
;
border
-
radius
:
4
rpx
;
border
-
radius
:
toRpx
(
4
)
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
justify
-
content
:
center
;
justify
-
content
:
center
;
}
}
.
deal
{
.
deal
{
...
@@ -664,22 +677,22 @@ export default {
...
@@ -664,22 +677,22 @@ export default {
}
}
.
name
{
.
name
{
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
32
rpx
;
font
-
size
:
toRpx
(
32
)
;
color
:
#
292
d33
;
color
:
#
292
d33
;
white
-
space
:
nowrap
;
white
-
space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
text
-
overflow
:
ellipsis
;
line
-
height
:
44
rpx
;
line
-
height
:
toRpx
(
44
)
;
max
-
width
:
100
%
;
max
-
width
:
100
%
;
}
}
.
info
{
.
info
{
margin
-
top
:
12
rpx
;
margin
-
top
:
toRpx
(
12
)
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
color
:
#
999
ea8
;
color
:
#
999
ea8
;
.
value
{
.
value
{
margin
-
left
:
auto
;
margin
-
left
:
auto
;
color
:
#
666666
;
color
:
#
666666
;
max
-
width
:
388
rpx
;
max
-
width
:
toRpx
(
388
)
;
}
}
}
}
.
mask
{
.
mask
{
...
@@ -689,28 +702,28 @@ export default {
...
@@ -689,28 +702,28 @@ export default {
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
height
:
100
%
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
background
:
rgba
(
0
,
0
,
0
,
0.4
);
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
opacity
:
0
;
opacity
:
0
;
pointer
-
events
:
none
;
pointer
-
events
:
none
;
&-
close
{
&-
close
{
position
:
absolute
;
position
:
absolute
;
right
:
16
rpx
;
right
:
toRpx
(
16
)
;
top
:
16
rpx
;
top
:
toRpx
(
16
)
;
z
-
index
:
8
;
z
-
index
:
8
;
}
}
&-
box
{
&-
box
{
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
height
:
100
%
;
justify
-
content
:
center
;
justify
-
content
:
center
;
gap
:
0
96
rpx
;
gap
:
0
toRpx
(
96
)
;
.
mask
-
item
{
.
mask
-
item
{
font
-
size
:
26
rpx
;
font
-
size
:
toRpx
(
26
)
;
color
:
#
ffffff
;
color
:
#
ffffff
;
text
-
align
:
center
;
text
-
align
:
center
;
line
-
height
:
36
rpx
;
line
-
height
:
toRpx
(
36
)
;
.
sprite
-
icon
{
.
sprite
-
icon
{
margin
-
bottom
:
8
rpx
;
margin
-
bottom
:
toRpx
(
8
)
;
}
}
}
}
}
}
...
@@ -718,28 +731,28 @@ export default {
...
@@ -718,28 +731,28 @@ export default {
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
height
:
100
%
;
justify
-
content
:
center
;
justify
-
content
:
center
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
ffffff
;
color
:
#
ffffff
;
line
-
height
:
36
rpx
;
line
-
height
:
toRpx
(
36
)
;
flex
-
direction
:
column
;
flex
-
direction
:
column
;
animation
:
opacity
-
0
-
1
0.5
s
forwards
;
animation
:
opacity
-
0
-
1
0.5
s
forwards
;
.
btns
{
.
btns
{
justify
-
content
:
center
;
justify
-
content
:
center
;
gap
:
0
16
rpx
;
gap
:
0
toRpx
(
16
)
;
margin
-
top
:
56
rpx
;
margin
-
top
:
toRpx
(
56
)
;
.
btn
{
.
btn
{
width
:
192
rpx
;
width
:
toRpx
(
192
)
;
height
:
64
rpx
;
height
:
toRpx
(
64
)
;
background
-
image
:
linear
-
gradient
(
0
deg
,
#
2
c66f7
0
%
,
#
48
a6ff
100
%
);
background
-
image
:
linear
-
gradient
(
0
deg
,
#
2
c66f7
0
%
,
#
48
a6ff
100
%
);
border
-
radius
:
32
rpx
;
border
-
radius
:
toRpx
(
32
)
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
text
-
align
:
center
;
text
-
align
:
center
;
line
-
height
:
64
rpx
;
line
-
height
:
toRpx
(
64
)
;
font
-
size
:
26
rpx
;
font
-
size
:
toRpx
(
26
)
;
color
:
#
ffffff
;
color
:
#
ffffff
;
}
}
.
cancel
{
.
cancel
{
border
:
2
rpx
solid
#
ffffff
;
border
:
toRpx
(
2
)
solid
#
ffffff
;
background
-
image
:
none
;
background
-
image
:
none
;
}
}
}
}
...
@@ -751,49 +764,49 @@ export default {
...
@@ -751,49 +764,49 @@ export default {
}
}
}
}
.
case
-
item
{
.
case
-
item
{
width
:
444
rpx
;
width
:
toRpx
(
444
)
;
height
:
552
rpx
;
height
:
toRpx
(
552
)
;
}
}
}
}
}
}
.
add
-
btn
{
.
add
-
btn
{
width
:
2040
rpx
;
width
:
toRpx
(
2040
)
;
height
:
200
rpx
;
height
:
toRpx
(
200
)
;
background
-
image
:
url
(
'@/assets/images/common/customer-btn.webp'
);
background
-
image
:
url
(
'@/assets/images/common/customer-btn.webp'
);
background
-
size
:
100
%
;
background
-
size
:
100
%
;
font
-
weight
:
700
;
font
-
weight
:
700
;
font
-
size
:
48
rpx
;
font
-
size
:
toRpx
(
48
)
;
color
:
#
ffffff
;
color
:
#
ffffff
;
justify
-
content
:
center
;
justify
-
content
:
center
;
.
sprite
-
icon
{
.
sprite
-
icon
{
margin
-
right
:
32
rpx
;
margin
-
right
:
toRpx
(
32
)
;
}
}
}
}
.
tabs
-
bottom
{
.
tabs
-
bottom
{
background
:
#
fff
;
background
:
#
fff
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
position
:
relative
;
position
:
relative
;
z
-
index
:
3
;
z
-
index
:
3
;
border
-
radius
:
24
px
24
px
0
0
;
border
-
radius
:
toRpx
(
48
)
toRpx
(
48
)
0
0
;
position
:
absolute
;
position
:
absolute
;
width
:
100
%
;
width
:
100
%
;
top
:
128
rpx
;
top
:
toRpx
(
128
)
;
}
}
.
data
-
tabs
-
box
{
.
data
-
tabs
-
box
{
position
:
relative
;
position
:
relative
;
top
:
0
;
top
:
0
;
z
-
index
:
3
;
z
-
index
:
3
;
margin
-
top
:
-
8
rpx
;
margin
-
top
:
toMinusRpx
(
8
)
;
.
data
-
tabs
{
.
data
-
tabs
{
display
:
flex
;
display
:
flex
;
justify
-
content
:
space
-
between
;
justify
-
content
:
space
-
between
;
width
:
fit
-
content
;
width
:
fit
-
content
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
background
-
color
:
#
f2f2f2
;
background
-
color
:
#
f2f2f2
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
margin
-
left
:
64
rpx
;
margin
-
left
:
toRpx
(
64
)
;
position
:
relative
;
position
:
relative
;
padding
:
4
rpx
;
padding
:
toRpx
(
4
)
;
box
-
sizing
:
content
-
box
;
box
-
sizing
:
content
-
box
;
&
::
after
{
&
::
after
{
position
:
absolute
;
position
:
absolute
;
...
@@ -806,10 +819,10 @@ export default {
...
@@ -806,10 +819,10 @@ export default {
content
:
''
;
content
:
''
;
}
}
.
tab
{
.
tab
{
width
:
184
rpx
;
width
:
toRpx
(
184
)
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
justify
-
content
:
center
;
justify
-
content
:
center
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
1
f2133
;
color
:
#
1
f2133
;
z
-
index
:
10
;
z
-
index
:
10
;
opacity
:
0.7
;
opacity
:
0.7
;
...
@@ -820,12 +833,12 @@ export default {
...
@@ -820,12 +833,12 @@ export default {
}
}
.
active
-
btn
{
.
active
-
btn
{
position
:
absolute
;
position
:
absolute
;
width
:
184
rpx
;
width
:
toRpx
(
184
)
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
background
:
#
ffffff
;
background
:
#
ffffff
;
top
:
50
%
;
top
:
50
%
;
transform
:
translateY
(
-
50
%
);
transform
:
translateY
(
-
50
%
);
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
transition
:
all
0.15
s
;
transition
:
all
0.15
s
;
}
}
}
}
...
@@ -834,19 +847,19 @@ export default {
...
@@ -834,19 +847,19 @@ export default {
position
:
relative
;
position
:
relative
;
top
:
0
;
top
:
0
;
z
-
index
:
3
;
z
-
index
:
3
;
margin
-
top
:
-
8
rpx
;
margin
-
top
:
toMinusRpx
(
8
)
;
padding
:
0
64
rpx
;
padding
:
0
toRpx
(
64
)
;
.
scene
-
tabs
{
.
scene
-
tabs
{
gap
:
0
24
rpx
;
gap
:
0
toRpx
(
24
)
;
.
tab
{
.
tab
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#
f2f2f2
;
background
:
#
f2f2f2
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
justify
-
content
:
center
;
justify
-
content
:
center
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
666666
;
color
:
#
666666
;
line
-
height
:
44
rpx
;
line
-
height
:
toRpx
(
44
)
;
transition
:
all
0.15
s
;
transition
:
all
0.15
s
;
}
}
.
active
{
.
active
{
...
@@ -857,30 +870,30 @@ export default {
...
@@ -857,30 +870,30 @@ export default {
}
}
.
btn
-
list
{
.
btn
-
list
{
margin
-
left
:
auto
;
margin
-
left
:
auto
;
gap
:
0
48
rpx
;
gap
:
0
toRpx
(
48
)
;
line
-
height
:
48
rpx
;
line
-
height
:
toRpx
(
48
)
;
.
search
-
btn
{
.
search
-
btn
{
&
::
after
{
&
::
after
{
content
:
''
;
content
:
''
;
border
:
12
rpx
solid
transparent
;
border
:
toRpx
(
12
)
solid
transparent
;
border
-
left
-
color
:
#
000
;
border
-
left
-
color
:
#
000
;
margin
-
left
:
12
rpx
;
margin
-
left
:
toRpx
(
12
)
;
transform
:
translateY
(
-
2
rpx
);
transform
:
translateY
(
toMinusRpx
(
2
)
);
}
}
}
}
.
check
-
box
{
.
check
-
box
{
width
:
32
rpx
;
width
:
toRpx
(
32
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
background
:
#
ffffff
;
background
:
#
ffffff
;
border
:
1.5
px
solid
#
999
;
border
:
toRpx
(
3
)
solid
#
999
;
border
-
radius
:
6
rpx
;
border
-
radius
:
toRpx
(
6
)
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
margin
-
right
:
16
rpx
;
margin
-
right
:
toRpx
(
16
)
;
justify
-
content
:
center
;
justify
-
content
:
center
;
overflow
:
hidden
;
overflow
:
hidden
;
transition
:
all
0.25
s
;
transition
:
all
0.25
s
;
flex
-
shrink
:
0
;
flex
-
shrink
:
0
;
transform
:
translateY
(
-
2
rpx
);
transform
:
translateY
(
toMinusRpx
(
2
)
);
}
}
.
checked
{
.
checked
{
background
:
#
2
c66f7
;
background
:
#
2
c66f7
;
...
@@ -892,20 +905,20 @@ export default {
...
@@ -892,20 +905,20 @@ export default {
.
nothing
{
.
nothing
{
width
:
100
%
;
width
:
100
%
;
flex
-
direction
:
column
;
flex
-
direction
:
column
;
margin
-
top
:
112
rpx
;
margin
-
top
:
toRpx
(
112
)
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
999999
;
color
:
#
999999
;
.
icon
{
.
icon
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin
-
bottom
:
24
rpx
;
margin
-
bottom
:
toRpx
(
24
)
;
}
}
}
}
.
end
-
text
{
.
end
-
text
{
color
:
#
999
;
color
:
#
999
;
text
-
align
:
center
;
text
-
align
:
center
;
padding
:
50
rpx
0
;
padding
:
toRpx
(
50
)
0
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
}
}
@
keyframes
opacity
-
0
-
1
{
@
keyframes
opacity
-
0
-
1
{
0
%
{
0
%
{
...
...
components/HomeFrame/components/CustomerInfo.vue
View file @
f12effb
...
@@ -366,27 +366,27 @@ export default {
...
@@ -366,27 +366,27 @@ export default {
z-index
:
9
;
z-index
:
9
;
.customer-info-box
{
.customer-info-box
{
position
:
absolute
;
position
:
absolute
;
top
:
80
rpx
;
top
:
toRpx
(
80
)
;
left
:
240
rpx
;
left
:
toRpx
(
240
)
;
width
:
2042
rpx
;
width
:
toRpx
(
2042
)
;
height
:
1376
rpx
;
height
:
toRpx
(
1376
)
;
background
:
#ffffff59
;
background
:
#ffffff59
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
backdrop-filter
:
blur
(
8
rpx
);
backdrop-filter
:
blur
(
toRpx
(
8
)
);
pointer-events
:
auto
;
pointer-events
:
auto
;
animation
:
show-info-box
0.25s
forwards
;
animation
:
show-info-box
0.25s
forwards
;
.nav-bar
{
.nav-bar
{
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
z-index
:
9
;
z-index
:
9
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
line-height
:
96
rpx
;
line-height
:
toRpx
(
96
)
;
position
:
relative
;
position
:
relative
;
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
.back
{
.back
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -400,44 +400,44 @@ export default {
...
@@ -400,44 +400,44 @@ export default {
}
}
.form-box
{
.form-box
{
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
32
rpx
40
rpx
;
padding
:
toRpx
(
32
)
toRpx
(
40
)
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.form-item
{
.form-item
{
width
:
934
rpx
;
width
:
toRpx
(
934
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
margin-bottom
:
48
rpx
;
margin-bottom
:
toRpx
(
48
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
.label
{
.label
{
width
:
192
rpx
;
width
:
toRpx
(
192
)
;
color
:
#292d33
;
color
:
#292d33
;
justify-content
:
center
;
justify-content
:
center
;
.required
{
.required
{
color
:
#f24724
;
color
:
#f24724
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
}
}
.input
,
.input
,
.select
{
.select
{
width
:
738
rpx
;
width
:
toRpx
(
738
)
;
height
:
76
rpx
;
height
:
toRpx
(
76
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
border
:
2
rpx
solid
transparent
!important
;
border
:
toRpx
(
2
)
solid
transparent
!important
;
outline
:
none
;
outline
:
none
;
color
:
#333333
;
color
:
#333333
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
line-height
:
76
rpx
;
line-height
:
toRpx
(
76
)
;
padding
:
0
32
rpx
!important
;
padding
:
0
toRpx
(
32
)
!important
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
&::placeholder
{
&::placeholder
{
color
:
#33333333
;
color
:
#33333333
;
}
}
.value
{
.value
{
max-width
:
598
rpx
;
max-width
:
toRpx
(
598
)
;
}
}
}
}
.placeholderStyle
{
.placeholderStyle
{
...
@@ -449,22 +449,22 @@ export default {
...
@@ -449,22 +449,22 @@ export default {
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.error
{
.error
{
border
:
2
rpx
solid
#f24724
!important
;
border
:
toRpx
(
2
)
solid
#f24724
!important
;
}
}
}
}
.btns
{
.btns
{
justify-content
:
center
;
justify-content
:
center
;
gap
:
0
34
rpx
;
gap
:
0
toRpx
(
34
)
;
.btn
{
.btn
{
width
:
718
rpx
;
width
:
toRpx
(
718
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background-image
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
background-image
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#ffffff
;
color
:
#ffffff
;
}
}
.cancel
{
.cancel
{
...
@@ -487,12 +487,12 @@ export default {
...
@@ -487,12 +487,12 @@ export default {
left
:
100%
;
left
:
100%
;
}
}
100
%
{
100
%
{
left
:
240
rpx
;
left
:
toRpx
(
240
)
;
}
}
}
}
@keyframes
back
{
@keyframes
back
{
0
%
{
0
%
{
left
:
240
rpx
;
left
:
toRpx
(
240
)
;
}
}
100
%
{
100
%
{
left
:
100%
;
left
:
100%
;
...
...
components/HomeFrame/components/KfBox.vue
View file @
f12effb
...
@@ -76,82 +76,82 @@ export default {
...
@@ -76,82 +76,82 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.kf-box
{
.kf-box
{
position
:
relative
;
position
:
relative
;
width
:
864
rpx
;
width
:
toRpx
(
864
)
;
height
:
478
rpx
;
height
:
toRpx
(
478
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.close
{
.close
{
position
:
absolute
;
position
:
absolute
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
120
rpx
;
height
:
toRpx
(
120
)
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.title
{
.title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
padding
:
46
rpx
0
;
padding
:
toRpx
(
46
)
0
;
.sprite-icon
{
.sprite-icon
{
margin-right
:
16
rpx
;
margin-right
:
toRpx
(
16
)
;
}
}
}
}
.info
{
.info
{
.name
{
.name
{
position
:
relative
;
position
:
relative
;
width
:
480
rpx
;
width
:
toRpx
(
480
)
;
font-weight
:
600
;
font-weight
:
600
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
align-items
:
baseline
;
align-items
:
baseline
;
padding-bottom
:
24
rpx
;
padding-bottom
:
toRpx
(
24
)
;
border-bottom
:
2
rpx
solid
#e6e6e6
;
border-bottom
:
toRpx
(
2
)
solid
#e6e6e6
;
.duty
{
.duty
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
margin-left
:
16
rpx
;
margin-left
:
toRpx
(
16
)
;
}
}
&
::after
{
&
::after
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
bottom
:
-2
rpx
;
bottom
:
toMinusRpx
(
2
)
;
width
:
280
rpx
;
width
:
toRpx
(
280
)
;
height
:
4
rpx
;
height
:
toRpx
(
4
)
;
background
:
#2c66f7
;
background
:
#2c66f7
;
content
:
""
;
content
:
""
;
}
}
}
}
.content
{
.content
{
padding
:
28
rpx
0
;
padding
:
toRpx
(
28
)
0
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
.tool
{
.tool
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
&-item
{
&-item
{
flex
:
50%
;
flex
:
50%
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#666666
;
color
:
#666666
;
margin-bottom
:
20
rpx
;
margin-bottom
:
toRpx
(
20
)
;
.sprite-icon
{
.sprite-icon
{
margin-right
:
8
rpx
;
margin-right
:
toRpx
(
8
)
;
}
}
}
}
}
}
}
}
.qr-box
{
.qr-box
{
margin-left
:
48
rpx
;
margin-left
:
toRpx
(
48
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
flex-direction
:
column
;
flex-direction
:
column
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
.qr
{
.qr
{
width
:
240
rpx
;
width
:
toRpx
(
240
)
;
height
:
240
rpx
;
height
:
toRpx
(
240
)
;
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
}
}
}
}
}
}
...
...
components/HomeFrame/components/LeftSide.vue
View file @
f12effb
...
@@ -6,27 +6,43 @@
...
@@ -6,27 +6,43 @@
</view>
</view>
<view
:class=
"['left-tabs',
{ three: tabs.length == 3 }]">
<view
:class=
"['left-tabs',
{ three: tabs.length == 3 }]">
<template
v-for=
"(i, index) in tabs"
>
<template
v-for=
"(i, index) in tabs"
>
<view
:class=
"['tab-item',
{ tabActive: tabIndex == index }]" :key="index" @click="changeIndex(index)">
<view
:class=
"['tab-item',
{ tabActive: tabIndex == index }]"
:key="index"
@click="changeIndex(index)"
>
<view
class=
"icon-box"
>
<view
class=
"icon-box"
>
<view
:class=
"['sprite-icon', `icon-$
{i.icon}${tabIndex == index ? '-active' : ''}`]">
</view>
<view
:class=
"['sprite-icon', `icon-$
{i.icon}${tabIndex == index ? '-active' : ''}`]">
</view>
</view>
</view>
{{
i
.
label
}}
{{
i
.
label
}}
<view
class=
"dot"
v-if=
"i.icon == 'record' && perRecordNumber"
></view>
<view
class=
"dot"
v-if=
"i.icon == 'record' && perRecordNumber"
></view>
</view>
</view>
</
template
>
</
template
>
</view>
</view>
<view
class=
"left-footer"
>
<view
class=
"left-footer"
>
<view
class=
"btn"
@
click=
"$refs.kfRef.open()"
>
<view
class=
"btn"
@
click=
"$refs.kfRef.open()"
>
<view
class=
"sprite-icon icon-feedback"
></view>
<view
class=
"sprite-icon icon-feedback"
></view>
</view>
</view>
<view
class=
"btn"
@
click=
"$refs.settingRef.open()"
>
<view
class=
"btn"
@
click=
"$refs.settingRef.open()"
>
<view
class=
"sprite-icon icon-setting"
></view>
<view
class=
"sprite-icon icon-setting"
></view>
</view>
</view>
</view>
</view>
<!-- 客服弹框 -->
<!-- 客服弹框 -->
<kf-box
ref=
"kfRef"
/>
<kf-box
ref=
"kfRef"
/>
<!-- 设置弹框 -->
<!-- 设置弹框 -->
<setting-box
ref=
"settingRef"
@
stopAudio=
"$emit('stopAudio')"
/>
<setting-box
ref=
"settingRef"
@
stopAudio=
"$emit('stopAudio')"
/>
</view>
</view>
</template>
</template>
...
@@ -36,9 +52,9 @@ import SettingBox from "./SettingBox";
...
@@ -36,9 +52,9 @@ import SettingBox from "./SettingBox";
import
{
STORAGE_OBJECTkEY
}
from
'@/utils/cache/constantData'
import
{
STORAGE_OBJECTkEY
}
from
'@/utils/cache/constantData'
export
default
{
export
default
{
components
:
{
KfBox
,
SettingBox
},
components
:
{
KfBox
,
SettingBox
},
props
:{
props
:
{
tabIndex
:
Number
,
tabIndex
:
Number
,
userInfo
:
Object
userInfo
:
Object
},
},
name
:
''
,
name
:
''
,
data
()
{
data
()
{
...
@@ -55,13 +71,13 @@ export default {
...
@@ -55,13 +71,13 @@ export default {
],
],
}
}
},
},
watch
:{
watch
:
{
userInfo
(
n
)
{
userInfo
(
n
)
{
if
(
n
.
shopMerchantId
)
this
.
haveCustomerAccess
(
n
.
shopMerchantId
)
if
(
n
.
shopMerchantId
)
this
.
haveCustomerAccess
(
n
.
shopMerchantId
)
}
}
},
},
computed
:
{
computed
:
{
perRecordNumber
()
{
perRecordNumber
()
{
return
this
.
$store
.
state
.
audio
.
perRecordNumber
return
this
.
$store
.
state
.
audio
.
perRecordNumber
}
}
},
},
...
@@ -70,7 +86,7 @@ export default {
...
@@ -70,7 +86,7 @@ export default {
methods
:
{
methods
:
{
changeIndex
(
index
)
{
changeIndex
(
index
)
{
if
(
this
.
tabIndex
==
index
)
return
;
if
(
this
.
tabIndex
==
index
)
return
;
this
.
$emit
(
'update:tabIndex'
,
index
)
this
.
$emit
(
'update:tabIndex'
,
index
)
this
.
$emit
(
"changeTab"
,
index
)
this
.
$emit
(
"changeTab"
,
index
)
},
},
async
haveCustomerAccess
(
merchantId
)
{
async
haveCustomerAccess
(
merchantId
)
{
...
@@ -93,21 +109,21 @@ export default {
...
@@ -93,21 +109,21 @@ export default {
flex-direction
:
column
;
flex-direction
:
column
;
position
:
relative
;
position
:
relative
;
.left-tabs
{
.left-tabs
{
width
:
240
rpx
;
width
:
toRpx
(
240
)
;
height
:
1080
rpx
;
height
:
toRpx
(
1080
)
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
//
align-items
:
center
;
//
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
16
rpx
0
;
padding
:
toRpx
(
16
)
0
;
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
left
:
0
;
left
:
0
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
margin
:
auto
;
margin
:
auto
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
32
rpx
;
padding-left
:
toRpx
(
32
)
;
&::after
{
&::after
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -120,24 +136,24 @@ export default {
...
@@ -120,24 +136,24 @@ export default {
z-index
:
-1
;
z-index
:
-1
;
}
}
.tab-item
{
.tab-item
{
width
:
112
rpx
;
width
:
toRpx
(
112
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#8a98b5
;
color
:
#8a98b5
;
text-align
:
center
;
text-align
:
center
;
padding-bottom
:
96
rpx
;
padding-bottom
:
toRpx
(
96
)
;
position
:
relative
;
position
:
relative
;
.dot
{
.dot
{
width
:
16
rpx
;
width
:
toRpx
(
16
)
;
height
:
16
rpx
;
height
:
toRpx
(
16
)
;
background
:
#f24724
;
background
:
#f24724
;
border-radius
:
50%
;
border-radius
:
50%
;
position
:
absolute
;
position
:
absolute
;
right
:
20
rpx
;
right
:
toRpx
(
20
)
;
top
:
20
rpx
;
top
:
toRpx
(
20
)
;
}
}
.icon-box
{
.icon-box
{
width
:
112
rpx
;
width
:
toRpx
(
112
)
;
height
:
112
rpx
;
height
:
toRpx
(
112
)
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
...
@@ -161,57 +177,57 @@ export default {
...
@@ -161,57 +177,57 @@ export default {
}
}
.three
{
.three
{
.tab-item
{
.tab-item
{
padding-bottom
:
64
rpx
;
padding-bottom
:
toRpx
(
64
)
;
}
}
}
}
.user-info
{
.user-info
{
width
:
240
rpx
;
width
:
toRpx
(
240
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
92
rpx
;
padding-top
:
toRpx
(
92
)
;
flex-direction
:
column
;
flex-direction
:
column
;
text-align
:
center
;
text-align
:
center
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
.account-change
{
.account-change
{
width
:
136
rpx
;
width
:
toRpx
(
136
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
background
:
#ffffff66
;
background
:
#ffffff66
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-size
:
20
rpx
;
font-size
:
toRpx
(
20
)
;
color
:
#9e9e9e
;
color
:
#9e9e9e
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
10
rpx
;
margin-top
:
toRpx
(
10
)
;
}
}
}
}
.user-avatar
{
.user-avatar
{
width
:
100
rpx
;
width
:
toRpx
(
100
)
;
height
:
100
rpx
;
height
:
toRpx
(
100
)
;
border
:
2
rpx
solid
#ffffff
;
border
:
toRpx
(
2
)
solid
#ffffff
;
box-shadow
:
0
4
rpx
8
rpx
0
#0000001
a
;
box-shadow
:
0
toRpx
(
4
)
toRpx
(
8
)
0
#0000001
a
;
border-radius
:
100%
;
border-radius
:
100%
;
}
}
.user-name
{
.user-name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#292d33
;
color
:
#292d33
;
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
}
}
.user-position
{
.user-position
{
font-size
:
20
rpx
;
font-size
:
toRpx
(
20
)
;
color
:
#9b9b9e
;
color
:
#9b9b9e
;
margin-top
:
8
rpx
;
margin-top
:
toRpx
(
8
)
;
}
}
.left-footer
{
.left-footer
{
margin-top
:
auto
;
margin-top
:
auto
;
padding
:
0
0
80
rpx
0
;
padding
:
0
0
toRpx
(
80
)
0
;
}
}
.btn
{
.btn
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin
:
48
rpx
auto
0
;
margin
:
toRpx
(
48
)
auto
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
60
rpx
;
padding-left
:
toRpx
(
60
)
;
}
}
}
}
</
style
>
</
style
>
components/HomeFrame/components/RecordList.vue
View file @
f12effb
<
template
>
<
template
>
<view
class=
"record-box"
>
<view
class=
"record-box"
>
<view
class=
"record-content"
v-if=
"showRecord"
>
<view
class=
"record-content"
v-if=
"showRecord"
>
<view
class=
"data-box"
>
<view
class=
"data-box"
>
<template
v-for=
"(i, index) in dataList"
>
<template
v-for=
"(i, index) in dataList"
>
<view
:class=
"['data-item', i.type]"
:key=
"index"
>
<view
<image
:src=
"i.icon"
class=
"data-item-bg"
/>
:class=
"['data-item', i.type]"
:key=
"index"
>
<image
:src=
"i.icon"
class=
"data-item-bg"
/>
<view
class=
"title"
>
{{
dateList
[
index
].
text
}}
</view>
<view
class=
"title"
>
{{
dateList
[
index
].
text
}}
</view>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"total"
>
<view
class=
"total"
>
...
@@ -28,35 +37,75 @@
...
@@ -28,35 +37,75 @@
</view>
</view>
<view
class=
"data-container"
>
<view
class=
"data-container"
>
<view
:class=
"['type-box']"
>
<view
:class=
"['type-box']"
>
<view
class=
"tab-item"
v-for=
"(i, index) in typeList"
:key=
"index"
@
click=
"changeType(index, 'firstIndex')"
>
<view
<view
class=
"sprite-icon"
:class=
"[firstIndex == index ? `icon-${firstClass[index]} active` : '']"
:style=
"{ left: firstLeft[index] }"
></view>
class=
"tab-item"
<view
class=
"text"
:class=
"[firstIndex == index ? `active` : '']"
>
v-for=
"(i, index) in typeList"
:key=
"index"
@
click=
"changeType(index, 'firstIndex')"
>
<view
class=
"sprite-icon"
:class=
"[firstIndex == index ? `icon-${firstClass[index]} active` : '',firstLeft[index]
]"
></view>
<view
class=
"text"
:class=
"[firstIndex == index ? `active` : '']"
>
{{ i.tabName }}
{{ i.tabName }}
<
template
v-if=
"index == 1 && i.num && recordFailList.length > 0"
>
(
{{
recordFailList
.
length
}}
)
</
template
>
<
template
v-if=
"index == 1 && i.num && recordFailList.length > 0"
>
(
{{
recordFailList
.
length
}}
)
</
template
>
<
template
v-if=
"index == 2 && i.num && preRecordFailList.length > 0"
>
(
{{
preRecordFailList
.
length
}}
)
</
template
>
<
template
v-if=
"index == 2 && i.num && preRecordFailList.length > 0"
>
(
{{
preRecordFailList
.
length
}}
)
</
template
>
<div
class=
"dot"
:style=
"{ right: '86rpx' }"
v-if=
"index == 2 && i.num && preRecordFailList.length > 0"
></div>
<div
class=
"dot"
v-if=
"index == 2 && i.num && preRecordFailList.length > 0"
></div>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"tabs-bottom"
></view>
<view
class=
"tabs-bottom"
></view>
<view
v-if=
"firstIndex == 0"
class=
"data-tabs-box"
>
<view
v-if=
"firstIndex == 0"
class=
"data-tabs-box"
>
<view
class=
"data-tabs"
>
<view
class=
"data-tabs"
>
<
template
v-for=
"(i, index) in dateList"
>
<
template
v-for=
"(i, index) in dateList"
>
<view
:class=
"['tab flex',
{ active: dateIndex == index }]" :key="index" @click="changeIndex(index)">
{{
i
.
text
}}
</view>
<view
:class=
"['tab flex',
{ active: dateIndex == index }]"
:key="index"
@click="changeIndex(index)"
>
{{
i
.
text
}}
</view>
</
template
>
</
template
>
<view
:class=
"['active-btn', `active-btn-${dateIndex}`]"
></view>
<view
:class=
"['active-btn', `active-btn-${dateIndex}`]"
></view>
</view>
</view>
</view>
</view>
<scroll-view
:class=
"['record-list', { 'type-1': firstIndex == 1 }]"
scroll-y
@
scrolltolower=
"pageonReachBottom"
@
scroll=
"scroll"
>
<scroll-view
<div
class=
"record-tips"
v-if=
"firstIndex == 2 && list.length && list[0] && list[0].length"
>
以下非正常结束的接待记录,需要进行信息确认后才能提交到系统。
</div>
:class=
"['record-list', { 'type-1': firstIndex == 1 }]"
scroll-y
@
scrolltolower=
"pageonReachBottom"
@
scroll=
"scroll"
>
<div
class=
"record-tips"
v-if=
"firstIndex == 2 && list.length && list[0] && list[0].length"
>
以下非正常结束的接待记录,需要进行信息确认后才能提交到系统。
</div>
<view
class=
"list"
>
<view
class=
"list"
>
<
template
v-if=
"flag"
>
<
template
v-if=
"flag"
>
<template
v-if=
"list.length && list[0] && list[0].length"
>
<template
v-if=
"list.length && list[0] && list[0].length"
>
<template
v-for=
"i in list"
>
<template
v-for=
"i in list"
>
<template
v-for=
"item in i"
>
<template
v-for=
"item in i"
>
<view
class=
"item"
:key=
"item.id"
@
click=
"jumpDetail(item)"
>
<view
<view
class=
"status flex disabled"
v-if=
"item.receptionStatus === '' || item.receptionStatus === undefined"
>
未知
</view>
class=
"item"
<view
:class=
"['status flex',
{ deal: item.receptionStatus == 1 }]" v-else>
:key=
"item.id"
@
click=
"jumpDetail(item)"
>
<view
class=
"status flex disabled"
v-if=
"item.receptionStatus === '' || item.receptionStatus === undefined"
>
未知
</view>
<view
:class=
"['status flex',
{ deal: item.receptionStatus == 1 }]"
v-else
>
{{
{{
{
{
1
:
'成交'
,
1
:
'成交'
,
...
@@ -69,7 +118,10 @@
...
@@ -69,7 +118,10 @@
<
/view
>
<
/view
>
<
view
class
=
"goods-name"
>
{{
item
.
carModel
?
item
.
carModel
:
'未选择车型'
}}
<
/view
>
<
view
class
=
"goods-name"
>
{{
item
.
carModel
?
item
.
carModel
:
'未选择车型'
}}
<
/view
>
<
template
v
-
for
=
"(k, ind) in itemObject"
>
<
template
v
-
for
=
"(k, ind) in itemObject"
>
<
view
class
=
"info flex"
:
key
=
"ind"
>
<
view
class
=
"info flex"
:
key
=
"ind"
>
<
view
class
=
"label"
>
{{
k
.
label
}}
<
/view
>
<
view
class
=
"label"
>
{{
k
.
label
}}
<
/view
>
<
view
class
=
"value"
>
{{
formatValue
(
item
[
k
.
key
],
k
.
key
)
||
'-'
}}
<
/view
>
<
view
class
=
"value"
>
{{
formatValue
(
item
[
k
.
key
],
k
.
key
)
||
'-'
}}
<
/view
>
<
/view
>
<
/view
>
...
@@ -80,7 +132,10 @@
...
@@ -80,7 +132,10 @@
<
/template
>
<
/template
>
<
template
v
-
else
>
<
template
v
-
else
>
<
view
class
=
"nothing flex"
>
<
view
class
=
"nothing flex"
>
<
image
class
=
"icon"
src
=
"../../../assets/images/home/nothing.webp"
/>
<
image
class
=
"icon"
src
=
"../../../assets/images/home/nothing.webp"
/>
暂无接待记录
暂无接待记录
<
/view
>
<
/view
>
<
/template
>
<
/template
>
...
@@ -92,7 +147,12 @@
...
@@ -92,7 +147,12 @@
<
/scroll-view
>
<
/scroll-view
>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
save
-
record
v
-
else
@
cancel
=
"handleCancel"
@
submit
=
"handleSubmit"
:
customerInfoVal
=
"customerInfo"
><
/save-record
>
<
save
-
record
v
-
else
@
cancel
=
"handleCancel"
@
submit
=
"handleSubmit"
:
customerInfoVal
=
"customerInfo"
><
/save-record
>
<
/view
>
<
/view
>
<
/template
>
<
/template
>
<
script
type
=
"text/ecmascript-6"
>
<
script
type
=
"text/ecmascript-6"
>
...
@@ -135,7 +195,7 @@ export default {
...
@@ -135,7 +195,7 @@ export default {
{
tabName
:
'待提交'
,
num
:
true
}
,
{
tabName
:
'待提交'
,
num
:
true
}
,
],
],
firstIndex
:
0
,
firstIndex
:
0
,
firstLeft
:
[
'
0rpx'
,
'352rpx'
,
'756rpx
'
],
firstLeft
:
[
'
first'
,
'second'
,
'three
'
],
firstClass
:
[
'first-nav'
,
'second-nav'
,
'second-nav'
],
firstClass
:
[
'first-nav'
,
'second-nav'
,
'second-nav'
],
dateList
:
[
dateList
:
[
{
text
:
'今日'
}
,
{
text
:
'今日'
}
,
...
@@ -149,10 +209,10 @@ export default {
...
@@ -149,10 +209,10 @@ export default {
{
label
:
'开始接待'
,
key
:
'startTime'
}
,
{
label
:
'开始接待'
,
key
:
'startTime'
}
,
{
label
:
'结束接待'
,
key
:
'endTime'
}
,
{
label
:
'结束接待'
,
key
:
'endTime'
}
,
],
],
showRecord
:
true
,
showRecord
:
true
,
recordFailList
:
[],
recordFailList
:
[],
preRecordFailList
:[],
preRecordFailList
:
[],
customerInfo
:{
}
,
customerInfo
:
{
}
,
dateIndex
:
0
,
dateIndex
:
0
,
pageNum
:
1
,
pageNum
:
1
,
total
:
0
,
total
:
0
,
...
@@ -169,17 +229,17 @@ export default {
...
@@ -169,17 +229,17 @@ export default {
this
.
getPreRecordNum
()
this
.
getPreRecordNum
()
}
,
}
,
methods
:
{
methods
:
{
formatValue
(
val
,
k
)
{
formatValue
(
val
,
k
)
{
if
(
!
val
)
return
if
(
!
val
)
return
if
(
k
==
'phoneNumber'
)
{
if
(
k
==
'phoneNumber'
)
{
return
val
.
slice
(
0
,
3
)
+
" "
+
val
.
slice
(
3
,
7
)
+
" "
+
val
.
slice
(
7
)
return
val
.
slice
(
0
,
3
)
+
" "
+
val
.
slice
(
3
,
7
)
+
" "
+
val
.
slice
(
7
)
}
}
return
val
return
val
}
,
}
,
handleCancel
()
{
handleCancel
()
{
this
.
showRecord
=
true
;
this
.
showRecord
=
true
;
}
,
}
,
async
handleSubmit
(
val
)
{
async
handleSubmit
(
val
)
{
this
.
showRecord
=
true
;
this
.
showRecord
=
true
;
uni
.
$recordManager
.
addRecord
(
val
)
uni
.
$recordManager
.
addRecord
(
val
)
uni
.
$logger
.
local
.
info
(
`添加记录${JSON.stringify(val)
}
`
)
uni
.
$logger
.
local
.
info
(
`添加记录${JSON.stringify(val)
}
`
)
...
@@ -187,9 +247,9 @@ export default {
...
@@ -187,9 +247,9 @@ export default {
this
.
getRecordNum
()
this
.
getRecordNum
()
this
.
getPreRecordFail
()
this
.
getPreRecordFail
()
}
,
}
,
jumpDetail
(
item
)
{
jumpDetail
(
item
)
{
console
.
log
(
this
.
firstIndex
,
'this.firstIndex'
)
console
.
log
(
this
.
firstIndex
,
'this.firstIndex'
)
if
(
this
.
firstIndex
!=
2
)
return
if
(
this
.
firstIndex
!=
2
)
return
this
.
showRecord
=
false
;
this
.
showRecord
=
false
;
this
.
customerInfo
=
item
this
.
customerInfo
=
item
}
,
}
,
...
@@ -234,19 +294,19 @@ export default {
...
@@ -234,19 +294,19 @@ export default {
console
.
log
(
recordFailList
);
console
.
log
(
recordFailList
);
this
.
recordFailList
=
recordFailList
.
reverse
();
this
.
recordFailList
=
recordFailList
.
reverse
();
}
,
}
,
getPreRecordFail
()
{
getPreRecordFail
()
{
this
.
getPreRecordNum
()
this
.
getPreRecordNum
()
this
.
list
[
0
]
=
this
.
preRecordFailList
.
map
(
i
=>
{
this
.
list
[
0
]
=
this
.
preRecordFailList
.
map
(
i
=>
{
return
Object
.
assign
(
i
,{
return
Object
.
assign
(
i
,
{
duration
:
0
,
duration
:
0
,
startTime
:
i
.
receptionStartTime
&&
i
.
receptionStartTime
.
replace
(
/
\/
/g
,
'.'
)
startTime
:
i
.
receptionStartTime
&&
i
.
receptionStartTime
.
replace
(
/
\/
/g
,
'.'
)
}
)
}
)
}
)
}
)
this
.
nothing
=
this
.
preRecordFailList
.
length
?
true
:
false
this
.
nothing
=
this
.
preRecordFailList
.
length
?
true
:
false
}
,
}
,
getPreRecordNum
()
{
getPreRecordNum
()
{
const
preRecordList
=
uni
.
$storage
.
get
(
STORAGE_OBJECTKEY
.
preRecordList
)
||
[]
const
preRecordList
=
uni
.
$storage
.
get
(
STORAGE_OBJECTKEY
.
preRecordList
)
||
[]
console
.
log
(
preRecordList
)
console
.
log
(
preRecordList
)
this
.
preRecordFailList
=
preRecordList
.
reverse
()
this
.
preRecordFailList
=
preRecordList
.
reverse
()
}
,
}
,
...
@@ -428,43 +488,54 @@ export default {
...
@@ -428,43 +488,54 @@ export default {
height
:
100
%
;
height
:
100
%
;
overflow
:
hidden
;
overflow
:
hidden
;
.
record
-
content
{
.
record
-
content
{
padding
:
96
rpx
0
;
padding
:
toRpx
(
96
)
0
;
.
data
-
container
{
.
data
-
container
{
background
:
#
ffffff
;
background
:
#
ffffff
;
border
-
radius
:
48
rpx
;
border
-
radius
:
toRpx
(
48
)
;
margin
-
top
:
48
rpx
;
margin
-
top
:
toRpx
(
48
)
;
height
:
1112
rpx
;
height
:
72.39
vh
;
margin
-
right
:
66
rpx
;
margin
-
right
:
toRpx
(
66
)
;
box
-
shadow
:
inset
0
0
16
rpx
0
#
ffffff
;
box
-
shadow
:
inset
0
0
toRpx
(
16
)
0
#
ffffff
;
border
:
2
rpx
solid
#
fff
;
border
:
toRpx
(
2
)
solid
#
fff
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
.
type
-
box
{
.
type
-
box
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
width
:
100
%
;
width
:
100
%
;
background
-
color
:
#
eef4fe
;
background
-
color
:
#
eef4fe
;
height
:
176
rpx
;
height
:
toRpx
(
176
)
;
line
-
height
:
128
rpx
;
line
-
height
:
toRpx
(
128
)
;
border
-
radius
:
48
rpx
48
rpx
0
0
;
border
-
radius
:
toRpx
(
48
)
toRpx
(
48
)
0
0
;
z
-
index
:
0
;
z
-
index
:
0
;
.
tab
-
item
{
.
tab
-
item
{
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
text
-
align
:
center
;
text
-
align
:
center
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
40
rpx
;
font
-
size
:
toRpx
(
40
)
;
color
:
#
1
f2133
;
color
:
#
1
f2133
;
.
first
{
left
:
0
;
}
.
second
{
left
:
toRpx
(
352
);
}
.
three
{
left
:
toRpx
(
756
);
}
.
text
{
.
text
{
position
:
relative
;
position
:
relative
;
text
-
align
:
center
;
text
-
align
:
center
;
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
.
dot
{
.
dot
{
width
:
16
rpx
;
width
:
toRpx
(
16
)
;
height
:
16
rpx
;
height
:
toRpx
(
16
)
;
background
:
#
f24724
;
background
:
#
f24724
;
position
:
absolute
;
position
:
absolute
;
top
:
40
rpx
;
top
:
toRpx
(
40
)
;
border
-
radius
:
50
%
;
border
-
radius
:
50
%
;
right
:
toRpx
(
86
);
}
}
}
}
.
active
{
.
active
{
...
@@ -472,7 +543,7 @@ export default {
...
@@ -472,7 +543,7 @@ export default {
top
:
0
;
top
:
0
;
z
-
index
:
-
1
;
z
-
index
:
-
1
;
font
-
weight
:
700
;
font
-
weight
:
700
;
font
-
size
:
40
rpx
;
font
-
size
:
toRpx
(
40
)
;
color
:
#
2
c66f7
;
color
:
#
2
c66f7
;
&
::
after
{
&
::
after
{
content
:
''
;
content
:
''
;
...
@@ -480,10 +551,10 @@ export default {
...
@@ -480,10 +551,10 @@ export default {
bottom
:
0
;
bottom
:
0
;
left
:
50
%
;
left
:
50
%
;
transform
:
translateX
(
-
50
%
);
transform
:
translateX
(
-
50
%
);
width
:
48
rpx
;
width
:
toRpx
(
48
)
;
height
:
8
rpx
;
height
:
toRpx
(
8
)
;
background
-
color
:
#
2
c66f7
;
background
-
color
:
#
2
c66f7
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
}
}
}
}
}
}
...
@@ -491,53 +562,53 @@ export default {
...
@@ -491,53 +562,53 @@ export default {
}
}
}
}
.
record
-
list
{
.
record
-
list
{
height
:
calc
(
100
%
-
248
rpx
);
height
:
calc
(
100
%
-
#
{
toRpx
(
248
)
}
);
position
:
relative
;
position
:
relative
;
z
-
index
:
4
;
z
-
index
:
4
;
}
}
.
type
-
1
{
.
type
-
1
{
height
:
calc
(
100
%
-
128
rpx
);
height
:
calc
(
100
%
-
#
{
toRpx
(
128
)
}
);
margin
-
top
:
-
48
rpx
;
margin
-
top
:
toMinusRpx
(
48
)
;
.
list
{
.
list
{
padding
-
top
:
48
rpx
;
padding
-
top
:
toRpx
(
48
)
;
}
}
}
}
.
record
-
tips
{
.
record
-
tips
{
height
:
76
rpx
;
height
:
toRpx
(
76
)
;
background
:
#
f58e341a
;
background
:
#
f58e341a
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
text
-
align
:
center
;
text
-
align
:
center
;
line
-
height
:
76
rpx
;
line
-
height
:
toRpx
(
76
)
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
f58e34
;
color
:
#
f58e34
;
margin
-
left
:
60
rpx
;
margin
-
left
:
toRpx
(
60
)
;
width
:
calc
(
100
%
-
120
rpx
);
width
:
calc
(
100
%
-
#
{
toRpx
(
120
)
}
);
}
}
.
list
{
.
list
{
display
:
flex
;
display
:
flex
;
flex
-
wrap
:
wrap
;
flex
-
wrap
:
wrap
;
gap
:
40
rpx
44
rpx
;
gap
:
toRpx
(
40
)
toRpx
(
44
)
;
padding
:
40
rpx
0
20
rpx
64
rpx
;
padding
:
toRpx
(
40
)
0
toRpx
(
20
)
toRpx
(
64
)
;
.
item
{
.
item
{
width
:
608
rpx
;
width
:
toRpx
(
608
)
;
background
:
#
ffffff
;
background
:
#
ffffff
;
box
-
sizing
:
border
-
box
;
box
-
sizing
:
border
-
box
;
padding
:
24
rpx
32
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
32
)
;
position
:
relative
;
position
:
relative
;
box
-
shadow
:
0
8
rpx
24
rpx
0
#
2
c66f71a
;
box
-
shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#
2
c66f71a
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
.
status
{
.
status
{
position
:
absolute
;
position
:
absolute
;
top
:
24
rpx
;
top
:
toRpx
(
24
)
;
right
:
32
rpx
;
right
:
toRpx
(
32
)
;
width
:
88
rpx
;
width
:
toRpx
(
88
)
;
height
:
44
rpx
;
height
:
toRpx
(
44
)
;
background
:
#
fdece9
;
background
:
#
fdece9
;
color
:
#
f24724
;
color
:
#
f24724
;
border
-
radius
:
4
rpx
;
border
-
radius
:
toRpx
(
4
)
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
justify
-
content
:
center
;
justify
-
content
:
center
;
&
.
disabled
{
&
.
disabled
{
background
:
#
f2f2f2
;
background
:
#
f2f2f2
;
...
@@ -550,7 +621,7 @@ export default {
...
@@ -550,7 +621,7 @@ export default {
}
}
.
name
{
.
name
{
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
32
rpx
;
font
-
size
:
toRpx
(
32
)
;
color
:
#
292
d33
;
color
:
#
292
d33
;
white
-
space
:
nowrap
;
white
-
space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -559,13 +630,13 @@ export default {
...
@@ -559,13 +630,13 @@ export default {
}
}
.
goods
-
name
{
.
goods
-
name
{
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
32
rpx
;
font
-
size
:
toRpx
(
32
)
;
color
:
#
2
c66f7
;
color
:
#
2
c66f7
;
margin
-
top
:
16
rpx
;
margin
-
top
:
toRpx
(
16
)
;
}
}
.
info
{
.
info
{
margin
-
top
:
16
rpx
;
margin
-
top
:
toRpx
(
16
)
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
color
:
#
999
ea8
;
color
:
#
999
ea8
;
.
value
{
.
value
{
margin
-
left
:
auto
;
margin
-
left
:
auto
;
...
@@ -577,21 +648,21 @@ export default {
...
@@ -577,21 +648,21 @@ export default {
}
}
.
data
-
box
{
.
data
-
box
{
display
:
flex
;
display
:
flex
;
gap
:
0
60
rpx
;
gap
:
0
toRpx
(
60
)
;
// justify-content: space-between;
// justify-content: space-between;
.
data
-
item
{
.
data
-
item
{
width
:
640
rpx
;
width
:
toRpx
(
640
)
;
height
:
200
rpx
;
height
:
toRpx
(
200
)
;
position
:
relative
;
position
:
relative
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
.
title
{
.
title
{
position
:
absolute
;
position
:
absolute
;
left
:
28
rpx
;
left
:
toRpx
(
28
)
;
top
:
8
rpx
;
top
:
toRpx
(
8
)
;
z
-
index
:
5
;
z
-
index
:
5
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
color
:
#
ffffff
;
color
:
#
ffffff
;
}
}
&
::
after
{
&
::
after
{
...
@@ -600,7 +671,7 @@ export default {
...
@@ -600,7 +671,7 @@ export default {
left
:
0
;
left
:
0
;
width
:
100
%
;
width
:
100
%
;
height
:
100
%
;
height
:
100
%
;
border
-
radius
:
32
rpx
;
border
-
radius
:
toRpx
(
32
)
;
content
:
''
;
content
:
''
;
z
-
index
:
-
1
;
z
-
index
:
-
1
;
}
}
...
@@ -621,26 +692,26 @@ export default {
...
@@ -621,26 +692,26 @@ export default {
align
-
items
:
center
;
align
-
items
:
center
;
.
total
,
.
total
,
.
duration
{
.
duration
{
padding
-
top
:
10
rpx
;
padding
-
top
:
toRpx
(
10
)
;
flex
:
1
;
flex
:
1
;
.
label
{
.
label
{
margin
-
bottom
:
16
rpx
;
margin
-
bottom
:
toRpx
(
16
)
;
}
}
.
num
-
box
{
.
num
-
box
{
.
num
{
.
num
{
font
-
family
:
'number-700'
;
font
-
family
:
'number-700'
;
font
-
size
:
48
rpx
;
font
-
size
:
toRpx
(
48
)
;
font
-
weight
:
700
;
font
-
weight
:
700
;
margin
:
0
4
rpx
;
margin
:
0
toRpx
(
4
)
;
}
}
.
unit
{
.
unit
{
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
}
}
}
}
}
}
.
total
{
.
total
{
padding
-
left
:
96
rpx
;
padding
-
left
:
toRpx
(
96
)
;
}
}
.
duration
{
.
duration
{
.
num
-
box
{
.
num
-
box
{
...
@@ -653,45 +724,45 @@ export default {
...
@@ -653,45 +724,45 @@ export default {
.
day
{
.
day
{
color
:
#
3
b73ff
;
color
:
#
3
b73ff
;
&
::
after
{
&
::
after
{
box
-
shadow
:
0
12
rpx
24
rpx
0
#
3
b73ff26
;
box
-
shadow
:
0
toRpx
(
12
)
toRpx
(
24
)
0
#
3
b73ff26
;
}
}
}
}
.
week
{
.
week
{
color
:
#
7
c5afd
;
color
:
#
7
c5afd
;
&
::
after
{
&
::
after
{
box
-
shadow
:
0
12
rpx
24
rpx
0
#
8258
ff26
;
box
-
shadow
:
0
toRpx
(
12
)
toRpx
(
24
)
0
#
8258
ff26
;
}
}
}
}
.
month
{
.
month
{
color
:
#
ff8e43
;
color
:
#
ff8e43
;
&
::
after
{
&
::
after
{
box
-
shadow
:
0
12
rpx
24
rpx
0
#
ff8e4326
;
box
-
shadow
:
0
toRpx
(
12
)
toRpx
(
24
)
0
#
ff8e4326
;
}
}
}
}
}
}
.
tabs
-
bottom
{
.
tabs
-
bottom
{
background
:
#
fff
;
background
:
#
fff
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
position
:
relative
;
position
:
relative
;
z
-
index
:
3
;
z
-
index
:
3
;
border
-
radius
:
24
px
24
px
0
0
;
border
-
radius
:
24
px
24
px
0
0
;
position
:
absolute
;
position
:
absolute
;
width
:
100
%
;
width
:
100
%
;
top
:
128
rpx
;
top
:
toRpx
(
128
)
;
}
}
.
data
-
tabs
-
box
{
.
data
-
tabs
-
box
{
position
:
relative
;
position
:
relative
;
top
:
0
;
top
:
0
;
z
-
index
:
3
;
z
-
index
:
3
;
margin
-
top
:
-
8
rpx
;
margin
-
top
:
toMinusRpx
(
8
)
;
.
data
-
tabs
{
.
data
-
tabs
{
display
:
flex
;
display
:
flex
;
justify
-
content
:
space
-
between
;
justify
-
content
:
space
-
between
;
width
:
552
rpx
;
width
:
toRpx
(
552
)
;
height
:
76
rpx
;
height
:
toRpx
(
76
)
;
background
-
color
:
#
f2f2f2
;
background
-
color
:
#
f2f2f2
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
margin
-
left
:
60
rpx
;
margin
-
left
:
toRpx
(
60
)
;
position
:
relative
;
position
:
relative
;
&
::
after
{
&
::
after
{
position
:
absolute
;
position
:
absolute
;
...
@@ -704,11 +775,11 @@ export default {
...
@@ -704,11 +775,11 @@ export default {
content
:
''
;
content
:
''
;
}
}
.
tab
{
.
tab
{
width
:
184
rpx
;
width
:
toRpx
(
184
)
;
height
:
76
rpx
;
height
:
toRpx
(
76
)
;
justify
-
content
:
center
;
justify
-
content
:
center
;
font
-
weight
:
500
;
font
-
weight
:
500
;
font
-
size
:
32
rpx
;
font
-
size
:
toRpx
(
32
)
;
color
:
#
1
f2133
;
color
:
#
1
f2133
;
z
-
index
:
10
;
z
-
index
:
10
;
}
}
...
@@ -716,21 +787,21 @@ export default {
...
@@ -716,21 +787,21 @@ export default {
}
}
.
active
-
btn
{
.
active
-
btn
{
position
:
absolute
;
position
:
absolute
;
width
:
180
rpx
;
width
:
toRpx
(
180
)
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
background
:
#
ffffff
;
background
:
#
ffffff
;
top
:
4
rpx
;
top
:
toRpx
(
4
)
;
transition
:
all
0.15
s
;
transition
:
all
0.15
s
;
border
-
radius
:
16
rpx
;
border
-
radius
:
toRpx
(
16
)
;
}
}
.
active
-
btn
-
0
{
.
active
-
btn
-
0
{
left
:
4
rpx
;
left
:
toRpx
(
4
)
;
}
}
.
active
-
btn
-
1
{
.
active
-
btn
-
1
{
left
:
184
rpx
;
left
:
toRpx
(
184
)
;
}
}
.
active
-
btn
-
2
{
.
active
-
btn
-
2
{
left
:
368
rpx
;
left
:
toRpx
(
368
)
;
}
}
}
}
}
}
...
@@ -738,34 +809,34 @@ export default {
...
@@ -738,34 +809,34 @@ export default {
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
background
-
image
:
url
(
'../../../assets/images/home/tab-bg.webp'
);
background
-
image
:
url
(
'../../../assets/images/home/tab-bg.webp'
);
background
-
size
:
100
%
240
rpx
;
background
-
size
:
100
%
toRpx
(
240
)
;
background
-
attachment
:
fixed
!
important
;
background
-
attachment
:
fixed
!
important
;
padding
:
80
rpx
0
90
rpx
;
padding
:
toRpx
(
80
)
0
toRpx
(
90
)
;
}
}
.
nothing
{
.
nothing
{
width
:
100
%
;
width
:
100
%
;
flex
-
direction
:
column
;
flex
-
direction
:
column
;
margin
-
top
:
112
rpx
;
margin
-
top
:
toRpx
(
112
)
;
font
-
size
:
28
rpx
;
font
-
size
:
toRpx
(
28
)
;
color
:
#
999999
;
color
:
#
999999
;
.
icon
{
.
icon
{
width
:
676
rpx
;
width
:
toRpx
(
678
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin
-
bottom
:
24
rpx
;
margin
-
bottom
:
toRpx
(
24
)
;
}
}
}
}
.
end
-
text
{
.
end
-
text
{
color
:
#
999
;
color
:
#
999
;
text
-
align
:
center
;
text
-
align
:
center
;
padding
:
50
rpx
0
;
padding
:
toRpx
(
50
)
0
;
font
-
size
:
24
rpx
;
font
-
size
:
toRpx
(
24
)
;
}
}
.
bottom
-
mask
{
.
bottom
-
mask
{
position
:
fixed
;
position
:
fixed
;
left
:
220
rpx
;
left
:
toRpx
(
220
)
;
bottom
:
0
;
bottom
:
0
;
width
:
calc
(
100
vw
-
220
rpx
);
width
:
calc
(
100
vw
-
#
{
toRpx
(
220
)
}
);
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
-
image
:
linear
-
gradient
(
180
deg
,
#
e9f1fe00
0
%
,
#
e9f1fe
50
%
,
#
e9f1fe
100
%
);
background
-
image
:
linear
-
gradient
(
180
deg
,
#
e9f1fe00
0
%
,
#
e9f1fe
50
%
,
#
e9f1fe
100
%
);
}
}
<
/style
>
<
/style
>
components/HomeFrame/components/SettingBox.vue
View file @
f12effb
...
@@ -156,10 +156,10 @@ export default {
...
@@ -156,10 +156,10 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.setting-box
{
.setting-box
{
position
:
relative
;
position
:
relative
;
width
:
720
rpx
;
width
:
toRpx
(
720
)
;
height
:
880
rpx
;
height
:
toRpx
(
880
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -168,8 +168,8 @@ export default {
...
@@ -168,8 +168,8 @@ export default {
.close
{
.close
{
position
:
absolute
;
position
:
absolute
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
120
rpx
;
height
:
toRpx
(
120
)
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -177,75 +177,75 @@ export default {
...
@@ -177,75 +177,75 @@ export default {
.app-info
{
.app-info
{
flex-direction
:
column
;
flex-direction
:
column
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
.sprite-icon
{
.sprite-icon
{
margin-bottom
:
12
rpx
;
margin-bottom
:
toRpx
(
12
)
;
box-shadow
:
0
0
24
rpx
0
#3682ef33
;
box-shadow
:
0
0
toRpx
(
24
)
0
#3682ef33
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
}
}
.version
{
.version
{
margin-top
:
8
rpx
;
margin-top
:
toRpx
(
8
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
}
}
.check-box
{
.check-box
{
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
padding
:
10
rpx
0
rpx
4
rpx
;
padding
:
toRpx
(
10
)
0
toRpx
(
4
)
;
background
:
#f2f2f2
;
background
:
#f2f2f2
;
border-radius
:
6
rpx
;
border-radius
:
toRpx
(
6
)
;
font-size
:
22
rpx
;
font-size
:
toRpx
(
22
)
;
color
:
#999999
;
color
:
#999999
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
}
}
.btn-box
{
.btn-box
{
margin-top
:
120
rpx
;
margin-top
:
toRpx
(
120
)
;
.btn
{
.btn
{
width
:
384
rpx
;
width
:
toRpx
(
384
)
;
height
:
64
rpx
;
height
:
toRpx
(
64
)
;
background
:
#3b73ff1
a
;
background
:
#3b73ff1
a
;
border
:
2
rpx
solid
transparent
;
border
:
toRpx
(
2
)
solid
transparent
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
justify-content
:
center
;
justify-content
:
center
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#3b73ff
;
color
:
#3b73ff
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
}
}
.logout
{
.logout
{
background
:
#ffffff
;
background
:
#ffffff
;
color
:
#333333
;
color
:
#333333
;
border
:
2
rpx
solid
#e8e8e8
;
border
:
toRpx
(
2
)
solid
#e8e8e8
;
}
}
}
}
.a
{
.a
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#2c66f7
;
color
:
#2c66f7
;
margin
:
48
rpx
0
16
rpx
;
margin
:
toRpx
(
48
)
0
toRpx
(
16
)
;
}
}
.icp
{
.icp
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
}
}
.app-code
{
.app-code
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.icon-clone
{
.icon-clone
{
width
:
24
rpx
;
width
:
toRpx
(
24
)
;
height
:
24
rpx
;
height
:
toRpx
(
24
)
;
}
}
}
}
}
}
...
...
components/HomeFrame/components/saveRecord.vue
View file @
f12effb
...
@@ -182,36 +182,36 @@ export default {
...
@@ -182,36 +182,36 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.error-tip
{
.error-tip
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
padding
:
32
rpx
60
rpx
24
rpx
;
padding
:
toRpx
(
32
)
toRpx
(
60
)
toRpx
(
24
)
;
margin-top
:
100
rpx
;
margin-top
:
toRpx
(
100
)
;
margin-bottom
:
-80
rpx
;
margin-bottom
:
toMinusRpx
(
80
)
;
text-align
:
center
;
text-align
:
center
;
background-color
:
rgb
(
254
,
237
,
234
);
background-color
:
rgb
(
254
,
237
,
234
);
color
:
#f45c3d
;
color
:
#f45c3d
;
}
}
.data-container
{
.data-container
{
background
:
#ffffff59
;
background
:
#ffffff59
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
margin
:
80
rpx
66
rpx
80
rpx
0
;
margin
:
toRpx
(
80
)
toRpx
(
66
)
toRpx
(
80
)
0
;
height
:
calc
(
100%
-
160
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
160
)}
);
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border
:
2
rpx
solid
#fff
;
border
:
toRpx
(
2
)
solid
#fff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
.nav-bar
{
.nav-bar
{
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
28
rpx
;
top
:
toRpx
(
28
)
;
z-index
:
9
;
z-index
:
9
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
line-height
:
96
rpx
;
line-height
:
toRpx
(
96
)
;
.back
{
.back
{
position
:
absolute
;
position
:
absolute
;
...
@@ -228,25 +228,25 @@ export default {
...
@@ -228,25 +228,25 @@ export default {
.form
{
.form
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
80
rpx
160
rpx
;
gap
:
toRpx
(
80
)
toRpx
(
160
)
;
padding
:
80
rpx
;
padding
:
toRpx
(
80
)
;
margin-top
:
60
rpx
;
margin-top
:
toRpx
(
60
)
;
&-item
{
&-item
{
width
:
calc
(
50%
-
80
rpx
);
width
:
calc
(
50%
-
#{
toRpx
(
80
)}
);
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
color
:
#6c6c70
;
color
:
#6c6c70
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.label
{
.label
{
position
:
relative
;
position
:
relative
;
margin-left
:
auto
;
margin-left
:
auto
;
flex-shrink
:
0
;
flex-shrink
:
0
;
width
:
124
rpx
;
width
:
toRpx
(
124
)
;
margin-right
:
30
rpx
;
margin-right
:
toRpx
(
30
)
;
}
}
.required
{
.required
{
...
@@ -254,25 +254,25 @@ export default {
...
@@ -254,25 +254,25 @@ export default {
content
:
'*'
;
content
:
'*'
;
color
:
#ff0000
;
color
:
#ff0000
;
position
:
absolute
;
position
:
absolute
;
left
:
-20
rpx
;
left
:
toMinusRpx
(
20
)
;
top
:
50%
;
top
:
50%
;
transform
:
translate
(
0
,
-50%
);
transform
:
translate
(
0
,
-50%
);
}
}
}
}
.value
{
.value
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
flex
:
1
;
flex
:
1
;
border
:
2
rpx
solid
#e8e8ea
;
border
:
toRpx
(
2
)
solid
#e8e8ea
;
background
:
#ffffff
;
background
:
#ffffff
;
margin-left
:
32
rpx
;
margin-left
:
toRpx
(
32
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
40
rpx
;
padding
:
0
toRpx
(
40
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.error
{
&.error
{
border
:
2
rpx
solid
#f24724
;
border
:
toRpx
(
2
)
solid
#f24724
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
}
}
.input
,
.input
,
...
@@ -282,7 +282,7 @@ export default {
...
@@ -282,7 +282,7 @@ export default {
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
;
outline
:
none
;
padding
:
0
!important
;
padding
:
0
!important
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#333
;
color
:
#333
;
&::placeholder
{
&::placeholder
{
...
@@ -301,44 +301,30 @@ export default {
...
@@ -301,44 +301,30 @@ export default {
}
}
}
}
}
}
//
.active
{
//
&::after
{
//
position
:
absolute
;
//
left
:
-2
rpx
;
//
top
:
-2
rpx
;
//
width
:
calc
(
100%
+
4
rpx
);
//
height
:
calc
(
100%
+
4
rpx
);
//
content
:
''
;
//
background-image
:
linear-gradient
(
#2f6af7
,
#75bcff
);
//
box-shadow
:
0
0
0
8
rpx
#2c66f71
a
;
//
border-radius
:
16
rpx
;
//
}
//
}
}
}
.footer-box
{
.footer-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
gap
:
34
rpx
;
gap
:
toRpx
(
34
)
;
padding
:
0
280
rpx
;
padding
:
0
toRpx
(
280
)
;
.cancel-btn
{
.cancel-btn
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#dae9ff
;
background
:
#dae9ff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
text-align
:
center
;
text-align
:
center
;
color
:
#2c66f7
;
color
:
#2c66f7
;
flex
:
1
;
flex
:
1
;
}
}
.submit-btn
{
.submit-btn
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background-image
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
background-image
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
text-align
:
center
;
text-align
:
center
;
flex
:
1
;
flex
:
1
;
color
:
#ffffff
;
color
:
#ffffff
;
...
@@ -347,26 +333,26 @@ export default {
...
@@ -347,26 +333,26 @@ export default {
}
}
.select-box
{
.select-box
{
margin
:
40
rpx
0
;
margin
:
toRpx
(
40
)
0
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
grid-template-columns
:
repeat
(
3
,
1
fr
);
gap
:
20
rpx
;
gap
:
toRpx
(
20
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
50vh
;
max-height
:
50vh
;
padding-bottom
:
60
rpx
;
padding-bottom
:
toRpx
(
60
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
line-height
:
68
rpx
;
line-height
:
toRpx
(
68
)
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#292d33
;
color
:
#292d33
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.checked
{
&.checked
{
border
:
2
rpx
solid
#292d33
;
border
:
toRpx
(
2
)
solid
#292d33
;
}
}
}
}
}
}
...
...
components/HomeFrame/index.vue
View file @
f12effb
<
template
>
<
template
>
<view
class=
"container"
@
click=
"handleTouchStart"
>
<view
class=
"container"
@
click=
"handleTouchStart"
>
<view
:class=
"['home',
{ show: !id }]">
<view
:class=
"['home',
{ show: !id }]">
<left-side
:userInfo=
"userInfo"
:tabIndex
.
sync=
"tabIndex"
@
changeTab=
"$emit('changeTab', $event)"
@
stopAudio=
"stopAudio"
/>
<left-side
:userInfo=
"userInfo"
:tabIndex
.
sync=
"tabIndex"
@
changeTab=
"$emit('changeTab', $event)"
@
stopAudio=
"stopAudio"
/>
<view
class=
"right-side"
>
<view
class=
"right-side"
>
<template
v-if=
"tabIndex == 0"
>
<template
v-if=
"tabIndex == 0"
>
<view
class=
"right-content"
>
<view
class=
"right-content"
>
<view
class=
"start"
@
click=
"$emit('start')"
>
<view
<image
class=
"start-btn"
src=
"../../assets/images/home/start.gif"
alt=
"开始接待"
/>
class=
"start"
<image
class=
"start-border"
src=
"../../assets/images/home/start-border.png"
/>
@
click=
"$emit('start')"
>
<image
class=
"start-btn"
src=
"../../assets/images/home/start.gif"
alt=
"开始接待"
/>
<image
class=
"start-border"
src=
"../../assets/images/home/start-border.png"
/>
</view>
</view>
<view
class=
"module-list"
>
<view
class=
"module-list"
>
<slot
name=
"module"
/>
<slot
name=
"module"
/>
...
@@ -15,7 +33,10 @@
...
@@ -15,7 +33,10 @@
</view>
</view>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<component
:is=
"componentName"
:userInfo=
"userInfo"
/>
<component
:is=
"componentName"
:userInfo=
"userInfo"
/>
</
template
>
</
template
>
<view
class=
"store-addr"
>
<view
class=
"store-addr"
>
<view
class=
"icon-addr sprite-icon icon-addr"
></view>
<view
class=
"icon-addr sprite-icon icon-addr"
></view>
...
@@ -27,13 +48,36 @@
...
@@ -27,13 +48,36 @@
<slot
name=
"detail"
/>
<slot
name=
"detail"
/>
</view>
</view>
<!-- 未点击开始接待,弹窗 -->
<!-- 未点击开始接待,弹窗 -->
<MessageBox
ref=
"previewRef"
@
confirm=
"$emit('preview')"
:popupW=
"704"
content=
"直接点击素材可进行预览,若面向车主展示,请点击「开始接待」"
confirmBtnText=
"预览素材"
@
cancel=
"$emit('previewCancel')"
@
close=
"$emit('previewClose')"
></MessageBox>
<MessageBox
ref=
"previewRef"
@
confirm=
"$emit('preview')"
:popupW=
"704"
content=
"直接点击素材可进行预览,若面向车主展示,请点击「开始接待」"
confirmBtnText=
"预览素材"
@
cancel=
"$emit('previewCancel')"
@
close=
"$emit('previewClose')"
></MessageBox>
<!-- 停留弹框 -->
<!-- 停留弹框 -->
<MessageBox
ref=
"tipBox"
@
cancel=
"tipCancel"
@
confirm=
"tipConfirm"
content=
"系统检测到您在当前页面停留较久,是否仍在客户接待中?"
cancelBtnText=
"否"
confirmBtnText=
"是"
></MessageBox>
<MessageBox
ref=
"tipBox"
@
cancel=
"tipCancel"
@
confirm=
"tipConfirm"
content=
"系统检测到您在当前页面停留较久,是否仍在客户接待中?"
cancelBtnText=
"否"
confirmBtnText=
"是"
></MessageBox>
<!-- 退出弹框 -->
<!-- 退出弹框 -->
<MessageBox
:popupW=
"704"
ref=
"finish"
:content=
"finishContene"
:isFooter=
"false"
>
<MessageBox
:popupW=
"704"
ref=
"finish"
:content=
"finishContene"
:isFooter=
"false"
>
<view
class=
"footer"
>
<view
class=
"footer"
>
<view
class=
"footer-btn confirm flex"
@
click=
"$emit('openStep')"
>
<view
class=
"footer-btn confirm flex"
@
click=
"$emit('openStep')"
>
<
template
v-if=
"finishDoneText"
>
<
template
v-if=
"finishDoneText"
>
{{
finishDoneText
}}
{{
finishDoneText
}}
</
template
>
</
template
>
...
@@ -42,7 +86,10 @@
...
@@ -42,7 +86,10 @@
<text>
(推荐)
</text>
<text>
(推荐)
</text>
</
template
>
</
template
>
</view>
</view>
<view
class=
"footer-btn cancel flex"
@
click=
"$emit('backHome')"
>
<view
class=
"footer-btn cancel flex"
@
click=
"$emit('backHome')"
>
仍要退出
仍要退出
<text>
(不推荐)
</text>
<text>
(不推荐)
</text>
</view>
</view>
...
@@ -51,7 +98,11 @@
...
@@ -51,7 +98,11 @@
<!-- 升级弹框 -->
<!-- 升级弹框 -->
<update-box
/>
<update-box
/>
<slot
name=
"content"
/>
<slot
name=
"content"
/>
<web-view
@
message=
"handlerMessage"
ref=
"webview"
src=
"/hybrid/html/index.html"
></web-view>
<web-view
@
message=
"handlerMessage"
ref=
"webview"
src=
"/hybrid/html/index.html"
></web-view>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
...
@@ -71,25 +122,25 @@ export default {
...
@@ -71,25 +122,25 @@ export default {
default
:
'当前操作视为强制退出接待,若需正常流程完成接待请点击「完成接待」'
default
:
'当前操作视为强制退出接待,若需正常流程完成接待请点击「完成接待」'
}
}
},
},
data
()
{
data
()
{
return
{
return
{
userInfo
:
{},
userInfo
:
{},
tabIndex
:
0
tabIndex
:
0
}
}
},
},
mounted
()
{
mounted
()
{
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
this
.
userInfo
=
userInfo
this
.
userInfo
=
userInfo
},
},
computed
:
{
computed
:
{
previewRef
()
{
previewRef
()
{
return
this
.
$refs
.
previewRef
return
this
.
$refs
.
previewRef
},
},
finishRef
()
{
finishRef
()
{
return
this
.
$refs
.
finish
return
this
.
$refs
.
finish
},
},
componentName
()
{
componentName
()
{
if
(
this
.
tabIndex
==
0
)
return
'HomeSlot'
if
(
this
.
tabIndex
==
0
)
return
'HomeSlot'
else
if
(
this
.
tabIndex
==
1
)
return
'RecordList'
else
if
(
this
.
tabIndex
==
1
)
return
'RecordList'
else
return
'CustomerFile'
else
return
'CustomerFile'
...
@@ -145,11 +196,12 @@ export default {
...
@@ -145,11 +196,12 @@ export default {
flex
:
1
;
flex
:
1
;
position
:
relative
;
position
:
relative
;
.right-content
{
.right-content
{
padding-top
:
92
rpx
;
padding-top
:
toRpx
(
92
)
;
height
:
100vh
;
height
:
100vh
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
animation
:
show-box
0.15s
forwards
;
animation
:
show-box
0.15s
forwards
;
overflow
:
hidden
;
}
}
@keyframes
show-box
{
@keyframes
show-box
{
0
%
{
0
%
{
...
@@ -161,13 +213,8 @@ export default {
...
@@ -161,13 +213,8 @@ export default {
}
}
.start
{
.start
{
&-btn
{
&-btn
{
position
:
absolute
;
width
:
100%
;
width
:
calc
(
100%
-
64
rpx
);
height
:
100%
;
height
:
calc
(
100%
-
64
rpx
);
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
vertical-align
:
top
;
}
}
&
-border
{
&
-border
{
position
:
absolute
;
position
:
absolute
;
...
@@ -177,43 +224,44 @@ export default {
...
@@ -177,43 +224,44 @@ export default {
top
:
0
;
top
:
0
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
width
:
calc
(
100
%
-
64rpx
);
height
:
toRpx
(
336
);
height
:
336rp
x
;
box-sizing
:
border-bo
x
;
margin-right
:
toRpx
(
64
);
position
:
relative
;
position
:
relative
;
padding
:
toRpx
(
32
);
}
}
.module-list
{
.module-list
{
height
:
calc
(
100%
-
336
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
336
)}
);
}
}
.store-addr
{
.store-addr
{
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
bottom
:
24
rpx
;
bottom
:
toRpx
(
24
)
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
38
rpx
;
margin-top
:
toRpx
(
38
)
;
.icon-addr
{
.icon-addr
{
width
:
32
rpx
;
width
:
toRpx
(
32
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.addr-text
{
.addr-text
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
white-space
:
normal
;
white-space
:
normal
;
line-height
:
32
rpx
;
line-height
:
toRpx
(
32
)
;
margin-left
:
4
rpx
;
margin-left
:
toRpx
(
4
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
&
::before
,
&
::before
,
&
::after
{
&
::after
{
content
:
''
;
content
:
''
;
width
:
600
rpx
;
width
:
toRpx
(
600
)
;
height
:
2
rpx
;
height
:
toRpx
(
2
)
;
margin
:
0
40
rpx
;
margin
:
0
toRpx
(
40
)
;
}
}
&
::before
{
&
::before
{
background-image
:
linear-gradient
(
270deg
,
#eeeeee
0%
,
#d8d8d800
100%
);
background-image
:
linear-gradient
(
270deg
,
#eeeeee
0%
,
#d8d8d800
100%
);
...
@@ -224,30 +272,30 @@ export default {
...
@@ -224,30 +272,30 @@ export default {
}
}
}
}
.footer
{
.footer
{
border-top
:
2
rpx
solid
#eff0f2
;
border-top
:
toRpx
(
2
)
solid
#eff0f2
;
font-weight
:
600
;
font-weight
:
600
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
margin-top
:
48
rpx
;
margin-top
:
toRpx
(
48
)
;
.footer-btn
{
.footer-btn
{
justify-content
:
center
;
justify-content
:
center
;
margin
-top
:
16
rpx
;
margin
:
toRpx
(
16
)
auto
0
;
}
}
.confirm
{
.confirm
{
width
:
608
rpx
;
width
:
toRpx
(
608
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#2c66f7
;
background
:
#2c66f7
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
color
:
#fff
;
color
:
#fff
;
}
}
.cancel
{
.cancel
{
width
:
608
rpx
;
width
:
toRpx
(
608
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#ffffff00
;
background
:
#ffffff00
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
color
:
#2c66f7
;
color
:
#2c66f7
;
}
}
text
{
text
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
}
}
}
}
</
style
>
</
style
>
components/Insurance/Insurance.vue
View file @
f12effb
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
:scaleSwitch="false"
:scaleSwitch="false"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view
class=
"text"
>
{{
title
}}
</view>
<view
class=
"text"
>
{{
title
}}
</view>
</view>
</view>
...
@@ -68,6 +69,7 @@
...
@@ -68,6 +69,7 @@
:isPreview=
"isPreview"
:isPreview=
"isPreview"
:show=
"show"
:show=
"show"
/>
/>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
<car-brands
<car-brands
...
@@ -205,25 +207,30 @@ export default {
...
@@ -205,25 +207,30 @@ export default {
height
:
100vh
;
height
:
100vh
;
background-image
:
url('@/assets/images/media/insurance-bg.webp')
;
background-image
:
url('@/assets/images/media/insurance-bg.webp')
;
background-size
:
100%
;
background-size
:
100%
;
&-content{
height
:
100%
;
margin
:
$
margin
;
position
:
relative
;
}
.title
{
.title
{
padding
:
120
rpx
0
48
rpx
128
rpx
;
padding
:
toRpx
(
120
)
0
toRpx
(
48
)
toRpx
(
128
)
;
.text
{
.text
{
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
56
rpx
;
font-size
:
toRpx
(
56
)
;
color
:
#333333
;
color
:
#333333
;
}
}
}
}
.content
{
.content
{
.form-box
{
.form-box
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
padding
:
0
128
rpx
;
padding
:
0
toRpx
(
128
)
;
.form
{
.form
{
display
:
flex
;
display
:
flex
;
gap
:
0
28
rpx
;
gap
:
0
toRpx
(
28
)
;
height
:
100%
;
height
:
100%
;
&-item
{
&-item
{
width
:
368
rpx
;
width
:
toRpx
(
368
)
;
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
...
@@ -232,10 +239,10 @@ export default {
...
@@ -232,10 +239,10 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
z-index
:
2
;
z-index
:
2
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -243,22 +250,22 @@ export default {
...
@@ -243,22 +250,22 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
right
:
24
rpx
;
right
:
toRpx
(
24
)
;
font-weight
:
300
;
font-weight
:
300
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
}
}
}
}
.input
,
.input
,
.select
{
.select
{
width
:
100%
;
width
:
100%
;
height
:
60
rpx
;
height
:
toRpx
(
60
)
;
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
;
outline
:
none
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
!important
;
padding
:
0
!important
;
display
:
flex
;
display
:
flex
;
...
@@ -269,7 +276,7 @@ export default {
...
@@ -269,7 +276,7 @@ export default {
}
}
.placeholderStyle
{
.placeholderStyle
{
color
:
#999999
;
color
:
#999999
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
}
}
.arrow
{
.arrow
{
color
:
#999
!important
;
color
:
#999
!important
;
...
@@ -280,14 +287,14 @@ export default {
...
@@ -280,14 +287,14 @@ export default {
.active
{
.active
{
&::after
{
&::after
{
position
:
absolute
;
position
:
absolute
;
left
:
-2
rpx
;
left
:
toMinusRpx
(
2
)
;
top
:
-2
rpx
;
top
:
toMinusRpx
(
2
)
;
width
:
calc
(
100%
+
4
rpx
);
width
:
calc
(
100%
+
#{
toRpx
(
4
)}
);
height
:
calc
(
100%
+
4
rpx
);
height
:
calc
(
100
%
+
#
{
toRpx(4)
}
);
content
:
''
;
content
:
''
;
background-image
:
linear-gradient
(
#2f6af7
,
#75bcff
);
background-image
:
linear-gradient
(
#2f6af7
,
#75bcff
);
box-shadow
:
0
0
0
8
rpx
#2c66f71
a
;
box-shadow
:
0
0
0
toRpx
(
8
)
#2c66f71a
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
}
}
}
}
}
}
...
@@ -297,7 +304,7 @@ export default {
...
@@ -297,7 +304,7 @@ export default {
.byd-layout
{
.byd-layout
{
background-image
:
url('@/assets/images/media/byd-insurance-bg.webp')
!important
;
background-image
:
url('@/assets/images/media/byd-insurance-bg.webp')
!important
;
.title
{
.title
{
padding
:
120
rpx
128
rpx
48
rpx
;
padding
:
toRpx
(
120
)
toRpx
(
128
)
toRpx
(
48
)
;
.text
{
.text
{
text-align
:
center
;
text-align
:
center
;
}
}
...
...
components/Insurance/components/InsurancePopup.vue
View file @
f12effb
...
@@ -54,10 +54,10 @@ export default {
...
@@ -54,10 +54,10 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.detail-box
{
.detail-box
{
position
:
relative
;
position
:
relative
;
width
:
720
rpx
;
width
:
toRpx
(
720
)
;
max-height
:
640
rpx
;
max-height
:
toRpx
(
640
)
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
padding
:
48
rpx
64
rpx
88
rpx
;
padding
:
toRpx
(
48
)
toRpx
(
64
)
toRpx
(
88
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow
:
hidden
;
&::before
{
&::before
{
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
240
rpx
;
height
:
toRpx
(
240
)
;
background-image
:
linear-gradient
(
180deg
,
#e5edfe
0%
,
#ffffff
100%
);
background-image
:
linear-gradient
(
180deg
,
#e5edfe
0%
,
#ffffff
100%
);
content
:
''
;
content
:
''
;
z-index
:
-1
;
z-index
:
-1
;
...
@@ -82,13 +82,13 @@ export default {
...
@@ -82,13 +82,13 @@ export default {
}
}
.icon-bao
{
.icon-bao
{
position
:
absolute
;
position
:
absolute
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
right
:
68
rpx
;
right
:
toRpx
(
68
)
;
}
}
.close-box
{
.close-box
{
position
:
absolute
;
position
:
absolute
;
width
:
136
rpx
;
width
:
toRpx
(
136
)
;
height
:
136
rpx
;
height
:
toRpx
(
136
)
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -96,26 +96,26 @@ export default {
...
@@ -96,26 +96,26 @@ export default {
}
}
.title
{
.title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
padding
:
48
rpx
0
24
rpx
;
padding
:
toRpx
(
48
)
0
toRpx
(
24
)
;
}
}
.type
{
.type
{
background
:
#f2f2f2
;
background
:
#f2f2f2
;
border-radius
:
6
rpx
;
border-radius
:
toRpx
(
6
)
;
padding
:
2
rpx
16
rpx
;
padding
:
toRpx
(
2
)
toRpx
(
16
)
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#666666
;
color
:
#666666
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
width
:
fit-content
;
width
:
fit-content
;
}
}
.content
{
.content
{
margin-top
:
48
rpx
;
margin-top
:
toRpx
(
48
)
;
max-height
:
276
rpx
;
max-height
:
toRpx
(
276
)
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
48
rpx
;
line-height
:
toRpx
(
48
)
;
overflow-y
:
auto
;
overflow-y
:
auto
;
word-break
:
break-all
;
word-break
:
break-all
;
}
}
...
...
components/Insurance/components/InsuranceTable.vue
View file @
f12effb
...
@@ -269,74 +269,74 @@ export default {
...
@@ -269,74 +269,74 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.views-box
{
.views-box
{
width
:
2090
rpx
;
width
:
toRpx
(
2090
)
;
height
:
1080
rpx
;
height
:
toRpx
(
1080
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
4
rpx
solid
#ffffff
;
border
:
toRpx
(
4
)
solid
#ffffff
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
margin
:
56
rpx
auto
0
;
margin
:
toRpx
(
56
)
auto
0
;
.views-title-box
{
.views-title-box
{
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background-image
:
linear-gradient
(
92deg
,
#d0e6fe
cc
0%
,
#c2dbff
cc
33%
,
#d1e4ff
cc
77%
,
#bdd6ff
cc
100%
);
background-image
:
linear-gradient
(
92deg
,
#d0e6fe
cc
0%
,
#c2dbff
cc
33%
,
#d1e4ff
cc
77%
,
#bdd6ff
cc
100%
);
backdrop-filter
:
blur
(
6
rpx
);
backdrop-filter
:
blur
(
toRpx
(
6
)
);
border-radius
:
40
rpx
40
rpx
0
0
;
border-radius
:
toRpx
(
40
)
toRpx
(
40
)
0
0
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.title-item
{
.title-item
{
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
justify-content
:
center
;
justify-content
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
}
}
.row-1
{
.row-1
{
width
:
470
rpx
;
width
:
toRpx
(
470
)
;
}
}
.row-2
{
.row-2
{
width
:
1092
rpx
;
width
:
toRpx
(
1092
)
;
border-right
:
4
rpx
solid
#fff
;
border-right
:
toRpx
(
4
)
solid
#fff
;
border-left
:
4
rpx
solid
#fff
;
border-left
:
toRpx
(
4
)
solid
#fff
;
}
}
.row-3
{
.row-3
{
width
:
528
rpx
;
width
:
toRpx
(
528
)
;
}
}
.views-content
{
.views-content
{
height
:
calc
(
100%
-
192
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
192
)}
);
display
:
flex
;
display
:
flex
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
4
rpx
solid
#ffffff
;
border-top
:
toRpx
(
4
)
solid
#ffffff
;
border-bottom
:
4
rpx
solid
#ffffff
;
border-bottom
:
toRpx
(
4
)
solid
#ffffff
;
position
:
relative
;
position
:
relative
;
.main
{
.main
{
position
:
absolute
;
position
:
absolute
;
top
:
120
rpx
;
top
:
toRpx
(
120
)
;
left
:
0
;
left
:
0
;
width
:
108
rpx
;
width
:
toRpx
(
108
)
;
height
:
748
rpx
;
height
:
toRpx
(
748
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#292d33
;
color
:
#292d33
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
writing-mode
:
vertical-lr
;
writing-mode
:
vertical-lr
;
text-orientation
:
upright
;
text-orientation
:
upright
;
letter-spacing
:
32
rpx
;
letter-spacing
:
toRpx
(
32
)
;
z-index
:
2
;
z-index
:
2
;
}
}
.table
{
.table
{
height
:
100%
;
height
:
100%
;
.insurance-item
{
.insurance-item
{
background-color
:
#f7f9ff
;
background-color
:
#f7f9ff
;
border-bottom
:
4
rpx
solid
#ffffff
;
border-bottom
:
toRpx
(
4
)
solid
#ffffff
;
position
:
relative
;
position
:
relative
;
.name,
.name,
.range,
.range,
.cost,
.cost,
.show
{
.show
{
min-height
:
120
rpx
;
min-height
:
toRpx
(
120
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -345,31 +345,31 @@ export default {
...
@@ -345,31 +345,31 @@ export default {
}
}
.name
,
.name
,
.range
{
.range
{
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#292d33
;
color
:
#292d33
;
padding
:
40
rpx
0
;
padding
:
toRpx
(
40
)
0
;
}
}
.block
{
.block
{
position
:
absolute
;
position
:
absolute
;
width
:
104
rpx
;
width
:
toRpx
(
104
)
;
height
:
calc
(
100%
+
4
rpx
);
height
:
calc
(
100%
+
#{
toRpx
(
4
)}
);
background
:
#cfe3fe
;
background
:
#cfe3fe
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
}
}
.name
{
.name
{
width
:
366
rpx
;
width
:
toRpx
(
366
)
;
margin-left
:
108
rpx
;
margin-left
:
toRpx
(
108
)
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
padding
:
0
40
rpx
;
padding
:
0
toRpx
(
40
)
;
.check-box
{
.check-box
{
width
:
32
rpx
;
width
:
toRpx
(
32
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
4
rpx
;
border-radius
:
toRpx
(
4
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-right
:
32
rpx
;
margin-right
:
toRpx
(
32
)
;
justify-content
:
center
;
justify-content
:
center
;
overflow
:
hidden
;
overflow
:
hidden
;
font-weight
:
700
;
font-weight
:
700
;
...
@@ -382,28 +382,28 @@ export default {
...
@@ -382,28 +382,28 @@ export default {
}
}
}
}
.range
{
.range
{
padding
:
40
rpx
64
rpx
;
padding
:
toRpx
(
40
)
toRpx
(
64
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
text-align
:
center
;
text-align
:
center
;
}
}
.cost
{
.cost
{
&-input
{
&-input
{
position
:
relative
;
position
:
relative
;
width
:
368
rpx
;
width
:
toRpx
(
368
)
;
height
:
72
rpx
;
height
:
toRpx
(
72
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
12
rpx
;
border-radius
:
toRpx
(
12
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
.input
{
.input
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
;
outline
:
none
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
72
rpx
;
line-height
:
toRpx
(
72
)
;
&::placeholder
{
&::placeholder
{
padding
:
0
!important
;
padding
:
0
!important
;
}
}
...
@@ -412,11 +412,11 @@ export default {
...
@@ -412,11 +412,11 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
right
:
24
rpx
;
right
:
toRpx
(
24
)
;
font-weight
:
300
;
font-weight
:
300
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
}
}
}
}
}
}
...
@@ -431,7 +431,7 @@ export default {
...
@@ -431,7 +431,7 @@ export default {
}
}
.has-default
{
.has-default
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-bottom
:
4
rpx
solid
#ffffff
;
border-bottom
:
toRpx
(
4
)
solid
#ffffff
;
}
}
}
}
.disabled
{
.disabled
{
...
@@ -463,9 +463,9 @@ export default {
...
@@ -463,9 +463,9 @@ export default {
}
}
&
::before
{
&
::before
{
position
:
absolute
;
position
:
absolute
;
left
:
100
rpx
;
left
:
toRpx
(
100
)
;
top
:
0
;
top
:
0
;
width
:
4
rpx
;
width
:
toRpx
(
4
)
;
height
:
100%
;
height
:
100%
;
background
:
#fff
;
background
:
#fff
;
content
:
''
;
content
:
''
;
...
@@ -476,7 +476,7 @@ export default {
...
@@ -476,7 +476,7 @@ export default {
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
height
:
100%
;
height
:
100%
;
width
:
104
rpx
;
width
:
toRpx
(
104
)
;
background
:
#cfe3fe
;
background
:
#cfe3fe
;
content
:
''
;
content
:
''
;
z-index
:
-1
;
z-index
:
-1
;
...
@@ -490,33 +490,33 @@ export default {
...
@@ -490,33 +490,33 @@ export default {
height
:
100%
;
height
:
100%
;
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#808291
;
color
:
#808291
;
.sprite-icon
{
.sprite-icon
{
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
}
}
}
}
.views-footer
{
.views-footer
{
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background-image
:
linear-gradient
(
92deg
,
#d1e7ff
cc
0%
,
#c2dbff
cc
33%
,
#d1e4ff
cc
77%
,
#bdd6ff
cc
100%
);
background-image
:
linear-gradient
(
92deg
,
#d1e7ff
cc
0%
,
#c2dbff
cc
33%
,
#d1e4ff
cc
77%
,
#bdd6ff
cc
100%
);
backdrop-filter
:
blur
(
6
rpx
);
backdrop-filter
:
blur
(
toRpx
(
6
)
);
border-radius
:
0
0
40
rpx
40
rpx
;
border-radius
:
0
0
toRpx
(
40
)
toRpx
(
40
)
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-right
:
104
rpx
;
padding-right
:
toRpx
(
104
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.sprite-icon
{
.sprite-icon
{
margin-right
:
14
rpx
;
margin-right
:
toRpx
(
14
)
;
}
}
.total
{
.total
{
color
:
#2c66f7
;
color
:
#2c66f7
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
margin
:
0
16
rpx
0
32
rpx
;
margin
:
0
toRpx
(
16
)
0
toRpx
(
32
)
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
}
}
.util
{
.util
{
color
:
#2c66f7
;
color
:
#2c66f7
;
...
@@ -532,23 +532,23 @@ export default {
...
@@ -532,23 +532,23 @@ export default {
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.row-1
{
.row-1
{
width
:
404
rpx
;
width
:
toRpx
(
404
)
;
}
}
.row-2
{
.row-2
{
width
:
1052
rpx
;
width
:
toRpx
(
1052
)
;
}
}
.row-3
{
.row-3
{
width
:
465
rpx
;
width
:
toRpx
(
465
)
;
}
}
.row-4
{
.row-4
{
border-left
:
4
rpx
solid
#fff
;
border-left
:
toRpx
(
4
)
solid
#fff
;
width
:
158
rpx
;
width
:
toRpx
(
158
)
;
}
}
.insurance-item
{
.insurance-item
{
position
:
relative
;
position
:
relative
;
.name
{
.name
{
width
:
296
rpx
!important
;
width
:
toRpx
(
296
)
!important
;
padding
:
0
24
rpx
!important
;
padding
:
0
toRpx
(
24
)
!important
;
}
}
.show
{
.show
{
border-left
:
none
;
border-left
:
none
;
...
@@ -556,8 +556,8 @@ export default {
...
@@ -556,8 +556,8 @@ export default {
&
::after
{
&
::after
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
158
rpx
;
right
:
toRpx
(
158
)
;
width
:
4
rpx
;
width
:
toRpx
(
4
)
;
height
:
100%
;
height
:
100%
;
background
:
#fff
;
background
:
#fff
;
content
:
''
;
content
:
''
;
...
...
components/MessageBox/index.vue
View file @
f12effb
...
@@ -135,19 +135,19 @@ export default {
...
@@ -135,19 +135,19 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.tips-wrapper
{
.tips-wrapper
{
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
20
rpx
;
border-radius
:
toRpx
(
20
)
;
height
:
100%
;
height
:
100%
;
.tips-content
{
.tips-content
{
padding
:
48
rpx
;
padding
:
toRpx
(
48
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
calc
(
100%
-
100
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
100
)}
);
position
:
relative
;
position
:
relative
;
.icon-close-box
{
.icon-close-box
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
120
rpx
;
height
:
toRpx
(
120
)
;
justify-content
:
center
;
justify-content
:
center
;
z-index
:
2
;
z-index
:
2
;
}
}
...
@@ -155,7 +155,7 @@ export default {
...
@@ -155,7 +155,7 @@ export default {
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#292d33
;
color
:
#292d33
;
text-align
:
center
;
text-align
:
center
;
.icon-back
{
.icon-back
{
...
@@ -168,18 +168,18 @@ export default {
...
@@ -168,18 +168,18 @@ export default {
}
}
.tips-text
{
.tips-text
{
display
:
block
;
display
:
block
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#5a5e66
;
color
:
#5a5e66
;
letter-spacing
:
1
rpx
;
letter-spacing
:
toRpx
(
1
)
;
text-align
:
center
;
text-align
:
center
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
margin-top
:
48
rpx
;
margin-top
:
toRpx
(
48
)
;
}
}
.tips-footer
{
.tips-footer
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
height
:
100
rpx
;
height
:
toRpx
(
100
)
;
border-top
:
1px
solid
#e8e8e8
;
border-top
:
1px
solid
#e8e8e8
;
.close
{
.close
{
...
@@ -192,9 +192,9 @@ export default {
...
@@ -192,9 +192,9 @@ export default {
.tips-btn
{
.tips-btn
{
width
:
50%
;
width
:
50%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
text-align
:
center
;
text-align
:
center
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
font-weight
:
500
;
font-weight
:
500
;
}
}
}
}
...
...
components/ReceptionSence.vue
View file @
f12effb
...
@@ -88,24 +88,24 @@ export default {
...
@@ -88,24 +88,24 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.select-box
{
.select-box
{
margin
:
40
rpx
0
;
margin
:
toRpx
(
40
)
0
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
32
rpx
;
gap
:
toRpx
(
32
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
50vh
;
max-height
:
50vh
;
padding-bottom
:
60
rpx
;
padding-bottom
:
toRpx
(
60
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#292d33
;
color
:
#292d33
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.checked
{
&.checked
{
border
:
2
rpx
solid
#292d33
;
border
:
toRpx
(
2
)
solid
#292d33
;
}
}
}
}
}
}
...
...
components/ToolBox.vue
View file @
f12effb
...
@@ -108,27 +108,27 @@ export default {
...
@@ -108,27 +108,27 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.tool-box
{
.tool-box
{
position
:
fixed
;
position
:
fixed
;
right
:
40
rpx
;
right
:
toRpx
(
40
)
;
top
:
calc
(
5%
+
140
rpx
);
top
:
calc
(
5%
+
#{
toRpx
(
140
)}
);
z-index
:
998
;
z-index
:
998
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
.btn
{
.btn
{
width
:
100%
;
width
:
100%
;
height
:
120
rpx
;
height
:
toRpx
(
120
)
;
background-image
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#f8f9fb
100%
);
background-image
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#f8f9fb
100%
);
border
:
2.08
rpx
solid
#ffffff
;
border
:
toRpx
(
2
)
solid
#ffffff
;
box-shadow
:
0
8
rpx
24
rpx
0
#00000033
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#00000033
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#292d33
;
color
:
#292d33
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
.icon
{
.icon
{
width
:
60
rpx
;
width
:
toRpx
(
60
)
;
height
:
60
rpx
;
height
:
toRpx
(
60
)
;
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
transition
:
all
0.05s
;
transition
:
all
0.05s
;
}
}
}
}
...
@@ -143,9 +143,9 @@ export default {
...
@@ -143,9 +143,9 @@ export default {
}
}
.list
{
.list
{
width
:
100%
;
width
:
100%
;
border
:
2
rpx
solid
#ffffff
;
border
:
toRpx
(
2
)
solid
#ffffff
;
box-shadow
:
0
8
rpx
22
rpx
0
#0000001
a
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
22
)
0
#0000001
a
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
transition
:
all
0.05s
;
transition
:
all
0.05s
;
...
@@ -163,15 +163,15 @@ export default {
...
@@ -163,15 +163,15 @@ export default {
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
bottom
:
0
;
bottom
:
0
;
filter
:
blur
(
8
rpx
);
filter
:
blur
(
toRpx
(
8
)
);
z-index
:
-1
;
z-index
:
-1
;
}
}
.title
{
.title
{
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
56
rpx
;
height
:
toRpx
(
56
)
;
background
:
#f4f4f5
;
background
:
#f4f4f5
;
border
:
2
rpx
solid
#ffffff
;
border
:
toRpx
(
2
)
solid
#ffffff
;
border-radius
:
16
rpx
16
rpx
0
0
;
border-radius
:
toRpx
(
16
)
toRpx
(
16
)
0
0
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -181,15 +181,15 @@ export default {
...
@@ -181,15 +181,15 @@ export default {
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
font-size
:
20
rpx
;
font-size
:
toRpx
(
20
)
;
color
:
#666666
;
color
:
#666666
;
//
height
:
120
rpx
;
//
height
:
toRpx
(
120
)
;
width
:
100%
;
width
:
100%
;
padding-top
:
16
rpx
;
padding-top
:
toRpx
(
16
)
;
.icon
{
.icon
{
width
:
60
rpx
;
width
:
toRpx
(
60
)
;
height
:
60
rpx
;
height
:
toRpx
(
60
)
;
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
}
}
}
}
.active
{
.active
{
...
@@ -199,7 +199,7 @@ export default {
...
@@ -199,7 +199,7 @@ export default {
.showList
{
.showList
{
display
:
flex
;
display
:
flex
;
opacity
:
1
;
opacity
:
1
;
padding-bottom
:
16
rpx
;
padding-bottom
:
toRpx
(
16
)
;
animation
:
scale-up-top-right
0.4s
;
animation
:
scale-up-top-right
0.4s
;
visibility
:
visible
;
visibility
:
visible
;
height
:
auto
;
height
:
auto
;
...
...
components/UpdateBox.vue
View file @
f12effb
...
@@ -80,46 +80,46 @@ export default {
...
@@ -80,46 +80,46 @@ export default {
top
:
50%
;
top
:
50%
;
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
800
rpx
;
width
:
toRpx
(
800
)
;
height
:
752
rpx
;
height
:
toRpx
(
752
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
288
rpx
;
padding-top
:
toRpx
(
288
)
;
.bg
{
.bg
{
width
:
800
rpx
;
width
:
toRpx
(
800
)
;
height
:
400
rpx
;
height
:
toRpx
(
400
)
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
-84
rpx
;
top
:
toMinusRpx
(
84
)
;
}
}
.content
{
.content
{
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
width
:
640
rpx
;
width
:
toRpx
(
640
)
;
height
:
288
rpx
;
height
:
toRpx
(
288
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
margin
:
0
auto
32
rpx
;
margin
:
0
auto
toRpx
(
32
)
;
.title
{
.title
{
text-align
:
center
;
text-align
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
&
-item
{
&
-item
{
color
:
#5a5e66
;
color
:
#5a5e66
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
}
}
.btn
{
.btn
{
width
:
608
rpx
;
width
:
toRpx
(
608
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background-image
:
linear-gradient
(
270deg
,
#2c66f7
0%
,
#48a6ff
100%
);
background-image
:
linear-gradient
(
270deg
,
#2c66f7
0%
,
#48a6ff
100%
);
border-radius
:
98
rpx
;
border-radius
:
toRpx
(
98
)
;
text-align
:
center
;
text-align
:
center
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#ffffff
;
color
:
#ffffff
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
...
...
pages/boutique/case.vue
View file @
f12effb
<
template
>
<
template
>
<view
<view
class=
"
container
"
class=
"
layout
"
@
click=
"hideSelect"
@
click=
"hideSelect"
>
>
<wnCanvas
<wnCanvas
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
ref="caseCanvas"
ref="caseCanvas"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"bg"
></view>
<view
class=
"bg"
></view>
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"select-box"
>
<view
class=
"select-box"
>
...
@@ -108,6 +109,7 @@
...
@@ -108,6 +109,7 @@
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
<view
<view
...
@@ -268,17 +270,22 @@ export default {
...
@@ -268,17 +270,22 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.
container
{
.
layout
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
width
:
100
vw
;
width
:
100
%
;
height
:
100
vh
;
height
:
100
%
;
background-image
:
linear-gradient
(
180deg
,
#f1f5ff
0%
,
#f3f6ff
100%
);
background-image
:
linear-gradient
(
180deg
,
#f1f5ff
0%
,
#f3f6ff
100%
);
overflow
:
hidden
;
overflow
:
hidden
;
&-content
{
margin
:
$
margin
;
height
:
100%
;
position
:
relative
;
}
.bg
{
.bg
{
width
:
100%
;
width
:
100%
;
height
:
800
rpx
;
height
:
toRpx
(
800
)
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
background-image
:
url('../../assets/images/boutique/record-bg.png')
;
background-image
:
url('../../assets/images/boutique/record-bg.png')
;
...
@@ -286,36 +293,34 @@ export default {
...
@@ -286,36 +293,34 @@ export default {
top
:
0
;
top
:
0
;
}
}
.box
{
.box
{
padding
:
64
rpx
;
padding-top
:
toRpx
(
160
);
margin-top
:
90
rpx
;
position
:
relative
;
position
:
relative
;
.select-box
{
.select-box
{
position
:
absolute
;
position
:
absolute
;
right
:
24
rpx
;
right
:
toRpx
(
24
)
;
top
:
-18
rpx
;
top
:
toRpx
(
64
)
;
z-index
:
1
;
z-index
:
1
;
.select
{
.select
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
}
}
.arrow-bottom
{
.arrow-bottom
{
width
:
48
rpx
;
width
:
toRpx
(
48
)
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
}
}
.pop-box
{
.pop-box
{
width
:
368
rpx
;
width
:
toRpx
(
368
);
//
height
:
248
rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
padding
:
16
rpx
0
;
padding
:
toRpx
(
16
)
0
;
animation
:
show-view-opacity
0.15s
forwards
;
animation
:
show-view-opacity
0.15s
forwards
;
.type-item
{
.type-item
{
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
line-height
:
48
rpx
;
line-height
:
toRpx
(
48
)
;
&:last-child
{
&:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
...
@@ -327,15 +332,16 @@ export default {
...
@@ -327,15 +332,16 @@ export default {
}
}
.input-box
{
.input-box
{
position
:
relative
;
position
:
relative
;
margin
:
0
toRpx
(
64
);
.input
{
.input
{
padding-left
:
30
rpx
;
padding-left
:
toRpx
(
30
)
;
text-align
:
center
;
text-align
:
center
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
width
:
100%
;
width
:
100%
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
z-index
:
1
;
z-index
:
1
;
}
}
.input-tips
{
.input-tips
{
...
@@ -343,7 +349,7 @@ export default {
...
@@ -343,7 +349,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
display
:
flex
;
display
:
flex
;
...
@@ -351,56 +357,57 @@ export default {
...
@@ -351,56 +357,57 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
pointer-events
:
none
;
pointer-events
:
none
;
.icon
{
.icon
{
margin-left
:
12
rpx
;
margin-left
:
toRpx
(
12
)
;
}
}
}
}
.close
{
.close
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
.record-box
{
.record-box
{
height
:
calc
(
100vh
-
250
rpx
);
height
:
calc
(
100vh
-
#{
toRpx
(
224
)}
);
padding-top
:
48
rpx
;
padding-top
:
toRpx
(
48
)
;
}
}
.list
{
.list
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
5
,
1
fr
);
grid-template-columns
:
repeat
(
5
,
1
fr
);
gap
:
48
rpx
50
rpx
;
gap
:
toRpx
(
48
)
toRpx
(
50
);
margin
:
0
toRpx
(
64
);
.item
{
.item
{
height
:
536
rpx
;
height
:
toRpx
(
536
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
box-shadow
:
0
8
rpx
24
rpx
0
#4673ff1
a
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#4673ff1
a
;
.item-autio
{
.item-autio
{
height
:
404
rpx
;
height
:
toRpx
(
404
)
;
position
:
relative
;
position
:
relative
;
.cover-box
{
.cover-box
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
border-radius
:
48
rpx
48
rpx
0
48
rpx
;
border-radius
:
toRpx
(
48
)
toRpx
(
48
)
0
toRpx
(
48
)
;
}
}
.play-box
{
.play-box
{
width
:
48
rpx
;
width
:
toRpx
(
48
)
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
position
:
absolute
;
position
:
absolute
;
left
:
32
rpx
;
left
:
toRpx
(
32
)
;
bottom
:
32
rpx
;
bottom
:
toRpx
(
32
)
;
}
}
}
}
.item-desc
{
.item-desc
{
//
height
:
140
rpx
;
//
height
:
toRpx
(
140
)
;
padding
:
24
rpx
28
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
28
)
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
text-align
:
center
;
text-align
:
center
;
word-break
:
break-all
;
word-break
:
break-all
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -421,11 +428,11 @@ export default {
...
@@ -421,11 +428,11 @@ export default {
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
background
:
#000
;
background
:
#000
;
padding
:
100
rpx
0
rpx
;
padding
:
toRpx
(
100
)
0
;
z-index
:
100
;
z-index
:
100
;
.nav-bar
{
.nav-bar
{
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
.back
{
.back
{
height
:
100%
;
height
:
100%
;
aspect-ratio
:
1
/
1
;
aspect-ratio
:
1
/
1
;
...
@@ -439,7 +446,7 @@ export default {
...
@@ -439,7 +446,7 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#ffffff
;
color
:
#ffffff
;
}
}
}
}
...
@@ -455,13 +462,13 @@ export default {
...
@@ -455,13 +462,13 @@ export default {
.nothing
{
.nothing
{
width
:
100vw
;
width
:
100vw
;
flex-direction
:
column
;
flex-direction
:
column
;
margin-top
:
112
rpx
;
margin-top
:
toRpx
(
112
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
.icon
{
.icon
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
}
}
</
style
>
</
style
>
pages/boutique/components/CouponPop.vue
View file @
f12effb
...
@@ -511,34 +511,34 @@ export default {
...
@@ -511,34 +511,34 @@ export default {
z-index
:
99
!important
;
z-index
:
99
!important
;
}
}
.footer-btn
{
.footer-btn
{
width
:
518
rpx
;
width
:
toRpx
(
518
)
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background-image
:
linear-gradient
(
180deg
,
#61c0ff
0%
,
#2c66f7
100%
);
background-image
:
linear-gradient
(
180deg
,
#61c0ff
0%
,
#2c66f7
100%
);
box-shadow
:
inset
0
0
32
rpx
0
#ffffff80
;
box-shadow
:
inset
0
0
toRpx
(
32
)
0
#ffffff80
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#ffffff
;
color
:
#ffffff
;
line-height
:
96
rpx
;
line-height
:
toRpx
(
96
)
;
text-align
:
center
;
text-align
:
center
;
margin
:
0
auto
;
margin
:
0
auto
;
margin-top
:
70
rpx
;
margin-top
:
toRpx
(
70
)
;
}
}
.content
{
.content
{
display
:
inline-flex
;
display
:
inline-flex
;
margin-top
:
18
rpx
;
margin-top
:
toRpx
(
18
)
;
.qr-code
{
.qr-code
{
margin-top
:
62
rpx
;
margin-top
:
toRpx
(
62
)
;
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
margin-left
:
64
rpx
;
margin-left
:
toRpx
(
64
)
;
&-box
{
&-box
{
height
:
400
rpx
;
height
:
toRpx
(
400
)
;
border-radius
:
22.86
rpx
;
border-radius
:
toRpx
(
23
)
;
background-color
:
#f9f9f9
;
background-color
:
#f9f9f9
;
}
}
&
-img
{
&
-img
{
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
height
:
400
rpx
;
height
:
toRpx
(
400
)
;
}
}
}
}
}
}
...
@@ -546,46 +546,46 @@ export default {
...
@@ -546,46 +546,46 @@ export default {
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
32
rpx
0
;
gap
:
toRpx
(
32
)
0
;
padding-top
:
30
rpx
;
padding-top
:
toRpx
(
30
)
;
&-item
{
&-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
color
:
#6c6c70
;
color
:
#6c6c70
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
auto
;
margin
:
0
auto
;
.label
{
.label
{
position
:
relative
;
position
:
relative
;
margin-left
:
auto
;
margin-left
:
auto
;
flex-shrink
:
0
;
flex-shrink
:
0
;
width
:
124
rpx
;
width
:
toRpx
(
124
)
;
}
}
.required
{
.required
{
&::before
{
&::before
{
content
:
'*'
;
content
:
'*'
;
color
:
#ff0000
;
color
:
#ff0000
;
position
:
absolute
;
position
:
absolute
;
left
:
-20
rpx
;
left
:
toMinusRpx
(
20
)
;
top
:
50%
;
top
:
50%
;
transform
:
translate
(
0
,
-50%
);
transform
:
translate
(
0
,
-50%
);
}
}
}
}
.value
{
.value
{
width
:
468
rpx
;
width
:
toRpx
(
468
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
border
:
2
rpx
solid
#e8e8ea
;
border
:
toRpx
(
2
)
solid
#e8e8ea
;
background
:
#ffffff
;
background
:
#ffffff
;
margin-left
:
32
rpx
;
margin-left
:
toRpx
(
32
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
40
rpx
;
padding
:
0
toRpx
(
40
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
.text
{
.text
{
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
}
}
&
.error
{
&
.error
{
border
:
2
rpx
solid
#f24724
;
border
:
toRpx
(
2
)
solid
#f24724
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
}
}
.input
,
.input
,
.select
{
.select
{
...
@@ -594,7 +594,7 @@ export default {
...
@@ -594,7 +594,7 @@ export default {
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
;
outline
:
none
;
padding
:
0
!important
;
padding
:
0
!important
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
&::placeholder
{
&::placeholder
{
color
:
#c9c9c9
;
color
:
#c9c9c9
;
}
}
...
@@ -607,7 +607,7 @@ export default {
...
@@ -607,7 +607,7 @@ export default {
}
}
}
}
/
deep
/
.placeholder
{
/
deep
/
.placeholder
{
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#c9c9c9
;
color
:
#c9c9c9
;
}
}
}
}
...
@@ -622,40 +622,40 @@ export default {
...
@@ -622,40 +622,40 @@ export default {
}
}
}
}
.select-box
{
.select-box
{
margin
:
40
rpx
0
;
margin
:
toRpx
(
40
)
0
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
32
rpx
;
gap
:
toRpx
(
32
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
50vh
;
max-height
:
50vh
;
padding-bottom
:
60
rpx
;
padding-bottom
:
toRpx
(
60
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
line-height
:
68
rpx
;
line-height
:
toRpx
(
68
)
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#292d33
;
color
:
#292d33
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.checked
{
&.checked
{
border
:
2
rpx
solid
#292d33
;
border
:
toRpx
(
2
)
solid
#292d33
;
}
}
}
}
}
}
.no-data
{
.no-data
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
&-img
{
&-img
{
width
:
100%
;
width
:
100%
;
height
:
138
rpx
;
height
:
toRpx
(
138
)
;
background-image
:
url('@/assets/images/boutique/no-data.webp')
;
background-image
:
url('@/assets/images/boutique/no-data.webp')
;
background-size
:
100%
;
background-size
:
100%
;
}
}
...
@@ -669,68 +669,68 @@ export default {
...
@@ -669,68 +669,68 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
&-status
{
&-status
{
width
:
96
rpx
;
width
:
toRpx
(
96
)
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
background-image
:
url('@/assets/images/boutique/ok-status.webp')
;
background-image
:
url('@/assets/images/boutique/ok-status.webp')
;
background-size
:
100%
;
background-size
:
100%
;
}
}
}
}
.ok-tips
{
.ok-tips
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
text-align
:
center
;
text-align
:
center
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
margin-top
:
32
rpx
;
margin-top
:
toRpx
(
32
)
;
}
}
.customer-info
{
.customer-info
{
flex
:
1
;
flex
:
1
;
padding-top
:
30
rpx
;
padding-top
:
toRpx
(
30
)
;
background-color
:
#f9f9f9
;
background-color
:
#f9f9f9
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
padding
:
48
rpx
;
padding
:
toRpx
(
48
)
;
margin-top
:
30
rpx
;
margin-top
:
toRpx
(
30
)
;
margin-bottom
:
56
rpx
;
margin-bottom
:
toRpx
(
56
)
;
.customer-title
{
.customer-title
{
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#333333
;
color
:
#333333
;
letter-spacing
:
0
;
letter-spacing
:
0
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
height
:
44
rpx
;
height
:
toRpx
(
44
)
;
}
}
.line
{
.line
{
width
:
100%
;
width
:
100%
;
height
:
1px
;
height
:
toRpx
(
2
)
;
background-color
:
#e0e0e0
;
background-color
:
#e0e0e0
;
margin
:
32
rpx
0
;
margin
:
toRpx
(
32
)
0
;
}
}
.customer-list
{
.customer-list
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
32
rpx
0
;
gap
:
toRpx
(
32
)
0
;
}
}
.customer-item
{
.customer-item
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.label
{
.label
{
width
:
185
rpx
;
width
:
toRpx
(
185
)
;
text-align
:
right
;
text-align
:
right
;
margin-right
:
32
rpx
;
margin-right
:
toRpx
(
32
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#6c6c70
;
color
:
#6c6c70
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
}
}
.value-text
{
.value-text
{
flex
:
1
;
flex
:
1
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
}
}
}
}
}
}
...
...
pages/boutique/components/CustomerType.vue
View file @
f12effb
...
@@ -81,19 +81,19 @@ export default {
...
@@ -81,19 +81,19 @@ export default {
z-index
:
99
!important
;
z-index
:
99
!important
;
}
}
.box
{
.box
{
width
:
1920
rpx
;
width
:
toRpx
(
1920
)
;
height
:
1120
rpx
;
height
:
toRpx
(
1120
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
.title
{
.title
{
width
:
100%
;
width
:
100%
;
height
:
160
rpx
;
height
:
toRpx
(
160
)
;
background-image
:
url("@/assets/images/boutique/customer-type-bg.webp")
;
background-image
:
url("@/assets/images/boutique/customer-type-bg.webp")
;
background-size
:
100%
;
background-size
:
100%
;
position
:
relative
;
position
:
relative
;
.text
{
.text
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
...
@@ -103,23 +103,23 @@ export default {
...
@@ -103,23 +103,23 @@ export default {
.icon-close-box
{
.icon-close-box
{
height
:
100%
;
height
:
100%
;
margin-left
:
auto
;
margin-left
:
auto
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
}
}
}
}
.content
{
.content
{
padding
:
16
rpx
80
rpx
72
rpx
;
padding
:
toRpx
(
16
)
toRpx
(
80
)
toRpx
(
72
)
;
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
160
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
160
)}
);
gap
:
0
64
rpx
;
gap
:
0
toRpx
(
64
)
;
.item
{
.item
{
width
:
calc
(
50%
-
32
rpx
);
width
:
calc
(
50%
-
#{
toRpx
(
32
)}
);
height
:
100
%;
height
:
100
%;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
12
rpx
24
rpx
0
#2c66f726
;
box-shadow
:
0
toRpx
(
12
)
toRpx
(
24
)
0
#2c66f726
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
flex-direction
:
column
;
flex-direction
:
column
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
112
rpx
;
padding-top
:
toRpx
(
112
)
;
position
:
relative
;
position
:
relative
;
&
::before
,
&
::before
,
&
::after
{
&
::after
{
...
@@ -128,24 +128,24 @@ export default {
...
@@ -128,24 +128,24 @@ export default {
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
background
:
#edf5ff
;
background
:
#edf5ff
;
filter
:
blur
(
40
rpx
);
filter
:
blur
(
toRpx
(
40
)
);
}
}
&
::before
{
&
::before
{
top
:
0
;
top
:
0
;
height
:
62
rpx
;
height
:
toRpx
(
62
)
;
}
}
&
::after
{
&
::after
{
bottom
:
0
;
bottom
:
0
;
height
:
126
rpx
;
height
:
toRpx
(
126
)
;
}
}
&
-title
{
&
-title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
padding
:
32
rpx
0
16
rpx
;
padding
:
toRpx
(
32
)
0
toRpx
(
16
)
;
}
}
&
-describe
{
&
-describe
{
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#808291
;
color
:
#808291
;
text-align
:
center
;
text-align
:
center
;
}
}
...
...
pages/boutique/components/OptionalTable.vue
View file @
f12effb
...
@@ -167,30 +167,31 @@ export default {
...
@@ -167,30 +167,31 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.views-box
{
.views-box
{
width
:
2186
rpx
;
width
:
toRpx
(
2186
)
;
height
:
calc
(
100vh
-
236
rpx
)
;
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
236
rpx
auto
0
;
margin
:
0
auto
;
padding-top
:
toRpx
(
236
);
animation
:
show-view-opacity
0.15s
forwards
;
animation
:
show-view-opacity
0.15s
forwards
;
.views-title-box
{
.views-title-box
{
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background
:
#edf2ff
;
background
:
#edf2ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
.title-item
{
.title-item
{
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
flex-shrink
:
0
;
flex-shrink
:
0
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#666666
;
color
:
#666666
;
}
}
}
}
.check-box
{
.check-box
{
width
:
32
rpx
;
width
:
toRpx
(
32
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
background
:
transparent
;
background
:
transparent
;
border
:
1.5px
solid
#999
;
border
:
toRpx
(
3
)
solid
#999
;
border-radius
:
6
rpx
;
border-radius
:
toRpx
(
6
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
justify-content
:
center
;
justify-content
:
center
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -202,41 +203,41 @@ export default {
...
@@ -202,41 +203,41 @@ export default {
border-color
:
#2c66f7
;
border-color
:
#2c66f7
;
}
}
.row
{
.row
{
padding
:
26
rpx
32
rpx
;
padding
:
toRpx
(
26
)
toRpx
(
32
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
.row-1
{
.row-1
{
width
:
96
rpx
;
width
:
toRpx
(
96
)
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
26
rpx
0
;
padding
:
toRpx
(
26
)
0
;
}
}
.row-2
{
.row-2
{
width
:
1380
rpx
;
width
:
toRpx
(
1380
)
;
border-right
:
2
rpx
solid
#fff
;
border-right
:
toRpx
(
2
)
solid
#fff
;
border-left
:
2
rpx
solid
#fff
;
border-left
:
toRpx
(
2
)
solid
#fff
;
}
}
.row-3
{
.row-3
{
width
:
400
rpx
;
width
:
toRpx
(
400
)
;
}
}
.row-4
{
.row-4
{
border-left
:
2
rpx
solid
#fff
;
border-left
:
toRpx
(
2
)
solid
#fff
;
width
:
304
rpx
;
width
:
toRpx
(
304
)
;
}
}
.views-content
{
.views-content
{
height
:
calc
(
100%
-
292
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
292
)}
);
display
:
flex
;
display
:
flex
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
background
:
#f7f7f7
;
background
:
#f7f7f7
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
.table
{
.table
{
height
:
100%
;
height
:
100%
;
.optional-item
{
.optional-item
{
border-bottom
:
2
rpx
solid
#ffffff
;
border-bottom
:
toRpx
(
2
)
solid
#ffffff
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
//
&:last-child
{
//
&:last-child
{
//
border
:
none
;
//
border
:
none
;
...
@@ -278,44 +279,44 @@ export default {
...
@@ -278,44 +279,44 @@ export default {
height
:
100%
;
height
:
100%
;
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#808291
;
color
:
#808291
;
.sprite-icon
{
.sprite-icon
{
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
}
}
}
}
.views-footer
{
.views-footer
{
height
:
180
rpx
;
height
:
toRpx
(
180
)
;
background
:
#ffffff
;
background
:
#ffffff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
display
:
flex
;
display
:
flex
;
align-items
:
flex-start
;
align-items
:
flex-start
;
.price
{
.price
{
margin-top
:
44
rpx
;
margin-top
:
toRpx
(
44
)
;
align-items
:
baseline
;
align-items
:
baseline
;
}
}
.total
{
.total
{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
margin-left
:
8
rpx
;
margin-left
:
toRpx
(
8
)
;
}
}
.total-btn
{
.total-btn
{
margin
:
16
rpx
0
0
auto
;
margin
:
toRpx
(
16
)
0
0
auto
;
width
:
480
rpx
;
width
:
toRpx
(
480
)
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background-image
:
linear-gradient
(
180deg
,
#61c0ff
0%
,
#2c66f7
100%
);
background-image
:
linear-gradient
(
180deg
,
#61c0ff
0%
,
#2c66f7
100%
);
box-shadow
:
inset
0
0
32
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
32
)
0
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#ffffff
;
color
:
#ffffff
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
...
...
pages/boutique/components/Picture.vue
View file @
f12effb
...
@@ -62,9 +62,9 @@ export default {
...
@@ -62,9 +62,9 @@ export default {
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -97,9 +97,9 @@ export default {
...
@@ -97,9 +97,9 @@ export default {
flex-direction
:
column
;
flex-direction
:
column
;
overflow
:
hidden
;
overflow
:
hidden
;
.gif
{
.gif
{
width
:
64
rpx
;
width
:
toRpx
(
64
)
;
height
:
64
rpx
;
height
:
toRpx
(
64
)
;
margin-bottom
:
32
rpx
;
margin-bottom
:
toRpx
(
32
)
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
pages/boutique/components/Reception.vue
View file @
f12effb
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
ref="receptionCanvas"
ref="receptionCanvas"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"select-box flex"
>
<view
class=
"select-box flex"
>
<view
<view
class=
"select flex"
class=
"select flex"
...
@@ -93,6 +94,7 @@
...
@@ -93,6 +94,7 @@
<view
:class=
"['block',{'block-right':tabIndex == 1}]"
></view>
<view
:class=
"['block',{'block-right':tabIndex == 1}]"
></view>
</view>
</view>
</template>
</template>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
<car-brands
<car-brands
...
@@ -327,20 +329,26 @@ export default {
...
@@ -327,20 +329,26 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
&-content
{
height
:
100%
;
margin
:
$
margin
;
position
:
relative
;
}
.risk-informed
{
.risk-informed
{
position
:
absolute
;
position
:
absolute
;
right
:
24
rpx
;
right
:
toRpx
(
24
)
;
top
:
72
rpx
;
top
:
toRpx
(
72
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
48
rpx
;
line-height
:
toRpx
(
48
);
z-index
:
2
;
.sprite-icon
{
.sprite-icon
{
margin-left
:
8
rpx
;
margin-left
:
toRpx
(
8
)
;
}
}
}
}
.select-box
{
.select-box
{
padding-top
:
66
rpx
;
padding-top
:
toRpx
(
66
)
;
position
:
fixed
;
position
:
fixed
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
...
@@ -349,27 +357,27 @@ export default {
...
@@ -349,27 +357,27 @@ export default {
z-index
:
2
;
z-index
:
2
;
.select
{
.select
{
color
:
#333333
;
color
:
#333333
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
font-weight
:
500
;
font-weight
:
500
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
}
}
.pop-box
{
.pop-box
{
width
:
272
rpx
;
width
:
toRpx
(
272
)
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
0
16
rpx
0
#99999933
;
box-shadow
:
0
0
toRpx
(
16
)
0
#99999933
;
position
:
absolute
;
position
:
absolute
;
top
:
122
rpx
;
top
:
toRpx
(
122
)
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
padding
:
12
rpx
0
;
padding
:
toRpx
(
12
)
0
;
animation
:
show-view-opacity
0.15s
forwards
;
animation
:
show-view-opacity
0.15s
forwards
;
.type-item
{
.type-item
{
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
margin
:
8
rpx
0
;
margin
:
toRpx
(
8
)
0
;
height
:
56
rpx
;
height
:
toRpx
(
56
)
;
color
:
#292d33
;
color
:
#292d33
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
position
:
relative
;
position
:
relative
;
&:first-child
{
&:first-child
{
margin-top
:
0
;
margin-top
:
0
;
...
@@ -382,15 +390,15 @@ export default {
...
@@ -382,15 +390,15 @@ export default {
}
}
}
}
.has-line
{
.has-line
{
margin-top
:
18
rpx
;
margin-top
:
toRpx
(
18
)
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
width
:
calc
(
100%
-
48
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
48
)}
);
height
:
2
rpx
;
height
:
toRpx
(
2
)
;
background
:
#f5f5f5
;
background
:
#f5f5f5
;
position
:
absolute
;
position
:
absolute
;
left
:
50
%;
left
:
50
%;
top
:
-10
rpx
;
top
:
toMinusRpx
(
10
)
;
transform
:
translateX
(
-50
%);
transform
:
translateX
(
-50
%);
}
}
}
}
...
@@ -402,12 +410,11 @@ export default {
...
@@ -402,12 +410,11 @@ export default {
}
}
}
}
.content-box
{
.content-box
{
height
:
calc
(
100vh
-
144
rpx
);
height
:
100%
;
margin-top
:
144
rpx
;
padding
:
toRpx
(
144
)
0
toRpx
(
64
)
toRpx
(
64
);
padding
:
0
0
64
rpx
64
rpx
;
animation
:
show-view-opacity
0.15s
forwards
;
animation
:
show-view-opacity
0.15s
forwards
;
.left-content
{
.left-content
{
width
:
1328
rpx
;
width
:
toRpx
(
1328
)
;
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
.poster
{
.poster
{
...
@@ -416,12 +423,12 @@ export default {
...
@@ -416,12 +423,12 @@ export default {
}
}
.tips
{
.tips
{
position
:
absolute
;
position
:
absolute
;
right
:
32
rpx
;
right
:
toRpx
(
32
)
;
bottom
:
32
rpx
;
bottom
:
toRpx
(
32
)
;
animation
:
tips-show
0.15s
forwards
;
animation
:
tips-show
0.15s
forwards
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
}
}
@keyframes
tips-show
{
@keyframes
tips-show
{
0
%
{
0
%
{
...
@@ -433,7 +440,7 @@ export default {
...
@@ -433,7 +440,7 @@ export default {
}
}
.default
{
.default
{
width
:
100%
;
width
:
100%
;
height
:
664
rpx
;
height
:
toRpx
(
664
)
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
50%
;
top
:
50%
;
...
@@ -441,48 +448,48 @@ export default {
...
@@ -441,48 +448,48 @@ export default {
}
}
}
}
.right-content
{
.right-content
{
width
:
calc
(
100%
-
1362
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
1362
)}
);
height
:
100
%;
height
:
100
%;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
margin-left
:
auto
;
margin-left
:
auto
;
.sku-box
{
.sku-box
{
height
:
calc
(
100%
-
116
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
116
)}
);
}
}
.preview
{
.preview
{
height
:
100%
;
height
:
100%
;
}
}
.coupon-btn
{
.coupon-btn
{
margin-top
:
auto
;
margin-top
:
auto
;
width
:
calc
(
100%
-
64
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
64
)}
);
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background-image
:
linear-gradient
(
180deg
,
#61c0ff
0
%,
#2c66f7
100
%);
background-image
:
linear-gradient
(
180deg
,
#61c0ff
0
%,
#2c66f7
100
%);
box-shadow
:
inset
0
0
32
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
32
)
0
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#ffffff
;
color
:
#ffffff
;
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
}
}
.tabs-box
{
.tabs-box
{
position
:
fixed
;
position
:
absolute
;
top
:
156
rpx
;
top
:
toRpx
(
156
)
;
left
:
80
rpx
;
left
:
toRpx
(
80
)
;
width
:
212
rpx
;
width
:
toRpx
(
212
)
;
height
:
64
rpx
;
height
:
toRpx
(
64
)
;
background
:
#f2f2f2
;
background
:
#f2f2f2
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
2
rpx
solid
#f2f2f2
;
border
:
toRpx
(
2
)
solid
#f2f2f2
;
.tab
{
.tab
{
width
:
50%
;
width
:
50%
;
height
:
100%
;
height
:
100%
;
justify-content
:
center
;
justify-content
:
center
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#666666
;
color
:
#666666
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
...
@@ -499,7 +506,7 @@ export default {
...
@@ -499,7 +506,7 @@ export default {
width
:
50%
;
width
:
50%
;
height
:
100%
;
height
:
100%
;
background
:
#333333
;
background
:
#333333
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
}
}
.block-right
{
.block-right
{
...
...
pages/boutique/components/RiskInformedBox.vue
View file @
f12effb
...
@@ -54,17 +54,17 @@ export default {
...
@@ -54,17 +54,17 @@ export default {
z-index
:
99
!important
;
z-index
:
99
!important
;
}
}
.box
{
.box
{
width
:
1862
rpx
;
width
:
toRpx
(
1862
)
;
height
:
1176
rpx
;
height
:
toRpx
(
1176
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
position
:
relative
;
position
:
relative
;
.icon-close-box
{
.icon-close-box
{
position
:
absolute
;
position
:
absolute
;
top
:
32
rpx
;
top
:
toRpx
(
32
)
;
right
:
48
rpx
;
right
:
toRpx
(
48
)
;
width
:
48
rpx
;
width
:
toRpx
(
48
)
;
height
:
48
rpx
;
height
:
toRpx
(
48
)
;
justify-content
:
center
;
justify-content
:
center
;
border-radius
:
100%
;
border-radius
:
100%
;
background
:
rgb
(
121
,
123
,
127
);
background
:
rgb
(
121
,
123
,
127
);
...
...
pages/boutique/components/SkuBox.vue
View file @
f12effb
...
@@ -259,33 +259,33 @@ export default {
...
@@ -259,33 +259,33 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
.padding-right
{
.padding-right
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
width
:
40
rpx
;
width
:
toRpx
(
40
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.first-type-box
{
.first-type-box
{
width
:
calc
(
100%
-
64
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
64
)}
);
height
:
176
rpx
;
height
:
toRpx
(
176
)
;
background
:
#f2f2f2
;
background
:
#f2f2f2
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
8
rpx
solid
#f2f2f2
;
border
:
toRpx
(
8
)
solid
#f2f2f2
;
position
:
relative
;
position
:
relative
;
.first-type-item
{
.first-type-item
{
width
:
280
rpx
;
width
:
toRpx
(
280
)
;
height
:
160
rpx
;
height
:
toRpx
(
160
)
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
opacity
:
0.7
;
opacity
:
0.7
;
.sprite-icon
{
.sprite-icon
{
margin-bottom
:
12
rpx
;
margin-bottom
:
toRpx
(
12
)
;
transform
:
scale
(
1.45
);
transform
:
scale
(
1.45
);
}
}
}
}
...
@@ -293,9 +293,9 @@ export default {
...
@@ -293,9 +293,9 @@ export default {
opacity
:
1
;
opacity
:
1
;
}
}
.block
{
.block
{
width
:
280
rpx
;
width
:
toRpx
(
280
)
;
height
:
160
rpx
;
height
:
toRpx
(
160
)
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
background
:
#ffffff
;
background
:
#ffffff
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -307,22 +307,22 @@ export default {
...
@@ -307,22 +307,22 @@ export default {
left
:
0
;
left
:
0
;
}
}
.block-1
{
.block-1
{
left
:
280
rpx
;
left
:
toRpx
(
280
)
;
}
}
.block-2
{
.block-2
{
left
:
560
rpx
;
left
:
toRpx
(
560
)
;
}
}
}
}
.two-block
{
.two-block
{
.first-type-item,
.first-type-item,
.block
{
.block
{
width
:
420
rpx
;
width
:
toRpx
(
420
)
;
}
}
.block-0
{
.block-0
{
left
:
0
;
left
:
0
;
}
}
.block-1
{
.block-1
{
left
:
420
rpx
;
left
:
toRpx
(
420
)
;
}
}
}
}
.second-type-scroll
{
.second-type-scroll
{
...
@@ -330,19 +330,19 @@ export default {
...
@@ -330,19 +330,19 @@ export default {
animation
:
show-view-opacity
0.15s
forwards
;
animation
:
show-view-opacity
0.15s
forwards
;
.second-type-box
{
.second-type-box
{
width
:
100%
;
width
:
100%
;
gap
:
24
rpx
;
gap
:
toRpx
(
24
)
;
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
padding
:
32
rpx
0
24
rpx
;
padding
:
toRpx
(
32
)
0
toRpx
(
24
)
;
.second-type-item
{
.second-type-item
{
width
:
fit-content
;
width
:
fit-content
;
flex-shrink
:
0
;
flex-shrink
:
0
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#f2f2f2
;
background
:
#f2f2f2
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#666666
;
color
:
#666666
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
justify-content
:
center
;
justify-content
:
center
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
}
}
...
@@ -359,18 +359,18 @@ export default {
...
@@ -359,18 +359,18 @@ export default {
.thirdly-type-box
{
.thirdly-type-box
{
width
:
100%
;
width
:
100%
;
gap
:
24
rpx
;
gap
:
toRpx
(
24
)
;
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
padding-bottom
:
24
rpx
;
padding-bottom
:
toRpx
(
24
)
;
.thirdly-type-item
{
.thirdly-type-item
{
flex-shrink
:
0
;
flex-shrink
:
0
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
border
:
1.5px
solid
#33333333
;
border
:
toRpx
(
3
)
solid
#33333333
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#666666
;
color
:
#666666
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
justify-content
:
center
;
justify-content
:
center
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
}
}
...
@@ -382,31 +382,31 @@ export default {
...
@@ -382,31 +382,31 @@ export default {
}
}
}
}
.sub-title
{
.sub-title
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
padding-bottom
:
16
rpx
;
padding-bottom
:
toRpx
(
16
)
;
}
}
.content-scroll-box
{
.content-scroll-box
{
.goods-item
{
.goods-item
{
width
:
calc
(
100%
-
64
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
64
)}
);
border
:
1.5px
solid
#33333333
;
border
:
toRpx
(
3
)
solid
#33333333
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
padding
:
24
rpx
32
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
32
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
transition
:
all
0
.15s
;
transition
:
all
0
.15s
;
.goods-title
{
.goods-title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
}
}
.goods-description
{
.goods-description
{
margin-top
:
8
rpx
;
margin-top
:
toRpx
(
8
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#666666
;
color
:
#666666
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
max-height
:
144
rpx
;
max-height
:
toRpx
(
144
)
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
}
}
...
@@ -420,14 +420,14 @@ export default {
...
@@ -420,14 +420,14 @@ export default {
}
}
.nothing
{
.nothing
{
flex-direction
:
column
;
flex-direction
:
column
;
padding-top
:
136
rpx
;
padding-top
:
toRpx
(
136
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
&-icon
{
&-icon
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
background-image
:
url('@/assets/images/boutique/nothing.png')
;
background-image
:
url('@/assets/images/boutique/nothing.png')
;
background-size
:
100%
;
background-size
:
100%
;
}
}
...
...
pages/boutique/detail.vue
View file @
f12effb
...
@@ -302,13 +302,16 @@ export default {
...
@@ -302,13 +302,16 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.detail-box
{
.detail-box
{
position
:
relative
;
position
:
relative
;
width
:
100vw
;
height
:
100vh
;
margin
:
0
auto
;
}
}
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
999
;
z-index
:
999
;
pointer-events
:
none
;
pointer-events
:
none
;
.back
{
.back
{
...
@@ -325,7 +328,7 @@ export default {
...
@@ -325,7 +328,7 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
}
}
}
}
...
@@ -356,13 +359,13 @@ export default {
...
@@ -356,13 +359,13 @@ export default {
}
}
.pen-box
{
.pen-box
{
position
:
fixed
;
position
:
fixed
;
right
:
40
rpx
;
right
:
toRpx
(
40
)
;
top
:
calc
(
50%
-
160
rpx
);
top
:
calc
(
50%
-
#{
toRpx
(
160
)}
);
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
120
rpx
;
height
:
toRpx
(
120
)
;
z-index
:
10
;
z-index
:
10
;
box-shadow
:
0
4px
12px
0
#00000033
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#00000033
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
overflow
:
hidden
;
overflow
:
hidden
;
image
{
image
{
width
:
100%
;
width
:
100%
;
...
...
pages/boutique/history.vue
View file @
f12effb
<
template
>
<
template
>
<view
class=
"
container
"
>
<view
class=
"
layout
"
>
<wnCanvas
<wnCanvas
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
:drawStatus="penSwitch"
:drawStatus="penSwitch"
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
ref="historyCanvas"
ref="historyCanvas"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"bg"
></view>
<view
class=
"bg"
></view>
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"data-tabs-box"
>
<view
class=
"data-tabs-box"
>
...
@@ -111,6 +112,7 @@
...
@@ -111,6 +112,7 @@
</
template
>
</
template
>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
<MessageBox
<MessageBox
...
@@ -245,18 +247,22 @@ export default {
...
@@ -245,18 +247,22 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.
container
{
.
layout
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
width
:
100
vw
;
width
:
100
%
;
height
:
100
vh
;
height
:
100
%
;
background-image
:
linear-gradient
(
180deg
,
#f1f5ff
0%
,
#f3f6ff
100%
);
background-image
:
linear-gradient
(
180deg
,
#f1f5ff
0%
,
#f3f6ff
100%
);
overflow
:
hidden
;
overflow
:
hidden
;
&-content
{
margin
:
$
margin
;
height
:
100%
;
position
:
relative
;
}
.bg
{
.bg
{
width
:
100%
;
width
:
100%
;
height
:
800
rpx
;
height
:
toRpx
(
800
)
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
background-image
:
url('../../assets/images/boutique/record-bg.png')
;
background-image
:
url('../../assets/images/boutique/record-bg.png')
;
...
@@ -266,9 +272,9 @@ export default {
...
@@ -266,9 +272,9 @@ export default {
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -283,7 +289,7 @@ export default {
...
@@ -283,7 +289,7 @@ export default {
.nav-title
{
.nav-title
{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
text-align
:
center
;
text-align
:
center
;
line-height
:
100%
;
line-height
:
100%
;
...
@@ -292,9 +298,7 @@ export default {
...
@@ -292,9 +298,7 @@ export default {
}
}
.box
{
.box
{
padding
:
64
rpx
;
padding-top
:
toRpx
(
154
);
margin-top
:
90
rpx
;
.data-tabs-box
{
.data-tabs-box
{
position
:
relative
;
position
:
relative
;
top
:
0
;
top
:
0
;
...
@@ -303,9 +307,9 @@ export default {
...
@@ -303,9 +307,9 @@ export default {
.data-tabs
{
.data-tabs
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
width
:
784
rpx
;
width
:
toRpx
(
784
)
;
height
:
70
rpx
;
height
:
toRpx
(
70
)
;
border-radius
:
370
rpx
;
border-radius
:
toRpx
(
370
)
;
margin
:
0
auto
;
margin
:
0
auto
;
position
:
relative
;
position
:
relative
;
...
@@ -315,7 +319,7 @@ export default {
...
@@ -315,7 +319,7 @@ export default {
background
:
#ffffff
b3
;
background
:
#ffffff
b3
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
border-radius
:
370
rpx
;
border-radius
:
toRpx
(
370
)
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
content
:
''
;
content
:
''
;
...
@@ -323,10 +327,10 @@ export default {
...
@@ -323,10 +327,10 @@ export default {
.tab
{
.tab
{
width
:
50%
;
width
:
50%
;
height
:
70
rpx
;
height
:
toRpx
(
70
)
;
justify-content
:
center
;
justify-content
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
}
}
...
@@ -337,9 +341,9 @@ export default {
...
@@ -337,9 +341,9 @@ export default {
.active-btn
{
.active-btn
{
position
:
absolute
;
position
:
absolute
;
width
:
50%
;
width
:
50%
;
height
:
70
rpx
;
height
:
toRpx
(
70
)
;
background
:
#3b73ff
;
background
:
#3b73ff
;
border-radius
:
360
rpx
;
border-radius
:
toRpx
(
360
)
;
top
:
0
;
top
:
0
;
z-index
:
-1
;
z-index
:
-1
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
...
@@ -355,39 +359,39 @@ export default {
...
@@ -355,39 +359,39 @@ export default {
}
}
}
}
.record-box
{
.record-box
{
height
:
calc
(
100vh
-
250
rpx
);
height
:
calc
(
100vh
-
#{
toRpx
(
224
)}
);
padding-top
:
48
rpx
;
padding-top
:
toRpx
(
48
)
;
}
}
.end-text
{
.end-text
{
color
:
#999
;
color
:
#999
;
text-align
:
center
;
text-align
:
center
;
margin
:
50
rpx
0
;
padding
:
toRpx
(
50
)
0
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
}
}
.list
{
.list
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
grid-template-columns
:
repeat
(
3
,
1
fr
);
gap
:
48
rpx
;
gap
:
toRpx
(
48
)
;
margin
:
0
toRpx
(
64
);
.item
{
.item
{
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
height
:
450
rpx
;
height
:
toRpx
(
450
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
z-index
:
11
;
z-index
:
11
;
.status
{
.status
{
position
:
absolute
;
position
:
absolute
;
top
:
24
rpx
;
top
:
toRpx
(
24
)
;
right
:
32
rpx
;
right
:
toRpx
(
32
)
;
width
:
88
rpx
;
width
:
toRpx
(
88
)
;
height
:
44
rpx
;
height
:
toRpx
(
44
)
;
background
:
#fdece9
;
background
:
#fdece9
;
color
:
#f24724
;
color
:
#f24724
;
border-radius
:
4
rpx
;
border-radius
:
toRpx
(
4
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
justify-content
:
center
;
justify-content
:
center
;
}
}
...
@@ -398,7 +402,7 @@ export default {
...
@@ -398,7 +402,7 @@ export default {
.name
{
.name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#292d33
;
color
:
#292d33
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -408,38 +412,38 @@ export default {
...
@@ -408,38 +412,38 @@ export default {
.goods-name
{
.goods-name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#2c66f7
;
color
:
#2c66f7
;
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
.image-look
{
.image-look
{
width
:
40
rpx
;
width
:
toRpx
(
40
)
;
height
:
40
rpx
;
height
:
toRpx
(
40
)
;
margin-left
:
10
rpx
;
margin-left
:
toRpx
(
10
)
;
}
}
.goods-label
{
.goods-label
{
max-width
:
calc
(
100%
-
180
rpx
);
max-width
:
calc
(
100%
-
#{
toRpx
(
180
)}
);
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
margin-right
:
10
rpx
;
margin-right
:
toRpx
(
10
)
;
}
}
}
}
.image-box
{
.image-box
{
width
:
350
rpx
;
width
:
toRpx
(
350
)
;
height
:
100%
;
height
:
100%
;
position
:
absolute
;
position
:
absolute
;
top
:
0
rpx
;
top
:
0
;
//
opacity
:
0.5
;
//
opacity
:
0.5
;
right
:
0
rpx
;
right
:
0
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
z-index
:
-1
;
z-index
:
-1
;
&.photo
{
&.photo
{
width
:
250
rpx
;
width
:
toRpx
(
250
)
;
}
}
}
}
.box-desc
{
.box-desc
{
padding
:
24
rpx
32
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
32
)
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
...
@@ -452,29 +456,29 @@ export default {
...
@@ -452,29 +456,29 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
width
:
350
rpx
;
width
:
toRpx
(
350
)
;
height
:
100%
;
height
:
100%
;
background
:
linear-gradient
(
to
left
,
rgba
(
255
,
255
,
255
,
0
)
0%
,
rgba
(
255
,
255
,
255
,
1
)
100%
);
background
:
linear-gradient
(
to
left
,
rgba
(
255
,
255
,
255
,
0
)
0%
,
rgba
(
255
,
255
,
255
,
1
)
100%
);
}
}
.info
{
.info
{
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999ea8
;
color
:
#999ea8
;
.label
{
.label
{
width
:
160
rpx
;
width
:
toRpx
(
160
)
;
}
}
.value
{
.value
{
margin-left
:
20
rpx
;
margin-left
:
toRpx
(
20
)
;
color
:
#666666
;
color
:
#666666
;
.image-pay
{
.image-pay
{
width
:
32
rpx
;
width
:
toRpx
(
32
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
&
.bold
{
&
.bold
{
color
:
#22ac38
;
color
:
#22ac38
;
text
{
text
{
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
}
}
}
}
}
}
...
@@ -486,29 +490,29 @@ export default {
...
@@ -486,29 +490,29 @@ export default {
.popup-body
{
.popup-body
{
.tabel-box-header
{
.tabel-box-header
{
width
:
100%
;
width
:
100%
;
margin-top
:
50
rpx
;
margin-top
:
toRpx
(
50
)
;
.tr
{
.tr
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.th
{
.th
{
border
:
1
rpx
solid
#fff
;
border
:
toRpx
(
1
)
solid
#fff
;
color
:
#333333
;
color
:
#333333
;
font-weight
:
500
;
font-weight
:
500
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
line-height
:
96
rpx
;
line-height
:
toRpx
(
96
)
;
background
:
#edf2ff
;
background
:
#edf2ff
;
text-align
:
left
;
text-align
:
left
;
padding-left
:
30
rpx
;
padding-left
:
toRpx
(
30
)
;
&:first-child
{
&:first-child
{
width
:
60%
;
width
:
60%
;
border-radius
:
16
rpx
0
rpx
0
rpx
16
rpx
;
border-radius
:
toRpx
(
16
)
0
0
toRpx
(
16
)
;
}
}
&
:nth-child
(
2
)
{
&
:nth-child
(
2
)
{
width
:
20%
;
width
:
20%
;
}
}
&
:nth-child
(
3
)
{
&
:nth-child
(
3
)
{
width
:
20%
;
width
:
20%
;
border-radius
:
0
rpx
16
rpx
16
rpx
0
rpx
;
border-radius
:
0
toRpx
(
16
)
toRpx
(
16
)
0
;
}
}
}
}
}
}
...
@@ -518,27 +522,27 @@ export default {
...
@@ -518,27 +522,27 @@ export default {
overflow
:
auto
;
overflow
:
auto
;
}
}
.tabel-box
{
.tabel-box
{
margin-top
:
8
rpx
;
margin-top
:
toRpx
(
8
)
;
width
:
100%
;
width
:
100%
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
overflow
:
hidden
;
overflow
:
hidden
;
tr
{
tr
{
border
:
1
rpx
solid
#fff
;
border
:
toRpx
(
1
)
solid
#fff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
&:first-child
{
&:first-child
{
margin-bottom
:
10
rpx
;
margin-bottom
:
toRpx
(
10
)
;
}
}
td
,
td
,
th
{
th
{
border
:
1
rpx
solid
#fff
;
border
:
toRpx
(
1
)
solid
#fff
;
color
:
#333333
;
color
:
#333333
;
font-weight
:
500
;
font-weight
:
500
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background
:
#edf2ff
;
background
:
#edf2ff
;
text-align
:
left
;
text-align
:
left
;
padding-left
:
30
rpx
;
padding-left
:
toRpx
(
30
)
;
border
:
1
rpx
solid
#fff
;
border
:
toRpx
(
1
)
solid
#fff
;
&:first-child
{
&:first-child
{
width
:
60%
;
width
:
60%
;
}
}
...
@@ -550,10 +554,10 @@ export default {
...
@@ -550,10 +554,10 @@ export default {
}
}
}
}
th
{
th
{
border-bottom
:
20
rpx
solid
#fff
;
border-bottom
:
toRpx
(
20
)
solid
#fff
;
}
}
td
{
td
{
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
background
:
#f7f7f7
;
background
:
#f7f7f7
;
}
}
}
}
...
@@ -562,13 +566,13 @@ export default {
...
@@ -562,13 +566,13 @@ export default {
.nothing
{
.nothing
{
width
:
100vw
;
width
:
100vw
;
flex-direction
:
column
;
flex-direction
:
column
;
margin-top
:
112
rpx
;
margin-top
:
toRpx
(
112
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
.icon
{
.icon
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
}
}
</
style
>
</
style
>
pages/boutique/index.vue
View file @
f12effb
...
@@ -348,16 +348,16 @@ export default {
...
@@ -348,16 +348,16 @@ export default {
this
.
recording
=
false
this
.
recording
=
false
},
},
async
start
(
before
=
true
)
{
async
start
(
before
=
true
)
{
const
result
=
await
this
.
$permision
.
requestAndroidPermission
(
//
const result = await this.$permision.requestAndroidPermission(
"android.permission.RECORD_AUDIO"
//
"android.permission.RECORD_AUDIO"
);
//
);
if
(
result
!==
1
)
{
//
if (result !== 1) {
uni
.
showToast
({
//
uni.showToast({
title
:
"为了记录语音通话,请打开录音权限"
,
//
title: "为了记录语音通话,请打开录音权限",
icon
:
"none"
,
//
icon: "none",
});
//
});
return
false
//
return false
}
//
}
if
(
before
)
this
.
clearHistory
();
if
(
before
)
this
.
clearHistory
();
this
.
$refs
.
home
.
startAudio
();
this
.
$refs
.
home
.
startAudio
();
this
.
recording
=
true
this
.
recording
=
true
...
@@ -479,68 +479,68 @@ export default {
...
@@ -479,68 +479,68 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
padding
:
46
rpx
80
rpx
0
0
;
padding
:
toRpx
(
46
)
toRpx
(
80
)
0
0
;
gap
:
0
32
rpx
;
gap
:
0
toRpx
(
32
)
;
z-index
:
2
;
z-index
:
2
;
.item
{
.item
{
height
:
56
rpx
;
height
:
toRpx
(
56
)
;
background
:
#ffffff66
;
background
:
#ffffff66
;
border
:
2
rpx
solid
#ffffff
;
border
:
toRpx
(
2
)
solid
#ffffff
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
backdrop-filter
:
blur
(
4
rpx
);
backdrop-filter
:
blur
(
toRpx
(
4
)
);
padding
:
0
20
rpx
0
8
rpx
;
padding
:
0
toRpx
(
20
)
0
toRpx
(
8
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.icon
{
.icon
{
margin-right
:
4
rpx
;
margin-right
:
toRpx
(
4
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
width
:
56
rpx
;
width
:
toRpx
(
56
)
;
height
:
56
rpx
;
height
:
toRpx
(
56
)
;
}
}
}
}
}
}
.banner-tab-scroll
{
.banner-tab-scroll
{
width
:
1080
rpx
;
width
:
toRpx
(
1080
)
;
position
:
relative
;
position
:
relative
;
.banner-tab-box-content
{
.banner-tab-box-content
{
width
:
100%
;
width
:
100%
;
.block
{
.block
{
width
:
30
rpx
;
width
:
toRpx
(
30
)
;
height
:
100%
;
height
:
100%
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.banner-tab-box
{
.banner-tab-box
{
padding
:
32
rpx
0
20
rpx
;
padding
:
toRpx
(
32
)
0
toRpx
(
20
)
;
height
:
126
rpx
;
height
:
toRpx
(
126
)
;
.banner-item
{
.banner-item
{
position
:
relative
;
position
:
relative
;
flex-shrink
:
0
;
flex-shrink
:
0
;
margin-right
:
40
rpx
;
margin-right
:
toRpx
(
40
)
;
.banner-title
{
.banner-title
{
color
:
#333333
b3
;
color
:
#333333
b3
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
font-weight
:
400
;
font-weight
:
400
;
height
:
30
rpx
;
height
:
toRpx
(
30
)
;
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
opacity
:
0
;
opacity
:
0
;
width
:
0
;
width
:
0
;
}
}
}
}
.has-title
{
.has-title
{
padding-left
:
40
rpx
;
padding-left
:
toRpx
(
40
)
;
.banner-title
{
.banner-title
{
opacity
:
1
;
opacity
:
1
;
width
:
fit-content
;
width
:
fit-content
;
}
}
&
::after
{
&
::after
{
position
:
absolute
;
position
:
absolute
;
width
:
2
rpx
;
width
:
toRpx
(
2
)
;
height
:
32
rpx
;
height
:
toRpx
(
32
)
;
background
:
#cccccc
;
background
:
#cccccc
;
left
:
0
;
left
:
0
;
top
:
42
rpx
;
top
:
toRpx
(
42
)
;
content
:
''
;
content
:
''
;
}
}
}
}
...
@@ -552,9 +552,9 @@ export default {
...
@@ -552,9 +552,9 @@ export default {
}
}
.banner-tab
{
.banner-tab
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#333333
b3
;
color
:
#333333
b3
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
text-align
:
left
;
text-align
:
left
;
...
@@ -568,8 +568,8 @@ export default {
...
@@ -568,8 +568,8 @@ export default {
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
width
:
8
rpx
;
width
:
toRpx
(
8
)
;
height
:
8
rpx
;
height
:
toRpx
(
8
)
;
background
:
#333333
;
background
:
#333333
;
border-radius
:
100%
;
border-radius
:
100%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
...
@@ -577,18 +577,18 @@ export default {
...
@@ -577,18 +577,18 @@ export default {
}
}
@keyframes
show-dot
{
@keyframes
show-dot
{
0
%
{
0
%
{
bottom
:
16
rpx
;
bottom
:
toRpx
(
16
)
;
}
}
100
%
{
100
%
{
bottom
:
-16
rpx
;
bottom
:
toMinusRpx
(
16
)
;
}
}
}
}
}
}
}
}
}
}
.banner-tab-mask
{
.banner-tab-mask
{
width
:
140
rpx
;
width
:
toRpx
(
140
)
;
height
:
calc
(
100%
-
20
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
20
)}
);
opacity
:
1
;
opacity
:
1
;
background
:
linear-gradient
(
270deg
,
#e9edfa
0
%,
#e9edfa00
100
%);
background
:
linear-gradient
(
270deg
,
#e9edfa
0
%,
#e9edfa00
100
%);
position
:
absolute
;
position
:
absolute
;
...
@@ -600,9 +600,9 @@ export default {
...
@@ -600,9 +600,9 @@ export default {
&
::after
{
&
::after
{
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
top
:
282
rpx
;
top
:
toRpx
(
282
)
;
width
:
380
rpx
;
width
:
toRpx
(
380
)
;
height
:
640
rpx
;
height
:
toRpx
(
640
)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
z-index
:
2
;
z-index
:
2
;
pointer-events
:
none
;
pointer-events
:
none
;
...
@@ -612,19 +612,19 @@ export default {
...
@@ -612,19 +612,19 @@ export default {
background-image
:
url('@/assets/images/boutique/index/left.webp')
;
background-image
:
url('@/assets/images/boutique/index/left.webp')
;
}
}
&
::after
{
&
::after
{
right
:
-4
rpx
;
right
:
toMinusRpx
(
4
)
;
background-image
:
url('@/assets/images/boutique/index/right.webp')
;
background-image
:
url('@/assets/images/boutique/index/right.webp')
;
}
}
.swiper
{
.swiper
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
230
rpx
;
top
:
toRpx
(
230
)
;
width
:
100%
;
width
:
100%
;
height
:
698
rpx
;
height
:
toRpx
(
698
)
;
z-index
:
1
;
z-index
:
1
;
&-item
{
&-item
{
position
:
relative
;
position
:
relative
;
padding-top
:
58
rpx
;
padding-top
:
toRpx
(
58
)
;
.config-box
{
.config-box
{
animation
:
show-config-box
1.5s
forwards
;
animation
:
show-config-box
1.5s
forwards
;
width
:
100%
;
width
:
100%
;
...
@@ -646,17 +646,17 @@ export default {
...
@@ -646,17 +646,17 @@ export default {
width
:
auto
;
width
:
auto
;
height
:
auto
;
height
:
auto
;
.config-dots
{
.config-dots
{
width
:
80
rpx
;
width
:
toRpx
(
80
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#ffffff1
a
;
background
:
#ffffff1
a
;
box-shadow
:
inset
0
0
8
rpx
0
#ffffff
e0
;
box-shadow
:
inset
0
0
toRpx
(
8
)
0
#ffffff
e0
;
border-radius
:
100%
;
border-radius
:
100%
;
position
:
relative
;
position
:
relative
;
&::after
{
&::after
{
position
:
absolute
;
position
:
absolute
;
content
:
''
;
content
:
''
;
width
:
40
rpx
;
width
:
toRpx
(
40
)
;
height
:
40
rpx
;
height
:
toRpx
(
40
)
;
background
:
#ffffff
;
background
:
#ffffff
;
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
...
@@ -667,18 +667,18 @@ export default {
...
@@ -667,18 +667,18 @@ export default {
}
}
.config-name
{
.config-name
{
position
:
relative
;
position
:
relative
;
height
:
56
rpx
;
height
:
toRpx
(
56
)
;
background
:
#ffffff66
;
background
:
#ffffff66
;
border
:
2
rpx
solid
#ffffff
;
border
:
toRpx
(
2
)
solid
#ffffff
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
backdrop-filter
:
blur
(
4
rpx
);
backdrop-filter
:
blur
(
toRpx
(
4
)
);
padding
:
0
20
rpx
;
padding
:
0
toRpx
(
20
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.sprite-icon
{
.sprite-icon
{
margin-right
:
8
rpx
;
margin-right
:
toRpx
(
8
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
}
}
...
@@ -695,32 +695,32 @@ export default {
...
@@ -695,32 +695,32 @@ export default {
}
}
}
}
.config-0
{
.config-0
{
top
:
108
rpx
;
top
:
toRpx
(
108
)
;
left
:
962
rpx
;
left
:
toRpx
(
962
)
;
.config-name
{
.config-name
{
left
:
20
rpx
;
left
:
toRpx
(
20
)
;
top
:
-188
rpx
;
top
:
toMinusRpx
(
188
)
;
}
}
}
}
.config-1
{
.config-1
{
top
:
240
rpx
;
top
:
toRpx
(
240
)
;
left
:
262
rpx
;
left
:
toRpx
(
262
)
;
.config-name
{
.config-name
{
left
:
-206
rpx
;
left
:
toMinusRpx
(
206
)
;
top
:
-186
rpx
;
top
:
toMinusRpx
(
186
)
;
}
}
}
}
.config-2
{
.config-2
{
top
:
352
rpx
;
top
:
toRpx
(
352
)
;
left
:
788
rpx
;
left
:
toRpx
(
788
)
;
.config-name
{
.config-name
{
left
:
22
rpx
;
left
:
toRpx
(
22
)
;
top
:
158
rpx
;
top
:
toRpx
(
158
)
;
}
}
}
}
.car-item
{
.car-item
{
width
:
639
rpx
;
width
:
toRpx
(
639
)
;
height
:
320
rpx
;
height
:
toRpx
(
320
)
;
transition
:
all
0.5s
;
transition
:
all
0.5s
;
transform-origin
:
left
center
;
transform-origin
:
left
center
;
}
}
...
@@ -742,25 +742,25 @@ export default {
...
@@ -742,25 +742,25 @@ export default {
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
width
:
2036
rpx
;
width
:
toRpx
(
2036
)
;
height
:
1026
rpx
;
height
:
toRpx
(
1026
)
;
background-image
:
url('@/assets/images/boutique/index/module-bg.webp')
;
background-image
:
url('@/assets/images/boutique/index/module-bg.webp')
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
pointer-events
:
none
;
pointer-events
:
none
;
}
}
.tips
{
.tips
{
position
:
absolute
;
position
:
absolute
;
left
:
32
rpx
;
left
:
toRpx
(
32
)
;
bottom
:
128
rpx
;
bottom
:
toRpx
(
128
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
z-index
:
2
;
z-index
:
2
;
padding-left
:
16
rpx
;
padding-left
:
toRpx
(
16
)
;
&::after
{
&::after
{
content
:
'* '
;
content
:
'* '
;
position
:
absolute
;
position
:
absolute
;
top
:
4
rpx
;
top
:
toRpx
(
4
)
;
left
:
0
;
left
:
0
;
}
}
}
}
...
...
pages/boutique/invitation.vue
View file @
f12effb
<
template
>
<
template
>
<view
class=
"
container
"
>
<view
class=
"
layout
"
>
<wnCanvas
<wnCanvas
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
:drawStatus="penSwitch"
:drawStatus="penSwitch"
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
ref="invitationCanvas"
ref="invitationCanvas"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"bg"
></view>
<view
class=
"bg"
></view>
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"input-box"
>
<view
class=
"input-box"
>
...
@@ -87,6 +88,7 @@
...
@@ -87,6 +88,7 @@
</
template
>
</
template
>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
<MessageBox
<MessageBox
...
@@ -215,7 +217,7 @@ export default {
...
@@ -215,7 +217,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.
container
{
.
layout
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
...
@@ -223,10 +225,14 @@ export default {
...
@@ -223,10 +225,14 @@ export default {
height
:
100vh
;
height
:
100vh
;
background-image
:
linear-gradient
(
180deg
,
#f2f6ff
0%
,
#f7f9ff
100%
);
background-image
:
linear-gradient
(
180deg
,
#f2f6ff
0%
,
#f7f9ff
100%
);
overflow
:
hidden
;
overflow
:
hidden
;
&-content
{
position
:
relative
;
height
:
100%
;
margin
:
$
margin
;
}
.bg
{
.bg
{
width
:
100%
;
width
:
100%
;
height
:
800
rpx
;
height
:
toRpx
(
800
)
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
background-image
:
url('../../assets/images/boutique/record-bg.png')
;
background-image
:
url('../../assets/images/boutique/record-bg.png')
;
...
@@ -236,9 +242,9 @@ export default {
...
@@ -236,9 +242,9 @@ export default {
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -251,7 +257,7 @@ export default {
...
@@ -251,7 +257,7 @@ export default {
}
}
.nav-title
{
.nav-title
{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
text-align
:
center
;
text-align
:
center
;
line-height
:
100%
;
line-height
:
100%
;
...
@@ -259,18 +265,18 @@ export default {
...
@@ -259,18 +265,18 @@ export default {
}
}
}
}
.box
{
.box
{
padding
:
64
rpx
;
padding-top
:
toRpx
(
154
);
margin-top
:
90
rpx
;
.input-box
{
.input-box
{
position
:
relative
;
position
:
relative
;
margin
:
0
toRpx
(
64
);
.input
{
.input
{
padding-left
:
30
rpx
;
padding-left
:
toRpx
(
30
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
width
:
100%
;
width
:
100%
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
text-align
:
center
;
text-align
:
center
;
}
}
.input-tips
{
.input-tips
{
...
@@ -278,7 +284,7 @@ export default {
...
@@ -278,7 +284,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
display
:
flex
;
display
:
flex
;
...
@@ -286,50 +292,51 @@ export default {
...
@@ -286,50 +292,51 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
pointer-events
:
none
;
pointer-events
:
none
;
.icon
{
.icon
{
margin-left
:
12
rpx
;
margin-left
:
toRpx
(
12
)
;
}
}
}
}
.close
{
.close
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
.record-box
{
.record-box
{
height
:
calc
(
100vh
-
250
rpx
);
height
:
calc
(
100vh
-
#{
toRpx
(
224
)}
);
padding-top
:
48
rpx
;
padding-top
:
toRpx
(
48
)
;
}
}
.end-text
{
.end-text
{
color
:
#999
;
color
:
#999
;
text-align
:
center
;
text-align
:
center
;
margin
:
50
rpx
0
;
padding
:
toRpx
(
50
)
0
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
}
}
.list
{
.list
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
grid-template-columns
:
repeat
(
3
,
1
fr
);
gap
:
48
rpx
;
gap
:
toRpx
(
48
);
margin
:
0
toRpx
(
64
);
.item
{
.item
{
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
24
rpx
32
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
32
)
;
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
.status
{
.status
{
position
:
absolute
;
position
:
absolute
;
top
:
24
rpx
;
top
:
toRpx
(
24
)
;
right
:
32
rpx
;
right
:
toRpx
(
32
)
;
padding
:
4
rpx
16
rpx
;
padding
:
toRpx
(
4
)
toRpx
(
16
)
;
border-radius
:
4
rpx
;
border-radius
:
toRpx
(
4
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
justify-content
:
center
;
justify-content
:
center
;
background
:
#fdece9
;
background
:
#fdece9
;
color
:
#f24724
;
color
:
#f24724
;
...
@@ -357,22 +364,22 @@ export default {
...
@@ -357,22 +364,22 @@ export default {
}
}
.name
{
.name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#292d33
;
color
:
#292d33
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
width
:
calc
(
100%
-
140
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
140
)}
);
}
}
.goods-name
{
.goods-name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#2c66f7
;
color
:
#2c66f7
;
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
}
}
.info
{
.info
{
margin-top
:
16
rpx
;
margin-top
:
toRpx
(
16
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999ea8
;
color
:
#999ea8
;
.value
{
.value
{
margin-left
:
auto
;
margin-left
:
auto
;
...
@@ -386,13 +393,13 @@ export default {
...
@@ -386,13 +393,13 @@ export default {
.nothing
{
.nothing
{
width
:
100vw
;
width
:
100vw
;
flex-direction
:
column
;
flex-direction
:
column
;
margin-top
:
112
rpx
;
margin-top
:
toRpx
(
112
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
.icon
{
.icon
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
}
}
</
style
>
</
style
>
pages/boutique/preview.vue
View file @
f12effb
...
@@ -109,12 +109,12 @@ export default {
...
@@ -109,12 +109,12 @@ export default {
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
background
:
#000
;
background
:
#000
;
padding
:
60
rpx
0
rpx
;
padding
:
toRpx
(
60
)
0
;
z-index
:
999
;
z-index
:
999
;
.nav-bar
{
.nav-bar
{
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
margin-bottom
:
50
rpx
;
margin-bottom
:
toRpx
(
50
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.back
{
.back
{
...
@@ -127,14 +127,14 @@ export default {
...
@@ -127,14 +127,14 @@ export default {
.title
{
.title
{
color
:
#fff
;
color
:
#fff
;
flex
:
1
;
flex
:
1
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
font-weight
:
700
;
font-weight
:
700
;
text-align
:
center
;
text-align
:
center
;
}
}
}
}
.popup-body
{
.popup-body
{
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
200
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
200
)}
);
video
{
video
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
pages/common/accountItems.vue
View file @
f12effb
...
@@ -164,8 +164,8 @@ export default {
...
@@ -164,8 +164,8 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.layout
{
.layout
{
padding-top
:
144
rpx
;
padding-top
:
toRpx
(
144
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333
;
color
:
#333
;
letter-spacing
:
0
;
letter-spacing
:
0
;
background
:
#f7f8fa
;
background
:
#f7f8fa
;
...
@@ -183,9 +183,9 @@ export default {
...
@@ -183,9 +183,9 @@ export default {
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
.back
{
.back
{
height
:
100%
;
height
:
100%
;
...
@@ -201,28 +201,28 @@ export default {
...
@@ -201,28 +201,28 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
gap
:
0
166
rpx
;
gap
:
0
toRpx
(
166
)
;
.step-item
{
.step-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#999999
;
color
:
#999999
;
.num
{
.num
{
width
:
56
rpx
;
width
:
toRpx
(
56
)
;
height
:
56
rpx
;
height
:
toRpx
(
56
)
;
position
:
relative
;
position
:
relative
;
padding
:
4
rpx
;
padding
:
toRpx
(
4
)
;
color
:
#ffffff
;
color
:
#ffffff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-right
:
10
rpx
;
margin-right
:
toRpx
(
10
)
;
&::after
{
&::after
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
right
:
0
;
right
:
0
;
border
:
2
rpx
solid
#b1b1b1
;
border
:
toRpx
(
2
)
solid
#b1b1b1
;
content
:
''
;
content
:
''
;
border-radius
:
100%
;
border-radius
:
100%
;
}
}
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
background
:
#b1b1b1
;
background
:
#b1b1b1
;
border-radius
:
100%
;
border-radius
:
100%
;
}
}
...
@@ -253,13 +253,13 @@ export default {
...
@@ -253,13 +253,13 @@ export default {
}
}
.content-box
{
.content-box
{
width
:
81.84%
;
width
:
81.84%
;
height
:
calc
(
100vh
-
404
rpx
);
height
:
calc
(
100vh
-
#{
toRpx
(
404
)}
);
position
:
relative
;
position
:
relative
;
margin
:
48
rpx
auto
0
;
margin
:
toRpx
(
48
)
auto
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
48
rpx
;
padding-top
:
toRpx
(
48
)
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
background
:
#ffffff59
;
background
:
#ffffff59
;
&
::after
{
&
::after
{
position
:
absolute
;
position
:
absolute
;
...
@@ -269,25 +269,25 @@ export default {
...
@@ -269,25 +269,25 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#ffffff59
;
background
:
#ffffff59
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
filter
:
blur
(
8
rpx
);
filter
:
blur
(
toRpx
(
8
)
);
}
}
}
}
.search-box
{
.search-box
{
margin
:
0
48
rpx
48
rpx
;
margin
:
0
toRpx
(
48
)
toRpx
(
48
)
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
.search-input
{
.search-input
{
width
:
100%
;
width
:
100%
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#333
;
color
:
#333
;
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
position
:
relative
;
position
:
relative
;
.input
{
.input
{
display
:
flex
;
display
:
flex
;
...
@@ -296,13 +296,13 @@ export default {
...
@@ -296,13 +296,13 @@ export default {
width
:
100%
;
width
:
100%
;
justify-content
:
center
;
justify-content
:
center
;
text-align
:
center
;
text-align
:
center
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
.icon-search
{
.icon-search
{
margin-left
:
16
rpx
;
margin-left
:
toRpx
(
16
)
;
}
}
.placeholder
{
.placeholder
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
}
}
}
}
...
@@ -311,7 +311,7 @@ export default {
...
@@ -311,7 +311,7 @@ export default {
top
:
50%
;
top
:
50%
;
right
:
0
;
right
:
0
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -320,14 +320,14 @@ export default {
...
@@ -320,14 +320,14 @@ export default {
.list
{
.list
{
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
height
:
calc
(
100%
-
176
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
176
)}
);
&
::-webkit-scrollbar
{
&
::-webkit-scrollbar
{
background-color
:
#ffffff59
!important
;
background-color
:
#ffffff59
!important
;
}
}
&
::-webkit-scrollbar-thumb
{
&
::-webkit-scrollbar-thumb
{
width
:
8
rpx
;
width
:
toRpx
(
8
)
;
background-color
:
#fff
!important
;
background-color
:
#fff
!important
;
border-radius
:
4
rpx
;
border-radius
:
toRpx
(
4
)
;
}
}
}
}
}
}
...
...
pages/common/caseDetail.vue
View file @
f12effb
...
@@ -396,19 +396,19 @@ export default {
...
@@ -396,19 +396,19 @@ export default {
height
:
100vh
;
height
:
100vh
;
background-image
:
linear-gradient
(
0deg
,
#eef3ff
0%
,
#f3f6ff
100%
);
background-image
:
linear-gradient
(
0deg
,
#eef3ff
0%
,
#f3f6ff
100%
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
176
rpx
;
padding-top
:
toRpx
(
176
)
;
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
line-height
:
96
rpx
;
line-height
:
toRpx
(
96
)
;
.back
{
.back
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -421,29 +421,29 @@ export default {
...
@@ -421,29 +421,29 @@ export default {
}
}
}
}
.case-content
{
.case-content
{
height
:
calc
(
100vh
-
176
rpx
);
height
:
calc
(
100vh
-
#{
toRpx
(
176
)}
);
position
:
relative
;
position
:
relative
;
.left-menu
{
.left-menu
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
64
rpx
;
left
:
toRpx
(
64
)
;
width
:
480
rpx
;
width
:
toRpx
(
480
)
;
height
:
1296
rpx
;
height
:
toRpx
(
1296
)
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
background-color
:
#fff
;
background-color
:
#fff
;
background-image
:
url('@/assets/images/common/left-menu.webp')
;
background-image
:
url('@/assets/images/common/left-menu.webp')
;
background-size
:
100%
;
background-size
:
100%
;
.title
{
.title
{
padding
:
48
rpx
48
rpx
32
rpx
;
padding
:
toRpx
(
48
)
toRpx
(
48
)
toRpx
(
32
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
56
rpx
;
line-height
:
toRpx
(
56
)
;
}
}
.scroll
{
.scroll
{
height
:
calc
(
100%
-
184
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
184
)}
);
padding-left
:
48
rpx
;
padding-left
:
toRpx
(
48
)
;
&
-content
{
&
-content
{
position
:
relative
;
position
:
relative
;
&::after
{
&::after
{
...
@@ -451,7 +451,7 @@ export default {
...
@@ -451,7 +451,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
width
:
6
rpx
;
width
:
toRpx
(
6
)
;
height
:
100%
;
height
:
100%
;
background
:
#0000001
a
;
background
:
#0000001
a
;
}
}
...
@@ -459,32 +459,32 @@ export default {
...
@@ -459,32 +459,32 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
width
:
6
rpx
;
width
:
toRpx
(
6
)
;
height
:
40
rpx
;
height
:
toRpx
(
40
)
;
background-image
:
linear-gradient
(
173deg
,
#75bcff
6%
,
#2c66f7
100%
);
background-image
:
linear-gradient
(
173deg
,
#75bcff
6%
,
#2c66f7
100%
);
box-shadow
:
0
8
rpx
16
rpx
0
#2c66f759
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
16
)
0
#2c66f759
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
}
}
}
}
.item
{
.item
{
padding
:
0
20
rpx
0
30
rpx
;
padding
:
0
toRpx
(
20
)
0
toRpx
(
30
)
;
.name
{
.name
{
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#333333
b3
;
color
:
#333333
b3
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
padding-bottom
:
48
rpx
;
padding-bottom
:
toRpx
(
48
)
;
.text
{
.text
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
}
}
.icon
{
.icon
{
width
:
6
rpx
;
width
:
toRpx
(
6
)
;
height
:
6
rpx
;
height
:
toRpx
(
6
)
;
border-radius
:
100%
;
border-radius
:
100%
;
background
:
#33333399
;
background
:
#33333399
;
margin
:
0
12
rpx
;
margin
:
0
toRpx
(
12
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
}
}
...
@@ -499,59 +499,59 @@ export default {
...
@@ -499,59 +499,59 @@ export default {
&
:first-child
{
&
:first-child
{
.name
{
.name
{
&:first-child
{
&:first-child
{
padding-top
:
16
rpx
;
padding-top
:
toRpx
(
16
)
;
}
}
}
}
}
}
.last
{
.last
{
padding-bottom
:
16
rpx
;
padding-bottom
:
toRpx
(
16
)
;
}
}
}
}
}
}
}
}
.right-content
{
.right-content
{
width
:
calc
(
100%
-
624
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
624
)}
);
height
:
100
%;
height
:
100
%;
margin-left
:
624
rpx
;
margin-left
:
toRpx
(
624
)
;
/
deep
/
.uni-scroll-view-content
{
/
deep
/
.uni-scroll-view-content
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.detail-item
{
.detail-item
{
padding-right
:
64
rpx
;
padding-right
:
toRpx
(
64
)
;
.item-title
{
.item-title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
56
rpx
;
line-height
:
toRpx
(
56
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
.sub-item-title
{
.sub-item-title
{
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
line-height
:
48
rpx
;
line-height
:
toRpx
(
48
)
;
&::before
{
&::before
{
content
:
''
;
content
:
''
;
width
:
8
rpx
;
width
:
toRpx
(
8
)
;
height
:
8
rpx
;
height
:
toRpx
(
8
)
;
border-radius
:
100%
;
border-radius
:
100%
;
background
:
#333
;
background
:
#333
;
margin
:
0
16
rpx
;
margin
:
0
toRpx
(
16
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
}
}
.item-content
{
.item-content
{
color
:
#333333
e6
;
color
:
#333333
e6
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
}
}
.picture
{
.picture
{
width
:
1360
rpx
;
width
:
toRpx
(
1360
)
;
margin
:
0
auto
24
rpx
;
margin
:
0
auto
toRpx
(
24
)
;
min-height
:
100
rpx
;
min-height
:
toRpx
(
100
)
;
}
}
.item-img
{
.item-img
{
display
:
block
;
display
:
block
;
...
@@ -563,8 +563,8 @@ export default {
...
@@ -563,8 +563,8 @@ export default {
text-align
:
center
;
text-align
:
center
;
color
:
#999
;
color
:
#999
;
text-align
:
center
;
text-align
:
center
;
padding
:
24
rpx
64
rpx
24
rpx
0
;
padding
:
toRpx
(
24
)
toRpx
(
64
)
toRpx
(
24
)
0
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
margin-top
:
auto
;
margin-top
:
auto
;
}
}
}
}
...
...
pages/common/components/AccountList.vue
View file @
f12effb
...
@@ -153,19 +153,19 @@ export default {
...
@@ -153,19 +153,19 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
gap
:
48
rpx
;
gap
:
toRpx
(
48
)
;
.items
{
.items
{
width
:
calc
(
50%
-
24
rpx
);
width
:
calc
(
50%
-
#{
toRpx
(
24
)}
);
height
:
160
rpx
;
height
:
toRpx
(
160
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
padding
:
32
rpx
;
padding
:
toRpx
(
32
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
4
rpx
solid
transparent
;
border
:
toRpx
(
4
)
solid
transparent
;
.left
{
.left
{
width
:
65%
;
width
:
65%
;
display
:
flex
;
display
:
flex
;
...
@@ -176,13 +176,13 @@ export default {
...
@@ -176,13 +176,13 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#181a1f
;
color
:
#181a1f
;
}
}
.shop_no
{
.shop_no
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
margin-top
:
12
rpx
;
margin-top
:
toRpx
(
12
)
;
color
:
#999ea8
;
color
:
#999ea8
;
}
}
}
}
...
@@ -191,12 +191,12 @@ export default {
...
@@ -191,12 +191,12 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.midle
{
.midle
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
font-weight
:
700
;
font-weight
:
700
;
width
:
96
rpx
;
width
:
toRpx
(
96
)
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
margin-right
:
28
rpx
;
margin-right
:
toRpx
(
28
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -227,13 +227,13 @@ export default {
...
@@ -227,13 +227,13 @@ export default {
background-color
:
#35c3761
a
;
background-color
:
#35c3761
a
;
}
}
.icon
{
.icon
{
width
:
40
rpx
;
width
:
toRpx
(
40
)
;
height
:
40
rpx
;
height
:
toRpx
(
40
)
;
}
}
}
}
}
}
.active
{
.active
{
border
:
4
rpx
solid
#347bff
;
border
:
toRpx
(
4
)
solid
#347bff
;
}
}
}
}
</
style
>
</
style
>
pages/common/components/AudioComponent.vue
View file @
f12effb
...
@@ -107,29 +107,29 @@ export default {
...
@@ -107,29 +107,29 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.audio-box
{
.audio-box
{
width
:
1120
rpx
;
width
:
toRpx
(
1120
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background-image
:
url('@/assets/images/common/audio-bg.webp')
;
background-image
:
url('@/assets/images/common/audio-bg.webp')
;
background-size
:
100%
;
background-size
:
100%
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
.sprite-icon
{
.sprite-icon
{
margin-right
:
16
rpx
;
margin-right
:
toRpx
(
16
)
;
}
}
.progress-box
{
.progress-box
{
width
:
796
rpx
;
width
:
toRpx
(
796
)
;
margin
:
0
!important
;
margin
:
0
!important
;
/deep/.uni-slider-track
{
/deep/.uni-slider-track
{
background-image
:
linear-gradient
(
90deg
,
#2c66f7
0%
,
#75bcff
100%
);
background-image
:
linear-gradient
(
90deg
,
#2c66f7
0%
,
#75bcff
100%
);
}
}
/
deep
/
.uni-slider-thumb
{
/
deep
/
.uni-slider-thumb
{
&::after
{
&::after
{
width
:
14
rpx
;
width
:
toRpx
(
14
)
;
height
:
14
rpx
;
height
:
toRpx
(
14
)
;
border
:
2
rpx
solid
#f4f4f4
;
border
:
toRpx
(
2
)
solid
#f4f4f4
;
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
...
...
pages/common/components/MerchantList.vue
View file @
f12effb
...
@@ -157,38 +157,38 @@ export default {
...
@@ -157,38 +157,38 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
gap
:
48
rpx
;
gap
:
toRpx
(
48
)
;
.items
{
.items
{
width
:
calc
(
50%
-
24
rpx
);
width
:
calc
(
50%
-
#{
toRpx
(
24
)}
);
height
:
160
rpx
;
height
:
toRpx
(
160
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
padding
:
32
rpx
;
padding
:
toRpx
(
32
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
4
rpx
solid
transparent
;
border
:
toRpx
(
4
)
solid
transparent
;
.right
{
.right
{
margin-right
:
28
rpx
;
margin-right
:
toRpx
(
28
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.left
{
.left
{
flex
:
1
;
flex
:
1
;
.name
{
.name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#181a1f
;
color
:
#181a1f
;
margin-bottom
:
12
rpx
;
margin-bottom
:
toRpx
(
12
)
;
}
}
.text_no
{
.text_no
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999ea8
;
color
:
#999ea8
;
}
}
}
}
}
}
.active
{
.active
{
border
:
4
rpx
solid
#347bff
;
border
:
toRpx
(
4
)
solid
#347bff
;
}
}
}
}
</
style
>
</
style
>
pages/common/components/NoData.vue
View file @
f12effb
...
@@ -24,14 +24,14 @@ export default {
...
@@ -24,14 +24,14 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.list-not
{
.list-not
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
margin
:
auto
;
margin
:
auto
;
text-align
:
center
;
text-align
:
center
;
&-img
{
&-img
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin
:
192
rpx
auto
24
rpx
;
margin
:
toRpx
(
192
)
auto
toRpx
(
24
)
;
display
:
block
;
display
:
block
;
}
}
}
}
...
...
pages/common/components/PackagePopup.vue
View file @
f12effb
...
@@ -134,19 +134,19 @@ export default {
...
@@ -134,19 +134,19 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.search-box
{
.search-box
{
margin
:
32
rpx
0
;
margin
:
toRpx
(
32
)
0
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
.search-input
{
.search-input
{
width
:
100%
;
width
:
100%
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#333
;
color
:
#333
;
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
position
:
relative
;
position
:
relative
;
.input
{
.input
{
display
:
flex
;
display
:
flex
;
...
@@ -155,13 +155,13 @@ export default {
...
@@ -155,13 +155,13 @@ export default {
width
:
100%
;
width
:
100%
;
justify-content
:
center
;
justify-content
:
center
;
text-align
:
center
;
text-align
:
center
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
.icon-search
{
.icon-search
{
margin-left
:
16
rpx
;
margin-left
:
toRpx
(
16
)
;
}
}
.placeholder
{
.placeholder
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
}
}
}
}
...
@@ -170,31 +170,31 @@ export default {
...
@@ -170,31 +170,31 @@ export default {
top
:
50%
;
top
:
50%
;
right
:
0
;
right
:
0
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
}
}
.select-box
{
.select-box
{
margin
:
32
rpx
0
;
margin
:
toRpx
(
32
)
0
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
32
rpx
;
gap
:
toRpx
(
32
)
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
max-height
:
50vh
;
max-height
:
50vh
;
padding-bottom
:
60
rpx
;
padding-bottom
:
toRpx
(
60
)
;
.select-item
{
.select-item
{
text-align
:
center
;
text-align
:
center
;
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
line-height
:
68
rpx
;
line-height
:
toRpx
(
68
)
;
opacity
:
1
;
opacity
:
1
;
border
:
2
rpx
solid
#dce0e6
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
color
:
#292d33
;
color
:
#292d33
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
&.checked
{
&.checked
{
border
:
2
rpx
solid
#292d33
;
border
:
toRpx
(
2
)
solid
#292d33
;
}
}
}
}
}
}
...
...
pages/common/components/Scene.vue
View file @
f12effb
...
@@ -147,38 +147,38 @@ export default {
...
@@ -147,38 +147,38 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
gap
:
48
rpx
;
gap
:
toRpx
(
48
)
;
.items
{
.items
{
width
:
calc
(
50%
-
24
rpx
);
width
:
calc
(
50%
-
#{
toRpx
(
24
)}
);
height
:
160
rpx
;
height
:
toRpx
(
160
)
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
padding
:
32
rpx
;
padding
:
toRpx
(
32
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
4
rpx
solid
transparent
;
border
:
toRpx
(
4
)
solid
transparent
;
.left
{
.left
{
margin-right
:
28
rpx
;
margin-right
:
toRpx
(
28
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.right
{
.right
{
flex
:
1
;
flex
:
1
;
.name
{
.name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#181a1f
;
color
:
#181a1f
;
margin-bottom
:
12
rpx
;
margin-bottom
:
toRpx
(
12
)
;
}
}
.shop_no
{
.shop_no
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999ea8
;
color
:
#999ea8
;
}
}
}
}
}
}
.active
{
.active
{
border
:
4
rpx
solid
#347bff
;
border
:
toRpx
(
4
)
solid
#347bff
;
}
}
}
}
</
style
>
</
style
>
pages/common/customerDetail.vue
View file @
f12effb
...
@@ -297,19 +297,19 @@ export default {
...
@@ -297,19 +297,19 @@ export default {
background-image
:
url('@/assets/images/common/page-bg.webp')
;
background-image
:
url('@/assets/images/common/page-bg.webp')
;
background-size
:
100%
;
background-size
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
160
rpx
;
padding-top
:
toRpx
(
160
)
;
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
line-height
:
96
rpx
;
line-height
:
toRpx
(
96
)
;
.back
{
.back
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -322,62 +322,62 @@ export default {
...
@@ -322,62 +322,62 @@ export default {
}
}
}
}
.box
{
.box
{
width
:
2218
rpx
;
width
:
toRpx
(
2218
)
;
background
:
#ffffff59
;
background
:
#ffffff59
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
backdrop-filter
:
blur
(
8
rpx
);
backdrop-filter
:
blur
(
toRpx
(
8
)
);
margin
:
0
auto
;
margin
:
0
auto
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.title
{
.title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#333333
;
color
:
#333333
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
padding
:
32
rpx
48
rpx
28
rpx
;
padding
:
toRpx
(
32
)
toRpx
(
48
)
toRpx
(
28
)
;
.search-btn
{
.search-btn
{
margin-left
:
auto
;
margin-left
:
auto
;
position
:
relative
;
position
:
relative
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
border
:
16
rpx
solid
transparent
;
border
:
toRpx
(
16
)
solid
transparent
;
border-left-width
:
12
rpx
;
border-left-width
:
toRpx
(
12
)
;
border-right-width
:
12
rpx
;
border-right-width
:
toRpx
(
12
)
;
border-top-color
:
#000000
e6
;
border-top-color
:
#000000
e6
;
position
:
relative
;
position
:
relative
;
top
:
8
rpx
;
top
:
toRpx
(
8
)
;
margin-left
:
20
rpx
;
margin-left
:
toRpx
(
20
)
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
}
}
}
}
.arrow-popup
{
.arrow-popup
{
&::after
{
&::after
{
transform
:
rotate
(
180deg
);
transform
:
rotate
(
180deg
);
top
:
-8
rpx
;
top
:
toMinusRpx
(
8
)
;
}
}
}
}
}
}
}
}
.customer-box
{
.customer-box
{
height
:
292
rpx
;
height
:
toRpx
(
292
)
;
margin-bottom
:
32
rpx
;
margin-bottom
:
toRpx
(
32
)
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
.customer-info
{
.customer-info
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
gap
:
12
rpx
38
rpx
;
gap
:
toRpx
(
12
)
toRpx
(
38
)
;
.item
{
.item
{
width
:
1042
rpx
;
width
:
toRpx
(
1042
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
position
:
relative
;
position
:
relative
;
.label
{
.label
{
color
:
#292d3399
;
color
:
#292d3399
;
width
:
160
rpx
;
width
:
toRpx
(
160
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.value
{
.value
{
...
@@ -385,22 +385,22 @@ export default {
...
@@ -385,22 +385,22 @@ export default {
}
}
.icon-customer-detail
{
.icon-customer-detail
{
flex-shrink
:
0
;
flex-shrink
:
0
;
margin-left
:
16
rpx
;
margin-left
:
toRpx
(
16
)
;
}
}
.tooltip-box
{
.tooltip-box
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
60
rpx
;
top
:
toRpx
(
60
)
;
width
:
792
rpx
;
width
:
toRpx
(
792
)
;
background
:
#ffffff
cc
;
background
:
#ffffff
cc
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
backdrop-filter
:
blur
(
8
rpx
);
backdrop-filter
:
blur
(
toRpx
(
8
)
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
24
rpx
28
rpx
;
padding
:
toRpx
(
24
)
toRpx
(
28
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
max-height
:
50vh
;
max-height
:
50vh
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
word-break
:
break-all
;
word-break
:
break-all
;
...
@@ -409,19 +409,19 @@ export default {
...
@@ -409,19 +409,19 @@ export default {
}
}
}
}
.case-box
{
.case-box
{
height
:
1020
rpx
;
height
:
toRpx
(
1020
)
;
padding
:
0
!important
;
padding
:
0
!important
;
.case-scroll-box
{
.case-scroll-box
{
height
:
calc
(
100%
-
104
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
104
)}
);
}
}
.case-list
{
.case-list
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
32
rpx
46
rpx
;
gap
:
toRpx
(
32
)
toRpx
(
46
)
;
padding
:
0
48
rpx
;
padding
:
0
toRpx
(
48
)
;
.case-item
{
.case-item
{
width
:
496
rpx
;
width
:
toRpx
(
496
)
;
height
:
588
rpx
;
height
:
toRpx
(
588
)
;
}
}
}
}
}
}
...
@@ -429,13 +429,13 @@ export default {
...
@@ -429,13 +429,13 @@ export default {
.nothing
{
.nothing
{
width
:
100%
;
width
:
100%
;
flex-direction
:
column
;
flex-direction
:
column
;
margin-top
:
112
rpx
;
margin-top
:
toRpx
(
112
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#999999
;
color
:
#999999
;
.icon
{
.icon
{
width
:
676
rpx
;
width
:
toRpx
(
676
)
;
height
:
284
rpx
;
height
:
toRpx
(
284
)
;
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
background-image
:
url('@/assets/images/home/nothing.webp')
;
background-image
:
url('@/assets/images/home/nothing.webp')
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
...
@@ -445,7 +445,7 @@ export default {
...
@@ -445,7 +445,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
color
:
#999
;
color
:
#999
;
text-align
:
center
;
text-align
:
center
;
padding
:
50
rpx
0
;
padding
:
toRpx
(
50
)
0
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
}
}
</
style
>
</
style
>
pages/common/login.vue
View file @
f12effb
...
@@ -223,61 +223,61 @@ export default {
...
@@ -223,61 +223,61 @@ export default {
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
.title
{
.title
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
96
rpx
;
font-size
:
toRpx
(
96
)
;
color
:
#333333
;
color
:
#333333
;
text-align
:
center
;
text-align
:
center
;
}
}
.sub-title
{
.sub-title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
margin
:
46
rpx
0
;
margin
:
toRpx
(
46
)
0
;
}
}
.input
{
.input
{
width
:
800
rpx
;
width
:
toRpx
(
800
)
;
height
:
112
rpx
;
height
:
toRpx
(
112
)
;
background
:
#f7f8fa
;
background
:
#f7f8fa
;
border-radius
:
56
rpx
;
border-radius
:
toRpx
(
56
)
;
margin-bottom
:
40
rpx
;
margin-bottom
:
toRpx
(
40
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
40
rpx
;
padding-left
:
toRpx
(
40
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
input
{
input
{
height
:
100%
;
height
:
100%
;
flex
:
1
;
flex
:
1
;
font-size
:
32
rpx
!important
;
font-size
:
toRpx
(
32
)
!important
;
}
}
.icon
{
.icon
{
margin-left
:
auto
;
margin-left
:
auto
;
flex-shrink
:
0
;
flex-shrink
:
0
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
0
40
rpx
;
padding
:
0
toRpx
(
40
)
;
height
:
100%
;
height
:
100%
;
}
}
.code-btn
{
.code-btn
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#2c66f7
;
color
:
#2c66f7
;
flex-shrink
:
0
;
flex-shrink
:
0
;
border
:
none
;
border
:
none
;
margin-right
:
40
rpx
;
margin-right
:
toRpx
(
40
)
;
}
}
.code-disabled
{
.code-disabled
{
color
:
#9b9b9e
;
color
:
#9b9b9e
;
}
}
}
}
.btn
{
.btn
{
width
:
800
rpx
;
width
:
toRpx
(
800
)
;
height
:
112
rpx
;
height
:
toRpx
(
112
)
;
background-image
:
linear-gradient
(
90deg
,
#48a6ff
0%
,
#2c66f7
100%
);
background-image
:
linear-gradient
(
90deg
,
#48a6ff
0%
,
#2c66f7
100%
);
border-radius
:
56
rpx
;
border-radius
:
toRpx
(
56
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
font-weight
:
600
;
font-weight
:
600
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
color
:
#ffffff
;
color
:
#ffffff
;
}
}
.btn
[
disabled
]
:not
([
type
]),
.btn
[
disabled
]
:not
([
type
]),
...
@@ -287,17 +287,17 @@ export default {
...
@@ -287,17 +287,17 @@ export default {
.form-footer
{
.form-footer
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
40
rpx
;
margin-top
:
toRpx
(
40
)
;
flex-direction
:
column
;
flex-direction
:
column
;
gap
:
38
rpx
0
;
gap
:
toRpx
(
38
)
0
;
padding-left
:
142
rpx
;
padding-left
:
toRpx
(
142
)
;
.autoLogin
{
.autoLogin
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-right
:
20
rpx
;
margin-right
:
toRpx
(
20
)
;
.uni-icons
{
.uni-icons
{
margin-right
:
8
rpx
;
margin-right
:
toRpx
(
8
)
;
//
margin-left
:
142
rpx
;
//
margin-left
:
toRpx
(
142
)
;
}
}
text
{
text
{
color
:
#2c66f7
;
color
:
#2c66f7
;
...
@@ -307,16 +307,16 @@ export default {
...
@@ -307,16 +307,16 @@ export default {
}
}
.app-code
{
.app-code
{
position
:
fixed
;
position
:
fixed
;
bottom
:
20
rpx
;
bottom
:
toRpx
(
20
)
;
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
);
transform
:
translate
(
-50%
);
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999999
;
color
:
#999999
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.icon-clone
{
.icon-clone
{
width
:
24
rpx
;
width
:
toRpx
(
24
)
;
height
:
24
rpx
;
height
:
toRpx
(
24
)
;
margin-left
:
20
rpx
;
margin-left
:
toRpx
(
20
)
;
}
}
}
}
</
style
>
</
style
>
pages/equity/detail/components/Guarantee.vue
View file @
f12effb
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
@scale="$emit('scale',$event)"
@scale="$emit('scale',$event)"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"container-left"
>
<view
class=
"container-left"
>
...
@@ -77,6 +78,7 @@
...
@@ -77,6 +78,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
</wnCanvas>
</wnCanvas>
<partsPop
<partsPop
...
@@ -146,21 +148,27 @@ export default {
...
@@ -146,21 +148,27 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.layout
{
.layout
{
width
:
100vw
;
width
:
100%
;
height
:
100vh
;
height
:
100%
;
&-content
{
margin
:
$
margin
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
background-image
:
url('@/assets/images/media/media-bg.webp')
;
background-image
:
url('@/assets/images/media/media-bg.webp')
;
background-size
:
100%
;
background-size
:
100%
;
}
//
padding
:
0
calc
((
100vw
-
#
{
$detailVW
}
)
/
2
);
//
box-sizing
:
border-box
;
.title
{
.title
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
112
rpx
;
top
:
toRpx
(
112
)
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
letter-spacing
:
4
rpx
;
letter-spacing
:
toRpx
(
4
)
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
text-align
:
center
;
text-align
:
center
;
width
:
100%
;
width
:
100%
;
z-index
:
2
;
z-index
:
2
;
...
@@ -168,13 +176,12 @@ export default {
...
@@ -168,13 +176,12 @@ export default {
.container
{
.container
{
display
:
flex
;
display
:
flex
;
padding
:
248
rpx
80
rpx
0
;
padding
:
toRpx
(
248
)
toRpx
(
80
)
0
;
column-gap
:
64
rpx
;
column-gap
:
toRpx
(
64
);
&-left
{
&-left
{
position
:
relative
;
position
:
relative
;
column-gap
:
16
rpx
;
column-gap
:
toRpx
(
16
)
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
.image-container
{
.image-container
{
font-size
:
0
;
font-size
:
0
;
...
@@ -204,14 +211,14 @@ export default {
...
@@ -204,14 +211,14 @@ export default {
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
color
:
#ffffff
;
color
:
#ffffff
;
width
:
100%
;
width
:
100%
;
height
:
122
rpx
;
height
:
toRpx
(
122
)
;
padding
:
44
rpx
22
rpx
22
rpx
;
padding
:
toRpx
(
44
)
toRpx
(
22
)
toRpx
(
22
)
;
background-image
:
linear-gradient
(
180deg
,
#00000000
0%
,
#000000
100%
);
background-image
:
linear-gradient
(
180deg
,
#00000000
0%
,
#000000
100%
);
border-radius
:
0
0
24
rpx
24
rpx
;
border-radius
:
0
0
toRpx
(
24
)
toRpx
(
24
)
;
line-height
:
66
rpx
;
line-height
:
toRpx
(
66
)
;
}
}
.details-container
{
.details-container
{
...
@@ -221,15 +228,15 @@ export default {
...
@@ -221,15 +228,15 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
}
}
.details-section
{
.details-section
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
color
:
#ffffff
;
color
:
#ffffff
;
padding
:
24
rpx
;
padding
:
toRpx
(
24
)
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
background-image
:
linear-gradient
(
180deg
,
#21425c
b3
0%
,
#4a84f9
68%
);
background-image
:
linear-gradient
(
180deg
,
#21425c
b3
0%
,
#4a84f9
68%
);
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -237,12 +244,12 @@ export default {
...
@@ -237,12 +244,12 @@ export default {
transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
);
.section-title
{
.section-title
{
font-size
:
30
rpx
;
font-size
:
toRpx
(
30
)
;
}
}
.section-description
{
.section-description
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
margin-top
:
12
rpx
;
margin-top
:
toRpx
(
12
)
;
}
}
}
}
...
@@ -256,47 +263,47 @@ export default {
...
@@ -256,47 +263,47 @@ export default {
}
}
&
-right
{
&
-right
{
width
:
336
rpx
;
width
:
toRpx
(
336
)
;
.serice-image
{
.serice-image
{
width
:
336
rpx
;
width
:
toRpx
(
336
)
;
height
:
280
rpx
;
height
:
toRpx
(
280
)
;
}
}
.ul
{
.ul
{
width
:
100%
;
width
:
100%
;
border
:
4
rpx
solid
#fdfdff
;
border
:
toRpx
(
4
)
solid
#fdfdff
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
margin-top
:
36
rpx
;
margin-top
:
toRpx
(
36
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
&-title
{
&-title
{
background-color
:
#4a84f9
;
background-color
:
#4a84f9
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
24
rpx
24
rpx
0
0
;
border-radius
:
toRpx
(
24
)
toRpx
(
24
)
0
0
;
height
:
88
rpx
;
height
:
toRpx
(
88
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#ffffff
;
color
:
#ffffff
;
line-height
:
88
rpx
;
line-height
:
toRpx
(
88
)
;
text-align
:
center
;
text-align
:
center
;
}
}
.li-item
{
.li-item
{
width
:
100%
;
width
:
100%
;
height
:
128
rpx
;
height
:
toRpx
(
128
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
padding-left
:
40
rpx
;
padding-left
:
toRpx
(
40
)
;
//
margin-bottom
:
4
rpx
;
//
margin-bottom
:
toRpx
(
4
)
;
border
:
2
rpx
solid
#fdfdff
;
border
:
toRpx
(
2
)
solid
#fdfdff
;
.li-number
{
.li-number
{
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
margin-right
:
12
rpx
;
margin-right
:
toRpx
(
12
)
;
font-family
:
'number-400'
font-family
:
'number-400'
;
}
}
.li-content
{
.li-content
{
...
@@ -309,13 +316,13 @@ export default {
...
@@ -309,13 +316,13 @@ export default {
}
}
.icon-arrow
{
.icon-arrow
{
margin-left
:
6
rpx
;
margin-left
:
toRpx
(
6
)
;
}
}
}
}
.li-value
{
.li-value
{
margin-top
:
8
rpx
;
margin-top
:
toRpx
(
8
)
;
font-size
:
22
rpx
;
font-size
:
toRpx
(
22
)
;
color
:
#1462ff
;
color
:
#1462ff
;
}
}
...
@@ -328,8 +335,8 @@ export default {
...
@@ -328,8 +335,8 @@ export default {
}
}
&
:last-child
{
&
:last-child
{
border-radius
:
0
0
24
rpx
24
rpx
;
border-radius
:
0
0
toRpx
(
24
)
toRpx
(
24
)
;
height
:
140
rpx
;
height
:
toRpx
(
140
)
;
}
}
}
}
}
}
...
@@ -338,16 +345,16 @@ export default {
...
@@ -338,16 +345,16 @@ export default {
}
}
.m-r-b
{
.m-r-b
{
margin-right
:
16
rpx
;
margin-right
:
toRpx
(
16
)
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
}
}
.m-b
{
.m-b
{
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
}
}
.m-r
{
.m-r
{
margin-right
:
16
rpx
;
margin-right
:
toRpx
(
16
)
;
}
}
//
动画效果
//
动画效果
...
@@ -374,10 +381,10 @@ export default {
...
@@ -374,10 +381,10 @@ export default {
.byd-layout
{
.byd-layout
{
.li-item
{
.li-item
{
padding-left
:
20
rpx
!important
;
padding-left
:
toRpx
(
20
)
!important
;
}
}
.li-item-content
{
.li-item-content
{
font-size
:
26
rpx
!important
;
font-size
:
toRpx
(
26
)
!important
;
}
}
}
}
</
style
>
</
style
>
pages/equity/detail/components/History.vue
View file @
f12effb
...
@@ -185,16 +185,16 @@ export default {
...
@@ -185,16 +185,16 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.layout
{
.layout
{
width
:
100vw
;
height
:
100%
;
height
:
100vh
;
position
:
relative
;
position
:
relative
;
background-image
:
url('@/assets/images/media/media-bg.webp')
;
background-image
:
url('@/assets/images/media/media-bg.webp')
;
background-size
:
100%
;
background-size
:
100%
;
position
:
relative
;
position
:
relative
;
margin
:
$
margin
;
.tabs-box
{
.tabs-box
{
width
:
1160
rpx
;
width
:
toRpx
(
1160
)
;
position
:
absolute
;
position
:
absolute
;
top
:
228
rpx
;
top
:
toRpx
(
228
)
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
z-index
:
100
;
z-index
:
100
;
...
@@ -202,12 +202,12 @@ export default {
...
@@ -202,12 +202,12 @@ export default {
.title
{
.title
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
112
rpx
;
top
:
toRpx
(
112
)
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
letter-spacing
:
4
rpx
;
letter-spacing
:
toRpx
(
4
)
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
text-align
:
center
;
text-align
:
center
;
width
:
100%
;
width
:
100%
;
z-index
:
2
;
z-index
:
2
;
...
@@ -215,61 +215,61 @@ export default {
...
@@ -215,61 +215,61 @@ export default {
.record-box
{
.record-box
{
height
:
100%
;
height
:
100%
;
padding-top
:
244
rpx
;
padding-top
:
toRpx
(
244
)
;
}
}
.has-tabs
{
.has-tabs
{
padding-top
:
360
rpx
;
padding-top
:
toRpx
(
360
)
;
}
}
.card-list
{
.card-list
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
grid-template-columns
:
repeat
(
3
,
1
fr
);
gap
:
48
rpx
;
gap
:
toRpx
(
48
)
;
padding
:
0
64
rpx
48
rpx
;
padding
:
0
toRpx
(
64
)
toRpx
(
48
)
;
.card-item
{
.card-item
{
background-color
:
#f7f9ff
;
background-color
:
#f7f9ff
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
height
:
372
rpx
;
height
:
toRpx
(
372
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
4
rpx
solid
hsl
(
0
,
80%
,
100%
);
border
:
toRpx
(
4
)
solid
hsl
(
0
,
80%
,
100%
);
position
:
relative
;
position
:
relative
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
z-index
:
11
;
z-index
:
11
;
padding
:
32
rpx
;
padding
:
toRpx
(
32
)
;
width
:
708
rpx
;
width
:
toRpx
(
708
)
;
.name
{
.name
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#292d33
;
color
:
#292d33
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
}
}
.goods-name
{
.goods-name
{
margin-top
:
12
rpx
;
margin-top
:
toRpx
(
12
)
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#2c66f7
;
color
:
#2c66f7
;
width
:
644
rpx
;
width
:
toRpx
(
644
)
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
line-height
:
44
rpx
;
line-height
:
toRpx
(
44
)
;
}
}
.card-info
{
.card-info
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
12
rpx
;
margin-top
:
toRpx
(
12
)
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
&:last-child
{
&:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.label
{
.label
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#999ea8
;
color
:
#999ea8
;
width
:
136
rpx
;
width
:
toRpx
(
136
)
;
}
}
.value
{
.value
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
color
:
#666666
;
color
:
#666666
;
margin-left
:
auto
;
margin-left
:
auto
;
}
}
...
@@ -278,10 +278,10 @@ export default {
...
@@ -278,10 +278,10 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
baseline
;
align-items
:
baseline
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#22ac38
;
color
:
#22ac38
;
.flag
{
.flag
{
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
}
}
}
}
}
}
...
@@ -293,8 +293,8 @@ export default {
...
@@ -293,8 +293,8 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
width
:
252
rpx
;
width
:
toRpx
(
252
)
;
height
:
364
rpx
;
height
:
toRpx
(
364
)
;
background
:
linear-gradient
(
to
left
,
rgba
(
247
,
249
,
255
,
0
)
0%
,
rgba
(
247
,
249
,
255
,
1
)
100%
);
background
:
linear-gradient
(
to
left
,
rgba
(
247
,
249
,
255
,
0
)
0%
,
rgba
(
247
,
249
,
255
,
1
)
100%
);
}
}
}
}
...
@@ -304,7 +304,7 @@ export default {
...
@@ -304,7 +304,7 @@ export default {
width
:
100%
;
width
:
100%
;
color
:
#999
;
color
:
#999
;
text-align
:
center
;
text-align
:
center
;
padding
:
50
rpx
0
;
padding
:
toRpx
(
50
)
0
;
}
}
.no-data
{
.no-data
{
position
:
absolute
;
position
:
absolute
;
...
@@ -313,15 +313,15 @@ export default {
...
@@ -313,15 +313,15 @@ export default {
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
&-img
{
&-img
{
width
:
640
rpx
;
width
:
toRpx
(
640
)
;
height
:
272
rpx
;
height
:
toRpx
(
272
)
;
}
}
&
-text
{
&
-text
{
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#999999
;
color
:
#999999
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
24
rpx
;
margin-top
:
toRpx
(
24
)
;
}
}
}
}
.byd-layout
{
.byd-layout
{
...
@@ -330,11 +330,11 @@ export default {
...
@@ -330,11 +330,11 @@ export default {
.image-box
{
.image-box
{
display
:
block
;
display
:
block
;
position
:
absolute
;
position
:
absolute
;
right
:
0
rpx
;
right
:
0
;
top
:
0
rpx
;
top
:
0
;
width
:
252
rpx
;
width
:
toRpx
(
252
)
;
height
:
364
rpx
;
height
:
toRpx
(
364
)
;
border-radius
:
0
32
rpx
32
rpx
0
;
border-radius
:
0
toRpx
(
32
)
toRpx
(
32
)
0
;
z-index
:
-1
;
z-index
:
-1
;
}
}
.card-info
{
.card-info
{
...
...
pages/equity/detail/components/MediaComponent.vue
View file @
f12effb
...
@@ -16,11 +16,13 @@
...
@@ -16,11 +16,13 @@
ref=
"canvasRef"
ref=
"canvasRef"
>
>
<
template
slot=
"customContent"
>
<
template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"title"
>
{{
title
}}
</view>
<image
<image
:class=
"['content',modeName]"
:class=
"['content',modeName]"
:src=
"views[viewIndex].detailUrl"
:src=
"views[viewIndex].detailUrl"
/>
/>
</view>
</
template
>
</
template
>
</wnCanvas>
</wnCanvas>
</view>
</view>
...
@@ -54,7 +56,7 @@ export default {
...
@@ -54,7 +56,7 @@ export default {
},
},
methods
:
{
methods
:
{
changeTab
(
index
)
{
changeTab
(
index
)
{
if
(
this
.
viewIndex
==
index
)
return
if
(
this
.
viewIndex
==
index
)
return
let
{
viewIndex
}
=
this
let
{
viewIndex
}
=
this
this
.
modeName
=
viewIndex
>
index
?
'to-left'
:
'to-right'
this
.
modeName
=
viewIndex
>
index
?
'to-left'
:
'to-right'
this
.
viewIndex
=
index
this
.
viewIndex
=
index
...
@@ -69,18 +71,22 @@ export default {
...
@@ -69,18 +71,22 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.layout
{
.layout
{
width
:
100vw
;
width
:
100%
;
height
:
100vh
;
height
:
100%
;
&-content
{
height
:
100%
;
position
:
relative
;
position
:
relative
;
margin
:
$
margin
;
}
.title
{
.title
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
112
rpx
;
top
:
toRpx
(
112
)
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
letter-spacing
:
4
rpx
;
letter-spacing
:
toRpx
(
4
)
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
text-align
:
center
;
text-align
:
center
;
width
:
100%
;
width
:
100%
;
z-index
:
2
;
z-index
:
2
;
...
@@ -91,9 +97,9 @@ export default {
...
@@ -91,9 +97,9 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
.tabs-box
{
.tabs-box
{
width
:
1112
rpx
;
width
:
toRpx
(
1112
)
;
position
:
absolute
;
position
:
absolute
;
top
:
228
rpx
;
top
:
toRpx
(
228
)
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
z-index
:
100
;
z-index
:
100
;
...
...
pages/equity/detail/components/PartsPop.vue
View file @
f12effb
...
@@ -56,28 +56,28 @@ export default {
...
@@ -56,28 +56,28 @@ export default {
.pop-wrapper
{
.pop-wrapper
{
position
:
relative
;
position
:
relative
;
background-color
:
#FFF
;
background-color
:
#FFF
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
width
:
1400
rpx
;
width
:
toRpx
(
1400
)
;
height
:
928
rpx
;
height
:
toRpx
(
928
)
;
.screen-container
{
.screen-container
{
width
:
100%
;
width
:
100%
;
height
:
784
rpx
;
height
:
toRpx
(
784
)
;
position
:
relative
;
position
:
relative
;
.feature-container
{
.feature-container
{
position
:
absolute
;
position
:
absolute
;
bottom
:
48
rpx
;
bottom
:
toRpx
(
48
)
;
left
:
64
rpx
;
left
:
toRpx
(
64
)
;
color
:
#fff
;
color
:
#fff
;
.feature-title
{
.feature-title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
line-height
:
56
rpx
;
line-height
:
toRpx
(
56
)
;
}
}
.feature-description
{
.feature-description
{
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
margin-top
:
8
rpx
;
margin-top
:
toRpx
(
8
)
;
color
:
rgba
(
255
,
255
,
255
,
0.7
);
color
:
rgba
(
255
,
255
,
255
,
0.7
);
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
}
}
}
}
}
}
...
@@ -88,11 +88,11 @@ export default {
...
@@ -88,11 +88,11 @@ export default {
.notice-container
{
.notice-container
{
display
:
flex
;
display
:
flex
;
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
48
rpx
68
rpx
56
rpx
;
padding
:
toRpx
(
48
)
68
rpx
toRpx
(
56
)
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
color
:
#141414
;
color
:
#141414
;
border-radius
:
0
0
40
rpx
40
rpx
;
border-radius
:
0
0
toRpx
(
40
)
toRpx
(
40
)
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
.notice-title
{
.notice-title
{
color
:
#666666
;
color
:
#666666
;
}
}
...
@@ -100,8 +100,8 @@ export default {
...
@@ -100,8 +100,8 @@ export default {
}
}
.icon-close
{
.icon-close
{
position
:
absolute
;
position
:
absolute
;
top
:
40
rpx
;
top
:
toRpx
(
40
)
;
right
:
16
rpx
;
right
:
toRpx
(
16
)
;
//
bottom
:
-140
rpx
;
//
bottom
:
-140
rpx
;
//
left
:
50%
;
//
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
...
...
pages/equity/detail/components/Reception.vue
View file @
f12effb
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
@
scale=
"$emit('scale',$event)"
@
scale=
"$emit('scale',$event)"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view
:class=
"['sprite-icon',`$
{isByd?'icon-byd':'icon-aito'}`]">
</view>
<view
:class=
"['sprite-icon',`$
{isByd?'icon-byd':'icon-aito'}`]">
</view>
<view
class=
"text"
>
{{
title
}}
</view>
<view
class=
"text"
>
{{
title
}}
</view>
...
@@ -77,6 +78,7 @@
...
@@ -77,6 +78,7 @@
</
template
>
</
template
>
</view>
</view>
</view>
</view>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
<car-brands
<car-brands
...
@@ -189,35 +191,39 @@ export default {
...
@@ -189,35 +191,39 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.layout
{
.layout
{
width
:
100%
;
height
:
100%
;
&-content
{
position
:
relative
;
position
:
relative
;
width
:
100vw
;
height
:
100%
;
height
:
100vh
;
background-image
:
url('@/assets/images/media/reception-bg.webp')
;
background-image
:
url('@/assets/images/media/reception-bg.webp')
;
background-size
:
100%
;
background-size
:
100%
;
margin
:
$
margin
;
}
.title
{
.title
{
padding
:
160
rpx
0
32
rpx
110
rpx
;
padding
:
toRpx
(
160
)
0
toRpx
(
32
)
toRpx
(
110
)
;
.sprite-icon
{
.sprite-icon
{
margin-bottom
:
24
rpx
;
margin-bottom
:
toRpx
(
24
)
;
}
}
.text
{
.text
{
line-height
:
112
rpx
;
line-height
:
toRpx
(
112
)
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
80
rpx
;
font-size
:
toRpx
(
80
)
;
color
:
#333333
;
color
:
#333333
;
}
}
}
}
.content
{
.content
{
.form-box
{
.form-box
{
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
padding
:
0
110
rpx
;
padding
:
0
toRpx
(
110
)
;
position
:
relative
;
position
:
relative
;
z-index
:
1
;
z-index
:
1
;
.form
{
.form
{
display
:
flex
;
display
:
flex
;
gap
:
0
28
rpx
;
gap
:
0
toRpx
(
28
)
;
height
:
100%
;
height
:
100%
;
&-item
{
&-item
{
width
:
368
rpx
;
width
:
toRpx
(
368
)
;
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
...
@@ -226,10 +232,10 @@ export default {
...
@@ -226,10 +232,10 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
3
rpx
solid
#a8c1ff
;
border
:
toRpx
(
3
)
solid
#a8c1ff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
24
rpx
;
padding
:
0
toRpx
(
24
)
;
z-index
:
2
;
z-index
:
2
;
}
}
.input
,
.input
,
...
@@ -238,11 +244,11 @@ export default {
...
@@ -238,11 +244,11 @@ export default {
height
:
100%
;
height
:
100%
;
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
;
outline
:
none
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#333333
;
color
:
#333333
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
padding
:
0
!important
;
padding
:
0
!important
;
&::placeholder
{
&::placeholder
{
color
:
#999999
;
color
:
#999999
;
...
@@ -260,26 +266,26 @@ export default {
...
@@ -260,26 +266,26 @@ export default {
.active
{
.active
{
&::after
{
&::after
{
position
:
absolute
;
position
:
absolute
;
left
:
-2
rpx
;
left
:
toMinusRpx
(
2
)
;
top
:
-2
rpx
;
top
:
toMinusRpx
(
2
)
;
width
:
calc
(
100%
+
4
rpx
);
width
:
calc
(
100%
+
#{
toRpx
(
4
)}
);
height
:
calc
(
100%
+
4
rpx
);
height
:
calc
(
100
%
+
#
{
toRpx(4)
}
);
content
:
''
;
content
:
''
;
background-image
:
linear-gradient
(
#2f6af7
,
#75bcff
);
background-image
:
linear-gradient
(
#2f6af7
,
#75bcff
);
box-shadow
:
0
0
0
8
rpx
#2c66f71
a
;
box-shadow
:
0
0
0
toRpx
(
8
)
#2c66f71a
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
}
}
}
}
}
}
}
}
.views-box
{
.views-box
{
display
:
flex
;
display
:
flex
;
gap
:
0
48
rpx
;
gap
:
0
toRpx
(
48
)
;
padding
:
0
72
rpx
;
padding
:
0
toRpx
(
72
)
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
92
rpx
;
margin-top
:
toRpx
(
92
)
;
.item
{
.item
{
height
:
944
rpx
;
height
:
toRpx
(
944
)
;
position
:
relative
;
position
:
relative
;
.img
{
.img
{
position
:
absolute
;
position
:
absolute
;
...
@@ -287,7 +293,7 @@ export default {
...
@@ -287,7 +293,7 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
aspect-ratio
:
1
/
1
;
aspect-ratio
:
1
/
1
;
height
:
1020
rpx
;
height
:
toRpx
(
1020
)
;
}
}
}
}
}
}
...
@@ -296,34 +302,34 @@ export default {
...
@@ -296,34 +302,34 @@ export default {
.byd-layout
{
.byd-layout
{
background-image
:
url('@/assets/images/media/byd-reception-bg.webp')
!important
;
background-image
:
url('@/assets/images/media/byd-reception-bg.webp')
!important
;
.content
.views-box
{
.content
.views-box
{
margin-top
:
44
rpx
;
margin-top
:
toRpx
(
44
)
;
.item
{
.item
{
.img
{
.img
{
height
:
960
rpx
;
height
:
toRpx
(
960
)
;
}
}
}
}
}
}
}
}
.aito-layout
{
.aito-layout
{
.title
{
.title
{
padding
:
112
rpx
0
40
rpx
112
rpx
;
padding
:
toRpx
(
112
)
0
toRpx
(
40
)
toRpx
(
112
)
;
}
}
.content
{
.content
{
.form-box
{
.form-box
{
position
:
fixed
;
position
:
fixed
;
right
:
184
rpx
;
right
:
toRpx
(
184
)
;
top
:
188
rpx
;
top
:
toRpx
(
188
)
;
padding
:
0
;
padding
:
0
;
}
}
.views-box
{
.views-box
{
margin-top
:
0
;
margin-top
:
0
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding
:
0
38
rpx
;
padding
:
0
toRpx
(
38
)
;
gap
:
0
;
gap
:
0
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
.item
{
.item
{
width
:
1132
rpx
;
width
:
toRpx
(
1132
)
;
.img
{
.img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
pages/equity/detail/components/Tabs.vue
View file @
f12effb
...
@@ -75,25 +75,25 @@ export default {
...
@@ -75,25 +75,25 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
height
:
76
rpx
;
height
:
toRpx
(
76
)
;
background
:
#ffffff59
;
background
:
#ffffff59
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
backdrop-filter
:
blur
(
8
rpx
);
backdrop-filter
:
blur
(
toRpx
(
8
)
);
position
:
relative
;
position
:
relative
;
padding
:
4
rpx
;
padding
:
toRpx
(
4
)
;
.tab
{
.tab
{
flex
:
1
;
flex
:
1
;
height
:
100%
;
height
:
100%
;
background
:
transparent
;
background
:
transparent
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#1f2133
;
color
:
#1f2133
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
}
}
.active
{
.active
{
font-weight
:
500
;
font-weight
:
500
;
...
@@ -101,13 +101,13 @@ export default {
...
@@ -101,13 +101,13 @@ export default {
}
}
.border
{
.border
{
position
:
absolute
;
position
:
absolute
;
height
:
calc
(
100%
-
8
rpx
);
height
:
calc
(
100%
-
#{
toRpx
(
8
)}
);
background-image
:
linear-gradient
(
180deg
,
#6795ff
0
%,
#4a84f9
100
%);
background-image
:
linear-gradient
(
180deg
,
#6795ff
0
%,
#4a84f9
100
%);
box-shadow
:
0
8
rpx
24
rpx
0
#849dc240
;
box-shadow
:
0
toRpx
(
8
)
toRpx
(
24
)
0
#849dc240
;
left
:
0
;
left
:
0
;
top
:
50
%;
top
:
50
%;
transform
:
translate
(
4
rpx
,
-50%
);
transform
:
translate
(
toRpx
(
4
)
,
-50
%);
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
z-index
:
-1
;
z-index
:
-1
;
transition
:
all
0
.15s
;
transition
:
all
0
.15s
;
}
}
...
...
pages/equity/detail/components/ThreeGuarantees.vue
View file @
f12effb
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
ref="threeGuarantees"
ref="threeGuarantees"
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"title"
>
{{
title
}}
</view>
<image
<image
class=
"icon-car"
class=
"icon-car"
...
@@ -60,6 +62,7 @@
...
@@ -60,6 +62,7 @@
</
template
>
</
template
>
</view>
</view>
</view>
</view>
</view>
</template>
</template>
</wnCanvas>
</wnCanvas>
</view>
</view>
...
@@ -141,20 +144,25 @@ export default {
...
@@ -141,20 +144,25 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.layout
{
.layout
{
width
:
100
vw
;
width
:
100
%
;
height
:
100
vh
;
height
:
100
%
;
position
:
relative
;
position
:
relative
;
background-image
:
url(
"@/assets/images/media/media-bg.webp"
)
;
background-image
:
url(
'@/assets/images/media/media-bg.webp'
)
;
background-size
:
100%
;
background-size
:
100%
;
&-content
{
margin
:
$
margin
;
height
:
100%
;
position
:
relative
;
}
.title
{
.title
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
112
rpx
;
top
:
toRpx
(
112
)
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
48
rpx
;
font-size
:
toRpx
(
48
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
letter-spacing
:
4
rpx
;
letter-spacing
:
toRpx
(
4
)
;
line-height
:
64
rpx
;
line-height
:
toRpx
(
64
)
;
text-align
:
center
;
text-align
:
center
;
width
:
100%
;
width
:
100%
;
z-index
:
2
;
z-index
:
2
;
...
@@ -162,29 +170,29 @@ export default {
...
@@ -162,29 +170,29 @@ export default {
.container
{
.container
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding-top
:
248
rpx
;
padding-top
:
toRpx
(
248
)
;
padding-bottom
:
96
rpx
;
padding-bottom
:
toRpx
(
96
)
;
height
:
100%
;
height
:
100%
;
margin
:
0
80
rpx
;
margin
:
0
toRpx
(
80
)
;
position
:
relative
;
position
:
relative
;
.left-tab
{
.left-tab
{
width
:
360
rpx
;
width
:
toRpx
(
360
)
;
margin-right
:
48
rpx
;
margin-right
:
toRpx
(
48
)
;
.tab-item
{
.tab-item
{
display
:
flex
;
display
:
flex
;
padding
:
0
76
rpx
;
padding
:
0
toRpx
(
76
)
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
align-items
:
center
;
align-items
:
center
;
//
justify-content
:
center
;
//
justify-content
:
center
;
width
:
100%
;
width
:
100%
;
height
:
312
rpx
;
height
:
toRpx
(
312
)
;
background
:
#f2f5ff
;
background
:
#f2f5ff
;
border
:
4
rpx
solid
hsl
(
0
,
80%
,
100%
);
border
:
toRpx
(
4
)
solid
hsl
(
0
,
80%
,
100%
);
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
32
rpx
;
border-radius
:
toRpx
(
32
)
;
margin-bottom
:
48
rpx
;
margin-bottom
:
toRpx
(
48
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
40
rpx
;
font-size
:
toRpx
(
40
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
&:last-child
{
&:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
...
@@ -192,7 +200,7 @@ export default {
...
@@ -192,7 +200,7 @@ export default {
&
.active
{
&
.active
{
color
:
#fff
;
color
:
#fff
;
background-image
:
linear-gradient
(
180deg
,
#6795ff
0%
,
#4a84f9
100%
);
background-image
:
linear-gradient
(
180deg
,
#6795ff
0%
,
#4a84f9
100%
);
box-shadow
:
16px
16px
24px
0
#849dc240
,
inset
0
0
16px
0
#ffffff
;
box-shadow
:
toRpx
(
32
)
toRpx
(
32
)
toRpx
(
48
)
0
#849dc240
,
inset
0
0
toRpx
(
32
)
0
#ffffff
;
}
}
}
}
}
}
...
@@ -200,12 +208,12 @@ export default {
...
@@ -200,12 +208,12 @@ export default {
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
z-index
:
-1
;
z-index
:
-1
;
width
:
1778
rpx
;
width
:
toRpx
(
1778
)
;
height
:
1192
rpx
;
height
:
toRpx
(
1192
)
;
background-color
:
rgba
(
255
,
255
,
255
,
0.4
);
background-color
:
rgba
(
255
,
255
,
255
,
0.4
);
backdrop-filter
:
blur
(
4px
);
backdrop-filter
:
blur
(
toRpx
(
8
)
);
z-index
:
0
;
z-index
:
0
;
border-radius
:
64
rpx
;
border-radius
:
toRpx
(
64
)
;
}
}
.content
{
.content
{
position
:
relative
;
position
:
relative
;
...
@@ -214,7 +222,7 @@ export default {
...
@@ -214,7 +222,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
top
:
0
;
top
:
0
;
height
:
112
rpx
;
height
:
toRpx
(
112
)
;
z-index
:
1
;
z-index
:
1
;
.tab-item
{
.tab-item
{
width
:
50%
;
width
:
50%
;
...
@@ -223,16 +231,16 @@ export default {
...
@@ -223,16 +231,16 @@ export default {
}
}
}
}
.content-image
{
.content-image
{
width
:
1778
rpx
;
width
:
toRpx
(
1778
)
;
height
:
1192
rpx
;
height
:
toRpx
(
1192
)
;
}
}
}
}
.icon-car
{
.icon-car
{
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
right
:
0
;
right
:
0
;
width
:
952
rpx
;
width
:
toRpx
(
952
)
;
height
:
248
rpx
;
height
:
toRpx
(
248
)
;
z-index
:
-1
;
z-index
:
-1
;
}
}
}
}
...
@@ -245,7 +253,7 @@ export default {
...
@@ -245,7 +253,7 @@ export default {
@keyframes
show-view-top
{
@keyframes
show-view-top
{
0
%
{
0
%
{
opacity
:
0
;
opacity
:
0
;
transform
:
translateY
(
-224
rpx
);
transform
:
translateY
(
toMinusRpx
(
224
)
);
}
}
100
%
{
100
%
{
...
...
pages/equity/detail/components/informationEntry.vue
View file @
f12effb
...
@@ -186,18 +186,22 @@ export default {
...
@@ -186,18 +186,22 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.information-entry
{
.information-entry
{
position
:
relative
;
position
:
fixed
;
//
position
:
relative
;
background-color
:
#fff
;
background-color
:
#fff
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
z-index
:
998
;
z-index
:
998
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-top
:
72px
;
padding-top
:
toRpx
(
144
);
left
:
0
;
top
:
0
;
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
.back
{
.back
{
height
:
100%
;
height
:
100%
;
...
@@ -212,46 +216,46 @@ export default {
...
@@ -212,46 +216,46 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
font-weight
:
700
;
font-weight
:
700
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
}
}
}
}
.information-tips
{
.information-tips
{
background
:
rgba
(
44
,
102
,
247
,
0.1
);
background
:
rgba
(
44
,
102
,
247
,
0.1
);
color
:
#2c66f7
;
color
:
#2c66f7
;
padding
:
32
rpx
0
24
rpx
80
rpx
;
padding
:
toRpx
(
32
)
0
toRpx
(
24
)
toRpx
(
80
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
.information-box
{
.information-box
{
display
:
flex
;
display
:
flex
;
padding
:
40
rpx
80
rpx
;
padding
:
toRpx
(
40
)
toRpx
(
80
)
;
.information-item
{
.information-item
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
width
:
264
rpx
;
width
:
toRpx
(
264
)
;
margin-right
:
48
rpx
;
margin-right
:
toRpx
(
48
)
;
.icon
{
.icon
{
background-color
:
#f4f5f7
;
background-color
:
#f4f5f7
;
border
:
2
rpx
solid
#eff0f2
;
border
:
toRpx
(
2
)
solid
#eff0f2
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
.icon-upload
{
.icon-upload
{
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
128
rpx
;
width
:
toRpx
(
128
)
;
height
:
128
rpx
;
height
:
toRpx
(
128
)
;
}
}
}
}
.icon
,
.icon
,
.upload-img
{
.upload-img
{
position
:
relative
;
position
:
relative
;
width
:
264
rpx
;
width
:
toRpx
(
264
)
;
height
:
264
rpx
;
height
:
toRpx
(
264
)
;
}
}
.upload-img
{
.upload-img
{
.img
{
.img
{
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
...
@@ -259,12 +263,12 @@ export default {
...
@@ -259,12 +263,12 @@ export default {
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
width
:
40
rpx
;
width
:
toRpx
(
40
)
;
height
:
40
rpx
;
height
:
toRpx
(
40
)
;
//
transform
:
translate
(
50%
,
-50%
);
//
transform
:
translate
(
50%
,
-50%
);
//
text-align
:
center
;
//
text-align
:
center
;
//
font-size
:
36
rpx
;
//
font-size
:
36
rpx
;
//
line-height
:
40
rpx
;
//
line-height
:
toRpx
(
40
)
;
//
display
:
flex
;
//
display
:
flex
;
//
align-items
:
center
;
//
align-items
:
center
;
//
justify-content
:
center
;
//
justify-content
:
center
;
...
@@ -274,12 +278,12 @@ export default {
...
@@ -274,12 +278,12 @@ export default {
}
}
}
}
.information-title
{
.information-title
{
margin-top
:
24
rpx
;
margin-top
:
toRpx
(
24
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
color
:
#222222
;
color
:
#222222
;
letter-spacing
:
0
;
letter-spacing
:
0
;
line-height
:
48
rpx
;
line-height
:
toRpx
(
48
)
;
text-align
:
center
;
text-align
:
center
;
}
}
}
}
...
@@ -287,21 +291,21 @@ export default {
...
@@ -287,21 +291,21 @@ export default {
}
}
.information-done
{
.information-done
{
position
:
absolute
;
position
:
absolute
;
bottom
:
30
rpx
;
bottom
:
toRpx
(
30
)
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
width
:
calc
(
100%
-
240
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
240
)}
);
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#ffffff
;
color
:
#ffffff
;
text-align
:
center
;
text-align
:
center
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
background-color
:
#2c66f7
;
background-color
:
#2c66f7
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
}
}
.preview-img
{
.preview-img
{
height
:
1300
rpx
;
height
:
toRpx
(
1300
)
;
}
}
</
style
>
</
style
>
pages/equity/detail/components/payPop.vue
View file @
f12effb
...
@@ -177,23 +177,23 @@ export default {
...
@@ -177,23 +177,23 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.popup-box
{
.popup-box
{
position
:
relative
;
position
:
relative
;
margin-top
:
286
rpx
;
margin-top
:
toRpx
(
286
)
;
background-color
:
#f8f9f9
;
background-color
:
#f8f9f9
;
height
:
1160
rpx
;
height
:
toRpx
(
1160
)
;
padding-bottom
:
30
rpx
;
padding-bottom
:
toRpx
(
30
)
;
.payment-title
{
.payment-title
{
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
padding
:
24
rpx
0
26
rpx
;
padding
:
toRpx
(
24
)
0
toRpx
(
26
)
;
text-align
:
center
;
text-align
:
center
;
border-bottom
:
1px
solid
#e8e8e8
;
border-bottom
:
toRpx
(
2
)
solid
#e8e8e8
;
.close
{
.close
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
width
:
96
rpx
;
width
:
toRpx
(
96
)
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
...
@@ -202,10 +202,10 @@ export default {
...
@@ -202,10 +202,10 @@ export default {
.tab-list
{
.tab-list
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
40
rpx
;
margin-top
:
toRpx
(
40
)
;
.tab-item
{
.tab-item
{
width
:
320
rpx
;
width
:
toRpx
(
320
)
;
padding
:
24
rpx
0
;
padding
:
toRpx
(
24
)
0
;
text-align
:
center
;
text-align
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#666
;
color
:
#666
;
...
@@ -214,54 +214,54 @@ export default {
...
@@ -214,54 +214,54 @@ export default {
color
:
#fff
;
color
:
#fff
;
}
}
&
:first-child
{
&
:first-child
{
border-radius
:
200
rpx
0
0
200
rpx
;
border-radius
:
toRpx
(
200
)
0
0
toRpx
(
200
)
;
}
}
&
:last-child
{
&
:last-child
{
border-radius
:
0
48
rpx
48
rpx
0
;
border-radius
:
0
toRpx
(
48
)
toRpx
(
48
)
0
;
}
}
}
}
.single
{
.single
{
border-radius
:
48
rpx
!important
;
border-radius
:
toRpx
(
48
)
!important
;
}
}
}
}
.payment-content
{
.payment-content
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
40
rpx
;
margin-top
:
toRpx
(
40
)
;
.qr-code-content
{
.qr-code-content
{
width
:
538
rpx
;
width
:
toRpx
(
538
)
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
text-align
:
center
;
text-align
:
center
;
padding
:
59
rpx
0
67
rpx
;
padding
:
toRpx
(
59
)
0
toRpx
(
67
)
;
.qr-code-img
{
.qr-code-img
{
width
:
420
rpx
;
width
:
toRpx
(
420
)
;
height
:
420
rpx
;
height
:
toRpx
(
420
)
;
}
}
.qr-code-info
{
.qr-code-info
{
margin-top
:
40
rpx
;
margin-top
:
toRpx
(
40
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
}
}
}
}
.corporate-content
{
.corporate-content
{
width
:
1080
rpx
;
width
:
toRpx
(
1080
)
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
24
rpx
;
border-radius
:
toRpx
(
24
)
;
.bank-logo
{
.bank-logo
{
width
:
100%
;
width
:
100%
;
height
:
136
rpx
;
height
:
toRpx
(
136
)
;
}
}
.bank-info
{
.bank-info
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
padding
:
27
rpx
80
rpx
39
rpx
;
padding
:
toRpx
(
27
)
toRpx
(
80
)
toRpx
(
39
)
;
.bank-item
{
.bank-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
&:last-child
{
&:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
...
@@ -272,13 +272,13 @@ export default {
...
@@ -272,13 +272,13 @@ export default {
.bank-value
{
.bank-value
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background-color
:
#f8f9f9
;
background-color
:
#f8f9f9
;
border-radius
:
8
rpx
;
border-radius
:
toRpx
(
8
)
;
width
:
740
rpx
;
width
:
toRpx
(
740
)
;
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
padding-left
:
24
rpx
;
padding-left
:
toRpx
(
24
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
letter-spacing
:
0
;
letter-spacing
:
0
;
}
}
...
@@ -289,17 +289,17 @@ export default {
...
@@ -289,17 +289,17 @@ export default {
}
}
.payment-done
{
.payment-done
{
position
:
absolute
;
position
:
absolute
;
bottom
:
30
rpx
;
bottom
:
toRpx
(
30
)
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
width
:
calc
(
100%
-
240
rpx
);
width
:
calc
(
100%
-
#{
toRpx
(
240
)}
);
height
:
80
rpx
;
height
:
toRpx
(
80
)
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
toRpx
(
32
)
;
color
:
#ffffff
;
color
:
#ffffff
;
text-align
:
center
;
text-align
:
center
;
line-height
:
80
rpx
;
line-height
:
toRpx
(
80
)
;
background-color
:
#2c66f7
;
background-color
:
#2c66f7
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
}
}
</
style
>
</
style
>
pages/equity/detail/detail.vue
View file @
f12effb
...
@@ -265,13 +265,14 @@ export default {
...
@@ -265,13 +265,14 @@ export default {
position
:
relative
;
position
:
relative
;
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
margin
:
0
auto
;
}
}
.nav-bar
{
.nav-bar
{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
96
rpx
;
height
:
toRpx
(
96
)
;
left
:
0
;
left
:
0
;
top
:
48
rpx
;
top
:
toRpx
(
48
)
;
z-index
:
9
;
z-index
:
9
;
.back
{
.back
{
height
:
100%
;
height
:
100%
;
...
@@ -283,13 +284,13 @@ export default {
...
@@ -283,13 +284,13 @@ export default {
}
}
.pen-box
{
.pen-box
{
position
:
fixed
;
position
:
fixed
;
right
:
40
rpx
;
right
:
toRpx
(
40
)
;
top
:
5%
;
top
:
5%
;
width
:
120
rpx
;
width
:
toRpx
(
120
)
;
height
:
120
rpx
;
height
:
toRpx
(
120
)
;
z-index
:
10
;
z-index
:
10
;
box-shadow
:
0
4px
12px
0
#00000033
;
box-shadow
:
0
toRpx
(
4
)
toRpx
(
12
)
0
#00000033
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
overflow
:
hidden
;
overflow
:
hidden
;
image
{
image
{
width
:
100%
;
width
:
100%
;
...
@@ -297,7 +298,7 @@ export default {
...
@@ -297,7 +298,7 @@ export default {
}
}
}
}
.view
{
.view
{
position
:
fixed
;
position
:
absolute
;
//验证
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
z-index
:
-1
;
z-index
:
-1
;
...
...
pages/equity/index.vue
View file @
f12effb
...
@@ -220,17 +220,17 @@ export default {
...
@@ -220,17 +220,17 @@ export default {
async
start
()
{
async
start
()
{
if
(
this
.
recording
)
return
if
(
this
.
recording
)
return
uni
.
showLoading
({
//
uni.showLoading({
mask
:
true
//
mask: true
})
//
})
const
result
=
await
this
.
$permision
.
requestAndroidPermission
(
'android.permission.RECORD_AUDIO'
)
//
const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
if
(
result
!==
1
)
{
//
if (result !== 1) {
uni
.
showToast
({
//
uni.showToast({
title
:
'为了记录语音通话,请打开录音权限'
,
//
title: '为了记录语音通话,请打开录音权限',
icon
:
'none'
//
icon: 'none'
})
//
})
return
//
return
}
//
}
this
.
getSoure
()
this
.
getSoure
()
this
.
clearHistory
()
this
.
clearHistory
()
this
.
$refs
.
home
.
startAudio
()
this
.
$refs
.
home
.
startAudio
()
...
@@ -374,7 +374,7 @@ export default {
...
@@ -374,7 +374,7 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.module-box
{
.module-box
{
padding-top
:
44
rpx
;
padding-top
:
toRpx
(
44
)
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
...
@@ -382,9 +382,9 @@ export default {
...
@@ -382,9 +382,9 @@ export default {
}
}
.item
{
.item
{
float
:
left
;
float
:
left
;
border-radius
:
48
rpx
;
border-radius
:
toRpx
(
48
)
;
overflow
:
hidden
;
overflow
:
hidden
;
margin
:
0
48
rpx
48
rpx
0
;
margin
:
0
toRpx
(
48
)
toRpx
(
48
)
0
;
&-img
{
&-img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -399,25 +399,25 @@ export default {
...
@@ -399,25 +399,25 @@ export default {
}
}
}
}
.landscape
{
.landscape
{
height
:
312
rpx
;
height
:
toRpx
(
312
)
;
}
}
.square
{
.square
{
width
:
318
rpx
;
width
:
toRpx
(
318
)
;
height
:
312
rpx
;
height
:
toRpx
(
312
)
;
}
}
.vertical
{
.vertical
{
width
:
712
rpx
;
width
:
toRpx
(
712
)
;
height
:
624
rpx
;
height
:
toRpx
(
624
)
;
}
}
}
}
.webview-container
{
.webview-container
{
width
:
100
rpx
;
width
:
toRpx
(
100
)
;
height
:
100
rpx
;
height
:
toRpx
(
100
)
;
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
top
:
0
rpx
;
top
:
0
;
left
:
0
rpx
;
left
:
0
;
transform
:
translateY
(
300%
);
transform
:
translateY
(
300%
);
}
}
</
style
>
</
style
>
uni.scss
View file @
f12effb
...
@@ -2,6 +2,19 @@
...
@@ -2,6 +2,19 @@
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
*/
$fixedWidth
:
2346
;
$detailVW
:
100vmin
*
(
1173
/
768
);
@function
toRpx
(
$val
)
{
@return
$detailVW
*
(
$val
/
$fixedWidth
)
}
@function
toMinusRpx
(
$val
)
{
@return
$detailVW
*
(
$val
/
$fixedWidth
)
*
-1
}
$margin
:
0
calc
((
100vmax
-
#{
$detailVW
}
)
/
2
);
@import
'./assets/css/sprite.scss'
;
@import
'./assets/css/sprite.scss'
;
@font-face
{
@font-face
{
...
@@ -79,7 +92,7 @@
...
@@ -79,7 +92,7 @@
.fixforpc-width
{
.fixforpc-width
{
min-width
:
auto
!
important
;
min-width
:
auto
!
important
;
width
:
fit-content
!
important
;
width
:
fit-content
!
important
;
padding
:
20rpx
46rpx
!
important
;
padding
:
toRpx
(
20
)
toRpx
(
46
)
!
important
;
}
}
}
}
...
...
vue.config.js
View file @
f12effb
const
SpritesmithPlugin
=
require
(
"webpack-spritesmith"
);
const
SpritesmithPlugin
=
require
(
"webpack-spritesmith"
);
const
spritesmithFunction
=
(
data
)
=>
{
const
spritesmithFunction
=
(
data
)
=>
{
// let { spritesheet, sprites } = data
function
toRpx
(
val
)
{
// let shared = `.sprite-icon { background-image: url(${spritesheet.image});background-size: ${spritesheet.width}rpx ${spritesheet.height}rpx;}`
return
`calc(100vmin * (1173 / 768) *
${
val
/
2
/
2346
}
)`
// let perSprite = sprites.map(sprite => {
}
// let { name, width, height, offset_x, offset_y } = sprite
let
{
spritesheet
,
sprites
}
=
data
,
// return `.icon-${name} { width: ${width}rpx; height: ${height}rpx; background-position: ${offset_x}rpx ${offset_y}rpx;}`
spritesheetWidth
=
toRpx
(
spritesheet
.
width
),
// }).join('\n')
spritesheetHeight
=
toRpx
(
spritesheet
.
height
)
// return `${shared}\n${perSprite}`
let
shared
=
`.sprite-icon { background-image: url(
${
data
.
sprites
[
0
].
image
let
{
spritesheet
,
sprites
}
=
data
;
});
background
-
size
:
$
{
spritesheetWidth
}
${
spritesheetHeight
}
;}`
;
let
shared
=
`.sprite-icon { background-image: url(
${
data
.
sprites
[
0
].
image
});
background
-
size
:
$
{
spritesheet
.
width
/
2
}
rpx
${
spritesheet
.
height
/
2
}
rpx
;}
`;
let
perSprite
=
sprites
let
perSprite
=
sprites
.
map
((
sprite
)
=>
{
.
map
((
sprite
)
=>
{
let { name, width, height, offset_x, offset_y } = sprite;
let
{
name
,
width
,
height
,
offset_x
,
offset_y
}
=
sprite
return `
.
icon
-
$
{
name
}
{ width:
${
width
/
2
}
rpx; height:
${
width
=
toRpx
(
width
),
height
/
2
height
=
toRpx
(
height
),
}
rpx
;
background
-
position
:
$
{
offset_x
/
2
}
rpx
${
offset_y
/
2
}
rpx;}`
;
offset_x
=
toRpx
(
offset_x
),
offset_y
=
toRpx
(
offset_y
)
return
`.icon-
${
name
}
{ width:
${
width
}
; height:
${
height
}
;
background-position:
${
offset_x
}
${
offset_y
}
;}`
;
})
})
.
join
(
"\n"
);
.
join
(
"\n"
);
// let shared = `.sprite-icon { background-image: url(${
// data.sprites[0].image
// });background-size: ${spritesheet.width / 2}rpx ${
// spritesheet.height / 2
// }rpx;}`;
// let perSprite = sprites
// .map((sprite) => {
// let { name, width, height, offset_x, offset_y } = sprite;
// return `.icon-${name} { width: ${width / 2}rpx; height: ${
// height / 2
// }rpx; background-position: ${offset_x / 2}rpx ${offset_y / 2}rpx;}`;
// })
// .join("\n");
return
`
${
shared
}
\n
${
perSprite
}
`
;
return
`
${
shared
}
\n
${
perSprite
}
`
;
};
};
const
path
=
require
(
"path"
);
const
path
=
require
(
"path"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment