parent
98977f7049
commit
560036210a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/HM-search/HM-search"],{"2b54":function(t,e,o){"use strict";o.r(e);var i=o("917d"),n=o.n(i);for(var r in i)"default"!==r&&function(t){o.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"37c5":function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},r=[]},7126:function(t,e,o){"use strict";(function(t){o("eba6");i(o("66fd"));var e=i(o("c48b"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},"917d":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o("b528"),n=getApp(),r=function(){o.e("components/mehaotian-search-revision/mehaotian-search-revision").then(function(){return resolve(o("2522"))}.bind(null,o)).catch(o.oe)},a={data:function(){return{defaultKeyword:"",keyword:"",oldKeywordList:[],hotKeywordList:[],keywordList:[],forbid:"",isShowKeywordList:!1,imageUrl:n.globalData.imgUrl,productList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(){this.init()},components:{mSearch:r},onReachBottom:function(){this.getCouponList()},methods:{toGoods:function(e){t.navigateTo({url:"../../goods/goods?id="+e})},getCouponList:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,r={regionId:n.globalData.cityId,pageNum:o,couponName:this.keyword,pageSize:this.pageSize};(0,i.getCouponList)(r).then((function(i){"000000"==i.return_code?(t.hideLoading(),e.isNoMoreData=i.return_data.list.length!=e.pageSize,e.pageNum=i.return_data.list.length==e.pageSize?++o:o,e.productList=e.productList.concat(i.return_data.list)):(e.productList=[],t.hideLoading())}))},init:function(){this.loadDefaultKeyword()},blur:function(){t.hideKeyboard()},loadDefaultKeyword:function(){this.defaultKeyword="默认关键字"},loadOldKeyword:function(){var e=this;t.getStorage({key:"OldKeys",success:function(t){var o=JSON.parse(t.data);e.oldKeywordList=o}})},inputChange:function(t){var e=t.detail?t.detail.value:t;if(!e)return this.keywordList=[],void(this.isShowKeywordList=!1);this.isShowKeywordList=!0,this.getCouponList()},drawCorrelativeKeyword:function(t,e){for(var o=t.length,i=[],n=0;n<o;n++){var r=t[n],a=r[0].replace(e,"<span style='color: #9f9f9f;'>"+e+"</span>");a="<div>"+a+"</div>";var s={keyword:r[0],htmlStr:a};i.push(s)}return i},setKeyword:function(t){this.keyword=this.keywordList[t].keyword},oldDelete:function(){var e=this;t.showModal({content:"确定清除历史搜索记录?",success:function(o){o.confirm?(console.log("用户点击确定"),e.oldKeywordList=[],t.removeStorage({key:"OldKeys"})):o.cancel&&console.log("用户点击取消")}})},hotToggle:function(){this.forbid=this.forbid?"":"_forbid"},doSearch:function(t){t=!1===t?this.keyword:t,this.keyword=t,this.pageNum=1,this.getCouponList()},saveKeyword:function(e){var o=this;t.getStorage({key:"OldKeys",success:function(i){var n=JSON.parse(i.data),r=n.indexOf(e);-1==r||n.splice(r,1),n.unshift(e),n.length>10&&n.pop(),t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n},fail:function(i){var n=[e];t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n}})}}};e.default=a}).call(this,o("543d")["default"])},"976b":function(t,e,o){"use strict";var i=o("c1df"),n=o.n(i);n.a},c1df:function(t,e,o){},c48b:function(t,e,o){"use strict";o.r(e);var i=o("37c5"),n=o("2b54");for(var r in n)"default"!==r&&function(t){o.d(e,t,(function(){return n[t]}))}(r);o("976b");var a,s=o("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],a);e["default"]=d.exports}},[["7126","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/HM-search/HM-search"],{"2b54":function(t,e,o){"use strict";o.r(e);var i=o("917d"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},7126:function(t,e,o){"use strict";(function(t){o("eba6");i(o("66fd"));var e=i(o("c48b"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},"917d":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o("b528"),n=getApp(),a=function(){o.e("components/mehaotian-search-revision/mehaotian-search-revision").then(function(){return resolve(o("2522"))}.bind(null,o)).catch(o.oe)},r={data:function(){return{defaultKeyword:"",keyword:"",oldKeywordList:[],hotKeywordList:[],keywordList:[],forbid:"",isShowKeywordList:!1,imageUrl:n.globalData.imgUrl,productList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(){this.init()},components:{mSearch:a},onReachBottom:function(){this.getCouponList()},methods:{toGoods:function(e){t.navigateTo({url:"../../goods/goods?id="+e})},getCouponList:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,a={regionId:n.globalData.cityId,pageNum:o,couponName:this.keyword,pageSize:this.pageSize};(0,i.getCouponList)(a).then((function(i){"000000"==i.return_code?(t.hideLoading(),e.isNoMoreData=i.return_data.list.length!=e.pageSize,e.productList=e.productList.concat(i.return_data.list),i.return_data.total==e.pageNum*e.pageSize&&(e.isNoMoreData=!0),e.pageNum=i.return_data.list.length==e.pageSize?++o:o):(e.productList=[],t.hideLoading())}))},init:function(){this.loadDefaultKeyword()},blur:function(){t.hideKeyboard()},loadDefaultKeyword:function(){this.defaultKeyword="默认关键字"},loadOldKeyword:function(){var e=this;t.getStorage({key:"OldKeys",success:function(t){var o=JSON.parse(t.data);e.oldKeywordList=o}})},inputChange:function(t){var e=t.detail?t.detail.value:t;if(!e)return this.keywordList=[],void(this.isShowKeywordList=!1);this.isShowKeywordList=!0,this.getCouponList()},drawCorrelativeKeyword:function(t,e){for(var o=t.length,i=[],n=0;n<o;n++){var a=t[n],r=a[0].replace(e,"<span style='color: #9f9f9f;'>"+e+"</span>");r="<div>"+r+"</div>";var s={keyword:a[0],htmlStr:r};i.push(s)}return i},setKeyword:function(t){this.keyword=this.keywordList[t].keyword},oldDelete:function(){var e=this;t.showModal({content:"确定清除历史搜索记录?",success:function(o){o.confirm?(console.log("用户点击确定"),e.oldKeywordList=[],t.removeStorage({key:"OldKeys"})):o.cancel&&console.log("用户点击取消")}})},hotToggle:function(){this.forbid=this.forbid?"":"_forbid"},doSearch:function(t){t=!1===t?this.keyword:t,this.keyword=t,this.pageNum=1,this.getCouponList()},saveKeyword:function(e){var o=this;t.getStorage({key:"OldKeys",success:function(i){var n=JSON.parse(i.data),a=n.indexOf(e);-1==a||n.splice(a,1),n.unshift(e),n.length>10&&n.pop(),t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n},fail:function(i){var n=[e];t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n}})}}};e.default=r}).call(this,o("543d")["default"])},"976b":function(t,e,o){"use strict";var i=o("c1df"),n=o.n(i);n.a},bddb:function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},a=[]},c1df:function(t,e,o){},c48b:function(t,e,o){"use strict";o.r(e);var i=o("bddb"),n=o("2b54");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("976b");var r,s=o("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],r);e["default"]=d.exports}},[["7126","common/runtime","common/vendor"]]]); |
@ -0,0 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/externalCoupon/externalCoupon"],{3569:function(t,e,n){"use strict";n.r(e);var o=n("6ea6"),a=n("4d9b");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("a432");var u,c=n("f0c5"),r=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);e["default"]=r.exports},"4d9b":function(t,e,n){"use strict";n.r(e);var o=n("e087"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},6719:function(t,e,n){},"6ea6":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,t._f("formatDate")(t.salesEndTime,"-"));t.$mp.data=Object.assign({},{$root:{f0:n}})},i=[]},a432:function(t,e,n){"use strict";var o=n("6719"),a=n.n(o);a.a},d24d:function(t,e,n){"use strict";(function(t){n("eba6");o(n("66fd"));var e=o(n("3569"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},e087:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("b528"),a=getApp(),i={data:function(){return{minecoupones:[],imageUrl:a.globalData.imgUrl,pageNum:1,pageSize:10,isNoMoreData:!1,couponsDetails:"",salesEndTime:"",codes:""}},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),o=n.getFullYear(),a=n.getMonth()+1,i=n.getDate(),u=n.getHours(),c=n.getMinutes(),r=n.getSeconds();return a=a>10?a:"0"+a,i=i>10?i:"0"+i,u=u>10?u:"0"+u,c=c>10?c:"0"+c,r=r>10?r:"0"+r,"".concat(o).concat(e).concat(a).concat(e).concat(i)}},onLoad:function(e){this.codes=decodeURIComponent(e.q);var n=this.codes.split("="),o=n[1];t.showToast({title:o,icon:"none",duration:2e9})},methods:{getDiscountByQrCode:function(){var t=this,e={code:this.codes};(0,o.getDiscountByQrCode)(e).then((function(e){"000000"==e.return_code&&(t.couponsDetails=e.return_data,t.salesEndTime=e.return_data.highDiscount.salesEndTime,t.getCouponByDiscount(e.return_data.highDiscount.id))}))},getCouponByDiscount:function(t){var e=this,n={discountId:t};(0,o.getCouponByDiscount)(n).then((function(t){"000000"==t.return_code&&(e.minecoupones=t.return_data)}))},receiveDiscount:function(){t.showLoading({title:"领取中..."});var e={discountAgentId:this.couponsDetails.id};(0,o.receiveDiscount)(e).then((function(e){"000000"==e.return_code?(t.hideLoading(),t.showToast({icon:"none",title:e.return_data,duration:2e3})):(t.hideLoading(),t.showToast({icon:"none",title:e.return_msg,duration:2e3}))}))},getuserinfo:function(){t.showToast({title:"正常的---",icon:"none",duration:22e6}),t.login({provider:"weixin",success:function(e){a.globalData.code=e.code;var n={code:a.globalData.code};HandleCode(n).then((function(e){if("000000"==e.return_code){t.showToast({title:"正常的",icon:"none",duration:22e6}),a.globalData.openId=e.return_data.openId,t.showLoading({title:"正在登录中"});wx.login({success:function(e){if(e.code){e.code;t.getUserInfo({success:function(e){var n=this,o={openId:a.globalData.openId,iv:e.iv,encryptedData:e.encryptedData};getUserInfo(o).then((function(e){"000000"==e.return_code?(t.hideLoading(),a.globalData.userInfo=e.return_data.object.highUser,a.globalData.token=e.return_data.uniqueCode,t.setStorage({key:"user",data:e.return_data.object.highUser}),t.setStorage({key:"token",data:e.return_data.uniqueCode}),n.receiveDiscount()):t.showToast({title:e.return_msg})}))},fail:function(e){t.showToast({title:"微信登录授权失败",icon:"none"})}})}}})}else t.showToast({title:"报错了",icon:"none",duration:22e6})}))},fail:function(){t.showToast({title:"报错了------------",icon:"none",duration:22e6})}})},toGoods:function(e){t.navigateTo({url:"../goods?id="+e})}}};e.default=i}).call(this,n("543d")["default"])}},[["d24d","common/runtime","common/vendor"]]]); |
@ -0,0 +1,5 @@ |
||||
{ |
||||
"navigationBarTitleText": "卡券领取详情", |
||||
"enablePullDownRefresh": false, |
||||
"usingComponents": {} |
||||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
||||
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.coupon-cont{height:80px;margin-bottom:10px}.coupon-img{width:80px;height:80px;margin-top:10px}.product-list{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-flex-wrap:wrap;flex-wrap:wrap}.product-list .product{width:48%;-webkit-border-radius:20rpx;border-radius:20rpx;background-color:#fff;margin:0 0 15rpx 0;-webkit-box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1);box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1)}.product-list .product image{width:100%;-webkit-border-radius:20rpx 20rpx 0 0;border-radius:20rpx 20rpx 0 0}.product-list .product .name{width:92%;padding:10rpx 4%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:justify;overflow:hidden;font-size:30rpx}.product-list .product .info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;width:92%;padding:10rpx 4% 10rpx 4%}.product-list .product .info .price{color:#e65339;font-size:30rpx;font-weight:600}.product-list .product .info .slogan{color:#807c87;font-size:24rpx;text-decoration:line-through;margin-right:50px}.coupne-btn{position:fixed;bottom:0;background-color:red;color:#fff} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/recording/recording"],{"49f8":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("8aa3"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"5f32":function(t,e,n){},"668a":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.recordInfo,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.createTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]},"7f55":function(t,e,n){"use strict";var a=n("5f32"),o=n.n(a);o.a},"87b3":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),o={data:function(){return{typeId:"",recordInfo:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(e){this.typeId=e.id,1==this.typeId?t.setNavigationBarTitle({title:"充值记录"}):t.setNavigationBarTitle({title:"消费记录"}),this.getUserGoldRecLists()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onReachBottom:function(){this.getUserGoldRecLists()},methods:{getUserGoldRecLists:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,goldType:this.typeId,pageSize:this.pageSize};(0,a.getUserGoldRecList)(o).then((function(a){"000000"==a.return_code?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,e.pageNum=a.return_data.list.length==e.pageSize?++n:n,e.recordInfo=e.recordInfo.concat(a.return_data.list)):(e.recordInfo=[],t.hideLoading())}))}}};e.default=o}).call(this,n("543d")["default"])},"8aa3":function(t,e,n){"use strict";n.r(e);var a=n("668a"),o=n("ae61");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("7f55");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},ae61:function(t,e,n){"use strict";n.r(e);var a=n("87b3"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a}},[["49f8","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/recording/recording"],{"49f8":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("8aa3"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"5f32":function(t,e,n){},"7f55":function(t,e,n){"use strict";var a=n("5f32"),o=n.n(a);o.a},"87b3":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),o={data:function(){return{typeId:"",recordInfo:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(e){this.typeId=e.id,1==this.typeId?t.setNavigationBarTitle({title:"充值记录"}):t.setNavigationBarTitle({title:"消费记录"}),this.getUserGoldRecLists()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onReachBottom:function(){this.getUserGoldRecLists()},methods:{getUserGoldRecLists:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,goldType:this.typeId,pageSize:this.pageSize};(0,a.getUserGoldRecList)(o).then((function(a){"000000"==a.return_code?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,a.return_data.total==e.pageNum*e.pageSize&&(e.isNoMoreData=!0),e.pageNum=a.return_data.list.length==e.pageSize?++n:n,e.recordInfo=e.recordInfo.concat(a.return_data.list)):(e.recordInfo=[],t.hideLoading())}))}}};e.default=o}).call(this,n("543d")["default"])},"8aa3":function(t,e,n){"use strict";n.r(e);var a=n("f4d8"),o=n("ae61");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("7f55");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},ae61:function(t,e,n){"use strict";n.r(e);var a=n("87b3"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},f4d8:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.recordInfo,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.createTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]}},[["49f8","common/runtime","common/vendor"]]]); |
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/store-list/store-details"],{"633c":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("7c1a"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"7c1a":function(t,e,n){"use strict";n.r(e);var a=n("ae1e"),o=n("8c2e");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("dd89");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},"8c2e":function(t,e,n){"use strict";n.r(e);var a=n("c8c5"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},ae1e:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.menCoupnList,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.highCouponModel.salesEndTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]},c8c5:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),o=getApp(),i={data:function(){return{imageUrl:o.globalData.imgUrl,merchanId:"",merchanList:"",distance:"",menCoupnList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onLoad:function(t){this.merchanId=t.id,this.distance=t.juli,this.getMerchantStoreById(),this.getCouponListByStoreId()},onReachBottom:function(){this.getCouponListByStoreId()},methods:{getMerchantStoreById:function(){var e=this;t.showLoading({title:"加载中..."});var n={id:this.merchanId};(0,a.getMerchantStoreById)(n).then((function(n){"000000"==n.return_code?(e.merchanList=n.return_data,t.hideLoading()):t.hideLoading()}))},jumpCoupondes:function(e){t.navigateTo({url:"../coupon-details/coupon-details?id="+e})},seeloaction:function(){t.openLocation({latitude:Number(this.merchanList.latitude),longitude:Number(this.merchanList.longitude),name:this.merchanList.storeName,address:this.merchanList.address})},getCouponListByStoreId:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,storeId:this.merchanId,pageSize:this.pageSize};(0,a.getCouponListByStoreId)(o).then((function(a){"000000"==a.return_code&&""!=a.return_data.list?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,e.pageNum=a.return_data.list.length==e.pageSize?++n:n,e.menCoupnList=e.menCoupnList.concat(a.return_data.list)):(e.menCoupnList=[],t.hideLoading())}))}}};e.default=i}).call(this,n("543d")["default"])},ca93:function(t,e,n){},dd89:function(t,e,n){"use strict";var a=n("ca93"),o=n.n(a);o.a}},[["633c","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/store-list/store-details"],{"633c":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("7c1a"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"7c1a":function(t,e,n){"use strict";n.r(e);var a=n("eead"),o=n("8c2e");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("dd89");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},"8c2e":function(t,e,n){"use strict";n.r(e);var a=n("c8c5"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},c8c5:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),o=function(){n.e("components/Authorize").then(function(){return resolve(n("4bac"))}.bind(null,n)).catch(n.oe)},i=getApp(),r={components:{authorize:o},data:function(){return{imageUrl:i.globalData.imgUrl,merchanId:"",merchanList:"",distance:"",menCoupnList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onLoad:function(t){this.merchanId=t.id,this.distance=t.juli,this.getMerchantStoreById(),i.globalData.userInfo&&this.getCouponListByStoreId()},onReachBottom:function(){this.getCouponListByStoreId()},methods:{getMerchantStoreById:function(){var e=this;t.showLoading({title:"加载中..."});var n={id:this.merchanId};(0,a.getMerchantStoreById)(n).then((function(n){"000000"==n.return_code?(e.merchanList=n.return_data,t.hideLoading()):t.hideLoading()}))},jumpCoupondes:function(e){t.navigateTo({url:"../coupon-details/coupon-details?id="+e})},seeloaction:function(){t.openLocation({latitude:Number(this.merchanList.latitude),longitude:Number(this.merchanList.longitude),name:this.merchanList.storeName,address:this.merchanList.address})},getCouponListByStoreId:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,storeId:this.merchanId,pageSize:this.pageSize};(0,a.getCouponListByStoreId)(o).then((function(a){"000000"==a.return_code&&""!=a.return_data.list?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,e.menCoupnList=e.menCoupnList.concat(a.return_data.list),a.return_data.total==e.pageNum*e.pageSize&&(e.isNoMoreData=!0),e.pageNum=a.return_data.list.length==e.pageSize?++n:n):(e.menCoupnList=[],t.hideLoading())}))}}};e.default=r}).call(this,n("543d")["default"])},ca93:function(t,e,n){},dd89:function(t,e,n){"use strict";var a=n("ca93"),o=n.n(a);o.a},eead:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.menCoupnList,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.highCouponModel.salesEndTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]}},[["633c","common/runtime","common/vendor"]]]); |
@ -1,5 +1,7 @@ |
||||
{ |
||||
"navigationBarTitleText": "门店详情", |
||||
"enablePullDownRefresh": false, |
||||
"usingComponents": {} |
||||
"usingComponents": { |
||||
"authorize": "/components/Authorize" |
||||
} |
||||
} |
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/confirmation"],{"3ac3":function(t,i,o){},"859b":function(t,i,o){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=o("b528"),n=getApp(),s={data:function(){return{buylist:[],goodsPrice:0,sumPrice:0,freight:12,note:"",int:1200,deduction:0,recinfo:{id:1,name:"大黑哥",head:"大",tel:"18816881688",address:{region:{label:"广东省-深圳市-福田区",value:[18,2,1],cityCode:"440304"},detailed:"深南大道1111号无名摩登大厦6楼A2"},isDefault:!0},couponId:"",couponList:[],UserNormalDiscountList:[],imageUrl:n.globalData.imgUrl,deductionPrice:"0.00",paytheprice:"",radioStatus:!0,memDiscountId:""}},onLoad:function(t){this.couponId=t.id,this.getCouponById(),this.getUserNormalDiscountList()},onShow:function(){},onHide:function(){},onBackPress:function(){},filters:{toFixed:function(t){return parseFloat(t).toFixed(2)},formatDate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=new Date(t),e=o.getFullYear(),n=o.getMonth()+1,s=o.getDate(),c=o.getHours(),r=o.getMinutes(),u=o.getSeconds();return n=n>10?n:"0"+n,s=s>10?s:"0"+s,c=c>10?c:"0"+c,r=r>10?r:"0"+r,u=u>10?u:"0"+u,"".concat(e).concat(i).concat(n).concat(i).concat(s," ").concat(c,":").concat(r,":").concat(u)}},methods:{getCouponById:function(){var i=this;t.showLoading({title:"加载中..."});var o={couponId:this.couponId};(0,e.getCouponById)(o).then((function(o){"000000"==o.return_code?(i.couponList=o.return_data,i.paytheprice=o.return_data.discountPrice,t.hideLoading()):t.hideLoading()}))},switch2Change:function(t){this.radioStatus=t.target.value,this.radioStatus||(this.paytheprice=this.couponList.discountPrice,this.deductionPrice="0.00",this.memDiscountId=""),this.current=this.UserNormalDiscountList.length},getUserNormalDiscountList:function(){var t=this,i={couponId:this.couponId};(0,e.getUserNormalDiscountList)(i).then((function(i){"000000"==i.return_code&&(t.UserNormalDiscountList=i.return_data)}))},radioChange:function(i){for(var o=0;o<this.UserNormalDiscountList.length;o++)this.UserNormalDiscountList[o].highDiscount.id==i.target.value&&(this.memDiscountId=this.UserNormalDiscountList[o].id,this.current=o,1==this.UserNormalDiscountList[o].highDiscount.discountType?this.couponList.salesPrice>this.UserNormalDiscountList[o].highDiscount.discountPrice?(this.deductionPrice=this.UserNormalDiscountList[o].highDiscount.discountPrice,this.paytheprice=this.couponList.salesPrice-this.deductionPrice):t.showToast({title:"未满足满减条件",icon:"none",duration:2e3}):2==this.UserNormalDiscountList[o].highDiscount.discountType?(this.deductionPrice=this.UserNormalDiscountList[o].highDiscount.discountPrice,this.paytheprice=this.couponList.salesPrice-this.deductionPrice):3==this.UserNormalDiscountList[o].highDiscount.discountType&&(this.deductionPrice=this.couponList.salesPrice-this.couponList.salesPrice*(this.UserNormalDiscountList[o].highDiscount.discountPrice/10),this.paytheprice=this.couponList.salesPrice*(this.UserNormalDiscountList[o].highDiscount.discountPrice/10)))},toPay:function(){var i=this;t.showLoading({title:"提交订单中..."});var o={memDiscountId:this.memDiscountId,highChildOrderList:[{goodsType:1,goodsId:this.couponId,saleCount:1}]};(0,e.addOrder)(o).then((function(o){"000000"==o.return_code?(t.hideLoading(),t.redirectTo({url:"../pay/payment/payment?amount="+o.return_data.payPrice+"&paytype="+i.couponList.payType+"&orderId="+o.return_data.id})):(t.hideLoading(),t.showToast({title:o.return_msg,icon:"none",duration:2e3}))}))}}};i.default=s}).call(this,o("543d")["default"])},a1e1:function(t,i,o){"use strict";var e=o("3ac3"),n=o.n(e);n.a},b378:function(t,i,o){"use strict";var e;o.d(i,"b",(function(){return n})),o.d(i,"c",(function(){return s})),o.d(i,"a",(function(){return e}));var n=function(){var t=this,i=t.$createElement,o=(t._self._c,t.radioStatus?t.__map(t.UserNormalDiscountList,(function(i,o){var e=t.__get_orig(i),n=t._f("formatDate")(i.highDiscount.salesEndTime,"-");return{$orig:e,f0:n}})):null);t.$mp.data=Object.assign({},{$root:{l0:o}})},s=[]},e5f8:function(t,i,o){"use strict";o.r(i);var e=o("859b"),n=o.n(e);for(var s in e)"default"!==s&&function(t){o.d(i,t,(function(){return e[t]}))}(s);i["default"]=n.a},e9ad:function(t,i,o){"use strict";o.r(i);var e=o("b378"),n=o("e5f8");for(var s in n)"default"!==s&&function(t){o.d(i,t,(function(){return n[t]}))}(s);o("a1e1");var c,r=o("f0c5"),u=Object(r["a"])(n["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);i["default"]=u.exports},fefb:function(t,i,o){"use strict";(function(t){o("eba6");e(o("66fd"));var i=e(o("e9ad"));function e(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,o("543d")["createPage"])}},[["fefb","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/confirmation"],{"3ac3":function(t,i,o){},"4a7f":function(t,i,o){"use strict";var e;o.d(i,"b",(function(){return n})),o.d(i,"c",(function(){return s})),o.d(i,"a",(function(){return e}));var n=function(){var t=this,i=t.$createElement,o=(t._self._c,t.radioStatus?t.__map(t.UserNormalDiscountList,(function(i,o){var e=t.__get_orig(i),n=t._f("formatDate")(i.highDiscount.salesEndTime,"-");return{$orig:e,f0:n}})):null);t.$mp.data=Object.assign({},{$root:{l0:o}})},s=[]},"859b":function(t,i,o){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=o("b528"),n=getApp(),s={data:function(){return{buylist:[],goodsPrice:0,sumPrice:0,freight:12,note:"",int:1200,deduction:0,recinfo:{id:1,name:"大黑哥",head:"大",tel:"18816881688",address:{region:{label:"广东省-深圳市-福田区",value:[18,2,1],cityCode:"440304"},detailed:"深南大道1111号无名摩登大厦6楼A2"},isDefault:!0},couponId:"",couponList:[],UserNormalDiscountList:[],imageUrl:n.globalData.imgUrl,deductionPrice:"0.00",paytheprice:"",radioStatus:!0,memDiscountId:""}},onLoad:function(t){this.couponId=t.id,this.getCouponById(),this.getUserNormalDiscountList()},onShow:function(){},onHide:function(){},onBackPress:function(){},filters:{toFixed:function(t){return parseFloat(t).toFixed(2)},formatDate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=new Date(t),e=o.getFullYear(),n=o.getMonth()+1,s=o.getDate(),c=o.getHours(),r=o.getMinutes(),u=o.getSeconds();return n=n>10?n:"0"+n,s=s>10?s:"0"+s,c=c>10?c:"0"+c,r=r>10?r:"0"+r,u=u>10?u:"0"+u,"".concat(e).concat(i).concat(n).concat(i).concat(s," ").concat(c,":").concat(r,":").concat(u)}},methods:{getCouponById:function(){var i=this;t.showLoading({title:"加载中..."});var o={couponId:this.couponId};(0,e.getCouponById)(o).then((function(o){"000000"==o.return_code?(i.couponList=o.return_data,i.paytheprice=o.return_data.discountPrice,t.hideLoading()):t.hideLoading()}))},switch2Change:function(t){this.radioStatus=t.target.value,this.radioStatus||(this.paytheprice=this.couponList.discountPrice,this.deductionPrice="0.00",this.memDiscountId=""),this.current=this.UserNormalDiscountList.length},getUserNormalDiscountList:function(){var t=this,i={couponId:this.couponId};(0,e.getUserNormalDiscountList)(i).then((function(i){"000000"==i.return_code&&(t.UserNormalDiscountList=i.return_data)}))},radioChange:function(i){for(var o=0;o<this.UserNormalDiscountList.length;o++)this.UserNormalDiscountList[o].highDiscount.id==i.target.value&&(this.memDiscountId=this.UserNormalDiscountList[o].id,this.current=o,1==this.UserNormalDiscountList[o].highDiscount.discountType?this.couponList.salesPrice>this.UserNormalDiscountList[o].highDiscount.discountPrice?(this.deductionPrice=this.UserNormalDiscountList[o].highDiscount.discountPrice,this.paytheprice=this.couponList.salesPrice-this.deductionPrice):t.showToast({title:"未满足满减条件",icon:"none",duration:2e3}):2==this.UserNormalDiscountList[o].highDiscount.discountType?(this.deductionPrice=this.UserNormalDiscountList[o].highDiscount.discountPrice,this.paytheprice=this.couponList.salesPrice-this.deductionPrice):3==this.UserNormalDiscountList[o].highDiscount.discountType&&(this.deductionPrice=this.couponList.salesPrice-this.couponList.salesPrice*(this.UserNormalDiscountList[o].highDiscount.discountPrice/10),this.paytheprice=this.couponList.salesPrice*(this.UserNormalDiscountList[o].highDiscount.discountPrice/10)))},toPay:function(){var i=this;t.showLoading({title:"提交订单中..."});var o={memDiscountId:this.memDiscountId,highChildOrderList:[{goodsType:1,goodsId:this.couponId,saleCount:1}]};(0,e.addOrder)(o).then((function(o){"000000"==o.return_code?(t.hideLoading(),t.redirectTo({url:"../pay/payment/payment?amount="+o.return_data.payPrice+"&paytype="+i.couponList.payType+"&orderId="+o.return_data.id+"&couponId="+i.couponId})):(t.hideLoading(),t.showToast({title:o.return_msg,icon:"none",duration:2e3}))}))}}};i.default=s}).call(this,o("543d")["default"])},a1e1:function(t,i,o){"use strict";var e=o("3ac3"),n=o.n(e);n.a},e5f8:function(t,i,o){"use strict";o.r(i);var e=o("859b"),n=o.n(e);for(var s in e)"default"!==s&&function(t){o.d(i,t,(function(){return e[t]}))}(s);i["default"]=n.a},e9ad:function(t,i,o){"use strict";o.r(i);var e=o("4a7f"),n=o("e5f8");for(var s in n)"default"!==s&&function(t){o.d(i,t,(function(){return n[t]}))}(s);o("a1e1");var c,r=o("f0c5"),u=Object(r["a"])(n["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);i["default"]=u.exports},fefb:function(t,i,o){"use strict";(function(t){o("eba6");e(o("66fd"));var i=e(o("e9ad"));function e(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,o("543d")["createPage"])}},[["fefb","common/runtime","common/vendor"]]]); |
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/pay/payment/payment"],{"0cee":function(e,t,n){"use strict";n.r(t);var a=n("fdde"),o=n.n(a);for(var r in a)"default"!==r&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=o.a},"249f":function(e,t,n){"use strict";var a=n("456d"),o=n.n(a);o.a},"456d":function(e,t,n){},a4fe:function(e,t,n){"use strict";(function(e){n("eba6");a(n("66fd"));var t=a(n("fe49"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},a591:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var o=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.paytype="jinbi"},e.e1=function(t){e.paytype="wxpay"})},r=[]},fdde:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("b528"),o=getApp(),r={data:function(){return{amount:0,orderName:"",pryType:"",paytype:"",orderNo:"",user:""}},onLoad:function(t){var n=this;this.pryType=t.paytype,this.orderNo=t.orderId,this.user=o.globalData.userInfo,1==this.pryType?this.paytype="wxpay":2==this.pryType?this.paytype="jinbi":this.paytype="",this.amount=parseFloat(t.amount).toFixed(2),e.getStorage({key:"paymentOrder",success:function(t){t.data.length>1?n.orderName="多商品合并支付":n.orderName=t.data[0].name,e.removeStorage({key:"paymentOrder"})}})},methods:{orderToPay:function(){var t=this;if("wxpay"==this.paytype){e.showLoading({title:"支付中..."});var n={orderId:this.orderNo,openId:o.globalData.openId,orderScene:"GOODS_ORDER"};(0,a.orderToPay)(n).then((function(t){"000000"==t.return_code?e.requestPayment({appId:t.return_data.appId,nonceStr:t.return_data.nonceStr,package:t.return_data.package,paySign:t.return_data.sign,signType:"MD5",timeStamp:t.return_data.timeStamp,success:function(t){e.hideLoading(),e.showToast({title:"支付成功"}),setTimeout((function(){e.navigateTo({url:"../../goods/coupon-details/coupon-details?id="+item})}),100)},fail:function(t){e.hideLoading(),console.log("fail:"+JSON.stringify(t))}}):e.showToast({title:t.return_msg,icon:"none"})}))}else"jinbi"==this.paytype?e.showModal({title:"金币支付",content:"确认是否用金币支付?",success:function(n){if(n.confirm){e.showLoading({title:"支付中..."});var o={orderId:t.orderNo};(0,a.orderToGoldPay)(o).then((function(t){"000000"==t.return_code?(e.hideLoading(),e.showToast({title:"支付成功"}),setTimeout((function(){e.navigateBack({})}),100)):e.showToast({title:t.return_msg,icon:"none"})}))}else n.cancel}}):e.showToast({title:"请选择支付方式",icon:"none",duration:2e3})}}};t.default=r}).call(this,n("543d")["default"])},fe49:function(e,t,n){"use strict";n.r(t);var a=n("a591"),o=n("0cee");for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("249f");var i,u=n("f0c5"),d=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);t["default"]=d.exports}},[["a4fe","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/pay/payment/payment"],{"0cee":function(e,t,n){"use strict";n.r(t);var o=n("fdde"),a=n.n(o);for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=a.a},"224a":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var a=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.paytype="jinbi"},e.e1=function(t){e.paytype="wxpay"})},r=[]},"249f":function(e,t,n){"use strict";var o=n("456d"),a=n.n(o);a.a},"456d":function(e,t,n){},a4fe:function(e,t,n){"use strict";(function(e){n("eba6");o(n("66fd"));var t=o(n("fe49"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},fdde:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("b528"),a=getApp(),r={data:function(){return{amount:0,orderName:"",pryType:"",paytype:"",orderNo:"",user:"",couponId:""}},onLoad:function(t){var n=this;this.pryType=t.paytype,this.orderNo=t.orderId,this.couponId=t.couponId,this.user=a.globalData.userInfo,1==this.pryType?this.paytype="wxpay":2==this.pryType?this.paytype="jinbi":this.paytype="",this.amount=parseFloat(t.amount).toFixed(2),e.getStorage({key:"paymentOrder",success:function(t){t.data.length>1?n.orderName="多商品合并支付":n.orderName=t.data[0].name,e.removeStorage({key:"paymentOrder"})}})},methods:{orderToPay:function(){var t=this;if("wxpay"==t.paytype){e.showLoading({title:"支付中..."});var n={orderId:t.orderNo,openId:a.globalData.openId,orderScene:"GOODS_ORDER"};(0,o.orderToPay)(n).then((function(n){"000000"==n.return_code?e.requestPayment({appId:n.return_data.appId,nonceStr:n.return_data.nonceStr,package:n.return_data.package,paySign:n.return_data.sign,signType:"MD5",timeStamp:n.return_data.timeStamp,success:function(n){e.hideLoading(),e.showToast({title:"支付成功"}),e.reLaunch({url:"../success/success?id="+t.couponId})},fail:function(t){e.hideLoading(),console.log("fail:"+JSON.stringify(t))}}):e.showToast({title:n.return_msg,icon:"none"})}))}else"jinbi"==t.paytype?e.showModal({title:"金币支付",content:"确认是否用金币支付?",success:function(n){if(n.confirm){e.showLoading({title:"支付中..."});var a={orderId:t.orderNo};(0,o.orderToGoldPay)(a).then((function(n){"000000"==n.return_code?(e.hideLoading(),e.showToast({title:"支付成功"}),e.reLaunch({url:"../success/success?id="+t.couponId})):e.showToast({title:n.return_msg,icon:"none"})}))}else n.cancel}}):e.showToast({title:"请选择支付方式",icon:"none",duration:2e3})}}};t.default=r}).call(this,n("543d")["default"])},fe49:function(e,t,n){"use strict";n.r(t);var o=n("224a"),a=n("0cee");for(var r in a)"default"!==r&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("249f");var i,u=n("f0c5"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);t["default"]=c.exports}},[["a4fe","common/runtime","common/vendor"]]]); |
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/pay/success/success"],{"4c1f":function(t,n,u){"use strict";var e=u("9b134"),a=u.n(e);a.a},"51fb":function(t,n,u){"use strict";u.r(n);var e=u("bab1"),a=u("ffb3");for(var c in a)"default"!==c&&function(t){u.d(n,t,(function(){return a[t]}))}(c);u("4c1f");var r,o=u("f0c5"),f=Object(o["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],r);n["default"]=f.exports},9867:function(t,n,u){"use strict";(function(t){u("eba6");e(u("66fd"));var n=e(u("51fb"));function e(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,u("543d")["createPage"])},"9b134":function(t,n,u){},bab1:function(t,n,u){"use strict";var e;u.d(n,"b",(function(){return a})),u.d(n,"c",(function(){return c})),u.d(n,"a",(function(){return e}));var a=function(){var t=this,n=t.$createElement;t._self._c},c=[]},beb1:function(t,n,u){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={data:function(){return{amount:0}},onLoad:function(t){this.amount=parseFloat(t.amount).toFixed(2)},methods:{toUser:function(){t.switchTab({url:"../../tabBar/user/user"})}}};n.default=u}).call(this,u("543d")["default"])},ffb3:function(t,n,u){"use strict";u.r(n);var e=u("beb1"),a=u.n(e);for(var c in e)"default"!==c&&function(t){u.d(n,t,(function(){return e[t]}))}(c);n["default"]=a.a}},[["9867","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/pay/success/success"],{"4c1f":function(t,e,o){"use strict";var n=o("9b134"),a=o.n(n);a.a},"51fb":function(t,e,o){"use strict";o.r(e);var n=o("e32e"),a=o("ffb3");for(var u in a)"default"!==u&&function(t){o.d(e,t,(function(){return a[t]}))}(u);o("4c1f");var i,r=o("f0c5"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);e["default"]=c.exports},9867:function(t,e,o){"use strict";(function(t){o("eba6");n(o("66fd"));var e=n(o("51fb"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},"9b134":function(t,e,o){},beb1:function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o("b528"),a=getApp(),u={data:function(){return{couDesId:"",imageUrl:a.globalData.imgUrl,couponDesInfo:[],storeList:[],oneTime:"",twoTime:"",threeTime:""}},onLoad:function(t){this.couDesId=t.id,this.getUserCouponDetail(),this.getStoreListByCoupon()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=new Date(t),n=o.getFullYear(),a=o.getMonth()+1,u=o.getDate(),i=o.getHours(),r=o.getMinutes(),c=o.getSeconds();return a=a>10?a:"0"+a,u=u>10?u:"0"+u,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,"".concat(n).concat(e).concat(a).concat(e).concat(u," ").concat(i,":").concat(r,":").concat(c)}},onReachBottom:function(){this.getStoreListByCoupon()},methods:{getUserCouponDetail:function(){var e=this;t.showLoading({title:"加载中..."});var o={couponId:this.couDesId};(0,n.getUserCouponDetail)(o).then((function(o){"000000"==o.return_code?(e.couponDesInfo=o.return_data,e.oneTime=o.return_data.couponCodeInfo.receiveTime,e.twoTime=o.return_data.couponCodeInfo.salesEndTime,e.threeTime=o.return_data.couponCodeInfo.consumeTime,t.hideLoading()):t.hideLoading()}))},seeloaction:function(e){t.openLocation({latitude:Number(e.latitude),longitude:Number(e.longitude),name:e.storeName,address:e.address})},getStoreListByCoupon:function(){var e=this;t.showLoading({title:"加载中..."});var o={couponId:this.couDesId,longitude:a.globalData.longitude,latitude:a.globalData.latitude};(0,n.getStoreListByCoupon)(o).then((function(o){"000000"==o.return_code&&""!=o.return_data.list?(t.hideLoading(),e.storeList=o.return_data):(e.storeList=[],t.hideLoading())}))},toUser:function(){t.switchTab({url:"/pages/tabBar/user/user"})},scan:function(){t.scanCode({success:function(t){console.log("条码类型:"+t.scanType),console.log("条码内容:"+t.result)}})}}};e.default=u}).call(this,o("543d")["default"])},e32e:function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return u})),o.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,o=(t._self._c,t.oneTime?t._f("formatDate")(t.oneTime,"-"):null),n=t.twoTime?t._f("formatDate")(t.twoTime,"-"):null,a=t.threeTime?t._f("formatDate")(t.threeTime,"-"):null;t.$mp.data=Object.assign({},{$root:{f0:o,f1:n,f2:a}})},u=[]},ffb3:function(t,e,o){"use strict";o.r(e);var n=o("beb1"),a=o.n(n);for(var u in n)"default"!==u&&function(t){o.d(e,t,(function(){return n[t]}))}(u);e["default"]=a.a}},[["9867","common/runtime","common/vendor"]]]); |
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.icon{width:100%;margin-top:10vw}.icon image{width:25vw;height:25vw}.tis{width:100%;margin-top:20rpx;font-size:48rpx}.pay-amount{width:100%;margin-top:10rpx;font-size:32rpx}.back{position:absolute;width:100%;bottom:80rpx}.back .btn{padding:0 50rpx;height:70rpx;border:solid 2rpx #f06c7a;color:#f06c7a;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-border-radius:10rpx;border-radius:10rpx;font-size:34rpx} |
||||
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.coupon-status{height:35px;line-height:35px}.coupon-cont{height:100px;margin-bottom:10px}.coupon-mes{margin-right:90px}.coupon-img{width:80px;height:80px;margin-top:10px}.coupon-qr{width:150px;height:150px}.coupon-des{width:80px;height:80px;text-align:center;color:#fff;font-size:28px;-webkit-border-radius:10px;border-radius:10px;background-color:red}.coupon-cont-dh{margin-left:90px}.coupon-map image{width:45px;height:45px}.coupon-no{height:80px;line-height:80px;border:1px solid #b2b2b2;-webkit-border-radius:10px;border-radius:10px}.coupne-btn{position:fixed;bottom:0;background-color:red;color:#fff}.coupne-btn{position:fixed;bottom:0;background-color:red;color:#fff} |
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabBar/category/category"],{"20da":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("b528"),a=function(){n.e("components/Authorize").then(function(){return resolve(n("4bac"))}.bind(null,n)).catch(n.oe)},i=getApp(),r={components:{authorize:a},data:function(){return{showCategoryIndex:0,headerPosition:"fixed",city:"",imageUrl:i.globalData.imgUrl,categoryList:[],MerchantList:[],pageNum:1,pageSize:10,isNoMoreData:!1}},onPageScroll:function(t){t.scrollTop>=0?this.headerPosition="fixed":this.headerPosition="absolute"},onLoad:function(){this.postionIng()},methods:{postionIng:function(){t.showLoading({});var e=this;t.getLocation({type:"wgs84",success:function(n){i.globalData.latitude=n.latitude,i.globalData.longitude=n.longitude,t.request({url:"https://apis.map.qq.com/ws/geocoder/v1/?location="+n.latitude+","+n.longitude+"&key=YQDBZ-T54K4-5J6U7-DO3BA-CNZJO-PTFMU",data:{},success:function(n){e.city=n.data.result.address_component.city.replace(/市/g,"");var o=n.data.result.ad_info.adcode.substring(5,"0");i.globalData.cityId=o+0,e.getMerchantList(),t.hideLoading()}})}})},getMerchantList:function(){var e=this;t.showLoading({title:"加载中..."});var n={regionId:i.globalData.cityId};(0,o.getMerchantList)(n).then((function(n){"000000"==n.return_code?(e.MerchantList=n.return_data,e.getStoreListByMerchant(n.return_data[0].id),setTimeout((function(){t.hideLoading()}),2e3)):t.hideLoading()}))},toScan:function(){t.scanCode({success:function(e){t.navigateTo({url:"../../goods/coupons-info-details/coupons-info-details?id="+JSON.parse(e.result).code})},fail:function(){t.showToast({title:"无法识别二维码",icon:"none",duration:2e3})}})},getStoreListByMerchant:function(e){var n=this;t.showLoading({title:"加载中..."});var a={merchantId:e,longitude:i.globalData.longitude,latitude:i.globalData.latitude};(0,o.getStoreListByMerchant)(a).then((function(e){"000000"==e.return_code?(n.categoryList=e.return_data,setTimeout((function(){t.hideLoading()}),2e3)):(n.categoryList=[],t.hideLoading())}))},showCategory:function(t,e){this.showCategoryIndex=t,this.getStoreListByMerchant(e)},toCategory:function(e){t.navigateTo({url:"../../goods/store-list/store-details?id="+e.id+"&juli="+e.distance})},toSearch:function(){t.navigateTo({url:"../../goods/HM-search/HM-search"})}}};e.default=r}).call(this,n("543d")["default"])},"305a":function(t,e,n){"use strict";var o=n("b0f6"),a=n.n(o);a.a},"321c":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},4285:function(t,e,n){"use strict";(function(t){n("eba6");o(n("66fd"));var e=o(n("fce8"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"4b4f":function(t,e,n){"use strict";n.r(e);var o=n("20da"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},b0f6:function(t,e,n){},fce8:function(t,e,n){"use strict";n.r(e);var o=n("321c"),a=n("4b4f");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("305a");var r,c=n("f0c5"),u=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);e["default"]=u.exports}},[["4285","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabBar/category/category"],{"20da":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a("b528"),o=getApp(),i={data:function(){return{showCategoryIndex:0,headerPosition:"fixed",city:"",imageUrl:o.globalData.imgUrl,categoryList:[],MerchantList:[],pageNum:1,pageSize:10,isNoMoreData:!1}},onPageScroll:function(t){t.scrollTop>=0?this.headerPosition="fixed":this.headerPosition="absolute"},onLoad:function(){this.postionIng()},methods:{postionIng:function(){t.showLoading({});var e=this;t.getLocation({type:"wgs84",success:function(a){o.globalData.latitude=a.latitude,o.globalData.longitude=a.longitude,t.request({url:"https://apis.map.qq.com/ws/geocoder/v1/?location="+a.latitude+","+a.longitude+"&key=YQDBZ-T54K4-5J6U7-DO3BA-CNZJO-PTFMU",data:{},success:function(a){e.city=a.data.result.address_component.city.replace(/市/g,"");var n=a.data.result.ad_info.adcode.substring(5,"0");o.globalData.cityId=n+0,e.getMerchantList(),t.hideLoading()}})}})},getMerchantList:function(){var e=this;t.showLoading({title:"加载中..."});var a={regionId:o.globalData.cityId};(0,n.getMerchantList)(a).then((function(a){"000000"==a.return_code?(e.MerchantList=a.return_data,e.getStoreListByMerchant(a.return_data[0].id),setTimeout((function(){t.hideLoading()}),2e3)):t.hideLoading()}))},toScan:function(){t.scanCode({success:function(e){t.navigateTo({url:"../../goods/coupons-info-details/coupons-info-details?id="+JSON.parse(e.result).code})},fail:function(){t.showToast({title:"无法识别二维码",icon:"none",duration:2e3})}})},getStoreListByMerchant:function(e){var a=this;t.showLoading({title:"加载中..."});var i={merchantId:e,longitude:o.globalData.longitude,latitude:o.globalData.latitude};(0,n.getStoreListByMerchant)(i).then((function(e){"000000"==e.return_code?(a.categoryList=e.return_data,setTimeout((function(){t.hideLoading()}),2e3)):(a.categoryList=[],t.hideLoading())}))},showCategory:function(t,e){this.showCategoryIndex=t,this.getStoreListByMerchant(e)},toCategory:function(e){t.navigateTo({url:"../../goods/store-list/store-details?id="+e.id+"&juli="+e.distance})},toSearch:function(){t.navigateTo({url:"../../goods/HM-search/HM-search"})}}};e.default=i}).call(this,a("543d")["default"])},"305a":function(t,e,a){"use strict";var n=a("b0f6"),o=a.n(n);o.a},4285:function(t,e,a){"use strict";(function(t){a("eba6");n(a("66fd"));var e=n(a("fce8"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},"4b4f":function(t,e,a){"use strict";a.r(e);var n=a("20da"),o=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},afab:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement;t._self._c},i=[]},b0f6:function(t,e,a){},fce8:function(t,e,a){"use strict";a.r(e);var n=a("afab"),o=a("4b4f");for(var i in o)"default"!==i&&function(t){a.d(e,t,(function(){return o[t]}))}(i);a("305a");var r,c=a("f0c5"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=u.exports}},[["4285","common/runtime","common/vendor"]]]); |
@ -1,6 +1,4 @@ |
||||
{ |
||||
"navigationBarTextStyle": "black", |
||||
"usingComponents": { |
||||
"authorize": "/components/Authorize" |
||||
} |
||||
"usingComponents": {} |
||||
} |
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@ |
||||
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.status{width:100%;height:0;position:fixed;z-index:10;background-color:#fff;top:0}button::after{border:none}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.header{width:92%;padding:0 4%;height:100rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:fixed;top:0;z-index:10;background-color:#fff}.header .addr{width:120rpx;height:60rpx;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx}.header .addr .icon{height:60rpx;margin-right:5rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:42rpx;color:#ffc50a}.header .input-box{width:100%;height:60rpx;background-color:#f5f5f5;-webkit-border-radius:30rpx;border-radius:30rpx;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.header .input-box .icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:absolute;top:0;right:0;width:60rpx;height:60rpx;font-size:34rpx;color:silver}.header .input-box input{padding-left:28rpx;height:28rpx;font-size:28rpx}.header .icon-btn{width:60rpx;height:60rpx;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex}.header .icon-btn .icon{width:60rpx;height:60rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:42rpx;background-color:transparent}.place{background-color:#fff;height:100rpx}.category-list{width:100%;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex}.category-list .left, |
||||
.category-list .right{position:absolute;top:100rpx;bottom:0rpx}.category-list .left{width:24%;left:0rpx;background-color:#f2f2f2}.category-list .left .row{width:100%;height:90rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.category-list .left .row .text{width:100%;position:relative;font-size:28rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#3c3c3c}.category-list .left .row .text .block{position:absolute;width:0rpx;left:0}.category-list .left .row.on{height:100rpx;background-color:#fff}.category-list .left .row.on .text{font-size:30rpx;font-weight:600;color:#2d2d2d}.category-list .left .row.on .text .block{width:10rpx;height:80%;top:10%;background-color:#f06c7a}.category-list .right{width:76%;left:24%}.category-list .right .category{width:94%;padding:20rpx 3%}.category-list .right .category .banner{width:100%;height:24.262vw;-webkit-border-radius:10rpx;border-radius:10rpx;overflow:hidden;-webkit-box-shadow:0rpx 5rpx 20rpx rgba(0,0,0,.3);box-shadow:0rpx 5rpx 20rpx rgba(0,0,0,.3)}.category-list .right .category .banner image{width:100%;height:24.262vw}.category-list .right .category .list{margin-top:40rpx;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.category-list .right .category .list .box{width:calc(71.44vw / 2);margin-bottom:30rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap}.category-list .right .category .list .box image{width:60%;height:calc(71.44vw / 2 * .6)}.category-list .right .category .list .box .text{margin-top:5rpx;width:80%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:26rpx} |
||||
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.status{width:100%;height:0;position:fixed;z-index:10;background-color:#fff;top:0}button::after{border:none}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.header{width:92%;padding:0 4%;height:100rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:fixed;top:0;z-index:10;background-color:#fff}.header .addr{width:120rpx;height:60rpx;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx}.header .addr .icon{height:60rpx;margin-right:5rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:42rpx;color:#ffc50a}.header .input-box{width:100%;height:60rpx;background-color:#f5f5f5;-webkit-border-radius:30rpx;border-radius:30rpx;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.header .input-box .icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:absolute;top:0;right:0;width:60rpx;height:60rpx;font-size:34rpx;color:silver}.header .input-box input{padding-left:28rpx;height:28rpx;font-size:28rpx;width:100%}.header .icon-btn{width:60rpx;height:60rpx;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex}.header .icon-btn .icon{width:60rpx;height:60rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:42rpx;background-color:transparent}.place{background-color:#fff;height:100rpx}.category-list{width:100%;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex}.category-list .left, |
||||
.category-list .right{position:absolute;top:100rpx;bottom:0rpx}.category-list .left{width:24%;left:0rpx;background-color:#f2f2f2}.category-list .left .row{width:100%;height:90rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.category-list .left .row .text{width:100%;position:relative;font-size:28rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#3c3c3c}.category-list .left .row .text .block{position:absolute;width:0rpx;left:0}.category-list .left .row.on{height:100rpx;background-color:#fff}.category-list .left .row.on .text{font-size:30rpx;font-weight:600;color:#2d2d2d}.category-list .left .row.on .text .block{width:10rpx;height:80%;top:10%;background-color:#f06c7a}.category-list .right{width:76%;left:24%}.category-list .right .category{width:94%;padding:20rpx 3%}.category-list .right .category .banner{width:100%;height:24.262vw;-webkit-border-radius:10rpx;border-radius:10rpx;overflow:hidden;-webkit-box-shadow:0rpx 5rpx 20rpx rgba(0,0,0,.3);box-shadow:0rpx 5rpx 20rpx rgba(0,0,0,.3)}.category-list .right .category .banner image{width:100%;height:24.262vw}.category-list .right .category .list{margin-top:40rpx;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.category-list .right .category .list .box{width:calc(70vw / 2);margin-bottom:30rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap}.category-list .right .category .list .box image{width:60%;height:calc(70vw / 2 * .6)}.category-list .right .category .list .box .text{margin-top:5rpx;width:80%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:26rpx} |
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabBar/home/home"],{"3f51":function(t,o,e){"use strict";e.r(o);var n=e("d115"),a=e("5964");for(var i in a)"default"!==i&&function(t){e.d(o,t,(function(){return a[t]}))}(i);e("4bab");var u,c=e("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],u);o["default"]=s.exports},"41ea":function(t,o,e){"use strict";(function(t){e("eba6");n(e("66fd"));var o=n(e("3f51"));function n(t){return t&&t.__esModule?t:{default:t}}t(o.default)}).call(this,e("543d")["createPage"])},"4bab":function(t,o,e){"use strict";var n=e("91be"),a=e.n(n);a.a},5964:function(t,o,e){"use strict";e.r(o);var n=e("c8f8"),a=e.n(n);for(var i in n)"default"!==i&&function(t){e.d(o,t,(function(){return n[t]}))}(i);o["default"]=a.a},"91be":function(t,o,e){},c8f8:function(t,o,e){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n=e("b528"),a=getApp(),i={data:function(){return{showHeader:!0,afterHeaderOpacity:1,headerPosition:"fixed",headerTop:null,statusTop:null,nVueTitle:null,city:"",currentSwiper:0,imageUrl:a.globalData.imgUrl,swiperList:[{id:1,src:"url1",img:"/static/img/banner2.png"},{id:2,src:"url2",img:"/static/img/banner3.png"}],productList:[],goldproductList:[],loadingText:"正在加载...",pageNum:1,pageSize:6}},onPageScroll:function(t){this.headerPosition=t.scrollTop>=0?"fixed":"absolute",this.headerTop=t.scrollTop>=0?null:0,this.statusTop=t.scrollTop>=0?null:-this.statusHeight+"px"},onPullDownRefresh:function(){setTimeout((function(){t.stopPullDownRefresh()}),1e3)},onReachBottom:function(){},authColse:function(){},onLoad:function(){t.login({provider:"weixin",success:function(t){a.globalData.code=t.code;var o={code:a.globalData.code};(0,n.HandleCode)(o).then((function(t){"000000"==t.return_code&&(a.globalData.openId=t.return_data.openId)}))}}),this.postionIng(),t.getStorage({key:"user",success:function(o){a.globalData.userInfo=o.data,t.getStorage({key:"token",success:function(t){a.globalData.token=t.data}})},fail:function(t){}})},methods:{postionIng:function(){t.showLoading({title:"加载中"});var o=this;t.getLocation({type:"wgs84",success:function(e){a.globalData.latitude=e.latitude,a.globalData.longitude=e.longitude,t.request({url:"https://apis.map.qq.com/ws/geocoder/v1/?location="+e.latitude+","+e.longitude+"&key=YQDBZ-T54K4-5J6U7-DO3BA-CNZJO-PTFMU",data:{},success:function(e){o.city=e.data.result.address_component.city.replace(/市/g,"");var n=e.data.result.ad_info.adcode.substring(5,"");a.globalData.cityId=n+0,o.getCouponListArea(),o.getCouponListgold(),t.hideLoading()},fail:function(){t.hideLoading()}})}})},toScan:function(){t.scanCode({success:function(o){t.navigateTo({url:"../../goods/coupons-info-details/coupons-info-details?id="+JSON.parse(o.result).code})},fail:function(){t.showToast({title:"无法识别二维码",icon:"none",duration:2e3})}})},getCouponListArea:function(){var t=this,o={regionId:a.globalData.cityId,pageNum:this.pageNum,pageSize:this.pageSize,displayArea:1};(0,n.getCouponList)(o).then((function(o){"000000"==o.return_code&&(t.productList=o.return_data.list)}))},getCouponListgold:function(){var t=this,o={regionId:a.globalData.cityId,pageNum:this.pageNum,pageSize:this.pageSize,displayArea:2};(0,n.getCouponList)(o).then((function(o){"000000"==o.return_code&&(t.goldproductList=o.return_data.list)}))},tao:function(o,e){console.log(o),t.navigateToMiniProgram({appId:e,path:o,success:function(t){console.log("打开成功",t)},fail:function(t){console.log(t)}})},toMsg:function(){},toSearch:function(){t.navigateTo({url:"../../goods/HM-search/HM-search"})},toSwiper:function(o){t.reLaunch({url:"../category/category"})},toGoods:function(o){t.navigateTo({url:"../../goods/goods?id="+o})},swiperChange:function(t){this.currentSwiper=t.detail.current}}};o.default=i}).call(this,e("543d")["default"])},d115:function(t,o,e){"use strict";var n;e.d(o,"b",(function(){return a})),e.d(o,"c",(function(){return i})),e.d(o,"a",(function(){return n}));var a=function(){var t=this,o=t.$createElement;t._self._c},i=[]}},[["41ea","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabBar/home/home"],{"3f51":function(t,o,e){"use strict";e.r(o);var n=e("9dd2"),a=e("5964");for(var i in a)"default"!==i&&function(t){e.d(o,t,(function(){return a[t]}))}(i);e("4bab");var u,c=e("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],u);o["default"]=s.exports},"41ea":function(t,o,e){"use strict";(function(t){e("eba6");n(e("66fd"));var o=n(e("3f51"));function n(t){return t&&t.__esModule?t:{default:t}}t(o.default)}).call(this,e("543d")["createPage"])},"4bab":function(t,o,e){"use strict";var n=e("91be"),a=e.n(n);a.a},5964:function(t,o,e){"use strict";e.r(o);var n=e("c8f8"),a=e.n(n);for(var i in n)"default"!==i&&function(t){e.d(o,t,(function(){return n[t]}))}(i);o["default"]=a.a},"91be":function(t,o,e){},"9dd2":function(t,o,e){"use strict";var n;e.d(o,"b",(function(){return a})),e.d(o,"c",(function(){return i})),e.d(o,"a",(function(){return n}));var a=function(){var t=this,o=t.$createElement;t._self._c},i=[]},c8f8:function(t,o,e){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n=e("b528"),a=getApp(),i={data:function(){return{showHeader:!0,afterHeaderOpacity:1,headerPosition:"fixed",headerTop:null,statusTop:null,nVueTitle:null,city:"",currentSwiper:0,imageUrl:a.globalData.imgUrl,swiperList:[{id:1,src:"url1",img:"/static/img/banner2.png"},{id:2,src:"url2",img:"/static/img/banner3.png"}],productList:[],goldproductList:[],loadingText:"正在加载...",pageNum:1,pageSize:6}},onPageScroll:function(t){this.headerPosition=t.scrollTop>=0?"fixed":"absolute",this.headerTop=t.scrollTop>=0?null:0,this.statusTop=t.scrollTop>=0?null:-this.statusHeight+"px"},onPullDownRefresh:function(){setTimeout((function(){t.stopPullDownRefresh()}),1e3)},onReachBottom:function(){},authColse:function(){},onLoad:function(){t.login({provider:"weixin",success:function(t){a.globalData.code=t.code;var o={code:a.globalData.code};(0,n.HandleCode)(o).then((function(t){"000000"==t.return_code&&(a.globalData.openId=t.return_data.openId)}))}}),this.postionIng(),t.getStorage({key:"user",success:function(o){a.globalData.userInfo=o.data,t.getStorage({key:"token",success:function(t){a.globalData.token=t.data}})},fail:function(t){}})},methods:{postionIng:function(){t.showLoading({title:"加载中"});var o=this;t.getLocation({type:"wgs84",success:function(e){a.globalData.latitude=e.latitude,a.globalData.longitude=e.longitude,t.request({url:"https://apis.map.qq.com/ws/geocoder/v1/?location="+e.latitude+","+e.longitude+"&key=YQDBZ-T54K4-5J6U7-DO3BA-CNZJO-PTFMU",data:{},success:function(e){o.city=e.data.result.address_component.city.replace(/市/g,"");var n=e.data.result.ad_info.adcode.substring(5,"");a.globalData.cityId=n+0,o.getCouponListArea(),o.getCouponListgold(),t.hideLoading()},fail:function(){t.hideLoading()}})}})},toScan:function(){t.scanCode({success:function(o){t.navigateTo({url:"../../goods/coupons-info-details/coupons-info-details?id="+JSON.parse(o.result).code})},fail:function(){t.showToast({title:"无法识别二维码",icon:"none",duration:2e3})}})},getCouponListArea:function(){var t=this,o={regionId:a.globalData.cityId,pageNum:this.pageNum,pageSize:this.pageSize,displayArea:1};(0,n.getCouponList)(o).then((function(o){"000000"==o.return_code&&(t.productList=o.return_data.list)}))},getCouponListgold:function(){var t=this,o={regionId:a.globalData.cityId,pageNum:this.pageNum,pageSize:this.pageSize,displayArea:2};(0,n.getCouponList)(o).then((function(o){"000000"==o.return_code&&(t.goldproductList=o.return_data.list)}))},tao:function(o,e){console.log(o),t.navigateToMiniProgram({appId:e,path:o,success:function(t){console.log("打开成功",t)},fail:function(t){console.log(t)}})},toMsg:function(){},toSearch:function(){t.navigateTo({url:"../../goods/HM-search/HM-search"})},toSwiper:function(o){t.reLaunch({url:"../category/category"})},toGoods:function(o){t.navigateTo({url:"../../goods/goods?id="+o})},swiperChange:function(t){this.currentSwiper=t.detail.current}}};o.default=i}).call(this,e("543d")["default"])}},[["41ea","common/runtime","common/vendor"]]]); |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/coupon/coupon"],{"071e":function(t,i,e){"use strict";(function(t){e("eba6");n(e("66fd"));var i=n(e("cfe9"));function n(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,e("543d")["createPage"])},1637:function(t,i,e){"use strict";var n;e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){return n}));var o=function(){var t=this,i=t.$createElement,e=(t._self._c,t.__map(t.couponValidList,(function(i,e){var n=t.__get_orig(i),o=t._f("formatDate")(i.highDiscount.salesEndTime,"-");return{$orig:n,f0:o}}))),n=t.__map(t.couponinvalidList,(function(i,e){var n=t.__get_orig(i),o=t._f("formatDate")(i.highDiscount.salesEndTime,"-");return{$orig:n,f1:o}}));t.$mp.data=Object.assign({},{$root:{l0:e,l1:n}})},s=[]},3365:function(t,i,e){"use strict";var n=e("fb2a"),o=e.n(n);o.a},b357:function(t,i,e){"use strict";e.r(i);var n=e("b5f2"),o=e.n(n);for(var s in n)"default"!==s&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=o.a},b5f2:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("b528"),o={data:function(){return{couponValidList:[],couponinvalidList:[],headerTop:0,typeClass:"valid",subState:"",theIndex:null,oldIndex:null,isStop:!1,pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onPageScroll:function(t){},onPullDownRefresh:function(){setTimeout((function(){t.stopPullDownRefresh()}),1e3)},onLoad:function(){this.getUserDiscountList(1)},filters:{formatDate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",e=new Date(t),n=e.getFullYear(),o=e.getMonth()+1,s=e.getDate(),a=e.getHours(),u=e.getMinutes(),c=e.getSeconds();return o=o>10?o:"0"+o,s=s>10?s:"0"+s,a=a>10?a:"0"+a,u=u>10?u:"0"+u,c=c>10?c:"0"+c,"".concat(n).concat(i).concat(o).concat(i).concat(s," ").concat(a,":").concat(u,":").concat(c)}},onReachBottom:function(){"valid"==this.typeClass?(this.pageNum=1,this.couponValidList=[],this.isNoMoreData=!1,this.getUserDiscountList(1)):(this.pageNum=1,this.couponinvalidList=[],this.isNoMoreData=!1,this.getUserDiscountList(2))},methods:{getUserDiscountList:function(i){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,s={pageNum:o,status:i,pageSize:this.pageSize};(0,n.getUserDiscountList)(s).then((function(i){"000000"==i.return_code?(t.hideLoading(),e.isNoMoreData=i.return_data.list.length!=e.pageSize,e.pageNum=i.return_data.list.length==e.pageSize?++o:o,"valid"==e.typeClass?e.couponValidList=e.couponValidList.concat(i.return_data.list):e.couponinvalidList=e.couponinvalidList.concat(i.return_data.list)):(e.couponValidList=[],e.couponinvalidList=[],t.hideLoading())}))},jumpcoupons:function(i){t.navigateTo({url:"../mineCouponsDestails/mineCouponsDestails?id="+i})},switchType:function(i){var e=this;this.typeClass!=i&&(t.pageScrollTo({scrollTop:0,duration:0}),this.typeClass=i,this.subState=""==this.typeClass?"":"show"+i,setTimeout((function(){e.oldIndex=null,e.theIndex=null,e.subState="valid"==e.typeClass?"":e.subState}),200),"valid"==this.typeClass?(this.pageNum=1,this.couponValidList=[],this.isNoMoreData=!1,this.getUserDiscountList(1)):(this.pageNum=1,this.couponinvalidList=[],this.isNoMoreData=!1,this.getUserDiscountList(2)))},touchStart:function(t,i){i.touches.length>1?this.isStop=!0:(this.oldIndex=this.theIndex,this.theIndex=null,this.initXY=[i.touches[0].pageX,i.touches[0].pageY])},touchMove:function(t,i){var e=this;if(i.touches.length>1)this.isStop=!0;else{var n=i.touches[0].pageX-this.initXY[0],o=i.touches[0].pageY-this.initXY[1];this.isStop||Math.abs(n)<5||(Math.abs(o)>Math.abs(n)?this.isStop=!0:n<0?(this.theIndex=t,this.isStop=!0):n>0&&null!=this.theIndex&&this.oldIndex==this.theIndex&&(this.oldIndex=t,this.theIndex=null,this.isStop=!0,setTimeout((function(){e.oldIndex=null}),150)))}},touchEnd:function(t,i){this.isStop=!1},deleteCoupon:function(t,i){for(var e=i.length,n=0;n<e;n++)if(t==i[n].id){i.splice(n,1);break}this.oldIndex=null,this.theIndex=null},discard:function(){}}};i.default=o}).call(this,e("543d")["default"])},cfe9:function(t,i,e){"use strict";e.r(i);var n=e("1637"),o=e("b357");for(var s in o)"default"!==s&&function(t){e.d(i,t,(function(){return o[t]}))}(s);e("3365");var a,u=e("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],a);i["default"]=c.exports},fb2a:function(t,i,e){}},[["071e","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/coupon/coupon"],{"071e":function(t,i,e){"use strict";(function(t){e("eba6");n(e("66fd"));var i=n(e("cfe9"));function n(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,e("543d")["createPage"])},3365:function(t,i,e){"use strict";var n=e("fb2a"),o=e.n(n);o.a},"527d":function(t,i,e){"use strict";var n;e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){return n}));var o=function(){var t=this,i=t.$createElement,e=(t._self._c,t.__map(t.couponValidList,(function(i,e){var n=t.__get_orig(i),o=t._f("formatDate")(i.highDiscount.salesEndTime,"-");return{$orig:n,f0:o}}))),n=t.__map(t.couponinvalidList,(function(i,e){var n=t.__get_orig(i),o=t._f("formatDate")(i.highDiscount.salesEndTime,"-");return{$orig:n,f1:o}}));t.$mp.data=Object.assign({},{$root:{l0:e,l1:n}})},s=[]},b357:function(t,i,e){"use strict";e.r(i);var n=e("b5f2"),o=e.n(n);for(var s in n)"default"!==s&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=o.a},b5f2:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("b528"),o={data:function(){return{couponValidList:[],couponinvalidList:[],headerTop:0,typeClass:"valid",subState:"",theIndex:null,oldIndex:null,isStop:!1,pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onPageScroll:function(t){},onPullDownRefresh:function(){setTimeout((function(){t.stopPullDownRefresh()}),1e3)},onLoad:function(){this.getUserDiscountList(1)},filters:{formatDate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",e=new Date(t),n=e.getFullYear(),o=e.getMonth()+1,s=e.getDate(),a=e.getHours(),u=e.getMinutes(),c=e.getSeconds();return o=o>10?o:"0"+o,s=s>10?s:"0"+s,a=a>10?a:"0"+a,u=u>10?u:"0"+u,c=c>10?c:"0"+c,"".concat(n).concat(i).concat(o).concat(i).concat(s," ").concat(a,":").concat(u,":").concat(c)}},onReachBottom:function(){"valid"==this.typeClass?(this.pageNum=1,this.couponValidList=[],this.isNoMoreData=!1,this.getUserDiscountList(1)):(this.pageNum=1,this.couponinvalidList=[],this.isNoMoreData=!1,this.getUserDiscountList(2))},methods:{getUserDiscountList:function(i){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,s={pageNum:o,status:i,pageSize:this.pageSize};(0,n.getUserDiscountList)(s).then((function(i){"000000"==i.return_code?(t.hideLoading(),e.isNoMoreData=i.return_data.list.length!=e.pageSize,i.return_data.total==e.pageNum*e.pageSize&&(e.isNoMoreData=!0),"valid"==e.typeClass?e.couponValidList=e.couponValidList.concat(i.return_data.list):e.couponinvalidList=e.couponinvalidList.concat(i.return_data.list),e.pageNum=i.return_data.list.length==e.pageSize?++o:o):(e.couponValidList=[],e.couponinvalidList=[],t.hideLoading())}))},jumpcoupons:function(i){t.navigateTo({url:"../mineCouponsDestails/mineCouponsDestails?id="+i})},switchType:function(i){var e=this;this.typeClass!=i&&(t.pageScrollTo({scrollTop:0,duration:0}),this.typeClass=i,this.subState=""==this.typeClass?"":"show"+i,setTimeout((function(){e.oldIndex=null,e.theIndex=null,e.subState="valid"==e.typeClass?"":e.subState}),200),"valid"==this.typeClass?(this.pageNum=1,this.couponValidList=[],this.isNoMoreData=!1,this.getUserDiscountList(1)):(this.pageNum=1,this.couponinvalidList=[],this.isNoMoreData=!1,this.getUserDiscountList(2)))},touchStart:function(t,i){i.touches.length>1?this.isStop=!0:(this.oldIndex=this.theIndex,this.theIndex=null,this.initXY=[i.touches[0].pageX,i.touches[0].pageY])},touchMove:function(t,i){var e=this;if(i.touches.length>1)this.isStop=!0;else{var n=i.touches[0].pageX-this.initXY[0],o=i.touches[0].pageY-this.initXY[1];this.isStop||Math.abs(n)<5||(Math.abs(o)>Math.abs(n)?this.isStop=!0:n<0?(this.theIndex=t,this.isStop=!0):n>0&&null!=this.theIndex&&this.oldIndex==this.theIndex&&(this.oldIndex=t,this.theIndex=null,this.isStop=!0,setTimeout((function(){e.oldIndex=null}),150)))}},touchEnd:function(t,i){this.isStop=!1},deleteCoupon:function(t,i){for(var e=i.length,n=0;n<e;n++)if(t==i[n].id){i.splice(n,1);break}this.oldIndex=null,this.theIndex=null},discard:function(){}}};i.default=o}).call(this,e("543d")["default"])},cfe9:function(t,i,e){"use strict";e.r(i);var n=e("527d"),o=e("b357");for(var s in o)"default"!==s&&function(t){e.d(i,t,(function(){return o[t]}))}(s);e("3365");var a,u=e("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],a);i["default"]=c.exports},fb2a:function(t,i,e){}},[["071e","common/runtime","common/vendor"]]]); |
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/mineCoupons/mineCoupons"],{"053e":function(t,e,n){"use strict";n.r(e);var i=n("f3c1"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"086d":function(t,e,n){"use strict";n.r(e);var i=n("b87f"),a=n("053e");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7600");var u,r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],u);e["default"]=s.exports},"56ab":function(t,e,n){"use strict";(function(t){n("eba6");i(n("66fd"));var e=i(n("086d"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"5d1a":function(t,e,n){},7600:function(t,e,n){"use strict";var i=n("5d1a"),a=n.n(i);a.a},b87f:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]},f3c1:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("b528"),a=getApp(),o={data:function(){return{businType:["未使用","已使用"],tabbarIndex:0,imageUrl:a.globalData.imgUrl,productList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onPageScroll:function(t){},onLoad:function(){this.getUserCouponList(1)},onReachBottom:function(){0===this.tabbarIndex?this.getUserCouponList(1):1===this.tabbarIndex&&this.getUserCouponList(2)},methods:{showType:function(t){this.tabbarIndex=t,0===this.tabbarIndex?(this.pageNum=1,this.productList=[],this.isNoMoreData=!1,this.getUserCouponList(1)):1===this.tabbarIndex&&(this.pageNum=1,this.productList=[],this.isNoMoreData=!1,this.getUserCouponList(2))},jumpMineCou:function(e){t.navigateTo({url:"../../goods/coupon-details/coupon-details?id="+e})},getUserCouponList:function(e){var n=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var a=this.pageNum,o={pageNum:a,status:e,pageSize:this.pageSize};(0,i.getUserCouponList)(o).then((function(e){"000000"==e.return_code&&""!=e.return_data.list?(t.hideLoading(),n.isNoMoreData=e.return_data.list.length!=n.pageSize,n.pageNum=e.return_data.list.length==n.pageSize?++a:a,n.productList=n.productList.concat(e.return_data.list)):(n.productList=[],t.hideLoading())}))}}};e.default=o}).call(this,n("543d")["default"])}},[["56ab","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/mineCoupons/mineCoupons"],{"053e":function(t,e,n){"use strict";n.r(e);var a=n("f3c1"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"086d":function(t,e,n){"use strict";n.r(e);var a=n("a694"),i=n("053e");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("7600");var u,r=n("f0c5"),s=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);e["default"]=s.exports},"56ab":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("086d"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"5d1a":function(t,e,n){},7600:function(t,e,n){"use strict";var a=n("5d1a"),i=n.n(a);i.a},a694:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},f3c1:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),i=getApp(),o={data:function(){return{businType:["未使用","已使用"],tabbarIndex:0,imageUrl:i.globalData.imgUrl,productList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onPageScroll:function(t){},onLoad:function(){this.getUserCouponList(1)},onReachBottom:function(){0===this.tabbarIndex?this.getUserCouponList(1):1===this.tabbarIndex&&this.getUserCouponList(2)},methods:{showType:function(t){this.tabbarIndex=t,0===this.tabbarIndex?(this.pageNum=1,this.productList=[],this.isNoMoreData=!1,this.getUserCouponList(1)):1===this.tabbarIndex&&(this.pageNum=1,this.productList=[],this.isNoMoreData=!1,this.getUserCouponList(2))},jumpMineCou:function(e){t.navigateTo({url:"../../goods/coupon-details/coupon-details?id="+e})},getUserCouponList:function(e){var n=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var i=this.pageNum,o={pageNum:i,status:e,pageSize:this.pageSize};(0,a.getUserCouponList)(o).then((function(e){"000000"==e.return_code&&""!=e.return_data.list?(t.hideLoading(),n.isNoMoreData=e.return_data.list.length!=n.pageSize,n.productList=n.productList.concat(e.return_data.list),e.return_data.total==n.pageNum*n.pageSize&&(n.isNoMoreData=!0),n.pageNum=e.return_data.list.length==n.pageSize?++i:i):(n.productList=[],t.hideLoading())}))}}};e.default=o}).call(this,n("543d")["default"])}},[["56ab","common/runtime","common/vendor"]]]); |
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/order_details/order_details"],{"1f24":function(e,t,n){},"23b2":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=(e._self._c,e._f("formatDate")(e.recinfo.createTime,"-")),o=e.recinfo.payTime?e._f("formatDate")(e.recinfo.payTime,"-"):null,r=e.recinfo.cancelTime?e._f("formatDate")(e.recinfo.cancelTime,"-"):null,i=e.recinfo.finishTime?e._f("formatDate")(e.recinfo.finishTime,"-"):null;e.$mp.data=Object.assign({},{$root:{f0:n,f1:o,f2:r,f3:i}})},i=[]},"244c":function(e,t,n){"use strict";(function(e){n("eba6");o(n("66fd"));var t=o(n("40b2"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"40b2":function(e,t,n){"use strict";n.r(t);var o=n("23b2"),r=n("9bd8");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("a9a2");var a,c=n("f0c5"),u=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=u.exports},"9bd8":function(e,t,n){"use strict";n.r(t);var o=n("b51b"),r=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},a9a2:function(e,t,n){"use strict";var o=n("1f24"),r=n.n(o);r.a},b51b:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("b528"),r=getApp(),i={data:function(){return{buylist:[],goodsPrice:0,sumPrice:0,freight:12,note:"",int:1200,deduction:0,recinfo:[],orderId:"",imageUrl:r.globalData.imgUrl}},onShow:function(){this.getOrderById()},onHide:function(){},onLoad:function(e){this.orderId=e.id},onBackPress:function(){this.clearOrder()},filters:{toFixed:function(e){return parseFloat(e).toFixed(2)},formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(e),o=n.getFullYear(),r=n.getMonth()+1,i=n.getDate(),a=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return r=r>10?r:"0"+r,i=i>10?i:"0"+i,a=a>10?a:"0"+a,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(o).concat(t).concat(r).concat(t).concat(i," ").concat(a,":").concat(c,":").concat(u)}},methods:{toGoods:function(t,n){2!=n&&e.navigateTo({url:"../../goods/goods?id="+t})},getOrderById:function(){var t=this;e.showLoading({title:"加载中..."});var n={orderId:this.orderId};(0,o.getOrderById)(n).then((function(n){"000000"==n.return_code?(e.hideLoading(),t.recinfo=n.return_data):e.hideLoading()}))},cancelOrder:function(){var t=this;e.showModal({title:"取消订单",content:"确定取消此订单?",success:function(n){if(n.confirm){e.showLoading({title:"加载中..."});var r={orderId:t.recinfo.id};(0,o.cancelOrder)(r).then((function(t){if("000000"==t.return_code){e.hideLoading(),e.showToast({title:t.return_data,icon:"none",duration:2e3});var n=getCurrentPages(),o=n[n.length-2];o.$vm.reFresh=Math.random(),e.navigateBack()}else e.showToast({title:t.return_msg,icon:"none",duration:2e3}),e.hideLoading()}))}else n.cancel&&console.log("用户点击取消")}})},clearOrder:function(){var t=this;e.removeStorage({key:"buylist",success:function(e){t.buylist=[],console.log("remove buylist success")}})},toPay:function(){var t;t=1==this.recinfo.payType||null==this.recinfo.payType?3:2==this.recinfo.payType?1:2,e.redirectTo({url:"/pages/pay/payment/payment?amount="+this.recinfo.payPrice+"&paytype="+t+"&orderId="+this.recinfo.id})},selectAddress:function(){e.navigateTo({url:"../user/address/address?type=select"})}}};t.default=i}).call(this,n("543d")["default"])}},[["244c","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/order_details/order_details"],{"0d9a":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=(e._self._c,e._f("formatDate")(e.recinfo.createTime,"-")),o=e.recinfo.payTime?e._f("formatDate")(e.recinfo.payTime,"-"):null,r=e.recinfo.cancelTime?e._f("formatDate")(e.recinfo.cancelTime,"-"):null,i=e.recinfo.finishTime?e._f("formatDate")(e.recinfo.finishTime,"-"):null;e.$mp.data=Object.assign({},{$root:{f0:n,f1:o,f2:r,f3:i}})},i=[]},"1f24":function(e,t,n){},"244c":function(e,t,n){"use strict";(function(e){n("eba6");o(n("66fd"));var t=o(n("40b2"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"40b2":function(e,t,n){"use strict";n.r(t);var o=n("0d9a"),r=n("9bd8");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("a9a2");var a,c=n("f0c5"),d=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=d.exports},"9bd8":function(e,t,n){"use strict";n.r(t);var o=n("b51b"),r=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},a9a2:function(e,t,n){"use strict";var o=n("1f24"),r=n.n(o);r.a},b51b:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("b528"),r=getApp(),i={data:function(){return{buylist:[],goodsPrice:0,sumPrice:0,freight:12,note:"",int:1200,deduction:0,recinfo:[],orderId:"",imageUrl:r.globalData.imgUrl}},onShow:function(){this.getOrderById()},onHide:function(){},onLoad:function(e){this.orderId=e.id},onBackPress:function(){this.clearOrder()},filters:{toFixed:function(e){return parseFloat(e).toFixed(2)},formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(e),o=n.getFullYear(),r=n.getMonth()+1,i=n.getDate(),a=n.getHours(),c=n.getMinutes(),d=n.getSeconds();return r=r>10?r:"0"+r,i=i>10?i:"0"+i,a=a>10?a:"0"+a,c=c>10?c:"0"+c,d=d>10?d:"0"+d,"".concat(o).concat(t).concat(r).concat(t).concat(i," ").concat(a,":").concat(c,":").concat(d)}},methods:{toGoods:function(t,n){2!=n&&e.navigateTo({url:"../../goods/goods?id="+t})},getOrderById:function(){var t=this;e.showLoading({title:"加载中..."});var n={orderId:this.orderId};(0,o.getOrderById)(n).then((function(n){"000000"==n.return_code?(e.hideLoading(),t.recinfo=n.return_data):e.hideLoading()}))},cancelOrder:function(){var t=this;e.showModal({title:"取消订单",content:"确定取消此订单?",success:function(n){if(n.confirm){e.showLoading({title:"加载中..."});var r={orderId:t.recinfo.id};(0,o.cancelOrder)(r).then((function(t){if("000000"==t.return_code){e.hideLoading(),e.showToast({title:t.return_data,icon:"none",duration:2e3});var n=getCurrentPages(),o=n[n.length-2];o.$vm.reFresh=Math.random(),e.navigateBack()}else e.showToast({title:t.return_msg,icon:"none",duration:2e3}),e.hideLoading()}))}else n.cancel&&console.log("用户点击取消")}})},clearOrder:function(){var t=this;e.removeStorage({key:"buylist",success:function(e){t.buylist=[],console.log("remove buylist success")}})},toPay:function(){var t;t=1==this.recinfo.payType||null==this.recinfo.payType?3:2==this.recinfo.payType?1:2,e.redirectTo({url:"/pages/pay/payment/payment?amount="+this.recinfo.payPrice+"&paytype="+t+"&orderId="+this.recinfo.id+"&couponId="+this.recinfo.highChildOrderList[0].goodsId})},selectAddress:function(){e.navigateTo({url:"../user/address/address?type=select"})}}};t.default=i}).call(this,n("543d")["default"])}},[["244c","common/runtime","common/vendor"]]]); |
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/order_list/order_list"],{"16a3":function(t,e,r){"use strict";r.r(e);var i=r("e415"),n=r("853f");for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);r("a539");var o,s=r("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],o);e["default"]=d.exports},"853f":function(t,e,r){"use strict";r.r(e);var i=r("b368"),n=r.n(i);for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},a539:function(t,e,r){"use strict";var i=r("bb58"),n=r.n(i);n.a},b368:function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r("b528"),n=getApp(),a={data:function(){return{headerPosition:"fixed",headerTop:"0px",typeText:{1:"等待付款",2:"订单已支付",3:"订单已完成",5:"订单已取消"},orderType:["全部","待支付","已支付","已完成","已取消"],orderList:[],list:[],tabbarIndex:0,pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:"",typeId:"",imageUrl:n.globalData.imgUrl,reFresh:""}},onLoad:function(t){var e=parseInt(t.tbIndex)+1;this.list=this.orderList[e],this.tabbarIndex=e,this.typeId=e,this.getUserOrderList()},onPageScroll:function(t){},onReachBottom:function(){this.getUserOrderList()},watch:{reFresh:function(){this.tabbarIndex=0,this.typeId="",this.pageNum=1,this.orderList=[],this.isNoMoreData=!1,this.getUserOrderList()}},methods:{getUserOrderList:function(){var e,r=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),!1;e=4==this.typeId?5:this.typeId;var n=this.pageNum,a={status:e,pageNum:this.pageNum,pageSize:this.pageSize};(0,i.getUserOrderList)(a).then((function(e){"000000"==e.return_code&&""!=e.return_data.list?(t.hideLoading(),r.isNoMoreData=e.return_data.list.length!=r.pageSize,r.pageNum=e.return_data.list.length==r.pageSize?++n:n,r.orderList=r.orderList.concat(e.return_data.list)):(r.orderList=[],t.hideLoading())}))},jumpDetails:function(e){t.navigateTo({url:"../order_details/order_details?id="+e})},showType:function(t){this.tabbarIndex=t,this.pageNum=1,this.orderList=[],this.isNoMoreData=!1,this.typeId=0==t?"":t,this.getUserOrderList()},showLogistics:function(t){},remindDeliver:function(e){t.showToast({title:"已提醒商家发货"})},cancelOrder:function(e){var r=this,n=this;t.showModal({title:"取消订单",content:"确定取消此订单?",success:function(a){if(a.confirm){t.showLoading({title:"加载中..."});var o={orderId:e};(0,i.cancelOrder)(o).then((function(e){"000000"==e.return_code?(t.hideLoading(),t.showToast({title:e.return_data,icon:"none",duration:2e3}),r.pageNum=1,r.orderList=[],r.isNoMoreData=!1,n.getUserOrderList()):(t.showToast({title:e.return_msg,icon:"none",duration:2e3}),t.hideLoading())}))}else a.cancel&&console.log("用户点击取消")}})},doCancelOrder:function(t){for(var e=this.orderList.length,r=0;r<e;r++){var i=this.orderList[r],n=i.length;if(n>0&&"unpaid"==i[0].type)for(var a=0;a<n;a++)if(this.orderList[r][a].ordersn==t){this.orderList[r][a].type="cancelled";break}}},toPayment:function(e){var r;r=1==e.payType||null==e.payType?3:2==e.payType?1:2,t.redirectTo({url:"/pages/pay/payment/payment?amount="+e.payPrice+"&paytype="+r+"&orderId="+e.id})}}};e.default=a}).call(this,r("543d")["default"])},bb58:function(t,e,r){},c291:function(t,e,r){"use strict";(function(t){r("eba6");i(r("66fd"));var e=i(r("16a3"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,r("543d")["createPage"])},e415:function(t,e,r){"use strict";var i;r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},a=[]}},[["c291","common/runtime","common/vendor"]]]); |
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/order_list/order_list"],{"16a3":function(t,e,r){"use strict";r.r(e);var i=r("7a75"),a=r("853f");for(var n in a)"default"!==n&&function(t){r.d(e,t,(function(){return a[t]}))}(n);r("a539");var o,s=r("f0c5"),d=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],o);e["default"]=d.exports},"7a75":function(t,e,r){"use strict";var i;r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement;t._self._c},n=[]},"853f":function(t,e,r){"use strict";r.r(e);var i=r("b368"),a=r.n(i);for(var n in i)"default"!==n&&function(t){r.d(e,t,(function(){return i[t]}))}(n);e["default"]=a.a},a539:function(t,e,r){"use strict";var i=r("bb58"),a=r.n(i);a.a},b368:function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r("b528"),a=getApp(),n={data:function(){return{headerPosition:"fixed",headerTop:"0px",typeText:{1:"等待付款",2:"订单已支付",3:"订单已完成",5:"订单已取消"},orderType:["全部","待支付","已支付","已完成","已取消"],orderList:[],list:[],tabbarIndex:0,pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:"",typeId:"",imageUrl:a.globalData.imgUrl,reFresh:""}},onLoad:function(t){var e=parseInt(t.tbIndex)+1;this.list=this.orderList[e],this.tabbarIndex=e,this.typeId=e,this.getUserOrderList()},onPageScroll:function(t){},onReachBottom:function(){this.getUserOrderList()},watch:{reFresh:function(){this.tabbarIndex=0,this.typeId="",this.pageNum=1,this.orderList=[],this.isNoMoreData=!1,this.getUserOrderList()}},methods:{getUserOrderList:function(){var e,r=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),!1;e=4==this.typeId?5:this.typeId;var a=this.pageNum,n={status:e,pageNum:this.pageNum,pageSize:this.pageSize};(0,i.getUserOrderList)(n).then((function(e){"000000"==e.return_code&&""!=e.return_data.list?(t.hideLoading(),r.isNoMoreData=e.return_data.list.length!=r.pageSize,e.return_data.total==r.pageNum*r.pageSize&&(r.isNoMoreData=!0),r.orderList=r.orderList.concat(e.return_data.list),r.pageNum=e.return_data.list.length==r.pageSize?++a:a):(r.orderList=[],t.hideLoading())}))},jumpDetails:function(e){t.navigateTo({url:"../order_details/order_details?id="+e})},showType:function(t){this.tabbarIndex=t,this.pageNum=1,this.orderList=[],this.isNoMoreData=!1,this.typeId=0==t?"":t,this.getUserOrderList()},showLogistics:function(t){},remindDeliver:function(e){t.showToast({title:"已提醒商家发货"})},cancelOrder:function(e){var r=this,a=this;t.showModal({title:"取消订单",content:"确定取消此订单?",success:function(n){if(n.confirm){t.showLoading({title:"加载中..."});var o={orderId:e};(0,i.cancelOrder)(o).then((function(e){"000000"==e.return_code?(t.hideLoading(),t.showToast({title:e.return_data,icon:"none",duration:2e3}),r.pageNum=1,r.orderList=[],r.isNoMoreData=!1,a.getUserOrderList()):(t.showToast({title:e.return_msg,icon:"none",duration:2e3}),t.hideLoading())}))}else n.cancel&&console.log("用户点击取消")}})},doCancelOrder:function(t){for(var e=this.orderList.length,r=0;r<e;r++){var i=this.orderList[r],a=i.length;if(a>0&&"unpaid"==i[0].type)for(var n=0;n<a;n++)if(this.orderList[r][n].ordersn==t){this.orderList[r][n].type="cancelled";break}}},toPayment:function(e){var r;r=1==e.payType||null==e.payType?3:2==e.payType?1:2,t.redirectTo({url:"/pages/pay/payment/payment?amount="+e.payPrice+"&paytype="+r+"&orderId="+e.id+"&couponId="+this.orderList[0].highChildOrderList[0].goodsId})}}};e.default=n}).call(this,r("543d")["default"])},bb58:function(t,e,r){},c291:function(t,e,r){"use strict";(function(t){r("eba6");i(r("66fd"));var e=i(r("16a3"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,r("543d")["createPage"])}},[["c291","common/runtime","common/vendor"]]]); |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,442 @@ |
||||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/goods/externalCoupon/externalCoupon"],{ |
||||
|
||||
/***/ 274: |
||||
/*!*********************************************************************************************************************!*\ |
||||
!*** C:/Users/Administrator/Documents/high-mini/main.js?{"page":"pages%2Fgoods%2FexternalCoupon%2FexternalCoupon"} ***! |
||||
\*********************************************************************************************************************/ |
||||
/*! no static exports found */ |
||||
/***/ (function(module, exports, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4); |
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2)); |
||||
var _externalCoupon = _interopRequireDefault(__webpack_require__(/*! ./pages/goods/externalCoupon/externalCoupon.vue */ 275));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} |
||||
createPage(_externalCoupon.default); |
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"])) |
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 275: |
||||
/*!************************************************************************************************!*\ |
||||
!*** C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue ***! |
||||
\************************************************************************************************/ |
||||
/*! no static exports found */ |
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
__webpack_require__.r(__webpack_exports__); |
||||
/* harmony import */ var _externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./externalCoupon.vue?vue&type=template&id=74298626& */ 276); |
||||
/* harmony import */ var _externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./externalCoupon.vue?vue&type=script&lang=js& */ 278); |
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
||||
/* harmony import */ var _externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./externalCoupon.vue?vue&type=style&index=0&lang=scss& */ 280); |
||||
/* harmony import */ var _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); |
||||
|
||||
var renderjs |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* normalize component */ |
||||
|
||||
var component = Object(_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
||||
_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
||||
_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["render"], |
||||
_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
||||
false, |
||||
null, |
||||
null, |
||||
null, |
||||
false, |
||||
_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["components"], |
||||
renderjs |
||||
) |
||||
|
||||
component.options.__file = "pages/goods/externalCoupon/externalCoupon.vue" |
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); |
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 276: |
||||
/*!*******************************************************************************************************************************!*\ |
||||
!*** C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue?vue&type=template&id=74298626& ***! |
||||
\*******************************************************************************************************************************/ |
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ |
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
__webpack_require__.r(__webpack_exports__); |
||||
/* harmony import */ var _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./externalCoupon.vue?vue&type=template&id=74298626& */ 277); |
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_template_id_74298626___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
||||
|
||||
|
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 277: |
||||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
||||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue?vue&type=template&id=74298626& ***! |
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ |
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
__webpack_require__.r(__webpack_exports__); |
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); |
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); |
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); |
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); |
||||
var components |
||||
var render = function() { |
||||
var _vm = this |
||||
var _h = _vm.$createElement |
||||
var _c = _vm._self._c || _h |
||||
var f0 = _vm._f("formatDate")(_vm.salesEndTime, "-") |
||||
|
||||
_vm.$mp.data = Object.assign( |
||||
{}, |
||||
{ |
||||
$root: { |
||||
f0: f0 |
||||
} |
||||
} |
||||
) |
||||
} |
||||
var recyclableRender = false |
||||
var staticRenderFns = [] |
||||
render._withStripped = true |
||||
|
||||
|
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 278: |
||||
/*!*************************************************************************************************************************!*\ |
||||
!*** C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue?vue&type=script&lang=js& ***! |
||||
\*************************************************************************************************************************/ |
||||
/*! no static exports found */ |
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
__webpack_require__.r(__webpack_exports__); |
||||
/* harmony import */ var _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./externalCoupon.vue?vue&type=script&lang=js& */ 279); |
||||
/* harmony import */ var _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
||||
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 279: |
||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue?vue&type=script&lang=js& ***! |
||||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
||||
/*! no static exports found */ |
||||
/***/ (function(module, exports, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var _Api = __webpack_require__(/*! ../../../Utils/Api.js */ 17); //
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
// import authorize from '../../../components/Authorize';
|
||||
var app = getApp();var _default = { // components: {
|
||||
// authorize
|
||||
// },
|
||||
data: function data() {return { minecoupones: [], imageUrl: app.globalData.imgUrl, pageNum: 1, pageSize: 10, isNoMoreData: false, couponsDetails: '', salesEndTime: '', codes: '' };}, filters: { //过滤器 用于格式化时间
|
||||
formatDate: function formatDate(value) {var spe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '/';var data = new Date(value);var year = data.getFullYear();var month = data.getMonth() + 1;var day = data.getDate();var h = data.getHours();var mm = data.getMinutes();var s = data.getSeconds();month = month > 10 ? month : "0" + month;day = day > 10 ? day : "0" + day;h = h > 10 ? h : "0" + h;mm = mm > 10 ? mm : "0" + mm;s = s > 10 ? s : "0" + s;return "".concat(year).concat(spe).concat(month).concat(spe).concat(day);} }, onLoad: function onLoad(options) {this.codes = decodeURIComponent(options.q); // var arr1 = this.codes.substring(36,this.codes.length);
|
||||
var arr1 = this.codes.split('=');var arr2 = arr1[1];uni.showToast({ title: arr2, icon: 'none', duration: 2000000000 });}, methods: { //获取卡券详情
|
||||
getDiscountByQrCode: function getDiscountByQrCode() {var _this = this;var params = { code: this.codes };(0, _Api.getDiscountByQrCode)(params).then(function (res) {if (res.return_code == '000000') {_this.couponsDetails = res.return_data;_this.salesEndTime = res.return_data.highDiscount.salesEndTime;_this.getCouponByDiscount(res.return_data.highDiscount.id); |
||||
} |
||||
}); |
||||
}, |
||||
//根据优惠券查询卡券列表
|
||||
getCouponByDiscount: function getCouponByDiscount(item) {var _this2 = this; |
||||
var params = { |
||||
discountId: item }; |
||||
|
||||
(0, _Api.getCouponByDiscount)(params).then(function (res) { |
||||
if (res.return_code == '000000') { |
||||
_this2.minecoupones = res.return_data; |
||||
} |
||||
}); |
||||
}, |
||||
//领取
|
||||
receiveDiscount: function receiveDiscount() { |
||||
uni.showLoading({ |
||||
title: '领取中...' }); |
||||
|
||||
var params = { |
||||
discountAgentId: this.couponsDetails.id }; |
||||
|
||||
(0, _Api.receiveDiscount)(params).then(function (res) { |
||||
if (res.return_code == '000000') { |
||||
uni.hideLoading(); |
||||
uni.showToast({ |
||||
icon: 'none', |
||||
title: res.return_data, |
||||
duration: 2000 }); |
||||
|
||||
} else { |
||||
uni.hideLoading(); |
||||
uni.showToast({ |
||||
icon: 'none', |
||||
title: res.return_msg, |
||||
duration: 2000 }); |
||||
|
||||
} |
||||
}); |
||||
}, |
||||
getuserinfo: function getuserinfo() { |
||||
uni.showToast({ |
||||
title: '正常的---', |
||||
icon: 'none', |
||||
duration: 22000000 }); |
||||
|
||||
uni.login({ |
||||
provider: 'weixin', |
||||
success: function success(loginRes) {var _this3 = this; |
||||
app.globalData.code = loginRes.code; |
||||
// 请求接口
|
||||
var params = { |
||||
code: app.globalData.code }; |
||||
|
||||
HandleCode(params).then(function (res) { |
||||
if (res.return_code == '000000') { |
||||
uni.showToast({ |
||||
title: '正常的', |
||||
icon: 'none', |
||||
duration: 22000000 }); |
||||
|
||||
app.globalData.openId = res.return_data.openId; |
||||
uni.showLoading({ |
||||
title: '正在登录中' }); |
||||
|
||||
var that = _this3; |
||||
wx.login({ |
||||
success: function success(res) { |
||||
if (res.code) { |
||||
//发起网络请求
|
||||
var code = res.code; |
||||
// 获取微信用户信息
|
||||
uni.getUserInfo({ |
||||
success: function success(res) {var _this4 = this; |
||||
var params = { |
||||
openId: app.globalData.openId, |
||||
iv: res.iv, |
||||
encryptedData: res.encryptedData }; |
||||
|
||||
getUserInfo(params).then(function (res) { |
||||
if (res.return_code == '000000') { |
||||
uni.hideLoading(); |
||||
app.globalData.userInfo = res.return_data. |
||||
object. |
||||
highUser; |
||||
app.globalData.token = res.return_data.uniqueCode; |
||||
uni.setStorage({ |
||||
key: "user", |
||||
data: res.return_data. |
||||
object. |
||||
highUser }); |
||||
|
||||
uni.setStorage({ |
||||
key: "token", |
||||
data: res.return_data.uniqueCode }); |
||||
|
||||
_this4.receiveDiscount(); |
||||
} else { |
||||
uni.showToast({ |
||||
title: res.return_msg }); |
||||
|
||||
} |
||||
}); |
||||
}, |
||||
fail: function fail(res) { |
||||
uni.showToast({ |
||||
title: "微信登录授权失败", |
||||
icon: "none" }); |
||||
|
||||
} }); |
||||
|
||||
|
||||
} else { |
||||
fail: (function (res) { |
||||
uni.showToast({ |
||||
title: "微信登录授权失败", |
||||
icon: "none" }); |
||||
|
||||
}); |
||||
} |
||||
} }); |
||||
|
||||
} else { |
||||
uni.showToast({ |
||||
title: '报错了', |
||||
icon: 'none', |
||||
duration: 22000000 }); |
||||
|
||||
} |
||||
}); |
||||
}, |
||||
fail: function fail() { |
||||
uni.showToast({ |
||||
title: '报错了------------', |
||||
icon: 'none', |
||||
duration: 22000000 }); |
||||
|
||||
} }); |
||||
|
||||
}, |
||||
//商品跳转
|
||||
toGoods: function toGoods(e) { |
||||
uni.navigateTo({ |
||||
url: '../goods?id=' + e }); |
||||
|
||||
} } };exports.default = _default; |
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) |
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 280: |
||||
/*!**********************************************************************************************************************************!*\ |
||||
!*** C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue?vue&type=style&index=0&lang=scss& ***! |
||||
\**********************************************************************************************************************************/ |
||||
/*! no static exports found */ |
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
||||
|
||||
"use strict"; |
||||
__webpack_require__.r(__webpack_exports__); |
||||
/* harmony import */ var _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./externalCoupon.vue?vue&type=style&index=0&lang=scss& */ 281); |
||||
/* harmony import */ var _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); |
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
||||
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_externalCoupon_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }), |
||||
|
||||
/***/ 281: |
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Administrator/Documents/high-mini/pages/goods/externalCoupon/externalCoupon.vue?vue&type=style&index=0&lang=scss& ***! |
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
||||
/*! no static exports found */ |
||||
/***/ (function(module, exports, __webpack_require__) { |
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
if(false) { var cssReload; } |
||||
|
||||
|
||||
/***/ }) |
||||
|
||||
},[[274,"common/runtime","common/vendor"]]]); |
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/goods/externalCoupon/externalCoupon.js.map
|
@ -0,0 +1,5 @@ |
||||
{ |
||||
"navigationBarTitleText": "卡券领取详情", |
||||
"enablePullDownRefresh": false, |
||||
"usingComponents": {} |
||||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,396 @@ |
||||
@charset "UTF-8"; |
||||
/** |
||||
* 这里是uni-app内置的常用样式变量 |
||||
* |
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 |
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App |
||||
* |
||||
*/ |
||||
/** |
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 |
||||
* |
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 |
||||
*/ |
||||
/* 颜色变量 */ |
||||
/* 行为相关颜色 */ |
||||
/* 文字基本颜色 */ |
||||
/* 背景颜色 */ |
||||
/* 边框颜色 */ |
||||
/* 尺寸变量 */ |
||||
/* 文字尺寸 */ |
||||
/* 图片尺寸 */ |
||||
/* Border Radius */ |
||||
/* 水平间距 */ |
||||
/* 垂直间距 */ |
||||
/* 透明度 */ |
||||
/* 文章场景相关 */ |
||||
/* 字体大小 */ |
||||
.font12 { |
||||
font-size: 12px; |
||||
} |
||||
.font13 { |
||||
font-size: 13px; |
||||
} |
||||
.font14 { |
||||
font-size: 14px; |
||||
} |
||||
.font15 { |
||||
font-size: 15px; |
||||
} |
||||
.font16 { |
||||
font-size: 16px; |
||||
} |
||||
.font18 { |
||||
font-size: 18px; |
||||
} |
||||
.font20 { |
||||
font-size: 20px; |
||||
} |
||||
.font24 { |
||||
font-size: 24px; |
||||
} |
||||
.font28 { |
||||
font-size: 28px; |
||||
} |
||||
.fontwig6 { |
||||
font-weight: 600; |
||||
} |
||||
/* 字体间距 */ |
||||
.fontspec { |
||||
letter-spacing: 1px; |
||||
} |
||||
/* 字体行间距 */ |
||||
.linehet { |
||||
line-height: 20px; |
||||
} |
||||
/* 字体位置 */ |
||||
.fotlt { |
||||
text-align: left; |
||||
} |
||||
.fotrt { |
||||
text-align: right; |
||||
} |
||||
.fotct { |
||||
text-align: center; |
||||
} |
||||
.margle { |
||||
margin-left: 6px; |
||||
} |
||||
.marglerig { |
||||
margin-right: 5px; |
||||
} |
||||
.verc { |
||||
vertical-align: middle; |
||||
} |
||||
.versub { |
||||
vertical-align: sub; |
||||
} |
||||
.text1 { |
||||
overflow: hidden; |
||||
display: -webkit-box; |
||||
-webkit-line-clamp: 1; |
||||
-webkit-box-orient: vertical; |
||||
text-overflow: ellipsis; |
||||
} |
||||
.text2 { |
||||
overflow: hidden; |
||||
display: -webkit-box; |
||||
-webkit-line-clamp: 2; |
||||
-webkit-box-orient: vertical; |
||||
text-overflow: ellipsis; |
||||
} |
||||
/* 字体颜色 */ |
||||
.fcor333 { |
||||
color: #333333; |
||||
} |
||||
.fcorfff { |
||||
color: #ffffff; |
||||
} |
||||
.fcor666 { |
||||
color: #666666; |
||||
} |
||||
.fcor999 { |
||||
color: #b2b2b2; |
||||
} |
||||
.fcor089 { |
||||
color: #089bf5; |
||||
} |
||||
.fcoreb5 { |
||||
color: #eb5823; |
||||
} |
||||
.fcorred { |
||||
color: red; |
||||
} |
||||
.fcor41c { |
||||
color: #41cda2; |
||||
} |
||||
/* 背景颜色 */ |
||||
.backcor9 { |
||||
background-color: #f6f6f6; |
||||
} |
||||
.backcor9 { |
||||
background-color: #f6f6f6; |
||||
} |
||||
.backcorf06 { |
||||
background-color: #f06c7a; |
||||
} |
||||
.backcor89 { |
||||
background-color: #089bf5; |
||||
} |
||||
.backcorfff { |
||||
background-color: white; |
||||
} |
||||
.backshare { |
||||
background: transparent; |
||||
} |
||||
/* 页面布局 */ |
||||
.width90 { |
||||
width: 90%; |
||||
margin-left: 5%; |
||||
} |
||||
.width80 { |
||||
width: 80%; |
||||
margin-left: 10%; |
||||
} |
||||
.width70 { |
||||
width: 70%; |
||||
} |
||||
.width15 { |
||||
width: 15%; |
||||
} |
||||
.width50 { |
||||
width: 50%; |
||||
} |
||||
.width60 { |
||||
width: 65%; |
||||
margin-left: 5%; |
||||
} |
||||
.width30 { |
||||
width: 30%; |
||||
} |
||||
.width95 { |
||||
width: 95%; |
||||
} |
||||
.width100 { |
||||
width: 100%; |
||||
} |
||||
.bor-botm1 { |
||||
border-bottom: 1px solid #f4f4f4; |
||||
} |
||||
/* 高40px */ |
||||
.height45 { |
||||
height: 45px; |
||||
} |
||||
.height40 { |
||||
height: 40px; |
||||
} |
||||
.height22 { |
||||
height: 22px; |
||||
} |
||||
.height100 { |
||||
height: 100%; |
||||
} |
||||
.height10 { |
||||
height: 10px; |
||||
} |
||||
.height60 { |
||||
height: 60px; |
||||
} |
||||
.height30 { |
||||
height: 30px; |
||||
line-height: 30px; |
||||
} |
||||
.height40 { |
||||
height: 40px; |
||||
line-height: 40px; |
||||
} |
||||
.height20 { |
||||
height: 20px; |
||||
line-height: 20px; |
||||
} |
||||
.height50 { |
||||
height: 50px; |
||||
line-height: 50px; |
||||
} |
||||
/* 向上下外间距 */ |
||||
.mart90 { |
||||
margin-top: 90px; |
||||
} |
||||
.mart60 { |
||||
margin-top: 60px; |
||||
} |
||||
.mart50 { |
||||
margin-top: 50px; |
||||
} |
||||
.mart40 { |
||||
margin-top: 40px; |
||||
} |
||||
.mart30 { |
||||
margin-top: 30px; |
||||
} |
||||
.mart15 { |
||||
margin-top: 15px; |
||||
} |
||||
.mart20 { |
||||
margin-top: 20px; |
||||
} |
||||
.mart10 { |
||||
margin-top: 10px; |
||||
} |
||||
.mart5 { |
||||
margin-top: 5px; |
||||
} |
||||
.marb65 { |
||||
margin-bottom: 65px; |
||||
} |
||||
.marb50 { |
||||
margin-bottom: 50px; |
||||
} |
||||
.marb40 { |
||||
margin-bottom: 40px; |
||||
} |
||||
.marb30 { |
||||
margin-bottom: 30px; |
||||
} |
||||
.marb20 { |
||||
margin-bottom: 20px; |
||||
} |
||||
.marb10 { |
||||
margin-bottom: 10px; |
||||
} |
||||
.marb5 { |
||||
margin-bottom: 5px; |
||||
} |
||||
/* 向上下内间距 */ |
||||
.paddtop10 { |
||||
padding-top: 10px; |
||||
} |
||||
.paading10 { |
||||
padding: 10px; |
||||
} |
||||
.paddtop13 { |
||||
padding-top: 13px; |
||||
} |
||||
.paddleft10 { |
||||
padding-left: 10px; |
||||
} |
||||
.padleft15 { |
||||
padding-left: 15px; |
||||
} |
||||
.paddtright10 { |
||||
padding-right: 10px; |
||||
} |
||||
.paddbotm10 { |
||||
padding-bottom: 10px; |
||||
} |
||||
/* 左悬浮 */ |
||||
.flleft { |
||||
float: left; |
||||
} |
||||
/* 右悬浮 */ |
||||
.flright { |
||||
float: right; |
||||
} |
||||
/* button样式 */ |
||||
.btnw70 { |
||||
width: 70%; |
||||
color: white; |
||||
margin-top: 40px; |
||||
background-color: #089bf5; |
||||
-webkit-border-radius: 6px; |
||||
border-radius: 6px; |
||||
} |
||||
/* 下滑线 */ |
||||
.line1 { |
||||
height: 1px; |
||||
background-color: #f4f4f4; |
||||
} |
||||
.line10 { |
||||
height: 10px; |
||||
background-color: #f4f4f4; |
||||
} |
||||
.line1089 { |
||||
height: 10px; |
||||
background-color: #089bf5; |
||||
} |
||||
/* 展示样式 */ |
||||
.displ { |
||||
display: inline-block; |
||||
} |
||||
.font12 { |
||||
font-size: 12px; |
||||
} |
||||
.coupon-cont { |
||||
height: 80px; |
||||
margin-bottom: 10px; |
||||
} |
||||
.coupon-img { |
||||
width: 80px; |
||||
height: 80px; |
||||
margin-top: 10px; |
||||
} |
||||
.product-list { |
||||
display: -webkit-box; |
||||
display: -webkit-flex; |
||||
display: flex; |
||||
-webkit-box-pack: justify; |
||||
-webkit-justify-content: space-between; |
||||
justify-content: space-between; |
||||
-webkit-flex-wrap: wrap; |
||||
flex-wrap: wrap; |
||||
} |
||||
.product-list .product { |
||||
width: 48%; |
||||
-webkit-border-radius: 20rpx; |
||||
border-radius: 20rpx; |
||||
background-color: #fff; |
||||
margin: 0 0 15rpx 0; |
||||
-webkit-box-shadow: 0rpx 5rpx 25rpx rgba(0, 0, 0, 0.1); |
||||
box-shadow: 0rpx 5rpx 25rpx rgba(0, 0, 0, 0.1); |
||||
} |
||||
.product-list .product image { |
||||
width: 100%; |
||||
-webkit-border-radius: 20rpx 20rpx 0 0; |
||||
border-radius: 20rpx 20rpx 0 0; |
||||
} |
||||
.product-list .product .name { |
||||
width: 92%; |
||||
padding: 10rpx 4%; |
||||
display: -webkit-box; |
||||
-webkit-box-orient: vertical; |
||||
-webkit-line-clamp: 2; |
||||
text-align: justify; |
||||
overflow: hidden; |
||||
font-size: 30rpx; |
||||
} |
||||
.product-list .product .info { |
||||
display: -webkit-box; |
||||
display: -webkit-flex; |
||||
display: flex; |
||||
-webkit-box-pack: justify; |
||||
-webkit-justify-content: space-between; |
||||
justify-content: space-between; |
||||
-webkit-box-align: end; |
||||
-webkit-align-items: flex-end; |
||||
align-items: flex-end; |
||||
width: 92%; |
||||
padding: 10rpx 4% 10rpx 4%; |
||||
} |
||||
.product-list .product .info .price { |
||||
color: #e65339; |
||||
font-size: 30rpx; |
||||
font-weight: 600; |
||||
} |
||||
.product-list .product .info .slogan { |
||||
color: #807c87; |
||||
font-size: 24rpx; |
||||
text-decoration: line-through; |
||||
margin-right: 50px; |
||||
} |
||||
.coupne-btn { |
||||
position: fixed; |
||||
bottom: 0px; |
||||
background-color: red; |
||||
color: #FFFFFF; |
||||
} |
||||
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue