|
@ -30,17 +30,17 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="ta-time"> |
|
|
<view class="ta-time"> |
|
|
<view> |
|
|
<view> |
|
|
<view>10:00</view> |
|
|
|
|
|
|
|
|
<view v-for="j in 20" :key="j">10:00</view> |
|
|
</view> |
|
|
</view> |
|
|
<scroll-view scroll-x @scroll="timeScroll" :scroll-left="timeAreaScrollX"> |
|
|
<scroll-view scroll-x @scroll="timeScroll" :scroll-left="timeAreaScrollX"> |
|
|
<view class="t-list" v-for="i in 7" :key="i"> |
|
|
<view class="t-list" v-for="i in 7" :key="i"> |
|
|
<view class="l-item"></view> |
|
|
|
|
|
|
|
|
<view class="l-item" v-for="j in 20" :key="j"></view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="s-tip-fixed" v-if="true"> |
|
|
|
|
|
|
|
|
<view class="s-tip-fixed" v-if="false"> |
|
|
<view class="tf-tip">可直接点击上方白色/灰色区域切换状态。</view> |
|
|
<view class="tf-tip">可直接点击上方白色/灰色区域切换状态。</view> |
|
|
<view class="tf-status"> |
|
|
<view class="tf-status"> |
|
|
<view> |
|
|
<view> |
|
@ -58,8 +58,28 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="tf-btn" hover-class="hover-active" @click="toConfig">快速预约时间</view> |
|
|
<view class="tf-btn" hover-class="hover-active" @click="toConfig">快速预约时间</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="s-select-fixed"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="s-select-fixed" v-if="false"> |
|
|
|
|
|
<view class="ssf-item"> |
|
|
|
|
|
<view>课程次数:</view> |
|
|
|
|
|
<view> |
|
|
|
|
|
<picker> |
|
|
|
|
|
<view> |
|
|
|
|
|
<input /> |
|
|
|
|
|
<image mode="aspectFit" src="/static/images/triangle_c33.png"></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
</picker> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="ssf-item"> |
|
|
|
|
|
<view>课程次数:</view> |
|
|
|
|
|
<view> |
|
|
|
|
|
<input /> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="ssf-btns"> |
|
|
|
|
|
<view class="b-btn">取消</view> |
|
|
|
|
|
<view class="b-btn">确定</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -136,6 +156,11 @@ export default { |
|
|
|
|
|
|
|
|
<style lang="scss"> |
|
|
<style lang="scss"> |
|
|
@import "~style/public.scss"; |
|
|
@import "~style/public.scss"; |
|
|
|
|
|
.time-select{ |
|
|
|
|
|
padding-bottom: 394upx; |
|
|
|
|
|
padding-bottom: calc( 394upx + constant(safe-area-inset-bottom)); /* 兼容 iOS < 11.2 */ |
|
|
|
|
|
padding-bottom: calc( 394upx + env(safe-area-inset-bottom)); /* 兼容 iOS >= 11.2 */ |
|
|
|
|
|
} |
|
|
.s-time-bar{ |
|
|
.s-time-bar{ |
|
|
height: 94upx; |
|
|
height: 94upx; |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
@ -324,4 +349,78 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.s-select-fixed{ |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
padding: 20upx 24upx 10upx; |
|
|
|
|
|
padding-bottom: calc( 10upx + constant(safe-area-inset-bottom)); /* 兼容 iOS < 11.2 */ |
|
|
|
|
|
padding-bottom: calc( 10upx + env(safe-area-inset-bottom)); /* 兼容 iOS >= 11.2 */ |
|
|
|
|
|
.ssf-item{ |
|
|
|
|
|
padding: 16upx 0; |
|
|
|
|
|
@include centerFlex(space-between); |
|
|
|
|
|
>view{ |
|
|
|
|
|
&:first-child{ |
|
|
|
|
|
flex-grow: 0; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
margin-right: 20upx; |
|
|
|
|
|
line-height: 40upx; |
|
|
|
|
|
font-size: 28upx; |
|
|
|
|
|
color: #9a9a9d; |
|
|
|
|
|
} |
|
|
|
|
|
&+view{ |
|
|
|
|
|
padding: 0 18upx; |
|
|
|
|
|
flex-grow: 1; |
|
|
|
|
|
border-radius: 10upx; |
|
|
|
|
|
border: 2upx solid #D8D8D8; |
|
|
|
|
|
background-color: #f2f2f7; |
|
|
|
|
|
picker{ |
|
|
|
|
|
view{ |
|
|
|
|
|
@include centerFlex(space-between); |
|
|
|
|
|
>image{ |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
margin-left: 20upx; |
|
|
|
|
|
width: 28upx; |
|
|
|
|
|
height: 28upx; |
|
|
|
|
|
} |
|
|
|
|
|
>input{ |
|
|
|
|
|
height: 68upx; |
|
|
|
|
|
font-size: 28upx; |
|
|
|
|
|
color: #333; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
>input{ |
|
|
|
|
|
height: 68upx; |
|
|
|
|
|
font-size: 28upx; |
|
|
|
|
|
color: #333; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.ssf-btns{ |
|
|
|
|
|
margin-top: 10upx; |
|
|
|
|
|
@include centerFlex(flex-end); |
|
|
|
|
|
.b-btn{ |
|
|
|
|
|
width: 268upx; |
|
|
|
|
|
height: 88upx; |
|
|
|
|
|
line-height: 84upx; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
border: 2upx solid $themeColor; |
|
|
|
|
|
border-radius: 42upx; |
|
|
|
|
|
font-size: 32upx; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
color: $themeColor; |
|
|
|
|
|
&:last-child{ |
|
|
|
|
|
margin-left: 26upx; |
|
|
|
|
|
background-color: $themeColor; |
|
|
|
|
|
color: #fff; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |