createBigWheelActive.vue 21 KB
Newer Older
xd's avatar
xd committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<template>
  <div class="container">
    <div class="title">基础设置</div>
    <van-cell-group class="all">
      <van-cell title="活动标题" style="font-size:14px;">
        <template slot="default">
          <van-field
            v-model="basicInfo.title"
            placeholder="请输入活动标题"
            class="right"
            style="font-size:14px;"
          />
        </template>
      </van-cell>
      <van-cell title="活动开始时间" style="font-size:14px;">
        <template slot="default">
xd's avatar
xd committed
17 18 19 20
          <div class="nobr">
            <van-field
              class="right"
              v-model="basicInfo.startTime1"
xd's avatar
xd committed
21
              placeholder="请选择开始时间"
xd's avatar
xd committed
22 23
              readonly="readonly"
              @click="basicInfo.startShow = true"
xd's avatar
xd committed
24
            />
xd's avatar
xd committed
25 26 27 28 29 30 31 32
            <van-popup
              v-model="basicInfo.startShow"
              position="bottom"
              :overlay="true"
            >
              <van-datetime-picker
                v-model="basicInfo.startTime"
                type="date"
xd's avatar
xd committed
33
                @cancel="basicInfo.startShow = false"
xd's avatar
xd committed
34
                @confirm="handleBasicSTime"
xd's avatar
xd committed
35 36 37 38
                @change="startTimeChange"
              />
            </van-popup>
          </div>
xd's avatar
xd committed
39 40 41 42
        </template>
      </van-cell>
      <van-cell title="活动结束时间" style="font-size:14px;">
        <template slot="default">
xd's avatar
xd committed
43 44 45 46
          <div class="jpsl">
            <van-field
              class="right"
              v-model="basicInfo.endTime1"
xd's avatar
xd committed
47
              placeholder="请选择结束时间"
xd's avatar
xd committed
48 49
              readonly="readonly"
              @click="basicInfo.endShow = true"
xd's avatar
xd committed
50
            />
xd's avatar
xd committed
51 52 53 54 55 56 57 58 59
            <van-popup
              v-model="basicInfo.endShow"
              position="bottom"
              :overlay="true"
            >
              <van-datetime-picker
                v-model="basicInfo.endTime"
                type="date"
                @cancel="basicInfo.endShow = false"
xd's avatar
xd committed
60
                @confirm="handleBasicETime"
xd's avatar
xd committed
61 62 63 64
                @change="endTimeChange"
              />
            </van-popup>
          </div>
xd's avatar
xd committed
65 66 67 68
        </template>
      </van-cell>
      <van-cell title="领券条件" style="font-size:14px;">
        <template slot="default">
xd's avatar
xd committed
69 70 71 72
          <div class="condition">
            <span class="phone">手机号必填</span>
            <van-switch v-model="condition" size="20px" />
          </div>
xd's avatar
xd committed
73 74 75 76 77 78 79 80 81 82 83
        </template>
      </van-cell>
    </van-cell-group>
    <div class="title">抽奖设置</div>
    <van-cell-group class="all">
      <van-cell style="font-size:14px;" center class="cs">
        <template slot="title">
          <span class="custom-title">每天抽奖</span>
          <span class="small">(单人最多可抽奖次数)</span>
        </template>
        <template slot="default">
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
          <div class="jpsl">
            <van-field
              class="right noborder"
              readonly
              clickable
              :value="LuckyDraw.number"
              placeholder="请输入次数"
              @touchstart.native.stop="LuckyDraw.show = true"
            />
            <van-number-keyboard
              v-model="LuckyDraw.number"
              :show="LuckyDraw.show"
              @blur="LuckyDraw.show = false"
            />
          </div>
xd's avatar
xd committed
99 100 101 102 103 104 105 106
        </template>
      </van-cell>
      <van-cell style="font-size:14px;" class="cs">
        <template slot="title">
          <span class="custom-title">最多中奖</span>
          <span class="small">(单人最多可中奖次数)</span>
        </template>
        <template slot="default">
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
          <div class="jpsl">
            <van-field
              class="right noborder"
              readonly
              clickable
              :value="LuckyDraw.winningNumber"
              placeholder="请输入次数"
              @touchstart.native.stop="LuckyDraw.show2 = true"
            />
            <van-number-keyboard
              v-model="LuckyDraw.winningNumber"
              :show="LuckyDraw.show2"
              @blur="LuckyDraw.show2 = false"
            />
          </div>
