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
25 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/coupon/coupon.vue?fbfe","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/coupon/coupon.vue?14f0","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/coupon/coupon.vue?6474","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/coupon/coupon.vue?91e1","uni-app:///pages/coupon/coupon.vue","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/coupon/coupon.vue?1519"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","render","_vm","this","_h","$createElement","g0","_self","_c","couponValidList","length","g1","mycouponvalidList","g2","g3","$mp","data","Object","assign","$root","recyclableRender","staticRenderFns","_withStripped","headerTop","typeClass","subState","theIndex","oldIndex","isStop","fromchoose","allmoney","yid","onPageScroll","onPullDownRefresh","setTimeout","uni","onLoad","methods","dogetcoupon","title","chooseit","console","icon","getApp","delta","couponlist","getuserinfo","action","uid","aid","info","mycouponlist","getcoupon","id","duration","switchType","scrollTop"],"mappings":"8IAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,KACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,0BACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eAETC,GADKJ,EAAIK,MAAMC,GACVN,EAAIO,gBAAgBC,QACzBC,EAAKT,EAAIU,kBAAkBF,OAC3BG,EAAKX,EAAIO,gBAAgBC,OACzBI,EAAKZ,EAAIU,kBAAkBF,OAC/BR,EAAIa,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACLb,GAAIA,EACJK,GAAIA,EACJE,GAAIA,EACJC,GAAIA,MAKRM,GAAmB,EACnBC,EAAkB,GACtBpB,EAAOqB,eAAgB,G,iCCvBvB,yHAA+vB,eAAG,G,kKC0FlwB,CACAN,gBACA,OACAP,mBACAG,qBACAW,YAEAC,kBACAC,YACAC,cACAC,cACAC,UACAC,aACAC,WACAC,QAGAC,2BAIAC,6BACAC,uBACAC,0BACA,MAEAC,mBACA,uCACA,mCACA,iCAYA,kBACA,qBAEAC,SAEAC,wBACAH,eAAAI,iBACA,mBAGAC,2BAEA,MACAC,uEACAA,kDACA,wEACAN,aACAI,0BAAAG,eAGAC,0BACAA,8BACAA,6BACAR,gBACAS,aAIAD,0BACAA,8BACAA,6BACAR,gBACAS,YAOAC,sBAAA,4IACA,OAAAC,+BAAA,SACA,iCAAAC,oBAAAC,UAAAC,WAAA,qBAAAC,SACA,mEAHA,IAMAC,wBAAA,4IACA,OAAAL,+BAAA,SACA,qBAAAC,sBAAAC,UAAAC,YAAA,OAAAC,SACA,qEAHA,IAKAE,sBAAA,4IACA,OAAAN,+BAAA,SACA,kBAAAC,mBAAAC,UAAAK,KAAAJ,YAAA,OAAAC,SACA,WACAf,gBACAA,aACAI,aAAAG,YAAAY,eAEA,gBAEAnB,aACAI,aAAAG,YAAAY,gBAEA,0CAbA,IAeAC,uBAAA,WACA,kBACA,oBACA,oBAGApB,gBACAqB,YACAF,aAEA,iBACA,6CACApB,uBACA,gBACA,gBACA,gDACA,SAMA,c,6DC1NA,yHAA05C,eAAG,G","file":"pages/coupon/coupon.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/coupon/coupon.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./coupon.vue?vue&type=template&id=032f11f4&\"\nvar renderjs\nimport script from \"./coupon.vue?vue&type=script&lang=js&\"\nexport * from \"./coupon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./coupon.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../HBuilderX.2.7.9.20200527/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 = \"pages/coupon/coupon.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coupon.vue?vue&type=template&id=032f11f4&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.couponValidList.length\n var g1 = _vm.mycouponvalidList.length\n var g2 = _vm.couponValidList.length\n var g3 = _vm.mycouponvalidList.length\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 \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coupon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coupon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"tabr\" :style=\"{top:headerTop}\">\r\n\t\t\t<view :class=\"{on:typeClass=='valid'}\" @tap=\"switchType('valid')\">待领取({{couponValidList.length}})</view><view :class=\"{on:typeClass=='invalid'}\" @tap=\"switchType('invalid')\">我的优惠券({{mycouponvalidList.length}})</view>\r\n\t\t\t<view class=\"border\" :class=\"typeClass\"></view>\r\n\t\t</view>\r\n\t\t<view class=\"place\" ></view>\r\n\t\t<view class=\"list\">\r\n\t\t\t<!-- 优惠券列表 -->\r\n\t\t\t<view class=\"sub-list valid\" :class=\"subState\">\r\n\t\t\t\t<view class=\"tis\" v-if=\"couponValidList.length==0\">暂无可领优惠券~</view>\r\n\t\t\t\t<view class=\"row\" v-for=\"(row,index) in couponValidList\" :key=\"index\" >\r\n\t\t\t\t\t\r\n\t\t\t\t\t<!-- content -->\r\n\t\t\t\t\t<view class=\"carrier\" :class=\"[typeClass=='valid'?theIndex==index?'open':oldIndex==index?'close':'':'']\">\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t\t\t\t{{row.lx}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"term\">\r\n\t\t\t\t\t\t\t\t{{row.brq}} ~ {{row.erq}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"gap-top\"></view>\r\n\t\t\t\t\t\t\t<view class=\"gap-bottom\"></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"right\" @click=\"dogetcoupon(row.id)\">\r\n\t\t\t\t\t\t \t<view class=\"ticket\">\r\n\t\t\t\t\t\t\t\t<view class=\"num\">\r\n\t\t\t\t\t\t\t\t\t{{row.jine}}\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"unit\">元</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"criteria\">\r\n\t\t\t\t\t\t\t\t满{{row.manjine}}使用\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"use\">\r\n\t\t\t\t\t\t\t\t立即领取\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=\"sub-list invalid\" :class=\"subState\">\r\n\t\t\t\t<view class=\"tis\" v-if=\"mycouponvalidList.length==0\">暂无优惠券哦~</view>\r\n\t\t\t\t<view class=\"row\" v-for=\"(row,index) in mycouponvalidList\" :key=\"index\" >\r\n\t\t\t\t\t\r\n\t\t\t\t\t<!-- content -->\r\n\t\t\t\t\t<view class=\"carrier\" :class=\"[typeClass=='invalid'?theIndex==index?'open':oldIndex==index?'close':'':'']\" >\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t\t\t\t{{row.lx}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"term\">\r\n\t\t\t\t\t\t\t\t{{row.brq}} ~ {{row.erq}}\r\n\t\t\t\t\t\t\t\t<view v-if=\"row.number>1\" class=\"shengyu\">剩余{{row.number}}张</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<!-- <view class=\"icon shixiao\">\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t\t\t<view class=\"gap-top\"></view>\r\n\t\t\t\t\t\t\t<view class=\"gap-bottom\"></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"right invalid\">\r\n\t\t\t\t\t\t\t<view class=\"ticket\">\r\n\t\t\t\t\t\t\t\t<view class=\"num\">\r\n\t\t\t\t\t\t\t\t\t{{row.jine}}\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"unit\">\r\n\t\t\t\t\t\t\t\t\t元\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"criteria\">\r\n\t\t\t\t\t\t\t\t满{{row.manjine}}使用\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"use\" v-if=\"fromchoose==1\" >\r\n\t\t\t\t\t\t\t\t<span v-if=\"row.id==yid\" @tap=\"chooseit(row.id,row.jine,row.manjine,0)\" style=\"color: red;\">取消</span>\r\n\t\t\t\t\t\t\t\t<span v-else @tap=\"chooseit(row.id,row.jine,row.manjine,1)\">选择</span>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"use\" v-else>待使用</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</view>\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcouponValidList:[],\r\n\t\t\t\tmycouponvalidList:[],\r\n\t\t\t\theaderTop:0,\r\n\t\t\t\t//控制滑动效果\r\n\t\t\t\ttypeClass:'valid',\r\n\t\t\t\tsubState:'',\r\n\t\t\t\ttheIndex:null,\r\n\t\t\t\toldIndex:null,\r\n\t\t\t\tisStop:false,\r\n\t\t\t\tfromchoose:0,//是否过来选择优惠券的\r\n\t\t\t\tallmoney:0,//订单金额\r\n\t\t\t\tyid:0,//已选中的优惠券id\r\n\t\t\t}\r\n\t\t},\r\n\t\tonPageScroll(e){\r\n\t\t\t\r\n\t\t},\r\n\t\t//下拉刷新,需要自己在page.json文件中配置开启页面下拉刷新 \"enablePullDownRefresh\": true\r\n\t\tonPullDownRefresh() {\r\n\t\t setTimeout(function () {\r\n\t\t uni.stopPullDownRefresh();\r\n\t\t }, 1000);\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.fromchoose=parseInt(option.fromchoose);\r\n\t\t\tthis.allmoney=parseInt(option.allmoney);\r\n\t\t\tthis.yid=getApp().globalData.yid;\r\n\t\t\t//兼容H5下排序栏位置\r\n\t\t\t// #ifdef H5\r\n\t\t\t\t//定时器方式循环获取高度为止,这么写的原因是onLoad中head未必已经渲染出来。\r\n\t\t\t\tlet Timer = setInterval(()=>{\r\n\t\t\t\t\tlet uniHead = document.getElementsByTagName('uni-page-head');\r\n\t\t\t\t\tif(uniHead.length>0){\r\n\t\t\t\t\t\tthis.headerTop = uniHead[0].offsetHeight+'px';\r\n\t\t\t\t\t\tclearInterval(Timer);//清除定时器\r\n\t\t\t\t\t}\r\n\t\t\t\t},1);\r\n\t\t\t// #endif\r\n\t\t\tthis.couponlist();\r\n\t\t\tthis.mycouponlist();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//领取优惠券\r\n\t\t\tdogetcoupon(id){\r\n\t\t\t\tuni.showLoading({title: '领取中...'});\r\n\t\t\t\tthis.getcoupon(id)\r\n\t\t\t},\r\n\t\t\t//选择该优惠券\r\n\t\t\tchooseit(id,jine,maxjine,type){\r\n\t\t\t\t\r\n\t\t\t\tif(type==1){\r\n\t\t\t\t\tconsole.log(Number(parseFloat(this.allmoney*100)/100),'this.allmoney')\r\n\t\t\t\t\tconsole.log(Number(parseFloat(jine*100)/100),'jine')\r\n\t\t\t\t\tif(Number((parseFloat(maxjine*100)/100))>Number((parseFloat(this.allmoney*100)/100))){\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:'订单金额不满'+maxjine+'元,不可使用',icon:'none'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tgetApp().globalData.yid=id;\r\n\t\t\t\t\t\tgetApp().globalData.yhqjine=jine;\r\n\t\t\t\t\t\tgetApp().globalData.useyhq=0;\r\n\t\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\t\tdelta:1\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\tgetApp().globalData.yid=0;\r\n\t\t\t\t\tgetApp().globalData.yhqjine=0;\r\n\t\t\t\t\tgetApp().globalData.useyhq=0;\r\n\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\tdelta:1\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t//获取优惠券列表\r\n\t\t\tasync couponlist(){\r\n\t\t\t\tlet getuserinfo=uni.getStorageSync('userinfo');\r\n\t\t\t\tlet info= await this.$api.couponlist({action:'couponlist',uid:getuserinfo.uid,aid:getuserinfo.aid,aid:getuserinfo.aid});\r\n\t\t\t\tthis.couponValidList=info.data;\r\n\t\t\t},\r\n\t\t\t//获取我的优惠券\r\n\t\t\tasync mycouponlist(){\r\n\t\t\t\tlet getuserinfo=uni.getStorageSync('userinfo');\r\n\t\t\t\tlet info= await this.$api.mycouponlist({action:'mycouponlist',uid:getuserinfo.uid,aid:getuserinfo.aid});\r\n\t\t\t\tthis.mycouponvalidList=info.data;\r\n\t\t\t},\r\n\t\t\tasync getcoupon(id){\r\n\t\t\t\tlet getuserinfo=uni.getStorageSync('userinfo');\r\n\t\t\t\tlet info= await this.$api.getcoupon({action:'getcoupon',uid:getuserinfo.uid,id:id,aid:getuserinfo.aid});\r\n\t\t\t\tif(info.code==1){\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'领取成功',icon:'none',duration:2000\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.couponlist();\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'领取失败',icon:'fail',duration:1500\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tswitchType(type){\r\n\t\t\t\tthis.couponlist();\r\n\t\t\t\tthis.mycouponlist();\r\n\t\t\t\tif(this.typeClass==type){\r\n\t\t\t\t\treturn ;\r\n\t\t\t\t}\r\n\t\t\t\tuni.pageScrollTo({\r\n\t\t\t\t\tscrollTop:0,\r\n\t\t\t\t\tduration:0\r\n\t\t\t\t})\r\n\t\t\t\tthis.typeClass = type;\r\n\t\t\t\tthis.subState = this.typeClass==''?'':'show'+type;\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthis.oldIndex = null;\r\n\t\t\t\t\tthis.theIndex = null;\r\n\t\t\t\t\tthis.subState = this.typeClass=='valid'?'':this.subState;\r\n\t\t\t\t},200)\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n<style lang=\"scss\">\r\n\tview{\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap;\r\n\t\t\r\n\t}\r\n\tpage{position: relative;background-color: #f5f5f5;}\r\n\t@font-face {font-family:\"HMfont-home\";src:url('data:application/x-font-woff2;charset=utf-8;base64,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') format('woff2');}\r\n\t.icon {\r\n\t\tfont-family:\"HMfont-home\" !important;\r\n\t\tfont-size:60upx;\r\n\t\tfont-style:normal;\r\n\t\tcolor:#000000;\r\n\t\t&.jia {\r\n\t\t\t&:before{content:\"\\e641\";}\r\n\t\t}\r\n\t\t&.jian {\r\n\t\t\t&:before{content:\"\\e643\";}\r\n\t\t}\r\n\t\t&.shixiao {\r\n\t\t\t&:before{content:\"\\e669\";}\r\n\t\t}\r\n\t\t\r\n\t}\r\n\t.hidden{\r\n\t\tdisplay: none !important;\r\n\t}\r\n\t.place{\r\n\t\twidth: 100%;\r\n\t\theight: 95upx;\r\n\t}\r\n\t.tabr{\r\n\t\tbackground-color: #fff;\r\n\t\twidth: 100%;\r\n\t\theight: 95upx;\r\n\t\tpadding: 0 3%;\r\n\t\tborder-bottom: solid 1upx #dedede;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tz-index: 10;\r\n\t\tview{\r\n\t\t\twidth: 50%;\r\n\t\t\theight: 90upx;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tfont-size: 32upx;\r\n\t\t\tcolor: #999;\r\n\t\t}\r\n\t\t.on{\r\n\t\t\tcolor: #f06c7a;\r\n\t\t}\r\n\t\t.border{\r\n\t\t\theight: 4upx;\r\n\t\t\tbackground-color: #f06c7a;\r\n\t\t\ttransition: all .3s ease-out;\r\n\t\t\t&.invalid{\r\n\t\t\t\ttransform: translate3d(100%,0,0);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}\r\n\t.list{\r\n\t\twidth: 100%;\r\n\t\tdisplay: block;\r\n\t\tposition: relative;\r\n\t}\r\n\t@keyframes showValid {\r\n\t\t0% {transform: translateX(-100%);}100% {transform: translateX(0);}\r\n\t}\r\n\t@keyframes showInvalid {\r\n\t\t0% {transform: translateX(0);}100% {transform: translateX(-100%);}\r\n\t}\r\n\t.sub-list{\r\n\t\t&.invalid{\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft:100%;\r\n\t\t\tdisplay: none;\r\n\t\t}\r\n\t\t&.showvalid{\r\n\t\t\tdisplay: flex;\r\n\t\t\tanimation: showValid 0.20s linear both;\r\n\t\t}\r\n\t\t&.showinvalid{\r\n\t\t\tdisplay: flex;\r\n\t\t\tanimation: showInvalid 0.20s linear both;\r\n\t\t}\r\n\t\twidth: 100%;\r\n\t\tpadding: 20upx 0 120upx 0;\r\n\t\t.tis{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 60upx;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tcolor: #C0C0C0;\r\n\t\t\tfont-size: 32upx;\r\n\t\t}\r\n\t\t.row{\r\n\t\t\twidth: 92%;\r\n\t\t\theight: 24vw; \r\n\t\t\tmargin: 20upx auto 10upx auto;\r\n\t\t\tborder-radius: 8upx;\r\n\t\t\t// box-shadow: 0upx 0 10upx rgba(0,0,0,0.1);\r\n\t\t\talign-items: center;\r\n\t\t\tposition: relative;\r\n\t\t\toverflow: hidden;\r\n\t\t\tz-index: 4;\r\n\t\t\tborder: 0;\r\n\t\t\t.menu{\r\n\t\t\t\t.icon{\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tfont-size:50upx;\r\n\t\t\t\t}\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\twidth: 28%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tright: 0;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tbackground-color: red;\r\n\t\t\t\tcolor: #fff;\r\n\t\t\t\tz-index: 2;\r\n\t\t\t}\r\n\t\t\t.carrier{\r\n\t\t\t\t@keyframes showMenu {\r\n\t\t\t\t\t0% {transform: translateX(0);}100% {transform: translateX(-28%);}\r\n\t\t\t\t}\r\n\t\t\t\t@keyframes closeMenu {\r\n\t\t\t\t\t0% {transform: translateX(-28%);}100% {transform: translateX(0);}\r\n\t\t\t\t}\r\n\t\t\t\t&.open{\r\n\t\t\t\t\tanimation: showMenu 0.25s linear both;\r\n\t\t\t\t}\r\n\t\t\t\t&.close{\r\n\t\t\t\t\tanimation: closeMenu 0.15s linear both;\r\n\t\t\t\t}\r\n\t\t\t\tbackground-color: #fff;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tpadding: 0 0;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tz-index: 3;\r\n\t\t\t\tflex-wrap: nowrap;\r\n\t\t\t\t.left{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t.title{\r\n\t\t\t\t\t\tpadding-top: 3vw;\r\n\t\t\t\t\t\twidth: 90%;\r\n\t\t\t\t\t\tmargin: 0 5%;\r\n\t\t\t\t\t\tfont-size: 36upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.term{\r\n\t\t\t\t\t\twidth: 90%;\r\n\t\t\t\t\t\tmargin: 0 5%;\r\n\t\t\t\t\t\tfont-size: 26upx;\r\n\t\t\t\t\t\tcolor: #999;\r\n\t\t\t\t\t\t.shengyu{\r\n\t\t\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\t\t\tcolor: red;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tposition: relative;\r\n\t\t\t\t\t.gap-top,.gap-bottom{\r\n\t\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\t\twidth: 20upx;\r\n\t\t\t\t\t\theight: 20upx;\r\n\t\t\t\t\t\tright: -10upx;\r\n\t\t\t\t\t\tborder-radius: 100%;\r\n\t\t\t\t\t\tbackground-color: #f5f5f5;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.gap-top{\r\n\t\t\t\t\t\ttop: -10upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.gap-bottom{\r\n\t\t\t\t\t\tbottom: -10upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.shixiao{\r\n\t\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\t\tright: 20upx;\r\n\t\t\t\t\t\tfont-size: 150upx;\r\n\t\t\t\t\t\tz-index: 6;\r\n\t\t\t\t\t\tcolor: rgba(153,153,153,0.2)\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.right{\r\n\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\twidth: 28%;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tbackground:linear-gradient(to right,#ec625c,#ee827f);\r\n\t\t\t\t\t&.invalid{\r\n\t\t\t\t\t\tbackground:linear-gradient(to right,#4D86C1,#5886B7);\r\n\t\t\t\t\t\t.use{\r\n\t\t\t\t\t\t\tcolor: #5886B7;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t.ticket,.criteria{width: 100%;}\r\n\t\t\t\t\t.ticket{\r\n\t\t\t\t\t\tpadding-top: 1vw;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: baseline;\r\n\t\t\t\t\t\theight: 6vw;\r\n\t\t\t\t\t\t.num{\r\n\t\t\t\t\t\t\tfont-size: 42upx;\r\n\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.unit{\r\n\t\t\t\t\t\t\tfont-size: 24upx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.criteria{\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.use{\r\n\t\t\t\t\t\twidth: 50%;\r\n\t\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tfont-size: 24upx;\r\n\t\t\t\t\t\tbackground-color: #fff;\r\n\t\t\t\t\t\tcolor: #ee827f;\r\n\t\t\t\t\t\tborder-radius: 40upx;\r\n\t\t\t\t\t\tpadding: 0 10upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n\t\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coupon.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coupon.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}