index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  1. <template>
  2. <view>
  3. <image :src="appConfig.appRequestUrl+`/h5/tipImg1.png`" style="width: 750rpx;height: 100%;" mode="widthFix">
  4. </image>
  5. <image :src="appConfig.appRequestUrl+`/h5/tipImg2.png`" style="width: 750rpx;height: 100%;" mode="widthFix">
  6. </image>
  7. <image :src="appConfig.appRequestUrl+`/h5/tipImg3.png`" style="width: 750rpx;height: 100%;" mode="widthFix">
  8. </image>
  9. <image :src="appConfig.appRequestUrl+`/h5/tipImg4.png`" style="width: 750rpx;height: 100%;" mode="widthFix">
  10. </image>
  11. <!-- <view class="app-bg">
  12. <image src="/static/img/tream_bg.png"></image>
  13. </view>
  14. <uni-nav-bar color="#fff" :border="false" statusBar backgroundColor="transparent" fixed title="我的会馆"></uni-nav-bar>
  15. <view class="swiper-img" id="app-top">
  16. <u-swiper
  17. :list="topData.banner"
  18. keyName="img"
  19. bgColor="transparent"
  20. indicator
  21. indicatorActiveColor="#DB292B"
  22. indicatorInactiveColor="#B7B7B7"
  23. previousMargin="15"
  24. nextMargin="15"
  25. indicatorMode="line"
  26. ></u-swiper>
  27. </view> -->
  28. <!-- <view class="app-body" v-if="user != null">
  29. <view class="pannel fx-r fx-bc fx-ac" v-if="sysData.is_audit == 0">
  30. <view class="item fx-h fx-bc fx-ac" @tap="tapOpen" data-url="/pages/user/detail/integral">
  31. <view class="count">{{ user != null ? user.integral : 0 }}</view>
  32. <view class="label">趣豆</view>
  33. </view>
  34. <view class="line"></view>
  35. <view class="item fx-h fx-bc fx-ac">
  36. <view class="count">{{ user != null ? user.total_earnings : 0 }}</view>
  37. <view class="label">我的收益</view>
  38. </view>
  39. <view class="line"></view>
  40. <view class="item fx-h fx-bc fx-ac" @tap="tapOpen" data-url="/pages/user/detail/anticipate">
  41. <view class="count">{{ user != null ? user.anticipate : 0 }}</view>
  42. <view class="label">易趣卷</view>
  43. </view>
  44. </view>
  45. <view class="team-buy" v-if="data.guData != null">
  46. <view class="team-show">
  47. <view class="bg">
  48. <image src="../../static/ad/team-bg.png" mode="aspectFill"></image>
  49. <view class="h"></view>
  50. </view>
  51. <view class="body fx-h fx-bc fx-ac">
  52. <view class="top-input">
  53. <image src="/static/img/team-top-title.png" class="tbg"></image>
  54. <view class="inner fx-r fx-bc fx-ac">
  55. <image src="/static/img/team-top-location.png"></image>
  56. <view class="label">{{ data.guData.name }}</view>
  57. </view>
  58. </view>
  59. <view class="info fx-r fx-g1 fx-bc fx-ac">
  60. <view class="item fx-h fx-bc fx-ac">
  61. <view class="label" v-if="data.guData.status == 1">开放中</view>
  62. <view class="label" style="color: red;" v-else>闭馆中</view>
  63. <view class="name">状态</view>
  64. </view>
  65. <view class="halving"></view>
  66. <view class="item fx-h fx-bc fx-ac">
  67. <view class="label">{{ data.guData.nickname }}</view>
  68. <view class="name">部门总监</view>
  69. </view>
  70. <view class="halving"></view>
  71. <view class="item fx-h fx-bc fx-ac">
  72. <view class="people fx-r">
  73. <image :src="index == 0 ? '/static/img/hong_people.png' : '/static/img/while_people.png'" v-for="(item,index) in 5"></image>
  74. </view>
  75. <view class="name">流畅</view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="venue-list" v-if="data.auction != null">
  82. <view class="item" v-for="(item,index) in data.auction">
  83. <view class="top-info fx-r">
  84. <view class="avatar">
  85. <image :src="item.image" mode="aspectFill"></image>
  86. </view>
  87. <view class="info">
  88. <view class="title">{{ item.nickname }}</view>
  89. <view class="time fx-r fx-bc" v-if="item.is_today">
  90. <image src="/static/img/c-time.png"></image>
  91. 开售:{{ utils.date('H:i:s',item.radd_time + item.in_time) }}
  92. </view>
  93. <view class="time fx-r fx-bc" v-else>
  94. <image src="/static/img/c-time.png"></image>
  95. 场次时间:{{ item.next_day || "无" }}
  96. </view>
  97. </view>
  98. </view>
  99. <view class="yinfo fx-r">
  100. <view class="y-time">预约时间:
  101. <text v-if="item.add_time > 0">
  102. {{ utils.date('H:i',item.add_time) }}-{{ utils.date('H:i',item.end_time) }}
  103. </text>
  104. </view>
  105. <view class="fx-g1"></view>
  106. <view class="y-time">入场时间:
  107. <text>
  108. {{ utils.date('H:i',item.radd_time) }}-{{ utils.date('H:i',item.rend_time) }}
  109. </text>
  110. </view>
  111. </view>
  112. <view class="yfoot fx-r fx-bc" v-if="item.showType == 0">
  113. <view class="time1 fx-r" style="color: #787878;">预约时间:{{ utils.date('m-d H:i',item.add_time) }}</view>
  114. <view class="fx-g1"></view>
  115. <view class="sbtn-no">未到预约时间</view>
  116. </view>
  117. <view class="yfoot fx-r fx-bc" v-if="item.showType == 1">
  118. <view class="time1 fx-r">
  119. 距预约结束:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:m',item.end_time)" />
  120. </view>
  121. <view class="fx-g1"></view>
  122. <view class="sbtn" v-if="item.booking_count <= 0" @tap="tapBooking(item)">立即预约</view>
  123. <view class="sbtn-no" v-else>已预约</view>
  124. </view>
  125. <view class="yfoot fx-r fx-bc" v-if="item.showType == 2">
  126. <view class="time1 fx-r" style="color: #787878;">入场时间:{{ utils.date('m-d H:i',item.radd_time) }}</view>
  127. <view class="fx-g1"></view>
  128. <view class="sbtn-no">未到入场时间</view>
  129. </view>
  130. <view class="yfoot fx-r fx-bc" v-if="item.showType == 3">
  131. <template v-if="item.booking_count > 0">
  132. <view class="time1 fx-r" v-if=" item.radd_time >= utils.strtotime() && utils.strtotime() < (item.radd_time + item.in_time) ">
  133. 距入场时间:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:s',item.radd_time)" />
  134. </view>
  135. <view class="time1 fx-r" v-if=" (item.radd_time + item.in_time) >= utils.strtotime() && utils.strtotime() < item.rend_time ">
  136. 距开售时间:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:s',(item.radd_time + item.in_time))" />
  137. </view>
  138. <view class="time1 fx-r" v-if=" item.rend_time >= utils.strtotime() && utils.strtotime() > (item.radd_time + item.in_time) ">
  139. 距结束:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:s',item.rend_time)" />
  140. </view>
  141. <view class="fx-g1"></view>
  142. <view class="sbtn" @tap="tapItem(item)">立即进入</view>
  143. </template>
  144. <template v-if="item.booking_count == 0">
  145. <view class="time1 fx-r" v-if=" item.radd_time >= utils.strtotime() && utils.strtotime() < (item.radd_time + item.in_time) ">
  146. 距入场时间:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:s',item.radd_time)" />
  147. </view>
  148. <view class="time1 fx-r" v-if=" (item.radd_time + item.in_time) >= utils.strtotime() && utils.strtotime() < item.rend_time ">
  149. 距开售时间:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:s',(item.radd_time + item.in_time))" />
  150. </view>
  151. <view class="time1 fx-r" v-if=" item.rend_time >= utils.strtotime() && utils.strtotime() > (item.radd_time + item.in_time) ">
  152. 距结束:<countdown :startTime="utils.date('Y-m-d H:i:s')" :endTime="utils.date('Y-m-d H:i:s',item.rend_time)" />
  153. </view>
  154. <view class="fx-g1"></view>
  155. <view class="sbtn-no">未预约无法入场</view>
  156. </template>
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. <view v-else :style="'height:60vh;'" class="user-bann fx-h fx-bc fx-ac">
  162. <view class="tips">你还未登录,请点击登录查看</view>
  163. <view class="btn" @tap="tapLogin" style="margin-top: 10px;">立即登录</view>
  164. </view>
  165. <view class="popwin fx-h fx-bc fx-ac" v-if="isShowContent">
  166. <view class="bg"></view>
  167. <view class="body fx-h fx-bc fx-ac">
  168. <view style="font-size: 16px;color: #333;font-weight: bold;">会员须知及寄售协议</view>
  169. <scroll-view scroll-y class="max-he">
  170. <u-parse :content="topData.content" :noData="topData.content" />
  171. </scroll-view>
  172. <view class="btn" @tap="tapAction">已阅读并同意</view>
  173. </view>
  174. </view>
  175. <u-modal :show="isBooking" title="预约场次" :showConfirmButton="false">
  176. <view class="booking">
  177. <view class="booking-content">
  178. 预约<text v-if="itemData != null ">{{ itemData.reserve_count }}单</text>,需要<text v-if="itemData != null ">{{ itemData.all_anticipate }}</text>易趣卷是否立即预约?
  179. </view>
  180. <view class="foot fx-r">
  181. <view class="btn ihover" @tap="tapBookAc">确认</view>
  182. <view class="nbtn ihover" @tap="isBooking = false">取消</view>
  183. </view>
  184. </view>
  185. </u-modal> -->
  186. </view>
  187. </template>
  188. <script>
  189. import appConfig from '../../config/global.js'
  190. import countdown from "@/components/cz-countdown/cz-countdown.vue";
  191. import uParse from '@/components/gaoyia-parse/parse.vue';
  192. import {
  193. mapState,
  194. mapMutations
  195. } from 'vuex';
  196. export default {
  197. components: {
  198. countdown,
  199. uParse
  200. },
  201. computed: mapState(['user', 'sysData']),
  202. data() {
  203. return {
  204. appConfig,
  205. barheight: 0,
  206. data: {
  207. guData: null,
  208. auction: null
  209. },
  210. topData: {
  211. banner: [],
  212. content: ""
  213. },
  214. isShowContent: false,
  215. itemData: null,
  216. actionType: "",
  217. isBooking: false,
  218. isSubmit: false,
  219. }
  220. },
  221. onLoad() {
  222. this.initView();
  223. setInterval(this.interval, 1000);
  224. },
  225. onShow() {
  226. this.checkUserLogin({
  227. page: this,
  228. isLogion: false,
  229. fn: this.uInit
  230. });
  231. },
  232. methods: {
  233. ...mapMutations(['checkUserLogin']),
  234. initView: function() {
  235. this.$nextTick(() => {
  236. uni.createSelectorQuery().select("#app-top").boundingClientRect(res => {
  237. this.barheight = res.height;
  238. }).exec();
  239. });
  240. // #ifdef H5
  241. this.footHeight = 60;
  242. // #endif
  243. this
  244. .request
  245. .get("guInit")
  246. .then(res => {
  247. if (res.code == 200) {
  248. this.topData = res.data;
  249. }
  250. });
  251. },
  252. /**
  253. * 获取其他信息
  254. */
  255. uInit: function() {
  256. this
  257. .request
  258. .post("getUserGu")
  259. .then(res => {
  260. uni.hideLoading();
  261. if (res.code == 200) {
  262. this.data = res.data;
  263. this.interval();
  264. }
  265. })
  266. .catch(err => {
  267. this.utils.Tip("加载失败,重新点击尝试!" + JSON.stringify(error));
  268. uni.hideLoading();
  269. });
  270. },
  271. /**
  272. * 预约操作
  273. */
  274. tapBooking: function(item) {
  275. if (this.user == null) {
  276. uni.navigateTo({
  277. url: "/pages/login/index"
  278. });
  279. return;
  280. }
  281. //是否认证
  282. if (this.user.is_auth != 1) {
  283. this.utils.showModal("您还未认证,点击进行认证", () => {
  284. uni.navigateTo({
  285. url: "/pages/user/approve"
  286. });
  287. });
  288. return;
  289. }
  290. //是否填写银行信息
  291. if (this.user.is_bank != 1) {
  292. this.utils.showModal("您还配置收款信息,点击配置", () => {
  293. uni.navigateTo({
  294. url: "/pages/user/bank/bank"
  295. });
  296. });
  297. return;
  298. }
  299. this.isShowContent = true;
  300. this.itemData = item;
  301. this.actionType = "booking";
  302. },
  303. tapAction: function() {
  304. this.isShowContent = false;
  305. if (this.actionType == "booking") {
  306. this.isBooking = true;
  307. }
  308. },
  309. /**
  310. * 预约单
  311. */
  312. tapBookAc: function() {
  313. this.isBooking = false;
  314. if (this.isSubmit) return;
  315. this.isSubmit = true;
  316. uni.showLoading({
  317. title: '提交数据..'
  318. });
  319. this
  320. .request
  321. .post("auctionSubscribe", {
  322. id: this.itemData.id
  323. })
  324. .then(res => {
  325. uni.hideLoading();
  326. this.isSubmit = false;
  327. if (res.code == 200) {
  328. this.utils.Tip(res.msg);
  329. this.uInit();
  330. } else {
  331. this.utils.Tip(res.msg);
  332. }
  333. })
  334. .catch(err => {
  335. this.isSubmit = false;
  336. this.utils.Tip("加载失败,重新点击尝试!" + JSON.stringify(error));
  337. uni.hideLoading();
  338. });
  339. },
  340. /**
  341. *
  342. */
  343. tapLogin: function() {
  344. uni.navigateTo({
  345. url: "../login/index"
  346. });
  347. },
  348. tapAdver: function() {
  349. },
  350. /**
  351. * 详情页面
  352. */
  353. tapItem: function(item) {
  354. uni.navigateTo({
  355. url: "./rush?id=" + item.id
  356. })
  357. },
  358. /**
  359. * 打开Open
  360. * @param {Object} ev
  361. */
  362. tapOpen: function(ev) {
  363. let url = ev.currentTarget.dataset.url;
  364. this.utils.navigateTo(url);
  365. },
  366. interval: function() {
  367. if (this.data.auction != null) {
  368. let time = this.utils.strtotime();
  369. for (let i in this.data.auction) {
  370. let d = this.data.auction[i];
  371. //判断是否预约时间
  372. if (time >= d.add_time && time < d.end_time) {
  373. this.$set(this.data.auction[i], 'showType', 1);
  374. }
  375. //入场时间
  376. if (time >= d.end_time && time < d.radd_time) {
  377. this.$set(this.data.auction[i], 'showType', 2);
  378. }
  379. //判断是否入场-判断是不是到预约时间-是否已预约
  380. if (d.booking_count > 0 && time >= d.radd_time && time < d.rend_time) {
  381. this.$set(this.data.auction[i], 'showType', 3);
  382. }
  383. if (d.booking_count <= 0 && time >= d.radd_time && time < d.rend_time && time > d.end_time) {
  384. this.$set(this.data.auction[i], 'showType', 3);
  385. }
  386. if (time > d.rend_time) {
  387. this.$set(this.data.auction[i], 'showType', 4);
  388. }
  389. }
  390. }
  391. }
  392. }
  393. }
  394. </script>
  395. <style lang="scss">
  396. @import url("/components/gaoyia-parse/parse.css");
  397. .app-bg {
  398. position: absolute;
  399. image {
  400. width: 100vw;
  401. height: 45vw;
  402. }
  403. }
  404. .app-body {
  405. position: relative;
  406. z-index: 9;
  407. padding: 0px 30rpx;
  408. }
  409. //业绩通道
  410. .pannel {
  411. background: #fff;
  412. border-radius: 20rpx;
  413. margin-top: 20rpx;
  414. padding: 60rpx 0;
  415. .item {
  416. width: calc(33% - 1px);
  417. .label {
  418. font-size: 14px;
  419. color: #666666;
  420. margin-top: 5px;
  421. }
  422. .count {
  423. font-weight: bold;
  424. font-size: 21px;
  425. color: #0C1732;
  426. }
  427. }
  428. .line {
  429. width: 1px;
  430. height: 45px;
  431. background: #DCDCDC;
  432. }
  433. }
  434. //抢货通道
  435. .team-buy {
  436. background: #F8F8FA;
  437. .top {
  438. .label {
  439. color: #DB292B;
  440. font-size: 30rpx;
  441. font-weight: bold;
  442. }
  443. .sbtn {
  444. border: 2rpx solid #DB292B;
  445. border-radius: 10rpx;
  446. color: #DB292B;
  447. font-size: 24rpx;
  448. padding: 14rpx 16rpx;
  449. }
  450. }
  451. .team-show {
  452. width: 100%;
  453. height: 260rpx;
  454. border-radius: 20rpx;
  455. margin-top: 20rpx;
  456. position: relative;
  457. .bg {
  458. width: 100%;
  459. height: 260rpx;
  460. position: absolute;
  461. image {
  462. width: 100%;
  463. height: 100%;
  464. border-radius: 20rpx;
  465. }
  466. .h {
  467. background-color: rgba(0, 0, 0, 0.2);
  468. position: absolute;
  469. z-index: 9;
  470. width: 100%;
  471. height: 100%;
  472. border-radius: 20rpx;
  473. top: 0;
  474. }
  475. }
  476. .body {
  477. position: relative;
  478. z-index: 10;
  479. height: 100%;
  480. .top-input {
  481. position: relative;
  482. .tbg {
  483. width: 250rpx;
  484. height: 70rpx;
  485. }
  486. .inner {
  487. width: 100%;
  488. height: 100%;
  489. position: absolute;
  490. top: 0;
  491. left: 0;
  492. image {
  493. width: 28rpx;
  494. height: 28rpx;
  495. }
  496. .label {
  497. color: #fff;
  498. font-weight: bold;
  499. font-size: 36rpx;
  500. margin-left: 6rpx;
  501. }
  502. }
  503. }
  504. .info {
  505. width: 100%;
  506. .item {
  507. width: calc(33% - 1px);
  508. .name {
  509. color: #fff;
  510. font-size: 30rpx;
  511. margin-top: 24rpx;
  512. }
  513. .label {
  514. color: #fff;
  515. width: 80%;
  516. font-size: 30rpx;
  517. font-weight: bold;
  518. overflow: hidden;
  519. text-overflow: ellipsis;
  520. white-space: nowrap;
  521. text-align: center;
  522. }
  523. .people {
  524. image {
  525. width: 26rpx;
  526. height: 34rpx;
  527. }
  528. }
  529. }
  530. .halving {
  531. width: 2rpx;
  532. height: 80rpx;
  533. background: #fff;
  534. }
  535. }
  536. }
  537. }
  538. }
  539. .venue-list {
  540. .item {
  541. background: #fff;
  542. border-radius: 20rpx;
  543. padding: 30rpx;
  544. margin-top: 20rpx;
  545. .top-info {
  546. .avatar {
  547. width: 100rpx;
  548. height: 100rpx;
  549. border-radius: 10rpx;
  550. background: #f1f1f1;
  551. image {
  552. width: 100rpx;
  553. height: 100rpx;
  554. border-radius: 10rpx;
  555. }
  556. }
  557. .info {
  558. width: calc(100% - 120rpx);
  559. margin-left: 20rpx;
  560. .title {
  561. color: #081734;
  562. font-size: 34rpx;
  563. font-weight: bold;
  564. }
  565. .time {
  566. font-size: 22rpx;
  567. color: #666666;
  568. image {
  569. width: 30rpx;
  570. height: 28rpx;
  571. margin-right: 8rpx;
  572. }
  573. margin-top: 20rpx;
  574. }
  575. }
  576. }
  577. .yinfo {
  578. padding: 40rpx 0;
  579. .y-time {
  580. color: #666666;
  581. font-size: 26rpx;
  582. text {
  583. color: #081734;
  584. }
  585. }
  586. border-bottom: 1px solid #f1f1f1;
  587. }
  588. .yfoot {
  589. padding-top: 10px;
  590. .time1 {
  591. font-size: 14px;
  592. }
  593. .sbtn {
  594. background: #d13737;
  595. color: #fff;
  596. font-size: 14px;
  597. border-radius: 20rpx;
  598. padding: 4px 10px;
  599. }
  600. .sbtn-no {
  601. background: #f1f1f1;
  602. color: #787878;
  603. font-size: 14px;
  604. border-radius: 20rpx;
  605. padding: 4px 10px
  606. }
  607. }
  608. }
  609. }
  610. .user-bann {
  611. .tips {
  612. font-size: 14px;
  613. color: #787878;
  614. }
  615. .btn {
  616. background: $ic-appcolor;
  617. font-size: 14px;
  618. color: #fff;
  619. width: 160px;
  620. border-radius: 20px;
  621. height: 40px;
  622. text-align: center;
  623. line-height: 40px;
  624. }
  625. }
  626. /**弹出框 **/
  627. .popwin {
  628. position: fixed;
  629. width: 100%;
  630. height: 100%;
  631. top: 0;
  632. left: 0;
  633. z-index: 88;
  634. }
  635. .popwin .bg {
  636. background: rgba(0, 0, 0, 0.5);
  637. height: 100%;
  638. width: 100%;
  639. position: absolute;
  640. left: 0;
  641. top: 0;
  642. }
  643. .popwin .body {
  644. padding: 20px;
  645. width: 80%;
  646. background: #fff;
  647. position: relative;
  648. border-radius: 8px;
  649. }
  650. .max-he {
  651. height: 60vh;
  652. }
  653. .popwin .btn {
  654. margin-top: 6px;
  655. border-radius: 4px;
  656. background: #dc262b;
  657. font-size: 14px;
  658. color: #fff;
  659. width: 100px;
  660. text-align: center;
  661. padding: 6px 2px;
  662. }
  663. .popwin .btn.no {
  664. background: #f1f1f1;
  665. color: #ccc
  666. }
  667. .booking {
  668. .booking-content {
  669. font-size: 26px;
  670. padding: 10px 0;
  671. text {
  672. color: #d13737;
  673. }
  674. }
  675. .foot {
  676. padding: 20rpx 0;
  677. .btn {
  678. height: 40px;
  679. background: #dc262b;
  680. border-radius: 5px;
  681. font-size: 14px;
  682. color: #fff;
  683. text-align: center;
  684. line-height: 40px;
  685. width: 30vw;
  686. margin-right: 4vw;
  687. }
  688. .nbtn {
  689. height: 40px;
  690. border: 1px solid #dc262b;
  691. border-radius: 5px;
  692. font-size: 14px;
  693. color: #dc262b;
  694. text-align: center;
  695. line-height: 40px;
  696. width: 30vw;
  697. margin-left: 4vw;
  698. }
  699. }
  700. }
  701. </style>