Commit a904a0aa by 胡悦

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

2 parents d9e4c31f 87ac6b0d
<script> <script>
export default { export default {
onLaunch: function () { onLaunch: function () {
plus.screen.lockOrientation('landscape-primary') setTimeout(() => {
plus.screen.unlockOrientation(); //解除锁定屏幕方向
plus.screen.lockOrientation('landscape-primary');
}, 300)
uni.setKeepScreenOn({ uni.setKeepScreenOn({
keepScreenOn: true, keepScreenOn: true,
}); });
}, },
onShow: function () {}, onShow: function () { },
onHide: function () {}, onHide: function () { },
}; };
</script> </script>
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"> <view class="bg">
<glsx-image src="media/bg-1.png" /> <image src="../../../assets/images/media/bg-1.webp" />
</view> </view>
<view class="content"> <view class="content">
<view class="title">问界·交车告知书</view> <view class="title">问界·交车告知书</view>
...@@ -220,6 +220,10 @@ export default { ...@@ -220,6 +220,10 @@ export default {
top: 0; top: 0;
width: 100%; width: 100%;
height: 432rpx; height: 432rpx;
image{
width: 100%;
height: 100%;
}
} }
.content { .content {
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"> <view class="bg">
<glsx-image src="media/bg-2.png" /> <image src="../../../assets/images/media/bg-2.webp" />
</view> </view>
<view class="content"> <view class="content">
<view class="title">问界·商城延保价格明细</view> <view class="title">问界·商城延保价格明细</view>
...@@ -66,6 +66,10 @@ export default { ...@@ -66,6 +66,10 @@ export default {
top: 0; top: 0;
width: 100%; width: 100%;
height: 368rpx; height: 368rpx;
image{
width: 100%;
height: 100%;
}
} }
.content { .content {
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"> <view class="bg">
<glsx-image src="media/bg-5.png" /> <image src="../../../assets/images/media/bg-5.webp" />
</view> </view>
<view class="content"> <view class="content">
<view class="canvas-box"> <view class="canvas-box">
...@@ -57,6 +57,10 @@ export default { ...@@ -57,6 +57,10 @@ export default {
top: 0; top: 0;
width: 100%; width: 100%;
height: 368rpx; height: 368rpx;
image{
width: 100%;
height: 100%;
}
} }
.content { .content {
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"> <view class="bg">
<glsx-image src="media/bg-4.png" /> <image src="../../../assets/images/media/bg-4.webp" />
</view> </view>
<view class="content"> <view class="content">
<view class="title">问界·汽车产品三包凭证</view> <view class="title">问界·汽车产品三包凭证</view>
...@@ -66,6 +66,10 @@ export default { ...@@ -66,6 +66,10 @@ export default {
top: 0; top: 0;
width: 100%; width: 100%;
height: 368rpx; height: 368rpx;
image{
width: 100%;
height: 100%;
}
} }
.content { .content {
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"> <view class="bg">
<glsx-image src="media/bg-5.png" /> <image src="../../../assets/images/media/bg-5.webp" />
</view> </view>
<view class="content"> <view class="content">
<view class="canvas-box"> <view class="canvas-box">
...@@ -53,6 +53,10 @@ export default { ...@@ -53,6 +53,10 @@ export default {
top: 0; top: 0;
width: 100%; width: 100%;
height: 368rpx; height: 368rpx;
image{
width: 100%;
height: 100%;
}
} }
.content { .content {
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
......
<template> <template>
<view class="layout"> <view class="layout">
<view class="bg"> <view class="bg">
<glsx-image src="media/bg-6.png" /> <image src="../../../assets/images/media/bg-6.webp" />
</view> </view>
<view class="content"> <view class="content">
<view class="title">历史成交记录</view> <view class="title">历史成交记录</view>
...@@ -161,6 +161,10 @@ export default { ...@@ -161,6 +161,10 @@ export default {
top: 0; top: 0;
width: 100%; width: 100%;
height: 176rpx; height: 176rpx;
image{
width: 100%;
height: 100%;
}
} }
.content { .content {
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
:class="['btn', {hideIcon:!show}]" :class="['btn', {hideIcon:!show}]"
@click="show = false" @click="show = false"
> >
<glsx-image <image
src="tool/file.png" src="../../../assets/images/tool/file.png"
class="icon" class="icon"
/> />
文件夹 文件夹
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
@click="jump(i)" @click="jump(i)"
> >
<view class="icon"> <view class="icon">
<glsx-image <image
:src="i.icon" :src="i.icon"
class="icon" class="icon"
/> />
...@@ -31,10 +31,13 @@ ...@@ -31,10 +31,13 @@
</view> </view>
</template> </template>
<template v-if="type != 'preview'"> <template v-if="type != 'preview'">
<view class="item" @click="finish"> <view
class="item"
@click="finish"
>
<view class="icon"> <view class="icon">
<glsx-image <image
src="tool/finish.png" src="../../../assets/images/tool/finish.png"
class="icon" class="icon"
/> />
</view> </view>
...@@ -58,32 +61,32 @@ export default { ...@@ -58,32 +61,32 @@ export default {
{ {
id: 1, id: 1,
label: '交车告知书', label: '交车告知书',
icon: 'tool/1.png' icon: require('../../../assets/images/tool/1.png')
}, },
{ {
id: 2, id: 2,
label: '延保明细', label: '延保明细',
icon: 'tool/2.png' icon: require('../../../assets/images/tool/2.png')
}, },
{ {
id: 3, id: 3,
label: '保修告知书', label: '保修告知书',
icon: 'tool/3.png' icon: require('../../../assets/images/tool/3.png')
}, },
{ {
id: 4, id: 4,
label: '三包政策', label: '三包政策',
icon: 'tool/4.png' icon: require('../../../assets/images/tool/4.png')
}, },
{ {
id: 6, id: 6,
label: '历史成交', label: '历史成交',
icon: 'tool/5.png' icon: require('../../../assets/images/tool/5.png')
}, },
{ {
id: 5, id: 5,
label: '质保升级', label: '质保升级',
icon: 'tool/6.png' icon: require('../../../assets/images/tool/6.png')
} }
] ]
} }
...@@ -175,7 +178,7 @@ export default { ...@@ -175,7 +178,7 @@ export default {
display: flex; display: flex;
height: 896rpx; height: 896rpx;
} }
.preview{ .preview {
height: 776rpx; height: 776rpx;
} }
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<uni-icons type="left" :size="32"></uni-icons> <uni-icons type="left" :size="32"></uni-icons>
</view> </view>
</view> </view>
<tool-box :type="type" @choose="choose" @finish="open" />
<view :class="['view', { showView: id == 1 }]"> <view :class="['view', { showView: id == 1 }]">
<media_1 :views="media[1]" :penSwitch="type != 'preview' && drawStatus" /> <media_1 :views="media[1]" :penSwitch="type != 'preview' && drawStatus" />
</view> </view>
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
</view> </view>
<pay-pop ref="pay"></pay-pop> <pay-pop ref="pay"></pay-pop>
<template v-if="type != 'preview'"> <template v-if="type != 'preview'">
<tool-box :type="type" @choose="choose" @finish="open" />
<view class="pen-box" @click="drawStatus = !drawStatus"> <view class="pen-box" @click="drawStatus = !drawStatus">
<glsx-image <image
:src="!drawStatus ? 'media/pen.png' : 'media/pen-active.png'" :src="!drawStatus ? defaulePen : activePen"
/> />
</view> </view>
</template> </template>
<MessageBox <MessageBox
ref="finish" ref="finish"
@cancel="$refs.finish.close()" @cancel="$refs.finish.close()"
...@@ -101,6 +101,8 @@ export default { ...@@ -101,6 +101,8 @@ export default {
}, },
drawStatus: false, drawStatus: false,
finishVisible: false, finishVisible: false,
defaulePen: require('../../assets/images/media/pen.png'),
activePen: require('../../assets/images/media/pen-active.png')
}; };
}, },
onLoad(options) { onLoad(options) {
...@@ -191,7 +193,13 @@ export default { ...@@ -191,7 +193,13 @@ export default {
transform: translateY(-50%); transform: translateY(-50%);
width: 120rpx; width: 120rpx;
height: 120rpx; height: 120rpx;
z-index: 3; z-index: 2;
box-shadow: 0 4px 12px 0 #00000033; box-shadow: 0 4px 12px 0 #00000033;
border-radius: 16rpx;
overflow: hidden;
image{
width: 100%;
height: 100%;
}
} }
</style> </style>
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<view class="left-side"> <view class="left-side">
<!-- 左侧内容 --> <!-- 左侧内容 -->
<view class="user-info"> <view class="user-info">
<glsx-image <image
class="user-avatar" class="user-avatar"
src="home/icon-avatar.png" src="../../assets/images/home/icon-avatar.png"
mode="scaleToFill" mode="scaleToFill"
/> />
<view class="user-name">{{ userInfo.name }}</view> <view class="user-name">{{ userInfo.name }}</view>
...@@ -20,17 +20,17 @@ ...@@ -20,17 +20,17 @@
</view> </view>
<view class="left-footer"> <view class="left-footer">
<view class="logout" @click="logout"> <view class="logout" @click="logout">
<glsx-image <image
class="icon-logout" class="icon-logout"
src="home/icon-logout.png" src="../../assets/images/home/icon-logout.png"
mode="scaleToFill" mode="scaleToFill"
/> />
<view>退出</view> <view>退出</view>
</view> </view>
<view class="store-addr"> <view class="store-addr">
<glsx-image <image
class="icon-addr" class="icon-addr"
src="home/icon-addr.png" src="../../assets/images/home/icon-addr.png"
mode="scaleToFill" mode="scaleToFill"
/> />
<view class="addr-text">{{ userInfo.shopMerchantName }}</view> <view class="addr-text">{{ userInfo.shopMerchantName }}</view>
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
<!-- 右侧内容 --> <!-- 右侧内容 -->
<view class="home-title">客户接待</view> <view class="home-title">客户接待</view>
<view class="start" @click="start"> <view class="start" @click="start">
<glsx-image <image
class="icon-start" class="icon-start"
src="home/icon-handshake.png" src="../../assets/images/home/icon-handshake.png"
mode="scaleToFill" mode="scaleToFill"
/> />
<view class="start-text">开始接待</view> <view class="start-text">开始接待</view>
...@@ -216,6 +216,7 @@ export default { ...@@ -216,6 +216,7 @@ export default {
word-wrap: break-word; word-wrap: break-word;
white-space: normal; white-space: normal;
line-height: 32rpx; line-height: 32rpx;
margin-left: 4rpx;
} }
} }
} }
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
></uni-icons> --> ></uni-icons> -->
</view> </view>
<view v-else class="icon" @tap="choose(index)"> <view v-else class="icon" @tap="choose(index)">
<glsx-image <image
class="icon-upload" class="icon-upload"
src="detail/icon-upload.png" src="../../assets/images/detail/icon-upload.png"
mode="scaleToFill" mode="scaleToFill"
/> />
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!