Commit 0c9e89d3 authored by libin's avatar libin

添加新闻类型

parent a874443d
......@@ -18,7 +18,7 @@
</el-table-column>
<el-table-column width="180" align="center" label="类型">
<template scope="scope">
<span>{{scope.row.type==0?"首页":scope.row.type==1?"旅游":scope.row.type==2?"营地":scope.row.type==3?"房车":scope.row.type==4?"活动":scope.row.type==5}}</span>
<span>{{scope.row.type==0?"首页":scope.row.type==1?"旅游":scope.row.type==2?"营地":scope.row.type==3?"房车":scope.row.type==4?"活动":scope.row.type==5?"新闻":scope.row.type}}</span>
</template>
</el-table-column>
<el-table-column width="250" align="center" label="banner图">
......@@ -57,6 +57,7 @@
<el-radio class="radio" v-model="form.type" label="2">营地</el-radio>
<el-radio class="radio" v-model="form.type" label="3">房车</el-radio>
<el-radio class="radio" v-model="form.type" label="4">活动</el-radio>
<el-radio class="radio" v-model="form.type" label="5">新闻</el-radio>
</el-form-item>
<!--BASE_API + -->
<el-form-item label="banner图" prop="cover" :style="{display:'block'}">
......
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