汉丰湖Vlog短视频应用系统

This commit is contained in:
卢序振 2024-06-11 16:31:57 +08:00
parent a1d1d3d473
commit 37efdd2f02
2 changed files with 18 additions and 18 deletions

View File

@ -91,7 +91,7 @@
</template>
</el-table-column>
<el-table-column label="价格(元)" align="center" prop="price"/>
<el-table-column label="视频" align="center" prop="video" show-overflow-tooltip/>
<!-- <el-table-column label="视频" align="center" prop="video" show-overflow-tooltip/>-->
<el-table-column label="时间" align="center" prop="times">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.times, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
@ -117,7 +117,6 @@
>删除
</el-button>
<el-button size="mini" type="text" icon="el-icon-video-camera" @click="playVideo(scope.row)"
v-hasPermi="['species:video:remove']"
>查看视频
</el-button>
</template>
@ -133,8 +132,8 @@
/>
<!-- 添加或修改模板管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-dialog :title="title" :visible.sync="open" width="400px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="70px">
<!-- <el-form-item label="主键" prop="id">-->
<!-- <el-input v-model="form.id" placeholder="请输入主键"/>-->
<!-- </el-form-item>-->
@ -142,7 +141,7 @@
<el-input v-model="form.templateName" placeholder="请输入模板名称"/>
</el-form-item>
<el-form-item label="模板类型" prop="templateType">
<el-select v-model="form.templateType" placeholder="请选择模板类型">
<el-select v-model="form.templateType" placeholder="请选择模板类型" style="width: 100%">
<el-option
v-for="dict in dict.type.template_type"
:key="dict.value"
@ -179,6 +178,7 @@
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择时间"
style="width: 100%"
>
</el-date-picker>
</el-form-item>

View File

@ -110,8 +110,8 @@
<dict-tag :options="dict.type.template_type" :value="scope.row.templateType"/>
</template>
</el-table-column>
<el-table-column label="价格" align="center" prop="price"/>
<el-table-column label="视频" align="center" prop="video" show-overflow-tooltip/>
<el-table-column label="价格(元)" align="center" prop="price"/>
<!-- <el-table-column label="视频" align="center" prop="video" show-overflow-tooltip/>-->
<el-table-column label="时间" align="center" prop="times">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.times, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
@ -127,7 +127,7 @@
<dict-tag :options="dict.type.hfh_discount_type" :value="scope.row.reserveTwo"/>
</template>
</el-table-column>
<el-table-column label="最终价格" align="center" prop="reserveThree"/>
<el-table-column label="最终价格(元)" align="center" prop="reserveThree"/>
<el-table-column label="二维码" align="center" prop="reserveFour" width="100">
<template slot-scope="scope">
<image-preview :src="scope.row.reserveFour" :width="50" :height="50"/>
@ -153,7 +153,6 @@
<!-- >删除-->
<!-- </el-button>-->
<el-button size="mini" type="text" icon="el-icon-video-camera" @click="playVideo(scope.row)"
v-hasPermi="['species:video:remove']"
>查看视频
</el-button>
</template>
@ -169,8 +168,8 @@
/>
<!-- 添加或修改模板管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<!-- <el-form-item label="主键" prop="id">-->
<!-- <el-input v-model="form.id" placeholder="请输入主键"/>-->
<!-- </el-form-item>-->
@ -182,7 +181,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="模板类型" prop="templateType">
<el-select v-model="form.templateType" placeholder="请选择模板类型" disabled>
<el-select v-model="form.templateType" placeholder="请选择模板类型" disabled style="width: 100%">
<el-option
v-for="dict in dict.type.template_type"
:key="dict.value"
@ -195,13 +194,13 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="价格" prop="price">
<el-input v-model="form.price" placeholder="请输入价格" disabled/>
<el-form-item label="价格(元)" prop="price">
<el-input v-model="form.price" placeholder="请输入价格(元)" disabled style="width: 100%"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="活动名称" prop="reserveOne">
<el-select v-model="form.reserveOne" placeholder="请选择活动名称">
<el-select v-model="form.reserveOne" placeholder="请选择活动名称" style="width: 100%">
<el-option
v-for="dict in dict.type.hfh_activity_name"
:key="dict.value"
@ -221,13 +220,14 @@
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择时间"
disabled
style="width: 100%"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="折扣" prop="reserveTwo">
<el-select v-model="form.reserveTwo" placeholder="请选择折扣">
<el-select v-model="form.reserveTwo" placeholder="请选择折扣" style="width: 100%">
<el-option
v-for="dict in dict.type.hfh_discount_type"
:key="dict.value"
@ -245,8 +245,8 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最终价格" prop="reserveThree">
<el-input v-model="form.reserveThree" placeholder="请输入最终价格"/>
<el-form-item label="最终价格(元)" prop="reserveThree">
<el-input v-model="form.reserveThree" placeholder="请输入最终价格(元)"/>
</el-form-item>
</el-col>
</el-row>