修改样式

This commit is contained in:
yyhouc 2023-04-23 17:17:36 +08:00
parent 931312d1da
commit 5b1b8b3f89
1 changed files with 10 additions and 8 deletions

View File

@ -1,21 +1,21 @@
<template> <template>
<el-dialog title="Collection robot" v-model="state.isShowDialog" width="700px"> <el-dialog title="Collection robot" v-model="state.isShowDialog" width="1100px">
<el-row> <el-row>
<el-col :span="5" style="text-align:center ;"> <el-col :span="5" style="text-align:center ;">
<el-image style="height:40px ; width:100px!" src="/baidu.jpg"></el-image> <el-image style="height:40px ; width:100px!" src="/baidu.jpg"></el-image>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="12">
<el-form-item label="Confirm keywords" style="text-align:center;"> <el-form-item label="Confirm keywords" style="text-align:center;">
<el-input v-model="state.baidu.keywords"> <el-input v-model="state.baidu.keywords">
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="3">
<el-form-item label="page" style="text-align:center ; margin-left: 10px;"> <el-form-item label="page" style="text-align:center ; margin-left: 10px;">
<el-input v-model="state.baidu.page" type="number" style="width: 70px ;"></el-input> <el-input v-model="state.baidu.page" type="number" style="width: 70px ;"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" style="text-align:center ;"> <el-col :span="3" style="text-align:center ;">
<el-icon :size="40" style="cursor:pointer ;" :title="state.baidu.status==0?'Waiting in queue……':'start'" :color="state.baidu.status==0?'#4f4':'blue'" @click="state.baidu.status==0?confirmBox('baidu'):start('baidu')" v-if="state.baiduOption.buttonIs&&(state.baidu.status==0||!state.baidu.status)"> <el-icon :size="40" style="cursor:pointer ;" :title="state.baidu.status==0?'Waiting in queue……':'start'" :color="state.baidu.status==0?'#4f4':'blue'" @click="state.baidu.status==0?confirmBox('baidu'):start('baidu')" v-if="state.baiduOption.buttonIs&&(state.baidu.status==0||!state.baidu.status)">
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-ea893728=""><path fill="currentColor" d="m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"></path></svg> <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-ea893728=""><path fill="currentColor" d="m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"></path></svg>
</el-icon> </el-icon>
@ -33,17 +33,17 @@
<el-col :span="5" style="text-align:center ;"> <el-col :span="5" style="text-align:center ;">
<el-image style="height:40px ; width:100px!" src="/bing.webp"></el-image> <el-image style="height:40px ; width:100px!" src="/bing.webp"></el-image>
</el-col> </el-col>
<el-col :span="9" > <el-col :span="12" >
<el-form-item label="Confirm keywords" style="text-align:center ;"> <el-form-item label="Confirm keywords" style="text-align:center ;">
<el-input v-model="state.bing.keywords"></el-input> <el-input v-model="state.bing.keywords"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5" > <el-col :span="3" >
<el-form-item label="page" style="text-align:center; margin-left: 10px;"> <el-form-item label="page" style="text-align:center; margin-left: 10px;">
<el-input v-model="state.bing.page" type="number" style="width: 70px ;"></el-input> <el-input v-model="state.bing.page" type="number" style="width: 70px ;"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" style="text-align:center ;"> <el-col :span="3" style="text-align:center ;">
<el-icon :size="40" style="cursor:pointer ;" :title="state.bing.status==0?'Waiting in queue……':'start'" :color="state.bing.status==0?'#4f4':'blue'" @click="state.bing.status==0?confirmBox('bing'):start('bing')" v-if="state.bingOption.buttonIs&&(state.bing.status==0||!state.bing.status)"> <el-icon :size="40" style="cursor:pointer ;" :title="state.bing.status==0?'Waiting in queue……':'start'" :color="state.bing.status==0?'#4f4':'blue'" @click="state.bing.status==0?confirmBox('bing'):start('bing')" v-if="state.bingOption.buttonIs&&(state.bing.status==0||!state.bing.status)">
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-ea893728=""><path fill="currentColor" d="m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"></path></svg> <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-ea893728=""><path fill="currentColor" d="m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"></path></svg>
</el-icon> </el-icon>
@ -119,6 +119,8 @@ const confirmBox = (text)=>{
}) })
} }
const openDialog = (row) => { const openDialog = (row) => {
state.baidu={};
state.bing={};
state.data = row; state.data = row;
state.baidu.keywords = row.disasterKeyword; state.baidu.keywords = row.disasterKeyword;
state.baidu.disaster_id = row.id state.baidu.disaster_id = row.id
@ -136,7 +138,7 @@ const getDate = ()=>{
state.baidu = element; state.baidu = element;
} }
if(element.type == 1){ if(element.type == 1){
state.baidu = element; state.bing = element;
} }
} }