xd's avatar
xd committed
122 123 124 125 126 127 128
        </template>
      </van-cell>
      <van-cell style="font-size:14px;" class="cs gl">
        <template slot="title">
          <span class="custom-title">中奖概率</span>
        </template>
        <template slot="default">
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
          <div class="jpsl">
            <van-field
              class="right noborder"
              readonly
              clickable
              :value="LuckyDraw.probability"
              @touchstart.native.stop="LuckyDraw.show3 = true"
            />
            <span class="bfb">%</span>
            <van-number-keyboard
              v-model="LuckyDraw.probability"
              :show="LuckyDraw.show3"
              @blur="LuckyDraw.show3 = false"
            />
          </div>
xd's avatar
xd committed
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
        </template>
      </van-cell>
      <van-cell style="font-size:14px;" class="task">
        <template slot="title">
          <span class="custom-title">做任务奖次数</span>
          <div style="font-size:10px;">
            (开启后提醒顾客领取任务,如发朋友圈、加好友等,增加抽奖次数)
          </div>
        </template>
        <template slot="default">
          <van-switch v-model="LuckyDraw.quantity" size="20px" class="right" />
        </template>
      </van-cell>
      <van-cell style="font-size:14px;" class="cs">
        <template slot="title">
          <span class="custom-title">增加次数</span>
          <span class="small">(点击“增加次数”按钮增加几次次数)</span>
        </template>
        <template slot="default">
xd's avatar
xd committed
163
          <div class="jpsl">
164 165 166 167
            <van-field
              class="right noborder"
              readonly
              clickable
xd's avatar
xd committed
168
              :value="LuckyDraw.addNumber"
169
              placeholder="请输入次数"
xd's avatar
xd committed
170
              @touchstart.native.stop="LuckyDraw.show3 = true"
171 172
            />
            <van-number-keyboard
xd's avatar
xd committed
173 174 175
              v-model="LuckyDraw.addNumber"
              :show="LuckyDraw.show3"
              @blur="LuckyDraw.show3 = false"
176 177
            />
          </div>
xd's avatar
xd committed
178 179 180 181
        </template>
      </van-cell>
    </van-cell-group>
    <div class="title">奖品设置</div>
xd's avatar
xd committed
182 183 184 185 186
    <van-cell-group
      class="all sz"
      v-for="(list, index) in prizeList"
      :key="index"
    >
187 188 189 190 191 192 193
      <van-icon
        v-if="prizeList.length > 1"
        name="close"
        size="20"
        class="close"
        @click="removePrice(index)"
      />
xd's avatar
xd committed
194 195 196 197 198
      <van-cell center>
        <template slot="title">
          <span class="custom-title">奖项名称</span>
        </template>
        <template slot="default">
199
          <van-field
xd's avatar
xd committed
200 201 202 203 204
            class="right"
            v-model="prizeList[index].name"
            placeholder="请输入奖项名称"
          />
        </template>
xd's avatar
xd committed
205
      </van-cell>
xd's avatar
xd committed
206 207 208 209 210
      <div class="yhType">
        <div class="yhbr">
          <div class="top">
            <span style="color:#2d476a;">优惠券类型</span>
            <van-radio-group v-model="prizeList[index].type" class="right">
xd's avatar
xd committed
211 212 213
              <van-radio name="1" style="float:left;margin-right:10px;"
                >代金券</van-radio
              >
xd's avatar
xd committed
214 215 216 217
              <van-radio name="2" style="float:right;">折扣券</van-radio>
            </van-radio-group>
          </div>
          <div class="mj">
xd's avatar
xd committed
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
            <div class="l-yh"> 
              <div class="je">
                <van-field
                  class="tm"
                  readonly
                  clickable
                  :value="prizeList[index].discountsMoney"
                  @touchstart.native.stop="
                    prizeList[index].discountsShow = true
                  "
                  placeholder="输入金额"
                />
                <van-number-keyboard
                  v-model="prizeList[index].discountsMoney"
                  :show="prizeList[index].discountsShow"
                  @blur="prizeList[index].discountsShow = false"
                />
              </div>
              <span class="word">元优惠</span>
xd's avatar
xd committed
237
            </div>
