Commit 22563407 by 胡悦

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

2 parents e4a594dd 56e9f86f
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 954rpx 664rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -474rpx -138rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -212rpx -478rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -516rpx -138rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -244rpx -356rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: -350rpx -356rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -456rpx -356rpx;}
.icon-face-success { width: 96rpx; height: 96rpx; background-position: -562rpx -356rpx;}
.icon-feedback { width: 32rpx; height: 32rpx; background-position: -558rpx -138rpx;}
.icon-first-nav { width: 464rpx; height: 176rpx; background-position: 0rpx 0rpx;}
.icon-home-active { width: 80rpx; height: 80rpx; background-position: 0rpx -584rpx;}
.icon-home { width: 80rpx; height: 80rpx; background-position: -90rpx -584rpx;}
.icon-icon-addr { width: 32rpx; height: 32rpx; background-position: -600rpx -138rpx;}
.icon-icon-avatar { width: 112rpx; height: 112rpx; background-position: -568rpx -186rpx;}
.icon-icon-female { width: 32rpx; height: 32rpx; background-position: -642rpx -138rpx;}
.icon-icon-handshake { width: 72rpx; height: 72rpx; background-position: -880rpx -356rpx;}
.icon-icon-male { width: 32rpx; height: 32rpx; background-position: -684rpx -138rpx;}
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -726rpx -138rpx;}
.icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -170rpx -186rpx;}
.icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -768rpx -138rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -810rpx -138rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -852rpx -138rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -894rpx -138rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -458rpx -478rpx;}
.icon-logo { width: 160rpx; height: 160rpx; background-position: 0rpx -186rpx;}
.icon-new-addr { width: 32rpx; height: 32rpx; background-position: -500rpx -478rpx;}
.icon-new-avatar { width: 96rpx; height: 96rpx; background-position: -668rpx -356rpx;}
.icon-new-feedback { width: 64rpx; height: 64rpx; background-position: -360rpx -584rpx;}
.icon-new-home-active { width: 112rpx; height: 112rpx; background-position: -690rpx -186rpx;}
.icon-new-home { width: 112rpx; height: 112rpx; background-position: -812rpx -186rpx;}
.icon-new-record-active { width: 112rpx; height: 112rpx; background-position: 0rpx -356rpx;}
.icon-new-record { width: 112rpx; height: 112rpx; background-position: -122rpx -356rpx;}
.icon-new-setting { width: 64rpx; height: 64rpx; background-position: -434rpx -584rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -308rpx -186rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -438rpx -186rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -350rpx -478rpx;}
.icon-record-active { width: 80rpx; height: 80rpx; background-position: -180rpx -584rpx;}
.icon-record { width: 80rpx; height: 80rpx; background-position: -270rpx -584rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -774rpx -356rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: 0rpx -478rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -408rpx -478rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: -474rpx 0rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -542rpx -478rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -106rpx -478rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -508rpx -584rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -578rpx -584rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -648rpx -584rpx;}
\ No newline at end of file \ No newline at end of file
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 974rpx 920rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -742rpx -794rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -742rpx -734rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -784rpx -794rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -734rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -734rpx;}
.icon-face-success { width: 96rpx; height: 96rpx; background-position: -212rpx -734rpx;}
.icon-feedback { width: 32rpx; height: 32rpx; background-position: -826rpx -794rpx;}
.icon-home-active { width: 80rpx; height: 80rpx; background-position: 0rpx -840rpx;}
.icon-home { width: 80rpx; height: 80rpx; background-position: -90rpx -840rpx;}
.icon-icon-addr { width: 32rpx; height: 32rpx; background-position: -868rpx -794rpx;}
.icon-icon-avatar { width: 112rpx; height: 112rpx; background-position: -820rpx 0rpx;}
.icon-icon-female { width: 32rpx; height: 32rpx; background-position: -730rpx -840rpx;}
.icon-icon-handshake { width: 72rpx; height: 72rpx; background-position: -360rpx -840rpx;}
.icon-icon-male { width: 32rpx; height: 32rpx; background-position: -772rpx -840rpx;}
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -814rpx -840rpx;}
.icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -644rpx -410rpx;}
.icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -856rpx -840rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -898rpx -840rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -942rpx 0rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -942rpx -42rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -942rpx -84rpx;}
.icon-logo { width: 160rpx; height: 160rpx; background-position: -474rpx -410rpx;}
.icon-new-addr { width: 32rpx; height: 32rpx; background-position: -942rpx -126rpx;}
.icon-new-avatar { width: 96rpx; height: 96rpx; background-position: -318rpx -734rpx;}
.icon-new-feedback { width: 64rpx; height: 64rpx; background-position: -442rpx -840rpx;}
.icon-new-home-active { width: 112rpx; height: 112rpx; background-position: -820rpx -122rpx;}
.icon-new-home { width: 112rpx; height: 112rpx; background-position: -820rpx -244rpx;}
.icon-new-record-active { width: 112rpx; height: 112rpx; background-position: -820rpx -366rpx;}
.icon-new-record { width: 112rpx; height: 112rpx; background-position: -820rpx -488rpx;}
.icon-new-setting { width: 64rpx; height: 64rpx; background-position: -516rpx -840rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -490rpx -596rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -620rpx -596rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -750rpx -666rpx;}
.icon-record-active { width: 80rpx; height: 80rpx; background-position: -180rpx -840rpx;}
.icon-record { width: 80rpx; height: 80rpx; background-position: -270rpx -840rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -424rpx -734rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -530rpx -734rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -880rpx -734rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -942rpx -168rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -636rpx -734rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -750rpx -596rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -590rpx -840rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -660rpx -840rpx;}
.icon-first-nav { width: 464rpx; height: 176rpx; background-position: 0rpx -410rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;}
.icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;}
.icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;}
\ No newline at end of file \ No newline at end of file
No preview for this file type

