Commit 0fdbbd5c by 李伟康

commit 提交

1 parent e3ee82ac
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
.icon-home-active { width: 112rpx; height: 112rpx; background-position: -127rpx -726rpx;} .icon-home-active { width: 112rpx; height: 112rpx; background-position: -127rpx -726rpx;}
.icon-home { width: 112rpx; height: 112rpx; background-position: -254rpx -726rpx;} .icon-home { width: 112rpx; height: 112rpx; background-position: -254rpx -726rpx;}
.icon-icon-arrow { width: 32rpx; height: 32rpx; background-position: -1050rpx -668rpx;} .icon-icon-arrow { width: 32rpx; height: 32rpx; background-position: -1050rpx -668rpx;}
.icon-icon-close { width: 72rpx; height: 72rpx; background-position: -190rpx -964rpx;} .icon-icon-close { width: 72rpx; height: 72rpx; background-position: -285rpx -964rpx;}
.icon-icon-female { width: 32rpx; height: 32rpx; background-position: -1097rpx -668rpx;} .icon-icon-female { width: 32rpx; height: 32rpx; background-position: -1097rpx -668rpx;}
.icon-icon-male { width: 32rpx; height: 32rpx; background-position: -1144rpx -668rpx;} .icon-icon-male { width: 32rpx; height: 32rpx; background-position: -1144rpx -668rpx;}
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -1191rpx -668rpx;} .icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -1191rpx -668rpx;}
...@@ -49,11 +49,12 @@ ...@@ -49,11 +49,12 @@
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -111rpx -853rpx;} .icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -111rpx -853rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -940rpx -668rpx;} .icon-search { width: 40rpx; height: 40rpx; background-position: -940rpx -668rpx;}
.icon-second-nav { width: 480rpx; height: 176rpx; background-position: -830rpx 0rpx;} .icon-second-nav { width: 480rpx; height: 176rpx; background-position: -830rpx 0rpx;}
.icon-setting { width: 64rpx; height: 64rpx; background-position: -277rpx -964rpx;} .icon-setting { width: 64rpx; height: 64rpx; background-position: -372rpx -964rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -222rpx -853rpx;} .icon-store { width: 96rpx; height: 96rpx; background-position: -222rpx -853rpx;}
.icon-tag-checked { width: 60rpx; height: 32rpx; background-position: -1240rpx -557rpx;} .icon-tool-file { width: 60rpx; height: 60rpx; background-position: -451rpx -964rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -356rpx -964rpx;} .icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -526rpx -964rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -431rpx -964rpx;} .icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -601rpx -964rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -506rpx -964rpx;}
.icon-total { width: 32rpx; height: 32rpx; background-position: -570rpx -853rpx;} .icon-total { width: 32rpx; height: 32rpx; background-position: -570rpx -853rpx;}
.icon-visible { width: 40rpx; height: 40rpx; background-position: -995rpx -668rpx;}
\ No newline at end of file \ No newline at end of file
.icon-visible { width: 40rpx; height: 40rpx; background-position: -995rpx -668rpx;}
.icon-tag-checked { width: 60rpx; height: 32rpx; background-position: -1240rpx -557rpx;}
.icon-detail-start { width: 80rpx; height: 80rpx; background-position: -190rpx -964rpx;}
\ No newline at end of file \ No newline at end of file
No preview for this file type

1.16 MB | W: | H:

1.19 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
class="tab-item" class="tab-item"
v-for="(i, index) in typeList" v-for="(i, index) in typeList"
:key="index" :key="index"
@click="changeType(index, 'firstIndex')" @click="changeType(index)"
> >
<view <view
class="sprite-icon" class="sprite-icon"
...@@ -236,14 +236,9 @@ export default { ...@@ -236,14 +236,9 @@ export default {
}, },
methods: { methods: {
changeType (index, name) { changeType (index, name) {
if (this[name] == index) return // 点击同一个 if (this.firstIndex == index) return // 点击同一个
this.direction = '' this.flag = false
if (this[name] < index) { this.firstIndex = index
this.direction = 'right'
} else {
this.direction = 'left'
}
this[name] = index
this.list = [] this.list = []
this.pageNum = 1; this.pageNum = 1;
this.nothing = false this.nothing = false
......
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
</view> </view>
车主详情 车主详情
</view> </view>
<view class="start flex">
<view class="sprite-icon icon-detail-start"></view>开始接待
</view>
<view class="customer-box">
</view>
</view> </view>
</template> </template>
...@@ -21,11 +27,22 @@ export default { ...@@ -21,11 +27,22 @@ export default {
name: '', name: '',
data () { data () {
return { return {
customerInfo: {}
} }
}, },
onLoad (options) {
console.log(options)
this.findVisitsInfo(options.id)
},
mounted () { mounted () {
}, },
methods: { methods: {
async findVisitsInfo (id) {
const customerInfo = await uni.$api.customerApi.findVisitsInfo({
id
})
this.customerInfo = customerInfo
},
back () { back () {
uni.navigateBack({ uni.navigateBack({
delta: 1, delta: 1,
...@@ -44,6 +61,8 @@ export default { ...@@ -44,6 +61,8 @@ export default {
height: 100vh; height: 100vh;
background-image: url('@/assets/images/common/page-bg.webp'); background-image: url('@/assets/images/common/page-bg.webp');
background-size: 100%; background-size: 100%;
box-sizing: border-box;
padding-top: 160rpx;
.nav-bar { .nav-bar {
position: fixed; position: fixed;
width: 100%; width: 100%;
...@@ -67,5 +86,28 @@ export default { ...@@ -67,5 +86,28 @@ export default {
justify-content: center; justify-content: center;
} }
} }
.start {
width: 2218rpx;
height: 200rpx;
margin: 0 auto;
background-image: url('@/assets/images/common/detail-btn.webp');
background-size: 100%;
font-weight: 700;
font-size: 48rpx;
color: #ffffff;
justify-content: center;
.sprite-icon {
margin-right: 32rpx;
}
}
.customer-box {
width: 2218rpx;
height: 1112rpx;
background: #ffffff59;
box-shadow: inset 0 0 16rpx 0 #ffffff;
border-radius: 48rpx;
backdrop-filter: blur(8rpx);
margin: 32rpx auto 0;
}
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!