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 4338acc4
authored
Dec 20, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
129817dc
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
116 additions
and
98 deletions
pages/boutique/case.vue
pages/boutique/history.vue
pages/boutique/invitation.vue
pages/equity/detail/components/Guarantee.vue
pages/equity/detail/components/History.vue
pages/equity/detail/components/MediaComponent.vue
pages/equity/detail/components/Reception.vue
pages/equity/detail/components/ThreeGuarantees.vue
pages/equity/index.vue
pages/boutique/case.vue
View file @
4338acc
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
class=
"layout"
class=
"layout"
@
click=
"hideSelect"
@
click=
"hideSelect"
>
>
<view
class=
"bg"
></view>
<wnCanvas
<wnCanvas
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
:drawStatus="penSwitch"
:drawStatus="penSwitch"
...
@@ -12,7 +13,7 @@
...
@@ -12,7 +13,7 @@
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"layout-content"
>
<view
class=
"bg"
></view>
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"select-box"
>
<view
class=
"select-box"
>
<view
<view
...
@@ -379,7 +380,7 @@ export default {
...
@@ -379,7 +380,7 @@ export default {
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
5
,
1
fr
);
grid-template-columns
:
repeat
(
5
,
1
fr
);
gap
:
toRpx
(
48
)
toRpx
(
50
);
gap
:
toRpx
(
48
)
toRpx
(
50
);
margin
:
0
toRpx
(
64
);
margin
:
0
toRpx
(
64
);
.item
{
.item
{
height
:
toRpx
(
536
);
height
:
toRpx
(
536
);
background
:
#ffffff
;
background
:
#ffffff
;
...
...
pages/boutique/history.vue
View file @
4338acc
<
template
>
<
template
>
<view
class=
"layout"
>
<view
class=
"layout"
>
<view
class=
"bg"
></view>
<wnCanvas
<wnCanvas
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
:drawStatus="penSwitch"
:drawStatus="penSwitch"
...
@@ -9,7 +10,6 @@
...
@@ -9,7 +10,6 @@
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"layout-content"
>
<view
class=
"bg"
></view>
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"data-tabs-box"
>
<view
class=
"data-tabs-box"
>
<view
class=
"data-tabs"
>
<view
class=
"data-tabs"
>
...
...
pages/boutique/invitation.vue
View file @
4338acc
<
template
>
<
template
>
<view
class=
"layout"
>
<view
class=
"layout"
>
<view
class=
"bg"
></view>
<wnCanvas
<wnCanvas
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
:drawStatus="penSwitch"
:drawStatus="penSwitch"
...
@@ -9,7 +10,6 @@
...
@@ -9,7 +10,6 @@
>
>
<template
slot=
"customContent"
>
<template
slot=
"customContent"
>
<view
class=
"layout-content"
>
<view
class=
"layout-content"
>
<view
class=
"bg"
></view>
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"input-box"
>
<view
class=
"input-box"
>
<input
<input
...
...
pages/equity/detail/components/Guarantee.vue
View file @
4338acc
...
@@ -150,12 +150,12 @@ export default {
...
@@ -150,12 +150,12 @@ export default {
.layout
{
.layout
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-image
:
url('@/assets/images/media/media-bg.webp')
;
background-size
:
100%
;
&-content
{
&-content
{
margin
:
$
margin
;
margin
:
$
margin
;
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
background-image
:
url('@/assets/images/media/media-bg.webp')
;
background-size
:
100%
;
}
}
//
padding
:
0
calc
((
100vw
-
#
{
$detailVW
}
)
/
2
);
//
padding
:
0
calc
((
100vw
-
#
{
$detailVW
}
)
/
2
);
//
box-sizing
:
border-box
;
//
box-sizing
:
border-box
;
...
...
pages/equity/detail/components/History.vue
View file @
4338acc
<
template
>
<
template
>
<view
:class=
"['layout',
{ 'byd-layout':isByd } ]">
<view
:class=
"['layout',
{ 'byd-layout':isByd } ]">
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"layout-content"
>
<template
v-if=
"views&&views.length > 1"
>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"tabs-box"
>
<template
v-if=
"views&&views.length > 1"
>
<tabs
<view
class=
"tabs-box"
>
:list=
"views"
<tabs
@
tabclick=
"changeTab"
:list=
"views"
></tabs>
@
tabclick=
"changeTab"
</view>
></tabs>
</
template
>
</view>
<
template
v-if=
"list.length > 0"
>
</
template
>
<scroll-view
<
template
v-if=
"list.length > 0"
>
:class=
"['record-box',
{'has-tabs':views
&&
views.length > 1} ]"
<scroll-view
scroll-y
:class=
"['record-box',
{'has-tabs':views
&&
views.length > 1} ]"
:scroll-top="scrollTop"
scroll-y
@scrolltolower="pageonReachBottom"
:scroll-top="scrollTop"
>
@scrolltolower="pageonReachBottom"
<view
class=
"card-list"
>
>
<view
<view
class=
"card-list"
>
class=
"card-item"
<view
v-for=
"item in list"
class=
"card-item"
:key=
"item.id"
v-for=
"item in list"
>
:key=
"item.id"
<template>
>
<image
<template>
v-if=
"item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
<image
class=
"image-box"
v-if=
"item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
:src=
"item.vdQuotationPaymentDoc.paymentDocUrl"
class=
"image-box"
/>
:src=
"item.vdQuotationPaymentDoc.paymentDocUrl"
<image
/>
v-else
<image
class=
"image-box"
v-else
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
class=
"image-box"
/>
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
<view
class=
"gradient-overlay"
></view>
/>
</
template
>
<view
class=
"gradient-overlay"
></view>
<view>
</
template
>
<view
class=
"name"
>
{{ nameHide(item.customerName) }}
</view>
<view>
<!-- <view class="name">{{ item.id }}</view> -->
<view
class=
"name"
>
{{ nameHide(item.customerName) }}
</view>
<view
class=
"goods-name"
>
{{ item.goodsName }}
</view>
<!-- <view class="name">{{ item.id }}</view> -->
<view
class=
"card-info"
>
<view
class=
"goods-name"
>
{{ item.goodsName }}
</view>
<view
class=
"label"
>
车架号
</view>
<view
class=
"card-info"
>
<view
class=
"value"
>
{{ item.carVin || "-" }}
</view>
<view
class=
"label"
>
车架号
</view>
</view>
<view
class=
"value"
>
{{ item.carVin || "-" }}
</view>
<view
class=
"card-info"
>
</view>
<view
class=
"label"
>
工单号
</view>
<view
class=
"card-info"
>
<view
class=
"value"
>
{{ item.payId }}
</view>
<view
class=
"label"
>
工单号
</view>
</view>
<view
class=
"value"
>
{{ item.payId }}
</view>
<view
class=
"card-info"
>
</view>
<view
class=
"label"
>
交易流水号
</view>
<view
class=
"card-info"
>
<view
class=
"value"
>
{{ item.transactionNo }}
</view>
<view
class=
"label"
>
交易流水号
</view>
</view>
<view
class=
"value"
>
{{ item.transactionNo }}
</view>
<view
class=
"card-info"
>
</view>
<view
class=
"label"
>
实收金额
</view>
<view
class=
"card-info"
>
<view
class=
"price"
>
<view
class=
"label"
>
实收金额
</view>
<view
class=
"flag"
>
¥
</view>
{{ accDiv(item.equityPrice) }}
<view
class=
"price"
>
<view
class=
"flag"
>
¥
</view>
{{ accDiv(item.equityPrice) }}
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"end-text"
v-if=
"list.length > 0 && isEnd"
>
我是一个有底线的人
</view>
</scroll-view>
</template>
<
template
v-else
>
<view
class=
"no-data"
>
<glsx-image
class=
"no-data-img"
src=
"media/no-data.png"
mode=
"scaleToFill"
/>
<view
class=
"no-data-text"
>
暂无数据
</view>
</view>
</view>
<view
</
template
>
class=
"end-text"
</view>
v-if=
"list.length > 0 && isEnd"
>
我是一个有底线的人
</view>
</scroll-view>
</template>
<
template
v-else
>
<view
class=
"no-data"
>
<glsx-image
class=
"no-data-img"
src=
"media/no-data.png"
mode=
"scaleToFill"
/>
<view
class=
"no-data-text"
>
暂无数据
</view>
</view>
</
template
>
</view>
</view>
</template>
</template>
...
@@ -185,12 +186,16 @@ export default {
...
@@ -185,12 +186,16 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.layout
{
.layout
{
width
:
100%
;
height
:
100%
;
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%
;
position
:
relative
;
&-content
{
margin
:
$
margin
;
height
:
100%
;
position
:
relative
;
margin
:
$
margin
;
}
.tabs-box
{
.tabs-box
{
width
:
toRpx
(
1160
);
width
:
toRpx
(
1160
);
position
:
absolute
;
position
:
absolute
;
...
...
pages/equity/detail/components/MediaComponent.vue
View file @
4338acc
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
:class=
"['content',modeName]"
:class=
"['content',modeName]"
:src=
"views[viewIndex].detailUrl"
:src=
"views[viewIndex].detailUrl"
/>
/>
<image
:class=
"['bg',modeName]"
:src=
"views[viewIndex].bgUrl"
/>
</view>
</view>
</
template
>
</
template
>
</wnCanvas>
</wnCanvas>
...
@@ -95,6 +99,14 @@ export default {
...
@@ -95,6 +99,14 @@ export default {
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
z-index
:
1
;
}
.bg
{
width
:
100vw
;
height
:
100vh
;
position
:
fixed
;
left
:
0
;
top
:
0
;
}
}
.tabs-box
{
.tabs-box
{
width
:
toRpx
(
1112
);
width
:
toRpx
(
1112
);
...
...
pages/equity/detail/components/Reception.vue
View file @
4338acc
...
@@ -193,11 +193,11 @@ export default {
...
@@ -193,11 +193,11 @@ export default {
.layout
{
.layout
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-image
:
url('@/assets/images/media/reception-bg.webp')
;
background-size
:
100%
;
&-content
{
&-content
{
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
background-image
:
url('@/assets/images/media/reception-bg.webp')
;
background-size
:
100%
;
margin
:
$
margin
;
margin
:
$
margin
;
}
}
.title
{
.title
{
...
...
pages/equity/detail/components/ThreeGuarantees.vue
View file @
4338acc
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
-->
-->
<
template
>
<
template
>
<view
class=
"layout"
>
<view
class=
"layout"
>
<image
class=
"icon-car"
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/icon-car.webp"
/>
<wnCanvas
<wnCanvas
:drawStatus=
"penSwitch"
:drawStatus=
"penSwitch"
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
...
@@ -18,10 +22,6 @@
...
@@ -18,10 +22,6 @@
<view
class=
"layout-content"
>
<view
class=
"layout-content"
>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"title"
>
{{
title
}}
</view>
<image
class=
"icon-car"
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/icon-car.webp"
/>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"left-tab"
>
<view
class=
"left-tab"
>
<view
<view
...
@@ -241,7 +241,7 @@ export default {
...
@@ -241,7 +241,7 @@ export default {
right
:
0
;
right
:
0
;
width
:
toRpx
(
952
);
width
:
toRpx
(
952
);
height
:
toRpx
(
248
);
height
:
toRpx
(
248
);
z-index
:
-1
;
z-index
:
2
;
}
}
}
}
.top
{
.top
{
...
...
pages/equity/index.vue
View file @
4338acc
...
@@ -190,17 +190,17 @@ export default {
...
@@ -190,17 +190,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()
...
...
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