Commit acafaac2 by 胡悦

Merge branch 'v1.0.5' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.5

2 parents 7c04f203 2737ef43
......@@ -21,12 +21,12 @@
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -1032rpx -330rpx;}
.icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -644rpx -410rpx;}
.icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -1032rpx -372rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -1016rpx -576rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -1012rpx -650rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -1012rpx -720rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -1012rpx -790rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -1012rpx -650rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -1012rpx -720rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -1012rpx -790rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -820rpx -716rpx;}
.icon-logo { width: 160rpx; height: 160rpx; background-position: -474rpx -410rpx;}
.icon-new-addr { width: 32rpx; height: 32rpx; background-position: -820rpx -716rpx;}
.icon-new-addr { width: 32rpx; height: 32rpx; background-position: -862rpx -716rpx;}
.icon-new-avatar { width: 96rpx; height: 96rpx; background-position: -318rpx -780rpx;}
.icon-new-feedback { width: 64rpx; height: 64rpx; background-position: -942rpx -502rpx;}
.icon-new-home-active { width: 112rpx; height: 112rpx; background-position: -820rpx -122rpx;}
......@@ -44,8 +44,10 @@
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -862rpx -716rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
\ No newline at end of file
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1016rpx -576rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -750rpx -638rpx;}
\ No newline at end of file

937 KB | W: | H:

945 KB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -19,7 +19,10 @@
></uni-icons>
</view>
<view class="content flex">
<view class="title flex">请让客户扫码领取</view>
<view class="title flex">
<view class="sprite-icon icon-scan"></view>
请让客户扫码领取
</view>
<template v-if="received">
<view class="received flex">
<view class="sprite-icon icon-qr-success"></view>
......@@ -89,6 +92,9 @@ export default {
font-weight: 500;
font-size: 32rpx;
color: #333333;
.sprite-icon{
margin-right: 12rpx;
}
}
.qr-box {
width: 560rpx;
......
......@@ -65,21 +65,39 @@
>为客户发券</view>
</view>
</template>
<template v-else>
<template v-if="customerType == 0 && customerInfo.customerName">
<view class="customer-info-box">
<view
class="customer-info flex"
@click="pageParams.showDetail = !pageParams.showDetail"
>
<view class="text text-hide"> {{customerInfo.customerName}} | {{customerInfo.carModel}}</view>
<view class="sprite-icon icon-customer-detail"></view>
</view>
<view
class="customer-detail flex"
v-show="pageParams.showDetail"
>
<template v-for="(i,index) in customerDetailObject">
<view
class="customer-item flex"
:key="index"
>
<view class="label">{{i.label}}</view>
<view class="value">{{customerInfo[i.key]}}</view>
</view>
</template>
</view>
</view>
</template>
</view>
<view
class="content"
scroll-x
enable-flex
>
<view class="content">
<template v-for="(i, index) in views">
<image
:key="index"
:src="i.detailUrl"
class="item"
:class="['item',`item-${index}`]"
@click="jumpPage(i)"
/>
</template>
......@@ -176,6 +194,32 @@ export default {
popKey: 'employeeBoxVisible'
}
],
customerDetailObject: [
{
label: '车主姓名',
key: 'customerName',
},
{
label: '交付专员',
key: 'staffName',
},
{
label: '车型',
key: 'carModel',
},
{
label: '领券时间',
key: 'customerName',
},
{
label: '车主电话',
key: 'phoneNumber',
},
{
label: '接待时间',
key: 'customerName',
}
],
customerInfo: {},
couponList: [],
couponTypeName: '',
......@@ -186,6 +230,7 @@ export default {
couponId: '',
carInfo: {},
QRURL: '',
showDetail: false
}
}
},
......@@ -406,89 +451,139 @@ export default {
height: 80rpx;
margin-bottom: 48rpx;
padding: 0 64rpx;
}
.form {
display: flex;
.form {
display: flex;
gap: 0 28rpx;
height: 100%;
&-item {
width: 368rpx;
gap: 0 28rpx;
height: 100%;
position: relative;
&-box {
position: relative;
width: 100%;
&-item {
width: 368rpx;
height: 100%;
background: #ffffff;
border: 3rpx solid #a8c1ff;
position: relative;
&-box {
position: relative;
width: 100%;
height: 100%;
background: #ffffff;
border: 3rpx solid #a8c1ff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 0 24rpx;
z-index: 2;
}
.input,
.select {
width: 100%;
height: 100%;
border: none !important;
outline: none;
font-size: 28rpx;
color: #333333;
border-radius: 16rpx;
box-sizing: border-box;
&::placeholder {
color: #999999;
}
}
.placeholderStyle {
color: #999999;
}
.arrow {
color: #999 !important;
margin-left: auto;
flex-shrink: 0;
}
}
.active {
&::after {
position: absolute;
left: -2rpx;
top: -2rpx;
width: calc(100% + 4rpx);
height: calc(100% + 4rpx);
content: "";
background-image: linear-gradient(#2f6af7, #75bcff);
box-shadow: 0 0 0 8rpx #2c66f71a;
border-radius: 16rpx;
}
}
&-btn {
width: 286rpx;
height: 80rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 16rpx 0 #ffffff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 0 24rpx;
z-index: 2;
font-weight: 500;
font-size: 28rpx;
color: #ffffff;
justify-content: center;
}
.input,
.select {
}
.customer-info-box {
position: relative;
width: 480rpx;
height: 100%;
.customer-info {
width: 100%;
height: 100%;
border: none !important;
outline: none;
font-size: 28rpx;
color: #333333;
background: #ffffff;
border-radius: 16rpx;
box-sizing: border-box;
&::placeholder {
color: #999999;
padding: 0 24rpx;
.sprite-icon {
flex-shrink: 0;
margin-left: auto;
}
}
.placeholderStyle {
color: #999999;
}
.arrow {
color: #999 !important;
margin-left: auto;
flex-shrink: 0;
}
}
.active {
&::after {
.customer-detail {
position: absolute;
left: -2rpx;
top: -2rpx;
width: calc(100% + 4rpx);
height: calc(100% + 4rpx);
content: "";
background-image: linear-gradient(#2f6af7, #75bcff);
box-shadow: 0 0 0 8rpx #2c66f71a;
bottom: 0;
left: 496rpx;
min-width: 860rpx;
height: 204rpx;
z-index: 2;
background: #ffffff;
border-radius: 16rpx;
flex-wrap: wrap;
box-sizing: border-box;
padding: 32rpx 48rpx;
gap: 16rpx 0;
.customer-item {
width: 50%;
color: #333333;
line-height: 36rpx;
.label {
width: 120rpx;
font-size: 28rpx;
color: #666666;
flex-shrink: 0;
margin-right: 24rpx;
text-align: right;
}
}
}
}
&-btn {
width: 286rpx;
height: 80rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 16rpx 0 #ffffff;
border-radius: 16rpx;
font-weight: 500;
font-size: 28rpx;
color: #ffffff;
justify-content: center;
}
}
.content {
display: flex;
width: 100%;
height: 1052rpx;
flex-wrap: nowrap;
gap: 0 50rpx;
overflow: scroll hidden;
height: calc(100vh - 484rpx);
padding: 0 64rpx;
.item {
float: left;
}
.item-0 {
width: 1084rpx;
height: 100%;
flex-shrink: 0;
vertical-align: top;
height: 992rpx;
margin-right: 50rpx;
}
.item-1 {
margin-bottom: 48rpx;
}
.item-1,
.item-2 {
width: 1084rpx;
height: 472rpx;
}
}
}
......
......@@ -74,7 +74,8 @@ export default {
customerType: Number,
},
data() {
return {};
return {
};
},
computed: {
title() {
......
......@@ -169,21 +169,21 @@ export default {
this.init();
},
async start () {
const result = await this.$permision.requestAndroidPermission(
"android.permission.RECORD_AUDIO"
);
if (result !== 1) {
uni.showToast({
title: "为了记录语音通话,请打开录音权限",
icon: "none",
});
return;
}
// const result = await this.$permision.requestAndroidPermission(
// "android.permission.RECORD_AUDIO"
// );
// if (result !== 1) {
// uni.showToast({
// title: "为了记录语音通话,请打开录音权限",
// icon: "none",
// });
// return;
// }
this.clearHistory();
this.$refs.customerTypeRef.open()
this.startAudio();
},
jumpPage (id) {
this.clearHistory();
this.id = id ? id : this.moduleList[0].id
this.type = "edit"
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!