xd's avatar
xd committed
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
            <div class="r-yh">
              <van-checkbox v-model="prizeList[index].full"></van-checkbox>

              <span class="word"></span>
              <div class="je">
                <van-field
                  class="tm"
                  readonly
                  clickable
                  :value="prizeList[index].fullMoney"
                  @touchstart.native.stop="prizeList[index].fullShow = true"
                  placeholder="输入金额"
                />
                <van-number-keyboard
                  v-model="prizeList[index].fullMoney"
                  :show="prizeList[index].fullShow"
                  @blur="prizeList[index].fullShow = false"
                />
              </div>
              <span class="word end">元可用</span>
xd's avatar
xd committed
258 259 260 261 262
            </div>
          </div>
        </div>
      </div>

xd's avatar
xd committed
263 264
      <van-cell title="开始时间" style="font-size:14px;">
        <template slot="default">
xd's avatar
xd committed
265
          <div class="jpsl">
xd's avatar
xd committed
266 267 268 269 270 271
            <van-field
              class="right"
              v-model="prizeList[index].startTime1"
              placeholder="选择活动开始时间"
              readonly="readonly"
              @click="prizeList[index].startShow = true"
xd's avatar
xd committed
272
            />
xd's avatar
xd committed
273 274 275 276 277 278 279 280 281
            <van-popup
              v-model="prizeList[index].startShow"
              position="bottom"
              :overlay="true"
            >
              <van-datetime-picker
                v-model="prizeList[index].startTime"
                type="date"
                @cancel="prizeList[index].startShow = false"
xd's avatar
xd committed
282
                @confirm="handleStartTime(prizeList[index].startTime,index)"
xd's avatar
xd committed
283 284 285
                @change="startTimeChange2(prizeList[index].startTime, index)"
              />
            </van-popup>
xd's avatar
xd committed
286
          </div>
xd's avatar
xd committed
287 288 289 290
        </template>
      </van-cell>
      <van-cell title="结束时间" style="font-size:14px;">
        <template slot="default">
xd's avatar
xd committed
291
          <div class="jpsl">
xd's avatar
xd committed
292 293 294 295 296 297
            <van-field
              class="right"
              v-model="prizeList[index].endTime1"
              placeholder="选择活动结束时间"
              readonly="readonly"
              @click="prizeList[index].endShow = true"
xd's avatar
xd committed
298
            />
xd's avatar
xd committed
299 300 301 302 303 304 305 306 307
            <van-popup
              v-model="prizeList[index].endShow"
              position="bottom"
              :overlay="true"
            >
              <van-datetime-picker
                v-model="prizeList[index].endTime"
                type="date"
                @cancel="prizeList[index].endShow = false"
xd's avatar
xd committed
308
                @confirm="handleEndTime(prizeList[index].endTime,index)"
xd's avatar
xd committed
309 310 311
                @change="endTimeChange2(prizeList[index].endTime, index)"
              />
            </van-popup>
xd's avatar
xd committed
312
          </div>
xd's avatar
xd committed
313 314 315 316
        </template>
      </van-cell>
      <van-cell title="奖品数量" style="font-size:14px;">
        <template slot="default">
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
          <div class="jpsl">
            <van-field
              class="right noborder"
              readonly
              clickable
              :value="prizeList[index].prize"
              placeholder="请输入数量"
              @touchstart.native.stop="prizeList[index].prizeShow = true"
            />
            <van-number-keyboard
              v-model="prizeList[index].prize"
              :show="prizeList[index].prizeShow"
              :maxlength="6"
              @blur="prizeList[index].prizeShow = false"
            />
          </div>
xd's avatar
xd committed
333 334 335 336 337 338 339
        </template>
      </van-cell>
      <van-cell style="font-size:14px;" center class="cs">
        <template slot="title">
          <span class="custom-title">每日上限</span>
          <span class="small">(此奖项每天最多可抽中的数量)</span>
        </template>
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356
        <div class="jpsl">
          <template slot="default">
            <van-field
              class="right noborder"
              readonly
              clickable
              :value="prizeList[index].limit"
              placeholder="请输入次数"
              @touchstart.native.stop="prizeList[index].limitShow = true"
            />
            <van-number-keyboard
              v-model="prizeList[index].limit"
              :show="prizeList[index].limitShow"
              @blur="prizeList[index].limitShow = false"
            />
          </template>
        </div>
xd's avatar
xd committed
357
      </van-cell>
xd's avatar
xd committed
358
      <div class="add" @click="addPrice">添加奖项</div>
xd's avatar
xd committed
359
    </van-cell-group>
