|
@@ -18,80 +18,83 @@
|
|
|
|
|
|
<view>
|
|
|
<view class='caution' v-if='currectData.status!="显示中"&&currectData.status!="已隐藏"'>
|
|
|
- {{currectData.status}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class='wrap'>
|
|
|
- <view>
|
|
|
- <view style='font-size:28rpx;'>店铺照片</view>
|
|
|
- <view style='flex-wrap: wrap;' class='flex'>
|
|
|
- <view class='shop_image' v-for='item in currectData.indoorImageArray'>
|
|
|
- <u--image :showLoading="true" :radius='10' :src="item" width="100rpx"
|
|
|
- height="100rpx"></u--image>
|
|
|
+ {{currectData.status}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view style='margin:20rpx 0 30rpx;'>
|
|
|
- <view class='switch_show flex' style='font-size:34rpx;'>
|
|
|
- <view :class='showStatus==0?"active":""' @click='switchShow(0)'>
|
|
|
- 商品展示({{currectData.displaysNum?currectData.displaysNum:0}})</view>
|
|
|
- <view :class='showStatus==1?"active":""' @click='switchShow(1)'>
|
|
|
- 团购({{currectData.groupNum?currectData.groupNum:0}})</view>
|
|
|
- </view>
|
|
|
- <view v-if='showStatus==0' style='font-size:28rpx;'>
|
|
|
- <view v-for='item in currectData.dishClassifyInfoList' v-show='item.dishesNum'>
|
|
|
- <view class=='flex justify-space-between'>
|
|
|
- <view>{{item.classifyName}}({{item.dishesNum}})</view>
|
|
|
- <view @click='up(item)' class="merchants_button">置顶</view>
|
|
|
+ <view class='wrap'>
|
|
|
+ <view>
|
|
|
+ <view style='font-size:28rpx;'>店铺照片</view>
|
|
|
+ <view style='flex-wrap: wrap;' class='flex'>
|
|
|
+ <view class='shop_image' v-for='item in currectData.indoorImageArray'>
|
|
|
+ <u--image :showLoading="true" :radius='10' :src="item" width="100rpx"
|
|
|
+ height="100rpx"></u--image>
|
|
|
</view>
|
|
|
- <view style='flex-wrap: wrap;text-align:center;' class='flex'>
|
|
|
- <view style='margin:10rpx;' v-for='item1 in item.foodDishesInfoList'>
|
|
|
- <u--image :showLoading="true" :src="item1.dishImage" width="150rpx"
|
|
|
- height="150rpx"></u--image>
|
|
|
- <view>{{item1.dishName}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view style='margin:20rpx 0 30rpx;'>
|
|
|
+ <view class='switch_show flex' style='font-size:34rpx;'>
|
|
|
+ <view :class='showStatus==0?"active":""' @click='switchShow(0)'>
|
|
|
+ 商品展示({{currectData.displaysNum?currectData.displaysNum:0}})</view>
|
|
|
+ <!-- <view :class='showStatus==1?"active":""' @click='switchShow(1)'>
|
|
|
+ 团购({{currectData.groupNum?currectData.groupNum:0}})
|
|
|
+ </view> -->
|
|
|
+ </view>
|
|
|
+ <view v-if='showStatus==0' style='font-size:28rpx;'>
|
|
|
+ <view v-for='item in currectData.dishClassifyInfoList' v-show='item.dishesNum'>
|
|
|
+ <view class=='flex justify-space-between'>
|
|
|
+ <view>{{item.classifyName}}({{item.dishesNum}})</view>
|
|
|
+ <view @click='up(item)' class="merchants_button">置顶</view>
|
|
|
</view>
|
|
|
+ <view style='flex-wrap: wrap;text-align:center;' class='flex'>
|
|
|
+ <view style='margin:10rpx;' v-for='item1 in item.foodDishesInfoList'>
|
|
|
+ <u--image :showLoading="true" :src="item1.dishImage" width="150rpx"
|
|
|
+ height="150rpx"></u--image>
|
|
|
+ <view>{{item1.dishName}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
-
|
|
|
- </view>
|
|
|
- <view v-if='showStatus==1'>
|
|
|
- <view style='margin:10rpx;' v-for='item1 in currectData.foodGroupInfoList'>
|
|
|
- <u--image v-if='item1.showImage' :showLoading="true" :src="item1.showImage" :width="width"
|
|
|
- :height="height"></u--image>
|
|
|
- <view>{{item1.groupTitle}}</view>
|
|
|
- <view class='flex justify-space-between align-item-center'>
|
|
|
- <view>{{item1.groupPrice}}</view>
|
|
|
- <view class='flex align-item-center'>
|
|
|
- <view>已收{{item1.soldNum}}.</view>
|
|
|
- <view>已用{{item1.usedNum}}.</view>
|
|
|
- <view>待用{{item1.notUseNum}}</view>
|
|
|
+ <view v-if='showStatus==1'>
|
|
|
+ <view style='margin:10rpx;' v-for='item1 in currectData.foodGroupInfoList'>
|
|
|
+ <u--image v-if='item1.showImage' :showLoading="true" :src="item1.showImage" :width="width"
|
|
|
+ :height="height"></u--image>
|
|
|
+ <view>{{item1.groupTitle}}</view>
|
|
|
+ <view class='flex justify-space-between align-item-center'>
|
|
|
+ <view>{{item1.groupPrice}}</view>
|
|
|
+ <view class='flex align-item-center'>
|
|
|
+ <view>已收{{item1.soldNum}}.</view>
|
|
|
+ <view>已用{{item1.usedNum}}.</view>
|
|
|
+ <view>待用{{item1.notUseNum}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view v-if='currectData.status=="显示中"||currectData.status=="已隐藏"' style='margin:20rpx;'
|
|
|
- class='flex justify-space-between'>
|
|
|
- <view class='merchants_button' @click='addfood'>添加菜品</view>
|
|
|
- <view class='merchants_button' @click='addGroupBuying'>添加团购</view>
|
|
|
- <view class='merchants_button' @click='shopSetting'>店铺设置</view>
|
|
|
- </view>
|
|
|
- <view v-else style='margin:20rpx;' class='flex justify-space-between'>
|
|
|
- <view v-if='currectData.status=="审核中"||currectData.status=="已禁用"' class='merchants_unable_button'>添加菜品
|
|
|
- </view>
|
|
|
- <view v-if='currectData.status=="审核中"||currectData.status=="已禁用"' class='merchants_unable_button'>添加团购
|
|
|
+ <view v-if='currectData.status=="显示中"||currectData.status=="已隐藏"' style='margin:20rpx;'
|
|
|
+ class='flex justify-space-between'>
|
|
|
+ <view class='merchants_button' @click='addfood'>添加菜品</view>
|
|
|
+ <!-- <view class='merchants_button' @click='addGroupBuying'>添加团购</view> -->
|
|
|
+ <view class='merchants_button' @click='shopSetting'>店铺设置</view>
|
|
|
</view>
|
|
|
- <view v-if='currectData.status=="审核中"||currectData.status=="已禁用"' class='merchants_unable_button'>店铺设置
|
|
|
+ <view v-else style='margin:20rpx;' class='flex justify-space-between'>
|
|
|
+ <view v-if='currectData.status=="审核中"||currectData.status=="已禁用"' class='merchants_unable_button'>添加菜品
|
|
|
+ </view>
|
|
|
+ <view v-if='currectData.status=="审核中"||currectData.status=="已禁用"' class='merchants_unable_button'>添加团购
|
|
|
+ </view>
|
|
|
+ <view v-if='currectData.status=="审核中"||currectData.status=="已禁用"' class='merchants_unable_button'>店铺设置
|
|
|
+ </view>
|
|
|
+ <view v-if='currectData.status=="已驳回"'></view>
|
|
|
+ <view v-if='currectData.status=="已驳回"' class='merchants_button' @click='editCateringindustry'>编辑店铺信息
|
|
|
+ </view>
|
|
|
+ <view v-if='currectData.status=="已驳回"'></view>
|
|
|
</view>
|
|
|
- <view v-if='currectData.status=="已驳回"'></view>
|
|
|
- <view v-if='currectData.status=="已驳回"' class='merchants_button' @click='editCateringindustry'>编辑店铺信息</view>
|
|
|
- <view v-if='currectData.status=="已驳回"'></view>
|
|
|
+ <u-picker immediateChange='true' title='选择店铺' @cancel='show = false' @confirm='shopConfirm' :show="show"
|
|
|
+ :columns="columns" keyName="shopNames"></u-picker>
|
|
|
</view>
|
|
|
- <u-picker immediateChange='true' title='选择店铺' @cancel='show = false' @confirm='shopConfirm' :show="show"
|
|
|
- :columns="columns" keyName="shopNames"></u-picker>
|
|
|
- </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|