Commit 4338acc4 by 李伟康

commit 提交

1 parent 129817dc
......@@ -3,6 +3,7 @@
class="layout"
@click="hideSelect"
>
<view class="bg"></view>
<wnCanvas
:canvasId="`c-${madiaId}`"
:drawStatus="penSwitch"
......@@ -12,7 +13,7 @@
>
<template slot="customContent">
<view class="layout-content">
<view class="bg"></view>
<view class="box">
<view class="select-box">
<view
......@@ -379,7 +380,7 @@ export default {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: toRpx(48) toRpx(50);
margin: 0 toRpx(64);
margin: 0 toRpx(64);
.item {
height: toRpx(536);
background: #ffffff;
......
<template>
<view class="layout">
<view class="bg"></view>
<wnCanvas
:canvasId="`c-${madiaId}`"
:drawStatus="penSwitch"
......@@ -9,7 +10,6 @@
>
<template slot="customContent">
<view class="layout-content">
<view class="bg"></view>
<view class="box">
<view class="data-tabs-box">
<view class="data-tabs">
......
<template>
<view class="layout">
<view class="bg"></view>
<wnCanvas
:canvasId="`c-${madiaId}`"
:drawStatus="penSwitch"
......@@ -9,7 +10,6 @@
>
<template slot="customContent">
<view class="layout-content">
<view class="bg"></view>
<view class="box">
<view class="input-box">
<input
......
......@@ -150,12 +150,12 @@ export default {
.layout {
width: 100%;
height: 100%;
background-image: url('@/assets/images/media/media-bg.webp');
background-size: 100%;
&-content {
margin: $margin;
height: 100%;
position: relative;
background-image: url('@/assets/images/media/media-bg.webp');
background-size: 100%;
}
// padding: 0 calc((100vw - #{$detailVW}) / 2);
// box-sizing: border-box;
......
<template>
<view :class="['layout',{ 'byd-layout':isByd } ]">
<view class="title">{{ title }}</view>
<template v-if="views&&views.length > 1">
<view class="tabs-box">
<tabs
:list="views"
@tabclick="changeTab"
></tabs>
</view>
</template>
<template v-if="list.length > 0">
<scroll-view
:class="['record-box',{'has-tabs':views && views.length > 1} ]"
scroll-y
:scroll-top="scrollTop"
@scrolltolower="pageonReachBottom"
>
<view class="card-list">
<view
class="card-item"
v-for="item in list"
:key="item.id"
>
<template>
<image
v-if="item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
class="image-box"
:src="item.vdQuotationPaymentDoc.paymentDocUrl"
/>
<image
v-else
class="image-box"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
/>
<view class="gradient-overlay"></view>
</template>
<view>
<view class="name">{{ nameHide(item.customerName) }}</view>
<!-- <view class="name">{{ item.id }}</view> -->
<view class="goods-name">{{ item.goodsName }}</view>
<view class="card-info">
<view class="label">车架号</view>
<view class="value">{{ item.carVin || "-" }}</view>
</view>
<view class="card-info">
<view class="label">工单号</view>
<view class="value">{{ item.payId }}</view>
</view>
<view class="card-info">
<view class="label">交易流水号</view>
<view class="value">{{ item.transactionNo }}</view>
</view>
<view class="card-info">
<view class="label">实收金额</view>
<view class="price">
<view class="flag">¥</view>{{ accDiv(item.equityPrice) }}
<view class="layout-content">
<view class="title">{{ title }}</view>
<template v-if="views&&views.length > 1">
<view class="tabs-box">
<tabs
:list="views"
@tabclick="changeTab"
></tabs>
</view>
</template>
<template v-if="list.length > 0">
<scroll-view
:class="['record-box',{'has-tabs':views && views.length > 1} ]"
scroll-y
:scroll-top="scrollTop"
@scrolltolower="pageonReachBottom"
>
<view class="card-list">
<view
class="card-item"
v-for="item in list"
:key="item.id"
>
<template>
<image
v-if="item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
class="image-box"
:src="item.vdQuotationPaymentDoc.paymentDocUrl"
/>
<image
v-else
class="image-box"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
/>
<view class="gradient-overlay"></view>
</template>
<view>
<view class="name">{{ nameHide(item.customerName) }}</view>
<!-- <view class="name">{{ item.id }}</view> -->
<view class="goods-name">{{ item.goodsName }}</view>
<view class="card-info">
<view class="label">车架号</view>
<view class="value">{{ item.carVin || "-" }}</view>
</view>
<view class="card-info">
<view class="label">工单号</view>
<view class="value">{{ item.payId }}</view>
</view>
<view class="card-info">
<view class="label">交易流水号</view>
<view class="value">{{ item.transactionNo }}</view>
</view>
<view class="card-info">
<view class="label">实收金额</view>
<view class="price">
<view class="flag">¥</view>{{ accDiv(item.equityPrice) }}
</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
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>
</template>
</template>
</view>
</view>
</template>
......@@ -185,12 +186,16 @@ export default {
<style scoped lang="scss">
.layout {
width: 100%;
height: 100%;
position: relative;
background-image: url('@/assets/images/media/media-bg.webp');
background-size: 100%;
position: relative;
margin: $margin;
&-content {
height: 100%;
position: relative;
margin: $margin;
}
.tabs-box {
width: toRpx(1160);
position: absolute;
......
......@@ -22,6 +22,10 @@
:class="['content',modeName]"
:src="views[viewIndex].detailUrl"
/>
<image
:class="['bg',modeName]"
:src="views[viewIndex].bgUrl"
/>
</view>
</template>
</wnCanvas>
......@@ -95,6 +99,14 @@ export default {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
}
.bg {
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
}
.tabs-box {
width: toRpx(1112);
......
......@@ -193,11 +193,11 @@ export default {
.layout {
width: 100%;
height: 100%;
background-image: url('@/assets/images/media/reception-bg.webp');
background-size: 100%;
&-content {
position: relative;
height: 100%;
background-image: url('@/assets/images/media/reception-bg.webp');
background-size: 100%;
margin: $margin;
}
.title {
......
......@@ -7,6 +7,10 @@
-->
<template>
<view class="layout">
<image
class="icon-car"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/icon-car.webp"
/>
<wnCanvas
:drawStatus="penSwitch"
:canvasId="`c-${madiaId}`"
......@@ -18,10 +22,6 @@
<view class="layout-content">
<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="left-tab">
<view
......@@ -241,7 +241,7 @@ export default {
right: 0;
width: toRpx(952);
height: toRpx(248);
z-index: -1;
z-index: 2;
}
}
.top {
......
......@@ -190,17 +190,17 @@ export default {
async start() {
if (this.recording) return
// uni.showLoading({
// mask: true
// })
// const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
// if (result !== 1) {
// uni.showToast({
// title: '为了记录语音通话,请打开录音权限',
// icon: 'none'
// })
// return
// }
uni.showLoading({
mask: true
})
const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
if (result !== 1) {
uni.showToast({
title: '为了记录语音通话,请打开录音权限',
icon: 'none'
})
return
}
this.getSoure()
this.clearHistory()
// this.$refs.home.startAudio()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!