|
|
@@ -124,26 +124,43 @@
|
|
|
<uni-popup ref="addServicePopup" @change="popupChange" type="bottom">
|
|
|
<view class="addService">
|
|
|
|
|
|
- <view class="popupTitle">
|
|
|
- <text>添加服务项目</text>
|
|
|
- </view>
|
|
|
|
|
|
- <scroll-view class="scrollY" scroll-y>
|
|
|
- <view class="serviceItem" :class="{'vBackGround': serviceProjectListIndex === index}" v-for="(item,index) in serviceProjectList" :key="index" @click="serviceProjectListIndex = index">
|
|
|
- <view class="serviceName">
|
|
|
- <text>{{item.serviceName}}</text>
|
|
|
+
|
|
|
+ <scroll-view class="scrollY1 " scroll-y>
|
|
|
+ <view class="flex-col">
|
|
|
+ <view class="popupTitle">
|
|
|
+ <text>选择服务项目</text>
|
|
|
+ </view>
|
|
|
+ <view class="flex-row justify-center">
|
|
|
+ <view class="serviceItems ">
|
|
|
+ <view class="serviceItem " :class="{vBackGround: serviceProjectListIndex === index,marginLeft16: (index+3) % 3!==0,marginTop24:index>2}" v-for="(item,index) in 10" :key="index" @click="serviceProjectListIndex = index">
|
|
|
+ <text>单间造型服务</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="flex-row servicePrice">
|
|
|
- <u-icon name="rmb-circle" color="#666666"></u-icon>
|
|
|
- <text class="servicePriceKey">预约费用:</text>
|
|
|
- <text class="servicePricePrice">¥{{item.standardPrice}}</text>
|
|
|
+ <view class="popupTitle marginTop24">
|
|
|
+ <text>选择服务技师</text>
|
|
|
</view>
|
|
|
- <image v-if="serviceProjectListIndex === index" class="vImage" src="/static/index/xuanzhong.png"></image>
|
|
|
+
|
|
|
+ <view class="flex-row justify-center">
|
|
|
+ <view class="serviceItems ">
|
|
|
+ <view class="flex-col serviceTeach " :class="{marginLeft28: (index+4) % 4!==0,marginTop24:index>3}" v-for="(item,index) in 10" :key="index" @click="serviceProjectListIndex = index">
|
|
|
+ <image class="serviceTeachImg" src="/static/mm.webp" :class="{vBackGround: serviceProjectListIndex === index}"></image>
|
|
|
+ <view class="serviceTeachName">
|
|
|
+ <text>庞启俊</text>
|
|
|
+ </view>
|
|
|
+ <image v-if="serviceProjectListIndex === index" class="vImage" src="/static/index/xuanzhong.png"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
+
|
|
|
+
|
|
|
</scroll-view>
|
|
|
|
|
|
<view class="flex-row justify-around">
|
|
|
- <view class="cancelButton" @click="closeAddServicePopup">
|
|
|
+ <view class="cancelButton " @click="closeAddServicePopup">
|
|
|
<text>取消</text>
|
|
|
</view>
|
|
|
<view class="confirmButton" @click="addServiceProject">
|