526 KB | W: | H:

917 KB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -171,6 +171,7 @@ ...@@ -171,6 +171,7 @@
<kf-box ref="kfRef" /> <kf-box ref="kfRef" />
<!-- 设置弹框 --> <!-- 设置弹框 -->
<setting-box ref="settingRef" /> <setting-box ref="settingRef" />
<slot name="content" />
</view> </view>
</template> </template>
<script> <script>
......
<template>
<uni-popup
ref="customer"
type="center"
:is-mask-click="false"
animation
>
<view class="box">
<view class="title flex">
<view class="text">请选择当前洽谈的客户类型</view>
<view
class="icon-close-box flex"
@click="close"
>
<uni-icons
class="icon-close"
type="closeempty"
:size="16"
color="#1A1A1A"
></uni-icons>
</view>
</view>
<view class="content flex">
<template v-for="(i,index) in typeList">
<view
class="item flex"
:key="index"
>
<view :class="['sprite-icon',i.icon]"></view>
<view class="item-title">{{i.title}}</view>
<text class="item-describe">{{i.describe}}</text>
</view>
</template>
</view>
</view>
</uni-popup>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
typeList: [
{
title: '回店客户',
describe: '客户已领精品券且已上牌完成\n交付安排客户当日回店提车',
icon: 'icon-customer-1'
}, {
title: '现场客户',
describe: '客户未领取精品券\n首次到店',
icon: 'icon-customer-2'
}
]
}
},
mounted () {
},
methods: {
open () {
this.$refs.customer.open();
},
close () {
this.$refs.customer.close();
}
}
}
</script>
<style scoped lang='scss'>
.box {
width: 1920rpx;
height: 1120rpx;
background: #ffffff;
border-radius: 48rpx;
.title {
width: 100%;
height: 160rpx;
background-image: url("@/assets/images/boutique/customer-type-bg.webp");
background-size: 100%;
position: relative;
.text {
font-weight: 500;
font-size: 40rpx;
color: #1a1a1a;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.icon-close-box {
height: 100%;
margin-left: auto;
padding: 0 48rpx;
}
}
.content {
padding: 16rpx 80rpx 72rpx;
width: 100%;
height: calc(100% - 160rpx);
gap: 0 64rpx;
.item {
width: calc(50% - 32rpx);
height: 100%;
background: #ffffff;
box-shadow: 0 12rpx 24rpx 0 #2c66f726;
border-radius: 48rpx;
flex-direction: column;
box-sizing: border-box;
padding-top: 112rpx;
position: relative;
&::before,
&::after {
content: "";
position: absolute;
left: 0;
width: 100%;
background: #EDF5FF;
filter: blur(40rpx);
}
&::before {
top: 0;
height: 62rpx;
}
&::after {
bottom: 0;
height: 126rpx;
}
&-title {
font-weight: 500;
font-size: 40rpx;
color: #1a1a1a;
padding: 32rpx 0 16rpx;
}
&-describe {
font-size: 32rpx;
color: #808291;
text-align: center;
}
&:first-child {
&::before,&::after {
background: #f7f5ff;
}
}
}
}
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<home-frame <home-frame
@handleTouchStart="handleTouchStart" @handleTouchStart="handleTouchStart"
@preview="preview" @preview="preview"
@start="start" @start="$refs.customerTypeRef.open()"
ref="home" ref="home"
:id="id" :id="id"
@openStep="openStep" @openStep="openStep"
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
ref="detail" ref="detail"
/> />
</template> </template>
<template slot="content">
<customer-type ref="customerTypeRef" />
</template>
</home-frame> </home-frame>
</template> </template>
...@@ -49,10 +52,11 @@ import myClick from "@/mixin/click"; ...@@ -49,10 +52,11 @@ import myClick from "@/mixin/click";
import HomeFrame from '../../components/HomeFrame/index.vue' import HomeFrame from '../../components/HomeFrame/index.vue'
import RecordList from '../home/components/RecordList.vue'; import RecordList from '../home/components/RecordList.vue';
import detail from './detail.vue' import detail from './detail.vue'
import CustomerType from './components/CustomerType.vue';
import { mapMutations } from "vuex"; import { mapMutations } from "vuex";
export default { export default {
mixins: [myClick], mixins: [myClick],
components: { HomeFrame, RecordList, detail }, components: { HomeFrame, RecordList, detail, CustomerType },
name: 'boutique', name: 'boutique',
data () { data () {
return { return {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!