create.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. <template>
  2. <div class="app-container">
  3. <div class="base-info">
  4. <div class="base-info-title">基础信息</div>
  5. <!-- 基础信息 -->
  6. <div class="base-info-form">
  7. <el-form :model="form" :rules="rules" ref="form" label-width="100px">
  8. <el-form-item label="盲票类型" prop="type">
  9. <el-radio-group v-model="form.type" size="small" :disabled="form.disabled" @change="$refs['form'].clearValidate();changeType($event)">
  10. <el-radio label="online">线上盲票</el-radio>
  11. <el-radio label="offline">线下盲票</el-radio>
  12. </el-radio-group>
  13. </el-form-item>
  14. <el-form-item label="盲票组名称" prop="title">
  15. <el-col :xs="{span: 22, offset: 0}" :sm=" {span: 18, offset: 0}" :lg="{span: 10, offset: 0}">
  16. <el-input
  17. v-model="form.title"
  18. size="small"
  19. placeholder="请输入盲票组名称"
  20. ></el-input>
  21. </el-col>
  22. </el-form-item>
  23. <el-form-item label="图片" prop="picUrl">
  24. <Upload v-model="ticketPicUrl" :limit="3" :fileSize="0.5" @change="$refs.form.validateField(['picUrl'])"/>
  25. </el-form-item>
  26. <div class="tip" v-if="form.type != 'offline'">
  27. 请上传图片,jpg、png格式;线上盲票第1张为封面图,第2张为奖品图,第3张为主题图;大小不超过500k
  28. </div>
  29. <div class="tip" v-else>
  30. 上传1张图片,支持jpg、png格式上传,大小不超过500k;
  31. </div>
  32. <el-form-item label="面值" prop="facePrice">
  33. <el-input
  34. v-model="form.facePrice "
  35. style="width: 240px"
  36. size="small"
  37. placeholder="请输入面值" :disabled="form.disabled"
  38. >
  39. <template slot="append">元</template>
  40. </el-input>
  41. </el-form-item>
  42. <el-form-item label="售价" prop="salePrice">
  43. <el-input
  44. v-model="form.salePrice"
  45. style="width: 240px"
  46. size="small"
  47. placeholder="请输入售价"
  48. >
  49. <template slot="append">元</template>
  50. </el-input>
  51. </el-form-item>
  52. <el-form-item label="预付售票价" prop="prePrice">
  53. <el-input
  54. v-model="form.prePrice"
  55. style="width: 240px"
  56. size="small"
  57. placeholder="请输入预付售票价"
  58. >
  59. <template slot="append">元 / 张</template>
  60. </el-input>
  61. </el-form-item>
  62. <div class="tip" v-if="form.type != 'offline'">
  63. 如果为0则不作为预售票购买
  64. </div>
  65. <el-form-item
  66. label="划线价"
  67. prop="originPrice"
  68. v-if="form.type != 'offline'"
  69. >
  70. <el-input
  71. v-model="form.originPrice"
  72. style="width: 240px"
  73. size="small"
  74. placeholder="请输入划线价"
  75. >
  76. <template slot="append">元</template>
  77. </el-input>
  78. </el-form-item>
  79. <div class="tip" v-if="form.type != 'offline'">
  80. 划线价为0或不填,则不显示划线价
  81. </div>
  82. <el-form-item label="盲票总数" prop="quantity">
  83. <el-input
  84. v-model="form.quantity"
  85. style="width: 240px"
  86. size="small"
  87. placeholder="请输入盲票总数" :disabled="form.disabled"
  88. >
  89. <template slot="append">张</template>
  90. </el-input>
  91. </el-form-item>
  92. <el-form-item label="每包张数" prop="pkgUnit">
  93. <el-input
  94. v-model="form.pkgUnit"
  95. style="width: 240px"
  96. size="small"
  97. placeholder="请输入每包张数" :disabled="form.disabled"
  98. >
  99. <template slot="append">张</template>
  100. </el-input>
  101. </el-form-item>
  102. <el-form-item
  103. label="采购单价"
  104. prop="pkgSalePrice"
  105. v-if="form.type == 'offline'"
  106. >
  107. <el-input
  108. v-model="form.pkgSalePrice"
  109. style="width: 240px"
  110. size="small"
  111. placeholder="请输入采购单价"
  112. >
  113. <template slot="append">元/包</template>
  114. </el-input>
  115. </el-form-item>
  116. <el-form-item label="佣金系数" prop="saleCommRate">
  117. <el-input
  118. v-model="form.saleCommRate"
  119. style="width: 240px"
  120. size="small"
  121. placeholder="请输入佣金系数"
  122. >
  123. <template slot="append">%</template>
  124. </el-input>
  125. </el-form-item>
  126. <div class="tip">
  127. 例如:一张盲票用户支付10元,盲票佣金系数90%,门店佣金比例20%,那么门店佣金为10元*90%*20%=1.8元
  128. </div>
  129. <el-form-item label="销售范围" prop="saleChannelType" v-if="form.type == 'offline'">
  130. <el-radio-group v-model="form.saleChannelType" size="small" @change="$refs['form'].clearValidate()">
  131. <el-radio :label="1">所有渠道</el-radio>
  132. <el-radio :label="2">指定渠道</el-radio>
  133. </el-radio-group>
  134. </el-form-item>
  135. <el-form-item label="渠道" prop="channelIdList" v-if="form.saleChannelType == 2">
  136. <el-select
  137. v-model="form.channelIdList"
  138. placeholder="请选择渠道"
  139. style="width: 240px;"
  140. filterable
  141. clearable
  142. multiple
  143. >
  144. <el-option
  145. v-for="(item, index) in channelList"
  146. :key="index"
  147. :label="item.name"
  148. :value="item.channelId">
  149. <div>
  150. <span style="float: left;">{{item.name}} </span>
  151. <span style="float: right;">{{item.mobile}}</span>
  152. </div>
  153. </el-option>
  154. </el-select>
  155. </el-form-item>
  156. <div class="tip" v-if="form.type == 'offline'">注:盲票只对所选渠道下的门店可见</div>
  157. </el-form>
  158. </div>
  159. <!-- 关联商品设置 -->
  160. <div class="base-info-title" v-if="form.type != 'offline'">商品设置(购买即可提货)</div>
  161. <award-form ref="awardFrom" @close="close" v-model="goodsList" :id="ids" @goodsCommand="goodsCommand" v-if="form.type != 'offline'"></award-form>
  162. <!-- 奖级设置 -->
  163. <div class="base-info-title" >奖级设置</div>
  164. <!-- 奖级列表 -->
  165. <awards-list ref="awards" :id="ids" v-model="awardsList" @handleCommand="handleCommand" @close="close" />
  166. <!-- 保存 -->
  167. <div class="save-btn">
  168. <el-button size="small" @click="back"> 取 消 </el-button>
  169. <div class="ge"></div>
  170. <el-button type="primary" size="small" @click="submitForm">
  171. 保 存
  172. </el-button>
  173. </div>
  174. </div>
  175. <!-- 添加商品 -->
  176. <goods-add :dialog-visible="goodsTableVisible" @close="close" @confirmGoods="confirmGoods" v-if="goodsTableVisible" />
  177. <!-- 添加券 -->
  178. <coupon-add :dialog-visible="couponTableVisible" @close="close" @confirmCoupon="confirmCoupon" v-if="couponTableVisible" />
  179. <!-- 添加券包 -->
  180. <coupon-pkg-add :dialog-visible="couponPkgTableVisible" @close="close" @confirmCouponPkg="confirmCouponPkg" v-if="couponPkgTableVisible" />
  181. <!-- 添加盲豆 -->
  182. <coin-add :dialog-visible="coinTableVisible" @close="close" @confirmCoin="confirmCoin" v-if="coinTableVisible" />
  183. <!-- 添加商品 -->
  184. <goods-add-form :dialog-visible="goodsVisibleForm" @close="close" @confirmGoodsForm="confirmGoodsForm" v-if="goodsVisibleForm" ></goods-add-form>
  185. </div>
  186. </template>
  187. <script>
  188. import Upload from '@/components/DragImageUpload'
  189. import { publicFileGetUrl } from "@/api/common";
  190. import CustomFieldsMixin from "@/mixins/CustomFields";
  191. import { ticketBoxCreate, setListDetail, ticketBoxDetail} from "@/api/business/ticket";
  192. import { listAllChannel} from "@/api/admin/channel";
  193. import { accMul, accDiv } from "@/utils/util";
  194. import AwardsList from "./components/AwardsList"
  195. import GoodsAdd from "./components/GoodsAdd"
  196. import CouponAdd from "./components/CouponAdd"
  197. import CouponPkgAdd from "./components/CouponPkgAdd"
  198. import CoinAdd from "./components/CoinAdd"
  199. import AwardForm from "./components/AwardForm"
  200. import GoodsAddForm from "./components/GoodsAddForm"
  201. export default {
  202. name: "TicketCreate",
  203. mixins: [CustomFieldsMixin],
  204. components: {
  205. AwardsList,
  206. GoodsAdd,
  207. CouponAdd,
  208. CouponPkgAdd,
  209. CoinAdd,
  210. Upload,
  211. AwardForm,
  212. GoodsAddForm
  213. },
  214. data() {
  215. return {
  216. loading: false,
  217. id: this.$route.query.id,
  218. ids: this.$route.query.id?this.$route.query.id:0,
  219. form: {
  220. type: "online", //盲票类型
  221. title: "", // 盲票名称
  222. picUrl: "", // 图片
  223. facePrice: "", // 面值
  224. salePrice: "", // 售价
  225. prePrice: 0, //预购价
  226. quantity: "", // 数量
  227. pkgUnit: 200, // 张数
  228. pkgSalePrice: 0, // 单价
  229. saleCommRate: "", // 基数
  230. originPrice: 0, //划线价
  231. disabled: false,
  232. saleChannelType: 1
  233. },
  234. // 上级渠道列表
  235. channelList:[],
  236. rules: {
  237. type: [
  238. { required: true, message: "请选择盲票类型", trigger: "change" },
  239. ],
  240. title: [
  241. { required: true, message: "请输入盲票组名称", trigger: "blur" },
  242. ],
  243. picUrl: [
  244. {
  245. required: true,
  246. message: "请上传盲票图片",
  247. trigger: ["blur", "change"],
  248. },
  249. ],
  250. facePrice: [
  251. { required: true, message: "请输入面值", trigger: "blur" },
  252. {
  253. pattern:
  254. /^([1-9]\d*(\.\d{1,2})?|([0](\.([0][1-9]|[1-9]\d{0,1}))))$/,
  255. message: "请输入合法的金额数字,最多两位小数",
  256. trigger: ["blur", "change"],
  257. },
  258. ],
  259. salePrice: [
  260. { required: true, message: "请输入售价", trigger: "blur" },
  261. {
  262. pattern:
  263. /^([1-9]\d*(\.\d{1,2})?|([0](\.([0][1-9]|[1-9]\d{0,1}))))$/,
  264. message: "请输入合法的金额数字,最多两位小数",
  265. trigger: ["blur", "change"],
  266. },
  267. ],
  268. prePrice: [
  269. { required: true, message: "请输入预付售票价", trigger: "blur" },
  270. {
  271. pattern:
  272. /^([0-9]\d*(\.\d{1,2})?|([0](\.([0][1-9]|[1-9]\d{0,1}))))$/,
  273. message: "请输入合法的金额数字,最多两位小数",
  274. trigger: ["blur", "change"],
  275. },
  276. ],
  277. quantity: [
  278. { required: true, message: "请输入数量", trigger: "blur" },
  279. {
  280. pattern: /^([1-9]\d*)$/,
  281. message: "请输入合法的数字",
  282. trigger: ["blur", "change"],
  283. },
  284. ],
  285. originPrice: [{
  286. pattern:
  287. /^([0-9]\d*(\.\d{1,2})?|([0](\.([0][1-9]|[1-9]\d{0,1}))))$/,
  288. message: "请输入合法的金额数字,最多两位小数",
  289. trigger: ["blur", "change"],
  290. },],
  291. pkgUnit: [
  292. { required: true, message: "请输入每包张数", trigger: "blur" },
  293. {
  294. pattern: /^([1-9]\d*)$/,
  295. message: "请输入合法的数字",
  296. trigger: ["blur", "change"],
  297. },
  298. ],
  299. pkgSalePrice: [
  300. { required: true, message: "请输入采购单价", trigger: "blur" },
  301. {
  302. pattern:
  303. /^([1-9]\d*(\.\d{1,2})?|([0](\.([0][1-9]|[1-9]\d{0,1}))))$/,
  304. message: "请输入合法的金额数字,最多两位小数",
  305. trigger: ["blur", "change"],
  306. },
  307. ],
  308. saleCommRate: [
  309. { required: true, message: "请输入分佣基数", trigger: "blur" },
  310. {
  311. pattern:
  312. /^([1-9]\d*(\.\d{1,2})?|([0](\.([0][1-9]|[1-9]\d{0,1}))))$/,
  313. message: "请输入合法的数字,最多两位小数",
  314. trigger: ["blur", "change"],
  315. },
  316. ],
  317. saleChannelType: [
  318. { required: true, message: "请选择销售范围", trigger: "change" },
  319. ],
  320. channelIdList: [
  321. { required: true, message: "请选择渠道", trigger: "change" },
  322. ],
  323. },
  324. // 奖级列表
  325. awardsList: [],
  326. //关联商品列表
  327. goodsList: [],
  328. goodsTableVisible: false, // 添加商品弹框
  329. couponTitle: "", // 券名称
  330. couponTableVisible: false, // 添加卡券弹框
  331. couponPkgTableVisible: false, // 添加券包弹框
  332. coinTableVisible: false, // 添加盲豆弹框
  333. pageParams: {
  334. pageNum: 1,
  335. pageSize: 10,
  336. },
  337. goodsVisibleForm: false, //添加关联商品弹框
  338. };
  339. },
  340. computed: {
  341. ticketPicUrl: {
  342. get() {
  343. return this.form.picUrl ? this.form.picUrl.split(',').map(item => {
  344. return {
  345. fileName: item
  346. }
  347. }) : []
  348. },
  349. set(val) {
  350. this.$set(this.form, 'picUrl', val.map(item => { return item.fileName }).toString())
  351. }
  352. }
  353. },
  354. created() {
  355. this.getChannelList()
  356. if (this.id) {
  357. let data = {
  358. boxId: this.id
  359. }
  360. ticketBoxDetail(data).then(res => {
  361. const { awardsList, goodsList, type, title, picUrl, facePrice, salePrice, prePrice, quantity, originPrice, pkgUnit, pkgSalePrice, saleCommRate, saleChannelType, channelList } = res.data
  362. this.form = {
  363. disabled:true,
  364. title, picUrl, quantity, pkgUnit, saleCommRate, saleChannelType,
  365. channelIdList: channelList.map(item => item.channelId),
  366. type: JSON.parse(type).value,
  367. facePrice:accDiv(facePrice, 100),
  368. salePrice:accDiv(salePrice, 100),
  369. prePrice:accDiv(prePrice,100),
  370. pkgSalePrice:accDiv(pkgSalePrice, 100),
  371. originPrice:accDiv(originPrice, 100)
  372. }
  373. if(awardsList){
  374. awardsList.forEach((item) => {
  375. item.isEdit = true,
  376. item.prizeList.forEach((ele) => {
  377. (ele.picUrl = publicFileGetUrl + ele.picUrl.split(',')[0]),
  378. (ele.prizeType = JSON.parse(ele.prizeType).value);
  379. });
  380. });
  381. this.$nextTick(() => {
  382. this.$refs.awards.add(3, awardsList)
  383. this.$refs.awards.changetype(JSON.parse(type).value)
  384. })
  385. this.awardsList = awardsList
  386. }
  387. if(goodsList){
  388. goodsList.forEach((item) => {
  389. (item.picUrl = publicFileGetUrl + item.picUrl.split(',')[0]),
  390. // (item.prizeType = JSON.parse(item.prizeType).value);
  391. (item.prizeType = 'goods');
  392. });
  393. if(this.$refs.awardFrom && this.form.type != 'offline') {
  394. this.$nextTick(() => {
  395. this.$refs.awardFrom.add(goodsList)
  396. })
  397. }
  398. // this.goodsList = goodsList
  399. }
  400. })
  401. }
  402. },
  403. methods: {
  404. // 获取上级渠道下拉列表
  405. getChannelList(){
  406. listAllChannel().then(response => {
  407. this.channelList = response.data || [];
  408. });
  409. },
  410. // 保存
  411. submitForm() {
  412. const subForm = this.$refs["form"];
  413. subForm.validate((valid) => {
  414. if (valid) {
  415. // let prizeIndex = this.awardsList.findIndex((item) => {
  416. // return !item.prizeList.length;
  417. // });
  418. // // 判断没有设置奖品的奖级
  419. // if (prizeIndex != -1) {
  420. // this.$message.error(
  421. // `请设置${this.awardsList[prizeIndex].name}的奖品!`
  422. // );
  423. // return;
  424. // }
  425. if (this.form.quantity > 100000) {
  426. this.$message.error("盲票数量超出限制,请重新填写!");
  427. return;
  428. }
  429. let prizeIndex = this.awardsList.findIndex((item) => {
  430. return !item.prizeList.length && item.quantity > 0;
  431. });
  432. // 判断没有设置奖品的奖级
  433. if (prizeIndex != -1) {
  434. this.$message.error(
  435. `请设置${this.awardsList[prizeIndex].name}的奖品!`
  436. );
  437. return;
  438. }
  439. if (this.form.quantity % this.form.pkgUnit != 0) {
  440. this.$message.error("每包数量错误!");
  441. return;
  442. }
  443. let quantityTotal = 0;
  444. this.awardsList.forEach((item) => {
  445. quantityTotal += item.quantity;
  446. });
  447. if (this.form.quantity != quantityTotal) {
  448. this.$message.error("盲票数量和奖品数量不一致!");
  449. return;
  450. }
  451. // if (this.form.saleCommRate > 100) {
  452. // this.$message.error("分佣基数不能大于100!");
  453. // return;
  454. // }
  455. this.awardsList.forEach((item) => {
  456. item.prizeList = item.prizeList.map((ele) => {
  457. return {
  458. ...ele,
  459. refId: ele.goodsId || ele.couponId || ele.id,
  460. prizeType: ele.prizeType,
  461. quantity: ele.quantity,
  462. value: Number(ele.coinValue),
  463. };
  464. });
  465. });
  466. let filterArr = this.awardsList.filter((item) => {
  467. return item.prizeList.length != 0;
  468. });
  469. let filterArr2 = filterArr.filter((item) => {
  470. return item.quantity != 0;
  471. });
  472. // for (let i = 0; i < filterArr2.length; i++) {
  473. // if(filterArr2[i].awardsLabel == "" || filterArr2[i].awardsLabel == undefined){
  474. // this.$message.error("关联奖级不能为空");
  475. // return
  476. // }
  477. // }
  478. if (this.form.type == "offline") {
  479. this.form.originPrice = null
  480. for (let i = 0; i < filterArr2.length; i++) {
  481. for (let j = 0; j < filterArr2[i].prizeList; j++) {
  482. filterArr2[i].prizeList[j].quantity = null
  483. }
  484. }
  485. }
  486. if (this.form.type != "offline" && this.goodsList.length < 1) {
  487. this.$message.error("关联商品不能为空");
  488. return
  489. }
  490. let data = {
  491. ...this.form,
  492. facePrice: accMul(this.form.facePrice, 100),
  493. salePrice: accMul(this.form.salePrice, 100),
  494. prePrice: accMul(this.form.prePrice, 100),
  495. pkgSalePrice: accMul(this.form.pkgSalePrice, 100),
  496. originPrice: accMul(this.form.originPrice, 100),
  497. awardsList: filterArr2,
  498. goodsList: this.goodsList
  499. };
  500. if (this.id){
  501. data.boxId = this.id
  502. }
  503. let request = this.id ? setListDetail : ticketBoxCreate;
  504. const loading = this.$loading({
  505. lock: true,
  506. text: "保存中",
  507. spinner: "el-icon-loading",
  508. background: "rgba(0, 0, 0, 0.4)",
  509. });
  510. request(data)
  511. .then((res) => {
  512. loading.close();
  513. if (res.code == 0) {
  514. this.msgSuccess("保存成功");
  515. this.$store.dispatch("tagsView/delView", this.$route);
  516. this.$router.go(-1);
  517. }
  518. })
  519. .catch(() => {
  520. loading.close();
  521. });
  522. } else {
  523. this.getFormErrorMessage(subForm);
  524. return false;
  525. }
  526. });
  527. },
  528. // 关闭弹框
  529. close() {
  530. this.goodsTableVisible = false;
  531. this.couponTableVisible = false;
  532. this.couponPkgTableVisible = false;
  533. this.coinTableVisible = false;
  534. this.goodsVisibleForm = false;
  535. },
  536. changeType(e) {
  537. this.$refs.awards.changetype(e)
  538. },
  539. // 添加奖品种类
  540. handleCommand(e) {
  541. if (e == "goods") {
  542. this.goodsTableVisible = true;
  543. } else if (e == "coupon") {
  544. this.couponTableVisible = true;
  545. } else if (e == "coupon_pkg") {
  546. this.couponPkgTableVisible = true;
  547. } else if (e == "coin") {
  548. this.coinTableVisible = true;
  549. }
  550. },
  551. goodsCommand() {
  552. this.goodsVisibleForm = true;
  553. },
  554. // 确认选中商品
  555. confirmGoods(arr) {
  556. this.$refs.awards.add(1, arr)
  557. },
  558. // 确认选中卡券
  559. confirmCoupon(arr) {;
  560. this.$refs.awards.add(1, arr)
  561. },
  562. // 确认选中券包
  563. confirmCouponPkg(arr) {;
  564. this.$refs.awards.add(1, arr)
  565. },
  566. // 确认输入盲豆
  567. confirmCoin(obj) {
  568. this.$refs.awards.add(2, obj)
  569. },
  570. //选中的关联商品
  571. confirmGoodsForm(arr) {
  572. this.$refs.awardFrom.add(arr)
  573. },
  574. // 取消
  575. back() {
  576. this.$store.dispatch("tagsView/delView", this.$route);
  577. this.$router.go(-1);
  578. },
  579. },
  580. };
  581. </script>
  582. <style lang="scss" scoped>
  583. .base-info-title {
  584. padding: 10px;
  585. border-bottom: 1px solid #eaeaea;
  586. margin-bottom: 20px;
  587. }
  588. .tip {
  589. padding-left: 100px;
  590. height: 32px;
  591. margin-bottom: 20px;
  592. color: #828282;
  593. font-size: 14px;
  594. }
  595. .save-btn {
  596. display: flex;
  597. align-content: center;
  598. justify-content: center;
  599. margin-bottom: 100px;
  600. .ge {
  601. width: 100px;
  602. }
  603. }
  604. .prize {
  605. width: 1000px;
  606. margin-bottom: 50px;
  607. background: #f9f9f9;
  608. border: 1px solid #bbbbbb;
  609. font-size: 14px;
  610. &-top {
  611. padding: 10px 20px;
  612. margin-bottom: 10px;
  613. display: flex;
  614. align-content: center;
  615. justify-content: space-around;
  616. border-bottom: 1px solid #bbbbbb;
  617. div {
  618. line-height: 36px;
  619. }
  620. }
  621. &-btn {
  622. border-top: 1px solid #bbbbbb;
  623. padding: 10px;
  624. }
  625. }
  626. .dialog-search {
  627. display: flex;
  628. line-height: 32px;
  629. margin-bottom: 20px;
  630. .ge {
  631. width: 40px;
  632. }
  633. }
  634. .dialog-btn {
  635. display: flex;
  636. align-content: center;
  637. justify-content: flex-end;
  638. padding: 40px 0 0;
  639. .ge {
  640. width: 40px;
  641. }
  642. }
  643. </style>