xd's avatar
xd committed
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
    <div class="detail">
      <div class="border">
        <div class="des">活动描述</div>
        <van-field
          class="area"
          v-model="message"
          rows="2"
          autosize
          type="textarea"
          placeholder="请输入描述"
          show-word-limit
        />
      </div>
    </div>
    <div class="detail" style="margin-top:0;">
      <div class="des">活动图片</div>
      <van-uploader v-model="fileList" multiple :max-count="9" />
    </div>
xd's avatar
xd committed
378 379 380 381 382 383 384 385 386 387
    <div class="creat">创建活动</div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      basicInfo: {
        title: "",
xd's avatar
xd committed
388
        startTime: new Date(),
xd's avatar
xd committed
389
        startTime1: "",
xd's avatar
xd committed
390
        endTime: new Date(),
xd's avatar
xd committed
391 392 393 394 395
        endTime1: "",
        startShow: false,
        endShow: false
      },
      LuckyDraw: {
xd's avatar
xd committed
396
        name: "",
xd's avatar
xd committed
397 398 399 400 401 402 403 404 405
        number: "",
        winningNumber: "",
        probability: "",
        quantity: "",
        addNumber: "",
        show: false,
        show2: false,
        show3: false
      },
xd's avatar
xd committed
406 407 408 409 410 411 412 413 414 415
      prizeList: [
        {
          name: "",
          type: "",
          discountsMoney: "",
          discountsShow: false,
          full: "",
          fullMoney: "",
          fullShow: false,
          validity: "",
xd's avatar
xd committed
416
          startTime: new Date(),
xd's avatar
xd committed
417 418
          startTime1: "",
          startShow: false,
xd's avatar
xd committed
419
          endTime: new Date(),
xd's avatar
xd committed
420 421 422 423 424 425 426 427
          endTime1: "",
          endShow: false,
          prize: "",
          prizeShow: false,
          limit: "",
          limitShow: false
        }
      ],
xd's avatar
xd committed
428 429 430 431 432 433 434 435
      title: "",
      title2: "",
      coupon: "",
      newCustomer: "",
      condition: "",
      type: "",
      startShow: false,
      endShow: false,
xd's avatar
xd committed
436
      message: "",
xd's avatar
xd committed
437 438 439
      fileList: [],
      pTime: new Date(),
      confirmTime: new Date()
