tabbar.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  1. <template>
  2. <!-- 单页 -->
  3. <div>
  4. <!-- 头部搜索框部分 -->
  5. <div class="title">
  6. <el-row>
  7. <el-col :span="6" class="left">
  8. <div class="searchBox">
  9. <div class="searchTitle">网站名称</div>
  10. <el-input v-model="webSiteName_name" class="input" placeholder="请输入网站名称" clearable ></el-input>
  11. <!-- <el-select v-model="webSiteName_id" :multiple="false" :multiple-limit="1" filterable remote
  12. reserve-keyword placeholder="请输入网站名称" :remote-method="getWebNavList"
  13. :loading="webSiteLoading" @change="selectWebSite">
  14. <el-option v-for="item in webSiteList" :key="item.value" :label="item.label"
  15. :value="item.value">
  16. </el-option>
  17. </el-select> -->
  18. </div>
  19. </el-col>
  20. <el-col :span="6" class="left">
  21. <div class="searchBox">
  22. <div class="searchTitle">单页名称</div>
  23. <el-input v-model="tabbarName" class="input" placeholder="请输入单页名称" clearable ></el-input>
  24. </div>
  25. </el-col>
  26. <el-col :span="8" class="right">
  27. <div class="btnList">
  28. <button class="search" @click="goSearch">搜索</button>
  29. <button class="reset" @click="goReset">重置</button>
  30. </div>
  31. </el-col>
  32. </el-row>
  33. </div>
  34. <!--表格内容 start------------------------------------------------------------>
  35. <div class="layerBox">
  36. <tableTitle :name="tableDivTitle" />
  37. <button class="btn" @click="addWebsite">添加单页</button>
  38. <el-row>
  39. <template>
  40. <el-table class="my-table" :data="tableData" style="width: 100%">
  41. <el-table-column fixed prop="id" label="编号" width="90">
  42. </el-table-column>
  43. <el-table-column prop="website_name" label="网站" width="">
  44. </el-table-column>
  45. <el-table-column prop="name" label="单页名称" width="">
  46. </el-table-column>
  47. <el-table-column prop="created_at" label="添加时间" width="">
  48. </el-table-column>
  49. <el-table-column prop="updated_at" label="修改时间" width="">
  50. </el-table-column>
  51. <el-table-column fixed="right" label="操作" width="300">
  52. <template slot-scope="scope">
  53. <div class="listBtnBox">
  54. <div class="listDeleteBtn" @click="deleteRow(scope.row.id)">
  55. <i class="el-icon-delete"></i>
  56. 删除
  57. </div>
  58. <div class="listEditBtn" @click="goEdit(scope.row.id, scope.row)">
  59. <i class="el-icon-edit-outline"></i>
  60. 编辑
  61. </div>
  62. <div class="listLookBtn" @click="goLook(scope.row.id, scope.row)">
  63. <i class="el-icon-view"></i>
  64. 查看
  65. </div>
  66. </div>
  67. </template>
  68. </el-table-column>
  69. </el-table>
  70. </template>
  71. </el-row>
  72. </div>
  73. <!--分页 start------------------------------------------------------------>
  74. <div class="alignBox">
  75. <el-row>
  76. <el-col :span="24">
  77. <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
  78. :current-page="page" :page-size="pageSize" layout="total, prev, pager, next, jumper"
  79. :total="total">
  80. </el-pagination>
  81. </el-col>
  82. </el-row>
  83. </div>
  84. <!--分页 end------------------------------------------------------------>
  85. <!--表格内容 end------------------------------------------------------------>
  86. <!-- 弹出框 编辑 start----------------------------------------------------------->
  87. <el-dialog :title="dialogName" :visible.sync="dialogTableVisible" width="50%" top="8vh"
  88. :close-on-click-modal="false">
  89. <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
  90. <div class="dialogText">
  91. <el-form-item label="关联网站名称:" prop="webName">
  92. <el-select v-model="ruleForm.webName" :multiple="false" :multiple-limit="1" filterable remote
  93. reserve-keyword placeholder="请输入关联网站名称" :remote-method="getWebNavList"
  94. :loading="webSiteLoading" @change="detectionWebSite">
  95. <el-option v-for="item in webSiteList" :key="item.value" :label="item.label"
  96. :value="item.value">
  97. </el-option>
  98. </el-select>
  99. </el-form-item>
  100. <el-form-item label="单页名称:" prop="tabbarName">
  101. <el-input v-model="ruleForm.tabbarName" placeholder="请输入单页名称"></el-input>
  102. </el-form-item>
  103. <el-form-item label="页面类型:" prop="pageType">
  104. <el-radio v-model="ruleForm.pageType" label="1" :disabled="this.disabled">特殊列表页</el-radio>
  105. <el-radio v-model="ruleForm.pageType" label="0" :disabled="this.disabled">特殊详情页</el-radio>
  106. </el-form-item>
  107. </div>
  108. <div class="dialogBtn">
  109. <el-button type="info" @click="cancelForm">取消</el-button>
  110. <el-button type="primary" @click="submitForm('ruleForm')">提交</el-button>
  111. </div>
  112. </el-form>
  113. </el-dialog>
  114. <!-- 弹出框 编辑 end----------------------------------------------------------->
  115. </div>
  116. </template>
  117. <script>
  118. //表格标题
  119. import tableTitle from './components/tableTitle.vue';
  120. //引入公用样式
  121. import '@/styles/global.less';
  122. import { getFooterCategory, getTemplateClass, upFooterCategory, delFooterCategory } from '@/api/tabbar'
  123. export default {
  124. components: {
  125. tableTitle,//表格标题-
  126. },
  127. data() {
  128. const validateEmpty = (rule, value, callback) => {
  129. if (value.length == 0) {
  130. callback(new Error('该项不能为空!'))
  131. } else {
  132. callback()
  133. }
  134. }
  135. return {
  136. tableDivTitle: "单页列表", //列表标题
  137. dialogTableVisible: false, //编辑弹框
  138. dialogName: '编辑', //编辑弹窗名称
  139. disabled: false, //禁用
  140. tableData: [],//表格数据
  141. // 可以输入的搜索框相关
  142. webSiteList: [],//获取关联网站列表
  143. webSiteLoading: false,
  144. //3.4 上传logo图片
  145. logoUrl: '',
  146. hovering: false, // 鼠标悬浮状态 悬浮时显示删除
  147. value: '',
  148. activeid: "", //活动id
  149. type: "", //查看时需要传递的类型
  150. // 分页相关
  151. page: 1,
  152. pageSize: 10,
  153. total: 0,
  154. formLabelWidth: '', //广告示例图相关
  155. // 搜索框相关
  156. webSiteName_name: '', //网站名称
  157. webSiteName_id: '', //网站名称id
  158. tabbarName: '', //单页名称
  159. website_id: "", //网站id
  160. ruleForm: {
  161. webName: '', //网站名称
  162. tabbarName: '', //单页名称
  163. pageType: '', //页面类型
  164. },
  165. rules: {
  166. webName: [{ required: true, trigger: 'blur', validator: validateEmpty }],
  167. tabbarName: [{ required: true, trigger: 'blur', validator: validateEmpty }],
  168. pageType: [{ required: true, trigger: 'blur', validator: validateEmpty }],
  169. }
  170. }
  171. },
  172. methods: {
  173. //1.列表和分页相关 start ------------------------------------------------------------>
  174. //1.1 开始请求列表信息方法
  175. getData() {
  176. if (this.webSiteName_name && this.tabbarName) {
  177. getFooterCategory({
  178. page: this.page,
  179. pageSize: this.pageSize,
  180. name: this.tabbarName,
  181. website_name: this.webSiteName_name, //网站名称
  182. }).then(data => {
  183. console.log(data);
  184. this.tableData = data.data.rows
  185. this.total = data.data.count
  186. })
  187. } else if (this.webSiteName_name && !this.tabbarName) {
  188. getFooterCategory({
  189. page: this.page,
  190. pageSize: this.pageSize,
  191. // name: this.tabbarName,
  192. website_name: this.webSiteName_name, //网站名称
  193. }).then(data => {
  194. console.log(data);
  195. this.tableData = data.data.rows
  196. this.total = data.data.count
  197. })
  198. } else if (!this.webSiteName_name && this.tabbarName) {
  199. getFooterCategory({
  200. page: this.page,
  201. pageSize: this.pageSize,
  202. name: this.tabbarName,
  203. // website_name: this.webSiteName_name, //网站名称
  204. }).then(data => {
  205. console.log(data);
  206. this.tableData = data.data.rows
  207. this.total = data.data.count
  208. })
  209. } else {
  210. getFooterCategory({
  211. page: this.page,
  212. pageSize: this.pageSize
  213. }).then(data => {
  214. console.log(data);
  215. this.tableData = data.data.rows
  216. this.total = data.data.count
  217. })
  218. }
  219. },
  220. //1.2 删除内容
  221. deleteRow(id) {
  222. console.log(id);
  223. let data = new FormData()
  224. data.append('id', id)
  225. this.$confirm('注意:删除后,该条信息及其绑定关系全部删除', '是否确认删除该条信息?', {
  226. confirmButtonText: '确定',
  227. cancelButtonText: '取消',
  228. }).then(() => {
  229. console.log("当前删除:" + id)
  230. delFooterCategory({
  231. id: id
  232. }).then(data => {
  233. console.log(data);
  234. if (data.code = 200) {
  235. this.$message({
  236. message: '删除成功',
  237. type: 'success'
  238. })
  239. this.getData()
  240. } else if (data.code == 0) {
  241. this.$message({
  242. message: data.message,
  243. type: 'error'
  244. })
  245. }
  246. })
  247. }).catch(() => {
  248. this.$message({
  249. type: 'warning',
  250. message: '已取消删除'
  251. });
  252. });
  253. },
  254. //1.3 查看示例图
  255. goGraph() {
  256. this.dialogVisible = true
  257. },
  258. //1.4 列表内容分页
  259. //直接跳转
  260. handleSizeChange(val) {
  261. this.page = val;
  262. this.getData();
  263. },
  264. //1.5 点击分页
  265. handleCurrentChange(val) {
  266. this.page = val;
  267. this.getData();
  268. },
  269. // 1.6 搜索按钮
  270. goSearch() {
  271. if (this.webSiteName_name && this.tabbarName) {
  272. getFooterCategory({
  273. page: this.page,
  274. pageSize: this.pageSize,
  275. name: this.tabbarName,
  276. website_name: this.webSiteName_name, //网站名称
  277. }).then(data => {
  278. console.log(data);
  279. this.tableData = data.data.rows
  280. this.total = data.data.count
  281. })
  282. } else if (this.webSiteName_name && !this.tabbarName) {
  283. getFooterCategory({
  284. page: this.page,
  285. pageSize: this.pageSize,
  286. // name: this.tabbarName,
  287. website_name: this.webSiteName_name, //网站名称
  288. }).then(data => {
  289. console.log(data);
  290. this.tableData = data.data.rows
  291. this.total = data.data.count
  292. })
  293. } else if (!this.webSiteName_name && this.tabbarName) {
  294. getFooterCategory({
  295. page: this.page,
  296. pageSize: this.pageSize,
  297. name: this.tabbarName,
  298. // website_name: this.webSiteName_name, //网站名称
  299. }).then(data => {
  300. console.log(data);
  301. this.tableData = data.data.rows
  302. this.total = data.data.count
  303. })
  304. }
  305. },
  306. //1.7 重置按钮
  307. goReset() {
  308. this.webSiteName_name = ""
  309. this.tabbarName = ""
  310. this.getData()
  311. },
  312. //列表和分页相关 end ------------------------------------------------------------>
  313. //1.9 编辑
  314. goEdit(id, val) {
  315. // console.log(id);
  316. this.dialogName = '编辑'
  317. this.activeid = id
  318. this.dialogTableVisible = true
  319. this.disabled = true
  320. console.log(id, val);
  321. console.log("状态", val);
  322. //数据回显
  323. this.website_id = val.website_id
  324. this.ruleForm.webName = val.website_name //网站名称
  325. this.ruleForm.tabbarName = val.name //单页名称
  326. if (val.type == 0) {
  327. this.ruleForm.pageType = '0' //页面类型
  328. } else if (val.type == 1) {
  329. this.ruleForm.pageType = '1' //页面类型
  330. }
  331. },
  332. //2.0 查看
  333. goLook(id, val) {
  334. this.activeid = id
  335. this.type = val.type
  336. this.$router.push({
  337. path: '/tabbarDetail',
  338. query: {
  339. id: this.activeid,
  340. type: this.type
  341. }
  342. })
  343. },
  344. //1.7 添加
  345. addWebsite() {
  346. this.dialogTableVisible = true
  347. this.dialogName = "添加"
  348. this.disabled = false
  349. //添加时清空回显回来的数据
  350. this.ruleForm.webName = '' //关联网站名称
  351. this.ruleForm.tabbarName = '' //单页名称
  352. this.ruleForm.pageType = '' //页面类型
  353. },
  354. // 弹出层相关方法
  355. // 提交表单
  356. submitForm(formName) {
  357. this.$refs[formName].validate((valid) => {
  358. if (valid) {
  359. console.log('submit!');
  360. } else {
  361. console.log('error submit!!');
  362. return false;
  363. }
  364. });
  365. if (this.dialogName == "添加") {
  366. getTemplateClass({
  367. website_id: this.website_id,
  368. name: this.ruleForm.tabbarName,
  369. type: this.ruleForm.pageType,
  370. }).then(data => {
  371. console.log(data);
  372. if (data.code == 200) {
  373. this.$message({
  374. message: '添加成功',
  375. type: 'success'
  376. })
  377. this.dialogTableVisible = false
  378. this.getData()
  379. } else if (data.code == 0) {
  380. this.$message({
  381. message: data.message,
  382. type: 'error'
  383. })
  384. this.dialogTableVisible = true
  385. return
  386. } else {
  387. this.$message({
  388. message: data.message,
  389. type: 'error'
  390. })
  391. this.dialogTableVisible = true
  392. return
  393. }
  394. })
  395. }
  396. if (this.website_id == '') {
  397. this.$message({
  398. message: '请输入并选择网站名称',
  399. type: 'error'
  400. })
  401. this.dialogVisible = true
  402. }
  403. if (this.dialogName == "编辑") {
  404. upFooterCategory({
  405. website_id: this.website_id,
  406. name: this.ruleForm.tabbarName,
  407. id: this.activeid
  408. }).then(data => {
  409. console.log(data);
  410. if (data.code == 200) {
  411. this.$message({
  412. message: '编辑成功',
  413. type: 'success'
  414. })
  415. this.dialogTableVisible = false
  416. }
  417. if (data.code == 0) {
  418. this.$message({
  419. message: data.message,
  420. type: 'error'
  421. })
  422. this.dialogTableVisible = true
  423. }
  424. this.getData()
  425. })
  426. }
  427. },
  428. //取消添加或编辑
  429. cancelForm() {
  430. this.dialogTableVisible = false
  431. },
  432. //3.6 上传图片操作
  433. beforeAvatarUpload(file) {
  434. const isJPG = file.type === 'image/jpeg';
  435. const isPNG = file.type === 'image/png';
  436. const isLt2M = file.size / 1024 / 1024 < 2;
  437. if (!isJPG && !isPNG) {
  438. this.$message.error('上传图片只能是 JPG 或 PNG 格式!');
  439. return false;
  440. }
  441. if (!isLt2M) {
  442. this.$message.error('上传图片大小不能超过 2MB!');
  443. return false;
  444. }
  445. const formData = new FormData();
  446. formData.append('file', file);
  447. this.$store.dispatch('pool/uploadFile', formData).then(res => {
  448. this.logoUrl = res.data.imgUrl;//显示缩略图
  449. this.ruleForm.adPhoto = res.data.imgUrl;//提供表单地址
  450. console.log(res.data.imgUrl)
  451. }).catch(() => {
  452. this.$message({
  453. type: 'info',
  454. message: '网络错误,请重试!'
  455. });
  456. })
  457. // 阻止默认的上传行为
  458. return false;
  459. },
  460. handleDelete() {
  461. // 删除图片
  462. this.logoUrl = ''; // 清空图片 URL
  463. },
  464. //搜索部分的输入关键词下拉框
  465. selectWebSite(value) {
  466. this.webSiteName_id = value
  467. },
  468. //添加 / 编辑弹窗中输入关键词下拉框
  469. // 判断是否已经关联了网站
  470. detectionWebSite(value) {
  471. console.log(value);
  472. this.website_id = value
  473. console.log(this.website_id);
  474. },
  475. //
  476. getWebNavList(query) {
  477. if (query !== '') {
  478. this.webSiteLoading = true;
  479. let data = { keyword: query }
  480. let dataArr = [];
  481. this.$store.dispatch('pool/getNavWebList', data).then(res => {
  482. console.log(res.data)
  483. for (let item of res.data) {
  484. let data = {};
  485. data.key = item.id;
  486. data.value = item.id;
  487. data.label = item.website_name;
  488. dataArr.push(data)
  489. }
  490. this.webSiteList = dataArr;
  491. this.webSiteLoading = false;
  492. }).catch(() => {
  493. this.$message({
  494. type: 'info',
  495. message: '网络错误,请重试!'
  496. });
  497. })
  498. } else {
  499. this.navList = [];
  500. }
  501. },
  502. },
  503. mounted() {
  504. this.getData()
  505. },
  506. }
  507. </script>
  508. <style scoped lang="less">
  509. input[aria-hidden=true] {
  510. display: none !important;
  511. }
  512. // 提示信息
  513. .tips {
  514. margin: 30px;
  515. background-color: #e9ecf9;
  516. border-radius: 11px;
  517. .tipsIcon {
  518. margin: 10px 15px;
  519. display: inline-block;
  520. width: 24px;
  521. height: 24px;
  522. background: url("../../assets/advertise/Info Circle.png") no-repeat;
  523. vertical-align: middle;
  524. }
  525. .tipsText {
  526. font-size: 14px;
  527. color: #666666;
  528. }
  529. }
  530. // 头部
  531. .title {
  532. margin: 30px 30px 20px 30px;
  533. padding: 30px 30px 40px 30px;
  534. background-color: #fff;
  535. border-radius: 20px 20px 20px 20px;
  536. border: 1px solid #E9EDF7;
  537. .left {
  538. float: left;
  539. }
  540. .right {
  541. float: right;
  542. }
  543. .searchBox {
  544. ::v-deep .el-input {
  545. position: relative;
  546. font-size: 14px;
  547. display: inline-block;
  548. width: 80%;
  549. }
  550. .searchTitle {
  551. padding-bottom: 10px;
  552. font-family: Microsoft YaHei, Microsoft YaHei;
  553. font-weight: 400;
  554. font-size: 14px;
  555. color: #999999;
  556. line-height: 16px;
  557. }
  558. .el-select {
  559. width: 100%;
  560. display: inline-block;
  561. position: relative;
  562. }
  563. }
  564. .btnList {
  565. float: right;
  566. padding-top: 28px;
  567. button {
  568. height: 38px;
  569. border: none;
  570. border-radius: 8px;
  571. padding: 0 30px;
  572. }
  573. .search {
  574. background-color: #5570f1;
  575. color: #fff;
  576. margin-right: 20px;
  577. }
  578. .reset {
  579. font-family: Microsoft YaHei, Microsoft YaHei;
  580. font-weight: 400;
  581. font-size: 16px;
  582. color: #333333;
  583. background: #F5F7FB;
  584. border-radius: 8px 8px 8px 8px;
  585. border: 1px solid rgba(85, 112, 241, 0.11);
  586. }
  587. }
  588. }
  589. .layerBox {
  590. padding: 30px 20px;
  591. position: relative;
  592. .btn {
  593. position: absolute;
  594. top: 30px;
  595. right: 20px;
  596. height: 38px;
  597. color: #fff;
  598. background-color: #5570f1;
  599. border: none;
  600. border-radius: 8px;
  601. padding: 8px 28px 9px;
  602. box-sizing: border-box;
  603. }
  604. .listBtnBox {
  605. justify-content: left;
  606. }
  607. .listDeleteBtn,
  608. .listEditBtn,
  609. .listLookBtn {
  610. margin-left: 0px;
  611. padding-left: 0px;
  612. margin-right: 20px;
  613. width: 76px;
  614. height: 36px;
  615. line-height: 36px;
  616. }
  617. .listLookBtn {
  618. text-align: center;
  619. border-radius: 8px;
  620. cursor: pointer;
  621. color: #55b5f1;
  622. background-color: rgba(85, 181, 241, 0.16);
  623. >i {
  624. padding-right: 8px;
  625. }
  626. }
  627. ::v-deep .el-form-item {
  628. margin-bottom: 50px;
  629. }
  630. ::v-deep .el-select {
  631. width: 100%;
  632. }
  633. ::v-deep .el-input--medium,
  634. ::v-deep .el-form-item__label {
  635. line-height: 36px;
  636. font-size: 16px;
  637. }
  638. }
  639. // 弹出层内容
  640. .dialogText {
  641. margin: 0 7px 0 3px;
  642. padding-bottom: 1px;
  643. padding: 30px 60px 1px 20px;
  644. background-color: #f5f7fb;
  645. .adImage {
  646. width: 140px;
  647. height: 140px;
  648. line-height: 210px;
  649. border-radius: 12px;
  650. border: 1px solid rgba(85, 112, 241, 0.11);
  651. img {
  652. width: 140px;
  653. height: 80px;
  654. }
  655. }
  656. ::v-deep .avatar {
  657. width: 140px;
  658. height: auto;
  659. }
  660. .price {
  661. ::v-deep .el-input {
  662. width: 29%;
  663. }
  664. }
  665. .example {
  666. font-family: Microsoft YaHei;
  667. color: #5570F1;
  668. }
  669. .el_btnList {
  670. margin-right: 15px;
  671. margin-top: 20px;
  672. }
  673. //日期时间选择器的宽
  674. ::v-deep .el-date-editor.el-input {
  675. width: 48%;
  676. }
  677. ::v-deep .el-button+.el-button {
  678. margin-left: 0px;
  679. }
  680. ::v-deep .el-select {
  681. width: 100%;
  682. }
  683. ::v-deep .el-form-item {
  684. margin-bottom: 50px;
  685. }
  686. }
  687. // 弹出层按钮
  688. .dialogBtn {
  689. text-align: center;
  690. margin: 50px auto 20px;
  691. button {
  692. width: 184px;
  693. padding: 16px;
  694. font-family: Microsoft YaHei, Microsoft YaHei;
  695. font-weight: 400;
  696. font-size: 20px;
  697. border: none;
  698. border-radius: 12px 12px 12px 12px;
  699. }
  700. // 取消
  701. .cancel {
  702. color: #333333;
  703. background-color: #f5f7fb;
  704. border: 2px solid rgba(85, 112, 241, 0.11);
  705. }
  706. // 提交
  707. .submit {
  708. color: #fff;
  709. background-color: #5570F1;
  710. margin-left: 40px;
  711. }
  712. }
  713. //审核弹出框
  714. .radioGroup {
  715. ::v-deep .el-form-item {
  716. margin-top: 40px;
  717. margin-bottom: 0;
  718. }
  719. }
  720. .graph {
  721. background-color: #f5f7fb;
  722. padding: 60px 100px;
  723. overflow: hidden;
  724. li {
  725. float: left;
  726. }
  727. >li:first-child {
  728. margin-right: 100px;
  729. }
  730. }
  731. .dialog-footer {
  732. margin: 0 auto;
  733. }
  734. </style>