donateDetail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816
  1. <template>
  2. <view class="detail">
  3. <view class="top">
  4. <image :src="proInfo.img" mode=""></image>
  5. <view class="title clamp">{{ proInfo.title }}</view>
  6. <view class="tip">
  7. <view class=""></view>
  8. 基本信息
  9. </view>
  10. <view class="base-info">
  11. <view class="item">
  12. <text>捐赠进度</text>
  13. <text class="status">{{ proInfo.project_progress }}%</text>
  14. </view>
  15. <view class="item">
  16. <text>创立时间</text>
  17. {{ proInfo.add_time | time }}
  18. </view>
  19. <view class="item">
  20. <text>开始时间</text>
  21. {{ proInfo.start_time | time }}
  22. </view>
  23. <view class="item">
  24. <text>结束时间</text>
  25. {{ proInfo.end_time | time }}
  26. </view>
  27. </view>
  28. <view class="dynamic flex" v-if="newItem">
  29. <view class="left">实时动态</view>
  30. <view class="right flex">
  31. <view>捐赠时间:{{ newItem.add_time | time }}</view>
  32. <view>
  33. 捐赠人:
  34. <text>{{ newItem.name | name }}</text>
  35. </view>
  36. <view class="clamp" style="width: 500rpx;">捐赠数量:{{ newItem.item | item(typeList) }}</view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="content">
  41. <view class="content-nav flex">
  42. <view class="nav-item" v-for="(item, index) in navList" :key="index" :class="{ active: currentIndex === index }" @click="navClick(index)">{{ item }}</view>
  43. </view>
  44. </view>
  45. <view v-if="currentIndex === 0">
  46. <view class="item-detail" ref="swiperItemOne">
  47. <view class="tip">
  48. <view class=""></view>
  49. 捐赠介绍
  50. </view>
  51. <view class="item-content" v-html="proInfo.info"></view>
  52. <view class="tip">
  53. <view class=""></view>
  54. 项目需求
  55. </view>
  56. <view class="item-needs">
  57. <view class="need-item" v-for="item in proInfo.project_donation_info">
  58. <view class="">
  59. {{ item.project_donation_id | type(typeList) }}:
  60. <text>{{ item.project_donation_num }}</text>
  61. </view>
  62. <view class="">
  63. 最低需求捐赠数:
  64. <text>{{ item.project_donation_num }}</text>
  65. </view>
  66. <view class="">
  67. 物资捐赠要求:
  68. <text>全新</text>
  69. </view>
  70. </view>
  71. <!-- <view class="need-item">
  72. <view class="">
  73. 帐篷类(帐篷):
  74. <text>500</text>
  75. </view>
  76. <view class="">
  77. 最低需求捐赠数:
  78. <text>500</text>
  79. </view>
  80. <view class="">
  81. 物资捐赠要求:
  82. <text>全新</text>
  83. </view>
  84. </view> -->
  85. </view>
  86. </view>
  87. </view>
  88. <view v-else class="feedback">
  89. <view class="feedback-nav">
  90. <view class="nav-item" :class="{ action: navCurrentIndex === 0 }" @click="lookmore(0)">全部</view>
  91. <view class="nav-item" :class="{ action: navCurrentIndex === 1 }" @click="lookmore(1)">已成功</view>
  92. <view class="nav-item nav-item-err" :class="{ action: navCurrentIndex === 2 }" @click="lookmore(2)">已失败</view>
  93. </view>
  94. <view class="feedback-content">
  95. <view class="overall" v-if="navCurrentIndex === 0 && proInfo.status === 2">
  96. <view class="title">项目整体反馈</view>
  97. <view class="content">{{ proInfo.feedback }}</view>
  98. </view>
  99. <view class="without" v-if="backList.length === 0">
  100. 暂无捐赠
  101. </view>
  102. <template v-if="navCurrentIndex === 0">
  103. <view class="feedback-item" :key="item.id" v-for="item in backList">
  104. <view class="item-top">
  105. <image src="../../static/img/002.png" mode=""></image>
  106. <view class="item-name-time">
  107. <view class="item-name">荆州捐赠</view>
  108. <view class="item-time">{{ item.time | time }}</view>
  109. </view>
  110. </view>
  111. <view class="item-content">
  112. <text>{{ item.name }}</text>
  113. {{ item.time | time }}, {{ item.message }}
  114. </view>
  115. </view>
  116. </template>
  117. <template v-if="navCurrentIndex === 1">
  118. <view class="feedback-item" :key="item.id" v-for="item in backList" v-if="item.order_status !== -1">
  119. <view class="item-top">
  120. <image src="../../static/img/002.png" mode=""></image>
  121. <view class="item-name-time">
  122. <view class="item-name">荆州捐赠</view>
  123. <view class="item-time">{{ item.time | time }}</view>
  124. </view>
  125. </view>
  126. <view class="item-content">
  127. <text>{{ item.name }}</text>
  128. {{ item.time | time }}, {{ item.message }}
  129. </view>
  130. </view>
  131. </template>
  132. <template v-if="navCurrentIndex === 2">
  133. <view class="feedback-item" :key="item.id" v-for="item in backList" v-if="item.order_status === -1">
  134. <view class="item-top">
  135. <image src="../../static/img/002.png" mode=""></image>
  136. <view class="item-name-time">
  137. <view class="item-name">荆州捐赠</view>
  138. <view class="item-time">{{ item.time | time }}</view>
  139. </view>
  140. </view>
  141. <view class="item-content">
  142. <text>{{ item.name }}</text>
  143. {{ item.message }}
  144. </view>
  145. </view>
  146. </template>
  147. </view>
  148. </view>
  149. <view class="jg" style="height: 99rpx;"></view>
  150. <view class="btn-wrapper flex">
  151. <view class="btn1 btn" @click="navTo('/pages/donate/progress?id=' + proInfo.id)">实时进展</view>
  152. <view class="btn2 btn" @click="proInfo.status === 1 ? want() : cant()">我要捐款</view>
  153. </view>
  154. <uni-popup ref="popup" type="center">
  155. <view class="type-box">
  156. <image src="../../static/img/sele.png" mode="" class="bg"></image>
  157. <view class="box-title">捐款类型</view>
  158. <view class="box-tip">请选择您的捐赠身份类型</view>
  159. <view class="box-btn" @click="chooseType(0)">
  160. <image src="" mode=""></image>
  161. <view class="btn-title">个人捐赠</view>
  162. <view class="qq" :class="{ action: jxType === 0 }"><view class="yx"></view></view>
  163. </view>
  164. <view class="box-btn" @click="chooseType(1)">
  165. <image src="" mode=""></image>
  166. <view class="">企业(团队)捐赠</view>
  167. <view class="qq" :class="{ action: jxType === 1 }"><view class="yx"></view></view>
  168. </view>
  169. <view class="qr" @click="qr()">确认</view>
  170. </view>
  171. </uni-popup>
  172. </view>
  173. </template>
  174. <script>
  175. import { getProjectInfo, createProject, getDonationInfo, getAllOrder, getMyorder } from '../../api/money.js';
  176. let that;
  177. export default {
  178. data() {
  179. return {
  180. navList: ['捐赠详情', '捐赠反馈'],
  181. currentIndex: 0,
  182. swiperHeight: 0,
  183. navCurrentIndex: 0,
  184. jxType: 0,
  185. pid: 0,
  186. proInfo: {},
  187. typeList: [], //物资分类列表
  188. newItem: null, //最新动态,
  189. isBottom: false,
  190. backList: [] //反馈lis
  191. };
  192. },
  193. onReachBottom() {
  194. this.isBottom = true;
  195. },
  196. filters: {
  197. time(val) {
  198. let str = '';
  199. // console.log(val)
  200. if (val) {
  201. let date = new Date(val * 1000);
  202. let Y = date.getFullYear();
  203. let M = date.getMonth() > 9 ? date.getMonth() : '0' + date.getMonth();
  204. let D = date.getDate() > 9 ? date.getDate() : '0' + date.getDate();
  205. str = Y + '年' + M + '月' + D + '日';
  206. }
  207. return str;
  208. },
  209. type(val, typeList) {
  210. let str = '';
  211. let arr = typeList;
  212. let len = arr.length;
  213. for (let i = 0; i < len; i++) {
  214. if (arr[i].id === val) {
  215. return (str = arr[i].name);
  216. }
  217. }
  218. },
  219. name(val, typeList) {
  220. let str = '';
  221. if (val) {
  222. str = val.substr(0, 1);
  223. }
  224. return str + '**';
  225. },
  226. item(val, typeList) {
  227. let str = '';
  228. if (val) {
  229. let arr = val.map(item => {
  230. for (let i = 0; i < typeList.length; i++) {
  231. if (item.project_donation_id == typeList[i].id) {
  232. str = str + typeList[i].name + ' ' + item.project_donation_num + ' ' + '个 ';
  233. }
  234. }
  235. });
  236. }
  237. return str;
  238. }
  239. },
  240. onLoad(opt) {
  241. console.log('onLoadonLoadonLoadonLoadonLoadonLoadonLoadonLoad');
  242. that = this;
  243. this.pid = opt.id;
  244. console.log(this.pid, '5555555555555555555555');
  245. this.getNewOrder();
  246. this.loadDate(this.pid);
  247. this.getDonationInfo();
  248. },
  249. methods: {
  250. loadDate(id) {
  251. getProjectInfo({
  252. id: id
  253. }).then(res => {
  254. console.log(res,'00000000000000000000000000000')
  255. let data = res.data;
  256. console.log(data, 'loaddata++++++++++');
  257. data.info = data.info.replace(/<img /g, '<img style="width:100%"');
  258. this.proInfo = data;
  259. console.log(this.proInfo, 'this.proInfo++++++++++++++++');
  260. let arr = this.proInfo.project_donation_info;
  261. let len = arr.length;
  262. let map = {},
  263. dest = [];
  264. for (var i = 0; i < len; i++) {
  265. var ai = arr[i];
  266. if (!map[ai.project_donation_id]) {
  267. // dest.push({
  268. // id: ai.id,
  269. // pro_id: ai.pro_id,
  270. // project_donation_id: ai.project_donation_id,
  271. // project_donation_num: ai.project_donation_num,
  272. // received: ai.received,
  273. // send_num: ai.send_num,
  274. // transport: ai.transport
  275. // });
  276. dest.push(ai);
  277. map[ai.project_donation_id] = ai;
  278. } else {
  279. for (var j = 0; j < dest.length; j++) {
  280. var dj = dest[j];
  281. if (dj.project_donation_id == ai.project_donation_id) {
  282. dj.project_donation_num = dj.project_donation_num + ai.project_donation_num;
  283. dj.received = dj.received + ai.received;
  284. dj.send_num = dj.send_num + ai.send_num;
  285. dj.transport = dj.transport + ai.transport;
  286. break;
  287. }
  288. }
  289. }
  290. }
  291. this.proInfo.project_donation_info = dest;
  292. console.log(this.proInfo.project_donation_info, 'proInfo.item++++++++++++++++++++++++++');
  293. });
  294. },
  295. navTo(url) {
  296. uni.navigateTo({
  297. url: url
  298. });
  299. },
  300. navClick(index) {
  301. this.currentIndex = index;
  302. },
  303. lookmore(index) {
  304. this.navCurrentIndex = index;
  305. },
  306. want() {
  307. this.$refs.popup.open();
  308. },
  309. chooseType(index) {
  310. this.jxType = index;
  311. },
  312. qr() {
  313. this.$refs.popup.close();
  314. let wzList = [];
  315. let list = this.proInfo.project_donation_info;
  316. list.map(item => {
  317. for (let i = 0; i < this.typeList.length; i++) {
  318. if (item.project_donation_id === this.typeList[i].id) {
  319. wzList.push(this.typeList[i]);
  320. }
  321. }
  322. });
  323. console.log(wzList, '**************************************');
  324. this.navTo('/pages/donate/idonate?type=' + this.jxType + '&id=' + this.proInfo.id + '&wzlist=' + JSON.stringify(wzList));
  325. },
  326. //获取物资分类列表
  327. getDonationInfo() {
  328. getDonationInfo().then(({ data }) => {
  329. this.typeList = data;
  330. console.log(this.typeList, '获取所有物资');
  331. });
  332. },
  333. getNewOrder() {
  334. getAllOrder({
  335. project_id: this.pid,
  336. page: 1,
  337. limit: 10000
  338. }).then(({ data }) => {
  339. if (data.count !== 0) {
  340. console.log(data, '999999999999999999999999');
  341. // this.newItem = data.list[0];
  342. if (!this.newItem) {
  343. this.$set(this, 'newItem', data.list[0]);
  344. }
  345. this.backList = data.list.map(item => {
  346. switch (item.status_txt) {
  347. case '受捐者反馈':
  348. item.time = item.feedback_time;
  349. item.message = item.feedback || '您捐赠的物资已送至受捐者,感谢您的爱心!';
  350. break;
  351. // case '发受捐者':
  352. // item.time = item.delivery_time || item.out_delivery_remark
  353. // item.message = '您捐赠的物资正在发往' + (item.delivery_name || '受捐者' )
  354. // break
  355. case '捐赠品出库':
  356. item.time = item.out_delivery_time;
  357. item.message = item.out_delivery_remark || '捐赠物资已出库';
  358. break;
  359. case '捐赠品入库':
  360. item.time = item.receiving_time;
  361. item.message = item.receiving_remark || '捐赠物资已入库';
  362. break;
  363. // case: '已发货'
  364. case '审核通过':
  365. item.time = item.verify_time;
  366. item.message = item.verify_remark || '捐赠审核已通过';
  367. break;
  368. case '未通过':
  369. item.time = item.verify_time;
  370. item.message = item.item.verify_remark || '您的申请未通过,您可重新提交申请,感谢您的爱心!';
  371. break;
  372. case '待审核':
  373. item.time = item.add_time;
  374. item.message = '感谢您的爱心!';
  375. break;
  376. default:
  377. item.time = item.add_time;
  378. item.message = '感谢您的爱心!';
  379. }
  380. console.log(item, '捐赠反馈444444444444444444444444');
  381. return item;
  382. });
  383. console.log(this.newItem, '88888888888888888');
  384. console.log(this.backList, 'this.backList+++++++++++++++++++++++');
  385. }
  386. });
  387. },
  388. getItem(item) {
  389. // this.getDonationInfo()
  390. let str = '';
  391. console.log(item);
  392. if (item) {
  393. item.forEach(item => {
  394. for (let i = 0; i < this.typeList.length; i++) {
  395. if (item.project_donation_id === this.typeList[i].project_donation_id) {
  396. str = str + this.typeList[i].project_donation_name + item.project_donation_num + '个';
  397. }
  398. }
  399. });
  400. }
  401. console.log(str, '222222222222222222');
  402. return str;
  403. },
  404. cant() {
  405. if(this.proInfo.status === -1){
  406. this.$api.msg('捐赠活动无效');
  407. }
  408. if(this.proInfo.status === 0){
  409. this.$api.msg('捐赠活动未开始');
  410. }
  411. if(this.proInfo.status === 2){
  412. this.$api.msg('捐赠活动已结束');
  413. }
  414. }
  415. }
  416. };
  417. </script>
  418. <style lang="scss" scoped>
  419. page {
  420. width: 100%;
  421. }
  422. .top {
  423. // height: 863rpx;
  424. background-color: #fff;
  425. border-top: 1rpx solid #f6f6f6;
  426. padding-top: 33rpx;
  427. margin-bottom: 20rpx;
  428. image {
  429. display: block;
  430. width: 680rpx;
  431. height: 375rpx;
  432. border-radius: 20rpx;
  433. margin: 0 auto;
  434. // background-color: red;
  435. }
  436. .title {
  437. width: 580rpx;
  438. font-size: 32rpx;
  439. font-family: PingFang SC;
  440. font-weight: bold;
  441. color: #333333;
  442. line-height: 1;
  443. padding-top: 28rpx;
  444. padding-left: 42rpx;
  445. margin-bottom: 39rpx;
  446. }
  447. .base-info {
  448. font-size: 27rpx;
  449. font-family: PingFang SC;
  450. font-weight: 500;
  451. color: #999999;
  452. line-height: 1;
  453. display: flex;
  454. padding: 0 56rpx;
  455. flex-wrap: wrap;
  456. .item {
  457. width: 50%;
  458. padding-bottom: 40rpx;
  459. .status {
  460. color: red;
  461. font-weight: bold;
  462. }
  463. text {
  464. font-size: 26rpx;
  465. font-family: PingFang SC;
  466. font-weight: 500;
  467. color: #666666;
  468. display: inline-block;
  469. margin-right: 15rpx;
  470. }
  471. }
  472. }
  473. .dynamic {
  474. width: 666rpx;
  475. height: 111rpx;
  476. background: #efefef;
  477. border-radius: 10rpx;
  478. margin: 5rpx auto 0;
  479. .left {
  480. width: 115rpx;
  481. height: 111rpx;
  482. background: #5c93fc;
  483. border-radius: 10rpx 0px 0px 10rpx;
  484. font-size: 28rpx;
  485. font-family: PingFang SC;
  486. font-weight: 500;
  487. color: #ffffff;
  488. line-height: 34rpx;
  489. padding: 22rpx 29rpx;
  490. margin-right: 15rpx;
  491. }
  492. .right {
  493. font-size: 22rpx;
  494. font-family: PingFang SC;
  495. font-weight: 400;
  496. color: #333333;
  497. line-height: 1;
  498. padding: 12rpx 0;
  499. flex-direction: column;
  500. justify-content: space-between;
  501. text {
  502. color: red;
  503. font-weight: bold;
  504. }
  505. }
  506. }
  507. }
  508. .content {
  509. .content-nav {
  510. height: 82rpx;
  511. background: #ffffff;
  512. font-size: 30rpx;
  513. font-family: PingFang SC;
  514. font-weight: 500;
  515. color: #999999;
  516. line-height: 82rpx;
  517. justify-content: space-around;
  518. .active {
  519. border-bottom: 4rpx solid #fa7e67;
  520. color: #fa7e67;
  521. font-weight: bold;
  522. }
  523. }
  524. }
  525. .tip {
  526. margin-left: 42rpx;
  527. font-size: 30rpx;
  528. font-family: PingFang SC;
  529. font-weight: bold;
  530. color: #333333;
  531. line-height: 1;
  532. margin-bottom: 34rpx;
  533. view {
  534. display: inline-block;
  535. width: 4rpx;
  536. height: 30rpx;
  537. background: #fa7e67;
  538. border-radius: 2rpx;
  539. margin-right: 9rpx;
  540. position: relative;
  541. bottom: -2rpx;
  542. }
  543. }
  544. .btn-wrapper {
  545. position: fixed;
  546. bottom: 0;
  547. width: 100%;
  548. .btn {
  549. width: 50%;
  550. text-align: center;
  551. height: 99rpx;
  552. line-height: 99rpx;
  553. font-size: 34rpx;
  554. font-family: PingFang SC;
  555. font-weight: 500;
  556. color: #ffffff;
  557. }
  558. .btn1 {
  559. background-color: #f7c03e;
  560. }
  561. .btn2 {
  562. background-color: #fa7e67;
  563. }
  564. }
  565. .item-detail {
  566. height: 100%;
  567. padding-top: 42rpx;
  568. .item-content {
  569. padding: 0 78rpx 0 48rpx;
  570. font-size: 26rpx;
  571. font-family: PingFang SC;
  572. font-weight: 500;
  573. color: #666666;
  574. line-height: 44rpx;
  575. margin-bottom: 32rpx;
  576. }
  577. .item-needs {
  578. .need-item {
  579. width: 666rpx;
  580. height: 150rpx;
  581. background: #f3f3f3;
  582. border-radius: 10rpx;
  583. margin: 0 auto;
  584. font-size: 26rpx;
  585. font-family: PingFang SC;
  586. font-weight: 500;
  587. color: #333333;
  588. margin-bottom: 10rpx;
  589. padding-top: 20rpx;
  590. padding-left: 13rpx;
  591. line-height: 1;
  592. view {
  593. margin-bottom: 15rpx;
  594. text {
  595. color: #e80000;
  596. }
  597. }
  598. }
  599. }
  600. }
  601. .feedback {
  602. padding: 25rpx 41rpx 36rpx;
  603. .feedback-nav {
  604. margin-bottom: 20rpx;
  605. .nav-item {
  606. display: inline-block;
  607. width: 100rpx;
  608. height: 55rpx;
  609. background: #fdcbc2;
  610. box-shadow: 0px 0px 10rpx 0rpx rgba(0, 0, 0, 0.1);
  611. border-radius: 10rpx;
  612. margin-right: 20rpx;
  613. text-align: center;
  614. line-height: 55rpx;
  615. font-size: 24rpx;
  616. font-family: PingFang SC;
  617. font-weight: 500;
  618. color: #ffffff;
  619. }
  620. .nav-item-err {
  621. color: #999999;
  622. background: #f1f1f0;
  623. }
  624. .action {
  625. background: #fa7e67;
  626. color: #fff;
  627. }
  628. }
  629. .feedback-content {
  630. .overall {
  631. .title {
  632. width: 667rpx;
  633. height: 75rpx;
  634. background: #fa7e67;
  635. box-shadow: 0px 0px 10rpx 0rpx rgba(0, 0, 0, 0.1);
  636. border-radius: 10rpx 10rpx 0px 0px;
  637. font-size: 28rpx;
  638. font-family: PingFang SC;
  639. font-weight: bold;
  640. color: #ffffff;
  641. line-height: 75rpx;
  642. padding-left: 17rpx;
  643. }
  644. .content {
  645. padding: 33rpx 36rpx 43rpx 30rpx;
  646. width: 667rpx;
  647. background-color: #fff;
  648. box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.1);
  649. border-radius: 0px 0px 10rpx 10rpx;
  650. font-size: 26rpx;
  651. font-family: PingFang SC;
  652. font-weight: 500;
  653. color: #999999;
  654. line-height: 42rpx;
  655. }
  656. }
  657. .feedback-item {
  658. margin: 20rpx auto;
  659. // display: flex;
  660. background-color: #fff;
  661. box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.1);
  662. border-radius: 10rpx 10rpx 10rpx;
  663. .item-top {
  664. height: 118rpx;
  665. border-radius: 10px 10px 0 0;
  666. border-bottom: 1px solid #ececec;
  667. padding: 25rpx 0 0 17rpx;
  668. display: flex;
  669. image {
  670. width: 77rpx;
  671. height: 77rpx;
  672. border-radius: 50%;
  673. // background-color: red;
  674. margin-right: 12rpx;
  675. }
  676. .item-name-time {
  677. .item-name {
  678. font-size: 28rpx;
  679. font-family: PingFang SC;
  680. font-weight: bold;
  681. color: #333333;
  682. line-height: 35rpx;
  683. }
  684. .item-time {
  685. font-size: 24rpx;
  686. font-family: PingFang SC;
  687. font-weight: 500;
  688. color: #999999;
  689. line-height: 50rpx;
  690. }
  691. }
  692. }
  693. .item-content {
  694. padding: 25rpx 47rpx 40rpx 30rpx;
  695. border-radius: 0 0 10rpx 10rpx;
  696. font-size: 26rpx;
  697. font-family: PingFang SC;
  698. font-weight: 500;
  699. color: #999;
  700. line-height: 42rpx;
  701. text {
  702. color: #e80000;
  703. font-weight: bold;
  704. }
  705. }
  706. }
  707. }
  708. }
  709. .type-box {
  710. width: 542rpx;
  711. height: 575rpx;
  712. // background: linear-gradient(0deg, rgba(249, 98, 105, 0.06), rgba(255, 255, 255, 0.06));
  713. border-radius: 20rpx;
  714. background-color: #fff;
  715. position: relative;
  716. .bg {
  717. width: 100%;
  718. height: 138rpx;
  719. position: absolute;
  720. }
  721. .box-title {
  722. text-align: center;
  723. font-size: 36rpx;
  724. font-family: PingFang SC;
  725. font-weight: bold;
  726. color: #333333;
  727. line-height: 1;
  728. padding-top: 77rpx;
  729. }
  730. .box-tip {
  731. text-align: center;
  732. font-size: 24rpx;
  733. font-family: PingFang SC;
  734. font-weight: 500;
  735. color: #808080;
  736. line-height: 1;
  737. padding-top: 12rpx;
  738. margin-bottom: 43rpx;
  739. }
  740. .box-btn {
  741. margin: 0 auto;
  742. width: 460rpx;
  743. height: 95rpx;
  744. display: flex;
  745. align-items: center;
  746. border-bottom: 1px solid #f3efef;
  747. position: relative;
  748. image {
  749. height: 43rpx;
  750. width: 43rpx;
  751. background-color: red;
  752. margin-right: 15rpx;
  753. }
  754. .qq {
  755. width: 32rpx;
  756. height: 32rpx;
  757. border: 1px solid #808080;
  758. opacity: 0.5;
  759. border-radius: 50%;
  760. position: absolute;
  761. right: 0;
  762. }
  763. .action {
  764. border-color: #fa7e67;
  765. // position: relative;
  766. .yx {
  767. width: 20rpx;
  768. height: 20rpx;
  769. background: #fa7e67;
  770. // border: 1px solid #FA7E67;
  771. border-radius: 50%;
  772. position: absolute;
  773. top: 0;
  774. bottom: 0;
  775. left: 0;
  776. right: 0;
  777. margin: auto;
  778. }
  779. }
  780. }
  781. .qr {
  782. width: 460rpx;
  783. height: 71rpx;
  784. background: #fa7e67;
  785. box-shadow: 0px 16rpx 16rpx 0px rgba(250, 126, 103, 0.5);
  786. border-radius: 10rpx;
  787. font-size: 28rpx;
  788. font-family: PingFang SC;
  789. font-weight: 500;
  790. color: #ffffff;
  791. text-align: center;
  792. line-height: 71rpx;
  793. margin: 62rpx auto 0;
  794. }
  795. }
  796. .without {
  797. padding: 40rpx;
  798. width: 100%;
  799. height: 100%;
  800. text-align: center;
  801. }
  802. </style>