xd's avatar
xd committed
440 441 442 443
    };
  },
  methods: {
    startTimeChange(e) {
xd's avatar
xd committed
444
      let startTimeArr = e.getValues();
xd's avatar
xd committed
445 446
      this.basicInfo.startTime1 = `${startTimeArr[0]}-${startTimeArr[1]}-${startTimeArr[2]}`;
    },
xd's avatar
xd committed
447
    startTimeChange2(e, index) {
xd's avatar
xd committed
448 449
      console.log(111);
      
450
      this.prizeList[index].startTime1 = this.timeFormat(e);
xd's avatar
xd committed
451 452
      console.log(this.prizeList[index].startTime1,"2222");
      
xd's avatar
xd committed
453
    },
xd's avatar
xd committed
454 455
    ////////
    handlePSTime(index) {
xd's avatar
xd committed
456 457
      this.prizeList[index].startTime1 = this.timeFormat(this.confirmTime);
      this.prizeList[index].startShow = false;
xd's avatar
xd committed
458
    },
459
    timeFormat(time) {
xd's avatar
xd committed
460 461 462
      let year = 1900 + time.getYear();
      let month = "0" + (time.getMonth() + 1);
      let date = "0" + time.getDate();
xd's avatar
xd committed
463 464 465 466 467 468 469 470
      return (
        year +
        "-" +
        month.substring(month.length - 2, month.length) +
        "-" +
        date.substring(date.length - 2, date.length) +
        " "
      );
xd's avatar
xd committed
471 472 473
    },
    endTimeChange(e) {
      let endTimeArr = e.getValues();
xd's avatar
xd committed
474
      this.basicInfo.endTime1 = `${endTimeArr[0]}-${endTimeArr[1]}-${endTimeArr[2]}`;
xd's avatar
xd committed
475
    },
xd's avatar
xd committed
476
    handleBasicETime(value) {
xd's avatar
xd committed
477 478
      this.basicInfo.endShow = false;
      this.basicInfo.endTime1 = this.timeFormat(value);
xd's avatar
xd committed
479
    },
480 481
    endTimeChange2(e, index) {
      this.prizeList[index].endTime1 = this.timeFormat(e);
xd's avatar
xd committed
482
    },
xd's avatar
xd committed
483 484 485 486 487 488 489 490 491 492 493 494 495
    ///点击确定不修改处理
    handleStartTime(e,index) {
      console.log(e,"e");
      
      this.prizeList[index].startTime1 = this.timeFormat(e)
      this.prizeList[index].startShow = false
    },
    handleEndTime(e,index) {
      console.log(e,"e");
      
      this.prizeList[index].endTime1 = this.timeFormat(e)
      this.prizeList[index].endShow = false
    },
xd's avatar
xd committed
496
    //////
xd's avatar
xd committed
497
    handlePETime(index) {
xd's avatar
xd committed
498 499
      this.prizeList[index].endTime1 = this.timeFormat(this.confirmTime);
      this.prizeList[index].endShow = false;
xd's avatar
xd committed
500
    },
xd's avatar
xd committed
501
    // 数字大写转小写
xd's avatar
xd committed
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
    numberToUpperCase(textIndex) {
      let newString = "";
      let newTextIndex = textIndex + "";

      function sum(value, index) {
        var newValue = "";
        if (textIndex === 9) {
          return !index ? "十" : "";
        }
        let isSeat = ~~textIndex > 9 && ~~textIndex < 19;
        switch (~~value) {
          case 1:
            newValue = !index ? (isSeat ? "" : "一") : "十一";
            break;
          case 2:
            newValue = !index ? (isSeat ? "" : "二") : "十二";
            break;
          case 3:
            newValue = !index ? (isSeat ? "" : "三") : "十三";
            break;
          case 4:
            newValue = !index ? (isSeat ? "" : "四") : "十四";
            break;
          case 5:
            newValue = !index ? (isSeat ? "" : "五") : "十五";
            break;
          case 6:
            newValue = !index ? (isSeat ? "" : "六") : "十六";
            break;
          case 7:
            newValue = !index ? (isSeat ? "" : "七") : "十七";
            break;
          case 8:
            newValue = !index ? (isSeat ? "" : "八") : "十八";
            break;
          case 9:
            newValue = !index ? (isSeat ? "" : "九") : "九十";
            break;
          case 0:
            newValue = "十";
            break;
          default:
            break;
        }
        return newValue;
      }

      for (let i = 0; i < newTextIndex.length; i++) {
        newString += sum(newTextIndex.substring(i, i + 1), i);
      }
      return newString;
xd's avatar
xd committed
553 554 555 556 557 558 559 560 561 562 563
    },
    addPrice() {
      this.prizeList.push({
        name: "",
        type: "",
        discountsMoney: "",
        discountsShow: false,
        full: "",
        fullMoney: "",
        fullShow: false,
        validity: "",
xd's avatar
xd committed
564
        startTime: new Date(),
xd's avatar
xd committed
565 566
        startTime1: "",
        startShow: false,
xd's avatar
xd committed
567
        endTime: new Date(),
xd's avatar
xd committed
568 569 570 571 572 573 574 575 576
        endTime1: "",
        endShow: false,
        prize: "",
        prizeShow: false,
        limit: "",
        limitShow: false
      });
    },
    removePrice(index) {
577
      this.prizeList.splice(index, 1);
xd's avatar
xd committed
578 579
    },
    handleBasicSTime(value) {
xd's avatar
xd committed
580 581 582
      this.basicInfo.startShow = false;
      this.basicInfo.startTime1 = this.timeFormat(value);
    }
xd's avatar
xd committed
583
  },
xd's avatar
xd committed
584
  mounted() {
xd's avatar
xd committed
585 586
    this.pTime = this.timeFormat(this.pTime);
    console.log(this.pTime, "time");
xd's avatar
xd committed
587
  }
xd's avatar
xd committed
588 589 590 591 592
};
</script>
<style></style>

<style scoped>
xd's avatar
xd committed
593 594 595 596 597 598 599 600
.l-yh,.r-yh {
  width: 55%;
  display: flex;
  align-items: center;
}
.l-yh {
  width: 45%;
}
xd's avatar
xd committed
601 602 603 604 605 606 607 608 609 610 611
.bfb {
  position: absolute;
  right: 3px;
  top: 0;
}
.all >>> input {
  text-align: right;
}
.small {
  font-size: 10px;
}
xd's avatar
xd committed
612 613
.creat,
.add {
xd's avatar
xd committed
614 615 616 617 618 619 620 621 622
  width: 96%;
  height: 40px;
  background: rgba(117, 178, 253, 1);
  border-radius: 10px;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
xd's avatar
xd committed
623 624
  margin: 0 auto;
  margin-top: 80px;
xd's avatar
xd committed
625 626 627
  margin-bottom: 16px;
}
.add {
xd's avatar
xd committed
628
  margin: 12px auto;
xd's avatar
xd committed
629
}
xd's avatar
xd committed
630 631 632
.area {
  background-color: #f8f8f8;
  width: 100%;
xd's avatar
xd committed
633 634 635
}
.des {
  font-size: 14px;
xd's avatar
xd committed
636 637 638
  font-weight: bold;
  color: rgba(45, 71, 106, 1);
  margin-bottom: 12px;
xd's avatar
xd committed
639 640 641
}

