|
|
|
@ -208,8 +208,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="flex align-center justify-between" style="margin-top: 20px;">
|
|
|
|
|
<view :class="activeTab == item.id ? 'tapDsalk' : 'dsalk'" @click="getJqqd(item.id)"
|
|
|
|
|
v-for="(item,homeIindex) in homePageCountNum" :key="homeIindex">
|
|
|
|
|
<view :class="activeTab == item.id ? 'tapDsalk' : 'dsalk'" @click="getJqqd(item.id)" v-for="(item,homeIindex) in homePageCountNum" :key="homeIindex">
|
|
|
|
|
<view class="sda flex align-center" v-if="homeIindex==indexImg" v-for="(imgItem,indexImg) in jiazhongIimg" :key="indexImg">
|
|
|
|
|
<image :src="imgItem.url" mode="" style="width: 30px;height: 30px;"></image>
|
|
|
|
|
<!-- <image :src="item.icon" style="width: 20px;height: 20px;"></image> -->
|
|
|
|
@ -425,6 +424,12 @@
|
|
|
|
|
<text
|
|
|
|
|
style="border-radius: 10rpx 10rpx 0 0; background: linear-gradient(90deg, #019C88, #28BA92, #35C495);padding: 15rpx 15rpx 5rpx 15rpx;color: white;">今日服务</text>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="bgwhite radius margin-top-sm padding-bottom-sm"
|
|
|
|
|
:style="{ backgroundColor: item.status == 2 ? '#f6fcfa' : '', border: item.status == 2 ? '2px solid rgb(207, 237, 225)' : '' }"
|
|
|
|
|
v-for="(item, index) in goods" :key='index' @click="goNav('/my/order/revenueDetails?ordersId=' + item.ordersId)">
|
|
|
|
|
|
|
|
|
|
<view class="xian" v-if="item.status == 6"></view>
|
|
|
|
|
<view class="pintuan_syrs flex justify-between" v-if="item.status == 6">
|
|
|
|
|
<view class="pintuan-title" >
|
|
|
|
|
<image src="../../static/clock.png" class="pintuan-img"></image>
|
|
|
|
@ -437,9 +442,7 @@
|
|
|
|
|
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
|
|
|
|
|
font-size="30" separator-size="30"></u-count-down>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bgwhite radius margin-top-sm padding-bottom-sm"
|
|
|
|
|
:style="{ backgroundColor: item.status == 2 ? '#f6fcfa' : '', border: item.status == 2 ? '2px solid rgb(207, 237, 225)' : '' }"
|
|
|
|
|
v-for="(item, index) in goods" :key='index' @click="goNav('/my/order/revenueDetails?ordersId=' + item.ordersId)">
|
|
|
|
|
|
|
|
|
|
<view class="flex justify-between padding-sm ">
|
|
|
|
|
<view class="progress-text">预约时间:{{ item.serveTime }}</view>
|
|
|
|
|
<view class="progress-status" v-if="item.status == 1">待付款...</view>
|
|
|
|
@ -455,8 +458,6 @@
|
|
|
|
|
<view class="text-green" v-if="item.state ==3||item.state ==4">已完成</view> -->
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<view class="xian" v-if="item.status == 6"></view>
|
|
|
|
|
|
|
|
|
|
<view class=" u-flex u-p-t-30 padding-sm">
|
|
|
|
|
<view class="u-m-r-10">
|
|
|
|
|
<u-avatar :src="item.massageImg ? item.massageImg : '../../static/logo.png'" mode="square"
|
|
|
|
@ -698,7 +699,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
console.log(this.isLogin);
|
|
|
|
|
this.getHomeListData();
|
|
|
|
|
this.getHomeMaterialPackageList();
|
|
|
|
|
//是否开启理疗师端实时定位 330
|
|
|
|
@ -730,6 +730,7 @@ export default {
|
|
|
|
|
// this.userId = uni.getStorageSync('userId')
|
|
|
|
|
this.userId = this.$queue.getData("userId")
|
|
|
|
|
|
|
|
|
|
console.log('this.userId------------->',this.userId);
|
|
|
|
|
this.isCashDeposit = uni.getStorageSync('isCashDeposit')
|
|
|
|
|
if (this.userId) {
|
|
|
|
|
console.log(this.userId, "dwdwadwdawd============>");
|
|
|
|
@ -831,6 +832,11 @@ export default {
|
|
|
|
|
this.formatHomeMaterialPackageList = res?.data.slice(0, 3);
|
|
|
|
|
// this.formatHomeMaterialPackageList = [];
|
|
|
|
|
this.homeMaterialPackageList = res.data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log('this.homeMaterialPackageList------>>',this.homeMaterialPackageList);
|
|
|
|
|
console.log('this.formatHomeMaterialPackageList------>>',this.formatHomeMaterialPackageList);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -859,6 +865,8 @@ export default {
|
|
|
|
|
//获取App首页数据
|
|
|
|
|
getHomeListData() {
|
|
|
|
|
let artificerId = uni.getStorageSync("artificerId");
|
|
|
|
|
|
|
|
|
|
console.log('artificerId------->',artificerId);
|
|
|
|
|
if (artificerId) {
|
|
|
|
|
this.$Request.getXZX("/app/artificer/integral/home/?artificerId=" + artificerId,).then((res) => {
|
|
|
|
|
if (res && res.data) {
|
|
|
|
|