|
@@ -18,8 +18,14 @@
|
|
|
注意:洗车过程中禁止移动车辆和上下车
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item bottom">
|
|
|
- <text class="item-text">超高加装件不能清洗</text>
|
|
|
+ <view class="item bottom" @click="lookMore">
|
|
|
+ <view class="item-text">
|
|
|
+ <text >超高加装件不能清洗</text>
|
|
|
+ <view class="right">
|
|
|
+ <text>查看更多</text>
|
|
|
+ <u-icon name="arrow-right" size="28"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<image src="/static/img/zyts.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -34,6 +40,7 @@
|
|
|
<text>{{item.itemName}}</text>
|
|
|
<text class="price">¥{{item.currentPrice}}</text>
|
|
|
</view>
|
|
|
+ <u-empty text="暂无服务项目" img-width="120" v-if="itemList.length==0 && status!='loading'" mode="list"></u-empty>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="choose-content">
|
|
@@ -91,6 +98,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ status: 'loadmore',
|
|
|
userPhone: '',
|
|
|
stepIndex: 0, // 当前步奏下标
|
|
|
serverIndex: 0, // 选择服务下标
|
|
@@ -184,9 +192,17 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ // 查看更多注意事项
|
|
|
+ lookMore () {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/careMore/careMore'
|
|
|
+ })
|
|
|
+ },
|
|
|
// 获取服务列表
|
|
|
getServerList () {
|
|
|
+ this.status = 'loading'
|
|
|
getStoreItems({storeId:100000}).then(res =>{
|
|
|
+ this.status = 'loadmore'
|
|
|
if (res.status == 200) {
|
|
|
this.itemList = res.data
|
|
|
this.serverIndex = 0
|
|
@@ -269,6 +285,9 @@
|
|
|
if (this.isRead !='read') {
|
|
|
this.toashMsg('请先阅读并同意无人洗车《注意事项及服务协议》!')
|
|
|
return
|
|
|
+ } else if (this.itemList.length==0) {
|
|
|
+ this.toashMsg('暂无服务项目')
|
|
|
+ return
|
|
|
}
|
|
|
uni.showLoading({
|
|
|
title: '请求中...',
|
|
@@ -414,6 +433,10 @@
|
|
|
color: #333;
|
|
|
}
|
|
|
.item-text{
|
|
|
+ width: 100%;
|
|
|
+ padding:0 20rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
padding-top: 20rpx;
|
|
|
}
|
|
|
}
|