|
@@ -0,0 +1,505 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class="list-view">
|
|
|
|
|
+ <div class="filters-container">
|
|
|
|
|
+ <el-form :model="form" size="mini" inline>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="活动名称">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ v-model="performanceId"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ filterable
|
|
|
|
|
+ placeholder="活动名称"
|
|
|
|
|
+ style="width: 300px"
|
|
|
|
|
+ @change="changeAddress"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="item in performances"
|
|
|
|
|
+ :key="item.value"
|
|
|
|
|
+ :label="item.label"
|
|
|
|
|
+ :value="item.value"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item>
|
|
|
|
|
+ <el-button @click="getData" type="primary" icon="el-icon-search">查询 </el-button>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item>
|
|
|
|
|
+ <el-button>设置复审</el-button>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <!-- <div v-if="!performance.online">
|
|
|
|
|
+ <el-form-item label="活动日期">
|
|
|
|
|
+ <el-date-picker v-model="date" type="date" placeholder="选择日期" class="filter-item">
|
|
|
|
|
+ </el-date-picker>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="时间">
|
|
|
|
|
+ <el-radio-group v-model="morning" @change="getData" class="filter-item">
|
|
|
|
|
+ <el-radio-button :label="true">上午</el-radio-button>
|
|
|
|
|
+ <el-radio-button :label="false">下午</el-radio-button>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="活动地点">
|
|
|
|
|
+ <el-select v-model="form.address" class="filter-item">
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="(item, index) in addresses"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ :value="item.value"
|
|
|
|
|
+ :label="item.value"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </div> -->
|
|
|
|
|
+ <!-- <el-form-item label="评审专家"></el-form-item> -->
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <el-table
|
|
|
|
|
+ :data="tableData"
|
|
|
|
|
+ row-key="id"
|
|
|
|
|
+ ref="table"
|
|
|
|
|
+ header-row-class-name="table-header-row"
|
|
|
|
|
+ header-cell-class-name="table-header-cell"
|
|
|
|
|
+ row-class-name="table-row"
|
|
|
|
|
+ cell-class-name="table-cell"
|
|
|
|
|
+ :height="tableHeight"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-table-column v-if="multipleMode" align="center" type="selection" width="50"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="id" label="编号" width="80"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="arrangeName" label="分组"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="name" label="节目名称" min-width="70"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="specialty" label="参赛专业"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="participant" label="参赛人员" show-overflow-tooltip>
|
|
|
|
|
+ <template slot-scope="{ row }">{{ row.participant.join(',') }}</template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column prop="quantity" label="表演人数" min-width="70"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="signedIn" label="状态" :formatter="signedInFormatter" v-if="!performance.online">
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column prop="myScore" label="专家平均分"> </el-table-column>
|
|
|
|
|
+ <el-table-column prop="score" label="成绩">
|
|
|
|
|
+ <template slot-scope="{ row }">
|
|
|
|
|
+ <span v-if="!row.second">{{ row.score }}</span>
|
|
|
|
|
+ <el-input-number
|
|
|
|
|
+ v-else
|
|
|
|
|
+ v-model="row.score"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ label=""
|
|
|
|
|
+ :min="0"
|
|
|
|
|
+ :max="100"
|
|
|
|
|
+ :step="1"
|
|
|
|
|
+ :controls="true"
|
|
|
|
|
+ controls-position="right"
|
|
|
|
|
+ @change="saveRow(row)"
|
|
|
|
|
+ style="width: 80px"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-input-number>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="操作" align="left" fixed="right" min-width="150">
|
|
|
|
|
+ <template slot-scope="{ row, $index }">
|
|
|
|
|
+ <el-button @click="playVideo(row, $index)" size="mini" plain type="primary">查看作品</el-button>
|
|
|
|
|
+ <el-button @click="row.second = true" size="mini" plain type="warning" v-if="!row.second"
|
|
|
|
|
+ >修改</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-button @click="row.second = false" size="mini" plain type="danger" v-else>取消</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ <div class="pagination-wrapper">
|
|
|
|
|
+ <!-- <div class="multiple-mode-wrapper">
|
|
|
|
|
+ <el-button v-if="!multipleMode" @click="toggleMultipleMode(true)">批量编辑</el-button>
|
|
|
|
|
+ <el-button-group v-else>
|
|
|
|
|
+ <el-button @click="operation1">批量操作1</el-button>
|
|
|
|
|
+ <el-button @click="operation2">批量操作2</el-button>
|
|
|
|
|
+ <el-button @click="toggleMultipleMode(false)">取消</el-button>
|
|
|
|
|
+ </el-button-group>
|
|
|
|
|
+ </div> -->
|
|
|
|
|
+ <el-pagination
|
|
|
|
|
+ background
|
|
|
|
|
+ @size-change="onSizeChange"
|
|
|
|
|
+ @current-change="onCurrentChange"
|
|
|
|
|
+ :current-page="page"
|
|
|
|
|
+ :page-sizes="[10, 20, 30, 40, 50]"
|
|
|
|
|
+ :page-size="pageSize"
|
|
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
|
+ :total="totalElements"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-pagination>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <el-dialog class="videoDialog" destroy-on-close center append-to-body :visible.sync="showViedo" width="70%">
|
|
|
|
|
+ <video :src="programme.video" controls style="height: 85%; max-width: 85%; margin: 0 auto">
|
|
|
|
|
+ 您的浏览器不支持 video 标签。
|
|
|
|
|
+ </video>
|
|
|
|
|
+ <el-card shadow="never" style="width: 85%; margin: 10px auto">
|
|
|
|
|
+ <el-form :form="programme">
|
|
|
|
|
+ <el-form-item label="分数">
|
|
|
|
|
+ <span v-if="!programme.second">{{ programme.score }}</span>
|
|
|
|
|
+ <el-input-number
|
|
|
|
|
+ v-else
|
|
|
|
|
+ v-model="programme.score"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ label=""
|
|
|
|
|
+ :min="0"
|
|
|
|
|
+ :max="100"
|
|
|
|
|
+ :step="1"
|
|
|
|
|
+ :controls="true"
|
|
|
|
|
+ controls-position="both"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item>
|
|
|
|
|
+ <el-button size="mini" v-if="!programme.second" @click="programme.second = true" type="warning"
|
|
|
|
|
+ >修改</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-button size="mini" v-else @click="saveRow(programme)" type="primary">保存</el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ @click="programme.second = false"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ plain
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ v-if="programme.second"
|
|
|
|
|
+ >取消</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-button size="mini" @click="move(-1)" :disabled="index == 0">上一个</el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ @click="move(1)"
|
|
|
|
|
+ :disabled="(page - 1) * pageSize + index == totalElements - 1"
|
|
|
|
|
+ >下一个</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </el-card>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+<script>
|
|
|
|
|
+import delChild from '@/mixins/delChild';
|
|
|
|
|
+import { mapState } from 'vuex';
|
|
|
|
|
+import pageableTable from '@/mixins/pageableTable';
|
|
|
|
|
+import QrcodeVue from 'qrcode.vue';
|
|
|
|
|
+import { format, isSameDay, startOfDay } from 'date-fns';
|
|
|
|
|
+import endOfDay from 'date-fns/endOfDay';
|
|
|
|
|
+import addHours from 'date-fns/addHours';
|
|
|
|
|
+
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: 'ProgScoreAdminList',
|
|
|
|
|
+ mixins: [pageableTable, delChild],
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ multipleMode: false,
|
|
|
|
|
+ search: '',
|
|
|
|
|
+ url: '/programme/byScoreAdmin',
|
|
|
|
|
+ downloading: false,
|
|
|
|
|
+ form: {},
|
|
|
|
|
+ dialogSign: false,
|
|
|
|
|
+ performanceId: '',
|
|
|
|
|
+ performances: [],
|
|
|
|
|
+ performance: {},
|
|
|
|
|
+ signedInOptions: [
|
|
|
|
|
+ { label: '已签到', value: 'SIGNED_IN' },
|
|
|
|
|
+ { label: '未签到', value: 'UNSIGNED' },
|
|
|
|
|
+ { label: '已调整', value: 'ADJUSTED' }
|
|
|
|
|
+ ],
|
|
|
|
|
+ signForm: {},
|
|
|
|
|
+ addresses: [],
|
|
|
|
|
+ morning: true,
|
|
|
|
|
+ date: new Date(),
|
|
|
|
|
+ columnKeys: ['arrangeName'],
|
|
|
|
|
+ addressList: [],
|
|
|
|
|
+ showViedo: false,
|
|
|
|
|
+ programme: {},
|
|
|
|
|
+ index: 0
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+ created() {
|
|
|
|
|
+ this.morning = isSameDay(addHours(new Date(), 12), new Date());
|
|
|
|
|
+
|
|
|
|
|
+ this.$http
|
|
|
|
|
+ .post(
|
|
|
|
|
+ '/performance/all',
|
|
|
|
|
+ {
|
|
|
|
|
+ size: 1000,
|
|
|
|
|
+ sort: 'year,desc',
|
|
|
|
|
+ query: {
|
|
|
|
|
+ publish: true
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ { body: 'json' }
|
|
|
|
|
+ )
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ if (res.content.length > 0) {
|
|
|
|
|
+ res.content.forEach(item => {
|
|
|
|
|
+ this.performances.push({
|
|
|
|
|
+ label: item.name,
|
|
|
|
|
+ value: item.id
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ this.performanceId = res.content[0].id;
|
|
|
|
|
+ this.performance = res.content[0];
|
|
|
|
|
+ this.getData();
|
|
|
|
|
+ this.$http
|
|
|
|
|
+ .post('/performanceSchedule/all', { size: 100 }, { body: 'json' })
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ if (res.content.length > 0) {
|
|
|
|
|
+ res.content.forEach(item => {
|
|
|
|
|
+ this.addressList.push({
|
|
|
|
|
+ value: item.address,
|
|
|
|
|
+ pid: item.performanceId
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(e => {
|
|
|
|
|
+ console.log(e);
|
|
|
|
|
+ this.$message.error(e.error);
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(e => {
|
|
|
|
|
+ console.log(e);
|
|
|
|
|
+ this.$message.error(e.error);
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ selection() {
|
|
|
|
|
+ return this.$refs.table.selection.map(i => i.id);
|
|
|
|
|
+ },
|
|
|
|
|
+ showTable() {
|
|
|
|
|
+ return this.backMap(this.tableData);
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ signedInFormatter(row, column, cellValue, index) {
|
|
|
|
|
+ let selectedOption = this.signedInOptions.find(i => i.value === cellValue);
|
|
|
|
|
+ if (selectedOption) {
|
|
|
|
|
+ return selectedOption.label;
|
|
|
|
|
+ }
|
|
|
|
|
+ return '';
|
|
|
|
|
+ },
|
|
|
|
|
+ beforeGetData() {
|
|
|
|
|
+ let data = {
|
|
|
|
|
+ sort: 'score,desc',
|
|
|
|
|
+ query: {}
|
|
|
|
|
+ };
|
|
|
|
|
+ if (this.performanceId) {
|
|
|
|
|
+ data.query.performanceId = this.performanceId;
|
|
|
|
|
+ }
|
|
|
|
|
+ return data;
|
|
|
|
|
+ },
|
|
|
|
|
+ toggleMultipleMode(multipleMode) {
|
|
|
|
|
+ this.multipleMode = multipleMode;
|
|
|
|
|
+ if (!multipleMode) {
|
|
|
|
|
+ this.$refs.table.clearSelection();
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ showSign(row) {
|
|
|
|
|
+ this.dialogSign = true;
|
|
|
|
|
+ this.signForm.id = row.id;
|
|
|
|
|
+ },
|
|
|
|
|
+ operation1() {
|
|
|
|
|
+ this.$notify({
|
|
|
|
|
+ title: '提示',
|
|
|
|
|
+ message: this.selection
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ operation2() {
|
|
|
|
|
+ this.$message('操作2');
|
|
|
|
|
+ },
|
|
|
|
|
+ signIn() {
|
|
|
|
|
+ this.$alert('确认签到?', '提示', { type: 'primary' })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ return this.$http.post('/programme/signIn', {
|
|
|
|
|
+ id: this.signForm.id,
|
|
|
|
|
+ signedIn: this.signForm.signedIn,
|
|
|
|
|
+ description: this.signForm.description
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ this.$message.success('签到成功');
|
|
|
|
|
+ this.dialogSign = false;
|
|
|
|
|
+ this.getData();
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(e => {
|
|
|
|
|
+ if (e !== 'cancel') {
|
|
|
|
|
+ this.$message.error(e.error);
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ saveScore(row) {
|
|
|
|
|
+ if (!row.myScore) {
|
|
|
|
|
+ this.$message.warning('请输入评分');
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$http
|
|
|
|
|
+ .post('/programmeScore/saveScore?programmeId=' + row.id, {
|
|
|
|
|
+ score: row.myScore,
|
|
|
|
|
+ remark: row.remark,
|
|
|
|
|
+ performanceId: row.performanceId
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ this.$message.success('评分成功');
|
|
|
|
|
+ this.getData();
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(e => {
|
|
|
|
|
+ this.$message.error(e.error);
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ saveRow(row) {
|
|
|
|
|
+ if (!row.score) {
|
|
|
|
|
+ this.$message.warning('请输入评分');
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$http
|
|
|
|
|
+ .post('/programme/saveScore', {
|
|
|
|
|
+ id: row.id,
|
|
|
|
|
+ score: row.score
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ this.saving = false;
|
|
|
|
|
+ this.$message.success('成功');
|
|
|
|
|
+ this.getData();
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(e => {
|
|
|
|
|
+ console.log(e);
|
|
|
|
|
+ this.saving = false;
|
|
|
|
|
+ this.$message.error(e.error);
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ backMap(list, key = 'arrangeName', preActive = 0) {
|
|
|
|
|
+ let _map = new Map();
|
|
|
|
|
+ list.forEach((item, index) => {
|
|
|
|
|
+ let info = {
|
|
|
|
|
+ active: index + preActive,
|
|
|
|
|
+ childNum: 1,
|
|
|
|
|
+ list: []
|
|
|
|
|
+ };
|
|
|
|
|
+ if (_map.has(item[key])) {
|
|
|
|
|
+ info = _map.get(item[key]);
|
|
|
|
|
+ info.list.push(item);
|
|
|
|
|
+ info.childNum = info.list.length;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ info.list.push(item);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ _map.set(item[key], info);
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ let keyIndex = this.columnKeys.indexOf(key);
|
|
|
|
|
+ if (keyIndex !== this.columnKeys.length - 1) {
|
|
|
|
|
+ [..._map.keys()].forEach(item => {
|
|
|
|
|
+ let info = _map.get(item);
|
|
|
|
|
+ let childMap = this.backMap(info.list, this.columnKeys[keyIndex + 1], info.active);
|
|
|
|
|
+ _map.set(item, {
|
|
|
|
|
+ ...info,
|
|
|
|
|
+ childMap: childMap
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return _map;
|
|
|
|
|
+ },
|
|
|
|
|
+ getInfo(mapInfo = new Map(), keys = ['date']) {
|
|
|
|
|
+ let info = {};
|
|
|
|
|
+ keys.forEach(item => {
|
|
|
|
|
+ if (mapInfo.has(item)) {
|
|
|
|
|
+ info = mapInfo.get(item);
|
|
|
|
|
+ mapInfo = mapInfo.get(item).childMap;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ return info;
|
|
|
|
|
+ },
|
|
|
|
|
+ objectSpanMethod({ row, column, rowIndex, columnIndex }) {
|
|
|
|
|
+ let keyIndex = columnIndex;
|
|
|
|
|
+ // if (column.label === '操作') {
|
|
|
|
|
+ // keyIndex = 2;
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ if (keyIndex < this.columnKeys.length) {
|
|
|
|
|
+ let keys = [...this.columnKeys].slice(0, keyIndex + 1).map(item => {
|
|
|
|
|
+ return row[item];
|
|
|
|
|
+ });
|
|
|
|
|
+ let info = this.getInfo(this.showTable, keys);
|
|
|
|
|
+ if (rowIndex === info.active) {
|
|
|
|
|
+ return {
|
|
|
|
|
+ rowspan: info.childNum,
|
|
|
|
|
+ colspan: 1
|
|
|
|
|
+ };
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return {
|
|
|
|
|
+ rowspan: 0,
|
|
|
|
|
+ colspan: 0
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ playVideo(row, index) {
|
|
|
|
|
+ this.index = index;
|
|
|
|
|
+ if (row.video) {
|
|
|
|
|
+ this.showViedo = true;
|
|
|
|
|
+ this.programme = row;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message.success('暂无视频');
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ move(direction) {
|
|
|
|
|
+ const end = direction + this.index;
|
|
|
|
|
+ this.programme = { ...this.tableData[end] };
|
|
|
|
|
+ this.index = end;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+};
|
|
|
|
|
+</script>
|
|
|
|
|
+<style lang="less" scoped>
|
|
|
|
|
+.right {
|
|
|
|
|
+ float: right;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-form-item--mini.el-form-item,
|
|
|
|
|
+.el-form-item--small.el-form-item {
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+.videoDialog {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ .el-dialog {
|
|
|
|
|
+ max-width: 900px;
|
|
|
|
|
+ margin-top: 0px;
|
|
|
|
|
+
|
|
|
|
|
+ .close {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right: 0px;
|
|
|
|
|
+ top: -42px;
|
|
|
|
|
+ width: 71px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ background: #00000015;
|
|
|
|
|
+
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #fdffff;
|
|
|
|
|
+ line-height: 32px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ background: #00000055;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .el-dialog__header {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-dialog__body {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+
|
|
|
|
|
+ video {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ height: auto;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|