Commit ee126d3f authored by zhengke's avatar zhengke

修改

parent c96e9a09
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3"> <div class="col-3">
<q-input @change="resetSearch" clearable standout="bg-primary text-white" class="col-6 q-pr-lg q-pr-lg" <q-input @change="resetSearch" clearable standout="bg-primary text-white" class="col-6 q-pr-lg q-pr-lg"
v-model="msg.Title" label="新闻名称" maxlength="20" @clear="resetSearch" /> v-model="msg.Title" label="标题" maxlength="20" @clear="resetSearch" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" standout="bg-primary text-white" class="col-6 q-pr-lg q-pr-lg" <q-select @input="resetSearch" standout="bg-primary text-white" class="col-6 q-pr-lg q-pr-lg"
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
<img :src="props.row.Img" style="width:50px;" /> <img :src="props.row.Img" style="width:50px;" />
</q-td> </q-td>
</template> </template>
<!-- <template v-slot:body-cell-Content="props">
<q-td :props="props">
<div v-html="props.row.Content"></div>
</q-td>
</template> -->
<template v-slot:body-cell-Status="props"> <template v-slot:body-cell-Status="props">
<q-td :props="props"> <q-td :props="props">
<q-toggle size="md" color="primary" :false-value="1" :true-value="0" v-model="props.row.Status" <q-toggle size="md" color="primary" :false-value="1" :true-value="0" v-model="props.row.Status"
...@@ -76,12 +81,6 @@ ...@@ -76,12 +81,6 @@
field: 'Title', field: 'Title',
align: 'left' align: 'left'
}, },
{
name: 'Content',
label: '内容',
field: 'Content',
align: 'left'
},
{ {
name: 'Img', name: 'Img',
label: '图片', label: '图片',
......
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