.phone {
xd's avatar
xd committed
642
  margin-right: 10px;
xd's avatar
xd committed
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
}
.title {
  background-color: #f8f8f8;
  height: 36px;
  line-height: 36px;
  font-size: 12px;
  padding-left: 16px;
  color: #2d476a;
}
[data-v-08d4afe1] .van-cell {
  height: 100%;
  font-size: 14px;
}
.right {
  padding: 0;
}
xd's avatar
xd committed
659 660 661
.nobr >>> .van-cell:not(:last-child)::after {
  display: none !important;
}
xd's avatar
xd committed
662
.right >>> .van-cell:not(:last-child)::after {
663
  display: none !important;
xd's avatar
xd committed
664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
}
.noborder >>> .van-cell:not(:last-child)::after {
  border: none;
}
.gl >>> .van-field__control {
  margin-right: 18px;
}
.name >>> .van-cell__value {
  font-size: 14px;
  font-weight: 400;
  color: rgba(45, 71, 106, 1);
}
.cs >>> .van-cell__title {
  flex: 3;
}
.task >>> .van-cell__title {
  flex: 7;
}
xd's avatar
xd committed
682 683 684
.validity >>> .van-cell__value {
  flex: 2;
}
xd's avatar
xd committed
685 686
.container {
  background: rgba(248, 248, 248, 1);
xd's avatar
xd committed
687 688 689 690 691
  height: auto;
  display: flex;
  flex-direction: column;
  background: rgba(248, 248, 248, 1);
  min-height: 100%;
xd's avatar
xd committed
692 693 694 695 696 697
}

.van-cell__title {
  color: #2d476a !important;
}
.type {
xd's avatar
xd committed
698
  height: 84px;
xd's avatar
xd committed
699 700 701 702
}
.mj {
  height: 40px;
  display: flex;
xd's avatar
xd committed
703
  justify-content: space-between;
xd's avatar
xd committed
704
  align-items: center;
xd's avatar
xd committed
705
  margin: 10px 0;
xd's avatar
xd committed
706 707 708
}
.sz {
  position: relative;
xd's avatar
xd committed
709
  padding-top: 10px;
xd's avatar
xd committed
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733
}
.je {
  width: 88px;
  height: 36px;
  display: flex;
  align-items: center;
  background: rgba(248, 248, 248, 1);
  border-radius: 10px;
}
.word {
  margin: 0 7px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(45, 71, 106, 1);
}
.end {
  margin-right: 0;
}
.tm {
  background-color: transparent;
}
.je >>> .van-cell:not(:last-child)::after {
  display: none;
}
734 735 736
.jpsl >>> .van-cell:not(:last-child)::after {
  display: none;
}
xd's avatar
xd committed
737
.all {
xd's avatar
xd committed
738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
  box-shadow: 0px 1px 3px 0px rgba(221, 221, 221, 1);
  padding-bottom: 1px;
}
.detail {
  margin-top: 12px;
  background-color: #fff;
  /* height: 135px; */
  padding: 12px 16px 0 16px;
}
.border {
  border-bottom: 1px solid #ebedf0;
  padding-bottom: 9px;
}
.close {
  position: absolute;
  z-index: 999;
  top: 0;
xd's avatar
xd committed
755
}
xd's avatar
xd committed
756 757 758 759 760
.condition {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
xd's avatar
xd committed
761 762 763 764 765 766 767 768 769 770 771 772 773
.van-cell:not(:last-child)::after {
  right: 14px;
}
.yhType {
  padding: 14px;
}
.yhbr {
  border-bottom: 1px solid #f8f8f8;
  font-size: 14px;
}
.top {
  display: flex;
  justify-content: space-between;
xd's avatar
xd committed
774
  align-items: center;
xd's avatar
xd committed
775
}
xd's avatar
xd committed
776
</style>