fillorder.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. <template>
  2. <div class="wrapper">
  3. <!-- 选择地址 -->
  4. <div class="box1 box">
  5. <u-row style="margin-top: 32rpx">
  6. <u-col style="padding: 0 !important" :offset="0" :span="11" @click.native="clickToAddress()">
  7. <div v-if="!address.id">请选择地址</div>
  8. <div v-else>
  9. <div class="userClass">
  10. {{ address.name }}
  11. <span>
  12. {{ address.mobile | secrecyMobile }}
  13. <u-tag v-if="address.isDefault" text="默认" style="margin-left: 24rpx" mode="plain" type="error" size="mini" />
  14. </span>
  15. </div>
  16. <div class="userAdress">
  17. <span v-if="address.consigneeAddressPath[0]">{{
  18. address.consigneeAddressPath[0]
  19. }}</span>
  20. <span v-if="address.consigneeAddressPath[1]">{{
  21. address.consigneeAddressPath[1]
  22. }}</span>
  23. <span v-if="address.consigneeAddressPath[2]">{{
  24. address.consigneeAddressPath[2]
  25. }}</span>
  26. <span v-if="address.consigneeAddressPath[3]">{{
  27. address.consigneeAddressPath[3]
  28. }}</span>
  29. <span>
  30. {{ address.detail }}
  31. </span>
  32. </div>
  33. </div>
  34. </u-col>
  35. <u-col :span="1" @click.native="
  36. navigateTo('/pages/mine/address/address?way=' + routerVal.way)
  37. " style="text-align: right">
  38. <u-icon name="arrow-right" style="color: #bababa"></u-icon>
  39. </u-col>
  40. </u-row>
  41. </div>
  42. <!-- 背景 -->
  43. <div class="bar"></div>
  44. <!-- 开团信息 -->
  45. <view class="group-box" v-if="isAssemble">
  46. <view class="group-title">
  47. <span v-if="pintuanFlage">你正在开团购买</span>
  48. <span v-else>为你加入仅差<span>{{routerVal.parentOrder.toBeGroupedNum }}</span>人的团购买</span>
  49. </view>
  50. <view class="group">
  51. <view>
  52. <u-image borderRadius="50%" shape="square" class="head-img" width="81rpx" height="81rpx" :src="masterWay.face || '/static/missing-face.png'"></u-image>
  53. <view class="btn-one">团长</view>
  54. </view>
  55. <view class="line"> </view>
  56. <view>
  57. <!-- 如果有最后一名,显示最后一名,没有最后一名,显示等待参团 -->
  58. <u-image class="head-img" v-if="endWay.face" :src="endWay.face" borderRadius="50%" shape="square" width="81rpx" height="81rpx">
  59. <view slot="loading"></view>
  60. </u-image>
  61. <u-image class="head-img" borderRadius="50%" shape="square" v-else width="81rpx" height="81rpx" :src="endWay.face || '/static/missing-face.png'"></u-image>
  62. <view class="wait">{{ endWay.nickname || "等待参团" }}</view>
  63. </view>
  64. </view>
  65. </view>
  66. <!-- 店铺商品信息 -->
  67. <div class="box box2" v-for="(item, index) in orderMessage.cartList" :key="index">
  68. <u-row class="tab1" @click="navigateToStore(item)">
  69. <u-col :offset="0">
  70. <span class="ybname">{{ item.storeName }}</span>
  71. </u-col>
  72. </u-row>
  73. <div class="promotionNotice">{{ item.promotionNotice }}</div>
  74. <u-row class="goodsBorder" v-for="(val, i) in item.skuList" :key="i">
  75. <u-col class="tabL" :offset="0" @click="navigateTo('/pages/product/goods?id=' + val.goodsSku.id+'&goodsId='+val.goodsSku.goodsId)" :span="3">
  76. <u-image borderRadius="10rpx" :src="val.goodsSku.thumbnail" alt />
  77. </u-col>
  78. <u-col :span="9" @click="navigateTo('/pages/product/goods?id=' + val.goodsSku.id+'&goodsId='+val.goodsSku.goodsId)" class="tabC">
  79. <div style="overflow: hidden">
  80. <p class="sp_name">{{ val.goodsSku.goodsName }}</p>
  81. <p class="sp_promotion" v-if="val.promotion_tags">
  82. <view class="sp_tag sp_tag_plain" v-for="(promotion_item, promotion_index) in val.promotion_tags" :key="promotion_index">{{ promotion_item }}</view>
  83. </p>
  84. <span class="nums">x{{ val.num }}</span>
  85. </div>
  86. <p class="sp_number">¥{{ val.goodsSku.price | unitPrice }}</p>
  87. </u-col>
  88. </u-row>
  89. <u-row>
  90. <u-col :offset="0" :span="4" class="tl" style="text-align: left">备注信息</u-col>
  91. <u-col :span="8" textAlign="right">
  92. <u-input style="text-align:right;" class="uinput" v-model="remarkVal[index].remark" />
  93. </u-col>
  94. </u-row>
  95. </div>
  96. <!-- 订单信息 -->
  97. <div class="box box3">
  98. <u-row>
  99. <u-col :offset="0" :span="4">发票信息</u-col>
  100. <u-col :span="8" class="tipsColor" textAlign="right" @click.native="invoice()">
  101. <span v-if="receiptList">{{receiptList.receiptTitle}} - {{receiptList.receiptContent}}</span>
  102. <span v-else>不开发票</span>
  103. </u-col>
  104. </u-row>
  105. </div>
  106. <!-- 发票信息 -->
  107. <invoices :res="receiptList" @callbackInvoice="callbackInvoice" v-if="invoiceFlag" />
  108. <u-select v-model="shippingFlag" :list="shippingMethod" @confirm="checkedshipMethod"></u-select>
  109. <!-- 优惠券 -->
  110. <div class="box box4">
  111. <u-row>
  112. <u-col :offset="0" :span="9" @click="shippingFlag = true">配送方式</u-col>
  113. <u-col :span="3" textAlign="right" @click="shippingFlag = true">
  114. {{ shippingMethod.find(e=>{ return e.value == shippingText; }).label }}
  115. </u-col>
  116. </u-row>
  117. <u-row>
  118. <u-col :offset="0" :span="9" @click="GET_Discount()">优惠券</u-col>
  119. <u-col :span="3" v-if="orderMessage.priceDetailDTO && orderMessage.priceDetailDTO.couponPrice" textAlign="right" @click="GET_Discount()">
  120. <span class="main-color">-{{orderMessage.priceDetailDTO.couponPrice | unitPrice}}</span>
  121. </u-col>
  122. <!-- orderMessage.priceDetailDTO.couponPrice | unitPrice -->
  123. <u-col :span="3" v-else textAlign="right" @click="GET_Discount()">
  124. {{ couponNums || "0" }}张可用
  125. <u-icon name="arrow-right"></u-icon>
  126. </u-col>
  127. </u-row>
  128. </div>
  129. <div class="box box5" v-if="orderMessage.priceDetailDTO">
  130. <div>
  131. <u-row>
  132. <u-col :span="9">商品合计</u-col>
  133. <u-col :span="3" textAlign="right">
  134. <span>¥{{ orderMessage.priceDetailDTO.goodsPrice | unitPrice }}</span>
  135. </u-col>
  136. </u-row>
  137. </div>
  138. <div>
  139. <u-row>
  140. <u-col :span="7">运费</u-col>
  141. <u-col :span="5" class="tr tipsColor" textAlign="right">
  142. <u-tag v-if="orderMessage.priceDetailDTO.freightPrice == 0" style="margin-right: 20rpx" color="#FF6262" text="包邮" type="warning" size="mini" mode="plain" shape="circle" />
  143. <span>¥{{
  144. orderMessage.priceDetailDTO.freightPrice | unitPrice
  145. }}</span>
  146. </u-col>
  147. </u-row>
  148. </div>
  149. <div>
  150. <u-row>
  151. <u-col :span="9">优惠金额</u-col>
  152. <u-col :span="3" textAlign="right">-¥{{ orderMessage.priceDetailDTO.couponPrice | unitPrice }}</u-col>
  153. </u-row>
  154. </div>
  155. <div>
  156. <u-row>
  157. <u-col :span="6">活动优惠</u-col>
  158. <u-col :span="6" class="tr tipsColor" textAlign="right">
  159. <u-tag style="margin-right: 20rpx" v-if="orderMessage.priceDetailDTO.discountPrice != 0" color="#FF6262" :text="`优惠 ${orderMessage.priceDetailDTO.discountPrice} 元`" type="warning"
  160. size="mini" mode="plain" shape="circle" />
  161. <span>{{
  162. orderMessage.priceDetailDTO.discountPrice | unitPrice
  163. }}</span>
  164. </u-col>
  165. </u-row>
  166. </div>
  167. </div>
  168. <!-- 结账 -->
  169. <div class="box box6 mp-iphonex-bottom" v-if="orderMessage.priceDetailDTO">
  170. <div class="navL">
  171. 合计:
  172. <span class="number">
  173. ¥
  174. <span>{{ orderMessage.priceDetailDTO.billPrice | unitPrice }}</span>
  175. </span>
  176. </div>
  177. <div class="navRiv" @click="createTradeFun()">
  178. <!-- #ifndef MP-WEIXIN -->
  179. <div class="navR">提交订单</div>
  180. <!-- #endif -->
  181. <!-- #ifdef MP-WEIXIN -->
  182. <div class="navR">微信支付</div>
  183. <!-- #endif -->
  184. </div>
  185. </div>
  186. </div>
  187. </template>
  188. <script>
  189. import * as API_Trade from "@/api/trade";
  190. import * as API_Address from "@/api/address";
  191. import * as API_Order from "@/api/order";
  192. import invoices from "@/pages/order/invoice/setInvoice";
  193. import LiLiWXPay from "@/js_sdk/lili-pay/wx-pay.js";
  194. export default {
  195. onLoad: function (val) {
  196. this.routerVal = val;
  197. },
  198. components: {
  199. invoices,
  200. },
  201. watch: {},
  202. data() {
  203. return {
  204. invoiceFlag: false, //开票开关
  205. shippingText: "LOGISTICS",
  206. shippingFlag: false,
  207. shippingMethod: [
  208. {
  209. value: "LOGISTICS",
  210. label: "物流",
  211. },
  212. ],
  213. isAssemble: false, //是否拼团
  214. couponNums: "", //结算页面优惠券数量
  215. selectAddressId: "",
  216. routerVal: "",
  217. params: {},
  218. // 优惠劵
  219. couponList: "",
  220. // 已选地址
  221. address: "",
  222. // 发票信息
  223. receiptList: "",
  224. // 店铺信息
  225. orderMessage: "",
  226. data: "",
  227. // 存储备注
  228. remarkVal: [],
  229. detail: "", //返回的所有数据
  230. endWay: "", //最后一个参团人
  231. masterWay: "", //团长信息
  232. pintuanFlage: true, //是开团还是拼团
  233. };
  234. },
  235. filters: {
  236. /**
  237. * 发票收据类型
  238. */
  239. receiptType(type) {
  240. switch (type) {
  241. case "VATORDINARY":
  242. return "增值税普通发票";
  243. case "ELECTRO":
  244. return "电子普通发票";
  245. case "VATOSPECIAL":
  246. return "增值税专用发票";
  247. default:
  248. return "不开发票";
  249. }
  250. },
  251. },
  252. /**
  253. * 监听返回
  254. */
  255. onBackPress(e) {
  256. if (e.from == "backbutton") {
  257. let routes = getCurrentPages();
  258. let curRoute = routes[routes.length - 1].options;
  259. routes.forEach((item) => {
  260. if (
  261. item.route == "pages/tabbar/cart/cartList" ||
  262. item.route.indexOf("pages/product/goods") != -1
  263. ) {
  264. uni.redirectTo({
  265. url: item.route,
  266. });
  267. }
  268. });
  269. if (curRoute.addId) {
  270. uni.reLaunch({
  271. url: "/pages/tabbar/cart/cartList",
  272. });
  273. } else {
  274. uni.navigateBack();
  275. }
  276. return true; //阻止默认返回行为
  277. }
  278. },
  279. onShow() {
  280. uni.showLoading({
  281. mask: true,
  282. });
  283. this.getOrderList();
  284. uni.hideLoading();
  285. if (this.routerVal.way == "PINTUAN") {
  286. this.isAssemble = true;
  287. this.routerVal.parentOrder = JSON.parse(
  288. decodeURIComponent(this.routerVal.parentOrder)
  289. );
  290. this.pintuanWay();
  291. }
  292. },
  293. mounted() {},
  294. methods: {
  295. //发票回调 选择发票之后刷新购物车
  296. async callbackInvoice(val) {
  297. this.invoiceFlag = false;
  298. this.receiptList = val;
  299. if (val) {
  300. let submit = {
  301. way: this.routerVal.way,
  302. ...this.receiptList,
  303. };
  304. let receipt = await API_Order.getReceipt(submit);
  305. if (receipt.data.success) {
  306. this.shippingFlag = false;
  307. this.getOrderList();
  308. }
  309. }
  310. },
  311. // 跳转到店铺
  312. navigateToStore(val) {
  313. uni.navigateTo({
  314. url: "/pages/product/shopPage?id=" + val.storeId,
  315. });
  316. },
  317. // 点击跳转地址
  318. clickToAddress() {
  319. this.navigateTo(
  320. `/pages/mine/address/address?from=cart&way=${
  321. this.routerVal.way
  322. }&parentOrder=${encodeURIComponent(
  323. JSON.stringify(this.routerVal.parentOrder)
  324. )}`
  325. );
  326. },
  327. // 判断团长以及团员信息
  328. pintuanWay() {
  329. const { memberId } = this.routerVal.parentOrder;
  330. const userInfo = this.$options.filters.isLogin();
  331. if (memberId) {
  332. this.endWay = userInfo;
  333. this.masterWay = this.routerVal.parentOrder;
  334. this.pintuanFlage = false;
  335. } else {
  336. this.pintuanFlage = true;
  337. this.masterWay = userInfo;
  338. }
  339. },
  340. // 判断发票
  341. invoice() {
  342. this.invoiceFlag = true;
  343. },
  344. // 领取优惠券
  345. GET_Discount() {
  346. // 循环店铺id,商品id获取优惠券
  347. let store = [];
  348. let skus = [];
  349. this.orderMessage.cartList.forEach((item) => {
  350. item.skuList.forEach((sku) => {
  351. store.push(sku.storeId);
  352. skus.push(sku.goodsSku.id);
  353. });
  354. });
  355. store = Array.from(new Set(store));
  356. skus = Array.from(new Set(skus));
  357. uni.setStorage({
  358. key: "totalPrice",
  359. data: this.orderMessage.priceDetailDTO.goodsPrice,
  360. });
  361. this.navigateTo(
  362. `/pages/cart/coupon/index?way=${this.routerVal.way}&storeId=${store}&skuId=${skus}`
  363. );
  364. },
  365. /**
  366. * 跳转
  367. */
  368. navigateTo(url) {
  369. uni.navigateTo({
  370. url,
  371. });
  372. },
  373. /**
  374. * 提交订单准备支付
  375. */
  376. submit() {
  377. if (!this.address.id) {
  378. uni.showToast({
  379. title: "请选择地址",
  380. duration: 2000,
  381. icon: "none",
  382. });
  383. return false;
  384. }
  385. // 创建订单
  386. let client;
  387. // #ifdef H5
  388. client = "H5";
  389. // #endif
  390. // #ifdef MP-WEIXIN
  391. client = "WECHAT_MP";
  392. // #endif
  393. // #ifdef APP-PLUS
  394. client = "APP";
  395. // #endif
  396. let submit = {
  397. client,
  398. way: this.routerVal.way,
  399. remark: this.remarkVal,
  400. parentOrderSn: "",
  401. };
  402. // 如果是拼团并且当前用户不是团长
  403. this.routerVal.parentOrder && this.routerVal.parentOrder.orderSn
  404. ? (submit.parentOrderSn = this.routerVal.parentOrder.orderSn)
  405. : delete submit.parentOrderSn;
  406. /**
  407. * 创建订单
  408. */
  409. API_Trade.createTrade(submit).then((res) => {
  410. if (res.data.success) {
  411. uni.showToast({
  412. title: "创建订单成功!",
  413. duration: 2000,
  414. icon: "none",
  415. });
  416. // #ifdef MP-WEIXIN
  417. // 微信小程序中点击创建订单直接开始支付
  418. this.pay(res.data.result.sn);
  419. // #endif
  420. // #ifndef MP-WEIXIN
  421. this.navigateTo(
  422. `/pages/cart/payment/payOrder?trade_sn=${res.data.result.sn}`
  423. );
  424. // #endif
  425. } else {
  426. uni.showToast({
  427. title: "创建订单有误!请稍后重试",
  428. duration: 2000,
  429. icon: "none",
  430. });
  431. }
  432. });
  433. },
  434. // 创建订单
  435. createTradeFun() {
  436. // 防抖
  437. this.$u.debounce(this.submit(), 3000);
  438. },
  439. /**
  440. * 微信小程序中直接支付
  441. */
  442. async pay(sn) {
  443. new LiLiWXPay({
  444. sn: sn,
  445. price: this.orderMessage.priceDetailDTO.billPrice,
  446. }).pay();
  447. },
  448. /**
  449. * 获取用户地址
  450. */
  451. getUserAddress() {
  452. // 如果没有商品选择地址的话 则选择 默认地址
  453. API_Address.getAddressDefault().then((res) => {
  454. if (res.data.result) {
  455. res.data.result.consigneeAddressPath = res.data.result.consigneeAddressPath.split(
  456. ","
  457. );
  458. this.address = res.data.result;
  459. }
  460. });
  461. },
  462. // 获取结算参数
  463. getOrderList() {
  464. // 获取购物车可用优惠券
  465. this.getCartsCouponNums();
  466. // 获取结算参数
  467. API_Trade.getCheckoutParams(this.routerVal.way).then((res) => {
  468. res.data.result.cartList.forEach((item, index) => {
  469. this.remarkVal[index] = {
  470. remark: item.remark,
  471. storeId: item.storeId,
  472. };
  473. });
  474. this.orderMessage = res.data.result;
  475. if (!res.data.result.memberAddress.id) {
  476. // 获取会员默认地址
  477. this.getUserAddress();
  478. } else {
  479. this.address = res.data.result.memberAddress;
  480. res.data.result.memberAddress.consigneeAddressPath = res.data.result.memberAddress.consigneeAddressPath.split(
  481. ","
  482. );
  483. }
  484. });
  485. },
  486. /**购物车可用优惠券 */
  487. getCartsCouponNums() {
  488. API_Trade.getCartCouponNum(this.routerVal.way).then((res) => {
  489. if (res.data.success) {
  490. this.couponNums = res.data.result;
  491. }
  492. });
  493. },
  494. //
  495. },
  496. };
  497. </script>
  498. <style scoped lang="scss">
  499. .main-color {
  500. font-weight: bold;
  501. }
  502. .uinput {
  503. /deep/ input {
  504. text-align: right;
  505. }
  506. }
  507. .promotionNotice {
  508. font-size: 24rpx;
  509. color: $aider-light-color;
  510. }
  511. .nums {
  512. color: $light-color;
  513. float: right;
  514. width: 15%;
  515. text-align: center;
  516. }
  517. .wait {
  518. font-size: 22rpx;
  519. font-family: PingFang SC, PingFang SC-Regular;
  520. font-weight: 400;
  521. color: #cccccc;
  522. text-align: center;
  523. }
  524. .line {
  525. margin-left: 14rpx;
  526. margin-right: 14rpx;
  527. margin-bottom: 50rpx;
  528. width: 143rpx;
  529. border-bottom: 2px dotted #999;
  530. }
  531. .btn-one,
  532. .wait {
  533. margin-top: 14rpx;
  534. }
  535. .btn-one {
  536. width: 100rpx;
  537. height: 40rpx;
  538. background: $light-color;
  539. border-radius: 20rpx;
  540. font-size: 22rpx;
  541. font-family: PingFang SC, PingFang SC-Regular;
  542. font-weight: 400;
  543. text-align: left;
  544. color: #ffffff;
  545. text-align: center;
  546. line-height: 40rpx;
  547. }
  548. .head-img {
  549. width: 81rpx;
  550. height: 81rpx;
  551. margin: 0 auto;
  552. }
  553. .group-title {
  554. text-align: center;
  555. font-size: 28rpx;
  556. font-family: PingFang SC, PingFang SC-Regular;
  557. font-weight: 400;
  558. color: $light-color;
  559. }
  560. .group-box {
  561. height: 242rpx;
  562. align-items: center;
  563. display: flex;
  564. justify-content: center;
  565. flex-direction: column;
  566. align-items: center;
  567. background: #fff;
  568. }
  569. .group {
  570. width: 100%;
  571. display: flex;
  572. align-items: center;
  573. justify-content: center;
  574. }
  575. .tr {
  576. text-align: right;
  577. }
  578. .tl {
  579. text-align: left;
  580. }
  581. /deep/ .u-col-3 {
  582. text-align: right;
  583. }
  584. .bar {
  585. height: 4rpx;
  586. overflow: hidden;
  587. width: 100%;
  588. background: url("/pages/floor/imgs/line.png") no-repeat;
  589. }
  590. .tabC {
  591. > p {
  592. overflow: hidden;
  593. text-overflow: ellipsis;
  594. white-space: nowrap;
  595. }
  596. }
  597. .box2 {
  598. margin-top: 20rpx;
  599. }
  600. .userClass {
  601. font-weight: bold;
  602. font-size: 32rpx;
  603. color: $u-content-color;
  604. > span {
  605. margin-left: 20rpx;
  606. }
  607. }
  608. .userAdress {
  609. margin: 20rpx 0;
  610. color: $u-tips-color;
  611. font-size: 26rpx;
  612. }
  613. .box6 {
  614. position: fixed;
  615. bottom: 0;
  616. left: 0;
  617. margin: 0;
  618. height: 100rpx;
  619. overflow: hidden;
  620. line-height: 100rpx;
  621. margin-bottom: 0px !important;
  622. background: #fff;
  623. color: #333;
  624. width: 100%;
  625. > .navL {
  626. width: 65%;
  627. }
  628. > .navRiv {
  629. float: left;
  630. }
  631. }
  632. .navR {
  633. margin-top: 10rpx;
  634. height: 80rpx;
  635. color: #fff;
  636. line-height: 80rpx;
  637. background: linear-gradient(91deg, $light-color 1%, $aider-light-color 99%);
  638. padding: 0 44rpx;
  639. text-align: center;
  640. border-radius: 400px;
  641. }
  642. .sp_tag {
  643. display: inline;
  644. background: #f2f2f2;
  645. padding: 0 20rpx 0 10rpx;
  646. height: 20rpx;
  647. line-height: 20rpx;
  648. font-size: 24rpx;
  649. color: #262626;
  650. border-radius: 0.4em;
  651. }
  652. .sp_promotion {
  653. float: left;
  654. width: 75%;
  655. margin: 4rpx 0;
  656. }
  657. .sp_tag_plain {
  658. margin-left: 8rpx;
  659. padding: 0 6rpx 0 6rpx;
  660. background: #fff;
  661. border: 1px solid $main-color;
  662. font-size: 24rpx;
  663. color: $main-color;
  664. border-radius: 50px;
  665. }
  666. .sp_tag_plain:nth-of-type(1) {
  667. margin-left: 0;
  668. }
  669. .sp_name {
  670. float: left;
  671. width: 75%;
  672. font-size: 28rpx;
  673. overflow: hidden;
  674. text-overflow: ellipsis;
  675. white-space: nowrap;
  676. }
  677. .sp_type {
  678. color: $u-tips-color;
  679. padding: 8rpx 0;
  680. font-size: 24rpx;
  681. }
  682. .number {
  683. color: $main-color;
  684. font-size: 26rpx;
  685. margin-left: 10rpx;
  686. > span {
  687. font-size: 36rpx;
  688. }
  689. }
  690. .sp_number {
  691. color: $light-color;
  692. font-size: 28rpx;
  693. }
  694. .box1 {
  695. background: #f6f6f6 !important;
  696. min-height: 166rpx;
  697. // height: 200rpx;
  698. /deep/ .u-row {
  699. border: none;
  700. }
  701. margin-bottom: 0 !important;
  702. }
  703. .box {
  704. border-radius: 40rpx;
  705. overflow: hidden;
  706. background: #fff;
  707. margin-bottom: 20rpx;
  708. padding: 0 32rpx;
  709. }
  710. .navL,
  711. .navR {
  712. float: left;
  713. }
  714. .wrapper {
  715. background: #f9f9f9;
  716. height: auto;
  717. padding-bottom: 200rpx;
  718. overflow: auto !important;
  719. }
  720. .tab1 {
  721. }
  722. .ybname {
  723. margin-left: 20rpx;
  724. font-weight: 400;
  725. color: #333333;
  726. }
  727. /deep/ .u-col {
  728. padding: 36rpx 0 !important;
  729. }
  730. /deep/ .u-col-3,
  731. .tipsColor {
  732. color: $u-tips-color;
  733. }
  734. .tabL {
  735. text-align: left;
  736. overflow: hidden;
  737. /deep/ .u-image,
  738. .u-image__image {
  739. width: 132rpx !important;
  740. height: 132rpx !important;
  741. border-radius: 0.4em !important;
  742. }
  743. }
  744. </style>