You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

product-detail.vue 17KB

2 jaren geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
2 jaren geleden
1 jaar geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <template>
  2. <navBar title="产品详情"></navBar>
  3. <navBgCar></navBgCar>
  4. <view class="content-wrap">
  5. <!-- <view class="ul-item">
  6. <image style="width: 100%; height: 170rpx; background-color: #eeeeee"
  7. :src="`${$imgUrl}applyCard/product-bg.png`"></image>
  8. <view class="item-value">
  9. <image class="icon-tip" :src="`${$imgUrl}applyCard/wechat.png`"></image>
  10. <view class="content">
  11. <view class="title"> {{state.detailsObj.productName}} </view>
  12. <view style="margin-top: 15rpx" class="tip"> {{state.detailsObj.releaseProduct.remarks}} </view>
  13. </view>
  14. <view class="price">
  15. ¥:{{state.detailsObj.product.oncePrice * 0.01}}
  16. </view>
  17. </view>
  18. </view> -->
  19. <!-- <view style="margin: 20rpx 0 10rpx 20rpx;font-size: 32rpx;">加购权益列表</view> -->
  20. <!-- <view class="add_all">
  21. <uni-swipe-action>
  22. <uni-swipe-action-item class="del_item" v-for="(item,index) in state.list"
  23. :right-options="state.options2" :show="item.isOpened" :auto-close="false" @change="change"
  24. @click="bindClick(index)">
  25. <view class="content-box">
  26. <view v-if='item.children' style="display: inline-block;">
  27. <image :class="item.isShow?'imageChange':'imageDefault'" @click="changeIsShow(index)"
  28. src="../../static/image/icon-back.png" alt="" srcset=""></image>
  29. </view>
  30. <text class="content-text" @tap="setOpened">{{item.productName}}
  31. &nbsp;¥{{item.discountPrice * 0.01}}</text>
  32. <view v-if="item.isShow" class="children" v-for="(itemChild,index) in item.children"
  33. :key='index'>
  34. <view>
  35. <text>{{itemChild.productName}}</text>&nbsp;&nbsp;<text>{{itemChild.discountPrice * 0.01}}</text>
  36. </view>
  37. </view>
  38. </view>
  39. </uni-swipe-action-item>
  40. </uni-swipe-action>
  41. </view> -->
  42. <view class="value-wrapper">
  43. <view class="flex" v-for="(item,index) in state.dataArray">
  44. <view class="title"> {{item.payName}} </view>
  45. <view class="value">
  46. {{ "¥" + item.fee * 0.01 }}
  47. </view>
  48. </view>
  49. <!-- <view class="flex">
  50. <view class="title"> 产品金额 </view>
  51. <view class="value">
  52. {{ "¥" + state.detailsObj.product.oncePrice * 0.01 }}
  53. </view>
  54. </view> -->
  55. <!-- <view class="flex">
  56. <view class="title"> 加购权益 </view>
  57. <view class="value">{{ "¥" + state.productMoney }} </view>
  58. </view> -->
  59. <view class="flex">
  60. <view class="title"> 运费 </view>
  61. <view class="value"> ¥0.00 </view>
  62. </view>
  63. <!-- <view class="flex">
  64. <view class="title"> 优惠券 </view>
  65. <view class="value"> 暂无优惠券 </view>
  66. </view>
  67. <view class="flex">
  68. <view class="title"> 积分兑换 </view>
  69. <view class="value"> 暂无积分 </view>
  70. </view> -->
  71. <view class="flex">
  72. <view class="title"> 实付款 </view>
  73. <view class="money">
  74. {{ "¥" + state.allMoney }}
  75. </view>
  76. </view>
  77. <view class="as-layout-horizontal agreement">
  78. <checkbox-group @change="checkboxChange">
  79. <checkbox :checked="state.checked" style="transform: scale(0.8)" />我已阅读并同意
  80. </checkbox-group>
  81. <text style="color:#007AFF;text-decoration: underline;" @click="downAuthD()">《产品协议》</text>
  82. </view>
  83. </view>
  84. <view class="action">
  85. <button type="default" class="button" @click="savaHandle()">
  86. {{ "确认办理:¥" + state.allMoney }}
  87. </button>
  88. </view>
  89. </view>
  90. </template>
  91. <script setup lang="ts">
  92. import {
  93. onLoad,
  94. onShow
  95. } from "@dcloudio/uni-app";
  96. import {
  97. reactive,
  98. ref
  99. } from "vue";
  100. import {
  101. etcQueryProduct,
  102. addProduct,
  103. getOpenidApi,
  104. getAgreementApi,
  105. PAYDETECTION,
  106. envs,
  107. agreementConfirmApi
  108. } from "@/utils/network/api.js";
  109. import {
  110. request
  111. } from "@/utils/network/request.js";
  112. import {
  113. stringToJson
  114. } from "@/utils/network/encryption";
  115. import {
  116. fileURL
  117. } from "@/datas/fileURL.js";
  118. import navBgCar from "./components/nav-bg-car5";
  119. import navBar from "@/components/nav-bar/nav-bar2.vue";
  120. import {
  121. getItem,
  122. StorageKeys
  123. } from "@/utils/storage.ts";
  124. import {
  125. checkOrderStatus,
  126. orderPay,
  127. wechatAppID,
  128. wechatPayConfigId,
  129. wechatSecret,
  130. queryDetails
  131. } from "@/utils/network/api";
  132. import {
  133. confirm,
  134. msg
  135. } from "@/utils/utils";
  136. const imgURL = `${fileURL}image/`;
  137. const savaHandle = () => {
  138. console.log("state.productId.length", state.productId.length)
  139. //判断是否有加购权益
  140. // if (state.productId.length > 0) {
  141. // queryAddProduct();
  142. // }
  143. // uni.showModal({
  144. // // title: '提示',
  145. // content: '确定支付',
  146. // success: function (res) {
  147. // if (res.confirm) {
  148. // console.log('用户点击确定');
  149. // wxPayment();
  150. // } else if (res.cancel) {
  151. // console.log('用户点击取消');
  152. // }
  153. // }
  154. // });
  155. // msg("确定绑定权益产品");
  156. // wxPayment();
  157. if (state.typeScanCode == 2) {
  158. console.log("state.typeScanCode", state.typeScanCode)
  159. // 扫码进来
  160. if (state.checked) {
  161. agreementConfirm();
  162. } else {
  163. msg("请勾选协议");
  164. }
  165. } else {
  166. console.log("state.checked", state.checked)
  167. if (state.checked) {
  168. uni.navigateTo({
  169. url: `/subpackage/orders/order_payment?orderId=${state.orderId}&&clientFee=${state.clientFee}&&id=${state.id}&&isValueCard=${state.isValueCard}`,
  170. });
  171. } else {
  172. msg("请勾选协议");
  173. }
  174. }
  175. };
  176. const downAuthD = () => {
  177. // tools.showLoadingAlert("加载中");
  178. console.log('=======123')
  179. console.log("uni.env.USER_DATA_PATH '", uni.env.USER_DATA_PATH + '/' + '产品协议.docx')
  180. uni.downloadFile({
  181. url: state.agreeURL,
  182. filePath: uni.env.USER_DATA_PATH + '/' + '产品协议.docx',
  183. success(res) {
  184. const filePath = res.filePath
  185. uni.openDocument({
  186. filePath: filePath,
  187. fileType: 'docx',
  188. showMenu: true, //关键点
  189. success: function (res) {
  190. // msg("成功查看协议详情");
  191. },
  192. fail: function (err) {
  193. msg("打开文档失败");
  194. }
  195. });
  196. },
  197. fail: function (err) {
  198. msg("下载文档失败");
  199. console.log("err", err)
  200. },
  201. complete(res) {
  202. }
  203. })
  204. }
  205. //获取微信小程序openid
  206. const getOpenID = () => {
  207. uni.login({
  208. provider: "weixin",
  209. success: function (e) {
  210. getOpenid(e.code);
  211. // uni.request({
  212. // url: `https://api.weixin.qq.com/sns/jscode2session?appid=${wechatAppID}&secret=${wechatSecret}&js_code=${e.code}&grant_type=authorization_code`,
  213. // success: (res: any) => {
  214. // state.openid = res.data.openid;
  215. // console.log("state.openid", state.openid);
  216. // },
  217. // });
  218. },
  219. });
  220. };
  221. const getOpenid = (code) => {
  222. const options = {
  223. type: 2,
  224. data: {
  225. "jsCode": code
  226. },
  227. method: "POST",
  228. showLoading: true,
  229. };
  230. // #ifdef MP-WEIXIN
  231. request(getOpenidApi, options).then((res) => {
  232. const result = stringToJson(res.bizContent);
  233. console.log("获取微信小程序openid", result);
  234. const openidData = stringToJson(result.data);
  235. state.openid = openidData.openid;
  236. });
  237. // #endif
  238. }
  239. //唤起微信支付
  240. const wxPayment = () => {
  241. // #ifdef MP-WEIXIN
  242. const options = {
  243. type: 2,
  244. data: {
  245. openid: state.openid,
  246. productId: state.id,
  247. orderId: state.orderId,
  248. payConfigId: wechatPayConfigId,
  249. },
  250. method: "POST",
  251. showLoading: true,
  252. };
  253. request(orderPay, options).then((res) => {
  254. const data = stringToJson(res.bizContent);
  255. uni.requestPayment({
  256. provider: "wxpay",
  257. orderInfo: "",
  258. timeStamp: data.timestamp,
  259. nonceStr: data.noncestr,
  260. package: data.wxPackage ? data.wxPackage : "",
  261. signType: data.signType,
  262. paySign: data.sign,
  263. success: function (e) {
  264. console.log("支付成功", e);
  265. checkOrder();
  266. },
  267. fail: function (err) {
  268. // checkOrder();
  269. confirm(err, () => { }, "支付失败", false);
  270. },
  271. });
  272. });
  273. // #endif
  274. };
  275. //支付成功改变订单状态
  276. const checkOrder = () => {
  277. const options = {
  278. type: 2,
  279. data: {
  280. orderId: state.orderId,
  281. payConfigId: wechatPayConfigId,
  282. },
  283. method: "POST",
  284. showLoading: true,
  285. };
  286. request(checkOrderStatus, options).then((res) => {
  287. msg("支付成功!");
  288. var pages = getCurrentPages().length;
  289. uni.$emit("refreshOrder");
  290. uni.switchTab({
  291. url: "/pages/order/order"
  292. })
  293. });
  294. };
  295. // 协议确认接口
  296. const agreementConfirm = () => {
  297. const options = {
  298. type: 2,
  299. data: {
  300. orderId: state.orderId,
  301. protocol: state.checked ? 1 : 0,
  302. },
  303. method: "POST",
  304. showLoading: true,
  305. };
  306. console.log("协议确认接口", options)
  307. request(agreementConfirmApi, options).then((res) => {
  308. console.log("确认协议", res)
  309. msg("协议确认成功");
  310. return;
  311. });
  312. };
  313. onLoad((option : any) => {
  314. state.orderId = option.orderId;
  315. state.isValueCard = option.isValueCard;
  316. console.log("传递过来的参数", option)
  317. console.log("查协议", envs[process.env.NODE_ENV].baseUrl)
  318. // state.clientFee = option.clientFee / 100;
  319. state.id = option.id;
  320. getOpenID();
  321. // const data = JSON.parse(decodeURIComponent(option.data));
  322. // for (var i = 0; i < data.length; i++) {
  323. // data['isOpened'] = 'node';
  324. // state.productMoney += data[i]['discountPrice'] / 100;
  325. // state.productId.push(data[i]['equityId'])
  326. // }
  327. // state.list = data;
  328. // queryDetailsData();
  329. refresh();
  330. if (option.url) {
  331. state.agreeURL = envs[process.env.NODE_ENV].baseUrl + option.url
  332. state.typeScanCode = option.typeScanCode
  333. console.log("state.agreeURL", state.agreeURL)
  334. } else {
  335. queryAgreement();
  336. }
  337. });
  338. const state = reactive({
  339. openid: "",
  340. orderId: "",
  341. clientFee: undefined,
  342. id: "",
  343. options2: [{
  344. text: '删除',
  345. style: {
  346. backgroundColor: '#F56C6C'
  347. }
  348. }],
  349. isOpened: 'none',
  350. list: [],
  351. productMoney: 0,
  352. allMoney: 0,
  353. productId: [],
  354. // 弹框
  355. type: 'center',
  356. msgType: 'success',
  357. messageText: '这是一条成功提示',
  358. value: '',
  359. detailsObj: '',
  360. isValueCard: "",
  361. dataArray: [],
  362. checked: false,
  363. agreeURL: "",
  364. typeScanCode: 0,//扫码进来得
  365. });
  366. const bindClick = (i) => {
  367. console.log(i);
  368. uni.showToast({
  369. title: "删除成功",
  370. icon: 'none'
  371. });
  372. state.list.splice(i, 1);
  373. state.productMoney = 0;
  374. state.productId = [];
  375. for (var k = 0; k < state.list.length; k++) {
  376. state.productMoney += state.list[k]['discountPrice'] / 100
  377. state.productId.push(state.list[k]['equityId'])
  378. }
  379. state.allMoney = (state.productMoney + state.clientFee).toFixed(2)
  380. console.log("state.productId", state.productId)
  381. };
  382. const setOpened = () => {
  383. if (state.isOpened === 'none') {
  384. state.isOpened = 'right';
  385. return;
  386. }
  387. if (state.isOpened === 'left') {
  388. state.isOpened = 'right';
  389. return;
  390. }
  391. if (state.isOpened === 'right') {
  392. state.isOpened = 'none';
  393. return;
  394. }
  395. }
  396. const change = (e) => {
  397. state.isOpened = e;
  398. }
  399. // 加购权益产品接口
  400. const queryAddProduct = () => {
  401. console.log("state.openid", state.openid);
  402. const options = {
  403. type: 2,
  404. data: {
  405. orderId: state.orderId, //订单编号
  406. openId: state.openid, //操作人 id
  407. equityId: state.productId.toString(), //权益Id
  408. totalAmount: state.allMoney * 100, //总金额
  409. isRepeatPurchase: 0
  410. },
  411. method: "POST",
  412. showLoading: true,
  413. };
  414. request(addProduct, options).then((res) => { });
  415. }
  416. const changeIsShow = (index) => {
  417. console.log(index, state.list[index]['isShow'], !state.list[index]['isShow'])
  418. state.list[index]['isShow'] = !state.list[index]['isShow']
  419. console.log("state.list", state.list)
  420. }
  421. const queryDetailsData = () => {
  422. const options = {
  423. type: 2,
  424. data: {
  425. orderId: state.orderId, //订单编号
  426. },
  427. method: "POST",
  428. showLoading: true,
  429. };
  430. request(queryDetails, options).then((res) => {
  431. state.detailsObj = stringToJson(res.bizContent);
  432. console.log("state.detailsObj", state.detailsObj)
  433. state.allMoney = (parseFloat(state.detailsObj.product.oncePrice * 0.01) + parseFloat(state.productMoney)).toFixed(2)
  434. });
  435. }
  436. // 查协议
  437. const queryAgreement = () => {
  438. const options = {
  439. type: 2,
  440. data: {
  441. orderId: state.orderId, //订单编号
  442. },
  443. method: "POST",
  444. showLoading: true,
  445. };
  446. request(getAgreementApi, options).then((res) => {
  447. let data = stringToJson(res.bizContent);
  448. state.agreeURL = envs[process.env.NODE_ENV].baseUrl + data.supAgree
  449. console.log("查协议", envs[process.env.NODE_ENV].baseUrl, data.supAgree, data)
  450. });
  451. }
  452. const checkboxChange = (e) => {
  453. state.checked = !state.checked;
  454. console.log(state.checked);
  455. };
  456. const refresh = () => {
  457. let source = ""
  458. // #ifdef MP-ALIPAY
  459. source = "ALI"
  460. // #endif
  461. // #ifdef MP-WEIXIN
  462. source = "WECHAT"
  463. // getOpenID();
  464. // #endif
  465. var data = {
  466. orderId: state.orderId,
  467. source: source //请求方来源
  468. };
  469. const options = {
  470. type: 2,
  471. data: data,
  472. method: "POST",
  473. showLoading: true,
  474. };
  475. console.log("输出内容", options);
  476. request(PAYDETECTION, options).then((res) => {
  477. // console.log(res.bizContent);
  478. const data = stringToJson(res.bizContent);
  479. console.log(data);
  480. // console.log(typeof(data));
  481. // if (data.paymentStatus == 'ALLSUCCESS') {
  482. // gotoEditUserOrUnitInfo()
  483. // }
  484. state.dataArray = data.datas;
  485. // HANDLE("办理费",1){},
  486. // MARGIN("保证金",2){},
  487. // PRESTORE("预存金",3){},
  488. // EQUITY("权益费",4){},
  489. for (let i = 0; i < state.dataArray.length; i++) {
  490. if (state.dataArray[i].payType === 'HANDLE') {
  491. state.dataArray[i].payName = '权益金'
  492. } else if (state.dataArray[i].payType === 'MARGIN') {
  493. state.dataArray[i].payName = '保证金'
  494. } else if (state.dataArray[i].payType === 'PRESTORE') {
  495. state.dataArray[i].payName = '预存金'
  496. } else if (state.dataArray[i].payType === 'EQUITY') {
  497. state.dataArray[i].payName = '权益费'
  498. } else {
  499. state.dataArray[i].payName = '未知费'
  500. }
  501. // SUCCESS("支付成功",1){},
  502. // PAYING("支付中",2){},
  503. // FAILED("支付失败",3){},
  504. // UNPAY("未支付",4){},
  505. // CLOSED("已关闭",5){},
  506. // CANCELED("已撤销",6){},
  507. // REFUND("转入退费",7){},
  508. if (state.dataArray[i].payStatus === 'SUCCESS') {
  509. state.dataArray[i].payStatusName = '已支付'
  510. } else if (state.dataArray[i].payStatus === 'PAYING') {
  511. state.dataArray[i].payStatusName = '支付中'
  512. } else if (state.dataArray[i].payStatus === 'FAILED') {
  513. state.dataArray[i].payStatusName = '支付失败'
  514. } else if (state.dataArray[i].payStatus === 'UNPAY') {
  515. state.dataArray[i].payStatusName = '未支付'
  516. } else if (state.dataArray[i].payStatus === 'CLOSED') {
  517. state.dataArray[i].payStatusName = '已关闭'
  518. } else if (state.dataArray[i].payStatus === 'CANCELED') {
  519. state.dataArray[i].payStatusName = '已撤销'
  520. } else if (state.dataArray[i].payStatus === 'REFUND') {
  521. state.dataArray[i].payStatusName = '转入退费'
  522. } else {
  523. state.dataArray[i].payStatusName = '未知'
  524. }
  525. state.allMoney += state.dataArray[i]["fee"] * 0.01
  526. }
  527. console.log("state.dataArray", state.dataArray)
  528. });
  529. }
  530. </script>
  531. <style lang="scss" scoped>
  532. .action {
  533. margin-top: 40rpx;
  534. padding-left: 20rpx;
  535. padding-right: 20rpx;
  536. padding-bottom: 30rpx;
  537. .button {
  538. height: 80rpx;
  539. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  540. border-radius: 40rpx;
  541. font-size: 32rpx;
  542. font-weight: 400;
  543. color: #ffffff;
  544. line-height: 80rpx;
  545. }
  546. }
  547. .value-wrapper {
  548. margin-top: 40rpx;
  549. padding: 0rpx 30rpx;
  550. .flex {
  551. padding: 20rpx 0rpx;
  552. display: flex;
  553. justify-content: space-between;
  554. align-items: center;
  555. .title {
  556. font-size: 28rpx;
  557. font-family: Microsoft YaHei;
  558. font-weight: 400;
  559. color: #777777;
  560. line-height: 28rpx;
  561. }
  562. .value {
  563. font-size: 28rpx;
  564. font-family: Microsoft YaHei;
  565. font-weight: 400;
  566. color: #333333;
  567. line-height: 28rpx;
  568. }
  569. .money {
  570. font-size: 36rpx;
  571. font-family: Microsoft YaHei;
  572. font-weight: 400;
  573. color: #00b38b;
  574. line-height: 36rpx;
  575. }
  576. }
  577. }
  578. .content-wrap {
  579. position: relative;
  580. margin-top: -50rpx;
  581. padding: 0rpx 30rpx;
  582. .ul-item {
  583. padding: 5px 20rpx;
  584. display: flex;
  585. align-items: center;
  586. .item-value {
  587. padding: 20rpx;
  588. position: absolute;
  589. display: flex;
  590. align-items: center;
  591. // justify-content: space-around;
  592. width: 80%;
  593. .content {
  594. width: 48%;
  595. .title {
  596. font-size: 32rpx;
  597. font-family: Microsoft YaHei;
  598. font-weight: 400;
  599. color: #ffffff;
  600. }
  601. .tip {
  602. font-size: 24rpx;
  603. font-family: Microsoft YaHei;
  604. font-weight: 400;
  605. color: #ffffff;
  606. }
  607. }
  608. }
  609. .icon-tip {
  610. width: 100rpx;
  611. height: 100rpx;
  612. }
  613. .content {
  614. margin-left: 40rpx;
  615. }
  616. }
  617. }
  618. .del_item {
  619. background-color: rgb(41, 199, 207) !important;
  620. }
  621. .content-box {
  622. background-color: rgb(41, 199, 207);
  623. line-height: 80rpx;
  624. color: white;
  625. font-size: 32rpx;
  626. border-radius: 10rpx 0 0 10rpx;
  627. padding: 20rpx;
  628. box-sizing: border-box;
  629. }
  630. ::v-deep.uni-swipe_button-text {
  631. font-size: 30rpx !important;
  632. }
  633. ::v-deep.uni-swipe_button-group {
  634. font-size: 28rpx !important;
  635. }
  636. .add_all {
  637. width: 95%;
  638. margin: 0 auto;
  639. }
  640. .uni-swipe_box {
  641. margin-bottom: 16rpx !important;
  642. }
  643. ::v-deep.uni-swipe {
  644. margin-bottom: 16rpx !important;
  645. }
  646. .imageDefault {
  647. height: 40rpx;
  648. width: 40rpx;
  649. transform: rotate(270deg);
  650. margin-right: 12rpx;
  651. color: white;
  652. }
  653. .imageChange {
  654. height: 40rpx;
  655. width: 40rpx;
  656. transform: rotate(90deg);
  657. margin-right: 12rpx;
  658. color: white;
  659. }
  660. .price {
  661. color: white;
  662. }
  663. .agreement {
  664. font-size: 30rpx;
  665. display: flex;
  666. flex-wrap: wrap;
  667. margin-top: 20rpx;
  668. align-items: center;
  669. }
  670. </style>