confirm.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. <template>
  2. <s-layout :title="t('confirm.confirm_order')">
  3. <!-- TODO:这个判断先删除 v-if="state.orderInfo.need_address === 1" -->
  4. <view class="bg-white address-box ss-m-b-14 ss-r-b-10" @tap="onSelectAddress">
  5. <s-address-item :item="state.addressInfo" :spuType="state.orderPayload.spuType" :hasBorderBottom="false">
  6. <view class="ss-rest-button">
  7. <text class="_icon-forward" />
  8. </view>
  9. </s-address-item>
  10. </view>
  11. <!-- 商品信息 -->
  12. <!-- {{shopsByNames}} -->
  13. <view class="order-card-box ss-m-b-14" v-for="(items, name) in shopsByNames" :key="name">
  14. <view class="title-text ss-p-x-20 ss-p-t-20">
  15. {{name}}
  16. </view>
  17. <s-goods-item v-for="item in items.items" :key="item?.skuId" :img="item?.picUrl" :title="item?.spuName"
  18. :skuText="item?.properties?.map((property) => property.valueName).join(' ')"
  19. :price="item.highPrecisionPrice ? item?.highPrecisionPrice :item?.price " :num="item?.count"
  20. :areaId="state.orderInfo.shopAreaId" />
  21. <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
  22. <view class="item-title">{{ t('confirm.shipping_fee') }}</view>
  23. <view class="ss-flex ss-col-center">
  24. {{items.price.deliveryPrice?fen2yuan(items.price.deliveryPrice):t('confirm.free_shipping')}}
  25. </view>
  26. </view>
  27. <!-- 暂不做开发票 -->
  28. <!-- <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
  29. <view class="item-title">开具发票</view>
  30. <view class="ss-flex ss-col-center">
  31. <text class="item-value" :class="state.couponInfo.length > 0 ? 'text-red' : 'text-disabled'">
  32. {{
  33. state.couponInfo.length > 0 ? state.couponInfo.length + ' 张可用' : '不开具发票'
  34. }}
  35. </text>
  36. <text class="_icon-forward item-icon" />
  37. </view>
  38. </view> -->
  39. <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10">
  40. <view class="item-title">{{ t('confirm.order_note') }}</view>
  41. <view class="ss-flex ss-col-center">
  42. <uni-easyinput maxlength="20" :placeholder="t('confirm.communication_advice')" v-model="items.remark" :inputBorder="false"
  43. :clearable="false" />
  44. </view>
  45. </view>
  46. <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10"
  47. v-if="state.orderPayload.spuType == 0">
  48. <view class="item-title">{{ t('confirm.quantity') }}</view>
  49. <view class="ss-flex ss-col-center">
  50. {{totalItemCount}}
  51. </view>
  52. </view>
  53. <view class="order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10" v-else>
  54. <view class="item-title">{{ t('common.total') }}</view>
  55. <view class="ss-flex ss-col-center">
  56. <view class="points-red" v-if="state.orderInfo.shopAreaId == 1"></view>
  57. <view class="points-green" v-if="state.orderInfo.shopAreaId == 2"></view>
  58. {{fen2yuan(items.price.payPrice)}}
  59. </view>
  60. </view>
  61. </view>
  62. <!-- 价格信息 -->
  63. <view class="bg-white total-card-box ss-p-20 ss-m-b-14 ss-r-10">
  64. <view class="title-text">
  65. {{ t('confirm.price_details') }}
  66. </view>
  67. <view class="total-box-content border-bottom">
  68. <view class="order-item ss-flex ss-col-center ss-row-between">
  69. <view class="item-title">{{ t('confirm.total_price') }} {{ t('confirm.total_items',{count:totalItemCount}) }}</view>
  70. <view class="ss-flex ss-col-center">
  71. <view class="points-red" v-if="state.orderInfo.shopAreaId == 1"></view>
  72. <view class="points-green" v-if="state.orderInfo.shopAreaId == 2"></view>
  73. <text class="item-value ss-m-r-24">
  74. {{ fen2yuan(state.orderInfo.price.totalPrice) }}
  75. </text>
  76. </view>
  77. </view>
  78. <!-- TODO 非繁人:接入佣金 -->
  79. <view class="order-item ss-flex ss-col-center ss-row-between">
  80. <view class="item-title">{{ t('confirm.shipping_fee') }}</view>
  81. <view class="ss-flex ss-col-center">
  82. <text class="item-value ss-m-r-24">
  83. <!-- <image src="@/static/icon/points.png" v-if="state.orderPayload.spuPayType == 2"
  84. style="width:30rpx;height:30rpx"></image>
  85. <text v-else>¥</text> -->
  86. {{ fen2yuan(state.orderInfo.price.deliveryPrice) }}
  87. </text>
  88. </view>
  89. </view>
  90. <!-- <view class="order-item ss-flex ss-col-center ss-row-between" v-if="state.orderPayload.spuPayType != 2">
  91. <view class="item-title">{{ t('confirm.commission_deduction') }}</view>
  92. <view class="ss-flex ss-col-center" @tap="state.showPoints = true">
  93. <text class="item-value" :class="state.usedPoint > 0 ? 'text-red' : 'text-disabled'">
  94. {{ state.usedPoint > 0 ? t('confirm.deduction',{count:state.usedPoint}) : t('confirm.no_commission') }}
  95. </text>
  96. <text class="_icon-forward item-icon" />
  97. </view>
  98. </view>
  99. <view class="order-item ss-flex ss-col-center ss-row-between" v-if="state.orderPayload.spuPayType != 2">
  100. <view class="item-title">{{ t('confirm.consumption_point_deduction') }}</view>
  101. <view class="ss-flex ss-col-center" @tap="state.showConsumptionPoints = true">
  102. <text class="item-value" :class="state.usedConsumptionPoints > 0 ? 'text-red' : 'text-disabled'">
  103. {{ state.usedConsumptionPoints > 0 ? t('confirm.deduction',{count:state.usedConsumptionPoints}) : t('confirm.no_consumption_points') }}
  104. </text>
  105. <text class="_icon-forward item-icon" />
  106. </view>
  107. </view> -->
  108. <!-- 优惠劵:只有 type = 0 普通订单(非拼团、秒杀、砍价),才可以使用优惠劵 -->
  109. <!-- 暂时隐藏优惠卷 -->
  110. <!-- <view
  111. class="order-item ss-flex ss-col-center ss-row-between"
  112. v-if="state.orderInfo.type === 0"
  113. >
  114. <view class="item-title">优惠券</view>
  115. <view class="ss-flex ss-col-center" @tap="state.showCoupon = true">
  116. <text class="item-value text-red" v-if="state.orderPayload.couponId > 0">
  117. -¥{{ fen2yuan(state.orderInfo.price.couponPrice) }}
  118. </text>
  119. <text
  120. class="item-value"
  121. :class="state.couponInfo.length > 0 ? 'text-red' : 'text-disabled'"
  122. v-else
  123. >
  124. {{
  125. state.couponInfo.length > 0 ? state.couponInfo.length + ' 张可用' : '暂无可用优惠券'
  126. }}
  127. </text>
  128. <text class="_icon-forward item-icon" />
  129. </view>
  130. </view> -->
  131. <!-- <view
  132. class="order-item ss-flex ss-col-center ss-row-between"
  133. v-if="state.orderInfo.price.discountPrice > 0"
  134. >
  135. <view class="item-title">活动优惠</view>
  136. <view class="ss-flex ss-col-center">
  137. @tap="state.showDiscount = true" TODO 非繁人:后续要把优惠信息打进去
  138. <text class="item-value text-red">
  139. -¥{{ fen2yuan(state.orderInfo.price.discountPrice) }}
  140. </text>
  141. <text class="_icon-forward item-icon" />
  142. </view>
  143. </view> -->
  144. </view>
  145. <view class="total-box-footer ss-font-28 ss-flex ss-row-right ss-col-center ss-m-r-28">
  146. <view class="total-num ss-m-r-20">
  147. {{ t('confirm.total_items_count',{count:totalItemCount}) }}
  148. </view>
  149. <view>{{ t('common.total') }}:</view>
  150. <view class="total-num text-red ss-flex">
  151. <!-- <image src="@/static/icon/points.png" class='ss-m-r-10' v-if="state.orderPayload.spuPayType == 2"
  152. style="width:30rpx;height:30rpx"></image>
  153. <text v-else>¥</text> -->
  154. <view class="points-red" v-if="state.orderInfo.shopAreaId == 1"></view>
  155. <view class="points-green" v-if="state.orderInfo.shopAreaId == 2"></view>
  156. <text
  157. v-if="state.orderPayload.highPrecision">{{ fen2yuan6(state.orderInfo.price.virtualTotalPrice) }}
  158. </text>
  159. <text
  160. v-else-if="state.orderPayload.spuPayType == 2">{{ fen2yuan(state.orderInfo.price.payPrice) - 0.01 }}
  161. </text>
  162. <text v-else>{{ fen2yuan(state.orderInfo.price.payPrice) }} </text>
  163. </view>
  164. </view>
  165. </view>
  166. <!-- 满额折扣弹框 TODO 非繁人:后续要把优惠信息打进去 -->
  167. <!-- <s-discount-list
  168. v-model="state.orderInfo"
  169. :show="state.showDiscount"
  170. @close="state.showDiscount = false"
  171. /> -->
  172. <!-- 底部 -->
  173. <su-fixed bottom :opacity="false" bg="bg-white" placeholder :noFixed="false" :index="200">
  174. <view class="footer-box border-top ss-flex ss-row-between ss-p-x-20 ss-col-center">
  175. <view class="total-box-footer ss-flex ss-col-center">
  176. <view class="total-num ss-font-30 text-red ss-flex ss-col-center" >
  177. <view class="points-red" v-if="state.orderInfo.shopAreaId == 1"></view>
  178. <view class="points-green" v-if="state.orderInfo.shopAreaId == 2"></view>
  179. {{ finalPrice }}
  180. </view>
  181. </view>
  182. <button class="ss-reset-button ui-BG-Main-Gradient ss-r-40 submit-btn ui-Shadow-Main" @tap="onConfirm" v-if="!Android || (Android && finalPrice == 0)">
  183. {{ t('confirm.submit_order') }}
  184. </button>
  185. </view>
  186. </su-fixed>
  187. </s-layout>
  188. </template>
  189. <script setup>
  190. import {
  191. reactive,
  192. computed
  193. } from 'vue';
  194. import {
  195. onLoad
  196. } from '@dcloudio/uni-app';
  197. import sheep from '@/sheep';
  198. import {
  199. isEmpty
  200. } from 'lodash';
  201. import OrderApi from '@/sheep/api/trade/order';
  202. import {
  203. fen2yuan,
  204. points2point,
  205. fen2yuan6
  206. } from '@/sheep/hooks/useGoods';
  207. import { t } from '@/locale'
  208. import {
  209. isAndroid,
  210. } from '@/sheep/hooks/useApp'
  211. import { showInputPayPassword,showWalletModal,showSetPayPassword } from '@/sheep/hooks/useModal';
  212. const Android = isAndroid();
  213. const state = reactive({
  214. orderPayload: {},
  215. orderInfo: {
  216. items: [], // 商品项列表
  217. price: {}, // 价格信息
  218. },
  219. addressInfo: {}, // 选择的收货地址
  220. showPoints: false, // 是否佣金抵扣
  221. showConsumptionPoints: false, // 是否消费分抵扣
  222. couponInfo: [], // 优惠劵列表
  223. showDiscount: false, // 是否展示营销活动
  224. currentMemberPoints: 0, //用户当前可用佣金
  225. currentMemberConsumptionPoints: 0, //用户当前可用消费分
  226. usedPoint: 0, //用户使用的佣金
  227. usedConsumptionPoints:0,//用户使用的消费分
  228. currentTotalPrice: 0, //当前的整个订单的总价格
  229. currentDeliveryPrice: 0, // 当前订单的总运费
  230. orderIds:[]
  231. });
  232. const finalPrice = computed(() => {
  233. return fen2yuan(state.orderInfo.price.payPrice - (100 * state.usedPoint) - (100 * state.usedConsumptionPoints));
  234. });
  235. // 返回来的数据根据店铺名过滤 TODO
  236. const shopsByNames = computed(() => {
  237. // console.log(state.orderInfo.shopRespVOMap)
  238. const shops = {};
  239. try {
  240. Object.keys(state.orderInfo.shopRespVOMap).forEach(shopId => {
  241. const shopName = state.orderInfo.shopNameMap[shopId];
  242. if (shopName) {
  243. shops[shopName] = state.orderInfo.shopRespVOMap[shopId];
  244. shops[shopName].remark = ""
  245. shops[shopName].shopId = shopId
  246. }
  247. });
  248. } catch (e) {
  249. // console.log(e)
  250. }
  251. return shops;
  252. });
  253. // 计算所有商品的总数
  254. const totalItemCount = computed(() => {
  255. let totalCount = 0;
  256. Object.values(shopsByNames.value).forEach(shop => {
  257. shop.items.forEach(item => {
  258. totalCount += item.count;
  259. });
  260. });
  261. return totalCount;
  262. });
  263. // 选择地址
  264. function onSelectAddress() {
  265. uni.$once('SELECT_ADDRESS', (e) => {
  266. changeConsignee(e.addressInfo);
  267. });
  268. // console.log(state.orderPayload.spuType)
  269. // 如果是虚拟商品 进入选虚拟地址
  270. if (state.orderPayload.spuType) {
  271. sheep.$router.go('/pages/user/address/list');
  272. } else {
  273. sheep.$router.go('/pages/user/dummyAddress/list');
  274. }
  275. }
  276. // 更改收货人地址&计算订单信息
  277. async function changeConsignee(addressInfo = {}) {
  278. if (!isEmpty(addressInfo)) {
  279. state.addressInfo = addressInfo;
  280. }
  281. await getOrderInfo();
  282. }
  283. // 提交订单
  284. function onConfirm() {
  285. if (!state.addressInfo.id) {
  286. sheep.$helper.toast(t('confirm.select_shipping_address'))
  287. return;
  288. }
  289. submitOrder();
  290. }
  291. // 截取小数 不保留四舍五入
  292. /**
  293. * @param number 数字
  294. * @param decimals 小数点位数
  295. *
  296. */
  297. function customRound(number, decimals) {
  298. let factor = Math.pow(10, decimals);
  299. let tempNumber = Math.floor(number * factor) / factor;
  300. return tempNumber.toFixed(decimals);
  301. }
  302. // 创建订单&跳转
  303. async function submitOrder() {
  304. if(state.orderIds.length === 0){
  305. // 处理每个店铺的留言 以{店铺id:留言}的形式返回
  306. const shops = shopsByNames.value;
  307. const shopRemarks = {};
  308. Object.keys(shops).forEach(shopName => {
  309. const shop = shops[shopName];
  310. shopRemarks[shop.shopId] = shop.remark;
  311. });
  312. // 判断用户是否设置了支付密码,如果没有设置支付密码,就先设置支付密码
  313. const userInfo = computed(() => sheep.$store('user').userInfo);
  314. if(!userInfo.value.havePayPassword){
  315. sheep.$helper.toast("请先设置支付密码后再操作")
  316. showSetPayPassword()
  317. return false
  318. }
  319. // 如果不是高精度商品 就走原来的程序,如果是高精度的商品,就拿到高精度返回的商品总价 / 100 然后保留四位小数再干掉两位,实现佣金可以刚好大于当前佣金的0.01
  320. const usedPoint = state.orderPayload.highPrecision ? customRound((state.orderInfo.price.virtualPayPrice / 100 ), 2): state.usedPoint;
  321. const {
  322. code,
  323. data
  324. } = await OrderApi.createOrder({
  325. items: state.orderPayload.items,
  326. couponId: state.orderPayload.couponId,
  327. addressId: state.addressInfo.id,
  328. deliveryType: state.orderPayload.spuType == 1 ? 1 : 3, // TODO 非繁人:需要支持【门店自提】
  329. pointStatus: false, // TODO 非繁人:需要支持【佣金选择】
  330. combinationActivityId: state.orderPayload.combinationActivityId,
  331. combinationHeadId: state.orderPayload.combinationHeadId,
  332. seckillActivityId: state.orderPayload.seckillActivityId,
  333. payIntegral: usedPoint,
  334. payConsumptionPoints:state.usedConsumptionPoints,
  335. shopRemarks: shopRemarks,
  336. areaId:state.orderInfo.shopAreaId
  337. });
  338. if (code !== 0) {
  339. return;
  340. }
  341. state.orderIds = data.ids
  342. }
  343. // 更新购物车列表,如果来自购物车
  344. if (state.orderPayload.items[0].cartId > 0) {
  345. sheep.$store('cart').getList();
  346. }
  347. showInputPayPassword(async (password) => {
  348. const {
  349. data,
  350. code
  351. } = await OrderApi.payOrder({orderIds:state.orderIds,payPassword:password});
  352. if (code === 0) {
  353. showWalletModal()
  354. }
  355. },() => {
  356. sheep.$helper.toast("取消支付")
  357. })
  358. // 跳转到支付页面
  359. // sheep.$router.redirect('/pages/pay/index', {
  360. // id: data.payOrderId,
  361. // type:1
  362. // });
  363. }
  364. // 检查库存 & 计算订单价格
  365. async function getOrderInfo() {
  366. // 每次查询设置订单之前 看有没有评论 如果有评论就存到shopRemarks
  367. const shops = shopsByNames.value
  368. let shopRemarks = {};
  369. if (Object.keys(shops).length !== 0) {
  370. Object.keys(shops).forEach(shopName => {
  371. const shop = shops[shopName];
  372. shopRemarks[shopName] = shop.remark;
  373. });
  374. }
  375. const {
  376. data,
  377. code
  378. } = await OrderApi.settlementOrder({
  379. items: state.orderPayload.items,
  380. couponId: state.orderPayload.couponId,
  381. addressId: state.addressInfo.id,
  382. deliveryType: state.orderPayload.spuType == 1 ? 1 : 3, // TODO 非繁人:需要支持【门店自提】
  383. pointStatus: false, // TODO 非繁人:需要支持【佣金选择】
  384. combinationActivityId: state.orderPayload.combinationActivityId,
  385. combinationHeadId: state.orderPayload.combinationHeadId,
  386. seckillActivityId: state.orderPayload.seckillActivityId,
  387. usedPoint: state.usedPoint,
  388. addressType: state.orderPayload.spuType == 1 ? 1 : 2 //如果是虚拟产品
  389. });
  390. if (code !== 0) {
  391. return;
  392. }
  393. state.orderInfo = data;
  394. // 如果shopRemarks有评论的话 就放回shopsByNames
  395. if (Object.keys(shopRemarks).length !== 0) {
  396. Object.keys(shopRemarks).forEach(shopName => {
  397. shopsByNames.value[shopName].remark = shopRemarks[shopName]
  398. });
  399. }
  400. // 设置收货地址
  401. if (state.orderInfo.address) {
  402. state.addressInfo = state.orderInfo.address;
  403. }
  404. // console.log(state.orderInfo)/
  405. state.currentMemberPoints = state.orderInfo.currentQuota > 0 ? points2point(state.orderInfo.currentQuota) : 0
  406. state.currentMemberConsumptionPoints = state.orderInfo.consumePoints > 0 ? points2point(state.orderInfo.consumePoints) : 0
  407. state.currentTotalPrice = fen2yuan(state.orderInfo.price.payPrice)
  408. state.currentDeliveryPrice = fen2yuan(state.orderInfo.price.deliveryPrice)
  409. // console.log("父",state.currentTotalPrice)
  410. if (state.orderPayload.spuPayType == 2) {
  411. state.usedPoint = state.currentTotalPrice - 0.01
  412. // console.log(state.spuType)
  413. }
  414. }
  415. // 获取可用优惠券
  416. // async function getCoupons() {
  417. // const {
  418. // code,
  419. // data
  420. // } = await CouponApi.getMatchCouponList(
  421. // state.orderInfo.price.payPrice,
  422. // state.orderInfo.items.map((item) => item.spuId),
  423. // state.orderPayload.items.map((item) => item.skuId),
  424. // state.orderPayload.items.map((item) => item.categoryId),
  425. // );
  426. // if (code === 0) {
  427. // state.couponInfo = data;
  428. // }
  429. // }
  430. onLoad(async (options) => {
  431. if (!options.data) {
  432. sheep.$helper.toast('参数不正确,请检查!');
  433. return;
  434. }
  435. state.orderPayload = JSON.parse(options.data);
  436. // console.log(state.orderPayload)
  437. await getOrderInfo();
  438. });
  439. </script>
  440. <style lang="scss" scoped>
  441. :deep() {
  442. .uni-input-wrapper {
  443. width: 320rpx;
  444. }
  445. .uni-easyinput__content-input {
  446. font-size: 28rpx;
  447. height: 72rpx;
  448. text-align: right !important;
  449. padding-right: 0 !important;
  450. .uni-input-input {
  451. font-weight: 500;
  452. color: #333333;
  453. font-size: 26rpx;
  454. height: 32rpx;
  455. margin-top: 4rpx;
  456. }
  457. }
  458. .uni-easyinput__content {
  459. display: flex !important;
  460. align-items: center !important;
  461. justify-content: right !important;
  462. }
  463. }
  464. .order-card-box,
  465. .address-box,
  466. .total-card-box {
  467. background: white;
  468. margin: 20rpx;
  469. border-radius: 20rpx;
  470. }
  471. .title-text {
  472. font-size: 30rpx;
  473. font-weight: bold;
  474. line-height: 42rpx;
  475. }
  476. .score-img {
  477. width: 36rpx;
  478. height: 36rpx;
  479. margin: 0 4rpx;
  480. }
  481. .order-item {
  482. height: 80rpx;
  483. .item-title {
  484. font-size: 28rpx;
  485. font-weight: 400;
  486. }
  487. .item-value {
  488. font-size: 28rpx;
  489. font-weight: 500;
  490. font-family: OPPOSANS;
  491. }
  492. .text-disabled {
  493. color: #bbbbbb;
  494. }
  495. .item-icon {
  496. color: $dark-9;
  497. }
  498. .remark-input {
  499. text-align: right;
  500. }
  501. .item-placeholder {
  502. color: $dark-9;
  503. font-size: 26rpx;
  504. text-align: right;
  505. }
  506. }
  507. .total-box-footer {
  508. height: 90rpx;
  509. .total-num {
  510. color: #333333;
  511. font-family: OPPOSANS;
  512. }
  513. }
  514. .footer-box {
  515. height: 100rpx;
  516. .submit-btn {
  517. width: 230rpx;
  518. height: 70rpx;
  519. font-size: 28rpx;
  520. font-weight: 500;
  521. .goto-pay-text {
  522. line-height: 28rpx;
  523. }
  524. }
  525. .cancel-btn {
  526. width: 230rpx;
  527. height: 80rpx;
  528. font-size: 26rpx;
  529. background-color: #e5e5e5;
  530. color: $dark-9;
  531. }
  532. }
  533. .title {
  534. font-size: 36rpx;
  535. font-weight: bold;
  536. color: #333333;
  537. }
  538. .subtitle {
  539. font-size: 28rpx;
  540. color: #999999;
  541. }
  542. .cicon-checkbox {
  543. font-size: 36rpx;
  544. color: var(--ui-BG-Main);
  545. }
  546. .cicon-box {
  547. font-size: 36rpx;
  548. color: #999999;
  549. }
  550. </style>