pc.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. <template>
  2. <div>
  3. <div class="i-layout-page-header header-title">
  4. <span class="ivu-page-header-title mr20">{{ $route.meta.title }}</span>
  5. <div>
  6. <div style="float: right">
  7. <Button class="bnt" type="primary" @click="save">保存</Button>
  8. </div>
  9. </div>
  10. </div>
  11. <Card :bordered="false" dis-hover class="ivu-mt">
  12. <Row class="box-wrapper">
  13. <Col :xs="24" :sm="24" :md="6" :lg="3">
  14. <div class="left_box">
  15. <div class="left_cont" :class="pageId == 1 ? 'on' : ''" @click="menu(1)">网站LOGO</div>
  16. <div class="left_cont" :class="pageId == 'pc_home_banner' ? 'on' : ''" @click="menu('pc_home_banner')">
  17. 首页轮播图
  18. </div>
  19. <div class="left_cont" :class="pageId == 3 ? 'on' : ''" @click="menu(3)">客服页面广告</div>
  20. </div>
  21. </Col>
  22. <div style="display: flex; width: 83%">
  23. <Col v-if="pageId == 1 || pageId == 'pc_home_banner'" class="pciframe" :bordered="false" dis-hover>
  24. <img src="../../../assets/images/pcbanner.png" class="pciframe-box" />
  25. <div v-if="pageId == 1" class="logoimg">
  26. <img :src="pclogo" />
  27. </div>
  28. <div v-if="pageId == 'pc_home_banner'" class="pcmoddile_goods">
  29. <div class="nofonts" v-if="tabList.list == ''">暂无照片,请添加~</div>
  30. <swiper v-else :options="swiperOption" class="pcswiperimg_goods">
  31. <swiper-slide class="spcwiperimg_goods" v-for="(item, index) in tabList.list" :key="index">
  32. <img :src="item.image" />
  33. </swiper-slide>
  34. </swiper>
  35. </div>
  36. </Col>
  37. <Col v-if="pageId == 3" class="pciframe" :bordered="false" dis-hover>
  38. <img src="../../../assets/images/kefu.png" class="pciframe-box" />
  39. <div class="box3_sile">
  40. <!-- {{formValidate}} -->
  41. <div v-html="formValidate.content"></div>
  42. </div>
  43. </Col>
  44. <Col v-if="pageId == 'pc_home_banner'">
  45. <div class="content">
  46. <div class="right-box">
  47. <div class="hot_imgs">
  48. <div class="title">轮播图设置</div>
  49. <div class="title-text">建议尺寸:690 * 240px,拖拽图片可调整图片顺序哦,最多添加五张。</div>
  50. <div class="title-text">除轮播图外,页面其他内容仅供参考</div>
  51. <div class="list-box">
  52. <draggable
  53. v-if="pageId == 'pc_home_banner'"
  54. class="dragArea list-group"
  55. :list="tabList.list"
  56. group="peoples"
  57. handle=".move-icon"
  58. >
  59. <div class="item" v-for="(item, index) in tabList.list" :key="index">
  60. <div class="move-icon">
  61. <span class="iconfont icondrag2"></span>
  62. </div>
  63. <div class="img-box imgBoxs" @click="modalPicTap('单选', index)">
  64. <img :src="item.image" alt="" v-if="item.image" />
  65. <div class="upload-box" v-else>
  66. <Icon type="ios-camera-outline" size="36" />
  67. </div>
  68. <div class="delect-btn" style="line-height: 0px" @click.stop="bindDelete(item, index)">
  69. <Icon type="md-close-circle" size="26" />
  70. </div>
  71. </div>
  72. <div class="info">
  73. <div class="info-item">
  74. <span>图片名称:</span>
  75. <div class="input-box">
  76. <Input v-model="item.title" placeholder="请填写名称" />
  77. </div>
  78. </div>
  79. <div class="info-item">
  80. <span>链接地址:</span>
  81. <!-- @click="link(index) icon="ios-arrow-forward" "-->
  82. <div class="input-box">
  83. <Input v-model="item.url" placeholder="选择链接" />
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </draggable>
  89. <div>
  90. <Modal
  91. v-model="modalPic"
  92. width="950px"
  93. scrollable
  94. footer-hide
  95. closable
  96. title="上传商品图"
  97. :mask-closable="false"
  98. :z-index="999"
  99. >
  100. <uploadPictures
  101. :isChoice="isChoice"
  102. @getPic="getPic"
  103. :gridBtn="gridBtn"
  104. :gridPic="gridPic"
  105. v-if="modalPic"
  106. ></uploadPictures>
  107. </Modal>
  108. </div>
  109. </div>
  110. <template>
  111. <div class="add-btn">
  112. <Button
  113. type="primary"
  114. ghost
  115. style="width: 100px; height: 35px; background-color: #1890ff; color: #ffffff"
  116. @click="addBox"
  117. >添加图片
  118. </Button>
  119. </div>
  120. </template>
  121. </div>
  122. </div>
  123. </div>
  124. </Col>
  125. <Col v-if="pageId == 1">
  126. <div class="content">
  127. <div class="right-box">
  128. <div class="hot_imgs">
  129. <div class="title">页面设置</div>
  130. <div class="title-text">建议尺寸:140px * 60px</div>
  131. <div class="title-text">除LOGO图标外,页面其他内容仅供参考</div>
  132. <div class="list-box">
  133. <div class="img-boxs" @click="modalPicTap('单选', 0)">
  134. <img :src="pclogo" alt="" />
  135. <div class="img_font"></div>
  136. <div class="img_fonts">更换图片</div>
  137. </div>
  138. <div>
  139. <Modal
  140. v-model="modalPic"
  141. width="950px"
  142. scrollable
  143. footer-hide
  144. closable
  145. title="上传商品图"
  146. :mask-closable="false"
  147. :z-index="999"
  148. >
  149. <uploadPictures
  150. :isChoice="isChoice"
  151. @getPic="getPic"
  152. :gridBtn="gridBtn"
  153. :gridPic="gridPic"
  154. v-if="modalPic"
  155. ></uploadPictures>
  156. </Modal>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </Col>
  163. <Col v-if="pageId == 3" :xs="24" :sm="24" :md="12" :lg="14" style="margin-left: 40px">
  164. <div class="table_box">
  165. <Row type="flex">
  166. <Col v-bind="grid">
  167. <div class="title">隐私权限页面展示:</div>
  168. </Col>
  169. </Row>
  170. <div>
  171. <Form
  172. class="form"
  173. ref="formValidate"
  174. :model="formValidate"
  175. :rules="ruleValidate"
  176. :label-width="labelWidth"
  177. :label-position="labelPosition"
  178. @submit.native.prevent
  179. >
  180. <div class="goodsTitle acea-row"></div>
  181. <FormItem label="" prop="content" style="margin: 0px">
  182. <WangEditor :content="formValidate.content" @editorContent="getEditorContent"></WangEditor>
  183. </FormItem>
  184. </Form>
  185. </div>
  186. </div>
  187. </Col>
  188. </div>
  189. </Row>
  190. </Card>
  191. <!-- <div class="save">
  192. <Button type="primary" @click="save" >保存</Button>
  193. </div> -->
  194. <linkaddress ref="linkaddres" @linkUrl="linkUrl"></linkaddress>
  195. </div>
  196. </template>
  197. <script>
  198. import { mapState } from 'vuex';
  199. import WangEditor from '@/components/wangEditor/index.vue';
  200. import { diyGetInfo, diySave } from '@/api/diy';
  201. import editFrom from '@/components/from/from';
  202. import {
  203. groupDataListApi,
  204. groupSaveApi,
  205. groupDataAddApi,
  206. pcLogoApi,
  207. pcLogoSave,
  208. getKfAdv,
  209. setKfAdv,
  210. } from '@/api/system';
  211. import draggable from 'vuedraggable';
  212. import uploadPictures from '@/components/uploadPictures';
  213. import linkaddress from '@/components/linkaddress';
  214. export default {
  215. name: 'list',
  216. components: {
  217. editFrom,
  218. draggable,
  219. uploadPictures,
  220. linkaddress,
  221. WangEditor,
  222. },
  223. data() {
  224. return {
  225. ruleValidate: {},
  226. formValidate: {
  227. content: '',
  228. },
  229. pclogo: '',
  230. grid: {
  231. xl: 7,
  232. lg: 7,
  233. md: 12,
  234. sm: 24,
  235. xs: 24,
  236. },
  237. swiperOption: {
  238. //显示分页
  239. pagination: {
  240. el: '.swiper-pagination',
  241. },
  242. //设置点击箭头
  243. navigation: {
  244. nextEl: '.swiper-button-next',
  245. prevEl: '.swiper-button-prev',
  246. },
  247. //自动轮播
  248. autoplay: {
  249. delay: 2000,
  250. //当用户滑动图片后继续自动轮播
  251. disableOnInteraction: false,
  252. },
  253. //开启循环模式
  254. loop: false,
  255. },
  256. pageId: 1,
  257. tabList: [],
  258. lastObj: {
  259. add_time: '',
  260. config_name: '',
  261. id: '',
  262. image: '',
  263. sort: 1,
  264. status: 1,
  265. title: '',
  266. url: '',
  267. },
  268. isChoice: '单选',
  269. modalPic: false,
  270. gridPic: {
  271. xl: 6,
  272. lg: 8,
  273. md: 12,
  274. sm: 12,
  275. xs: 12,
  276. },
  277. gridBtn: {
  278. xl: 4,
  279. lg: 8,
  280. md: 8,
  281. sm: 8,
  282. xs: 8,
  283. },
  284. activeIndex: 0,
  285. myConfig: {
  286. autoHeightEnabled: false, // 编辑器不自动被内容撑高
  287. initialFrameHeight: 500, // 初始容器高度
  288. initialFrameWidth: '100%', // 初始容器宽度
  289. UEDITOR_HOME_URL: '/UEditor/',
  290. serverUrl: '',
  291. },
  292. activeIndexs: 0,
  293. };
  294. },
  295. computed: {
  296. ...mapState('admin/layout', ['isMobile']),
  297. labelWidth() {
  298. return this.isMobile ? undefined : 120;
  299. },
  300. labelPosition() {
  301. return this.isMobile ? 'top' : 'right';
  302. },
  303. },
  304. mounted() {
  305. this.menu(1);
  306. this.info();
  307. },
  308. methods: {
  309. getEditorContent(data) {
  310. this.formValidate.content = data;
  311. },
  312. linkUrl(e) {
  313. this.tabList.list[this.activeIndexs].url = e;
  314. // item.url = e
  315. },
  316. getContent(val) {
  317. this.formValidate.content = val;
  318. },
  319. // 提交数据
  320. onsubmit(name) {
  321. this.$refs[name].validate((valid) => {
  322. if (valid) {
  323. setKfAdv(this.formValidate)
  324. .then(async (res) => {
  325. this.$Message.success(res.msg);
  326. })
  327. .catch((res) => {
  328. this.$Message.error(res.msg);
  329. });
  330. } else {
  331. return false;
  332. }
  333. });
  334. },
  335. //详情
  336. getKfAdv() {
  337. getKfAdv()
  338. .then(async (res) => {
  339. let data = res.data;
  340. this.formValidate = {
  341. content: data.content,
  342. };
  343. })
  344. .catch((res) => {
  345. this.loading = false;
  346. this.$Message.error(res.msg);
  347. });
  348. },
  349. // 添加表单
  350. groupAdd() {
  351. this.$modalForm(groupDataAddApi({ config_name: this.pageId }, 'setting/group_data/create')).then(() =>
  352. this.info(),
  353. );
  354. },
  355. info() {
  356. if (this.pageId == 'pc_home_banner') {
  357. groupDataListApi({ config_name: this.pageId }, 'setting/group_data')
  358. .then(async (res) => {
  359. this.tabList = res.data;
  360. this.tabList.list.forEach((item, index, array) => {
  361. if (typeof item.image != 'string' && item.image != 'undefined') {
  362. item.image = item.image[0];
  363. }
  364. });
  365. })
  366. .catch((res) => {
  367. this.$Message.error(res.msg);
  368. });
  369. }
  370. if (this.pageId == 1) {
  371. pcLogoApi('pc_logo').then((res) => {
  372. this.pclogo = res.data.value;
  373. });
  374. }
  375. if (this.pageId == 3) {
  376. this.getKfAdv();
  377. }
  378. },
  379. menu(id) {
  380. this.pageId = id;
  381. this.info();
  382. },
  383. addBox() {
  384. if (this.tabList.list.length == 0) {
  385. this.tabList.list.push(this.lastObj);
  386. this.lastObj = {
  387. add_time: '',
  388. comment: '',
  389. gid: '',
  390. id: '',
  391. img: '',
  392. link: '',
  393. sort: '',
  394. status: 1,
  395. };
  396. } else {
  397. if (this.tabList.list.length == 5) {
  398. this.$Message.warning('最多添加五张呦');
  399. } else {
  400. let obj = JSON.parse(JSON.stringify(this.lastObj));
  401. this.tabList.list.push(obj);
  402. }
  403. }
  404. },
  405. // 删除
  406. bindDelete(item, index) {
  407. if (this.tabList.list.length == 1) {
  408. this.lastObj = this.tabList.list[0];
  409. }
  410. this.tabList.list.splice(index, 1);
  411. },
  412. // 点击图文封面
  413. modalPicTap(title, index) {
  414. this.activeIndex = index;
  415. this.modalPic = true;
  416. },
  417. // 获取图片信息
  418. getPic(pc) {
  419. this.$nextTick(() => {
  420. if (this.pageId == 'pc_home_banner') {
  421. this.tabList.list[this.activeIndex].image = pc.att_dir;
  422. } else {
  423. this.pclogo = pc.att_dir;
  424. }
  425. this.modalPic = false;
  426. });
  427. },
  428. save() {
  429. if (this.pageId == 'pc_home_banner') {
  430. groupSaveApi({ config_name: this.pageId, data: this.tabList.list })
  431. .then((res) => {
  432. this.$Message.success(res.msg);
  433. })
  434. .catch((err) => {
  435. this.$Message.error(err.msg);
  436. });
  437. }
  438. if (this.pageId == 1) {
  439. pcLogoSave({ pc_logo: this.pclogo })
  440. .then((res) => {
  441. this.$Message.success(res.msg);
  442. })
  443. .catch((err) => {
  444. this.$Message.error(err.msg);
  445. });
  446. }
  447. if (this.pageId == 3) {
  448. this.onsubmit('formValidate');
  449. }
  450. },
  451. link(index) {
  452. this.activeIndexs = index;
  453. this.$refs.linkaddres.modals = true;
  454. },
  455. },
  456. };
  457. </script>
  458. <style type="text/css">
  459. .box3_sile::-webkit-scrollbar {
  460. display: none;
  461. }
  462. .box3_sile {
  463. width: 92px;
  464. height: auto;
  465. overflow: auto;
  466. }
  467. .box3_sile img {
  468. width: 92px;
  469. }
  470. </style>
  471. <style scoped lang="stylus">
  472. /deep/ .ivu-menu-vertical .ivu-menu-item-group-title {
  473. display: none;
  474. }
  475. /deep/ .ivu-menu-vertical.ivu-menu-light:after {
  476. display: none;
  477. }
  478. .ivu-mt {
  479. min-height: calc(100vh - 280px);
  480. }
  481. .nofonts {
  482. text-align: center;
  483. line-height: 137px;
  484. }
  485. .save {
  486. width: 100%;
  487. margin: 0 auto;
  488. text-align: center;
  489. background-color: #FFF;
  490. bottom: 0;
  491. padding: 16px;
  492. border-top: 3px solid #f5f7f9;
  493. }
  494. .imgBoxs {
  495. background-color: #CCCCCC;
  496. line-height: 80px;
  497. text-align: center;
  498. }
  499. .link {
  500. display: inline-block;
  501. width: 100%;
  502. height: 32px;
  503. line-height: 1.5;
  504. padding: 4px 7px;
  505. border: 1px solid #dcdee2;
  506. border-radius: 4px;
  507. background-color: #fff;
  508. position: relative;
  509. cursor: text;
  510. transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  511. font-size: 13px;
  512. font-family: PingFangSC-Regular;
  513. line-height: 22px;
  514. color: rgba(0, 0, 0, 0.25);
  515. opacity: 1;
  516. cursor: pointer;
  517. .you {
  518. color: #999999;
  519. float: right;
  520. margin-right: 11px;
  521. }
  522. }
  523. .box {
  524. border-top: 3px solid #f5f7f9;
  525. padding: 10px;
  526. padding-top: 25px;
  527. width: 100%;
  528. .save {
  529. background-color: #1890FF;
  530. color: #FFFFFF;
  531. width: 71px;
  532. height: 30px;
  533. margin: 0 auto;
  534. text-align: center;
  535. line-height: 30px;
  536. cursor: pointer;
  537. }
  538. }
  539. .box3 {
  540. margin-left: 20px;
  541. width: 730px;
  542. .article-manager {
  543. margin-top: 24px;
  544. .form {
  545. width: max-content;
  546. .goodsTitle {
  547. border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  548. margin-bottom: 25px;
  549. }
  550. .goodsTitle ~ .goodsTitle {
  551. margin-top: 20px;
  552. }
  553. .goodsTitle .title {
  554. border-bottom: 2px solid #1890ff;
  555. // padding: 0 8px 12px 5px;
  556. color: #000;
  557. font-size: 14px;
  558. }
  559. .goodsTitle .icons {
  560. font-size: 15px;
  561. margin-right: 8px;
  562. color: #999;
  563. }
  564. .add {
  565. font-size: 12px;
  566. color: #1890ff;
  567. padding: 0 12px;
  568. cursor: pointer;
  569. }
  570. .radio {
  571. margin-right: 20px;
  572. }
  573. .upLoad {
  574. width: 58px;
  575. height: 58px;
  576. line-height: 58px;
  577. border: 1px dotted rgba(0, 0, 0, 0.1);
  578. border-radius: 4px;
  579. background: rgba(0, 0, 0, 0.02);
  580. }
  581. .iconfont {
  582. color: #898989;
  583. }
  584. .pictrue {
  585. width: 60px;
  586. height: 60px;
  587. border: 1px dotted rgba(0, 0, 0, 0.1);
  588. margin-right: 10px;
  589. }
  590. .pictrue img {
  591. width: 100%;
  592. height: 100%;
  593. }
  594. }
  595. }
  596. }
  597. .left_box {
  598. .left_cont {
  599. margin-bottom: 12px;
  600. cursor: pointer;
  601. padding: 14px 24px;
  602. }
  603. }
  604. .on {
  605. color: #1890ff;
  606. background-color: #f0faff;
  607. border-right: 2px solid #1890ff;
  608. }
  609. .pciframe {
  610. margin-left: 20px;
  611. width: 430px;
  612. height: 280px;
  613. background: #FFFFFF;
  614. border: 1px solid #EEEEEE;
  615. border-radius: 16px;
  616. position: relative;
  617. img {
  618. width: 430px;
  619. height: 280px;
  620. border-radius: 10px;
  621. }
  622. .pciframe-box {
  623. width: 430px;
  624. height: 280px;
  625. background: rgba(0, 0, 0, 0);
  626. // border: 1px solid #EEEEEE;
  627. border-radius: 10px;
  628. }
  629. .box3_sile {
  630. position: absolute;
  631. top: 34px;
  632. right: 85px;
  633. width: 92px;
  634. height: 201px;
  635. background-color: #fff;
  636. }
  637. .pcmoddile_goods {
  638. position: absolute;
  639. top: 49px;
  640. width: 429px;
  641. height: 160px;
  642. left: 0px;
  643. background-color: #fff;
  644. }
  645. .pcswiperimg_goods {
  646. width: 399px;
  647. height: 140px;
  648. background-color: #f5f5f5;
  649. img {
  650. width: 100%;
  651. height: 100%;
  652. border-radius: 0px;
  653. }
  654. }
  655. }
  656. .content {
  657. // width 510px;
  658. max-width: 730px;
  659. .right-box {
  660. margin-left: 40px;
  661. }
  662. }
  663. .title-text {
  664. padding: 0 0 0px 16px;
  665. color: #999;
  666. font-size: 12px;
  667. margin-top: 10px;
  668. }
  669. .hot_imgs {
  670. margin-bottom: 20px;
  671. .title {
  672. font-size: 14px;
  673. }
  674. .list-box {
  675. .item {
  676. position: relative;
  677. display: flex;
  678. margin-top: 20px;
  679. .move-icon {
  680. display: flex;
  681. align-items: center;
  682. justify-content: center;
  683. width: 30px;
  684. height: 80px;
  685. cursor: move;
  686. color: #D8D8D8;
  687. }
  688. .img-box {
  689. position: relative;
  690. width: 80px;
  691. height: 80px;
  692. img {
  693. width: 100%;
  694. height: 100%;
  695. }
  696. }
  697. .info {
  698. flex: 1;
  699. margin-left: 22px;
  700. .info-item {
  701. display: flex;
  702. align-items: center;
  703. margin-bottom: 10px;
  704. span {
  705. // width 40px
  706. font-size: 13px;
  707. }
  708. .input-box {
  709. flex: 1;
  710. }
  711. }
  712. }
  713. .delect-btn {
  714. position: absolute;
  715. right: -12px;
  716. top: -12px;
  717. color: #999999;
  718. .iconfont {
  719. font-size: 28px;
  720. color: #999;
  721. }
  722. }
  723. }
  724. }
  725. .add-btn {
  726. margin-top: 20px;
  727. }
  728. }
  729. .iconfont {
  730. color: #DDDDDD;
  731. font-size: 28px;
  732. }
  733. .logoimg {
  734. position: absolute;
  735. top: 19px;
  736. left: 4px;
  737. width: 60px;
  738. height: 25px;
  739. border-radius: 0;
  740. img {
  741. width: 100%;
  742. height: 100%;
  743. border-radius: 0px !important;
  744. }
  745. }
  746. .img-boxs {
  747. position: relative;
  748. width: 76px;
  749. height: 76px;
  750. background: rgba(0, 0, 0, 0);
  751. border-radius: 6px;
  752. overflow: hidden;
  753. margin-top: 18px;
  754. img {
  755. width: 100%;
  756. height: 100%;
  757. }
  758. .img_font {
  759. position: absolute;
  760. bottom: 0;
  761. left: 0;
  762. width: 100%;
  763. height: 24px;
  764. background: #000000;
  765. opacity: 0.4;
  766. border-radius: 0px 0px 6px 6px;
  767. }
  768. .img_fonts {
  769. position: absolute;
  770. bottom: 0;
  771. left: 0;
  772. width: 100%;
  773. height: 24px;
  774. border-radius: 0px 0px 6px 6px;
  775. color: #FFFFFF;
  776. text-align: center;
  777. line-height: 24px;
  778. }
  779. }
  780. .item {
  781. border: 1px dashed #CCC;
  782. padding: 15px 15px 10px 0px;
  783. }
  784. .title {
  785. border-left: 2px solid #1890FF;
  786. padding-left: 10px;
  787. font-weight: bold;
  788. margin-bottom: 10px;
  789. }
  790. /deep/.ivu-form-item-content {
  791. margin-left: 0px !important;
  792. }
  793. /deep/.i-layout-page-header {
  794. display: flex;
  795. align-items: center;
  796. justify-content: space-between;
  797. }
  798. </style>