index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842
  1. <template>
  2. <div class="order">
  3. <div class="warp">
  4. <el-tabs type="border-card" @tab-click="changeTab" v-model="activeName">
  5. <el-tab-pane label="项目订单" name="first">
  6. <div class="user-list">
  7. <el-table
  8. ref="multipleTable"
  9. :data="projectData"
  10. tooltip-effect="dark"
  11. height="354"
  12. style="width: 100%; border-radius: 8px"
  13. @row-click="handleSelectionChange"
  14. >
  15. <el-table-column prop="goods" label="项目名称" width="200">
  16. <template slot-scope="scope">
  17. <div v-for="(val, index) in scope.row.goods" :key="index">
  18. <div>{{ val.name }}</div>
  19. </div>
  20. </template>
  21. </el-table-column>
  22. <el-table-column prop="goods" label="数量" show-overflow-tooltip>
  23. <template slot-scope="scope">
  24. <div>{{ scope.row.goods.length }}</div>
  25. </template>
  26. </el-table-column>
  27. <el-table-column
  28. prop="price"
  29. label="总价格"
  30. show-overflow-tooltip
  31. ></el-table-column>
  32. <el-table-column
  33. prop="order_time"
  34. label="预约时间"
  35. width="180"
  36. show-overflow-tooltip
  37. ></el-table-column>
  38. <el-table-column
  39. prop="store_name"
  40. label="预约店铺"
  41. show-overflow-tooltip
  42. ></el-table-column>
  43. <el-table-column prop="status" label="状态" show-overflow-tooltip>
  44. <template slot-scope="scope">
  45. <div :class="'color' + scope.row.status">
  46. {{
  47. scope.row.status != 5
  48. ? statusStr[scope.row.status]
  49. : statusStr[statusStr.length - 1]
  50. }}
  51. </div>
  52. </template>
  53. </el-table-column>
  54. </el-table>
  55. <div class="pagin">
  56. <el-pagination
  57. background
  58. layout="prev, pager, next"
  59. @current-change="handleCurrentChange"
  60. :current-page.sync="currentPage1"
  61. :total="total"
  62. ></el-pagination>
  63. </div>
  64. </div>
  65. </el-tab-pane>
  66. <el-tab-pane label="次卡订单" name="second">
  67. <div class="user-list">
  68. <el-table
  69. ref="multipleTable"
  70. :data="cardListData"
  71. tooltip-effect="dark"
  72. height="354"
  73. @row-click="openDetail"
  74. style="width: 100%; border-radius: 8px"
  75. >
  76. <el-table-column prop="card_name" label="卡券名称" width="200">
  77. <template slot-scope="scope">
  78. <div>{{ scope.row.card_name | ellipsis(8) }}</div>
  79. </template>
  80. </el-table-column>
  81. <el-table-column
  82. prop="total_num"
  83. label="总次数"
  84. show-overflow-tooltip
  85. align="center"
  86. >
  87. </el-table-column>
  88. <el-table-column
  89. prop="num"
  90. label="剩余次数"
  91. show-overflow-tooltip
  92. align="center"
  93. ></el-table-column>
  94. <el-table-column
  95. prop="used_num"
  96. label="已用次数"
  97. width="180"
  98. show-overflow-tooltip
  99. align="center"
  100. ></el-table-column>
  101. <el-table-column
  102. prop="expir_time"
  103. label="过期时间"
  104. width="180"
  105. show-overflow-tooltip
  106. ></el-table-column>
  107. <el-table-column
  108. prop="create_time"
  109. label="创建时间"
  110. width="180"
  111. show-overflow-tooltip
  112. ></el-table-column>
  113. <el-table-column prop="status" label="状态" show-overflow-tooltip>
  114. <template slot-scope="scope">
  115. <div :class="'color' + scope.row.status">
  116. {{
  117. scope.row.status == -1
  118. ? "已过期"
  119. : scope.row.status == -0
  120. ? "已使用"
  121. : "待使用"
  122. }}
  123. </div>
  124. </template>
  125. </el-table-column>
  126. </el-table>
  127. <div class="pagin">
  128. <el-pagination
  129. background
  130. layout="prev, pager, next"
  131. @current-change="handleCurrentChange"
  132. :current-page.sync="currentPage1"
  133. :total="total"
  134. ></el-pagination>
  135. </div>
  136. </div>
  137. </el-tab-pane>
  138. <el-tab-pane label="商品订单" name="third">
  139. <div class="user-list">
  140. <el-table
  141. ref="multipleTable"
  142. :data="goodData"
  143. tooltip-effect="dark"
  144. height="354"
  145. style="width: 100%; border-radius: 8px"
  146. >
  147. <!-- create_time: "2022-03-19 22:53:40"
  148. goods: [{order_id: 47, name: "润百颜玻尿酸屏障调理面膜", num: 1}]
  149. id: 47
  150. price: "0.01"
  151. status: 5 -->
  152. <el-table-column prop="goods" label="商品名称" width="200">
  153. <template slot-scope="scope">
  154. <div v-for="(val, index) in scope.row.goods" :key="index">
  155. <div>{{ val.name }}</div>
  156. </div>
  157. </template>
  158. </el-table-column>
  159. <el-table-column prop="goods" label="数量" show-overflow-tooltip>
  160. <template slot-scope="scope">
  161. <div>{{ scope.row.goods.length }}</div>
  162. </template>
  163. </el-table-column>
  164. <el-table-column
  165. prop="price"
  166. label="实付款"
  167. show-overflow-tooltip
  168. ></el-table-column>
  169. <el-table-column
  170. prop="create_time"
  171. label="下单时间"
  172. width="180"
  173. show-overflow-tooltip
  174. ></el-table-column>
  175. <el-table-column prop="status" label="状态" show-overflow-tooltip>
  176. <template slot-scope="scope">
  177. <div :class="'classShow' + scope.$index">
  178. {{
  179. scope.row.status == 1 || scope.row.status == 2
  180. ? goodStatus[scope.row.status]
  181. : goodStatus[goodStatus.length - 1]
  182. }}
  183. </div>
  184. </template>
  185. </el-table-column>
  186. </el-table>
  187. <div class="pagin">
  188. <el-pagination
  189. background
  190. layout="prev, pager, next"
  191. @current-change="handleCurrentChange"
  192. :current-page.sync="currentPage1"
  193. :total="total"
  194. ></el-pagination>
  195. </div>
  196. </div>
  197. </el-tab-pane>
  198. <el-tab-pane label="优惠券" name="fourth">
  199. <div class="user-list">
  200. <el-table
  201. ref="multipleTable"
  202. :data="couponData"
  203. tooltip-effect="dark"
  204. height="354"
  205. style="width: 100%; border-radius: 8px"
  206. >
  207. <!-- create_time: "2022-03-10 10:39:19"
  208. ex_time: "2022.03.17 23:59"
  209. id: 2517
  210. name: "新人体验券"
  211. status: 2
  212. type: "全额券" -->
  213. <el-table-column
  214. prop="name"
  215. label="卡卷名称"
  216. width="200"
  217. ></el-table-column>
  218. <el-table-column
  219. prop="type"
  220. label="卡卷类型"
  221. show-overflow-tooltip
  222. ></el-table-column>
  223. <el-table-column
  224. prop="price"
  225. label="总价格"
  226. show-overflow-tooltip
  227. ></el-table-column>
  228. <el-table-column
  229. prop="create_time"
  230. label="到期时间"
  231. width="180"
  232. show-overflow-tooltip
  233. ></el-table-column>
  234. <el-table-column
  235. prop="create_time"
  236. label="创建时间"
  237. width="180"
  238. show-overflow-tooltip
  239. ></el-table-column>
  240. <el-table-column prop="status" label="状态" show-overflow-tooltip>
  241. <template slot-scope="scope">
  242. <div :class="'color' + scope.row.status">
  243. {{ couponStatus[scope.row.status] }}
  244. </div>
  245. </template>
  246. </el-table-column>
  247. </el-table>
  248. <div class="pagin">
  249. <el-pagination
  250. background
  251. layout="prev, pager, next"
  252. @current-change="handleCurrentChange"
  253. :current-page.sync="currentPage1"
  254. :total="total"
  255. ></el-pagination>
  256. </div>
  257. </div>
  258. </el-tab-pane>
  259. <el-tab-pane label="余额记录" name="five">
  260. <div class="user-list">
  261. <el-table
  262. ref="multipleTable"
  263. :data="balanceListData"
  264. tooltip-effect="dark"
  265. height="354"
  266. style="width: 100%; border-radius: 8px"
  267. >
  268. <el-table-column prop="goods" label="变更时间" width="200">
  269. <template slot-scope="scope">
  270. <div>{{ scope.row.create_time }}</div>
  271. </template>
  272. </el-table-column>
  273. <el-table-column prop="goods" label="变更前金额">
  274. <template slot-scope="scope">
  275. <div>{{ scope.row.before_amount }}</div>
  276. </template>
  277. </el-table-column>
  278. <el-table-column
  279. prop="goods"
  280. label="变更后金额"
  281. show-overflow-tooltip
  282. >
  283. <template slot-scope="scope">
  284. <div>{{ scope.row.after_amount }}</div>
  285. </template>
  286. </el-table-column>
  287. <el-table-column
  288. prop="price"
  289. label="变更金额"
  290. show-overflow-tooltip
  291. >
  292. <template slot-scope="scope">
  293. <div>
  294. {{ scope.row.is_add == 1 ? "+" : "-" }}{{ scope.row.amount }}
  295. </div>
  296. </template>
  297. </el-table-column>
  298. <!-- <el-table-column prop="status" label="状态" show-overflow-tooltip>
  299. <template slot-scope="scope">
  300. <div>{{ scope.row.msg }}</div>
  301. </template>
  302. </el-table-column> -->
  303. <!-- 余额类型(记录类型,1充值,2充值赠送,3订单退款,5提现驳回,-1消费,-2提现冻结,10客服添加,-10客服扣除) -->
  304. <el-table-column prop="status" label="类型" show-overflow-tooltip>
  305. <template slot-scope="scope">
  306. <div>
  307. {{
  308. scope.row.type == 1
  309. ? "充值"
  310. : scope.row.type == 2
  311. ? "充值赠送"
  312. : scope.row.type == 3
  313. ? "订单退款"
  314. : scope.row.type == 5
  315. ? "提现驳回"
  316. : scope.row.type == -1
  317. ? "消费"
  318. : scope.row.type == -2
  319. ? "提现冻结"
  320. : scope.row.type == 10
  321. ? "客服添加"
  322. : scope.row.type == -10
  323. ? "客服扣除"
  324. : ""
  325. }}
  326. </div>
  327. </template>
  328. </el-table-column>
  329. </el-table>
  330. <div class="pagin">
  331. <el-pagination
  332. background
  333. layout="prev, pager, next"
  334. @current-change="handleCurrentChange"
  335. :current-page.sync="currentPage1"
  336. :total="total"
  337. ></el-pagination>
  338. </div>
  339. </div>
  340. </el-tab-pane>
  341. </el-tabs>
  342. </div>
  343. <!-- 次卡详情 -->
  344. <mine-pupop :show="isPore">
  345. <div class="pore-block">
  346. <div class="delete-pupop" @click="isPore = false">
  347. <img
  348. src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
  349. alt
  350. />
  351. </div>
  352. <div class="pore-content">
  353. <div class="card-title">订单详情</div>
  354. <div class="project">
  355. <div class="project-title">项目名称:</div>
  356. <div class="project-list">
  357. <div
  358. class="project-info"
  359. v-for="(item, index) in cardInfo.project_list"
  360. :key="index"
  361. >
  362. <div class="name-text">{{ item.project_name }}</div>
  363. <div class="change-num">
  364. <div class="num-content">
  365. <div class="content-left" @click="reduce(index)">-</div>
  366. <div class="content-num">{{ item.num || 0 }}</div>
  367. <div class="content-right" @click="item.num++">+</div>
  368. </div>
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. <div class="common">
  374. <span class="common-title">支付方式:</span
  375. ><span>{{ cardInfo.pay_way }}</span>
  376. </div>
  377. <div class="common">
  378. <span class="common-title">有效期限:</span
  379. ><span>{{ cardInfo.ex_time }}</span>
  380. </div>
  381. <div class="common">
  382. <span class="common-title">实付金额:</span
  383. ><span>¥{{ cardInfo.price }}</span>
  384. </div>
  385. <div class="consume-list">
  386. <div class="consume-title">消耗信息:</div>
  387. <div
  388. class="consume-info min-size"
  389. v-for="(item, index) in cardLogList"
  390. :key="index"
  391. >
  392. <div class="shop">{{ item.store_name }}</div>
  393. <div class="project-tips">{{ item.remark }}</div>
  394. <div class="project-ts">{{ item.create_time }}</div>
  395. </div>
  396. </div>
  397. </div>
  398. <div class="confirm" @click="confirm">确定</div>
  399. </div>
  400. </mine-pupop>
  401. </div>
  402. </template>
  403. <script>
  404. import api from "../../../server/home";
  405. import minePupop from "../../../components/minePupop/index.vue";
  406. export default {
  407. components: {
  408. minePupop,
  409. },
  410. data() {
  411. return {
  412. couponList: [
  413. {
  414. value: "选项1",
  415. label: "黄金糕",
  416. },
  417. {
  418. value: "选项2",
  419. label: "双皮奶",
  420. },
  421. ],
  422. tableData: [
  423. {
  424. date: "2022.04.25 14:30",
  425. name: "滴滴滴",
  426. headImg:
  427. "https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/home/unpaid.png",
  428. phone: "13346783645",
  429. numberList: 2,
  430. price: 100,
  431. shop: "运用店",
  432. status: 2,
  433. },
  434. {
  435. date: "2022.04.25 14:30",
  436. name: "滴滴滴",
  437. headImg:
  438. "https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/home/unpaid.png",
  439. phone: "13346783645",
  440. numberList: 5,
  441. price: 800,
  442. shop: "武昌店",
  443. status: 1,
  444. },
  445. ],
  446. statusStr: ["未支付", "待使用", "正在使用", "已结算", "已取消"],
  447. couponStatus: ["待使用", "已使用", "已过期"],
  448. goodStatus: ["未支付", "已支付", "已取货"],
  449. activeName: "first",
  450. currentPage1: 1,
  451. couponData: [],
  452. goodData: [],
  453. projectData: [],
  454. cardOrderData: [],
  455. total: 100,
  456. limit: 10,
  457. isPore: false,
  458. cardInfo: {}, //订单详情
  459. cardLogList: [], //次卡消耗记录
  460. cardListData: [], //用户次卡列表
  461. balanceListData: [], //用户余额变更记录
  462. };
  463. },
  464. computed: {},
  465. watch: {},
  466. methods: {
  467. // 获取优惠券订单
  468. getUserCoupon() {
  469. let params = {
  470. page: this.currentPage1,
  471. limit: this.limit,
  472. id: this.id,
  473. };
  474. api.getUserCoupon(params).then((res) => {
  475. this.couponData = res.data.list;
  476. this.total = res.data.total;
  477. });
  478. },
  479. reduce(index) {
  480. this.cardInfo.project_list[index].num--;
  481. if (this.cardInfo.project_list[index].num < 0) {
  482. this.cardInfo.project_list[index].num = 0;
  483. }
  484. },
  485. //次卡订单详情
  486. openDetail(row, column, event) {
  487. this.isPore = true;
  488. api.cardInfo({ id: row.id }).then((res) => {
  489. if (res.code == 200) {
  490. this.cardInfo = res.data;
  491. }
  492. });
  493. api.cardLog({ id: row.id }).then((res) => {
  494. if (res.code == 200) {
  495. this.cardLogList = res.data.list;
  496. }
  497. });
  498. },
  499. confirm() {
  500. // 项目ID,json字符,格式如:[{"project_id":"10","num":5}],project_id:适用项目ID,num:剩余次数
  501. let project_data = [],
  502. project_info = {};
  503. this.cardInfo.project_list.forEach((res) => {
  504. project_info = {
  505. project_id: res.id,
  506. num: res.num,
  507. };
  508. project_data.push(project_info);
  509. });
  510. api
  511. .cardUpdate({
  512. id: this.cardInfo.id,
  513. project_data: JSON.stringify(project_data),
  514. })
  515. .then((res) => {
  516. if (res.code == 200) {
  517. this.$message.success("更改成功!");
  518. this.isPore = false;
  519. }
  520. });
  521. },
  522. // 获取商品订单
  523. getUserGoods() {
  524. let params = {
  525. page: this.currentPage1,
  526. limit: this.limit,
  527. id: this.id,
  528. };
  529. api.getUserGoods(params).then((res) => {
  530. this.goodData = res.data.list;
  531. this.total = res.data.total;
  532. });
  533. },
  534. // 获取获取项目订单
  535. getUserProject() {
  536. let params = {
  537. page: this.currentPage1,
  538. limit: this.limit,
  539. id: this.id,
  540. };
  541. api.getUserProject(params).then((res) => {
  542. this.projectData = res.data.list;
  543. this.total = res.data.total;
  544. });
  545. },
  546. // 获取卡券订单
  547. // async getCardOrders() {
  548. // let params = {
  549. // page: this.currentPage1,
  550. // limit: this.limit,
  551. // id: this.id,
  552. // };
  553. // let resp = await api.getCardOrders(params);
  554. // if (resp.code === 200) {
  555. // console.log(resp, "adadasdasdadsadsadasd");
  556. // this.cardOrderData = resp.data.list;
  557. // this.total = resp.data.total;
  558. // }
  559. // },
  560. //获取用户次卡列表
  561. async getCardList() {
  562. let params = {
  563. page: this.currentPage1,
  564. limit: this.limit,
  565. id: this.id,
  566. };
  567. let resp = await api.getCardList(params);
  568. if (resp.code === 200) {
  569. console.log(resp, "asdasdasd");
  570. this.cardListData = resp.data.list;
  571. this.total = resp.data.total;
  572. }
  573. },
  574. // 获取余额变更记录
  575. async getBalanceRecord() {
  576. let params = {
  577. page: this.currentPage1,
  578. limit: this.limit,
  579. id: this.id,
  580. };
  581. let resp = await api.getBalanceRecord(params);
  582. if (resp.code === 200) {
  583. console.log(resp, "asdasdasd");
  584. this.balanceListData = resp.data.list;
  585. this.total = resp.data.count;
  586. }
  587. },
  588. handleCurrentChange(val) {
  589. this.currentPage1 = val;
  590. if (this.activeName == "first") {
  591. this.getUserProject();
  592. } else if (this.activeName == "second") {
  593. // this.getCardOrders();
  594. this.getCardList();
  595. } else if (this.activeName == "third") {
  596. this.getUserGoods();
  597. } else if (this.activeName == "fourth") {
  598. this.getUserCoupon();
  599. } else if (this.activeName == "five") {
  600. this.getBalanceRecord();
  601. }
  602. },
  603. handleSelectionChange(row, column, event) {
  604. this.$router.push({
  605. path: "/historicalOrder/details",
  606. query: {
  607. id: row.id,
  608. },
  609. });
  610. },
  611. onSubmit() {},
  612. submitFrequency() {},
  613. changeTab(e) {
  614. this.currentPage1 = 1;
  615. console.log(this.currentPage1);
  616. if (e.index == 0) {
  617. this.getUserProject();
  618. } else if (e.index == 1) {
  619. // this.getCardOrders();
  620. this.getCardList();
  621. } else if (e.index == 2) {
  622. this.getUserGoods();
  623. } else if (e.index == 3) {
  624. this.getUserCoupon();
  625. } else if (e.index == 4) {
  626. this.getBalanceRecord();
  627. }
  628. },
  629. },
  630. created() {
  631. let id = this.$route.query.id;
  632. let activeName = this.$route.query.activeName;
  633. this.activeName = activeName;
  634. this.id = id;
  635. if (this.activeName == "first") {
  636. this.getUserProject();
  637. } else if (this.activeName == "second") {
  638. // this.getCardOrders();
  639. this.getCardList();
  640. } else if (this.activeName == "third") {
  641. this.getUserGoods();
  642. } else if (this.activeName == "fourth") {
  643. this.getUserCoupon();
  644. } else if (this.activeName == "five") {
  645. this.getBalanceRecord();
  646. }
  647. },
  648. mounted() {},
  649. };
  650. </script>
  651. <style lang='less' scoped>
  652. .order {
  653. height: 100%;
  654. width: 100%;
  655. .pagin {
  656. padding: 20px 0;
  657. .el-pagination {
  658. text-align: center;
  659. }
  660. }
  661. .colorList {
  662. color: green;
  663. }
  664. }
  665. .color0 {
  666. color: #fc3019;
  667. }
  668. .color1 {
  669. color: #3ef3ed;
  670. }
  671. .color2 {
  672. color: #00eeee;
  673. }
  674. .color3 {
  675. color: #61d09d;
  676. }
  677. .color4 {
  678. color: #3115cc;
  679. }
  680. .color5 {
  681. color: #fc3019;
  682. }
  683. .color6 {
  684. color: #a999ea;
  685. }
  686. .priceColor {
  687. color: #ff3007;
  688. }
  689. .pore-block {
  690. width: 540px;
  691. height: 400px;
  692. background: #ffffff;
  693. border-radius: 8px;
  694. position: relative;
  695. padding: 26px 72px 80px 30px;
  696. .delete-pupop {
  697. width: 32px;
  698. position: absolute;
  699. right: 5px;
  700. top: 5px;
  701. img {
  702. width: 100%;
  703. }
  704. }
  705. .pore-content {
  706. overflow: scroll;
  707. height: 310px;
  708. .card-title {
  709. font-size: 14px;
  710. font-family: PingFangSC-Medium, PingFang SC;
  711. font-weight: 500;
  712. color: #333333;
  713. line-height: 20px;
  714. text-align: center;
  715. }
  716. .project {
  717. display: flex;
  718. font-size: 13px;
  719. font-family: PingFangSC-Regular, PingFang SC;
  720. font-weight: 400;
  721. color: #333333;
  722. line-height: 18px;
  723. .project-title {
  724. color: #999999;
  725. }
  726. .project-list {
  727. flex: 1;
  728. .project-info {
  729. flex: 1;
  730. .change-num {
  731. margin-top: 6px;
  732. width: 100%;
  733. display: flex;
  734. justify-content: end;
  735. .num-content {
  736. width: 104px;
  737. height: 28px;
  738. background: #ffffff;
  739. border-radius: 2px;
  740. border: 1px solid #fa7d22;
  741. display: flex;
  742. align-items: center;
  743. .content-left,
  744. .content-right {
  745. width: 28px;
  746. height: 100%;
  747. background: #fa7d22;
  748. font-size: 20px;
  749. line-height: 24px;
  750. color: #ffffff;
  751. text-align: center;
  752. }
  753. .content-num {
  754. flex: 1;
  755. font-size: 12px;
  756. font-family: PingFangSC-Regular, PingFang SC;
  757. font-weight: 400;
  758. color: rgba(0, 0, 0, 0.65);
  759. text-align: center;
  760. }
  761. }
  762. }
  763. }
  764. }
  765. }
  766. .common {
  767. margin-top: 6px;
  768. font-size: 13px;
  769. font-family: PingFangSC-Regular, PingFang SC;
  770. font-weight: 400;
  771. color: #333333;
  772. line-height: 18px;
  773. .common-title {
  774. color: #999999;
  775. }
  776. }
  777. .consume-list {
  778. margin-top: 6px;
  779. .consume-title {
  780. font-size: 13px;
  781. font-family: PingFangSC-Regular, PingFang SC;
  782. font-weight: 400;
  783. color: #999999;
  784. line-height: 18px;
  785. }
  786. .consume-info {
  787. margin-top: 6px;
  788. font-size: 10px;
  789. font-family: PingFangSC-Regular, PingFang SC;
  790. font-weight: 400;
  791. color: #333333;
  792. line-height: 14px;
  793. display: flex;
  794. justify-content: space-between;
  795. .shop {
  796. }
  797. .project-tips {
  798. flex: 1;
  799. margin: 0 10px;
  800. }
  801. .project-ts {
  802. }
  803. }
  804. }
  805. }
  806. .confirm {
  807. background: #fa7d22;
  808. border-radius: 14px;
  809. position: absolute;
  810. bottom: 42px;
  811. left: 50%;
  812. transform: translateX(-50%);
  813. width: 176px;
  814. height: 28px;
  815. font-size: 14px;
  816. font-family: PingFangSC-Medium, PingFang SC;
  817. font-weight: 500;
  818. color: #ffffff;
  819. line-height: 28px;
  820. text-align: center;
  821. }
  822. }
  823. </style>