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.
 
 
 
 

1 lines
38 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/order.vue?b775","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/order.vue?0b17","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/order.vue?535f","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/order.vue?512f","uni-app:///user/pages/order.vue","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/order.vue?762e","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/order.vue?d665"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","parser","data","carTypeList","id","title","carTypeInd","payList","icon","is_disabled","payInd","options","balance","send_info","time_index","time","orderInfo","coupon_id","address_info","form","text","lockTap","isBus","isAgree","computed","primaryColor","subColor","configInfo","commonOptions","userInfo","mineInfo","carList","watch","console","start_time","time_str","onLoad","methods","goGroup","url","initIndex","refresh","coach_id","ser_id","address_id","car_type","Promise","service_id","bg","toPreviewImage","urls","current","initRefresh","linkpress","getIsBusCall","toChangeItem","key","index","changeNum","methodModel","param","num","checkInput","toPay","trading_rules","is_balance","channel_id","pay_list","setTimeout","openType"],"mappings":";;;;;;;;;;;;;AAAA;AAE2D;AAC3D;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/FA;AAAA;AAAA;AAAA;AAA+lB,CAAgB,ynBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;AC0OnnB;AAIA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAEA;EACAC;IACAC;EACA;EACAC;IACA;MACAC,cACA;QACAC;QACAC;MACA,GACA;QACAD;QACAC;MACA;MACAC;MACAC;QACAH;QACAI;QACAH;MACA;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","file":"user/pages/order.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './user/pages/order.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./order.vue?vue&type=template&id=4210590d&\"\nvar renderjs\nimport script from \"./order.vue?vue&type=script&lang=js&\"\nexport * from \"./order.vue?vue&type=script&lang=js&\"\nimport style0 from \"./order.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"user/pages/order.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./order.vue?vue&type=template&id=4210590d&\"","var components\ntry {\n components = {\n uIcon: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.orderInfo.coach_id\n ? _vm.orderInfo.order_goods && _vm.orderInfo.order_goods.length > 0\n : null\n var g1 = _vm.orderInfo.coach_id && g0 ? _vm.form.text.length : null\n var g2 =\n _vm.orderInfo.coach_id && g0 && !(g1 > 100) ? _vm.form.text.length : null\n var g3 =\n _vm.orderInfo.coach_id && g0\n ? _vm.configInfo.trading_rules && _vm.configInfo.trading_rules.length > 0\n : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: \"/user/pages/address/list?check=1\",\n })\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url:\n \"/user/pages/choose-time?id=\" +\n _vm.options.id +\n \"&index=\" +\n _vm.send_info.time_index,\n })\n }\n _vm.e2 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: \"/user/pages/coupon/use\",\n })\n }\n _vm.e3 = function ($event) {\n $event.stopPropagation()\n _vm.isAgree = !_vm.isAgree\n }\n _vm.e4 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.show_rule_item.open()\n }\n _vm.e5 = function ($event) {\n return _vm.$util.goUrl({\n url: \"/pages/service\",\n openType: \"reLaunch\",\n })\n }\n _vm.e6 = function ($event) {\n return _vm.$refs.show_rule_item.close()\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./order.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./order.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"order-pages\" v-if=\"orderInfo.coach_id\">\r\n\r\n\r\n\t\t<view v-if=\"orderInfo.order_goods && orderInfo.order_goods.length > 0\">\r\n\r\n\t\t\t<view @tap.stop=\"$util.goUrl({url:`/user/pages/address/list?check=1`})\"\r\n\t\t\t\tclass=\"address-info flex-warp mt-lg ml-lg mr-lg pd-lg fill-base radius-16\">\r\n\t\t\t\t<view class=\"address-icon flex-center c-base radius\"\r\n\t\t\t\t\t:style=\"{background:`linear-gradient(to right, ${subColor}, ${primaryColor})`}\"><i\r\n\t\t\t\t\t\tclass=\"iconfont iconjuli\"></i></view>\r\n\t\t\t\t<view class=\"flex-1 flex-between ml-md\">\r\n\t\t\t\t\t<view class=\"max-500\">\r\n\t\t\t\t\t\t<block v-if=\"orderInfo.address_info.id\">\r\n\t\t\t\t\t\t\t<view class=\"flex-y-baseline username c-title text-bold\">\r\n\t\t\t\t\t\t\t\t{{orderInfo.address_info.user_name}}\r\n\t\t\t\t\t\t\t\t<view class=\"ml-md f-desc c-caption\">{{orderInfo.address_info.mobile}}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"f-desc c-title ellipsis\">\r\n\t\t\t\t\t\t\t\t{{`${orderInfo.address_info.address} ${orderInfo.address_info.address_info}`}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</block>\r\n\t\t\t\t\t\t<block v-else>\r\n\t\t\t\t\t\t\t<view class=\"username c-title text-bold\">请选择地址</view>\r\n\t\t\t\t\t\t</block>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<i class=\"iconfont icon-right\"></i>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\r\n\t\t\t<view class=\"mt-md ml-lg mr-lg fill-base radius-16\">\r\n\t\t\t\t<view\r\n\t\t\t\t\t@tap.stop=\"$util.goUrl({url:`/user/pages/choose-time?id=${options.id}&index=${send_info.time_index}`})\"\r\n\t\t\t\t\tclass=\"flex-between pt-lg pb-lg pl-lg pr-md b-1px-b\">\r\n\t\t\t\t\t<view class=\"f-title c-title text-bold\">服务时间</view>\r\n\t\t\t\t\t<view class=\"flex-y-center f-paragraph c-caption ml-sm\">\r\n\t\t\t\t\t\t<view class=\"c-caption mr-sm\">{{send_info.time.time || '请选择预约时间'}}</view>\r\n\t\t\t\t\t\t<i class=\"iconfont icon-right\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flex-between pd-lg\">\r\n\t\t\t\t\t<view class=\"f-title c-title text-bold\">出行方式</view>\r\n\t\t\t\t\t<view class=\"flex-center\">\r\n\t\t\t\t\t\t<view @tap.stop=\"toChangeItem(index)\" class=\"flex-y-center\" :class=\"[{'mr-lg':index==0}]\"\r\n\t\t\t\t\t\t\t:style=\"{color:carTypeInd == index ? primaryColor:''}\" v-for=\"(item,index) in carTypeList\"\r\n\t\t\t\t\t\t\tv-show=\"item.id == 1 || (isBus == 1 && item.id == 0)\" :key=\"index\"><i\r\n\t\t\t\t\t\t\t\tclass=\"iconfont icon-xuanze mr-sm\"\r\n\t\t\t\t\t\t\t\t:class=\"[{'icon-xuanze-fill':carTypeInd == index}]\"></i>{{item.title}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mt-md ml-lg mr-lg fill-base radius-16\">\r\n\t\t\t\t<view class=\"list-item flex-center pd-lg\" :class=\"[{'b-1px-t':index!=0}]\"\r\n\t\t\t\t\tv-for=\"(item,index) in orderInfo.order_goods\" :key=\"index\">\r\n\t\t\t\t\t<image mode=\"aspectFill\" class=\"item-img radius-16\" :src=\"item.cover\"></image>\r\n\t\t\t\t\t<view class=\"flex-1 ml-md\">\r\n\t\t\t\t\t\t<view class=\"f-title c-title ellipsis\">{{item.title}}</view>\r\n\t\t\t\t\t\t<view class=\"flex-y-center f-desc c-caption\">\r\n\t\t\t\t\t\t\t<view class=\"f-title c-warning mr-sm\">¥{{item.price}}</view>/ {{item.time_long}}分钟\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t<view class=\"f-caption c-caption mt-sm mb-sm max-300\">\r\n\t\t\t\t\t\t\t\t服务技师:{{orderInfo.coach_info.coach_name}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"flex-warp\">\r\n\t\t\t\t\t\t\t\t<button @tap.stop=\"changeNum(-1,index)\" class=\"reduce\"\r\n\t\t\t\t\t\t\t\t\t:style=\"{borderColor:primaryColor,color:primaryColor}\"><i\r\n\t\t\t\t\t\t\t\t\t\tclass=\"iconfont icon-jian-bold\"></i></button>\r\n\t\t\t\t\t\t\t\t<button class=\"addreduce clear-btn\">{{item.num || 0}}</button>\r\n\t\t\t\t\t\t\t\t</block>\r\n\t\t\t\t\t\t\t\t<button @tap.stop=\"changeNum(1,index)\" class=\"add\"\r\n\t\t\t\t\t\t\t\t\t:style=\"{background:primaryColor,borderColor:primaryColor}\"><i\r\n\t\t\t\t\t\t\t\t\t\tclass=\"iconfont icon-jia-bold\"></i></button>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mt-md ml-lg mr-lg pd-lg fill-base radius-16\">\r\n\t\t\t\t<view class=\"flex-between pb-lg\">\r\n\t\t\t\t\t<view class=\"flex-y-baseline\">\r\n\t\t\t\t\t\t<view class=\"f-title c-title text-bold\">技师简介</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tags\">\r\n\t\t\t\t\t<view class=\"tagItem\">\r\n\t\t\t\t\t\t<u-icon name=\"checkmark-circle\" color=\"#17C161\" size=\"20\"></u-icon>\r\n\t\t\t\t\t\t<text>爽约包退</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tagItem\" @click=\"goGroup(orderInfo.coach_info)\">\r\n\t\t\t\t\t\t<u-icon name=\"checkmark-circle\" color=\"#17C161\" size=\"20\"></u-icon>\r\n\t\t\t\t\t\t<text>实名认证</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tagItem\">\r\n\t\t\t\t\t\t<u-icon name=\"checkmark-circle\" color=\"#17C161\" size=\"20\"></u-icon>\r\n\t\t\t\t\t\t<text>资质证书</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"f-caption c-caption radius-16\">\r\n\t\t\t\t\t<view class=\"subtitle\">\r\n\t\t\t\t\t\t基本信息\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text class=\"c-paragraph\" decode=\"emsp\" style=\"word-break:break-all;\">\r\n\t\t\t\t\t{{orderInfo.coach_info.coach_name}}:{{orderInfo.coach_info.text}}</text>\r\n\t\t\t\t\t<!-- <view class=\"subtitle\">\r\n\t\t\t\t\t\t实名认证\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"imageContent\">\r\n\t\t\t\t\t\t<image @tap.stop=\"toPreviewImage(index,'license')\" mode=\"aspectFill\" class=\"img-item-mini radius-16\"\r\n\t\t\t\t\t\t\t:src=\"item\" v-for=\"(item,index) in orderInfo.coach_info.license\" :key=\"index\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t<!-- \t<view class=\"subtitle\">\r\n\t\t\t\t\t\t资质证书\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"imageContent\">\r\n\t\t\t\t\t\t<image @tap.stop=\"toPreviewImage(index,'license')\" mode=\"aspectFill\" class=\"img-item-mini radius-16\"\r\n\t\t\t\t\t\t\t:src=\"item\" v-for=\"(item,index) in orderInfo.coach_info.license\" :key=\"index\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t\t<!-- <view class=\"subtitle\">\r\n\t\t\t\t\t\t实名认证\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"imageContent\">\r\n\t\t\t\t\t\t<image @tap.stop=\"toPreviewImage(index,'license')\" mode=\"aspectFill\" class=\"img-item-mini radius-16\"\r\n\t\t\t\t\t\t\t:src=\"item\" v-for=\"(item,index) in orderInfo.coach_info.id_card\" :key=\"index\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t -->\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mt-md ml-lg mr-lg fill-base radius-16\">\r\n\t\t\t\t<view @tap.stop=\"$util.goUrl({url:`/user/pages/coupon/use`})\"\r\n\t\t\t\t\tclass=\"flex-between pt-lg pb-lg pl-lg pr-md\"\r\n\t\t\t\t\t:class=\"[{'b-1px-b':carTypeList[carTypeInd].id === 1}]\">\r\n\t\t\t\t\t<view class=\"f-title c-title text-bold\">卡券优惠</view>\r\n\t\t\t\t\t<view class=\"flex-y-center f-paragraph c-caption ml-sm\">\r\n\t\t\t\t\t\t<view class=\"c-warning mr-sm\">\r\n\t\t\t\t\t\t\t{{orderInfo.discount ? `-¥${orderInfo.discount}` : `${orderInfo.canUseCoupon}张可用`}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<i class=\"iconfont icon-right\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<block v-if=\"carTypeList[carTypeInd].id === 1\">\r\n\t\t\t\t\t<view class=\"flex-between pd-lg\">\r\n\t\t\t\t\t\t<view class=\"f-title c-title text-bold\">往返车费</view>\r\n\t\t\t\t\t\t<view class=\"f-paragraph c-caption c-warning\">¥{{orderInfo.car_price}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"pl-lg pr-lg pb-lg f-caption c-caption\">\r\n\t\t\t\t\t\t全程共{{orderInfo.distance}},出租出行{{orderInfo.car_config.start_distance}}公里内,起步{{orderInfo.car_config.start_price}}元。里程计价:{{orderInfo.car_config.distance_price}}元/公里\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</block>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"mt-md ml-lg mr-lg pd-lg fill-base radius-16\">\r\n\t\t\t\t<view class=\"flex-between pb-lg\">\r\n\t\t\t\t\t<view class=\"flex-y-baseline\">\r\n\t\t\t\t\t\t<view class=\"f-title c-title text-bold\">订单备注</view>\r\n\t\t\t\t\t\t<view class=\"f-paragraph c-caption ml-sm\">(选填)</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"f-caption c-caption fill-body radius-16\">\r\n\t\t\t\t\t<textarea v-model=\"form.text\" class=\"item-textarea f-paragraph pd-lg\"\r\n\t\t\t\t\t\tplaceholder-class=\"f-paragraph\" maxlength=\"100\" placeholder=\"输入订单备注\" />\r\n\t\t\t\t\t<view class=\"text-right pb-lg pr-lg\">{{form.text.length>100?100:form.text.length}}/100\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\r\n\t\t\t<view class=\"mt-md ml-lg mr-lg fill-base radius-16\">\r\n\t\t\t\t<view @tap.stop=\"toChangeItem(index,2)\" class=\"flex-between pt-lg pb-lg pl-lg pr-md b-1px-b\"\r\n\t\t\t\t\tv-for=\"(item,index) in payList\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"flex-y-center f-title c-title\">\r\n\t\t\t\t\t\t<i class=\"iconfont mr-md\" :class=\"item.icon\"\r\n\t\t\t\t\t\t\t:style=\"{color:item.id==1?primaryColor:'',fontSize:'50rpx'}\"></i>\r\n\t\t\t\t\t\t{{item.title}}\r\n\t\t\t\t\t\t<view class=\"f-paragraph c-caption ml-md\" v-if=\"item.id == 1\">余额{{balance || 0}}元</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-y-center\" :style=\"{color:payInd == index ? primaryColor:''}\">\r\n\t\t\t\t\t\t<i class=\"iconfont icon-xuanze mr-sm\" :class=\"[{'icon-xuanze-fill':payInd == index}]\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\r\n\t\t\t<view @tap.stop=\"isAgree=!isAgree\"\r\n\t\t\t\tclass=\"mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-title flex-y-center radius-16\"\r\n\t\t\t\tv-if=\"configInfo.trading_rules && configInfo.trading_rules.length>0\">\r\n\t\t\t\t<i class=\"iconfont mr-sm\" :class=\"isAgree?'icon-xuanze-fill':'icon-xuanze'\"\r\n\t\t\t\t\t:style=\"{color:isAgree?primaryColor:''}\"></i>\r\n\t\t\t\t我已阅读并同意<view @tap.stop=\"$refs.show_rule_item.open()\" :style=\"{color:primaryColor}\">《平台交易规则》</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"space-max-footer\"></view>\r\n\r\n\t\t\t<view class=\"pay-info fix flex-between text-right pl-lg pr-lg fill-base\">\r\n\t\t\t\t<view class=\"flex-y-center f-paragraph c-title text-bold ml-sm mr-lg\">合计:\r\n\t\t\t\t\t<view class=\"flex-y-baseline f-title c-warning\">¥{{orderInfo.pay_price}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<auth :needAuth=\"userInfo && (!userInfo.phone || !userInfo.nickName)\" :must=\"true\"\r\n\t\t\t\t\t:type=\"!userInfo.phone ? 'phone' : 'userInfo'\" @go=\"toPay\" style=\"width: 182rpx;\">\r\n\t\t\t\t\t<view class=\"pay-btn flex-center f-paragraph c-base radius\" :style=\"{background:primaryColor}\">\r\n\t\t\t\t\t\t立即支付</view>\r\n\t\t\t\t</auth>\r\n\t\t\t</view>\r\n\r\n\r\n\t\t</view>\r\n\r\n\t\t<abnor @confirm=\"$util.goUrl({url:`/pages/service`,openType:`reLaunch`})\" :tip=\"[{ text: '该服务已下架~', color: 0 }]\"\r\n\t\t\t:button=\"[{ text: '去看看其他服务' , type: 'confirm' }]\" btnSize=\"\" v-else>\r\n\t\t</abnor>\r\n\r\n\t\t<uni-popup ref=\"show_rule_item\" type=\"center\" :maskClick=\"false\">\r\n\t\t\t<view class=\"popup-rule\">\r\n\t\t\t\t<view class=\"fill-base pd-lg radius-26\">\r\n\t\t\t\t\t<view class=\"f-title c-title text-bold flex-center pd-lg\">平台交易规则</view>\r\n\t\t\t\t\t<scroll-view scroll-y @touchmove.stop.prevent class=\"rule-text\">\r\n\t\t\t\t\t\t<parser :html=\"configInfo.trading_rules\" @linkpress=\"linkpress\" show-with-animation lazy-load>\r\n\t\t\t\t\t\t\t加载中...\r\n\t\t\t\t\t\t</parser>\r\n\t\t\t\t\t</scroll-view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap=\"$refs.show_rule_item.close()\" class=\"flex-center pd-lg\"><i\r\n\t\t\t\t\t\tclass=\"iconfont icon-close c-base\"></i></view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\timport parser from \"@/components/jyf-Parser/index\"\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tparser\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcarTypeList: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 1,\r\n\t\t\t\t\t\ttitle: '出租车'\r\n\t\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\tid: 0,\r\n\t\t\t\t\ttitle: '公交/地铁'\r\n\t\t\t\t}, ],\r\n\t\t\t\tcarTypeInd: 0,\r\n\t\t\t\tpayList: [{\r\n\t\t\t\t\tid: 0,\r\n\t\t\t\t\ticon: 'iconweixinzhifu1 c-success',\r\n\t\t\t\t\ttitle: '微信支付'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\ticon: 'iconqianbao',\r\n\t\t\t\t\ttitle: '账户余额',\r\n\t\t\t\t\tis_disabled: false\r\n\t\t\t\t}],\r\n\t\t\t\tpayInd: 0,\r\n\t\t\t\toptions: {},\r\n\t\t\t\tbalance: 0,\r\n\t\t\t\tsend_info: {\r\n\t\t\t\t\ttime_index: 0,\r\n\t\t\t\t\ttime: {}\r\n\t\t\t\t},\r\n\t\t\t\torderInfo: {\r\n\t\t\t\t\tcoupon_id: 0,\r\n\t\t\t\t\taddress_info: {\r\n\t\t\t\t\t\tid: 0\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tform: {\r\n\t\t\t\t\ttext: ''\r\n\t\t\t\t},\r\n\t\t\t\tlockTap: false,\r\n\t\t\t\tisBus: 0,\r\n\t\t\t\tisAgree: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tsubColor: state => state.config.configInfo.subColor,\r\n\t\t\tconfigInfo: state => state.config.configInfo,\r\n\t\t\tcommonOptions: state => state.user.commonOptions,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t\tmineInfo: state => state.user.mineInfo,\r\n\t\t\tcarList: state => state.order.carList,\r\n\t\t}),\r\n\t\twatch: {\r\n\t\t\t'send_info.time.time'(value) {\r\n\t\t\t\tconsole.log(value, \"time\")\r\n\t\t\t\tlet {\r\n\t\t\t\t\ttime_str: start_time\r\n\t\t\t\t} = this.send_info.time\r\n\t\t\t\tconsole.log(start_time)\r\n\t\t\t\tthis.getIsBusCall(start_time)\r\n\t\t\t}\r\n\t\t},\r\n\t\tasync onLoad(options) {\r\n\t\t\tthis.options = options\r\n\t\t\tawait this.initIndex()\r\n\t\t\tthis.getIsBusCall('')\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getConfigInfo', 'getMineInfo', 'getCarList']),\r\n\t\t\t...mapMutations(['updateUserItem']),\r\n\t\t\tgoGroup(item){\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl:'/user/pages/myGroup/myGroup?isGroup=false&company_id='+item.company_id\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (!refresh && this.$jweixin.isWechat()) {\r\n\t\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t\tconsole.log(this.configInfo,\"999\")\r\n\t\t\t\tif (!this.configInfo.id || refresh) {\r\n\t\t\t\t\tawait this.getConfigInfo()\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id,\r\n\t\t\t\t\tser_id = 0\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet {\r\n\t\t\t\t\tcoupon_id,\r\n\t\t\t\t\taddress_info\r\n\t\t\t\t} = this.orderInfo\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: address_id\r\n\t\t\t\t} = address_info\r\n\t\t\t\tif (!address_id) {\r\n\t\t\t\t\tlet address_info = await this.$api.mine.getDefultAddress()\r\n\t\t\t\t\taddress_id = address_info && address_info.id ? address_info.id : null\r\n\t\t\t\t}\r\n\t\t\t\tlet car_type = this.carTypeList[this.carTypeInd].id\r\n\t\t\t\tlet [data, mineInfo] = await Promise.all([this.$api.order.payOrderInfo({\r\n\t\t\t\t\tservice_id: ser_id,\r\n\t\t\t\t\tcoach_id,\r\n\t\t\t\t\tcar_type,\r\n\t\t\t\t\tcoupon_id,\r\n\t\t\t\t\taddress_id\r\n\t\t\t\t}), this.getMineInfo()])\r\n\t\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\t\tbg: this.primaryColor\r\n\t\t\t\t})\r\n\t\t\t\tdata.address_info = data.address_info.id ? data.address_info : {}\r\n\t\t\t\tthis.orderInfo = data\r\n\t\t\t\tlet {\r\n\t\t\t\t\tbalance\r\n\t\t\t\t} = this.mineInfo\r\n\t\t\t\tthis.payList[1].is_disabled = balance * 1 < this.orderInfo.pay_price * 1\r\n\t\t\t\tthis.balance = balance\r\n\t\t\t},\r\n\t\t\ttoPreviewImage(index, key = 0) {\r\n\t\t\t\tlet urls = this.orderInfo.coach_info[key]\r\n\t\t\t\tif (key == 'work_img'||key == 'healthy_img') {\r\n\t\t\t\t\turls = [urls]\r\n\t\t\t\t}\r\n\t\t\t\tthis.$util.previewImage({\r\n\t\t\t\t\tcurrent: urls[index],\r\n\t\t\t\t\turls\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.initIndex(true)\r\n\t\t\t},\r\n\t\t\tlinkpress(res) {\r\n\t\t\t\tconsole.log(\"linkpress\", res);\r\n\t\t\t\t// #ifdef APP-PLUS\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl: res.href,\r\n\t\t\t\t\topenType: 'web'\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tasync getIsBusCall(start_time) {\r\n\t\t\t\tthis.isBus = await this.$api.mine.getIsBus({\r\n\t\t\t\t\tstart_time\r\n\t\t\t\t})\r\n\t\t\t\tif (this.isBus == 0) {\r\n\t\t\t\t\tthis.carTypeInd = 0\r\n\t\t\t\t\tawait this.initRefresh()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 选择出行方式/支付方式\r\n\t\t\tasync toChangeItem(index, key = 1) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\taddress_info\r\n\t\t\t\t} = this.orderInfo\r\n\t\t\t\tif (key == 1) {\r\n\t\t\t\t\tif (index == 1 && !address_info.id) {\r\n\t\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\t\ttitle: `请选择地址`\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (index == 1 && !this.send_info.time.time) {\r\n\t\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\t\ttitle: `请选择时间`\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.carTypeInd = index\r\n\t\t\t\t\tawait this.initRefresh()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (index == 1 && this.payList[1].is_disabled) return\r\n\t\t\t\t\tthis.payInd = index\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 加/减数量\r\n\t\t\tasync changeNum(mol, index) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\tservice_id\r\n\t\t\t\t} = this.orderInfo.order_goods[index]\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.options\r\n\t\t\t\tif (this.lockTap) return;\r\n\t\t\t\tthis.lockTap = true;\r\n\t\t\t\tlet methodModel = mol > 0 ? 'addCar' : 'delCar'\r\n\t\t\t\tlet param = mol > 0 ? {\r\n\t\t\t\t\tservice_id,\r\n\t\t\t\t\tcoach_id,\r\n\t\t\t\t\tnum: 1\r\n\t\t\t\t} : {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\tnum: 1\r\n\t\t\t\t}\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet changeNum = await this.$api.order[methodModel](param)\r\n\t\t\t\t\tawait this.getCarList({\r\n\t\t\t\t\t\tcoach_id\r\n\t\t\t\t\t})\r\n\t\t\t\t\tawait this.initRefresh()\r\n\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcheckInput(e, key) {\r\n\t\t\t\tlet val = this.$util.formatMoney(e.detail.value)\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis.form[key] = val\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync toPay() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tcoupon_id = 0,\r\n\t\t\t\t\t\taddress_info = {}\r\n\t\t\t\t} = this.orderInfo\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: address_id\r\n\t\t\t\t} = address_info\r\n\t\t\t\tif (!address_id) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `请选择地址`\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tcarTypeList,\r\n\t\t\t\t\tcarTypeInd,\r\n\t\t\t\t\tpayList,\r\n\t\t\t\t\tpayInd,\r\n\t\t\t\t\tsend_info\r\n\t\t\t\t} = this\r\n\t\t\t\tif (!send_info.time_index) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `请选择时间`\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\ttrading_rules\r\n\t\t\t\t} = this.configInfo\r\n\t\t\t\tif (trading_rules && trading_rules.length > 0 && !this.isAgree) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `请先阅读并同意《平台交易规则》`\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: car_type\r\n\t\t\t\t} = carTypeList[carTypeInd]\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: is_balance\r\n\t\t\t\t} = payList[payInd]\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet {\r\n\t\t\t\t\ttime_str: start_time\r\n\t\t\t\t} = send_info.time\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tchannel_id = 0\r\n\t\t\t\t} = this.commonOptions\r\n\t\t\t\tlet param = this.$util.deepCopy(this.form)\r\n\t\t\t\tparam = Object.assign({}, param, {\r\n\t\t\t\t\tcoach_id,\r\n\t\t\t\t\tcoupon_id,\r\n\t\t\t\t\taddress_id,\r\n\t\t\t\t\tcar_type,\r\n\t\t\t\t\tis_balance,\r\n\t\t\t\t\tstart_time,\r\n\t\t\t\t\tchannel_id\r\n\t\t\t\t})\r\n\t\t\t\tif (this.lockTap) return\r\n\t\t\t\tthis.lockTap = true\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tpay_list\r\n\t\t\t\t\t} = await this.$api.order.payOrder(param)\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\tif (pay_list) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tawait this.$util.pay(pay_list)\r\n\t\t\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\t\t\ttitle: `支付成功`\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\t\t\t\turl: '/pages/order?tab=2',\r\n\t\t\t\t\t\t\t\t\topenType: `reLaunch`\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}, 1000)\r\n\t\t\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\t\t\ttitle: `支付失败`\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\t\t\t\turl: '/pages/order?tab=1',\r\n\t\t\t\t\t\t\t\t\topenType: `reLaunch`\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}, 1000)\r\n\t\t\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `支付成功`\r\n\t\t\t\t\t})\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\t\turl: '/pages/order?tab=2',\r\n\t\t\t\t\t\t\topenType: `reLaunch`\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 1000)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tconsole.log(e,\"iiii\")\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\t}, 2000)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\">\r\n\t.order-pages {\r\n\t\t.list-item {\r\n\t\t\t.item-img {\r\n\t\t\t\twidth: 140rpx;\r\n\t\t\t\theight: 140rpx;\r\n\t\t\t\tbackground: #f4f6f8;\r\n\t\t\t}\r\n\r\n\t\t\t.ellipsis {\r\n\t\t\t\tmax-width: 466rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.item-tag {\r\n\t\t\t\twidth: 100rpx;\r\n\t\t\t\theight: 36rpx;\r\n\t\t\t\tmargin-top: -18rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.iconyduixingxingshixin {\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.item-btn {\r\n\t\t\t\twidth: 129rpx;\r\n\t\t\t\theight: 54rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.pay-info {\r\n\t\t\theight: 110rpx;\r\n\t\t\tbottom: 0;\r\n\t\t\theight: calc(110rpx + env(safe-area-inset-bottom) / 2);\r\n\t\t\tpadding-bottom: calc(env(safe-area-inset-bottom) / 2);\r\n\r\n\t\t\t.pay-btn {\r\n\t\t\t\twidth: 182rpx;\r\n\t\t\t\theight: 74rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.popup-rule {\r\n\t\t\twidth: 680rpx;\r\n\t\t\theight: auto;\r\n\r\n\t\t\t.rule-text {\r\n\t\t\t\tmin-height: 300rpx;\r\n\t\t\t\tmax-height: 60vh;\r\n\t\t\t}\r\n\r\n\t\t\t.iconfont {\r\n\t\t\t\tfont-size: 60rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.subtitle{\r\n\t\tfont-size:32upx;\r\n\t\tcolor: #232A24;\r\n\t\tmargin:20upx 0;\r\n\t}\r\n\t.imageContent{\r\n\t\tdisplay:flex;\r\n\t\t.img-item-mini{\r\n\t\t\tmargin:0 10upx;\r\n\t\t\twidth: 200upx;\r\n\t\t\theight: 200upx;\r\n\t\t}\r\n\t}\r\n\t.tags{\r\n\t\tbackground: rgba(23,193,97,0.3);\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-around;\r\n\t\t// margin:0 20rpx;\r\n\t\tpadding:20rpx 0;\r\n\t\tborder-radius:20rpx;\r\n\t\t.tagItem{\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t\ttext{\r\n\t\t\tfont-size:24rpx;\r\n\t\t\tmargin-left:10rpx;\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./order.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./order.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1693382500042\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}