detail.php 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886
  1. <?php
  2. use common\helpers\ComponentHelper;
  3. ComponentHelper::loadComponentView('com-rich-text');
  4. ComponentHelper::loadComponentView('com-dialog-select');
  5. ComponentHelper::loadComponentView('com-qq-map');
  6. ?>
  7. <div id="app" v-cloak>
  8. <el-card v-loading="loading" style="border:0" shadow="never" body-style="background-color: #f3f3f3;padding: 0 0;">
  9. <el-tabs v-model="activeName" @tab-click="handleClick">
  10. <el-tab-pane label="基础信息" name="basic_setting">
  11. <?php ComponentHelper::loadComponentView('detail-basic', __DIR__ . '/');
  12. ?>
  13. </el-tab-pane>
  14. <el-tab-pane label="商户设置" name="store_setting" class="cashier-tabs">
  15. <?php ComponentHelper::loadComponentView('detail-store', __DIR__ . '/'); ?>
  16. </el-tab-pane>
  17. </el-tabs>
  18. </el-card>
  19. </div>
  20. <script>
  21. const app = new Vue({
  22. el: '#app',
  23. data() {
  24. var validatePass = (rule, value, callback) => {
  25. if (value === '') {
  26. callback(new Error('两次输入密码不一致'));
  27. } else if (value !== this.storeForm.password) {
  28. callback(new Error('两次输入密码不一致!'));
  29. } else {
  30. callback();
  31. }
  32. };
  33. var validateTime = (rule, value, callback) => {
  34. if (!this.times.length && this.storeForm.shop_status == 1) {
  35. callback(new Error('请设置营业时间'));
  36. } else {
  37. callback();
  38. }
  39. };
  40. var validateStoreServiceRatio = (rule, value, callback) => {
  41. console.log(value, 'jsldsl');
  42. if (this.storeForm.store_service_fee == 1 && value <= 0) {
  43. callback(new Error('请填写服务费收取比例'));
  44. } else {
  45. callback();
  46. }
  47. };
  48. return {
  49. mch_id: 0,
  50. loading: false,
  51. switchStoreLoading: false,
  52. submitLoading: false,
  53. activeName: 'basic_setting',
  54. times: null,
  55. basicForm: {
  56. goods_auth: 0,
  57. service_fee: 0,
  58. settle_type: 0,
  59. platform_ratio: 0,
  60. risk_management: 0,
  61. risk_management_ratio: 0,
  62. settle_scene: 1,
  63. store_distribution_status: 0,
  64. store_agent_status: 0,
  65. store_area_status: 0,
  66. store_boss_status: 0,
  67. customer_service: {
  68. web_service_url: ''
  69. },
  70. },
  71. storeForm: {
  72. shop_status: 1,
  73. store_background: '',
  74. username: '',
  75. password: '',
  76. repassword: '',
  77. individual_fee_setting: 0,
  78. store_service_fee: 0,
  79. store_service_ratio: 0,
  80. store_settle_type: 1,
  81. store_settle_scene: 2,
  82. store_commission_authority: {
  83. distribution: 0,
  84. agent: 0,
  85. area: 0,
  86. boss: 0,
  87. },
  88. business_time_start: '',
  89. business_time_end: '',
  90. is_balance_cash_service_fee: 0,
  91. balance_cash_service_fee: '',
  92. },
  93. cashierForm: {
  94. is_distribution_enable: 1,
  95. is_agent_enable: 1,
  96. service_fee_ratio: 0,
  97. member_status: 0,
  98. members: [{
  99. level: 0,
  100. level_name: '默认等级',
  101. discount: 0
  102. }],
  103. is_distribution: 0,
  104. deepNames: ['一级分销', '二级分销'],
  105. distribution_settings: [{
  106. level: 0,
  107. level_name: '默认等级',
  108. name: '佣金',
  109. commission_rate: [10, 15]
  110. }, ],
  111. is_agent: 0,
  112. agent_settings: {
  113. team_rewards: [{
  114. level: 0,
  115. level_name: '默认等级',
  116. commission_rate: 0
  117. }, ],
  118. equal_rewards: [{
  119. level: 0,
  120. level_name: '默认等级',
  121. commission_rate: 0
  122. }, ],
  123. over_rewards: [{
  124. level: 0,
  125. level_name: '默认等级',
  126. commission_rate: 0
  127. }, ],
  128. },
  129. },
  130. categorys: [],
  131. basicFormRules: {},
  132. storeRules: {
  133. shop_status: [{
  134. required: true,
  135. message: '请设置营业状态',
  136. trigger: 'blur'
  137. }],
  138. range_time: [{
  139. required: true,
  140. validator: validateTime,
  141. trigger: 'blur'
  142. }],
  143. store_service_fee: [{
  144. required: true,
  145. message: '请设置是否收取服务器',
  146. trigger: 'blur'
  147. }],
  148. store_service_ratio: [{
  149. validator: validateStoreServiceRatio,
  150. trigger: 'blur'
  151. }],
  152. store_settle_type: [{
  153. required: true,
  154. message: '请选择计算方式',
  155. trigger: 'blur'
  156. }],
  157. store_settle_scene: [{
  158. required: true,
  159. message: '请选择结算方式',
  160. trigger: 'blur'
  161. }],
  162. repassword: [{
  163. validator: validatePass,
  164. trigger: 'blur'
  165. }],
  166. },
  167. cashierFormRules: {},
  168. statisticsData: { // 基础信息数据统计对象
  169. 'total_money': '累计收入',
  170. 'balance': '当前余额',
  171. 'total_expenses': '累计支出',
  172. 'unsettled_amount': '累计提现',
  173. 'user_nums': '门店会员数',
  174. 'good_counts': '商品数',
  175. 'total_order_number': '订单支付数',
  176. 'total_order_money': '订单支付金额',
  177. 'total_settled_amount': '结算佣金'
  178. },
  179. isDisable: false, // 是否禁用门店
  180. baseDialogVisible: false,
  181. shareDialogVisible: false,
  182. serviceDialogVisible: false,
  183. form: {
  184. name: '',
  185. region: '',
  186. date1: '',
  187. date2: '',
  188. delivery: false,
  189. type: [],
  190. resource: '',
  191. desc: ''
  192. },
  193. captcha: '发送验证码',
  194. address: '',
  195. latitude: 0,
  196. longitude: 0,
  197. expireDate: null,
  198. editExpireTime: false,
  199. };
  200. },
  201. mounted: function() {
  202. this.mch_id = getQuery('mch_id');
  203. this.loadData();
  204. },
  205. methods: {
  206. mapEvent(e) {
  207. console.log(e, '----')
  208. this.basicForm.address = e.address;
  209. this.basicForm.latitude = e.lat;
  210. this.basicForm.longitude = e.long;
  211. this.$forceUpdate();
  212. },
  213. storeSwitch() { // 启用/禁用门店
  214. let self = this;
  215. self.switchStoreLoading = true;
  216. let status = null;
  217. if (self.isDisable) {
  218. status = 1;
  219. } else {
  220. status = 3;
  221. }
  222. request({
  223. params: {
  224. r: 'mch/store/switch-status',
  225. },
  226. method: 'post',
  227. data: {
  228. mch_id: self.mch_id,
  229. status: status,
  230. }
  231. }).then(e => {
  232. self.switchStoreLoading = false;
  233. if (e.data.code == 0) {
  234. self.isDisable = !self.isDisable;
  235. } else {
  236. self.$message.error(e.data.msg);
  237. }
  238. }).catch(e => {
  239. self.switchStoreLoading = false;
  240. console.log(e);
  241. self.$message.error('网络错误');
  242. return false;
  243. });
  244. },
  245. storeEdit(name) { // 编辑
  246. this[name] = true;
  247. },
  248. storeDetailSelectedImg(e, key) { // 选中图片
  249. console.log(e, 'upload----')
  250. this.basicForm[key] = e[0].url;
  251. },
  252. // 删除图片
  253. storeDetailDeletePic(key) {
  254. this.basicForm[key] = '';
  255. },
  256. // sendCode() { // 发送验证码
  257. // this.captcha = 60
  258. // this.countDown()
  259. // },
  260. // // 倒计时
  261. // countDown() {
  262. // var timer = setInterval(() => {
  263. // this.captcha--
  264. // if (this.captcha <= 0) {
  265. // clearInterval(timer)
  266. // this.captcha = '重新获取'
  267. // }
  268. // }, 1000)
  269. // },
  270. // 输入值过滤处理
  271. changeHandle(key) {
  272. try {
  273. this.flierValue(this.activeName, key);
  274. } catch (err) {
  275. this.$message.error(err);
  276. let tabs = this.activeName.split('_');
  277. let formName = tabs[0] + 'Form';
  278. if (this[formName][key] < 0) {
  279. this[formName][key] = Math.abs(this[formName][key]);
  280. } else if (this[formName][key] > 100) {
  281. this[formName][key] = 0;
  282. }
  283. return false;
  284. }
  285. },
  286. // 过滤和处理值
  287. flierValue(group, key) {
  288. // console.log(group, key);
  289. let configs = {
  290. store_service_ratio: {
  291. text: `服务费比例取值在 0~100 之间`,
  292. max: '100',
  293. min: '0',
  294. },
  295. // expired_days: {
  296. // text: '请填写门店有效天数',
  297. // min: '0',
  298. // },
  299. // service_fee_ratio: {
  300. // text: `服务费比例取值在 0~100 之间`,
  301. // max: '100',
  302. // min: '0',
  303. // },
  304. };
  305. let datas = {
  306. basic_setting: this.basicForm,
  307. cashier_setting: this.cashierForm,
  308. store_setting: this.storeForm,
  309. };
  310. let val = datas[group][key];
  311. if (configs[key]) {
  312. if (configs[key].max && val > parseInt(configs[key].max)) {
  313. throw new Error(configs[key].text);
  314. }
  315. if (configs[key].min && val < parseInt(configs[key].min)) {
  316. throw new Error(configs[key].text);
  317. }
  318. }
  319. },
  320. loadData() {
  321. let self = this;
  322. // this.loading = true;
  323. request({
  324. params: {
  325. r: 'mch/store/detail',
  326. mch_id: self.mch_id,
  327. },
  328. method: 'get'
  329. }).then(e => {
  330. console.log('LLLLLLL: ', e);
  331. self.loading = false;
  332. if (e.data.code === 0) {
  333. self.categorys = e.data.data.categorys;
  334. if (e.data.data.basic_setting) {
  335. self.basicForm = e.data.data.basic_setting;
  336. if (1 == e.data.data.basic_setting.status) {
  337. this.isDisable = false;
  338. } else {
  339. this.isDisable = true;
  340. }
  341. }
  342. if (e.data.data.store_setting) {
  343. self.storeForm = e.data.data.store_setting;
  344. self.times = [e.data.data.store_setting.business_time_start, e.data.data.store_setting.business_time_end];
  345. }
  346. if (e.data.data.cashier_setting) {
  347. self.cashierForm = e.data.data.cashier_setting;
  348. }
  349. console.log(self.times);
  350. console.log('self.storeForm: ', self.storeForm);
  351. } else {
  352. self.$message.error(e.data.msg);
  353. }
  354. }).catch(e => {
  355. // console.log(e);
  356. self.$message.error('网络错误');
  357. });
  358. },
  359. // 配置提交
  360. submit(formName) {
  361. // console.log('5555555555: ', formName, this.activeName, this.basicForm);return null;
  362. let self = this;
  363. let keys = [];
  364. if ('basic_setting' == self.activeName) {
  365. keys = [];
  366. } else if ('cashier_setting' == self.activeName) {
  367. keys = ['service_fee_ratio'];
  368. // 会员等级折扣验证
  369. if (1 == self.cashierForm.member_status) {
  370. let memberForNum = self.cashierForm.members.length;
  371. for (let i = 0; i < memberForNum; i++) {
  372. let discount_val = self.cashierForm.members[i].discount;
  373. if (discount_val < 0 || discount_val > 100) {
  374. self.$message.error('会员折扣比例取值在 0~100 之间');
  375. return false;
  376. }
  377. }
  378. }
  379. // 分销佣金比例验证
  380. if (1 == self.cashierForm.is_distribution && 1 == self.cashierForm.is_distribution_enable) {
  381. let forNum = self.cashierForm.distribution_settings.length;
  382. for (let i = 0; i < forNum; i++) {
  383. let val = self.cashierForm.distribution_settings[i].commission_rate;
  384. let valForNum = val.length;
  385. for (let i = 0; i < valForNum; i++) {
  386. if (val[i] < 0 || val[i] > 100) {
  387. self.$message.error('分销佣金比例取值在 0~100 之间');
  388. return false;
  389. }
  390. }
  391. }
  392. }
  393. // 经销佣金比例验证
  394. if (1 == self.cashierForm.is_agent && 1 == self.cashierForm.is_agent_enable) {
  395. for (key in self.cashierForm.agent_settings) {
  396. let settings = self.cashierForm.agent_settings[key];
  397. let forNum = settings.length;
  398. for (let i = 0; i < forNum; i++) {
  399. let val = settings[i].commission_rate;
  400. if (val < 0 || val > 100) {
  401. self.$message.error('经销佣金比例取值在 0~100 之间');
  402. return false;
  403. }
  404. }
  405. }
  406. }
  407. } else if ('store_setting' == self.activeName) {
  408. keys = ['store_service_ratio'];
  409. if (self.storeForm.password && self.storeForm.password != self.storeForm.repassword) {
  410. self.$message.error('两次输入密码不一致');
  411. return false;
  412. }
  413. }
  414. let forNum = keys.length;
  415. for (let i = 0; i < forNum; i++) {
  416. try {
  417. self.flierValue(self.activeName, keys[i]);
  418. } catch (err) {
  419. self.$message.error(err);
  420. return false;
  421. }
  422. }
  423. self.$refs[formName].validate(valid => {
  424. if (valid) {
  425. self.submitLoading = true;
  426. let activeName = self.activeName;
  427. let formData = {};
  428. formData[activeName] = self[formName];
  429. formData.group = activeName;
  430. formData.mch_id = this.mch_id;
  431. // console.log(formData);return null;
  432. request({
  433. params: {
  434. r: 'mch/store/detail',
  435. },
  436. method: 'post',
  437. data: formData,
  438. }).then(e => {
  439. self.submitLoading = false;
  440. if (e.data.code === 0) {
  441. self.$message.success(e.data.msg);
  442. } else {
  443. self.$message.error(e.data.msg);
  444. return false;
  445. }
  446. }).catch(e => {
  447. self.submitLoading = false;
  448. console.log(e);
  449. self.$message.error('网络错误');
  450. return false;
  451. });
  452. } else {
  453. self.$message.error('参数验证未通过');
  454. return false;
  455. }
  456. });
  457. },
  458. handleClick(tab, event) {
  459. this.activeName = tab.name;
  460. },
  461. // 时间改变回调
  462. selectTime(e) {
  463. // console.log('kkkkkkk ==== : ', e, this.times);
  464. if (e) {
  465. this.storeForm.business_time_start = this.times[0];
  466. this.storeForm.business_time_end = this.times[1];
  467. } else {
  468. this.times = null;
  469. this.storeForm.business_time_start = '';
  470. this.storeForm.business_time_end = '';
  471. }
  472. },
  473. // 选择图片
  474. selectedImg(e, key) {
  475. // console.log('ddddd: ', e, key);
  476. this.storeForm[key] = e[0].url;
  477. this.$forceUpdate();
  478. },
  479. // 删除图片
  480. delPic(key) {
  481. this.storeForm[key] = '';
  482. this.$forceUpdate();
  483. },
  484. expireDateChange(e) {
  485. // console.log(e, '=============== ', this.basicForm.expire_time);
  486. this.basicForm.expire_time = Math.ceil(e / 1000) +86399;
  487. },
  488. },
  489. computed: {
  490. }
  491. });
  492. </script>
  493. <style>
  494. .grid-box {
  495. padding: 0 40px;
  496. background: #fff;
  497. border-radius: 0 0 4px 4px;
  498. }
  499. .grid-item {
  500. height: 130px;
  501. }
  502. .grid-text {
  503. font-size: 15px;
  504. }
  505. .grid-val {
  506. font-size: 20px;
  507. padding-top: 10px;
  508. }
  509. .grid-icon {
  510. color: #999;
  511. cursor: pointer;
  512. font-size: 18px;
  513. }
  514. .store-card {
  515. margin-top: 15px;
  516. }
  517. .store-card.el-card {
  518. border: 0;
  519. }
  520. .store-card-body .store-name {
  521. padding-left: 10px;
  522. }
  523. .store-card-body .el-descriptions__body {
  524. padding: 20px 40px;
  525. }
  526. .store-send-code {
  527. padding-left: 10px;
  528. font-size: 12px;
  529. cursor: pointer;
  530. }
  531. .el-tabs__header {
  532. padding: 0 20px;
  533. height: 56px;
  534. line-height: 56px;
  535. background-color: #fff;
  536. margin-bottom: 0;
  537. }
  538. .title {
  539. padding: 0px 8px;
  540. border-left: 5px solid #1479F0;
  541. background-color: #fff;
  542. font-size: 18px;
  543. position: relative;
  544. left: 32px;
  545. margin: 20px 0;
  546. }
  547. .form-body {
  548. background-color: #fff;
  549. padding: 20px 50% 20px 0;
  550. }
  551. .button-item {
  552. padding: 9px 25px;
  553. margin-bottom: 15px;
  554. }
  555. .form-body .item {
  556. width: 300px;
  557. margin-bottom: 50px;
  558. margin-right: 25px;
  559. }
  560. .item-img {
  561. height: 550px;
  562. padding: 25px 10px;
  563. border-radius: 30px;
  564. border: 1px solid #CCCCCC;
  565. background-color: #fff;
  566. }
  567. .item .el-form-item {
  568. width: 300px;
  569. margin: 20px auto;
  570. }
  571. .left-setting-menu {
  572. width: 260px;
  573. }
  574. .left-setting-menu .el-form-item {
  575. height: 60px;
  576. padding-left: 20px;
  577. display: flex;
  578. align-items: center;
  579. margin-bottom: 0;
  580. cursor: pointer;
  581. }
  582. .left-setting-menu .el-form-item .el-form-item__label {
  583. cursor: pointer;
  584. }
  585. .left-setting-menu .el-form-item.active {
  586. background-color: #F3F5F6;
  587. border-top-left-radius: 10px;
  588. width: 105%;
  589. border-bottom-left-radius: 10px;
  590. }
  591. .left-setting-menu .el-form-item .el-form-item__content {
  592. margin-left: 0 !important
  593. }
  594. .no-radius {
  595. border-top-left-radius: 0 !important;
  596. }
  597. .reset {
  598. position: absolute;
  599. top: 3px;
  600. left: 90px;
  601. }
  602. .app-tip {
  603. position: absolute;
  604. right: 24px;
  605. top: 16px;
  606. height: 72px;
  607. line-height: 72px;
  608. max-width: calc(100% - 78px);
  609. }
  610. .app-tip:before {
  611. content: ' ';
  612. width: 0;
  613. height: 0;
  614. border-color: inherit;
  615. position: absolute;
  616. top: -32px;
  617. right: 100px;
  618. border-width: 16px;
  619. border-style: solid;
  620. }
  621. .tip-content {
  622. display: block;
  623. white-space: nowrap;
  624. width: 100%;
  625. overflow: hidden;
  626. text-overflow: ellipsis;
  627. margin: 0 28px;
  628. font-size: 28px;
  629. }
  630. .btn-abs {
  631. position: absolute;
  632. top: 12px;
  633. right: 18px;
  634. }
  635. .form-body .app-share {
  636. padding-top: 12px;
  637. border-top: 1px solid #e2e2e2;
  638. margin-top: -20px;
  639. }
  640. .form-body .app-share .app-share-bg {
  641. position: relative;
  642. width: 310px;
  643. height: 360px;
  644. background-repeat: no-repeat;
  645. background-size: contain;
  646. background-position: center
  647. }
  648. .form-body .app-share .app-share-bg .title {
  649. width: 160px;
  650. height: 29px;
  651. line-height: 1;
  652. word-break: break-all;
  653. text-overflow: ellipsis;
  654. display: -webkit-box;
  655. -webkit-box-orient: vertical;
  656. -webkit-line-clamp: 2;
  657. overflow: hidden;
  658. }
  659. .form-body .app-share .app-share-bg .pic-image {
  660. background-repeat: no-repeat;
  661. background-position: 0 0;
  662. background-size: cover;
  663. width: 160px;
  664. height: 130px;
  665. }
  666. .cashier-tabs .el-tabs__header {
  667. padding: 0;
  668. height: 45px;
  669. line-height: 45px;
  670. /* background-color: #F5F7FA; */
  671. margin-bottom: 0;
  672. }
  673. .cashier-tabs .el-tabs__item {
  674. height: 43px;
  675. line-height: 43px;
  676. }
  677. .cashier-tabs .el-tabs__content {
  678. margin-top: 20px;
  679. }
  680. .form-body {
  681. background-color: #fff;
  682. padding: 20px 50% 20px 0;
  683. }
  684. .button-item {
  685. margin-top: 12px;
  686. padding: 9px 25px;
  687. }
  688. .form-body .item {
  689. width: 300px;
  690. margin-bottom: 50px;
  691. margin-right: 25px;
  692. }
  693. .item-img {
  694. height: 550px;
  695. padding: 25px 10px;
  696. border-radius: 30px;
  697. border: 1px solid #CCCCCC;
  698. background-color: #fff;
  699. }
  700. .item .el-form-item {
  701. width: 300px;
  702. margin: 20px auto;
  703. }
  704. .left-setting-menu {
  705. width: 260px;
  706. }
  707. .left-setting-menu .el-form-item {
  708. height: 60px;
  709. padding-left: 20px;
  710. display: flex;
  711. align-items: center;
  712. margin-bottom: 0;
  713. cursor: pointer;
  714. }
  715. .left-setting-menu .el-form-item .el-form-item__label {
  716. cursor: pointer;
  717. }
  718. .left-setting-menu .el-form-item.active {
  719. background-color: #F3F5F6;
  720. border-top-left-radius: 10px;
  721. width: 105%;
  722. border-bottom-left-radius: 10px;
  723. }
  724. .left-setting-menu .el-form-item .el-form-item__content {
  725. margin-left: 0 !important
  726. }
  727. .no-radius {
  728. border-top-left-radius: 0 !important;
  729. }
  730. .del-btn {
  731. position: absolute;
  732. right: -8px;
  733. top: -8px;
  734. padding: 4px 4px;
  735. }
  736. .reset {
  737. position: absolute;
  738. top: 3px;
  739. left: 90px;
  740. }
  741. .app-tip {
  742. position: absolute;
  743. right: 24px;
  744. top: 16px;
  745. height: 72px;
  746. line-height: 72px;
  747. max-width: calc(100% - 78px);
  748. }
  749. .app-tip:before {
  750. content: ' ';
  751. width: 0;
  752. height: 0;
  753. border-color: inherit;
  754. position: absolute;
  755. top: -32px;
  756. right: 100px;
  757. border-width: 16px;
  758. border-style: solid;
  759. }
  760. .tip-content {
  761. display: block;
  762. white-space: nowrap;
  763. width: 100%;
  764. overflow: hidden;
  765. text-overflow: ellipsis;
  766. margin: 0 28px;
  767. font-size: 28px;
  768. }
  769. .add-image-btn {
  770. width: 100px;
  771. height: 100px;
  772. color: #419EFB;
  773. border: 1px solid #e2e2e2;
  774. cursor: pointer;
  775. }
  776. .addon-no-install {
  777. margin-top: 15px;
  778. margin-left: 40px;
  779. }
  780. .desc-container {
  781. padding: 20px;
  782. }
  783. .el-descriptions__body {
  784. color: #606266;
  785. background-color: #FFF;
  786. padding: 40px;
  787. }
  788. .el-descriptions__body .el-descriptions__table .el-descriptions-item__cell {
  789. line-height: 3;
  790. }
  791. .stat-item-label {
  792. font-size: 18px;
  793. line-height: 3;
  794. /* width: 38%; */
  795. }
  796. .stat-itme-content {
  797. font-size: 18px;
  798. line-height: 3;
  799. }
  800. .delele-img-btn {
  801. position: absolute;
  802. left: 64px;
  803. top: -13px;
  804. }
  805. </style>