Commit fb525886 authored by 黄奎's avatar 黄奎

页面修改

parent a823e153
...@@ -488,6 +488,16 @@ ...@@ -488,6 +488,16 @@
<el-form-item v-show="data.addGoodsType == 0" label="商品数量"> <el-form-item v-show="data.addGoodsType == 0" label="商品数量">
<el-input size="small" v-model.number="data.goodsLength" type="number"></el-input> <el-input size="small" v-model.number="data.goodsLength" type="number"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-show="data.addGoodsType == 0" label="产品类型">
<el-radio v-model="data.goodType" :label="1">酒店产品</el-radio>
<el-radio v-model="data.goodType" :label="2">餐食产品</el-radio>
<el-radio v-model="data.goodType" :label="3">景点产品</el-radio>
<el-radio v-model="data.goodType" :label="4">线路产品</el-radio>
</el-form-item>
<el-form-item v-show="data.addGoodsType == 0" label="商品类型">
<el-radio v-model="data.orderByType" :label="1">日期</el-radio>
<el-radio v-model="data.orderByType" :label="2">点击量</el-radio>
</el-form-item>
<el-form-item v-show="data.addGoodsType == 1" label="商品列表"> <el-form-item v-show="data.addGoodsType == 1" label="商品列表">
<draggable v-model="data.list" class="goods-list" style="display:flex;"> <draggable v-model="data.list" class="goods-list" style="display:flex;">
<div class="goods-item" v-for="(goods,goodsIndex) in data.list" :key="goodsIndex"> <div class="goods-item" v-for="(goods,goodsIndex) in data.list" :key="goodsIndex">
......
...@@ -745,7 +745,8 @@ ...@@ -745,7 +745,8 @@
Id: 'goods', Id: 'goods',
isCked: false, isCked: false,
data: { data: {
goodType:1, //1酒店 2餐厅 3门票 goodType:1, //产品类型(1酒店 2餐厅 3门票,4线路)
orderByType:1,//排序类型(1-日期,2-点击量)
showCat: false, //显示分类 showCat: false, //显示分类
catPosition: 'top', //分类栏位置 catPosition: 'top', //分类栏位置
catStyle: 1, //分类样式 catStyle: 1, //分类样式
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment