index.vue 22 KB
Newer Older
李嘉林 committed
1 2
<template>
  <!-- 支付成功页 -->
3
  <div class="paySuccess" v-if="showPage" :style="{'--main-color':themeColor['--main-color'],'--minor-color':themeColor['--minor-color']}">
李嘉林 committed
4
    <ThemeDataPlant :pageCode="11"></ThemeDataPlant>
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
    <PayElectronCard v-if="orderDetail.orderType==15" :orderDetail="orderDetail"></PayElectronCard>
    <div v-else>
      <div style="margin-top: 60px;"></div>
      <div v-for="(item, index) in pageData" :key="index">
        <!-- 其他组件 -->
        <div
          v-if="item.componentCode == 'text-text' && item.componentInfo.visible == 1"
        >
          <text-text :datas="item"></text-text>
        </div>
        <div
          v-if="item.componentCode == 'rich-text' && item.componentInfo.visible == 1"
        >
          <rich-text :datas="item"></rich-text>
        </div>
        <div
          v-if="item.componentCode == 'photo-gallery' &&item.componentInfo.visible == 1"
        >
          <photo-gallery :datas="item"></photo-gallery>
        </div>
        <div
          v-if="item.componentCode == 'interval' && item.componentInfo.visible == 1"
        >
          <interval :datas="item"></interval>
        </div>
        <div
          v-if="item.componentCode == 'partition' && item.componentInfo.visible == 1"
        >
          <partition :datas="item"></partition>
        </div>
        <div
          v-if="item.componentCode == 'notice' && item.componentInfo.visible == 1"
        >
          <notice :datas="item"></notice>
        </div>
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
        <!-- 营销组件 -->
        <div v-if="item.componentCode == 'coupon' && item.componentInfo.visible == 1">
          <coupon :datas="item"></coupon>
        </div>
        <div v-if="item.componentCode == 'time-limited-discount' && item.componentInfo.visible == 1">
          <time-limited-discount :class="'time-limited-discount'+index" :datas="item" :k="index"></time-limited-discount>
        </div>
        <div v-if="item.componentCode == 'integral-turntable' && item.componentInfo.visible == 1">
          <integralTurntable :datas="item"></integralTurntable>
        </div>
        <div v-if="item.componentCode == 'live-broadcast' && item.componentInfo.visible == 1">
          <live-broadcast :datas="item"></live-broadcast>
        </div>
        <div v-if="item.componentCode == 'spell-group' && item.componentInfo.visible == 1">
          <spell-group :datas="item"></spell-group>
        </div>
        <div v-if="item.componentCode == 'official-account' && item.componentInfo.visible == 1">
          <official-account></official-account>
        </div>
59 60 61 62 63 64 65 66
        <pay-success-info
          v-if="item.componentCode=='pay-success-info'  && item.componentInfo.visible==1"
          :render="true"
          :datas="item"
          :giftsKey="giftsKey"
          :routeQuery="routeQuery"
          :orderDetail="orderDetail"
          :totalMoney="totalMoney"
李嘉林 committed
67 68
          :whetherOpenEnterprisesWantGoods="whetherOpenEnterprisesWantGoods"
          :whetherOpenApproval="whetherOpenApproval"
69
        />
李嘉林 committed
70 71
      </div>
    </div>
72
    <automati-Card :showReceiveCard="showReceiveCard" @closeHandle="closeHandle" :cardInfo="cardInfo"></automati-Card>
李嘉林 committed
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
    <!-- 分销员弹框入口 -->
    <van-popup
      class="spokemanEntry"
      closeable
      :show="showspokmanEntry"
      position="center"
      :close-on-click-overlay="false"
      close-icon="close"
      @close="closeSpokenman"
    >
      <!-- <div class="ent_box"> -->
      <div class="ent-top">
        <p style="font-size:45px;color:rgba(83,37,26,1);">恭喜</p>
        <p style="font-size:16px;color:rgba(83,37,26,1);">您获得分销员申请指标</p>
        <p style="font-size:11px;color:#53251A;">提示:可以在【我的】-【分销员中心】查看</p>
      </div>
      <div style="width:100%;display:flex;justify-content: center;">
        <p class="reviwBtn" @click="toSpokesmanCenter">立即查看</p>
      </div>
      <p class="ignore" @click="showspokmanEntry=false">跳过</p>
      <!-- </div> -->
    </van-popup>
李嘉林 committed
95 96 97 98
  </div>
</template>

<script type="text/ecmascript-6">
李嘉林 committed
99 100
import shop from "@/api/shop";
import order from "@/api/order";
101
import promote from "@/api/promote";
李嘉林 committed
102 103 104
import spokesman from "@/api/spokesman";
import { getMiniProgram, query_isEntry } from "@/utils/mayi_fenxiao";
import { serialize } from "@/utils/index";
105
import { checkTabbarPage, checkShowConditionIds, themeColor } from "@/utils/mayi";
李嘉林 committed
106 107 108 109
import ThemeDataPlant from "@/components/ThemeDataPlant";
import paySuccessInfo from "@/components/paySuccess/paySuccessInfo";
import PayElectronCard from "@/components/paySuccess/PayElectronCard";
import automatiCard from "@/components/paySuccess/automatiCard";
李嘉林 committed
110
import text from "@/components/content/text";
李嘉林 committed
111
import richText from "@/components/basicTool/rich-text";
李嘉林 committed
112 113
import interval from "@/components/basicTool/interval/index.vue";
import partition from "@/components/basicTool/partition/index.vue";
114 115 116
import coupon from '@/components/activity/coupon'
import integralTurntable from '@/components/activity/integralTurntable'
import spellGroup from '@/components/activity/spellGroup'
李嘉林 committed
117
import tool from '@/utils/tool.js'
李嘉林 committed
118 119
const app = getApp();
const { log } = app;
李嘉林 committed
120 121 122
export default {
  name: "",
  data() {
李嘉林 committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
    return {
      query: {
        orderSn: "",
      },
      routeQuery: {},
      title: "",
      inviteelShow: false,
      isGroupBuy: false, //是否是拼团订单
      totalMoney: 0,
      orderDetail: {},
      showGuide: false,
      showspokmanEntry: false, //分销员弹框
      goodsId: "",
      orderId: "",
      orgName: "",
      splitStatus: "0", //拆单状态(0:未拆单;1:已拆单)已拆单时付款后跳订单列表
      giftsKey: 0,
      showReceiveCard: false,
      cardInfo: {},
      cardTime: null,
      cardnum: 0,
      pageInfo: {},
      pageData: {},
      showPage: false,
147 148 149 150 151 152
      systemInfo : {},
      tabbarHeight : 0,
      themeColor:{
        '--main-color':"",
        '--minor-color':"",
      },
李嘉林 committed
153 154 155 156 157 158 159 160 161
    };
  },
  components: {
    ThemeDataPlant,
    "text-text": text,
    "rich-text": richText,
    interval,
    partition,
    paySuccessInfo,
162
    PayElectronCard,
163 164 165 166
    automatiCard,
    coupon,
    integralTurntable,
    spellGroup,
李嘉林 committed
167
  },
李嘉林 committed
168 169 170
  computed: {
    // 是否开启企业要货
    whetherOpenEnterprisesWantGoods() {
171 172 173
      let { shopInfo } = this.mpApp.globalData;
      let whetherOpenEnterprisesWantGoods = shopInfo ? shopInfo.whetherOpenEnterprisesWantGoods : 0
      return whetherOpenEnterprisesWantGoods;
李嘉林 committed
174 175 176
    },
    // 是否开启待审核
    whetherOpenApproval() {
177 178
      let whetherOpenApproval = this.mpApp.shop_configuration ? this.mpApp.shop_configuration.whetherOpenApproval : 0;
      return whetherOpenApproval;
李嘉林 committed
179 180
    },
  },
李嘉林 committed
181 182 183 184 185
  onLoad(options) {
    console.log(options, "--paySuccess-onLoad");
    this.query.orderSn = options.orderSn;
    this.routeQuery = options;
    this.orderMsg();
李嘉林 committed
186
    this.setGiftsKey(); //设置码表
187
    this.getIsReceiveGift()
李嘉林 committed
188 189 190 191 192 193 194 195 196 197 198 199 200
    // 获取页面数据
    if (this.mpApp.globalData.pageList) {
      console.log(
        this.mpApp.globalData.pageList,
        "-----------------this.mpApp.globalData.pageList"
      );
      this.init(this.mpApp.globalData.pageList);
    } else {
      this.mpApp.pageCallBack = (params) => {
        console.log(params, "-----------------this.mpApp.globalData.pageList");
        that.init(params);
      };
    }
201 202 203 204 205 206 207 208 209 210 211 212 213
    this.systemInfo = wx.getSystemInfoSync()
    console.log(this.systemInfo,'-----------systemInfo')
    let menuButtonInfo = wx.getMenuButtonBoundingClientRect()
    console.log(menuButtonInfo,'menuButtonInfo')
    this.tabbarHeight = (menuButtonInfo.top - this.systemInfo.statusBarHeight) * 2 + menuButtonInfo.height + this.systemInfo.statusBarHeight
    console.log(this.tabbarHeight,'-----------tabbarHeight')
    if(themeColor['--main-color']!='#ffffff'){
      this.themeColor = themeColor
    }else {
      this.mpApp.themeColorCallBack=(res)=>{
        this.themeColor = res
      }
    }
李嘉林 committed
214 215 216 217
  },
  onShow() {
    console.log("--paySuccess-onShow");
  },
218 219 220 221 222
  // 滚动节流方法
  onPageScroll: tool.throttle(function (el) {
  console.log(el,'--onPageScroll');
  this.scrolls(el[0])
  },200),
李嘉林 committed
223
  methods: {
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
    scrolls(el){
      // this.setFooterShow(el);
      if (this.pageData) {
        for (let i = 0; i < this.pageData.length; i++) {
          const element = this.pageData[i]
          if(element.componentCode=="time-limited-discount"){
            let com=this.$mp.page.selectComponent(".time-limited-discount"+i) ;
            com && com.getScroll(el);
          }
          if(element.componentCode=="goods-list"){
            let com=this.$mp.page.selectComponent(".goodsListItem"+i) ;
            com && com.getScroll(el);
          }
          if(element.componentCode=="merchants-list"){
            let com=this.$mp.page.selectComponent(".merchants-list"+i) ;
            com && com.getScroll(el);
          }
          if(element.componentCode=="video-player"){
            console.log("视频组件滚动")
            let com=this.$mp.page.selectComponent(".VideoPlayer"+i);
            console.log(com,i,'--com')
            com && com.getScroll(el);
          }

        }
      }

      if(this.$mp.page && this.$mp.page.selectComponent(".getIndexHomePage")){
        this.$mp.page.selectComponent(".getIndexHomePage").getScroll(el);
      }
      if(this.$mp.page && this.$mp.page.selectComponent(".goodsListItem")){
        this.$mp.page.selectComponent(".goodsListItem").getScroll(el);
      }
      if(this.$mp.page && this.$mp.page.selectAllComponents(".transverse-label-goodsListItem")){
        this.$mp.page.selectAllComponents(".transverse-label-goodsListItem").forEach(item=>{
          console.log(item,'-this.$mp.page.selectComponent(".goodsListItem")')
          item.getScroll(el)
        })
      }
    },
李嘉林 committed
264 265 266 267 268 269 270
    orderMsg() {
      order.orderDetail(this.query).then(res1 => {
        let res = res1.data;
        if (res.code == 200) {
          console.log("----------------------------------2")
          if(res.data.orderType == '14') {
            this.isGroupBuy = true;
李嘉林 committed
271 272 273 274
            let url = `/pages/index/main?from=home&backpath=${encodeURIComponent(`/groupBuying/invite?orderSn=${this.query.orderSn}&isReplace=true`)}`
            wx.redirectTo({
              url,
            });
李嘉林 committed
275 276 277
            this.title = "拼团详情"
          }else {
            this.title = "支付成功"
278
            this.showPage = true;
李嘉林 committed
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
          }
          this.splitStatus=res.data.splitStatus;
          this.orderId = res.data.orderId;
          this.orgName = res.data.orgName;
          if(res.data.noShipmentOrderItems&&res.data.noShipmentOrderItems.length) {
            this.goodsId =
              res.data.noShipmentOrderItems[0].terminalProductGoodsId;
          }

          //查询是否是分销员
          getMiniProgram().then(res1 => {
            console.log(res1,'---------------------------res1143')
            let res = res1.data;
            if (
              res.code == "200" &&
              (!res.data || res.data.spokesmanFlag !== "1")
            ) {
              query_isEntry().then(res1 => {
                let res = res1.data;
              if (
                res.code == "200" &&
                res.data &&
                res.data != "null" &&
                res.data != "false"
              ) {
                if (res.data.displayEntry == 'true'&&res.data.remind == "true") {
                  //查询是否达标
                  spokesman.subordinateSpokesmanProfit(res.data.distributionModel).then(res1 => {
                    let res = res1.data;
                    if (
                      res.code == "200" &&
                      res.data &&
                      res.data.thresholdToStandard == "1"
                    ) {
                      this.showspokmanEntry = true;
                    }
                  });
                } else {
                  this.showspokmanEntry = false;
                }
              }
            });
            }
          });
          this.orderDetail = res.data;
          if (
            this.orderDetail.orderType == 5
          ) {
            this.initWxShare();
          }
          this.totalMoney = Number(res.data.totalAmountPayable).toFixed(2);
          console.log(Number(res.data.totalAmountPayable).toFixed(2),'--Number(res.data.totalAmountPayable).toFixed(2)')
          this.inviteelShow = true;
        }else {
          this.inviteelShow = true;
        }
      });
    },
李嘉林 committed
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360
    setGiftsKey() {
      shop.get_system_config_by_code({code:'GIFTS_KEY'}).then(res1 => {
        let res = res1.data;
        if(res.code == '200'){
          this.giftsKey = res.data;
          console.log(this.giftsKey,'-----giftsKey')
        }
      })
    },
    closeSpokenman() {
      this.quitWarn();
    },
    quitWarn() {
      apply_for_withdraw({type:'remindFlag'}).then(res => {
        if (res.data.data == "true") {
        }
      });
    },
    toSpokesmanCenter() {
      let url = `/pages/index/main?from=home&backpath=${encodeURIComponent(`/personalCenter/spokesmanCenter`)}`
       wx.redirectTo({
        url,
      });
    },
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
    getIsReceiveGift(){
      this.cardTime =  setInterval(() => {
        if(this.cardnum >5){
          clearInterval(this.cardTime);
        }
        promote.queryisReceiveGift().then(res1 =>{
          let res = res1.data;
          if(res.code == 200){
            this.cardnum++;
              console.log(res.data,'parmas=====')
              if(res.data){
                clearInterval(this.cardTime);
                if(res.data.receiveStatus == 1 && res.data.cardGiftGoods && res.data.cardGiftGoods.length>0){
                  this.showReceiveCard = true;
                  this.cardInfo = res.data;
                }
              }
          } else {
            clearInterval(this.cardTime);
          }
        })
      }, 2000);
    },
    closeHandle(){
      this.showReceiveCard = false;
    },
李嘉林 committed
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
    async initWxShare() {
      return
      let this_ = this;
      console.log(this.$store.state.spokemanInfo,'分销员信息---=====');
      let spokesmanRelId;
      let spokesmanGroupId;
      let spokesmanShopId
      let spokemanInfo=this.$store.state.spokemanInfo;
      if (spokemanInfo) {
        if (spokemanInfo.hasInvitationStatus == 1) {
          spokesmanRelId=spokemanInfo.spokesmanId;
          spokesmanGroupId=spokemanInfo.groupId;
          spokesmanShopId=spokemanInfo.shopId;
        }
      }

      console.log(spokesmanRelId,'分销员信息---=====',spokesmanGroupId,spokesmanShopId);
      let newWindowHref = '';
       if(getTokenmu() && spokesmanRelId){
李嘉林 committed
406
        newWindowHref = `${process.env.BASE_URL}/activty/receivingGift?mixid=${this.$route.query.mixid}&orderId=${this.orderDetail.orderId}&spokesmanGroupId=${spokesmanGroupId}&spokesmanShopId=${spokesmanShopId}&spokesmanRelId=${spokesmanRelId}&userId=${getTokenmu()}`;
李嘉林 committed
407
      }else {
李嘉林 committed
408
        newWindowHref = `${process.env.BASE_URL}/activty/receivingGift?mixid=${this.$route.query.mixid}&orderId=${this.orderDetail.orderId}&userId=${getTokenmu()}`;
李嘉林 committed
409 410 411 412 413 414 415 416 417 418 419 420
      }

      let shareImgUrl = DFSImg(
        this.orderDetail.noShipmentOrderItems[0].specificationPictureUrl,
        500,
        400
      );
      let orgName = this.orderDetail.orgName;
      let shareData="";
      await shop.indexWxShare({storeRouterUrl : '/activty/receivingGift'}).then(res => {
        if(res.code == 200){
          shareData = res.data
李嘉林 committed
421 422
        }
      })
李嘉林 committed
423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
      let shareText=shareData&&shareData.shareText?shareData.shareText:'我选了一份小礼物送你,赶紧收下吧!免费的哦~';
      this.$customShare.customShare(
        shareText,
        newWindowHref,
        '',
        DFSImg('https://mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/png/b9f3fdd1-513f-46df-aed2-7f42330beaca.png',500,460),
        this.$store.state.wechatSignUrl
      )
    },
    init() {
      console.log("----------------------207");
      this.setVisible(this.mpApp.globalData.pageList, (res) => {
        console.log(res,'-----------------------res120')
        this.pageInfo = res;
        this.pageData = JSON.parse(this.pageInfo.pageData);
        console.log(this.pageData, "----------pageData");
      });
    },
    async setVisible(pageList, cb) {
      // 首页显示条件
      let pageInfo = pageList.filter((item) => item.pageCode == 11)[0];
      console.log(pageInfo, "-----------pageInfo");
      let pageData = JSON.parse(pageInfo.pageData);
      // 查询显示条件id
      let showConditionIds = checkShowConditionIds(pageData);
      // 查询可显示的条件
      let { data: ids, isAreaNavigation } = await this.checkCondition(
        showConditionIds
      );
      console.log(ids,'--------------showConditionIds')
      // 没有定位组件
      // if (!isAreaNavigation) {
      //   cb()
      //   return
      // }
      // 设置visible
      pageInfo.pageData = this.updateCondition(pageData, ids);
      log.info(showConditionIds, "--------------5454", ids, pageInfo);
      cb(pageInfo);
    },
    checkCondition({ allCondition }) {
      console.log('---checkCondition')
      return new Promise((resolve, reject) => {
        // 获取
        let params = { showConditionIds: allCondition, region: "" };
        shop
          .checkShowCondition(params)
          .then((res) => {
            console.log('-------------------157')
            log.info(params, "check显示条件", res.data);
            if (res.data.code == 200) {
              resolve(res.data);
            }
          })
          .catch((err) => {
            log.info("check显示条件失败", err);
          });
      });
    },
    updateCondition(pageData, ids) {
      pageData.forEach((item) => {
        pollCondition(item);
      });
      function pollCondition(data) {
        if (Object.prototype.toString.call(data) === "[object Object]") {
          if (
            data.visible &&
            data.visible > 1 &&
            data.visibleCopy == undefined
          ) {
            data.visibleCopy = data.visible;
            console.log(data.visibleCopy, "--data.visibleCopy");
          }
          if (
            (data.visibleCopy == 2 && wx.getStorageSync("sessionid")) ||
            (data.visibleCopy == 3 && !wx.getStorageSync("sessionid"))
          ) {
            data.visible = 1;
          } else if (
            (data.visibleCopy == 2 && !wx.getStorageSync("sessionid")) ||
            (data.visibleCopy == 3 && wx.getStorageSync("sessionid"))
          ) {
            data.visible = 0;
          } else {
            if (data.condition != "" && data.condition != undefined) {
              data.visible = ids.some((item) => {
                return item == data.condition;
              })
                ? 1
                : 0;
            }
          }
          for (const key in data) {
            if (data.hasOwnProperty(key)) {
              const element = data[key];
              if (
                Object.prototype.toString.call(element) === "[object Object]"
              ) {
                if (
                  element.visible &&
                  element.visible > 1 &&
                  element.visibleCopy == undefined
                ) {
                  element.visibleCopy = element.visible;
                }
                if (
                  (element.visibleCopy == 2 &&
                    wx.getStorageSync("sessionid")) ||
                  (element.visibleCopy == 3 && !wx.getStorageSync("sessionid"))
                ) {
                  element.visible = 1;
                } else if (
                  (element.visibleCopy == 2 &&
                    !wx.getStorageSync("sessionid")) ||
                  (element.visibleCopy == 3 && wx.getStorageSync("sessionid"))
                ) {
                  element.visible = 0;
                } else {
                  if (
                    element.condition != "" &&
                    element.condition != undefined
                  ) {
                    console.log("979797", element.condition);
                    element.visible = ids.some((item) => {
                      return item == element.condition;
                    })
                      ? 1
                      : 0;
                  }
                }
                pollCondition(element);
              } else if (
                Object.prototype.toString.call(element) === "[object Array]" &&
                element.length > 0
              ) {
                element.forEach((item) => {
                  pollCondition(item);
                });
              }
            }
          }
        }
      }

      return JSON.stringify(pageData);
    },
李嘉林 committed
569 570 571 572 573
  },
};
</script>

<style lang="scss" scoped>
李嘉林 committed
574
.paySuccess {
575 576
  position: relative;
  width: 100vw;
577
  height: auto;
578 579 580 581 582 583 584 585 586 587 588 589 590 591 592
  .tabbar{
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-left: 12px;
    .tab-back{
      /deep/.van-icon-arrow-left{
        font-size: 22px;
      }
    }
  }
李嘉林 committed
593
}
李嘉林 committed
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653
.spokemanEntry {
  /deep/.van-popup{
    width: 85%!important;
    height: 50%!important;
    // padding:12px;
    border-radius: 3px;
    background: url("http://mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/png/d6c8ce5a-574b-4191-81ea-843d15a30b68.png") no-repeat!important;
    background-size: 100% 100%!important;
    padding-left: 38px!important;
    padding-top: 50px!important;
    padding-right: 38px!important;

    // height: 100px;
    .ent-top {
      // background:#DFDFDF;
      // height: 150px;
      // padding:45px 0;
      p {
        // text-align: center;
        line-height: 30px;
      }
      p:nth-child(1) {
        text-align: left;
      }
      p:nth-child(2) {
        margin-top: 17px;
        margin-bottom: 55px;
      }
    }
    .reviwBtn {
      width: 200px;
      height: 44px;
      // background: var(--main-color);
      background: linear-gradient(
        -90deg,
        rgba(83, 37, 26, 1) 0%,
        rgba(130, 71, 56, 1) 100%
      );
      border-radius: 25px;
      font-size: 14px;
      // color:#fff;
      color: #fff;
      margin-top: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      // margin-left:45px;
    }
    .ignore {
      // color:var(--minor-color);
      color: #53251a;
      font-size: 12px;
      text-align: center;
      margin-top: 20px;
    }
    p {
      // text-align:center;
    } 
  }
}
李嘉林 committed
654
</style>