|
@@ -19,14 +19,14 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view style="border-bottom: 1upx solid #eee;margin:0" v-for="(tim, timInd) in timeArr" :key="timInd" v-else>
|
|
<view style="border-bottom: 1upx solid #eee;margin:0" v-for="(tim, timInd) in timeArr" :key="timInd" v-else>
|
|
|
<view class="cu-form-group" style="margin:0" v-if="timInd == 0 && timeArr.length < 3">
|
|
<view class="cu-form-group" style="margin:0" v-if="timInd == 0 && timeArr.length < 3">
|
|
|
- <input placeholder="添加营业时段(1/3)" v-model="tim.value" name="input" @click="open(timInd)"></input>
|
|
|
|
|
|
|
+ <input placeholder="添加营业时段(1/3)" v-model="tim.value" name="input" @click="open(timInd)" disabled="true"></input>
|
|
|
<view @click="add()" class="add-style">添加</view>
|
|
<view @click="add()" class="add-style">添加</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view v-else>
|
|
<view v-else>
|
|
|
<uni-swipe-action>
|
|
<uni-swipe-action>
|
|
|
<uni-swipe-action-item :right-options="options2" :show="timInd.show" :auto-close="false">
|
|
<uni-swipe-action-item :right-options="options2" :show="timInd.show" :auto-close="false">
|
|
|
<view class="cu-form-group" style="margin:0">
|
|
<view class="cu-form-group" style="margin:0">
|
|
|
- <input :placeholder='"添加营业时段(" + (timInd + 1) + "/3)"' v-model="tim.value" name="input"
|
|
|
|
|
|
|
+ <input :placeholder='"添加营业时段(" + (timInd + 1) + "/3)"' v-model="tim.value" name="input" disabled="true"
|
|
|
@click="open(timInd)"></input>
|
|
@click="open(timInd)"></input>
|
|
|
<text class='cuIcon-right' style="color: #C7C6CA ;" @click="open(timInd)"></text>
|
|
<text class='cuIcon-right' style="color: #C7C6CA ;" @click="open(timInd)"></text>
|
|
|
</view>
|
|
</view>
|