Commit 157f8015 authored by 潘永坪's avatar 潘永坪

扫码支付页面修改

parent 806c7a6f
......@@ -16,7 +16,7 @@
</view>
</view>
<!-- -----------------------------有可用优惠券,并且未选中----------------------------------------------------- -->
<view class="topCoupon" v-if="couponData.usableCouponList&&couponData.usableCouponList.length>0&&chooseCouponObj==''" @click="showCoupon()">
<!-- <view class="topCoupon" v-if="couponData.usableCouponList&&couponData.usableCouponList.length>0&&chooseCouponObj==''" @click="showCoupon()">
<view class="couponLeft">
<text></text>
<text>{{couponData.usableCouponList[0].couponName}}</text>
......@@ -26,9 +26,9 @@
<text>未选优惠券</text>
<text class="iconfont icon-you" style="font-size:32rpx;"></text>
</view>
</view>
</view> -->
<!-- -----------------------------有可用优惠券----------------------------------------------------- -->
<view class="topCoupon" v-if="chooseCouponObj!=''" @click="showCoupon()">
<!-- <view class="topCoupon" v-if="chooseCouponObj!=''" @click="showCoupon()">
<view class="couponLeft">
<text></text>
<text>{{chooseCouponObj.couponName}}</text>
......@@ -39,9 +39,9 @@
<text>{{chooseCouponObj.savedMoney.toFixed(2)}}</text>
<text class="iconfont icon-you" style="font-size:32rpx;"></text>
</view>
</view>
</view> -->
<!-- -----------------------------------------------可用优惠券条件--------------------------------------- -->
<view class="topCoupon" v-if="ableConpon!=''" @click="showCoupon()">
<!-- <view class="topCoupon" v-if="ableConpon!=''" @click="showCoupon()">
<view class="couponLeft">
<text></text>
<text>{{ableConpon.couponName}}</text>
......@@ -51,6 +51,20 @@
<text>{{ableConpon.couponRule}}</text>
<text class="iconfont icon-you" style="font-size:32rpx;"></text>
</view>
</view> -->
<view class="topCoupon" v-if="chooseCouponObj">
<view class="couponLeft">
<text></text>
<text>{{chooseCouponObj.couponName}}</text>
</view>
<view class="couponRight">
<text style="font-weight: bold;">
<text style="font-size:26rpx;font-weight:400;"></text>
{{parseFloat(savedMoney.toFixed(2))}}
</text>
</view>
</view>
</view>
......@@ -60,29 +74,13 @@
<view class="bottom">
<view class="botLeft">
<view>
<text @click="clickNum(1)" ref="1">1</text>
<text @click="clickNum(2)" ref="2">2</text>
<text @click="clickNum(3)" ref="3">3</text>
</view>
<view>
<text @click="clickNum(4)" ref="4">4</text>
<text @click="clickNum(5)" ref="5">5</text>
<text @click="clickNum(6)" ref="6">6</text>
</view>
<view>
<text @click="clickNum(7)" ref="7">7</text>
<text @click="clickNum(8)" ref="8">8</text>
<text @click="clickNum(9)" ref="9">9</text>
</view>
<view>
<text @click="clickNum(0)" ref="0" style="width: 66.7%;">0</text>
<text @click="clickNum('.')" ref="." style="width: 33.3%;">.</text>
<view v-for="(item,index) of leftList" :key="index">
<text @click="clickNum(items.text,index,a)" v-for="(items,a) of item.child" :key="a" :style="{'background':items.background}">{{items.text}}</text>
</view>
</view>
<view class="botRight">
<view class="rightOne" @click="clickEnter()" ref="enter">
<view class="rightOne" @click="clickEnter()" :style="{'background':spaceBackground}">
<text class="iconfont icon-im_huige" style="font-size:70rpx;"></text>
</view>
<view class="rightTwo" ref="pay" @click="clickPay()" :style="{'background':payBackground}">
......@@ -92,7 +90,7 @@
</view>
</view>
<!-------------------------------------------券弹窗------------------------------>
<orderCoupon :couponData="couponData" ref="orderCoupon" @couponChoose="couponChoose" :chooseCouponObj="chooseCouponObj"></orderCoupon>
<!-- <orderCoupon :couponData="couponData" ref="orderCoupon" @couponChoose="couponChoose" :chooseCouponObj="chooseCouponObj"></orderCoupon> -->
</view>
</template>
......@@ -109,6 +107,7 @@
companyId: "", //公司Id
merchantId: "", //商户Id
name: "", //商家名称
payType:42,//支付类型,微信小程序支付
paySign: "", //签名
signType: "", //签名方式
timeStamp: "", //时间戳
......@@ -117,16 +116,46 @@
flag: "", //setTimeout函数
couponData: "", //所有劵数据
chooseCouponObj: "", //默认选中最优价格优惠券
savedMoney:0,//优惠金额
ableConpon: "", //没有可用优惠券时,达到一定条件可用,显示达到的条件
orderSource:8,//1公众号平台、2公众号组合页面1、3公众号组合页面2、4胖丁伙伴app、5第三方自助机、6第三方票房窗口、7平台快捷买单、8扫码支付
background:"",//普通按钮背景颜色
spaceBackground:"",//回格按钮背景颜色
payBackground:"#1dce2e",//支付背景颜色
leftList:[//左侧按钮数据
{
child:[
{text:1,background:""},
{text:2,background:""},
{text:3,background:""}
]
},
{
child:[
{text:4,background:""},
{text:5,background:""},
{text:6,background:""},
]
},
{
child:[
{text:7,background:""},
{text:8,background:""},
{text:9,background:""},
]
},
{
child:[
{text:0,background:""},
{text:'.',background:""},
]
}
]
}
},
onLoad(option) {
this.option=decodeURIComponent(option.q)
// this.companyId=option.companyId
// this.merchantId=option.merchantId
this.companyId=(new RegExp('[?|&]companyId=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(option.q)) || [, ""])[1].replace(/\+/g, '%20') || ""
this.merchantId=(new RegExp('[?|&]merchantId=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(option.q)) || [, ""])[1].replace(/\+/g, '%20') || ""
if (this.merchantId) { //大商家的有merchantId
this.init()
} else { //小商家没有merchantId
......@@ -135,14 +164,12 @@
this.initCoupon()
},
methods: {
clickNum(i) {//---------------------------------------------------------------------输入数字
clickNum(i,index,a) {//---------------------------------------------------------------------输入数字
this.buyMoney += i
//#ifdef H5
this.$refs[i].$el.style.background="#dddddd"
this.leftList[index].child[a].background="#dddddd"
setTimeout(()=>{
this.$refs[i].$el.style.background=""
this.leftList[index].child[a].background=""
},200)
//#endif
clearTimeout(this.flag)
this.flag = setTimeout(()=>{
this.initCoupon()
......@@ -150,12 +177,10 @@
},
clickEnter(){//---------------------------------------------------------------------退格
this.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1)
//#ifdef H5
this.$refs.enter.$el.style.background="#dddddd"
this.spaceBackground="#dddddd"
setTimeout(()=>{
this.$refs.enter.$el.style.background=""
this.spaceBackground=""
},200)
//#endif
clearTimeout(this.flag)
this.flag = setTimeout(()=>{
this.initCoupon()
......@@ -211,27 +236,33 @@
}
this.$request("wechatUser/myPage/usableCouponList",data).then((res) => {
if (res.code == "00") {
this.couponData = res.data
if (res.data.usableCouponList.length > 0) {
res.data.usableCouponList.forEach((item) => { //获取最优券
savedMoneyList.push(item.savedMoney)
})
let maxMoney = Math.max.apply(null, savedMoneyList)
let index = res.data.usableCouponList.findIndex((item) => {
return maxMoney == item.savedMoney
})
if(index>-1){
this.chooseCouponObj = res.data.usableCouponList[index]
}
} else {
if (res.data.unusableCouponList.length > 0) {
res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券
if (item.isProduct == 1) {
this.ableConpon = item
}
})
}
}
this.chooseCouponObj=res.data.masterSlaveCouponList[0]
if(this.chooseCouponObj.slaveList.length>0){
this.savedMoney=this.chooseCouponObj.slaveList[0].savedMoney
}else{
this.savedMoney=this.chooseCouponObj.savedMoney
}
// this.couponData = res.data
// if (res.data.usableCouponList.length > 0) {
// res.data.usableCouponList.forEach((item) => { //获取最优券
// savedMoneyList.push(item.savedMoney)
// })
// let maxMoney = Math.max.apply(null, savedMoneyList)
// let index = res.data.usableCouponList.findIndex((item) => {
// return maxMoney == item.savedMoney
// })
// if(index>-1){
// this.chooseCouponObj = res.data.usableCouponList[index]
// }
// } else {
// if (res.data.unusableCouponList.length > 0) {
// res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券
// if (item.isProduct == 1) {
// this.ableConpon = item
// }
// })
// }
// }
}
})
},
......@@ -351,12 +382,12 @@
.bigBox{background:#f5f5f5;height: 100%;}
/*上部分*/
.top{background: #FFFFFF;}
.topName{font-size:28rpx;font-weight: bold;padding-top: 50rpx;display: flex;align-items: center;justify-content: center;}
.topName{font-size:30rpx;font-weight: bold;padding-top: 50rpx;display: flex;align-items: center;justify-content: center;}
.topIcon{display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#FF8B57;align-items:center;justify-content:center;}
.icon-tubiaolunkuo-{font-size:36rpx;color: #FFFFFF;font-weight: 400;}
.topMoney{padding:80rpx 24rpx 35rpx 24rpx;display: flex;justify-content:space-between;align-items: center;}
.topMoney{padding:80rpx 24rpx 24rpx 24rpx;display: flex;justify-content:space-between;align-items: center;}
.moneyText{color: #FF3C00;font-size:28rpx;font-weight: bold;}
.moneyNumber text:nth-child(2){font-size: 58rpx;font-weight: bold;position: relative;left: -6rpx;}
.moneyNumber text:nth-child(2){font-size:62rpx;font-weight: bold;position: relative;left: -6rpx;}
.moneyNumber text:last-child{animation: dis 1.5s infinite;transition: 1s;width: 1px;height:56rpx;display: inline-block;background: #333333;position: relative;top:8rpx;}
.topCoupon{display: flex;height: 90rpx;border-top:1px solid $dividing-ine;align-items:center;padding:0 24rpx;justify-content: space-between;}
.couponLeft{font-size:24rpx;}
......@@ -365,12 +396,14 @@
.couponRight text:first-child{font-size:32rpx;color:#f9690e;}
.couponRight text:nth-child(2){font-size: 32rpx;color: #F9690E;font-weight:bold;}
/*中间部分*/
.middle{padding:60rpx 24rpx 0 24rpx;font-size: 22rpx;color: #999999;line-height: 40rpx;}
.middle{padding:50rpx 24rpx 0 24rpx;font-size: 24rpx;color: #999999;line-height: 40rpx;}
/*下部分*/
.bottom{position:absolute;bottom:0;height:40%;background: #FFFFFF;width:100%;display: flex;border-top:1px solid #dddddd;font-size:50rpx;}
.botLeft{width:75%;}
.botLeft view{height:25%;display: flex;border-bottom:1px solid #dddddd;}
.botLeft view:last-child{border:none;}
.botLeft view:last-child text:first-child{width:66.7%;}
.botLeft view:last-child text:last-child{width: 33.3%;}
.botLeft view text{flex:1;height:100%;display:inline-flex;align-items: center;justify-content: center;border-right:1px solid #dddddd;}
.botLeft view:last-child text{flex:initial;}
.botRight{width:25%;}
......
......@@ -29,5 +29,6 @@
"uniStatistics": {
"enable": true
},
"usingComponents": {}
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"065f":function(n,t,e){"use strict";e.r(t);var o=e("737f"),u=e.n(o);for(var c in o)"default"!==c&&function(n){e.d(t,n,(function(){return o[n]}))}(c);t["default"]=u.a},"2bba":function(n,t,e){"use strict";(function(n){e("6909"),e("921b");o(e("66fd"));var t=o(e("c545"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},"737f":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{showBottom:!1}},onLoad:function(){n.getStorageSync("openid")&&(this.showBottom=!0)},onReady:function(){},methods:{getUserInfo:function(){n.getUserProfile({lang:"zh_CN",desc:"登录",success:function(n){console.log(n)},fail:function(n){}})}}};t.default=e}).call(this,e("543d")["default"])},c545:function(n,t,e){"use strict";e.r(t);var o=e("c69a"),u=e("065f");for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e("d9b5");var a,f=e("f0c5"),r=Object(f["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=r.exports},c69a:function(n,t,e){"use strict";var o;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return o}));var u=function(){var n=this,t=n.$createElement;n._self._c},c=[]},d9b5:function(n,t,e){"use strict";var o=e("e90d"),u=e.n(o);u.a},e90d:function(n,t,e){}},[["2bba","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"065f":function(n,t,e){"use strict";e.r(t);var o=e("737f"),u=e.n(o);for(var c in o)"default"!==c&&function(n){e.d(t,n,(function(){return o[n]}))}(c);t["default"]=u.a},"2bba":function(n,t,e){"use strict";(function(n){e("6909"),e("921b");o(e("66fd"));var t=o(e("c545"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},6980:function(n,t,e){"use strict";var o;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return o}));var u=function(){var n=this,t=n.$createElement;n._self._c},c=[]},"737f":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{showBottom:!1}},onLoad:function(){n.getStorageSync("openid")&&(this.showBottom=!0)},onReady:function(){},methods:{getUserInfo:function(){n.getUserProfile({lang:"zh_CN",desc:"登录",success:function(n){console.log(n)},fail:function(n){}})}}};t.default=e}).call(this,e("543d")["default"])},c545:function(n,t,e){"use strict";e.r(t);var o=e("6980"),u=e("065f");for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e("d9b5");var f,a=e("f0c5"),r=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],f);t["default"]=r.exports},d9b5:function(n,t,e){"use strict";var o=e("e90d"),u=e.n(o);u.a},e90d:function(n,t,e){}},[["2bba","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/ourPayment/ourPayment"],{2296:function(o,n,t){"use strict";t.r(n);var e=t("3db3"),a=t("6a16");for(var i in a)"default"!==i&&function(o){t.d(n,o,(function(){return a[o]}))}(i);t("9dd6");var s,u=t("f0c5"),c=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],s);n["default"]=c.exports},3778:function(o,n,t){"use strict";(function(o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=function(){t.e("components/orderCoupon").then(function(){return resolve(t("5503"))}.bind(null,t)).catch(t.oe)},a={components:{orderCoupon:e},data:function(){return{buyMoney:"",companyId:"",merchantId:"",name:"",paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",flag:"",couponData:"",chooseCouponObj:"",ableConpon:"",orderSource:8}},onLoad:function(o){this.option=decodeURIComponent(o.q),this.merchantId?this.init():this.initTwo(),this.initCoupon()},methods:{clickNum:function(o){var n=this;this.buyMoney+=o,clearTimeout(this.flag),this.flag=setTimeout((function(){n.initCoupon()}),1500)},clickEnter:function(){var o=this;this.buyMoney=this.buyMoney.substr(0,this.buyMoney.length-1),clearTimeout(this.flag),this.flag=setTimeout((function(){o.initCoupon()}),1500)},couponChoose:function(o){this.chooseCouponObj=o},showCoupon:function(){this.$refs.orderCoupon.showCoupon()},init:function(){var n=this,t={merchantId:this.merchantId,companyId:this.companyId};this.$request("scenic/order/findCodePayInfo",t).then((function(t){"00"==t.code?n.name=t.data.name:o.showToast({title:t.message,icon:"none"})}))},initTwo:function(){var n=this,t={id:this.companyId};this.$request("user/company/detail",t).then((function(t){"00"==t.code?n.name=t.data.companyVo.companyName:o.showToast({title:t.message,icon:"none"})}))},initCoupon:function(){var n=this,t=[];this.chooseCouponObj="",this.ableConpon="";var e={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:o.getStorageSync("openid")};this.$request("wechatUser/myPage/usableCouponList",e).then((function(o){if("00"==o.code)if(n.couponData=o.data,o.data.usableCouponList.length>0){o.data.usableCouponList.forEach((function(o){t.push(o.savedMoney)}));var e=Math.max.apply(null,t),a=o.data.usableCouponList.findIndex((function(o){return e==o.savedMoney}));a>-1&&(n.chooseCouponObj=o.data.usableCouponList[a])}else o.data.unusableCouponList.length>0&&o.data.unusableCouponList.forEach((function(o,t){1==o.isProduct&&(n.ableConpon=o)}))}))},clickPay:function(){var n=this;if(parseFloat(this.buyMoney)){var t=[];""!=this.chooseCouponObj&&(t=[{couponId:this.chooseCouponObj.couponId,couponPrice:this.chooseCouponObj.savedMoney,isMerchant:this.chooseCouponObj.createSource,myCouponId:this.chooseCouponObj.id,couponType:this.chooseCouponObj.couponType}]);var e={companyId:this.companyId,merchantId:this.merchantId,userId:o.getStorageSync("openid"),orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:t};this.$request("orderc/order/codePay",e).then((function(t){if("00"==t.code){if(t.data.errorMessage)return void o.showToast({title:t.data.errorMessage,icon:"none"});n.signType=t.data.signType,n.paySign=t.data.sign,n.timeStamp=t.data.timestamp,n.nonceStr=t.data.noncestr,n.package=t.data.package,n.goPay()}else o.showToast({title:t.message,icon:"none"})})).catch((function(o){}))}},goPay:function(){o.requestPayment({provider:"wxpay",timeStamp:this.timeStamp,nonceStr:this.nonceStr,package:this.package,signType:this.signType,paySign:this.paySign,success:function(n){o.redirectTo({url:"../paySuccess/paySuccess"})},fail:function(n){o.showToast({title:n.errMsg,icon:"none"})}})}},watch:{buyMoney:function(o,n){"."==o&&""==n&&(this.buyMoney="0."),"0"==o&&""==n&&(this.buyMoney="0."),2==o.length&&0==o.substr(0,1)&&"."!=o.substr(1,2)&&(this.buyMoney=o.substr(1,2)),isNaN(o)&&"."!=o&&(this.buyMoney=n);var t=String(this.buyMoney).indexOf(".")+1,e=String(this.buyMoney).length-t;e>2&&t>0&&(this.buyMoney=n)}}};n.default=a}).call(this,t("543d")["default"])},"3db3":function(o,n,t){"use strict";var e;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return e}));var a=function(){var o=this,n=o.$createElement,t=(o._self._c,""!=o.chooseCouponObj?o.chooseCouponObj.savedMoney.toFixed(2):null);o.$mp.data=Object.assign({},{$root:{g0:t}})},i=[]},"6a16":function(o,n,t){"use strict";t.r(n);var e=t("3778"),a=t.n(e);for(var i in e)"default"!==i&&function(o){t.d(n,o,(function(){return e[o]}))}(i);n["default"]=a.a},"7f8b":function(o,n,t){},"9dd6":function(o,n,t){"use strict";var e=t("7f8b"),a=t.n(e);a.a},d410:function(o,n,t){"use strict";(function(o){t("6909"),t("921b");e(t("66fd"));var n=e(t("2296"));function e(o){return o&&o.__esModule?o:{default:o}}o(n.default)}).call(this,t("543d")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/ourPayment/ourPayment"],{2296:function(o,e,n){"use strict";n.r(e);var t=n("a2db"),a=n("6a16");for(var c in a)"default"!==c&&function(o){n.d(e,o,(function(){return a[o]}))}(c);n("9dd6");var i,s=n("f0c5"),u=Object(s["a"])(a["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],i);e["default"]=u.exports},3778:function(o,e,n){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){n.e("components/orderCoupon").then(function(){return resolve(n("5503"))}.bind(null,n)).catch(n.oe)},a={components:{orderCoupon:t},data:function(){return{buyMoney:"",companyId:"",merchantId:"",name:"",payType:42,paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",flag:"",couponData:"",chooseCouponObj:"",savedMoney:0,ableConpon:"",orderSource:8,background:"",spaceBackground:"",payBackground:"#1dce2e",leftList:[{child:[{text:1,background:""},{text:2,background:""},{text:3,background:""}]},{child:[{text:4,background:""},{text:5,background:""},{text:6,background:""}]},{child:[{text:7,background:""},{text:8,background:""},{text:9,background:""}]},{child:[{text:0,background:""},{text:".",background:""}]}]}},onLoad:function(o){this.companyId=(new RegExp("[?|&]companyId=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(o.q))||[,""])[1].replace(/\+/g,"%20")||"",this.merchantId=(new RegExp("[?|&]merchantId=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(o.q))||[,""])[1].replace(/\+/g,"%20")||"",this.merchantId?this.init():this.initTwo(),this.initCoupon()},methods:{clickNum:function(o,e,n){var t=this;this.buyMoney+=o,this.leftList[e].child[n].background="#dddddd",setTimeout((function(){t.leftList[e].child[n].background=""}),200),clearTimeout(this.flag),this.flag=setTimeout((function(){t.initCoupon()}),1500)},clickEnter:function(){var o=this;this.buyMoney=this.buyMoney.substr(0,this.buyMoney.length-1),this.spaceBackground="#dddddd",setTimeout((function(){o.spaceBackground=""}),200),clearTimeout(this.flag),this.flag=setTimeout((function(){o.initCoupon()}),1500)},couponChoose:function(o){this.chooseCouponObj=o},showCoupon:function(){this.$refs.orderCoupon.showCoupon()},init:function(){var e=this,n={merchantId:this.merchantId,companyId:this.companyId};this.$request("scenic/order/findCodePayInfo",n).then((function(n){"00"==n.code?e.name=n.data.name:o.showToast({title:n.message,icon:"none"})}))},initTwo:function(){var e=this,n={id:this.companyId};this.$request("user/company/detail",n).then((function(n){"00"==n.code?e.name=n.data.companyVo.companyName:o.showToast({title:n.message,icon:"none"})}))},initCoupon:function(){var e=this;this.chooseCouponObj="",this.ableConpon="";var n={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:o.getStorageSync("openid")};this.$request("wechatUser/myPage/usableCouponList",n).then((function(o){"00"==o.code&&(e.chooseCouponObj=o.data.masterSlaveCouponList[0],e.chooseCouponObj.slaveList.length>0?e.savedMoney=e.chooseCouponObj.slaveList[0].savedMoney:e.savedMoney=e.chooseCouponObj.savedMoney)}))},clickPay:function(){var e=this;if(parseFloat(this.buyMoney)){var n=[];""!=this.chooseCouponObj&&(n=[{couponId:this.chooseCouponObj.couponId,couponPrice:this.chooseCouponObj.savedMoney,isMerchant:this.chooseCouponObj.createSource,myCouponId:this.chooseCouponObj.id,couponType:this.chooseCouponObj.couponType}]);var t={companyId:this.companyId,merchantId:this.merchantId,userId:o.getStorageSync("openid"),orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:n};this.payBackground="#cccccc",this.$request("orderc/order/codePay",t).then((function(n){if(setTimeout((function(){e.payBackground="#1dce2e"}),1e3),"00"==n.code){if(n.data.errorMessage)return void o.showToast({title:n.data.errorMessage,icon:"none"});e.signType=n.data.signType,e.paySign=n.data.sign,e.timeStamp=n.data.timestamp,e.nonceStr=n.data.noncestr,e.package=n.data.package,e.goPay()}else o.showToast({title:n.message,icon:"none"})})).catch((function(o){e.payBackground="#1dce2e"}))}else o.showToast({title:"请输入正确金额",icon:"none"})},goPay:function(){o.requestPayment({provider:"wxpay",timeStamp:this.timeStamp,nonceStr:this.nonceStr,package:this.package,signType:this.signType,paySign:this.paySign,success:function(e){o.redirectTo({url:"../paySuccess/paySuccess"})},fail:function(e){o.showToast({title:e.errMsg,icon:"none"})}})}},watch:{buyMoney:function(o,e){"."==o&&""==e&&(this.buyMoney="0."),"0"==o&&""==e&&(this.buyMoney="0."),2==o.length&&0==o.substr(0,1)&&"."!=o.substr(1,2)&&(this.buyMoney=o.substr(1,2)),isNaN(o)&&"."!=o&&(this.buyMoney=e);var n=String(this.buyMoney).indexOf(".")+1,t=String(this.buyMoney).length-n;t>2&&n>0&&(this.buyMoney=e),parseFloat(this.buyMoney)?this.payBackground="#1dce2e":this.payBackground="#cccccc"}}};e.default=a}).call(this,n("543d")["default"])},"6a16":function(o,e,n){"use strict";n.r(e);var t=n("3778"),a=n.n(t);for(var c in t)"default"!==c&&function(o){n.d(e,o,(function(){return t[o]}))}(c);e["default"]=a.a},"7f8b":function(o,e,n){},"9dd6":function(o,e,n){"use strict";var t=n("7f8b"),a=n.n(t);a.a},a2db:function(o,e,n){"use strict";var t;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return t}));var a=function(){var o=this,e=o.$createElement,n=(o._self._c,o.chooseCouponObj?parseFloat(o.savedMoney.toFixed(2)):null);o.$mp.data=Object.assign({},{$root:{m0:n}})},c=[]},d410:function(o,e,n){"use strict";(function(o){n("6909"),n("921b");t(n("66fd"));var e=t(n("2296"));function t(o){return o&&o.__esModule?o:{default:o}}o(e.default)}).call(this,n("543d")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
<view class="bigBox"><view class="top"><view class="topName"><text class="topIcon"><text class="iconfont icon-tubiaolunkuo-"></text></text><text>{{name}}</text></view><view class="topMoney"><text class="moneyText">支付金额</text><view class="moneyNumber"><text class="iconfont icon-fl-renminbi" style="font-size:56rpx;"></text><text>{{buyMoney}}</text><text></text></view></view><block wx:if="{{couponData.usableCouponList&&couponData.usableCouponList.length>0&&chooseCouponObj==''}}"><view data-event-opts="{{[['tap',[['showCoupon']]]]}}" class="topCoupon" bindtap="__e"><view class="couponLeft"><text>券</text><text>{{couponData.usableCouponList[0].couponName}}</text></view><view class="couponRight"><text>未选优惠券</text><text class="iconfont icon-you" style="font-size:32rpx;"></text></view></view></block><block wx:if="{{chooseCouponObj!=''}}"><view data-event-opts="{{[['tap',[['showCoupon']]]]}}" class="topCoupon" bindtap="__e"><view class="couponLeft"><text>券</text><text>{{chooseCouponObj.couponName}}</text></view><view class="couponRight"><text>-</text><text>{{$root.g0}}</text><text class="iconfont icon-you" style="font-size:32rpx;"></text></view></view></block><block wx:if="{{ableConpon!=''}}"><view data-event-opts="{{[['tap',[['showCoupon']]]]}}" class="topCoupon" bindtap="__e"><view class="couponLeft"><text>券</text><text>{{ableConpon.couponName}}</text></view><view class="couponRight"><text>{{ableConpon.couponRule}}</text><text class="iconfont icon-you" style="font-size:32rpx;"></text></view></view></block></view><view class="middle">友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。</view><view class="bottom"><view class="botLeft"><view><text data-ref="1" data-event-opts="{{[['tap',[['clickNum',[1]]]]]}}" class="vue-ref" bindtap="__e">1</text><text data-ref="2" data-event-opts="{{[['tap',[['clickNum',[2]]]]]}}" class="vue-ref" bindtap="__e">2</text><text data-ref="3" data-event-opts="{{[['tap',[['clickNum',[3]]]]]}}" class="vue-ref" bindtap="__e">3</text></view><view><text data-ref="4" data-event-opts="{{[['tap',[['clickNum',[4]]]]]}}" class="vue-ref" bindtap="__e">4</text><text data-ref="5" data-event-opts="{{[['tap',[['clickNum',[5]]]]]}}" class="vue-ref" bindtap="__e">5</text><text data-ref="6" data-event-opts="{{[['tap',[['clickNum',[6]]]]]}}" class="vue-ref" bindtap="__e">6</text></view><view><text data-ref="7" data-event-opts="{{[['tap',[['clickNum',[7]]]]]}}" class="vue-ref" bindtap="__e">7</text><text data-ref="8" data-event-opts="{{[['tap',[['clickNum',[8]]]]]}}" class="vue-ref" bindtap="__e">8</text><text data-ref="9" data-event-opts="{{[['tap',[['clickNum',[9]]]]]}}" class="vue-ref" bindtap="__e">9</text></view><view><text data-ref="0" data-event-opts="{{[['tap',[['clickNum',[0]]]]]}}" class="vue-ref" style="width:66.7%;" bindtap="__e">0</text><text data-ref="." data-event-opts="{{[['tap',[['clickNum',['.']]]]]}}" class="vue-ref" style="width:33.3%;" bindtap="__e">.</text></view></view><view class="botRight"><view data-ref="enter" data-event-opts="{{[['tap',[['clickEnter']]]]}}" class="rightOne vue-ref" bindtap="__e"><text class="iconfont icon-im_huige" style="font-size:70rpx;"></text></view><view data-ref="pay" data-event-opts="{{[['tap',[['clickPay']]]]}}" class="rightTwo vue-ref" bindtap="__e"><view>立即</view><view>支付</view></view></view></view><order-coupon class="vue-ref" vue-id="ed07b280-1" couponData="{{couponData}}" chooseCouponObj="{{chooseCouponObj}}" data-ref="orderCoupon" data-event-opts="{{[['^couponChoose',[['couponChoose']]]]}}" bind:couponChoose="__e" bind:__l="__l"></order-coupon></view>
\ No newline at end of file
<view class="bigBox"><view class="top"><view class="topName"><text class="topIcon"><text class="iconfont icon-tubiaolunkuo-"></text></text><text>{{name}}</text></view><view class="topMoney"><text class="moneyText">支付金额</text><view class="moneyNumber"><text class="iconfont icon-fl-renminbi" style="font-size:56rpx;"></text><text>{{buyMoney}}</text><text></text></view></view><block wx:if="{{chooseCouponObj}}"><view class="topCoupon"><view class="couponLeft"><text>券</text><text>{{chooseCouponObj.couponName}}</text></view><view class="couponRight"><text style="font-weight:bold;"><text style="font-size:26rpx;font-weight:400;">-¥</text>{{''+$root.m0+''}}</text></view></view></block></view><view class="middle">友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。</view><view class="bottom"><view class="botLeft"><block wx:for="{{leftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.child}}" wx:for-item="items" wx:for-index="a" wx:key="a"><text data-event-opts="{{[['tap',[['clickNum',['$0',index,a],[[['leftList','',index],['child','',a,'text']]]]]]]}}" style="{{'background:'+(items.background)+';'}}" bindtap="__e">{{items.text}}</text></block></view></block></view><view class="botRight"><view data-event-opts="{{[['tap',[['clickEnter']]]]}}" class="rightOne" style="{{'background:'+(spaceBackground)+';'}}" bindtap="__e"><text class="iconfont icon-im_huige" style="font-size:70rpx;"></text></view><view data-ref="pay" data-event-opts="{{[['tap',[['clickPay']]]]}}" class="rightTwo vue-ref" style="{{'background:'+(payBackground)+';'}}" bindtap="__e"><view>立即</view><view>支付</view></view></view></view></view>
\ No newline at end of file
.bigBox{background:#f5f5f5;height:100%}.top{background:#fff}.topName{font-size:28rpx;font-weight:700;padding-top:50rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.topIcon{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#ff8b57;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.icon-tubiaolunkuo-{font-size:36rpx;color:#fff;font-weight:400}.topMoney{padding:80rpx 24rpx 35rpx 24rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.moneyText{color:#ff3c00;font-size:28rpx;font-weight:700}.moneyNumber text:nth-child(2){font-size:58rpx;font-weight:700;position:relative;left:-6rpx}.moneyNumber text:last-child{-webkit-animation:dis 1.5s infinite;animation:dis 1.5s infinite;-webkit-transition:1s;transition:1s;width:1px;height:56rpx;display:inline-block;background:#333;position:relative;top:8rpx}.topCoupon{display:-webkit-box;display:-webkit-flex;display:flex;height:90rpx;border-top:1px solid #dbdbdb;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 24rpx;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.couponLeft{font-size:24rpx}.couponLeft text:first-child{margin-right:10rpx;display:inline-block;width:30rpx;height:30rpx;background:#f9690e;color:#fff;text-align:center;line-height:28rpx;border-radius:4rpx}.couponRight{position:relative;left:8rpx}.couponRight text:first-child{font-size:32rpx;color:#f9690e}.couponRight text:nth-child(2){font-size:32rpx;color:#f9690e;font-weight:700}.middle{padding:60rpx 24rpx 0 24rpx;font-size:22rpx;color:#999;line-height:40rpx}.bottom{position:absolute;bottom:0;height:40%;background:#fff;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #ddd;font-size:50rpx}.botLeft{width:75%}.botLeft view{height:25%;display:-webkit-box;display:-webkit-flex;display:flex;border-bottom:1px solid #ddd}.botLeft view:last-child{border:none}.botLeft view text{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-right:1px solid #ddd}.botLeft view:last-child text{-webkit-box-flex:initial;-webkit-flex:initial;flex:initial}.botRight{width:25%}.rightOne{height:25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-bottom:1px solid #ddd}.rightTwo{height:75%;border:none;color:#fff;background:#1dce2e;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}@-webkit-keyframes dis{from{opacity:0}to{opacity:1}}@keyframes dis{from{opacity:0}to{opacity:1}}
\ No newline at end of file
.bigBox{background:#f5f5f5;height:100%}.top{background:#fff}.topName{font-size:30rpx;font-weight:700;padding-top:50rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.topIcon{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#ff8b57;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.icon-tubiaolunkuo-{font-size:36rpx;color:#fff;font-weight:400}.topMoney{padding:80rpx 24rpx 35rpx 24rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.moneyText{color:#ff3c00;font-size:28rpx;font-weight:700}.moneyNumber text:nth-child(2){font-size:58rpx;font-weight:700;position:relative;left:-6rpx}.moneyNumber text:last-child{-webkit-animation:dis 1.5s infinite;animation:dis 1.5s infinite;-webkit-transition:1s;transition:1s;width:1px;height:56rpx;display:inline-block;background:#333;position:relative;top:8rpx}.topCoupon{display:-webkit-box;display:-webkit-flex;display:flex;height:90rpx;border-top:1px solid #dbdbdb;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 24rpx;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.couponLeft{font-size:24rpx}.couponLeft text:first-child{margin-right:10rpx;display:inline-block;width:30rpx;height:30rpx;background:#f9690e;color:#fff;text-align:center;line-height:28rpx;border-radius:4rpx}.couponRight{position:relative;left:8rpx}.couponRight text:first-child{font-size:32rpx;color:#f9690e}.couponRight text:nth-child(2){font-size:32rpx;color:#f9690e;font-weight:700}.middle{padding:50rpx 24rpx 0 24rpx;font-size:24rpx;color:#999;line-height:40rpx}.bottom{position:absolute;bottom:0;height:40%;background:#fff;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #ddd;font-size:50rpx}.botLeft{width:75%}.botLeft view{height:25%;display:-webkit-box;display:-webkit-flex;display:flex;border-bottom:1px solid #ddd}.botLeft view:last-child{border:none}.botLeft view:last-child text:first-child{width:66.7%}.botLeft view:last-child text:last-child{width:33.3%}.botLeft view text{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-right:1px solid #ddd}.botLeft view:last-child text{-webkit-box-flex:initial;-webkit-flex:initial;flex:initial}.botRight{width:25%}.rightOne{height:25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-bottom:1px solid #ddd}.rightTwo{height:75%;border:none;color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}@-webkit-keyframes dis{from{opacity:0}to{opacity:1}}@keyframes dis{from{opacity:0}to{opacity:1}}
\ No newline at end of file
{
"condition": {
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": [
{
"name": "pages/ourPayment/ourPayment",
"pathName": "pages/ourPayment/ourPayment",
"query": "",
"scene": null
}
]
}
}
}
\ No newline at end of file
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/pangding/uni-pdtravel/App.vue?5fc3","uni-app:///App.vue","webpack:///E:/pangding/uni-pdtravel/App.vue?367d","webpack:///E:/pangding/uni-pdtravel/App.vue?5b80"],"names":["Vue","prototype","$request","request","use","uView","config","productionTip","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAAmB,iDAA4B;AAC/C;AACA;AACA;AACA,0D;;AAEAA,aAAIC,SAAJ,CAAcC,QAAd,GAAyBC,gBAAzB;AACAH,aAAII,GAAJ,CAAQC,gBAAR;;;AAGAL,aAAIM,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIV,YAAJ;AACLQ,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAA2nB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;ACC/oB;AACA;AACA;AACA;AACA;eACA;AACA;AACA;AACA;AACA;AACA,iCADA;;AAGA;AACA,GARA;AASA;;AAEA,GAXA;AAYA;;AAEA,GAdA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAqpC,CAAgB,ykCAAG,EAAC,C;;;;;;;;;;ACAzqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';import Vue from 'vue'\r\nimport App from './App'\r\nimport uView from 'uview-ui'\r\nimport request from 'common/request.js'\r\nimport \"./common/icon/iconfont.css\"\r\n\r\nVue.prototype.$request = request\r\nVue.use(uView)\r\n\r\n\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\t// 1、uni-app的页面生命周期仅在page页面有效,而单独封装的组件中【页面周期无效】,\r\n\t//但是Vue的生命周期依然有效 【Vue的生命周期在任何地方都是有效的,即你仍然可以在uni-app项目中使用Vue生命周期,但是不建议这么做】\r\n\t// 2、推荐使用uni-app里面的onLoad 代替 vue 里面的 created\r\n\t// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted\r\n\t//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全\r\n\texport default {\r\n\t\tonLaunch: function() {//初始化完成时触发(全局只触发一次\r\n\t\t\tlet openid=uni.getStorageSync(\"openid\")\r\n\t\t\tif(!openid){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/login/login\"\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\t\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n@import \"uview-ui/index.scss\";\r\n/*\r\n1.页面背景颜色#f7f7f7\r\n2.分隔线颜色#DBDBDB\r\n3.正常字体颜色#333333\r\n4.灰色字体颜色#666666或者#999999\r\n5.主色调#3688FF\r\n6.正常字体大小28rpx,偏小一点的24rpx\r\n8.页面最外层与里面的第一层为padding:0 12px;\r\n9.css单位为rpx\r\n*/\r\npage{font-size:28rpx;color: #333333;background: #F7F7F7;height: 100%;}\r\nview,text,image{box-sizing:border-box;}\r\n.btn{background:linear-gradient(132deg, #ED400C 0%, #FB862C 100%);display: inline-block;color: #FFFFFF;font-size:28rpx;border-radius:8rpx;text-align: center;}\r\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036355565\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/pangding/uni-pdtravel/App.vue?5fc3","uni-app:///App.vue","webpack:///E:/pangding/uni-pdtravel/App.vue?367d","webpack:///E:/pangding/uni-pdtravel/App.vue?5b80"],"names":["Vue","prototype","$request","request","use","uView","config","productionTip","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAAmB,iDAA4B;AAC/C;AACA;AACA;AACA,0D;;AAEAA,aAAIC,SAAJ,CAAcC,QAAd,GAAyBC,gBAAzB;AACAH,aAAII,GAAJ,CAAQC,gBAAR;;;AAGAL,aAAIM,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIV,YAAJ;AACLQ,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAA2nB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;ACC/oB;AACA;AACA;AACA;AACA;eACA;AACA;AACA;AACA;AACA;AACA,iCADA;;AAGA;AACA,GARA;AASA;;AAEA,GAXA;AAYA;;AAEA,GAdA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAqpC,CAAgB,ykCAAG,EAAC,C;;;;;;;;;;ACAzqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';import Vue from 'vue'\r\nimport App from './App'\r\nimport uView from 'uview-ui'\r\nimport request from 'common/request.js'\r\nimport \"./common/icon/iconfont.css\"\r\n\r\nVue.prototype.$request = request\r\nVue.use(uView)\r\n\r\n\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\t// 1、uni-app的页面生命周期仅在page页面有效,而单独封装的组件中【页面周期无效】,\r\n\t//但是Vue的生命周期依然有效 【Vue的生命周期在任何地方都是有效的,即你仍然可以在uni-app项目中使用Vue生命周期,但是不建议这么做】\r\n\t// 2、推荐使用uni-app里面的onLoad 代替 vue 里面的 created\r\n\t// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted\r\n\t//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全\r\n\texport default {\r\n\t\tonLaunch: function() {//初始化完成时触发(全局只触发一次\r\n\t\t\tlet openid=uni.getStorageSync(\"openid\")\r\n\t\t\tif(!openid){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/login/login\"\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\t\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n@import \"uview-ui/index.scss\";\r\n/*\r\n1.页面背景颜色#f7f7f7\r\n2.分隔线颜色#DBDBDB\r\n3.正常字体颜色#333333\r\n4.灰色字体颜色#666666或者#999999\r\n5.主色调#3688FF\r\n6.正常字体大小28rpx,偏小一点的24rpx\r\n8.页面最外层与里面的第一层为padding:0 12px;\r\n9.css单位为rpx\r\n*/\r\npage{font-size:28rpx;color: #333333;background: #F7F7F7;height: 100%;}\r\nview,text,image{box-sizing:border-box;}\r\n.btn{background:linear-gradient(132deg, #ED400C 0%, #FB862C 100%);display: inline-block;color: #FFFFFF;font-size:28rpx;border-radius:8rpx;text-align: center;}\r\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373889063\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?820c","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?efcb","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?9883","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?67a6","uni-app:///components/orderCoupon.vue","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?0056","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?8475"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACwC;;;AAGlG;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,6MAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAAmoB,CAAgB,+nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEvpB;AACA,0CADA;AAEA;AACA;AACA,aADA,mBACA,QADA,EACA,QADA,EACA;AACA;AACA;AACA;AACA,OALA;AAMA,gBANA;AAOA,qBAPA,EADA;;AAUA;AACA,aADA,mBACA,QADA,EACA,QADA,EACA;AACA;AACA;AACA;AACA,OALA;AAMA,gBANA;AAOA,qBAPA,EAVA,EAFA;;;AAsBA,MAtBA,kBAsBA;AACA;AACA,eADA,EACA;AACA,iBAFA,EAEA;AACA,gBAHA,EAGA;AACA,oBAJA,EAIA;AACA,sBALA,EAKA;AACA,6BANA,CAMA;AANA;AAQA,GA/BA;AAgCA;AACA,YADA,oBACA,KADA,EACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA,KANA;AAOA,eAPA,uBAOA,GAPA,EAOA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA,KAfA;AAgBA,gBAhBA,0BAgBA;AACA;AACA;AACA;AACA,KApBA,EAhCA,E;;;;;;;;;;;;ACxEA;AAAA;AAAA;AAAA;AAAurC,CAAgB,2mCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/orderCoupon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./orderCoupon.vue?vue&type=template&id=cae34dae&scoped=true&\"\nvar renderjs\nimport script from \"./orderCoupon.vue?vue&type=script&lang=js&\"\nexport * from \"./orderCoupon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./orderCoupon.vue?vue&type=style&index=0&id=cae34dae&scoped=scoped&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"cae34dae\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/orderCoupon.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=template&id=cae34dae&scoped=true&\"","var components\ntry {\n components = {\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 =\n _vm.couponList.usableCouponList &&\n _vm.couponList.usableCouponList.length > 0\n ? _vm.__map(_vm.couponList.usableCouponList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g0 = item.savedMoney.toFixed(2)\n return {\n $orig: $orig,\n g0: g0\n }\n })\n : null\n var l1 =\n _vm.couponList.unusableCouponList &&\n _vm.couponList.unusableCouponList.length > 0\n ? _vm.__map(_vm.couponList.unusableCouponList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g1 = item.savedMoney.toFixed(2)\n return {\n $orig: $orig,\n g1: g1\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n l1: l1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!----------------适用于订单选择券的时候展示券列表-------------------------->\r\n\t<u-popup v-model=\"show\" mode=\"bottom\">\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"titleContent\" v-for=\"(item,index) of navTitle\" :key=\"index\" :class=\"{on:active==index}\" @click=\"navClick(index)\">\r\n\t\t\t\t<view style=\"position: relative;top:15rpx;\">{{item}}</view>\r\n\t\t\t\t<view v-show=\"active==index\">\r\n\t\t\t\t\t<text></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!----------------------------------------------------可用------------------------------------------>\r\n\t\t<view v-show=\"active==0\">\r\n\t\t\t<view class=\"middle\" v-if=\"couponList.usableCouponList&&couponList.usableCouponList.length>0\">\r\n\t\t\t\t<radio-group @change=\"radioChange\">\r\n\t\t\t\t\t<view v-for=\"(item,index) of couponList.usableCouponList\" :key=\"index\" class=\"listBox\">\r\n\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t{{item.couponName}}\r\n\t\t\t\t\t\t\t\t<radio :value=\"item.couponId\" :checked=\"item.couponId==chooseCoupon.couponId\"/>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t{{item.couponRule}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t{{item.useStartDate}}-{{item.useEndDate}}\r\n\t\t\t\t\t\t\t\t<text>\r\n\t\t\t\t\t\t\t\t\t<text>¥</text>{{item.savedMoney.toFixed(2)}}\r\n\t\t\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</radio-group>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view class=\"empty\" v-if=\"!couponList.usableCouponList||couponList.usableCouponList.length==0\">\r\n\t\t\t\t空空如也...\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<!--------------------------------------不可用------------------------------------------------------------> \r\n\t <view v-show=\"active==1\">\r\n\t\t\t<view class=\"middle\" v-if=\"couponList.unusableCouponList&&couponList.unusableCouponList.length>0\">\r\n\t\t\t\t<view v-for=\"(item,index) of couponList.unusableCouponList\" :key=\"index\" class=\"listBox\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{item.couponName}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{item.couponRule}}\r\n\t\t\t\t\t\t<text>\r\n\t\t\t\t\t\t\t<text>¥</text>{{item.savedMoney.toFixed(2)}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\r\n\t \r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{item.useStartDate}}-{{item.useEndDate}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"empty\" v-if=\"!couponList.unusableCouponList||couponList.unusableCouponList.length==0\">\r\n\t\t\t\t空空如也...\r\n\t\t </view> \r\n\t </view>\r\n\t</u-popup>\r\n\t\r\n</template>\r\n\r\n<script>\r\n\r\n\texport default{\r\n\t\tprops:[\"couponData\",\"chooseCouponObj\"],\r\n\t\twatch: {\r\n\t\t\tcouponData:{//\r\n\t\t\t\thandler(newValue, oldValue){\r\n\t\t\t\t\tif(newValue){\r\n\t\t\t\t\t\tthis.couponList=this.couponData\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tdeep:true,\r\n\t\t\t\timmediate:true\r\n\t\t\t},\r\n\t\t\tchooseCouponObj:{//\r\n\t\t\t\thandler(newValue, oldValue){\r\n\t\t\t\t\tif(newValue){\r\n\t\t\t\t\t\tthis.chooseCoupon=this.chooseCouponObj\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tdeep:true,\r\n\t\t\t\timmediate:true\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata(){\r\n\t\t\treturn{\r\n\t\t\t\tactive:0,//导航栏下标\r\n\t\t\t\tshow:false,//控制弹窗显示隐藏\r\n\t\t\t\tcurrent:0,//控制选项卡默认显示第几个\r\n\t\t\t\tcouponList:\"\",//券列表\r\n\t\t\t\tchooseCoupon:\"\",//选中的劵\r\n\t\t\t\tnavTitle:[\"可用\",\"不可用\"],//导航标题\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tnavClick(index){//------------------------------------------导航栏点击\r\n\t\t\t\tthis.active=index\r\n\t\t\t},\r\n\t\t\tshowCoupon(){//----------------------------------------展示弹窗\r\n\t\t\t\tthis.show=true\r\n\t\t\t},\r\n\t\t\tradioChange(evt) {//-------------------------单选框值变化\r\n\t\t\t\tif(evt.detail.value){\r\n\t\t\t\t this.chooseCoupon=this.couponList.usableCouponList.find((item)=>{\r\n\t\t\t\t\t\treturn item.couponId==evt.detail.value\r\n\t\t\t\t })\r\n\t\t\t\t this.show=false\r\n\t\t\t\t this.$emit(\"couponChoose\",this.chooseCoupon)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcancelCoupon(){//------------------------------------取消选中优惠券\r\n\t\t\t\tthis.chooseCoupon=\"\"\r\n\t\t\t\tthis.show=false\r\n\t\t\t\tthis.$emit(\"couponChoose\",this.chooseCoupon)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n</script>\r\n\r\n<style scoped=\"scoped\" lang=\"scss\">\r\n\t.title{display: flex;height: 80rpx;}\r\n\t.titleContent{flex:1;text-align: center;font-size:30rpx;}\r\n\t.titleContent.on{color: $title-color;font-weight: bold;}\r\n\t.titleContent view text{width: 40rpx;height: 6rpx;background:$title-color;border-radius:6rpx;display:inline-block;position: relative;top:-10rpx;}\r\n\t.middle{padding:24rpx;background:#f5f5f5;}\r\n\t.listBox{background: #FFFFFF;padding:24rpx;border-radius:10rpx;}\r\n .middle .listBox:not(:first-child){margin-top:20rpx;}\r\n\t.middle view view:not(:first-child){margin-top:20rpx;}\r\n\t.middle view view{display: flex;justify-content: space-between;}\r\n\t.middle view view:first-child{font-weight: bold;}\r\n\t.middle view view:nth-child(2){font-size:24rpx;}\r\n\t.middle view view:last-child{color: #666666;font-size:24rpx;}\r\n\t.middle view text{color:#f9690e;font-size:30rpx;font-weight: bolder;}\r\n\t.middle view text text{font-size:24rpx;font-weight: 400;}\r\n\t.empty{padding:100rpx 0;text-align: center;background: #f5f5f5;}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=style&index=0&id=cae34dae&scoped=scoped&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=style&index=0&id=cae34dae&scoped=scoped&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036354935\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?820c","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?efcb","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?9883","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?67a6","uni-app:///components/orderCoupon.vue","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?0056","webpack:///E:/pangding/uni-pdtravel/components/orderCoupon.vue?8475"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACwC;;;AAGlG;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,6MAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAAmoB,CAAgB,+nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwEvpB;AACA,0CADA;AAEA;AACA;AACA,aADA,mBACA,QADA,EACA,QADA,EACA;AACA;AACA;AACA;AACA,OALA;AAMA,gBANA;AAOA,qBAPA,EADA;;AAUA;AACA,aADA,mBACA,QADA,EACA,QADA,EACA;AACA;AACA;AACA;AACA,OALA;AAMA,gBANA;AAOA,qBAPA,EAVA,EAFA;;;AAsBA,MAtBA,kBAsBA;AACA;AACA,eADA,EACA;AACA,iBAFA,EAEA;AACA,gBAHA,EAGA;AACA,oBAJA,EAIA;AACA,sBALA,EAKA;AACA,6BANA,CAMA;AANA;AAQA,GA/BA;AAgCA;AACA,YADA,oBACA,KADA,EACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA,KANA;AAOA,eAPA,uBAOA,GAPA,EAOA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA,KAfA;AAgBA,gBAhBA,0BAgBA;AACA;AACA;AACA;AACA,KApBA,EAhCA,E;;;;;;;;;;;;ACxEA;AAAA;AAAA;AAAA;AAAurC,CAAgB,2mCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/orderCoupon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./orderCoupon.vue?vue&type=template&id=cae34dae&scoped=true&\"\nvar renderjs\nimport script from \"./orderCoupon.vue?vue&type=script&lang=js&\"\nexport * from \"./orderCoupon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./orderCoupon.vue?vue&type=style&index=0&id=cae34dae&scoped=scoped&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"cae34dae\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/orderCoupon.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=template&id=cae34dae&scoped=true&\"","var components\ntry {\n components = {\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 =\n _vm.couponList.usableCouponList &&\n _vm.couponList.usableCouponList.length > 0\n ? _vm.__map(_vm.couponList.usableCouponList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g0 = item.savedMoney.toFixed(2)\n return {\n $orig: $orig,\n g0: g0\n }\n })\n : null\n var l1 =\n _vm.couponList.unusableCouponList &&\n _vm.couponList.unusableCouponList.length > 0\n ? _vm.__map(_vm.couponList.unusableCouponList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g1 = item.savedMoney.toFixed(2)\n return {\n $orig: $orig,\n g1: g1\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n l1: l1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!----------------适用于订单选择券的时候展示券列表-------------------------->\r\n\t<u-popup v-model=\"show\" mode=\"bottom\">\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"titleContent\" v-for=\"(item,index) of navTitle\" :key=\"index\" :class=\"{on:active==index}\" @click=\"navClick(index)\">\r\n\t\t\t\t<view style=\"position: relative;top:15rpx;\">{{item}}</view>\r\n\t\t\t\t<view v-show=\"active==index\">\r\n\t\t\t\t\t<text></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!----------------------------------------------------可用------------------------------------------>\r\n\t\t<view v-show=\"active==0\">\r\n\t\t\t<view class=\"middle\" v-if=\"couponList.usableCouponList&&couponList.usableCouponList.length>0\">\r\n\t\t\t\t<radio-group @change=\"radioChange\">\r\n\t\t\t\t\t<view v-for=\"(item,index) of couponList.usableCouponList\" :key=\"index\" class=\"listBox\">\r\n\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t{{item.couponName}}\r\n\t\t\t\t\t\t\t\t<radio :value=\"item.couponId\" :checked=\"item.couponId==chooseCoupon.couponId\"/>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t{{item.couponRule}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t{{item.useStartDate}}-{{item.useEndDate}}\r\n\t\t\t\t\t\t\t\t<text>\r\n\t\t\t\t\t\t\t\t\t<text>¥</text>{{item.savedMoney.toFixed(2)}}\r\n\t\t\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</radio-group>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view class=\"empty\" v-if=\"!couponList.usableCouponList||couponList.usableCouponList.length==0\">\r\n\t\t\t\t空空如也...\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<!--------------------------------------不可用------------------------------------------------------------> \r\n\t <view v-show=\"active==1\">\r\n\t\t\t<view class=\"middle\" v-if=\"couponList.unusableCouponList&&couponList.unusableCouponList.length>0\">\r\n\t\t\t\t<view v-for=\"(item,index) of couponList.unusableCouponList\" :key=\"index\" class=\"listBox\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{item.couponName}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{item.couponRule}}\r\n\t\t\t\t\t\t<text>\r\n\t\t\t\t\t\t\t<text>¥</text>{{item.savedMoney.toFixed(2)}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\r\n\t \r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t{{item.useStartDate}}-{{item.useEndDate}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"empty\" v-if=\"!couponList.unusableCouponList||couponList.unusableCouponList.length==0\">\r\n\t\t\t\t空空如也...\r\n\t\t </view> \r\n\t </view>\r\n\t</u-popup>\r\n\t\r\n</template>\r\n\r\n<script>\r\n\r\n\texport default{\r\n\t\tprops:[\"couponData\",\"chooseCouponObj\"],\r\n\t\twatch: {\r\n\t\t\tcouponData:{//\r\n\t\t\t\thandler(newValue, oldValue){\r\n\t\t\t\t\tif(newValue){\r\n\t\t\t\t\t\tthis.couponList=this.couponData\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tdeep:true,\r\n\t\t\t\timmediate:true\r\n\t\t\t},\r\n\t\t\tchooseCouponObj:{//\r\n\t\t\t\thandler(newValue, oldValue){\r\n\t\t\t\t\tif(newValue){\r\n\t\t\t\t\t\tthis.chooseCoupon=this.chooseCouponObj\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tdeep:true,\r\n\t\t\t\timmediate:true\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata(){\r\n\t\t\treturn{\r\n\t\t\t\tactive:0,//导航栏下标\r\n\t\t\t\tshow:false,//控制弹窗显示隐藏\r\n\t\t\t\tcurrent:0,//控制选项卡默认显示第几个\r\n\t\t\t\tcouponList:\"\",//券列表\r\n\t\t\t\tchooseCoupon:\"\",//选中的劵\r\n\t\t\t\tnavTitle:[\"可用\",\"不可用\"],//导航标题\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tnavClick(index){//------------------------------------------导航栏点击\r\n\t\t\t\tthis.active=index\r\n\t\t\t},\r\n\t\t\tshowCoupon(){//----------------------------------------展示弹窗\r\n\t\t\t\tthis.show=true\r\n\t\t\t},\r\n\t\t\tradioChange(evt) {//-------------------------单选框值变化\r\n\t\t\t\tif(evt.detail.value){\r\n\t\t\t\t this.chooseCoupon=this.couponList.usableCouponList.find((item)=>{\r\n\t\t\t\t\t\treturn item.couponId==evt.detail.value\r\n\t\t\t\t })\r\n\t\t\t\t this.show=false\r\n\t\t\t\t this.$emit(\"couponChoose\",this.chooseCoupon)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcancelCoupon(){//------------------------------------取消选中优惠券\r\n\t\t\t\tthis.chooseCoupon=\"\"\r\n\t\t\t\tthis.show=false\r\n\t\t\t\tthis.$emit(\"couponChoose\",this.chooseCoupon)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n</script>\r\n\r\n<style scoped=\"scoped\" lang=\"scss\">\r\n\t.title{display: flex;height: 80rpx;}\r\n\t.titleContent{flex:1;text-align: center;font-size:30rpx;}\r\n\t.titleContent.on{color: $title-color;font-weight: bold;}\r\n\t.titleContent view text{width: 40rpx;height: 6rpx;background:$title-color;border-radius:6rpx;display:inline-block;position: relative;top:-10rpx;}\r\n\t.middle{padding:24rpx;background:#f5f5f5;}\r\n\t.listBox{background: #FFFFFF;padding:24rpx;border-radius:10rpx;}\r\n .middle .listBox:not(:first-child){margin-top:20rpx;}\r\n\t.middle view view:not(:first-child){margin-top:20rpx;}\r\n\t.middle view view{display: flex;justify-content: space-between;}\r\n\t.middle view view:first-child{font-weight: bold;}\r\n\t.middle view view:nth-child(2){font-size:24rpx;}\r\n\t.middle view view:last-child{color: #666666;font-size:24rpx;}\r\n\t.middle view text{color:#f9690e;font-size:30rpx;font-weight: bolder;}\r\n\t.middle view text text{font-size:24rpx;font-weight: 400;}\r\n\t.empty{padding:100rpx 0;text-align: center;background: #f5f5f5;}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=style&index=0&id=cae34dae&scoped=scoped&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderCoupon.vue?vue&type=style&index=0&id=cae34dae&scoped=scoped&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373888567\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?5e24","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?499b","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?5699","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?8171","uni-app:///pages/index/index.vue","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?024f","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?c410"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,4F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA6nB,CAAgB,ynBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmFjpB;AACA,MADA,kBACA;AACA;AACA,uBADA,CACA;AADA;AAGA,GALA;AAMA,QANA,oBAMA;AACA;AACA;AACA;AACA,GAVA;AAWA,SAXA,qBAWA;;AAEA,GAbA;AAcA;AACA,eADA,yBACA;AACA;AACA,qBADA;AAEA,kBAFA;AAGA;AACA;AACA,SALA;AAMA;;AAEA,SARA;;AAUA,KAZA,EAdA,E;;;;;;;;;;;;;ACnFA;AAAA;AAAA;AAAA;AAA25B,CAAgB,k3BAAG,EAAC,C;;;;;;;;;;;ACA/6B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=57280228&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- <view >\r\n\t\t<view class=\"top\">\r\n\t\t\t<view class=\"top-search\">\r\n\t\t\t\t\r\n\t\t\t</view>\r\n\t\t\t<view class=\"top-content\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../scenic/scenic\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify1.png\"></image>\r\n\t\t\t\t\t\t<view>景区门票</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../hotel/hotel\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify2.png\"></image>\r\n\t\t\t\t\t\t<view>酒店民宿</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../restaurant/restaurant\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify3.png\"></image>\r\n\t\t\t\t\t\t<view>特色美食</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../nearby/nearby\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify4.png\"></image>\r\n\t\t\t\t\t\t<view>周边游</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../travelOne/travelOne\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify5.png\"></image>\r\n\t\t\t\t\t\t<view>跟团游</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../travelTwo/travelTwo\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify6.png\"></image>\r\n\t\t\t\t\t\t<view>亲子游</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../dingzhi/dingzhi\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify7.png\"></image>\r\n\t\t\t\t\t\t<view>行程订制</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../special/special\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify8.png\"></image>\r\n\t\t\t\t\t\t<view>特产好礼</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"top-img\">\r\n\t\t\t\t\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t</view> -->\r\n\t\t<!-- <button @click=\"getUserInfo()\"> 授权获取头像昵称 </button> -->\r\n\t\t<view class=\"bottom\" v-show=\"showBottom\">\r\n\t\t\t<!--#ifdef MP-WEIXIN -->\r\n\t\t\t<web-view src=\"https://wx.pangdly.com\"></web-view>\r\n\t\t\t<!--#endif-->\r\n\t\t\t<!--#ifdef MP-ALIPAY -->\r\n\t\t\t<web-view src=\"https://wx.pangdly.com\"></web-view>\r\n\t\t\t<!--#endif-->\r\n\t\t\t\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshowBottom:false,//控制底部显示隐藏\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tif(uni.getStorageSync(\"openid\")){\r\n\t\t\t\tthis.showBottom=true\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady(){\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetUserInfo() {\t// 获取用户信息\r\n\t\t\t\tuni.getUserProfile({\r\n\t\t\t\t\tlang:'zh_CN',\r\n\t\t\t\t\tdesc:'登录',\r\n\t\t\t\t\tsuccess:(res)=>{\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail:(res)=>{\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.top{padding: 0 24rpx;}\r\n\t.top-content{display: flex;flex-wrap: wrap;background: #FFFFFF;border-radius:24rpx;padding-bottom:32rpx;}\r\n\t.top-content>view{width: 25%;text-align: center;margin-top:40rpx;}\r\n\t.top-content view image{width:64rpx;height:64rpx;}\r\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036353088\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?5e24","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?499b","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?5699","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?8171","uni-app:///pages/index/index.vue","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?024f","webpack:///E:/pangding/uni-pdtravel/pages/index/index.vue?c410"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,4F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA6nB,CAAgB,ynBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkFjpB;AACA,MADA,kBACA;AACA;AACA,uBADA,CACA;AADA;AAGA,GALA;AAMA,QANA,oBAMA;AACA;AACA;AACA;AACA,GAVA;AAWA,SAXA,qBAWA;;AAEA,GAbA;AAcA;AACA,eADA,yBACA;AACA;AACA,qBADA;AAEA,kBAFA;AAGA;AACA;AACA,SALA;AAMA;;AAEA,SARA;;AAUA,KAZA,EAdA,E;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAA25B,CAAgB,k3BAAG,EAAC,C;;;;;;;;;;;ACA/6B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=57280228&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- <view >\r\n\t\t<view class=\"top\">\r\n\t\t\t<view class=\"top-search\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"top-content\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../scenic/scenic\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify1.png\"></image>\r\n\t\t\t\t\t\t<view>景区门票</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../hotel/hotel\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify2.png\"></image>\r\n\t\t\t\t\t\t<view>酒店民宿</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../restaurant/restaurant\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify3.png\"></image>\r\n\t\t\t\t\t\t<view>特色美食</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../nearby/nearby\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify4.png\"></image>\r\n\t\t\t\t\t\t<view>周边游</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../travelOne/travelOne\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify5.png\"></image>\r\n\t\t\t\t\t\t<view>跟团游</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../travelTwo/travelTwo\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify6.png\"></image>\r\n\t\t\t\t\t\t<view>亲子游</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../dingzhi/dingzhi\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify7.png\"></image>\r\n\t\t\t\t\t\t<view>行程订制</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<navigator url=\"../special/special\">\r\n\t\t\t\t\t\t<image src=\"../../static/img/index/classify8.png\"></image>\r\n\t\t\t\t\t\t<view>特产好礼</view>\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"top-img\">\r\n\t\t\t\t\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t</view> -->\r\n\t\t<!-- <button @click=\"getUserInfo()\"> 授权获取头像昵称 </button> -->\r\n\t\t<view class=\"bottom\" v-show=\"showBottom\">\r\n\t\t\t<!--#ifdef MP-WEIXIN -->\r\n\t\t\t<web-view src=\"https://wx.pangdly.com\"></web-view>\r\n\t\t\t<!--#endif-->\r\n\t\t\t<!--#ifdef MP-ALIPAY -->\r\n\t\t\t<web-view src=\"https://wx.pangdly.com\"></web-view>\r\n\t\t\t<!--#endif-->\r\n\t\t\t\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshowBottom:false,//控制底部显示隐藏\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tif(uni.getStorageSync(\"openid\")){\r\n\t\t\t\tthis.showBottom=true\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady(){\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetUserInfo() {\t// 获取用户信息\r\n\t\t\t\tuni.getUserProfile({\r\n\t\t\t\t\tlang:'zh_CN',\r\n\t\t\t\t\tdesc:'登录',\r\n\t\t\t\t\tsuccess:(res)=>{\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail:(res)=>{\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.top{padding: 0 24rpx;}\r\n\t.top-content{display: flex;flex-wrap: wrap;background: #FFFFFF;border-radius:24rpx;padding-bottom:32rpx;}\r\n\t.top-content>view{width: 25%;text-align: center;margin-top:40rpx;}\r\n\t.top-content view image{width:64rpx;height:64rpx;}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373887244\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?0223","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?99f6","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?2ce4","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?9999","uni-app:///pages/orderPayment/orderPayment.vue","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?e9c8","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?4c02"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;AACa;;;AAGxE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAooB,CAAgB,goBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkGxpB;AACA,MADA,kBACA;AACA;AACA,sBADA,EACA;AACA,qBAFA,EAEA;AACA,mBAHA,EAGA;AACA,mBAJA,EAIA;AACA,wBALA,EAKA;AACA,yBANA,EAMA;AACA,kBAPA,EAOA;AACA,sBARA,EAQA;AACA,oBATA,EASA;AACA,sBAVA,EAUA;AACA,qBAXA,EAWA;AACA,mBAZA,EAYA;AACA,kBAbA;AAcA,iBAdA;AAeA,kBAfA;AAgBA,iBAhBA;AAiBA,oBAjBA,CAiBA;AAjBA;AAmBA,GArBA;AAsBA,QAtBA,kBAsBA,MAtBA,EAsBA;AACA;AACA,6BADA,EACA;AACA,0CAFA,EAEA;AACA,iBAHA,CAGA;AAHA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAvBA,MAuBA;AACA;AACA,4BADA;AAEA,sBAFA;;AAIA;AACA,KA9BA;;AAgCA,GA5DA;AA6DA;AACA,SADA,mBACA;AACA;AACA;AACA,kCADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA;AACA,yBADA;AAEA,iCAFA;AAGA,+BAHA;AAIA,6BAJA;AAKA,+BALA;AAMA,6BANA;AAOA;AACA;AACA,2CADA;;AAGA,SAXA;AAYA;AACA;AACA,6BADA;AAEA,wBAFA;;AAIA,SAjBA;;AAmBA,KAhCA,EA7DA,E;;;;;;;;;;;;;AClGA;AAAA;AAAA;AAAA;AAAk6B,CAAgB,y3BAAG,EAAC,C;;;;;;;;;;;ACAt7B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/orderPayment/orderPayment.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/orderPayment/orderPayment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./orderPayment.vue?vue&type=template&id=34761706&\"\nvar renderjs\nimport script from \"./orderPayment.vue?vue&type=script&lang=js&\"\nexport * from \"./orderPayment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./orderPayment.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/orderPayment/orderPayment.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=template&id=34761706&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<view class=\"middle\" v-show=\"bodyShow\">\r\n\t\t <view class=\"main\">\r\n\t\t <!-- --------------------------------------复票----------------------------------------------- -->\r\n\t\t <view v-if=\"orderList!=''\" v-for=\"item of orderList\" :key=\"item.id\" class=\"product\">\r\n\t\t <view>\r\n\t\t <text>\r\n\t\t {{item.merchantName}}({{item.productName}})\r\n\t\t </text>\r\n\t\t\r\n\t\t <text>\r\n\t\t <text style=\"font-size:24rpx;\">¥</text>{{item.unitPrice}}\r\n\t\t <text>x</text>\r\n\t\t {{item.orderNum}}\r\n\t\t <text style=\"margin-top:10rpx;font-size:22rpx;display:block;color:#f45803;\" v-if=\"item.depositReceived\">押金:{{item.depositReceived}}</text>\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t <view class=\"coupon\" v-if=\"item.pdDiscountMoney\">\r\n\t\t <text>\r\n\t\t 券\r\n\t\t </text>\r\n\t\t <text>\r\n\t\t <text style=\"font-size:24rpx;\">-¥</text>{{item.pdDiscountMoney}}\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t <!-- --------------------------------------单票----------------------------------------------- -->\r\n\t\t <view v-if=\"orderList==''\" class=\"product\">\r\n\t\t <view>\r\n\t\t <text>\r\n\t\t {{merchantName}}({{productName}})\r\n\t\t </text>\r\n\t\t\r\n\t\t <text style=\"text-align: right;\">\r\n\t\t <small style=\"font-size:24rpx;\">¥</small>{{unitPrice}}\r\n\t\t <text>x</text>\r\n\t\t {{orderNum}}\r\n\t\t <text style=\"margin-top:10rpx;font-size:22rpx;display:block;color:#f45803;\" v-if=\"depositReceived\">押金:{{depositReceived}}</text>\r\n\t\t\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t <view class=\"coupon\" v-if=\"pdDiscountMoney\">\r\n\t\t <text>\r\n\t\t 券\r\n\t\t </text>\r\n\t\t <text>\r\n\t\t <text style=\"font-size:24rpx;\">-¥</text>{{pdDiscountMoney}}\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t <view class=\"mainP3\">\r\n\t\t <text>\r\n\t\t 实际支付\r\n\t\t </text>\r\n\t\t\r\n\t\t <text>\r\n\t\t <!--<i>\r\n\t\t\t\t\t\t¥{{totalMoney}}\r\n\t\t\t\t\t</i>-->\r\n\t\t\r\n\t\t <text>\r\n\t\t <text style=\"font-size:28rpx;\">¥</text>{{pdOrderMoney}}\r\n\t\t </text>\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t <view class=\"mainview\">\r\n\t\t\t\t<image src=\"@/static/img/orderPayment/weixin.png\" style=\"width:70rpx;height:62rpx;\" />\r\n\t\t <view>\r\n\t\t 微信支付\r\n\t\t </view>\r\n\t\t\t <image src=\"@/static/img/orderPayment/input.png\" style=\"width:32rpx;height: 32rpx;\" />\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"bottom\" v-show=\"bodyShow\">\r\n\t\t <view class=\"bottomFirst\">\r\n\t\t <text>\r\n\t\t 实付款\r\n\t\t </text>\r\n\t\t\r\n\t\t <text>\r\n\t\t <text>¥</text>{{pdOrderMoney}}\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t\r\n\t\t <view class=\"bottomLast\">\r\n\t\t <text href=\"tel:400-072-0368\">\r\n\t\t <!-- <img src=\"@/assets/img/combination/kefu11.png\" style=\"width: 0.31rpx;\" /> -->\r\n\t\t </text>\r\n\t\t <text @click=\"goPay()\" :style=\"{background:background}\">去支付</text>\r\n\t\t </view>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tmerchantName: \"\", //商户名称\r\n\t\t\t\tproductName: \"\", //产品名称\r\n\t\t\t\torderList: \"\", //订单列表\r\n\t\t\t\tunitPrice: \"\", //单价\r\n\t\t\t\tdepositReceived: 0, //押金\r\n\t\t\t\tpdDiscountMoney: \"\", //优惠价格\r\n\t\t\t\torderNum: \"\", //数量\r\n\t\t\t\tpdOrderMoney: \"\", //实际总价\r\n\t\t\t\ttotalMoney: \"\", //原价总价\r\n\t\t\t\terrorMessage: \"\", //错误信息\r\n\t\t\t\tbodyShow: false, //控制初始化数据成功显示\r\n\t\t\t\ttimeStamp:\"\",//支付参数\r\n\t\t\t\tnonceStr:\"\",\r\n\t\t\t\tpackage:\"\",\r\n\t\t\t\tsignType:\"\",\r\n\t\t\t\tpaySign:\"\",\r\n\t\t\t\tbackground:\"\",//去支付的背景颜色\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option){\r\n\t\t\t let data = {\r\n\t\t\t\torderId:option.orderId, //订单Id\r\n\t\t\t\tuserId:uni.getStorageSync(\"openid\"), //用户Id\r\n\t\t\t\tpayType:42, //支付类型\r\n\t\t\t }\r\n\t\t\t this.$request(\"orderc/order/findOrderInfo\", data).then((res) => {\r\n\t\t\t\tif (res.code == \"00\") {\r\n\t\t\t\t\tthis.bodyShow = true\r\n\t\t\t\t\t//支付参数开始\r\n\t\t\t\t\tthis.timeStamp=res.data.timestamp\r\n\t\t\t\t\tthis.nonceStr=res.data.noncestr\r\n\t\t\t\t\tthis.package=res.data.package\r\n\t\t\t\t\tthis.signType=res.data.signType\r\n\t\t\t\t\tthis.paySign=res.data.sign\r\n\t\t\t\t\t//支付参数结束\r\n\t\t\t\t\tthis.pdOrderMoney = res.data.pdOrderMoney\r\n\t\t\t\t\tthis.errorMessage = res.data.errorMessage\r\n\t\t\t\t\tthis.totalMoney = res.data.totalMoney\r\n\t\t\t\t\tthis.orderList = res.data.orderList\r\n\t\t\t\t\tif (typeof(this.orderList) == \"undefined\") { //单票\r\n\t\t\t\t\t this.orderList = \"\"\r\n\t\t\t\t\t this.merchantName = res.data.merchantName\r\n\t\t\t\t\t this.productName = res.data.productName\r\n\t\t\t\t\t this.unitPrice = res.data.unitPrice\r\n\t\t\t\t\t this.orderNum = res.data.orderNum\r\n\t\t\t\t\t this.depositReceived = res.data.depositReceived\r\n\t\t\t\t\t this.pdDiscountMoney = res.data.pdDiscountMoney\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:res.message,\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tgoPay(){//-------------------------------------------------------去支付\r\n\t\t\t\tif (this.errorMessage) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:this.errorMessage,\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t return\r\n\t\t\t\t}\r\n\t\t\t\tthis.background=\"#E6E6E6\"\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.background=\"f9690e\"\r\n\t\t\t\t}, 1000)\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t provider: 'wxpay',\r\n\t\t\t\t timeStamp:this.timeStamp,\r\n\t\t\t\t nonceStr:this.nonceStr,\r\n\t\t\t\t package:this.package,\r\n\t\t\t\t signType:this.signType,\r\n\t\t\t\t paySign:this.paySign,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t uni.redirectTo({\r\n\t\t\t\t url:\"../paySuccess/paySuccess\"\r\n\t\t\t\t })\r\n\t\t\t\t },\r\n\t\t\t\t fail: function (err) {\r\n\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t\ttitle:err.errMsg,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\n\t}\n</script>\n\n<style>\n .bigBox{height: 100%;background: #fafafc;}\r\n\t.middle{padding: 30rpx 24rpx 0 24rpx;}\r\n\t.main{padding: 10rpx 24rpx 20rpx 24rpx;background: #FFFFFF;border-radius: 20rpx;box-shadow: 0 0 15rpx #e6e6e8;}\r\n\t.product{border-bottom: 1px solid #e5e5e5;padding: 25rpx 0;}\r\n\t.product view{color: #000000;padding-left:10rpx;display: flex;align-items: center;box-sizing: border-box;}\r\n\t.product view text:first-child{flex: 1;}\r\n\t.product view text:nth-child(2){color:#666666;font-size:28rpx;text-align: right;}\r\n\t.product view.coupon{color: #F9690E;margin-top:10rpx;}\r\n\t.product view.coupon text{font-size:30rpx;}\r\n\t.mainP3{height:120rpx;color: #000000;border-bottom: 1px solid #e5e5e5;padding:25rpx 0 25rpx 10rpx;display: flex;align-items: center;box-sizing: border-box;justify-content: space-between;}\r\n\t.mainP3 text:nth-child(2){font-size: 24rpx;color: #666666;}\r\n\t.mainP3 text:nth-child(2) text:nth-child(1){font-size:36rpx;color:#F9690E;margin-left: 20rpx;font-weight: bold;}\r\n\t.mainview{margin-top:50rpx;display: flex;align-items: center;}\r\n\t.mainview>image:first-child{margin:0 20rpx 0 10rpx;}\r\n\t.mainview>view{flex: 1;}\r\n\t.bottom{position: fixed;bottom: 0;height: 100rpx;background: #FFFFFF;border-top:1px solid #e5e5e5;width: 100%;display: flex;align-items: center;}\r\n\t.bottomFirst{border-right: 1px solid #cccccc;padding-left:40rpx;width: 40%;box-sizing: border-box;}\r\n\t.bottomFirst text:nth-child(2){font-size:40rpx;color: #f9690e;margin-left:10rpx;font-weight: bold;}\r\n\t.bottomFirst text:nth-child(2) text{font-size:28rpx;}\r\n\t.bottomLast{padding-left:20rpx;display: flex;width: 60%;padding-right:20rpx;box-sizing: border-box;align-items: center;}\r\n\t.bottomLast text:first-child{display: block;text-align: center;width:60rpx;}\r\n\t.bottomLast text:first-child text{margin-top:10rpx;display: inline-block;font-size:24rpx;color: #666666;}\r\n\t.bottomLast text:nth-child(2){flex: 1;height:70rpx;display: inline-block;text-align: center;line-height:70rpx;background: #f9690e;color: #FFFFFF;margin-left:30rpx;border-radius: 20rpx;font-size:32rpx;}\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036353084\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?0223","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?99f6","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?2ce4","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?9999","uni-app:///pages/orderPayment/orderPayment.vue","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?e9c8","webpack:///E:/pangding/uni-pdtravel/pages/orderPayment/orderPayment.vue?4c02"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;AACa;;;AAGxE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAooB,CAAgB,goBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkGxpB;AACA,MADA,kBACA;AACA;AACA,sBADA,EACA;AACA,qBAFA,EAEA;AACA,mBAHA,EAGA;AACA,mBAJA,EAIA;AACA,wBALA,EAKA;AACA,yBANA,EAMA;AACA,kBAPA,EAOA;AACA,sBARA,EAQA;AACA,oBATA,EASA;AACA,sBAVA,EAUA;AACA,qBAXA,EAWA;AACA,mBAZA,EAYA;AACA,kBAbA;AAcA,iBAdA;AAeA,kBAfA;AAgBA,iBAhBA;AAiBA,oBAjBA,CAiBA;AAjBA;AAmBA,GArBA;AAsBA,QAtBA,kBAsBA,MAtBA,EAsBA;AACA;AACA,6BADA,EACA;AACA,0CAFA,EAEA;AACA,iBAHA,CAGA;AAHA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAvBA,MAuBA;AACA;AACA,4BADA;AAEA,sBAFA;;AAIA;AACA,KA9BA;;AAgCA,GA5DA;AA6DA;AACA,SADA,mBACA;AACA;AACA;AACA,kCADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA;AACA,yBADA;AAEA,iCAFA;AAGA,+BAHA;AAIA,6BAJA;AAKA,+BALA;AAMA,6BANA;AAOA;AACA;AACA,2CADA;;AAGA,SAXA;AAYA;AACA;AACA,6BADA;AAEA,wBAFA;;AAIA,SAjBA;;AAmBA,KAhCA,EA7DA,E;;;;;;;;;;;;;AClGA;AAAA;AAAA;AAAA;AAAk6B,CAAgB,y3BAAG,EAAC,C;;;;;;;;;;;ACAt7B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/orderPayment/orderPayment.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/orderPayment/orderPayment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./orderPayment.vue?vue&type=template&id=34761706&\"\nvar renderjs\nimport script from \"./orderPayment.vue?vue&type=script&lang=js&\"\nexport * from \"./orderPayment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./orderPayment.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/orderPayment/orderPayment.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=template&id=34761706&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<view class=\"middle\" v-show=\"bodyShow\">\r\n\t\t <view class=\"main\">\r\n\t\t <!-- --------------------------------------复票----------------------------------------------- -->\r\n\t\t <view v-if=\"orderList!=''\" v-for=\"item of orderList\" :key=\"item.id\" class=\"product\">\r\n\t\t <view>\r\n\t\t <text>\r\n\t\t {{item.merchantName}}({{item.productName}})\r\n\t\t </text>\r\n\t\t\r\n\t\t <text>\r\n\t\t <text style=\"font-size:24rpx;\">¥</text>{{item.unitPrice}}\r\n\t\t <text>x</text>\r\n\t\t {{item.orderNum}}\r\n\t\t <text style=\"margin-top:10rpx;font-size:22rpx;display:block;color:#f45803;\" v-if=\"item.depositReceived\">押金:{{item.depositReceived}}</text>\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t <view class=\"coupon\" v-if=\"item.pdDiscountMoney\">\r\n\t\t <text>\r\n\t\t 券\r\n\t\t </text>\r\n\t\t <text>\r\n\t\t <text style=\"font-size:24rpx;\">-¥</text>{{item.pdDiscountMoney}}\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t <!-- --------------------------------------单票----------------------------------------------- -->\r\n\t\t <view v-if=\"orderList==''\" class=\"product\">\r\n\t\t <view>\r\n\t\t <text>\r\n\t\t {{merchantName}}({{productName}})\r\n\t\t </text>\r\n\t\t\r\n\t\t <text style=\"text-align: right;\">\r\n\t\t <small style=\"font-size:24rpx;\">¥</small>{{unitPrice}}\r\n\t\t <text>x</text>\r\n\t\t {{orderNum}}\r\n\t\t <text style=\"margin-top:10rpx;font-size:22rpx;display:block;color:#f45803;\" v-if=\"depositReceived\">押金:{{depositReceived}}</text>\r\n\t\t\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t <view class=\"coupon\" v-if=\"pdDiscountMoney\">\r\n\t\t <text>\r\n\t\t 券\r\n\t\t </text>\r\n\t\t <text>\r\n\t\t <text style=\"font-size:24rpx;\">-¥</text>{{pdDiscountMoney}}\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t <view class=\"mainP3\">\r\n\t\t <text>\r\n\t\t 实际支付\r\n\t\t </text>\r\n\t\t\r\n\t\t <text>\r\n\t\t <!--<i>\r\n\t\t\t\t\t\t¥{{totalMoney}}\r\n\t\t\t\t\t</i>-->\r\n\t\t\r\n\t\t <text>\r\n\t\t <text style=\"font-size:28rpx;\">¥</text>{{pdOrderMoney}}\r\n\t\t </text>\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t <view class=\"mainview\">\r\n\t\t\t\t<image src=\"@/static/img/orderPayment/weixin.png\" style=\"width:70rpx;height:62rpx;\" />\r\n\t\t <view>\r\n\t\t 微信支付\r\n\t\t </view>\r\n\t\t\t <image src=\"@/static/img/orderPayment/input.png\" style=\"width:32rpx;height: 32rpx;\" />\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"bottom\" v-show=\"bodyShow\">\r\n\t\t <view class=\"bottomFirst\">\r\n\t\t <text>\r\n\t\t 实付款\r\n\t\t </text>\r\n\t\t\r\n\t\t <text>\r\n\t\t <text>¥</text>{{pdOrderMoney}}\r\n\t\t </text>\r\n\t\t </view>\r\n\t\t\r\n\t\t <view class=\"bottomLast\">\r\n\t\t <text href=\"tel:400-072-0368\">\r\n\t\t <!-- <img src=\"@/assets/img/combination/kefu11.png\" style=\"width: 0.31rpx;\" /> -->\r\n\t\t </text>\r\n\t\t <text @click=\"goPay()\" :style=\"{background:background}\">去支付</text>\r\n\t\t </view>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tmerchantName: \"\", //商户名称\r\n\t\t\t\tproductName: \"\", //产品名称\r\n\t\t\t\torderList: \"\", //订单列表\r\n\t\t\t\tunitPrice: \"\", //单价\r\n\t\t\t\tdepositReceived: 0, //押金\r\n\t\t\t\tpdDiscountMoney: \"\", //优惠价格\r\n\t\t\t\torderNum: \"\", //数量\r\n\t\t\t\tpdOrderMoney: \"\", //实际总价\r\n\t\t\t\ttotalMoney: \"\", //原价总价\r\n\t\t\t\terrorMessage: \"\", //错误信息\r\n\t\t\t\tbodyShow: false, //控制初始化数据成功显示\r\n\t\t\t\ttimeStamp:\"\",//支付参数\r\n\t\t\t\tnonceStr:\"\",\r\n\t\t\t\tpackage:\"\",\r\n\t\t\t\tsignType:\"\",\r\n\t\t\t\tpaySign:\"\",\r\n\t\t\t\tbackground:\"\",//去支付的背景颜色\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option){\r\n\t\t\t let data = {\r\n\t\t\t\torderId:option.orderId, //订单Id\r\n\t\t\t\tuserId:uni.getStorageSync(\"openid\"), //用户Id\r\n\t\t\t\tpayType:42, //支付类型\r\n\t\t\t }\r\n\t\t\t this.$request(\"orderc/order/findOrderInfo\", data).then((res) => {\r\n\t\t\t\tif (res.code == \"00\") {\r\n\t\t\t\t\tthis.bodyShow = true\r\n\t\t\t\t\t//支付参数开始\r\n\t\t\t\t\tthis.timeStamp=res.data.timestamp\r\n\t\t\t\t\tthis.nonceStr=res.data.noncestr\r\n\t\t\t\t\tthis.package=res.data.package\r\n\t\t\t\t\tthis.signType=res.data.signType\r\n\t\t\t\t\tthis.paySign=res.data.sign\r\n\t\t\t\t\t//支付参数结束\r\n\t\t\t\t\tthis.pdOrderMoney = res.data.pdOrderMoney\r\n\t\t\t\t\tthis.errorMessage = res.data.errorMessage\r\n\t\t\t\t\tthis.totalMoney = res.data.totalMoney\r\n\t\t\t\t\tthis.orderList = res.data.orderList\r\n\t\t\t\t\tif (typeof(this.orderList) == \"undefined\") { //单票\r\n\t\t\t\t\t this.orderList = \"\"\r\n\t\t\t\t\t this.merchantName = res.data.merchantName\r\n\t\t\t\t\t this.productName = res.data.productName\r\n\t\t\t\t\t this.unitPrice = res.data.unitPrice\r\n\t\t\t\t\t this.orderNum = res.data.orderNum\r\n\t\t\t\t\t this.depositReceived = res.data.depositReceived\r\n\t\t\t\t\t this.pdDiscountMoney = res.data.pdDiscountMoney\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:res.message,\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tgoPay(){//-------------------------------------------------------去支付\r\n\t\t\t\tif (this.errorMessage) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:this.errorMessage,\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t return\r\n\t\t\t\t}\r\n\t\t\t\tthis.background=\"#E6E6E6\"\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.background=\"f9690e\"\r\n\t\t\t\t}, 1000)\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t provider: 'wxpay',\r\n\t\t\t\t timeStamp:this.timeStamp,\r\n\t\t\t\t nonceStr:this.nonceStr,\r\n\t\t\t\t package:this.package,\r\n\t\t\t\t signType:this.signType,\r\n\t\t\t\t paySign:this.paySign,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t uni.redirectTo({\r\n\t\t\t\t url:\"../paySuccess/paySuccess\"\r\n\t\t\t\t })\r\n\t\t\t\t },\r\n\t\t\t\t fail: function (err) {\r\n\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t\ttitle:err.errMsg,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\n\t}\n</script>\n\n<style>\n .bigBox{height: 100%;background: #fafafc;}\r\n\t.middle{padding: 30rpx 24rpx 0 24rpx;}\r\n\t.main{padding: 10rpx 24rpx 20rpx 24rpx;background: #FFFFFF;border-radius: 20rpx;box-shadow: 0 0 15rpx #e6e6e8;}\r\n\t.product{border-bottom: 1px solid #e5e5e5;padding: 25rpx 0;}\r\n\t.product view{color: #000000;padding-left:10rpx;display: flex;align-items: center;box-sizing: border-box;}\r\n\t.product view text:first-child{flex: 1;}\r\n\t.product view text:nth-child(2){color:#666666;font-size:28rpx;text-align: right;}\r\n\t.product view.coupon{color: #F9690E;margin-top:10rpx;}\r\n\t.product view.coupon text{font-size:30rpx;}\r\n\t.mainP3{height:120rpx;color: #000000;border-bottom: 1px solid #e5e5e5;padding:25rpx 0 25rpx 10rpx;display: flex;align-items: center;box-sizing: border-box;justify-content: space-between;}\r\n\t.mainP3 text:nth-child(2){font-size: 24rpx;color: #666666;}\r\n\t.mainP3 text:nth-child(2) text:nth-child(1){font-size:36rpx;color:#F9690E;margin-left: 20rpx;font-weight: bold;}\r\n\t.mainview{margin-top:50rpx;display: flex;align-items: center;}\r\n\t.mainview>image:first-child{margin:0 20rpx 0 10rpx;}\r\n\t.mainview>view{flex: 1;}\r\n\t.bottom{position: fixed;bottom: 0;height: 100rpx;background: #FFFFFF;border-top:1px solid #e5e5e5;width: 100%;display: flex;align-items: center;}\r\n\t.bottomFirst{border-right: 1px solid #cccccc;padding-left:40rpx;width: 40%;box-sizing: border-box;}\r\n\t.bottomFirst text:nth-child(2){font-size:40rpx;color: #f9690e;margin-left:10rpx;font-weight: bold;}\r\n\t.bottomFirst text:nth-child(2) text{font-size:28rpx;}\r\n\t.bottomLast{padding-left:20rpx;display: flex;width: 60%;padding-right:20rpx;box-sizing: border-box;align-items: center;}\r\n\t.bottomLast text:first-child{display: block;text-align: center;width:60rpx;}\r\n\t.bottomLast text:first-child text{margin-top:10rpx;display: inline-block;font-size:24rpx;color: #666666;}\r\n\t.bottomLast text:nth-child(2){flex: 1;height:70rpx;display: inline-block;text-align: center;line-height:70rpx;background: #f9690e;color: #FFFFFF;margin-left:30rpx;border-radius: 20rpx;font-size:32rpx;}\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./orderPayment.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373887248\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?7ae4","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?5446","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?e8cb","uni-app:///pages/ourPayment/ourPayment.vue","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?3baf","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?5147"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACc;;;AAGvE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAkoB,CAAgB,8nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqGtpB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA,EACA;AACA,mBAFA,EAEA;AACA,oBAHA,EAGA;AACA,cAJA,EAIA;AACA,iBALA,EAKA;AACA,kBANA,EAMA;AACA,mBAPA,EAOA;AACA,kBARA,EAQA;AACA,iBATA,EASA;AACA,cAVA,EAUA;AACA,oBAXA,EAWA;AACA,yBAZA,EAYA;AACA,oBAbA,EAaA;AACA,oBAdA,EAcA;AACA,oBAfA,EAeA;AACA,8BAhBA,CAgBA;AAhBA;AAkBA,GAvBA;AAwBA,QAxBA,kBAwBA,MAxBA,EAwBA;AACA;AACA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GAlCA;AAmCA;AACA,YADA,oBACA,CADA,EACA;AACA;;;;;;;AAOA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAbA;AAcA,cAdA,wBAcA;AACA;;;;;;;AAOA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KA1BA;AA2BA,gBA3BA,wBA2BA,IA3BA,EA2BA;AACA;AACA,KA7BA;AA8BA,cA9BA,wBA8BA;AACA;AACA,KAhCA;AAiCA,QAjCA,kBAiCA;AACA;AACA,qCADA;AAEA,mCAFA;;AAIA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KAhDA;AAiDA,WAjDA,qBAiDA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA/DA;AAgEA,cAhEA,wBAgEA;AACA;AACA;AACA;AACA;AACA,6CADA,EACA;AACA,mCAFA,EAEA;AACA,iCAHA,EAGA;AACA,qCAJA,EAIA;AACA,4CALA;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA,aAFA;AAGA;AACA;AACA;AACA,aAFA;AAGA;AACA;AACA;AACA,WAXA,MAWA;AACA;AACA;AACA;AACA;AACA;AACA,eAJA;AAKA;AACA;AACA;AACA,OAxBA;AAyBA,KApGA;AAqGA,YArGA,sBAqGA;AACA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,iDADA,EACA;AACA,sDAFA,EAEA;AACA,uDAHA,EAGA;AACA,6CAJA,EAIA;AACA,qDALA,CAKA;AALA,SADA;;AASA;AACA;AACA,iCADA;AAEA,mCAFA;AAGA,4CAHA;AAIA,6CAJA;AAKA,6BALA,EAKA;AACA,qCANA,EAMA;AACA,8BAPA,CAOA;AAPA;AASA;AACA;AACA;AACA;AACA,SAFA,EAEA,IAFA;AAGA;AACA;AACA;AACA,0CADA;AAEA,0BAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAfA,MAeA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OAzBA,EAyBA,KAzBA,CAyBA;AACA;AACA,OA3BA;AA4BA,KA/JA;AAgKA,SAhKA,mBAgKA;AACA;AACA,yBADA;AAEA,iCAFA;AAGA,+BAHA;AAIA,6BAJA;AAKA,+BALA;AAMA,6BANA;AAOA;AACA;AACA,2CADA;;AAGA,SAXA;AAYA;AACA;AACA,6BADA;AAEA,wBAFA;;AAIA,SAjBA;;AAmBA,KApLA,EAnCA;;AAyNA;AACA,YADA,oBACA,GADA,EACA,MADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAfA,CAeA;AACA,+CAhBA,CAgBA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KA1BA,EAzNA,E;;;;;;;;;;;;;ACrGA;AAAA;AAAA;AAAA;AAA4pC,CAAgB,glCAAG,EAAC,C;;;;;;;;;;;ACAhrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/ourPayment/ourPayment.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/ourPayment/ourPayment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./ourPayment.vue?vue&type=template&id=35fbbb06&\"\nvar renderjs\nimport script from \"./ourPayment.vue?vue&type=script&lang=js&\"\nexport * from \"./ourPayment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ourPayment.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/ourPayment/ourPayment.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=template&id=35fbbb06&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 =\n _vm.chooseCouponObj != \"\" ? _vm.chooseCouponObj.savedMoney.toFixed(2) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"bigBox\">\n\t\t<view class=\"top\">\r\n\t\t\t<view class=\"topName\">\r\n\t\t\t\t<text class=\"topIcon\">\r\n\t\t\t\t\t<text class=\"iconfont icon-tubiaolunkuo-\"></text>\r\n\t\t\t\t</text>\r\n\t\t\t\t<text>{{name}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"topMoney\">\r\n\t\t\t\t<text class=\"moneyText\">支付金额</text>\r\n\t\t\t\t<view class=\"moneyNumber\">\r\n\t\t\t\t\t<text class=\"iconfont icon-fl-renminbi\" style=\"font-size: 56rpx;\"></text>\r\n\t\t\t\t\t<text>{{buyMoney}}</text>\r\n\t\t\t\t\t<text></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- -----------------------------有可用优惠券,并且未选中----------------------------------------------------- -->\r\n\t\t\t<view class=\"topCoupon\" v-if=\"couponData.usableCouponList&&couponData.usableCouponList.length>0&&chooseCouponObj==''\" @click=\"showCoupon()\">\r\n\t\t\t <view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{couponData.usableCouponList[0].couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text>未选优惠券</text>\r\n\t\t\t\t\t<text class=\"iconfont icon-you\" style=\"font-size:32rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- -----------------------------有可用优惠券----------------------------------------------------- -->\r\n\t\t\t<view class=\"topCoupon\" v-if=\"chooseCouponObj!=''\" @click=\"showCoupon()\">\r\n\t\t\t\t<view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{chooseCouponObj.couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text>-</text>\r\n\t\t\t\t\t<text>{{chooseCouponObj.savedMoney.toFixed(2)}}</text>\r\n\t\t\t\t\t<text class=\"iconfont icon-you\" style=\"font-size:32rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- -----------------------------------------------可用优惠券条件--------------------------------------- -->\r\n\t\t\t<view class=\"topCoupon\" v-if=\"ableConpon!=''\" @click=\"showCoupon()\">\r\n\t\t\t\t<view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{ableConpon.couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text>{{ableConpon.couponRule}}</text>\r\n\t\t\t\t\t<text class=\"iconfont icon-you\" style=\"font-size:32rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"middle\">\r\n\t\t\t友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<view class=\"botLeft\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<text @click=\"clickNum(1)\" ref=\"1\">1</text>\r\n\t\t\t\t\t<text @click=\"clickNum(2)\" ref=\"2\">2</text>\r\n\t\t\t\t\t<text @click=\"clickNum(3)\" ref=\"3\">3</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<text @click=\"clickNum(4)\" ref=\"4\">4</text>\r\n\t\t\t\t\t<text @click=\"clickNum(5)\" ref=\"5\">5</text>\r\n\t\t\t\t\t<text @click=\"clickNum(6)\" ref=\"6\">6</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<text @click=\"clickNum(7)\" ref=\"7\">7</text>\r\n\t\t\t\t\t<text @click=\"clickNum(8)\" ref=\"8\">8</text>\r\n\t\t\t\t\t<text @click=\"clickNum(9)\" ref=\"9\">9</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<text @click=\"clickNum(0)\" ref=\"0\" style=\"width: 66.7%;\">0</text>\r\n\t\t\t\t\t<text @click=\"clickNum('.')\" ref=\".\" style=\"width: 33.3%;\">.</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view class=\"botRight\">\r\n\t\t\t\t<view class=\"rightOne\" @click=\"clickEnter()\" ref=\"enter\">\r\n\t\t\t\t\t<text class=\"iconfont icon-im_huige\" style=\"font-size:70rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"rightTwo\" ref=\"pay\" @click=\"clickPay()\" :style=\"{'background':payBackground}\">\r\n\t\t\t\t\t<view>立即</view>\r\n\t\t\t\t\t<view>支付</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-------------------------------------------券弹窗------------------------------>\r\n\t\t <orderCoupon :couponData=\"couponData\" ref=\"orderCoupon\" @couponChoose=\"couponChoose\" :chooseCouponObj=\"chooseCouponObj\"></orderCoupon>\n\t</view>\n\t\r\n</template>\n\n<script>\r\n\timport orderCoupon from \"@/components/orderCoupon.vue\"\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\torderCoupon\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbuyMoney:\"\", //输入金额\r\n\t\t\t\tcompanyId: \"\", //公司Id\r\n\t\t\t\tmerchantId: \"\", //商户Id\r\n\t\t\t\tname: \"\", //商家名称\r\n\t\t\t\tpaySign: \"\", //签名\r\n\t\t\t\tsignType: \"\", //签名方式\r\n\t\t\t\ttimeStamp: \"\", //时间戳\r\n\t\t\t\tnonceStr: \"\", //随机字符串\r\n\t\t\t\tpackage: \"\", //订单详情扩展字符串\r\n\t\t\t\tflag: \"\", //setTimeout函数\r\n\t\t\t\tcouponData: \"\", //所有劵数据\r\n\t\t\t\tchooseCouponObj: \"\", //默认选中最优价格优惠券\r\n\t\t\t\tableConpon: \"\", //没有可用优惠券时,达到一定条件可用,显示达到的条件\r\n\t\t\t\torderSource:8,//1公众号平台、2公众号组合页面1、3公众号组合页面2、4胖丁伙伴app、5第三方自助机、6第三方票房窗口、7平台快捷买单、8扫码支付\r\n\t\t\t\tbackground:\"\",//普通按钮背景颜色\r\n\t\t\t\tpayBackground:\"#1dce2e\",//支付背景颜色\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.option=decodeURIComponent(option.q) \r\n\t\t\t// this.companyId=option.companyId\r\n\t\t\t// this.merchantId=option.merchantId\r\n\t\t\tif (this.merchantId) { //大商家的有merchantId\r\n\t\t\t this.init()\r\n\t\t\t} else { //小商家没有merchantId\r\n\t\t\t this.initTwo()\r\n\t\t\t}\r\n\t\t\tthis.initCoupon()\r\n\t\t},\n\t\tmethods: {\n\t\t\tclickNum(i) {//---------------------------------------------------------------------输入数字\r\n\t\t\t this.buyMoney += i\r\n\t\t\t //#ifdef H5\r\n\t\t\t this.$refs[i].$el.style.background=\"#dddddd\"\r\n\t\t\t setTimeout(()=>{\r\n\t\t\t\tthis.$refs[i].$el.style.background=\"\"\r\n\t\t\t },200)\r\n\t\t\t //#endif\r\n\t\t\t clearTimeout(this.flag)\r\n\t\t\t this.flag = setTimeout(()=>{\r\n\t\t\t this.initCoupon()\r\n\t\t\t }, 1500)\r\n\t\t\t},\r\n\t\t\tclickEnter(){//---------------------------------------------------------------------退格\r\n\t\t\t\tthis.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1)\r\n\t\t\t\t//#ifdef H5\r\n\t\t\t\tthis.$refs.enter.$el.style.background=\"#dddddd\"\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthis.$refs.enter.$el.style.background=\"\" \r\n\t\t\t\t},200)\r\n\t\t\t\t//#endif\r\n\t\t\t\tclearTimeout(this.flag)\r\n\t\t\t\tthis.flag = setTimeout(()=>{\r\n\t\t\t\t this.initCoupon()\r\n\t\t\t\t}, 1500)\r\n\t\t\t},\r\n\t\t\tcouponChoose(data) { //---------------------------------------------------------------子组件券选择之后触发的事件\r\n\t\t\t this.chooseCouponObj = data\r\n\t\t\t},\r\n\t\t\tshowCoupon() { //---------------------------------------------------------------------展示券列表\r\n\t\t\t this.$refs.orderCoupon.showCoupon()\r\n\t\t\t},\r\n\t\t\tinit() { //---------------------------------------------------------------------------初始化获取商家名称,大商家\r\n\t\t\t let data = {\r\n\t\t\t \"merchantId\": this.merchantId,\r\n\t\t\t \"companyId\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"scenic/order/findCodePayInfo\",data).then((res) => {\r\n\t\t\t if (res.code ==\"00\") {\r\n\t\t\t this.name = res.data.name\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t })\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitTwo() { //--------------------------------------------------------------------------初始化获取商家名称,没有merchantId的小商家\r\n\t\t\t let data = {\r\n\t\t\t \"id\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"user/company/detail\", data).then((res) => {\r\n\t\t\t if (res.code==\"00\"){\r\n\t\t\t this.name = res.data.companyVo.companyName\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitCoupon() { //-------------------------------------------------------------------------加载优惠券\r\n\t\t\t let savedMoneyList = []\r\n\t\t\t this.chooseCouponObj = \"\"\r\n\t\t\t this.ableConpon = \"\"\r\n\t\t\t let data = {\r\n\t\t\t money:parseFloat(this.buyMoney)||0, //订单总价,不算券,和现金红包\r\n\t\t\t merchantId:this.merchantId, //商户Id\r\n\t\t\t companyId:this.companyId,//公司Id\r\n\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t openid:uni.getStorageSync(\"openid\")\r\n\t\t\t }\r\n\t\t\t this.$request(\"wechatUser/myPage/usableCouponList\",data).then((res) => {\r\n\t\t\t if (res.code == \"00\") {\r\n\t\t\t this.couponData = res.data\r\n\t\t\t if (res.data.usableCouponList.length > 0) {\r\n\t\t\t res.data.usableCouponList.forEach((item) => { //获取最优券\r\n\t\t\t savedMoneyList.push(item.savedMoney)\r\n\t\t\t })\r\n\t\t\t let maxMoney = Math.max.apply(null, savedMoneyList)\r\n\t\t\t let index = res.data.usableCouponList.findIndex((item) => {\r\n\t\t\t return maxMoney == item.savedMoney\r\n\t\t\t })\r\n\t\t\t if(index>-1){\r\n\t\t\t this.chooseCouponObj = res.data.usableCouponList[index]\r\n\t\t\t }\r\n\t\t\t } else {\r\n\t\t\t if (res.data.unusableCouponList.length > 0) {\r\n\t\t\t res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券\r\n\t\t\t if (item.isProduct == 1) {\r\n\t\t\t this.ableConpon = item\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tclickPay(){//---------------------------------------------------------------点击立即支付,获取支付需要的参数\r\n\t\t\t\tif (!parseFloat(this.buyMoney)) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:\"请输入正确金额\",\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet couponList = []\r\n\t\t\t\tif (this.chooseCouponObj != '') {\r\n\t\t\t\t couponList = [ //券列表\r\n\t\t\t\t {\r\n\t\t\t\t couponId: this.chooseCouponObj.couponId, //券id\r\n\t\t\t\t couponPrice: this.chooseCouponObj.savedMoney, //券价格\r\n\t\t\t\t isMerchant: this.chooseCouponObj.createSource, //是否是商户的券\r\n\t\t\t\t myCouponId: this.chooseCouponObj.id, //领取人编号\r\n\t\t\t\t couponType:this.chooseCouponObj.couponType//券类型\r\n\t\t\t\t }\r\n\t\t\t\t ]\r\n\t\t\t\t}\r\n\t\t\t\tlet data = {\r\n\t\t\t\t companyId: this.companyId,\r\n\t\t\t\t merchantId: this.merchantId,\r\n\t\t\t\t userId:uni.getStorageSync(\"openid\"),\r\n\t\t\t\t orderMoney: parseFloat(this.buyMoney),\r\n\t\t\t\t payType: this.payType, //支付类型,\r\n\t\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t\t couponList,//券列表\r\n\t\t\t\t}\r\n\t\t\t\tthis.payBackground=\"#cccccc\"\r\n\t\t\t\tthis.$request(\"orderc/order/codePay\", data).then((res) => {\r\n\t\t\t\t setTimeout(() => {\r\n\t\t\t\t\tthis.payBackground=\"#1dce2e\"\r\n\t\t\t\t },1000)\r\n\t\t\t\t if(res.code==\"00\") {\r\n\t\t\t\t if (res.data.errorMessage) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:res.data.errorMessage,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t })\r\n\t\t\t\t return\r\n\t\t\t\t }\r\n\t\t\t\t //微信入参\r\n\t\t\t\t this.signType = res.data.signType\r\n\t\t\t\t this.paySign = res.data.sign\r\n\t\t\t\t this.timeStamp = res.data.timestamp\r\n\t\t\t\t this.nonceStr = res.data.noncestr\r\n\t\t\t\t this.package = res.data.package\r\n\t\t\t\t\tthis.goPay()\r\n\t\t\t\t } else {\r\n\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\ttitle:res.message,\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t}).catch((err) => {\r\n\t\t\t\t this.payBackground=\"#1dce2e\"\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoPay(){//------------------------------------------------------------------------------去支付\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t provider: 'wxpay',\r\n\t\t\t\t timeStamp:this.timeStamp,\r\n\t\t\t\t nonceStr:this.nonceStr,\r\n\t\t\t\t package:this.package,\r\n\t\t\t\t signType:this.signType,\r\n\t\t\t\t paySign:this.paySign,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t uni.redirectTo({\r\n\t\t\t\t url:\"../paySuccess/paySuccess\"\r\n\t\t\t\t })\r\n\t\t\t\t },\r\n\t\t\t\t fail: function (err) {\r\n\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t\ttitle:err.errMsg,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t})\r\n\t\t\t}\n\t\t},\r\n\t\twatch: {\r\n\t\t buyMoney(val, oldVal) {\r\n\t\t if (val == \".\" && oldVal == \"\") { //首位数是小数点自动加上0\r\n\t\t this.buyMoney = 0 + \".\"\r\n\t\t }\r\n\t\t if (val == \"0\" && oldVal == \"\") { //首位数是0自动加上小数点\r\n\t\t this.buyMoney = 0 + \".\"\r\n\t\t }\r\n\t\t\tif (val.length == 2) { //防止回退之后出现01,02等状况\r\n\t\t\t if (val.substr(0, 1) == 0 && val.substr(1, 2) != \".\") {\r\n\t\t\t this.buyMoney = val.substr(1, 2)\r\n\t\t\t }\r\n\t\t\t}\r\n\t\t if (isNaN(val) && val != \".\") { //出现非数字,输入无效\r\n\t\t this.buyMoney = oldVal\r\n\t\t }\r\n\t\t var x = String(this.buyMoney).indexOf('.') + 1; //小数点的位置\r\n\t\t var y = String(this.buyMoney).length - x; //小数的位数\r\n\t\t if (y > 2 && x > 0) {\r\n\t\t this.buyMoney = oldVal\r\n\t\t }\r\n\t\t\tif (parseFloat(this.buyMoney)) {\r\n\t\t\t\tthis.payBackground=\"#1dce2e\"\r\n\t\t\t} else {\r\n\t\t\t\tthis.payBackground=\"#cccccc\"\r\n\t\t\t}\r\n\t\t }\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t.bigBox{background:#f5f5f5;height: 100%;}\r\n\t/*上部分*/\r\n\t.top{background: #FFFFFF;}\r\n\t.topName{font-size:28rpx;font-weight: bold;padding-top: 50rpx;display: flex;align-items: center;justify-content: center;}\r\n\t.topIcon{display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#FF8B57;align-items:center;justify-content:center;}\r\n\t.icon-tubiaolunkuo-{font-size:36rpx;color: #FFFFFF;font-weight: 400;}\r\n\t.topMoney{padding:80rpx 24rpx 35rpx 24rpx;display: flex;justify-content:space-between;align-items: center;}\r\n\t.moneyText{color: #FF3C00;font-size:28rpx;font-weight: bold;}\r\n\t.moneyNumber text:nth-child(2){font-size: 58rpx;font-weight: bold;position: relative;left: -6rpx;}\r\n\t.moneyNumber text:last-child{animation: dis 1.5s infinite;transition: 1s;width: 1px;height:56rpx;display: inline-block;background: #333333;position: relative;top:8rpx;}\r\n\t.topCoupon{display: flex;height: 90rpx;border-top:1px solid $dividing-ine;align-items:center;padding:0 24rpx;justify-content: space-between;}\r\n\t.couponLeft{font-size:24rpx;}\r\n\t.couponLeft text:first-child{margin-right:10rpx;display: inline-block;width:30rpx;height:30rpx;background: #f9690e;color: #FFFFFF;text-align: center;line-height:28rpx;border-radius:4rpx;}\r\n\t.couponRight{position:relative;left:8rpx;}\r\n\t.couponRight text:first-child{font-size:32rpx;color:#f9690e;}\r\n\t.couponRight text:nth-child(2){font-size: 32rpx;color: #F9690E;font-weight:bold;}\r\n\t/*中间部分*/\r\n\t.middle{padding:60rpx 24rpx 0 24rpx;font-size: 22rpx;color: #999999;line-height: 40rpx;}\t\r\n\t/*下部分*/\r\n\t.bottom{position:absolute;bottom:0;height:40%;background: #FFFFFF;width:100%;display: flex;border-top:1px solid #dddddd;font-size:50rpx;}\r\n\t.botLeft{width:75%;}\r\n\t.botLeft view{height:25%;display: flex;border-bottom:1px solid #dddddd;}\r\n\t.botLeft view:last-child{border:none;}\r\n\t.botLeft view text{flex:1;height:100%;display:inline-flex;align-items: center;justify-content: center;border-right:1px solid #dddddd;}\r\n\t.botLeft view:last-child text{flex:initial;}\r\n\t.botRight{width:25%;}\r\n\t.rightOne{height: 25%;display: flex;align-items:center;justify-content: center;border-bottom:1px solid #dddddd;}\r\n\t.rightTwo{height: 75%;border:none;color: #FFFFFF;display: flex;flex-direction:column;align-items:center;justify-content: center;}\t\r\n\t@keyframes dis{\r\n\t from{\r\n\t opacity: 0;\r\n\t }\r\n\t to{\r\n\t opacity: 1;\r\n\t }\r\n\t}\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036611288\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?c386","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?7ae4","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?5446","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?e8cb","uni-app:///pages/ourPayment/ourPayment.vue","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?3baf","webpack:///E:/pangding/uni-pdtravel/pages/ourPayment/ourPayment.vue?5147"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACc;;;AAGvE;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAkoB,CAAgB,8nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmGtpB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA,EACA;AACA,mBAFA,EAEA;AACA,oBAHA,EAGA;AACA,cAJA,EAIA;AACA,iBALA,EAKA;AACA,iBANA,EAMA;AACA,kBAPA,EAOA;AACA,mBARA,EAQA;AACA,kBATA,EASA;AACA,iBAVA,EAUA;AACA,cAXA,EAWA;AACA,oBAZA,EAYA;AACA,yBAbA,EAaA;AACA,mBAdA,EAcA;AACA,oBAfA,EAeA;AACA,oBAhBA,EAgBA;AACA,oBAjBA,EAiBA;AACA,yBAlBA,EAkBA;AACA,8BAnBA,EAmBA;AACA;AACA;AACA;AACA,mCADA;AAEA,mCAFA;AAGA,mCAHA,CADA,EADA;;;AAQA;AACA;AACA,mCADA;AAEA,mCAFA;AAGA,mCAHA,CADA,EARA;;;AAeA;AACA;AACA,mCADA;AAEA,mCAFA;AAGA,mCAHA,CADA,EAfA;;;AAsBA;AACA;AACA,mCADA;AAEA,qCAFA,CADA,EAtBA,CApBA;;;;;AAkDA,GAvDA;AAwDA,QAxDA,kBAwDA,MAxDA,EAwDA;AACA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GAjEA;AAkEA;AACA,YADA,oBACA,CADA,EACA,KADA,EACA,CADA,EACA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAXA;AAYA,cAZA,wBAYA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAtBA;AAuBA,gBAvBA,wBAuBA,IAvBA,EAuBA;AACA;AACA,KAzBA;AA0BA,cA1BA,wBA0BA;AACA;AACA,KA5BA;AA6BA,QA7BA,kBA6BA;AACA;AACA,qCADA;AAEA,mCAFA;;AAIA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA5CA;AA6CA,WA7CA,qBA6CA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA3DA;AA4DA,cA5DA,wBA4DA;AACA;AACA;AACA;AACA;AACA,6CADA,EACA;AACA,mCAFA,EAEA;AACA,iCAHA,EAGA;AACA,qCAJA,EAIA;AACA,4CALA;;AAOA;AACA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OA9BA;AA+BA,KAtGA;AAuGA,YAvGA,sBAuGA;AACA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,iDADA,EACA;AACA,sDAFA,EAEA;AACA,uDAHA,EAGA;AACA,6CAJA,EAIA;AACA,qDALA,CAKA;AALA,SADA;;AASA;AACA;AACA,iCADA;AAEA,mCAFA;AAGA,4CAHA;AAIA,6CAJA;AAKA,6BALA,EAKA;AACA,qCANA,EAMA;AACA,8BAPA,CAOA;AAPA;AASA;AACA;AACA;AACA;AACA,SAFA,EAEA,IAFA;AAGA;AACA;AACA;AACA,0CADA;AAEA,0BAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAfA,MAeA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OAzBA,EAyBA,KAzBA,CAyBA;AACA;AACA,OA3BA;AA4BA,KAjKA;AAkKA,SAlKA,mBAkKA;AACA;AACA,yBADA;AAEA,iCAFA;AAGA,+BAHA;AAIA,6BAJA;AAKA,+BALA;AAMA,6BANA;AAOA;AACA;AACA,2CADA;;AAGA,SAXA;AAYA;AACA;AACA,6BADA;AAEA,wBAFA;;AAIA,SAjBA;;AAmBA,KAtLA,EAlEA;;AA0PA;AACA,YADA,oBACA,GADA,EACA,MADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAfA,CAeA;AACA,+CAhBA,CAgBA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KA1BA,EA1PA,E;;;;;;;;;;;;;ACnGA;AAAA;AAAA;AAAA;AAA4pC,CAAgB,glCAAG,EAAC,C;;;;;;;;;;;ACAhrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/ourPayment/ourPayment.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/ourPayment/ourPayment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./ourPayment.vue?vue&type=template&id=35fbbb06&\"\nvar renderjs\nimport script from \"./ourPayment.vue?vue&type=script&lang=js&\"\nexport * from \"./ourPayment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ourPayment.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/ourPayment/ourPayment.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=template&id=35fbbb06&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = _vm.chooseCouponObj ? parseFloat(_vm.savedMoney.toFixed(2)) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"bigBox\">\n\t\t<view class=\"top\">\r\n\t\t\t<view class=\"topName\">\r\n\t\t\t\t<text class=\"topIcon\">\r\n\t\t\t\t\t<text class=\"iconfont icon-tubiaolunkuo-\"></text>\r\n\t\t\t\t</text>\r\n\t\t\t\t<text>{{name}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"topMoney\">\r\n\t\t\t\t<text class=\"moneyText\">支付金额</text>\r\n\t\t\t\t<view class=\"moneyNumber\">\r\n\t\t\t\t\t<text class=\"iconfont icon-fl-renminbi\" style=\"font-size: 56rpx;\"></text>\r\n\t\t\t\t\t<text>{{buyMoney}}</text>\r\n\t\t\t\t\t<text></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- -----------------------------有可用优惠券,并且未选中----------------------------------------------------- -->\r\n\t\t\t<!-- <view class=\"topCoupon\" v-if=\"couponData.usableCouponList&&couponData.usableCouponList.length>0&&chooseCouponObj==''\" @click=\"showCoupon()\">\r\n\t\t\t <view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{couponData.usableCouponList[0].couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text>未选优惠券</text>\r\n\t\t\t\t\t<text class=\"iconfont icon-you\" style=\"font-size:32rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t\t<!-- -----------------------------有可用优惠券----------------------------------------------------- -->\r\n\t\t\t<!-- <view class=\"topCoupon\" v-if=\"chooseCouponObj!=''\" @click=\"showCoupon()\">\r\n\t\t\t\t<view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{chooseCouponObj.couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text>-</text>\r\n\t\t\t\t\t<text>{{chooseCouponObj.savedMoney.toFixed(2)}}</text>\r\n\t\t\t\t\t<text class=\"iconfont icon-you\" style=\"font-size:32rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t\t<!-- -----------------------------------------------可用优惠券条件--------------------------------------- -->\r\n\t\t\t<!-- <view class=\"topCoupon\" v-if=\"ableConpon!=''\" @click=\"showCoupon()\">\r\n\t\t\t\t<view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{ableConpon.couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text>{{ableConpon.couponRule}}</text>\r\n\t\t\t\t\t<text class=\"iconfont icon-you\" style=\"font-size:32rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t\t\r\n\t\t\t<view class=\"topCoupon\" v-if=\"chooseCouponObj\">\r\n\t\t\t\t<view class=\"couponLeft\">\r\n\t\t\t\t\t<text>券</text>\r\n\t\t\t\t\t<text>{{chooseCouponObj.couponName}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"couponRight\">\r\n\t\t\t\t\t<text style=\"font-weight: bold;\">\r\n\t\t\t\t\t <text style=\"font-size:26rpx;font-weight:400;\">-¥</text>\r\n\t\t\t\t\t {{parseFloat(savedMoney.toFixed(2))}}\r\n\t\t\t\t\t</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"middle\">\r\n\t\t\t友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<view class=\"botLeft\">\r\n\t\t\t\t<view v-for=\"(item,index) of leftList\" :key=\"index\">\r\n\t\t\t\t\t<text @click=\"clickNum(items.text,index,a)\" v-for=\"(items,a) of item.child\" :key=\"a\" :style=\"{'background':items.background}\">{{items.text}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view class=\"botRight\">\r\n\t\t\t\t<view class=\"rightOne\" @click=\"clickEnter()\" :style=\"{'background':spaceBackground}\">\r\n\t\t\t\t\t<text class=\"iconfont icon-im_huige\" style=\"font-size:70rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"rightTwo\" ref=\"pay\" @click=\"clickPay()\" :style=\"{'background':payBackground}\">\r\n\t\t\t\t\t<view>立即</view>\r\n\t\t\t\t\t<view>支付</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-------------------------------------------券弹窗------------------------------>\r\n\t\t <!-- <orderCoupon :couponData=\"couponData\" ref=\"orderCoupon\" @couponChoose=\"couponChoose\" :chooseCouponObj=\"chooseCouponObj\"></orderCoupon> -->\n\t</view>\n\t\r\n</template>\n\n<script>\r\n\timport orderCoupon from \"@/components/orderCoupon.vue\"\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\torderCoupon\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbuyMoney:\"\", //输入金额\r\n\t\t\t\tcompanyId: \"\", //公司Id\r\n\t\t\t\tmerchantId: \"\", //商户Id\r\n\t\t\t\tname: \"\", //商家名称\r\n\t\t\t\tpayType:42,//支付类型,微信小程序支付\r\n\t\t\t\tpaySign: \"\", //签名\r\n\t\t\t\tsignType: \"\", //签名方式\r\n\t\t\t\ttimeStamp: \"\", //时间戳\r\n\t\t\t\tnonceStr: \"\", //随机字符串\r\n\t\t\t\tpackage: \"\", //订单详情扩展字符串\r\n\t\t\t\tflag: \"\", //setTimeout函数\r\n\t\t\t\tcouponData: \"\", //所有劵数据\r\n\t\t\t\tchooseCouponObj: \"\", //默认选中最优价格优惠券\r\n\t\t\t\tsavedMoney:0,//优惠金额\r\n\t\t\t\tableConpon: \"\", //没有可用优惠券时,达到一定条件可用,显示达到的条件\r\n\t\t\t\torderSource:8,//1公众号平台、2公众号组合页面1、3公众号组合页面2、4胖丁伙伴app、5第三方自助机、6第三方票房窗口、7平台快捷买单、8扫码支付\r\n\t\t\t\tbackground:\"\",//普通按钮背景颜色\r\n\t\t\t\tspaceBackground:\"\",//回格按钮背景颜色\r\n\t\t\t\tpayBackground:\"#1dce2e\",//支付背景颜色\r\n\t\t\t\tleftList:[//左侧按钮数据\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tchild:[\r\n\t\t\t\t\t\t\t{text:1,background:\"\"},\r\n\t\t\t\t\t\t\t{text:2,background:\"\"},\r\n\t\t\t\t\t\t\t{text:3,background:\"\"}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tchild:[\r\n\t\t\t\t\t\t\t{text:4,background:\"\"},\r\n\t\t\t\t\t\t\t{text:5,background:\"\"},\r\n\t\t\t\t\t\t\t{text:6,background:\"\"},\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tchild:[\r\n\t\t\t\t\t\t\t{text:7,background:\"\"},\r\n\t\t\t\t\t\t\t{text:8,background:\"\"},\r\n\t\t\t\t\t\t\t{text:9,background:\"\"},\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tchild:[\r\n\t\t\t\t\t\t\t{text:0,background:\"\"},\r\n\t\t\t\t\t\t\t{text:'.',background:\"\"},\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t]\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.companyId=(new RegExp('[?|&]companyId=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(option.q)) || [, \"\"])[1].replace(/\\+/g, '%20') || \"\"\r\n\t\t\tthis.merchantId=(new RegExp('[?|&]merchantId=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(option.q)) || [, \"\"])[1].replace(/\\+/g, '%20') || \"\"\r\n\t\t\tif (this.merchantId) { //大商家的有merchantId\r\n\t\t\t this.init()\r\n\t\t\t} else { //小商家没有merchantId\r\n\t\t\t this.initTwo()\r\n\t\t\t}\r\n\t\t\tthis.initCoupon()\r\n\t\t},\n\t\tmethods: {\n\t\t\tclickNum(i,index,a) {//---------------------------------------------------------------------输入数字\r\n\t\t\t this.buyMoney += i\r\n\t\t\t this.leftList[index].child[a].background=\"#dddddd\"\r\n\t\t\t setTimeout(()=>{\r\n\t\t\t\tthis.leftList[index].child[a].background=\"\"\r\n\t\t\t },200)\r\n\t\t\t clearTimeout(this.flag)\r\n\t\t\t this.flag = setTimeout(()=>{\r\n\t\t\t this.initCoupon()\r\n\t\t\t }, 1500)\r\n\t\t\t},\r\n\t\t\tclickEnter(){//---------------------------------------------------------------------退格\r\n\t\t\t\tthis.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1)\r\n\t\t\t\tthis.spaceBackground=\"#dddddd\"\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthis.spaceBackground=\"\"\r\n\t\t\t\t},200)\r\n\t\t\t\tclearTimeout(this.flag)\r\n\t\t\t\tthis.flag = setTimeout(()=>{\r\n\t\t\t\t this.initCoupon()\r\n\t\t\t\t}, 1500)\r\n\t\t\t},\r\n\t\t\tcouponChoose(data) { //---------------------------------------------------------------子组件券选择之后触发的事件\r\n\t\t\t this.chooseCouponObj = data\r\n\t\t\t},\r\n\t\t\tshowCoupon() { //---------------------------------------------------------------------展示券列表\r\n\t\t\t this.$refs.orderCoupon.showCoupon()\r\n\t\t\t},\r\n\t\t\tinit() { //---------------------------------------------------------------------------初始化获取商家名称,大商家\r\n\t\t\t let data = {\r\n\t\t\t \"merchantId\": this.merchantId,\r\n\t\t\t \"companyId\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"scenic/order/findCodePayInfo\",data).then((res) => {\r\n\t\t\t if (res.code ==\"00\") {\r\n\t\t\t this.name = res.data.name\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t })\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitTwo() { //--------------------------------------------------------------------------初始化获取商家名称,没有merchantId的小商家\r\n\t\t\t let data = {\r\n\t\t\t \"id\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"user/company/detail\", data).then((res) => {\r\n\t\t\t if (res.code==\"00\"){\r\n\t\t\t this.name = res.data.companyVo.companyName\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitCoupon() { //-------------------------------------------------------------------------加载优惠券\r\n\t\t\t let savedMoneyList = []\r\n\t\t\t this.chooseCouponObj = \"\"\r\n\t\t\t this.ableConpon = \"\"\r\n\t\t\t let data = {\r\n\t\t\t money:parseFloat(this.buyMoney)||0, //订单总价,不算券,和现金红包\r\n\t\t\t merchantId:this.merchantId, //商户Id\r\n\t\t\t companyId:this.companyId,//公司Id\r\n\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t openid:uni.getStorageSync(\"openid\")\r\n\t\t\t }\r\n\t\t\t this.$request(\"wechatUser/myPage/usableCouponList\",data).then((res) => {\r\n\t\t\t if (res.code == \"00\") {\r\n\t\t\t\t\tthis.chooseCouponObj=res.data.masterSlaveCouponList[0]\r\n\t\t\t\t\tif(this.chooseCouponObj.slaveList.length>0){\r\n\t\t\t\t\t\tthis.savedMoney=this.chooseCouponObj.slaveList[0].savedMoney\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.savedMoney=this.chooseCouponObj.savedMoney\r\n\t\t\t\t\t}\r\n\t\t\t\t\t // this.couponData = res.data\r\n\t\t\t\t\t // if (res.data.usableCouponList.length > 0) {\r\n\t\t\t\t\t\t// res.data.usableCouponList.forEach((item) => { //获取最优券\r\n\t\t\t\t\t\t// savedMoneyList.push(item.savedMoney)\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// let maxMoney = Math.max.apply(null, savedMoneyList)\r\n\t\t\t\t\t\t// let index = res.data.usableCouponList.findIndex((item) => {\r\n\t\t\t\t\t\t// return maxMoney == item.savedMoney\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// if(index>-1){\r\n\t\t\t\t\t\t// this.chooseCouponObj = res.data.usableCouponList[index]\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t // } else {\r\n\t\t\t\t\t\t// if (res.data.unusableCouponList.length > 0) {\r\n\t\t\t\t\t\t// res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券\r\n\t\t\t\t\t\t// \tif (item.isProduct == 1) {\r\n\t\t\t\t\t\t// \t this.ableConpon = item\r\n\t\t\t\t\t\t// \t}\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t // }\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tclickPay(){//---------------------------------------------------------------点击立即支付,获取支付需要的参数\r\n\t\t\t\tif (!parseFloat(this.buyMoney)) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:\"请输入正确金额\",\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet couponList = []\r\n\t\t\t\tif (this.chooseCouponObj != '') {\r\n\t\t\t\t couponList = [ //券列表\r\n\t\t\t\t {\r\n\t\t\t\t couponId: this.chooseCouponObj.couponId, //券id\r\n\t\t\t\t couponPrice: this.chooseCouponObj.savedMoney, //券价格\r\n\t\t\t\t isMerchant: this.chooseCouponObj.createSource, //是否是商户的券\r\n\t\t\t\t myCouponId: this.chooseCouponObj.id, //领取人编号\r\n\t\t\t\t couponType:this.chooseCouponObj.couponType//券类型\r\n\t\t\t\t }\r\n\t\t\t\t ]\r\n\t\t\t\t}\r\n\t\t\t\tlet data = {\r\n\t\t\t\t companyId: this.companyId,\r\n\t\t\t\t merchantId: this.merchantId,\r\n\t\t\t\t userId:uni.getStorageSync(\"openid\"),\r\n\t\t\t\t orderMoney: parseFloat(this.buyMoney),\r\n\t\t\t\t payType: this.payType, //支付类型,\r\n\t\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t\t couponList,//券列表\r\n\t\t\t\t}\r\n\t\t\t\tthis.payBackground=\"#cccccc\"\r\n\t\t\t\tthis.$request(\"orderc/order/codePay\", data).then((res) => {\r\n\t\t\t\t setTimeout(() => {\r\n\t\t\t\t\tthis.payBackground=\"#1dce2e\"\r\n\t\t\t\t },1000)\r\n\t\t\t\t if(res.code==\"00\") {\r\n\t\t\t\t if (res.data.errorMessage) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:res.data.errorMessage,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t })\r\n\t\t\t\t return\r\n\t\t\t\t }\r\n\t\t\t\t //微信入参\r\n\t\t\t\t this.signType = res.data.signType\r\n\t\t\t\t this.paySign = res.data.sign\r\n\t\t\t\t this.timeStamp = res.data.timestamp\r\n\t\t\t\t this.nonceStr = res.data.noncestr\r\n\t\t\t\t this.package = res.data.package\r\n\t\t\t\t\tthis.goPay()\r\n\t\t\t\t } else {\r\n\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\ttitle:res.message,\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t}).catch((err) => {\r\n\t\t\t\t this.payBackground=\"#1dce2e\"\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoPay(){//------------------------------------------------------------------------------去支付\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t provider: 'wxpay',\r\n\t\t\t\t timeStamp:this.timeStamp,\r\n\t\t\t\t nonceStr:this.nonceStr,\r\n\t\t\t\t package:this.package,\r\n\t\t\t\t signType:this.signType,\r\n\t\t\t\t paySign:this.paySign,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t uni.redirectTo({\r\n\t\t\t\t url:\"../paySuccess/paySuccess\"\r\n\t\t\t\t })\r\n\t\t\t\t },\r\n\t\t\t\t fail: function (err) {\r\n\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t\ttitle:err.errMsg,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t})\r\n\t\t\t}\n\t\t},\r\n\t\twatch: {\r\n\t\t buyMoney(val, oldVal) {\r\n\t\t if (val == \".\" && oldVal == \"\") { //首位数是小数点自动加上0\r\n\t\t this.buyMoney = 0 + \".\"\r\n\t\t }\r\n\t\t if (val == \"0\" && oldVal == \"\") { //首位数是0自动加上小数点\r\n\t\t this.buyMoney = 0 + \".\"\r\n\t\t }\r\n\t\t\tif (val.length == 2) { //防止回退之后出现01,02等状况\r\n\t\t\t if (val.substr(0, 1) == 0 && val.substr(1, 2) != \".\") {\r\n\t\t\t this.buyMoney = val.substr(1, 2)\r\n\t\t\t }\r\n\t\t\t}\r\n\t\t if (isNaN(val) && val != \".\") { //出现非数字,输入无效\r\n\t\t this.buyMoney = oldVal\r\n\t\t }\r\n\t\t var x = String(this.buyMoney).indexOf('.') + 1; //小数点的位置\r\n\t\t var y = String(this.buyMoney).length - x; //小数的位数\r\n\t\t if (y > 2 && x > 0) {\r\n\t\t this.buyMoney = oldVal\r\n\t\t }\r\n\t\t\tif (parseFloat(this.buyMoney)) {\r\n\t\t\t\tthis.payBackground=\"#1dce2e\"\r\n\t\t\t} else {\r\n\t\t\t\tthis.payBackground=\"#cccccc\"\r\n\t\t\t}\r\n\t\t }\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t.bigBox{background:#f5f5f5;height: 100%;}\r\n\t/*上部分*/\r\n\t.top{background: #FFFFFF;}\r\n\t.topName{font-size:30rpx;font-weight: bold;padding-top: 50rpx;display: flex;align-items: center;justify-content: center;}\r\n\t.topIcon{display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#FF8B57;align-items:center;justify-content:center;}\r\n\t.icon-tubiaolunkuo-{font-size:36rpx;color: #FFFFFF;font-weight: 400;}\r\n\t.topMoney{padding:80rpx 24rpx 24rpx 24rpx;display: flex;justify-content:space-between;align-items: center;}\r\n\t.moneyText{color: #FF3C00;font-size:28rpx;font-weight: bold;}\r\n\t.moneyNumber text:nth-child(2){font-size:62rpx;font-weight: bold;position: relative;left: -6rpx;}\r\n\t.moneyNumber text:last-child{animation: dis 1.5s infinite;transition: 1s;width: 1px;height:56rpx;display: inline-block;background: #333333;position: relative;top:8rpx;}\r\n\t.topCoupon{display: flex;height: 90rpx;border-top:1px solid $dividing-ine;align-items:center;padding:0 24rpx;justify-content: space-between;}\r\n\t.couponLeft{font-size:24rpx;}\r\n\t.couponLeft text:first-child{margin-right:10rpx;display: inline-block;width:30rpx;height:30rpx;background: #f9690e;color: #FFFFFF;text-align: center;line-height:28rpx;border-radius:4rpx;}\r\n\t.couponRight{position:relative;left:8rpx;}\r\n\t.couponRight text:first-child{font-size:32rpx;color:#f9690e;}\r\n\t.couponRight text:nth-child(2){font-size: 32rpx;color: #F9690E;font-weight:bold;}\r\n\t/*中间部分*/\r\n\t.middle{padding:50rpx 24rpx 0 24rpx;font-size: 24rpx;color: #999999;line-height: 40rpx;}\t\r\n\t/*下部分*/\r\n\t.bottom{position:absolute;bottom:0;height:40%;background: #FFFFFF;width:100%;display: flex;border-top:1px solid #dddddd;font-size:50rpx;}\r\n\t.botLeft{width:75%;}\r\n\t.botLeft view{height:25%;display: flex;border-bottom:1px solid #dddddd;}\r\n\t.botLeft view:last-child{border:none;}\r\n\t.botLeft view:last-child text:first-child{width:66.7%;}\r\n\t.botLeft view:last-child text:last-child{width: 33.3%;}\r\n\t.botLeft view text{flex:1;height:100%;display:inline-flex;align-items: center;justify-content: center;border-right:1px solid #dddddd;}\r\n\t.botLeft view:last-child text{flex:initial;}\r\n\t.botRight{width:25%;}\r\n\t.rightOne{height: 25%;display: flex;align-items:center;justify-content: center;border-bottom:1px solid #dddddd;}\r\n\t.rightTwo{height: 75%;border:none;color: #FFFFFF;display: flex;flex-direction:column;align-items:center;justify-content: center;}\t\r\n\t@keyframes dis{\r\n\t from{\r\n\t opacity: 0;\r\n\t }\r\n\t to{\r\n\t opacity: 1;\r\n\t }\r\n\t}\n</style>\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ourPayment.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373888599\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?46ff","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?8d9b","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?5fa0","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?059e","uni-app:///uview-ui/components/u-icon/u-icon.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?b1e0","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?9620"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA;AAAA;AAAA;AAAA;AAA8nB,CAAgB,0nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBlpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AACA,gBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,4BADA;AAEA,wBAFA,EAZA;;AAgBA;AACA;AACA,mBADA;AAEA,oBAFA,EAjBA;;AAqBA;AACA;AACA,4BADA;AAEA,iBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,iBAFA,EA3BA;;AA+BA;AACA;AACA,kBADA;AAEA,sBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,iBAFA,EArCA;;AAyCA;AACA;AACA,kBADA;AAEA,sBAFA,EA1CA;;AA8CA;AACA;AACA,4BADA;AAEA,mBAFA,EA/CA;;AAmDA;AACA;AACA,kBADA;AAEA,wBAFA,EApDA;;AAwDA;AACA;AACA,4BADA;AAEA,kBAFA,EAzDA;;AA6DA;AACA;AACA,4BADA;AAEA,kBAFA,EA9DA;;AAkEA;AACA;AACA,4BADA;AAEA,kBAFA,EAnEA;;AAuEA;AACA;AACA,4BADA;AAEA,kBAFA,EAxEA;;AA4EA;AACA;AACA,kBADA;AAEA,yBAFA,EA7EA;;AAiFA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAlFA;;AAwFA;AACA;AACA,4BADA;AAEA,iBAFA,EAzFA;;AA6FA;AACA;AACA,4BADA;AAEA,iBAFA,EA9FA;;AAkGA;AACA;AACA,4BADA;AAEA,gBAFA,EAnGA;;AAuGA;AACA;AACA,mBADA;AAEA,oBAFA,EAxGA;;AA4GA;AACA;AACA,kBADA;AAEA,wBAFA,EA7GA;;AAiHA;AACA;AACA,4BADA;AAEA,mBAFA,EAlHA,EAFA;;;AAyHA;AACA,eADA,yBACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;;;;AAIA;AACA,KApBA;AAqBA,aArBA,uBAqBA;AACA;AACA;AACA,iFADA;AAEA,iDAFA;AAGA;AACA,sCAJA;;AAMA;AACA;AACA;AACA,OAFA,MAEA;;AAEA;AACA,KAnCA;AAoCA;AACA,SArCA,mBAqCA;AACA;AACA,KAvCA;AAwCA,YAxCA,sBAwCA;AACA;AACA;AACA;AACA;AACA;AACA,KA9CA;AA+CA,oBA/CA,8BA+CA;AACA;AACA;AACA,iFADA;AAEA,iDAFA;AAGA;AACA,sCAJA;AAKA,iCALA;;AAOA;AACA;AACA;AACA,KA3DA;AA4DA,oBA5DA,8BA4DA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA,KA9EA,EAzHA;;AAyMA;AACA,SADA,mBACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA,KANA,EAzMA,E;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAgrC,CAAgB,omCAAG,EAAC,C;;;;;;;;;;;ACApsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-icon/u-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-icon.vue?vue&type=template&id=6e20bb40&scoped=true&\"\nvar renderjs\nimport script from \"./u-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e20bb40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-icon/u-icon.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=template&id=6e20bb40&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.customStyle])\n\n var s1 = _vm.isImg ? _vm.__get_style([_vm.imgStyle]) : null\n var s2 = !_vm.isImg ? _vm.__get_style([_vm.iconStyle]) : null\n var s3 =\n !_vm.isImg && _vm.showDecimalIcon\n ? _vm.__get_style([_vm.decimalIconStyle])\n : null\n var g0 = _vm.label !== \"\" ? _vm.$u.addUnit(_vm.labelSize) : null\n var g1 =\n _vm.label !== \"\" && _vm.labelPos == \"right\"\n ? _vm.$u.addUnit(_vm.marginLeft)\n : null\n var g2 =\n _vm.label !== \"\" && _vm.labelPos == \"bottom\"\n ? _vm.$u.addUnit(_vm.marginTop)\n : null\n var g3 =\n _vm.label !== \"\" && _vm.labelPos == \"left\"\n ? _vm.$u.addUnit(_vm.marginRight)\n : null\n var g4 =\n _vm.label !== \"\" && _vm.labelPos == \"top\"\n ? _vm.$u.addUnit(_vm.marginBottom)\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :style=\"[customStyle]\" class=\"u-icon\" @tap=\"click\" :class=\"['u-icon--' + labelPos]\">\r\n\t\t<image class=\"u-icon__img\" v-if=\"isImg\" :src=\"name\" :mode=\"imgMode\" :style=\"[imgStyle]\"></image>\r\n\t\t<text v-else class=\"u-icon__icon\" :class=\"customClass\" :style=\"[iconStyle]\" :hover-class=\"hoverClass\"\r\n\t\t\t @touchstart=\"touchstart\">\r\n\t\t\t<text v-if=\"showDecimalIcon\" :style=\"[decimalIconStyle]\" :class=\"decimalIconClass\" :hover-class=\"hoverClass\"\r\n\t\t\t\t class=\"u-icon__decimal\">\r\n\t\t\t</text>\r\n\t\t</text>\r\n\t\t<!-- 这里进行空字符串判断,如果仅仅是v-if=\"label\",可能会出现传递0的时候,结果也无法显示 -->\r\n\t\t<text v-if=\"label !== ''\" class=\"u-icon__label\" :style=\"{\r\n\t\t\tcolor: labelColor,\r\n\t\t\tfontSize: $u.addUnit(labelSize),\r\n\t\t\tmarginLeft: labelPos == 'right' ? $u.addUnit(marginLeft) : 0,\r\n\t\t\tmarginTop: labelPos == 'bottom' ? $u.addUnit(marginTop) : 0,\r\n\t\t\tmarginRight: labelPos == 'left' ? $u.addUnit(marginRight) : 0,\r\n\t\t\tmarginBottom: labelPos == 'top' ? $u.addUnit(marginBottom) : 0,\r\n\t\t}\">{{ label }}\r\n\t\t</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * icon 图标\r\n * @description 基于字体的图标集,包含了大多数常见场景的图标。\r\n * @tutorial https://www.uviewui.com/components/icon.html\r\n * @property {String} name 图标名称,见示例图标集\r\n * @property {String} color 图标颜色(默认inherit)\r\n * @property {String | Number} size 图标字体大小,单位rpx(默认32)\r\n * @property {String | Number} label-size label字体大小,单位rpx(默认28)\r\n * @property {String} label 图标右侧的label文字(默认28)\r\n * @property {String} label-pos label文字相对于图标的位置,只能right或bottom(默认right)\r\n * @property {String} label-color label字体颜色(默认#606266)\r\n * @property {Object} custom-style icon的样式,对象形式\r\n * @property {String} custom-prefix 自定义字体图标库时,需要写上此值\r\n * @property {String | Number} margin-left label在右侧时与图标的距离,单位rpx(默认6)\r\n * @property {String | Number} margin-top label在下方时与图标的距离,单位rpx(默认6)\r\n * @property {String | Number} margin-bottom label在上方时与图标的距离,单位rpx(默认6)\r\n * @property {String | Number} margin-right label在左侧时与图标的距离,单位rpx(默认6)\r\n * @property {String} label-pos label相对于图标的位置,只能right或bottom(默认right)\r\n * @property {String} index 一个用于区分多个图标的值,点击图标时通过click事件传出\r\n * @property {String} hover-class 图标按下去的样式类,用法同uni的view组件的hover-class参数,详情见官网\r\n * @property {String} width 显示图片小图标时的宽度\r\n * @property {String} height 显示图片小图标时的高度\r\n * @property {String} top 图标在垂直方向上的定位\r\n * @property {String} top 图标在垂直方向上的定位\r\n * @property {String} top 图标在垂直方向上的定位\r\n * @property {Boolean} show-decimal-icon 是否为DecimalIcon\r\n * @property {String} inactive-color 背景颜色,可接受主题色,仅Decimal时有效\r\n * @property {String | Number} percent 显示的百分比,仅Decimal时有效\r\n * @event {Function} click 点击图标时触发\r\n * @example <u-icon name=\"photo\" color=\"#2979ff\" size=\"28\"></u-icon>\r\n */\r\nexport default {\r\n\tname: 'u-icon',\r\n\tprops: {\r\n\t\t// 图标类名\r\n\t\tname: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 图标颜色,可接受主题色\r\n\t\tcolor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 字体大小,单位rpx\r\n\t\tsize: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 'inherit'\r\n\t\t},\r\n\t\t// 是否显示粗体\r\n\t\tbold: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 点击图标的时候传递事件出去的index(用于区分点击了哪一个)\r\n\t\tindex: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 触摸图标时的类名\r\n\t\thoverClass: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 自定义扩展前缀,方便用户扩展自己的图标库\r\n\t\tcustomPrefix: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'uicon'\r\n\t\t},\r\n\t\t// 图标右边或者下面的文字\r\n\t\tlabel: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// label的位置,只能右边或者下边\r\n\t\tlabelPos: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'right'\r\n\t\t},\r\n\t\t// label的大小\r\n\t\tlabelSize: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '28'\r\n\t\t},\r\n\t\t// label的颜色\r\n\t\tlabelColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#606266'\r\n\t\t},\r\n\t\t// label与图标的距离(横向排列)\r\n\t\tmarginLeft: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// label与图标的距离(竖向排列)\r\n\t\tmarginTop: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// label与图标的距离(竖向排列)\r\n\t\tmarginRight: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// label与图标的距离(竖向排列)\r\n\t\tmarginBottom: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// 图片的mode\r\n\t\timgMode: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'widthFix'\r\n\t\t},\r\n\t\t// 自定义样式\r\n\t\tcustomStyle: {\r\n\t\t\ttype: Object,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn {}\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 用于显示图片小图标时,图片的宽度\r\n\t\twidth: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 用于显示图片小图标时,图片的高度\r\n\t\theight: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 用于解决某些情况下,让图标垂直居中的用途\r\n\t\ttop: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\t// 是否为DecimalIcon\r\n\t\tshowDecimalIcon: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 背景颜色,可接受主题色,仅Decimal时有效\r\n\t\tinactiveColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#ececec'\r\n\t\t},\r\n\t\t// 显示的百分比,仅Decimal时有效\r\n\t\tpercent: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: '50'\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tcustomClass() {\r\n\t\t\tlet classes = []\r\n\t\t\tclasses.push(this.customPrefix + '-' + this.name)\r\n\t\t\t// uView的自定义图标类名为u-iconfont\r\n\t\t\tif (this.customPrefix == 'uicon') {\r\n\t\t\t\tclasses.push('u-iconfont')\r\n\t\t\t} else {\r\n\t\t\t\tclasses.push(this.customPrefix)\r\n\t\t\t}\r\n\t\t\t// 主题色,通过类配置\r\n\t\t\tif (this.showDecimalIcon && this.inactiveColor && this.$u.config.type.includes(this.inactiveColor)) {\r\n\t\t\t\tclasses.push('u-icon__icon--' + this.inactiveColor)\r\n\t\t\t} else if (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\r\n\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\r\n\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\r\n\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\r\n\t\t\tclasses = classes.join(' ')\r\n\t\t\t//#endif\r\n\t\t\treturn classes\r\n\t\t},\r\n\t\ticonStyle() {\r\n\t\t\tlet style = {}\r\n\t\t\tstyle = {\r\n\t\t\t\tfontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size),\r\n\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\r\n\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\r\n\t\t\t\ttop: this.$u.addUnit(this.top)\r\n\t\t\t}\r\n\t\t\t// 非主题色值时,才当作颜色值\r\n\t\t\tif (this.showDecimalIcon && this.inactiveColor && !this.$u.config.type.includes(this.inactiveColor)) {\r\n\t\t\t\tstyle.color = this.inactiveColor\r\n\t\t\t} else if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color\r\n\r\n\t\t\treturn style\r\n\t\t},\r\n\t\t// 判断传入的name属性,是否图片路径,只要带有\"/\"均认为是图片形式\r\n\t\tisImg() {\r\n\t\t\treturn this.name.indexOf('/') !== -1\r\n\t\t},\r\n\t\timgStyle() {\r\n\t\t\tlet style = {}\r\n\t\t\t// 如果设置width和height属性,则优先使用,否则使用size属性\r\n\t\t\tstyle.width = this.width ? this.$u.addUnit(this.width) : this.$u.addUnit(this.size)\r\n\t\t\tstyle.height = this.height ? this.$u.addUnit(this.height) : this.$u.addUnit(this.size)\r\n\t\t\treturn style\r\n\t\t},\r\n\t\tdecimalIconStyle() {\r\n\t\t\tlet style = {}\r\n\t\t\tstyle = {\r\n\t\t\t\tfontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size),\r\n\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\r\n\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\r\n\t\t\t\ttop: this.$u.addUnit(this.top),\r\n\t\t\t\twidth: this.percent + '%'\r\n\t\t\t}\r\n\t\t\t// 非主题色值时,才当作颜色值\r\n\t\t\tif (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color\r\n\t\t\treturn style\r\n\t\t},\r\n\t\tdecimalIconClass() {\r\n\t\t\tlet classes = []\r\n\t\t\tclasses.push(this.customPrefix + '-' + this.name)\r\n\t\t\t// uView的自定义图标类名为u-iconfont\r\n\t\t\tif (this.customPrefix == 'uicon') {\r\n\t\t\t\tclasses.push('u-iconfont')\r\n\t\t\t} else {\r\n\t\t\t\tclasses.push(this.customPrefix)\r\n\t\t\t}\r\n\t\t\t// 主题色,通过类配置\r\n\t\t\tif (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\r\n\t\t\telse classes.push('u-icon__icon--primary')\r\n\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\r\n\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\r\n\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\r\n\t\t\tclasses = classes.join(' ')\r\n\t\t\t//#endif\r\n\t\t\treturn classes\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\tclick() {\r\n\t\t\tthis.$emit('click', this.index)\r\n\t\t},\r\n\t\ttouchstart() {\r\n\t\t\tthis.$emit('touchstart', this.index)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"../../libs/css/style.components.scss\";\r\n@import '../../iconfont.css';\r\n\r\n.u-icon {\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\r\n\t&--left {\r\n\t\tflex-direction: row-reverse;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t&--right {\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t&--top {\r\n\t\tflex-direction: column-reverse;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t&--bottom {\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t&__icon {\r\n\t\tposition: relative;\r\n\r\n\t\t&--primary {\r\n\t\t\tcolor: $u-type-primary;\r\n\t\t}\r\n\r\n\t\t&--success {\r\n\t\t\tcolor: $u-type-success;\r\n\t\t}\r\n\r\n\t\t&--error {\r\n\t\t\tcolor: $u-type-error;\r\n\t\t}\r\n\r\n\t\t&--warning {\r\n\t\t\tcolor: $u-type-warning;\r\n\t\t}\r\n\r\n\t\t&--info {\r\n\t\t\tcolor: $u-type-info;\r\n\t\t}\r\n\t}\r\n\r\n\t&__decimal {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tdisplay: inline-block;\r\n\t\toverflow: hidden;\r\n\t}\r\n\r\n\t&__img {\r\n\t\theight: auto;\r\n\t\twill-change: transform;\r\n\t}\r\n\r\n\t&__label {\r\n\t\tline-height: 1;\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036355193\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?46ff","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?8d9b","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?5fa0","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?059e","uni-app:///uview-ui/components/u-icon/u-icon.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?b1e0","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?9620"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA;AAAA;AAAA;AAAA;AAA8nB,CAAgB,0nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBlpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AACA,gBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,4BADA;AAEA,wBAFA,EAZA;;AAgBA;AACA;AACA,mBADA;AAEA,oBAFA,EAjBA;;AAqBA;AACA;AACA,4BADA;AAEA,iBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,iBAFA,EA3BA;;AA+BA;AACA;AACA,kBADA;AAEA,sBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,iBAFA,EArCA;;AAyCA;AACA;AACA,kBADA;AAEA,sBAFA,EA1CA;;AA8CA;AACA;AACA,4BADA;AAEA,mBAFA,EA/CA;;AAmDA;AACA;AACA,kBADA;AAEA,wBAFA,EApDA;;AAwDA;AACA;AACA,4BADA;AAEA,kBAFA,EAzDA;;AA6DA;AACA;AACA,4BADA;AAEA,kBAFA,EA9DA;;AAkEA;AACA;AACA,4BADA;AAEA,kBAFA,EAnEA;;AAuEA;AACA;AACA,4BADA;AAEA,kBAFA,EAxEA;;AA4EA;AACA;AACA,kBADA;AAEA,yBAFA,EA7EA;;AAiFA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAlFA;;AAwFA;AACA;AACA,4BADA;AAEA,iBAFA,EAzFA;;AA6FA;AACA;AACA,4BADA;AAEA,iBAFA,EA9FA;;AAkGA;AACA;AACA,4BADA;AAEA,gBAFA,EAnGA;;AAuGA;AACA;AACA,mBADA;AAEA,oBAFA,EAxGA;;AA4GA;AACA;AACA,kBADA;AAEA,wBAFA,EA7GA;;AAiHA;AACA;AACA,4BADA;AAEA,mBAFA,EAlHA,EAFA;;;AAyHA;AACA,eADA,yBACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;;;;AAIA;AACA,KApBA;AAqBA,aArBA,uBAqBA;AACA;AACA;AACA,iFADA;AAEA,iDAFA;AAGA;AACA,sCAJA;;AAMA;AACA;AACA;AACA,OAFA,MAEA;;AAEA;AACA,KAnCA;AAoCA;AACA,SArCA,mBAqCA;AACA;AACA,KAvCA;AAwCA,YAxCA,sBAwCA;AACA;AACA;AACA;AACA;AACA;AACA,KA9CA;AA+CA,oBA/CA,8BA+CA;AACA;AACA;AACA,iFADA;AAEA,iDAFA;AAGA;AACA,sCAJA;AAKA,iCALA;;AAOA;AACA;AACA;AACA,KA3DA;AA4DA,oBA5DA,8BA4DA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA,KA9EA,EAzHA;;AAyMA;AACA,SADA,mBACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA,KANA,EAzMA,E;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAgrC,CAAgB,omCAAG,EAAC,C;;;;;;;;;;;ACApsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-icon/u-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-icon.vue?vue&type=template&id=6e20bb40&scoped=true&\"\nvar renderjs\nimport script from \"./u-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e20bb40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-icon/u-icon.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=template&id=6e20bb40&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.customStyle])\n\n var s1 = _vm.isImg ? _vm.__get_style([_vm.imgStyle]) : null\n var s2 = !_vm.isImg ? _vm.__get_style([_vm.iconStyle]) : null\n var s3 =\n !_vm.isImg && _vm.showDecimalIcon\n ? _vm.__get_style([_vm.decimalIconStyle])\n : null\n var g0 = _vm.label !== \"\" ? _vm.$u.addUnit(_vm.labelSize) : null\n var g1 =\n _vm.label !== \"\" && _vm.labelPos == \"right\"\n ? _vm.$u.addUnit(_vm.marginLeft)\n : null\n var g2 =\n _vm.label !== \"\" && _vm.labelPos == \"bottom\"\n ? _vm.$u.addUnit(_vm.marginTop)\n : null\n var g3 =\n _vm.label !== \"\" && _vm.labelPos == \"left\"\n ? _vm.$u.addUnit(_vm.marginRight)\n : null\n var g4 =\n _vm.label !== \"\" && _vm.labelPos == \"top\"\n ? _vm.$u.addUnit(_vm.marginBottom)\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :style=\"[customStyle]\" class=\"u-icon\" @tap=\"click\" :class=\"['u-icon--' + labelPos]\">\r\n\t\t<image class=\"u-icon__img\" v-if=\"isImg\" :src=\"name\" :mode=\"imgMode\" :style=\"[imgStyle]\"></image>\r\n\t\t<text v-else class=\"u-icon__icon\" :class=\"customClass\" :style=\"[iconStyle]\" :hover-class=\"hoverClass\"\r\n\t\t\t @touchstart=\"touchstart\">\r\n\t\t\t<text v-if=\"showDecimalIcon\" :style=\"[decimalIconStyle]\" :class=\"decimalIconClass\" :hover-class=\"hoverClass\"\r\n\t\t\t\t class=\"u-icon__decimal\">\r\n\t\t\t</text>\r\n\t\t</text>\r\n\t\t<!-- 这里进行空字符串判断,如果仅仅是v-if=\"label\",可能会出现传递0的时候,结果也无法显示 -->\r\n\t\t<text v-if=\"label !== ''\" class=\"u-icon__label\" :style=\"{\r\n\t\t\tcolor: labelColor,\r\n\t\t\tfontSize: $u.addUnit(labelSize),\r\n\t\t\tmarginLeft: labelPos == 'right' ? $u.addUnit(marginLeft) : 0,\r\n\t\t\tmarginTop: labelPos == 'bottom' ? $u.addUnit(marginTop) : 0,\r\n\t\t\tmarginRight: labelPos == 'left' ? $u.addUnit(marginRight) : 0,\r\n\t\t\tmarginBottom: labelPos == 'top' ? $u.addUnit(marginBottom) : 0,\r\n\t\t}\">{{ label }}\r\n\t\t</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * icon 图标\r\n * @description 基于字体的图标集,包含了大多数常见场景的图标。\r\n * @tutorial https://www.uviewui.com/components/icon.html\r\n * @property {String} name 图标名称,见示例图标集\r\n * @property {String} color 图标颜色(默认inherit)\r\n * @property {String | Number} size 图标字体大小,单位rpx(默认32)\r\n * @property {String | Number} label-size label字体大小,单位rpx(默认28)\r\n * @property {String} label 图标右侧的label文字(默认28)\r\n * @property {String} label-pos label文字相对于图标的位置,只能right或bottom(默认right)\r\n * @property {String} label-color label字体颜色(默认#606266)\r\n * @property {Object} custom-style icon的样式,对象形式\r\n * @property {String} custom-prefix 自定义字体图标库时,需要写上此值\r\n * @property {String | Number} margin-left label在右侧时与图标的距离,单位rpx(默认6)\r\n * @property {String | Number} margin-top label在下方时与图标的距离,单位rpx(默认6)\r\n * @property {String | Number} margin-bottom label在上方时与图标的距离,单位rpx(默认6)\r\n * @property {String | Number} margin-right label在左侧时与图标的距离,单位rpx(默认6)\r\n * @property {String} label-pos label相对于图标的位置,只能right或bottom(默认right)\r\n * @property {String} index 一个用于区分多个图标的值,点击图标时通过click事件传出\r\n * @property {String} hover-class 图标按下去的样式类,用法同uni的view组件的hover-class参数,详情见官网\r\n * @property {String} width 显示图片小图标时的宽度\r\n * @property {String} height 显示图片小图标时的高度\r\n * @property {String} top 图标在垂直方向上的定位\r\n * @property {String} top 图标在垂直方向上的定位\r\n * @property {String} top 图标在垂直方向上的定位\r\n * @property {Boolean} show-decimal-icon 是否为DecimalIcon\r\n * @property {String} inactive-color 背景颜色,可接受主题色,仅Decimal时有效\r\n * @property {String | Number} percent 显示的百分比,仅Decimal时有效\r\n * @event {Function} click 点击图标时触发\r\n * @example <u-icon name=\"photo\" color=\"#2979ff\" size=\"28\"></u-icon>\r\n */\r\nexport default {\r\n\tname: 'u-icon',\r\n\tprops: {\r\n\t\t// 图标类名\r\n\t\tname: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 图标颜色,可接受主题色\r\n\t\tcolor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 字体大小,单位rpx\r\n\t\tsize: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 'inherit'\r\n\t\t},\r\n\t\t// 是否显示粗体\r\n\t\tbold: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 点击图标的时候传递事件出去的index(用于区分点击了哪一个)\r\n\t\tindex: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 触摸图标时的类名\r\n\t\thoverClass: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 自定义扩展前缀,方便用户扩展自己的图标库\r\n\t\tcustomPrefix: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'uicon'\r\n\t\t},\r\n\t\t// 图标右边或者下面的文字\r\n\t\tlabel: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// label的位置,只能右边或者下边\r\n\t\tlabelPos: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'right'\r\n\t\t},\r\n\t\t// label的大小\r\n\t\tlabelSize: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '28'\r\n\t\t},\r\n\t\t// label的颜色\r\n\t\tlabelColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#606266'\r\n\t\t},\r\n\t\t// label与图标的距离(横向排列)\r\n\t\tmarginLeft: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// label与图标的距离(竖向排列)\r\n\t\tmarginTop: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// label与图标的距离(竖向排列)\r\n\t\tmarginRight: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// label与图标的距离(竖向排列)\r\n\t\tmarginBottom: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '6'\r\n\t\t},\r\n\t\t// 图片的mode\r\n\t\timgMode: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'widthFix'\r\n\t\t},\r\n\t\t// 自定义样式\r\n\t\tcustomStyle: {\r\n\t\t\ttype: Object,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn {}\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 用于显示图片小图标时,图片的宽度\r\n\t\twidth: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 用于显示图片小图标时,图片的高度\r\n\t\theight: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 用于解决某些情况下,让图标垂直居中的用途\r\n\t\ttop: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\t// 是否为DecimalIcon\r\n\t\tshowDecimalIcon: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 背景颜色,可接受主题色,仅Decimal时有效\r\n\t\tinactiveColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#ececec'\r\n\t\t},\r\n\t\t// 显示的百分比,仅Decimal时有效\r\n\t\tpercent: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: '50'\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tcustomClass() {\r\n\t\t\tlet classes = []\r\n\t\t\tclasses.push(this.customPrefix + '-' + this.name)\r\n\t\t\t// uView的自定义图标类名为u-iconfont\r\n\t\t\tif (this.customPrefix == 'uicon') {\r\n\t\t\t\tclasses.push('u-iconfont')\r\n\t\t\t} else {\r\n\t\t\t\tclasses.push(this.customPrefix)\r\n\t\t\t}\r\n\t\t\t// 主题色,通过类配置\r\n\t\t\tif (this.showDecimalIcon && this.inactiveColor && this.$u.config.type.includes(this.inactiveColor)) {\r\n\t\t\t\tclasses.push('u-icon__icon--' + this.inactiveColor)\r\n\t\t\t} else if (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\r\n\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\r\n\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\r\n\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\r\n\t\t\tclasses = classes.join(' ')\r\n\t\t\t//#endif\r\n\t\t\treturn classes\r\n\t\t},\r\n\t\ticonStyle() {\r\n\t\t\tlet style = {}\r\n\t\t\tstyle = {\r\n\t\t\t\tfontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size),\r\n\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\r\n\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\r\n\t\t\t\ttop: this.$u.addUnit(this.top)\r\n\t\t\t}\r\n\t\t\t// 非主题色值时,才当作颜色值\r\n\t\t\tif (this.showDecimalIcon && this.inactiveColor && !this.$u.config.type.includes(this.inactiveColor)) {\r\n\t\t\t\tstyle.color = this.inactiveColor\r\n\t\t\t} else if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color\r\n\r\n\t\t\treturn style\r\n\t\t},\r\n\t\t// 判断传入的name属性,是否图片路径,只要带有\"/\"均认为是图片形式\r\n\t\tisImg() {\r\n\t\t\treturn this.name.indexOf('/') !== -1\r\n\t\t},\r\n\t\timgStyle() {\r\n\t\t\tlet style = {}\r\n\t\t\t// 如果设置width和height属性,则优先使用,否则使用size属性\r\n\t\t\tstyle.width = this.width ? this.$u.addUnit(this.width) : this.$u.addUnit(this.size)\r\n\t\t\tstyle.height = this.height ? this.$u.addUnit(this.height) : this.$u.addUnit(this.size)\r\n\t\t\treturn style\r\n\t\t},\r\n\t\tdecimalIconStyle() {\r\n\t\t\tlet style = {}\r\n\t\t\tstyle = {\r\n\t\t\t\tfontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size),\r\n\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\r\n\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\r\n\t\t\t\ttop: this.$u.addUnit(this.top),\r\n\t\t\t\twidth: this.percent + '%'\r\n\t\t\t}\r\n\t\t\t// 非主题色值时,才当作颜色值\r\n\t\t\tif (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color\r\n\t\t\treturn style\r\n\t\t},\r\n\t\tdecimalIconClass() {\r\n\t\t\tlet classes = []\r\n\t\t\tclasses.push(this.customPrefix + '-' + this.name)\r\n\t\t\t// uView的自定义图标类名为u-iconfont\r\n\t\t\tif (this.customPrefix == 'uicon') {\r\n\t\t\t\tclasses.push('u-iconfont')\r\n\t\t\t} else {\r\n\t\t\t\tclasses.push(this.customPrefix)\r\n\t\t\t}\r\n\t\t\t// 主题色,通过类配置\r\n\t\t\tif (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\r\n\t\t\telse classes.push('u-icon__icon--primary')\r\n\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\r\n\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\r\n\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\r\n\t\t\tclasses = classes.join(' ')\r\n\t\t\t//#endif\r\n\t\t\treturn classes\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\tclick() {\r\n\t\t\tthis.$emit('click', this.index)\r\n\t\t},\r\n\t\ttouchstart() {\r\n\t\t\tthis.$emit('touchstart', this.index)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"../../libs/css/style.components.scss\";\r\n@import '../../iconfont.css';\r\n\r\n.u-icon {\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\r\n\t&--left {\r\n\t\tflex-direction: row-reverse;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t&--right {\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t&--top {\r\n\t\tflex-direction: column-reverse;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t&--bottom {\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t&__icon {\r\n\t\tposition: relative;\r\n\r\n\t\t&--primary {\r\n\t\t\tcolor: $u-type-primary;\r\n\t\t}\r\n\r\n\t\t&--success {\r\n\t\t\tcolor: $u-type-success;\r\n\t\t}\r\n\r\n\t\t&--error {\r\n\t\t\tcolor: $u-type-error;\r\n\t\t}\r\n\r\n\t\t&--warning {\r\n\t\t\tcolor: $u-type-warning;\r\n\t\t}\r\n\r\n\t\t&--info {\r\n\t\t\tcolor: $u-type-info;\r\n\t\t}\r\n\t}\r\n\r\n\t&__decimal {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tdisplay: inline-block;\r\n\t\toverflow: hidden;\r\n\t}\r\n\r\n\t&__img {\r\n\t\theight: auto;\r\n\t\twill-change: transform;\r\n\t}\r\n\r\n\t&__label {\r\n\t\tline-height: 1;\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373888800\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?e78f","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?1af0","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?a973","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?79d5","uni-app:///uview-ui/components/u-mask/u-mask.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?93c4","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?b43b"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1BA;AAAA;AAAA;AAAA;AAA8nB,CAAgB,0nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUlpB;;;;;;;;;;;;;AAaA;AACA,gBADA;AAEA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAZA;;AAkBA;AACA;AACA,mBADA;AAEA,mBAFA,EAnBA;;AAuBA;AACA;AACA,4BADA;AAEA,kBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA,EAFA;;;AAoCA,MApCA,kBAoCA;AACA;AACA;AACA,qBADA,EADA;;AAIA,8BAJA;;AAMA,GA3CA;AA4CA;AACA,QADA,gBACA,CADA,EACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA,KATA,EA5CA;;AAuDA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WADA;AAEA,sBAFA;;AAIA;AACA,KAbA,EAvDA;;AAsEA;AACA,SADA,mBACA;AACA;AACA;AACA,KAJA,EAtEA,E;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAgrC,CAAgB,omCAAG,EAAC,C;;;;;;;;;;;ACApsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-mask/u-mask.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-mask.vue?vue&type=template&id=4bfa3b00&scoped=true&\"\nvar renderjs\nimport script from \"./u-mask.vue?vue&type=script&lang=js&\"\nexport * from \"./u-mask.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4bfa3b00\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-mask/u-mask.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=template&id=4bfa3b00&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.maskStyle, _vm.zoomStyle])\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n $event.stopPropagation()\n $event.preventDefault()\n return (function() {})($event)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-mask\" hover-stop-propagation :style=\"[maskStyle, zoomStyle]\" @tap=\"click\" @touchmove.stop.prevent=\"() => {}\" :class=\"{\r\n\t\t'u-mask-zoom': zoom,\r\n\t\t'u-mask-show': show\r\n\t}\">\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * mask 遮罩\r\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\r\n\t * @tutorial https://www.uviewui.com/components/mask.html\r\n\t * @property {Boolean} show 是否显示遮罩(默认false)\r\n\t * @property {String Number} z-index z-index 层级(默认1070)\r\n\t * @property {Object} custom-style 自定义样式对象,见上方说明\r\n\t * @property {String Number} duration 动画时长,单位毫秒(默认300)\r\n\t * @property {Boolean} zoom 是否使用scale对遮罩进行缩放(默认true)\r\n\t * @property {Boolean} mask-click-able 遮罩是否可点击,为false时点击不会发送click事件(默认true)\r\n\t * @event {Function} click mask-click-able为true时,点击遮罩发送此事件\r\n\t * @example <u-mask :show=\"show\" @click=\"show = false\"></u-mask>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-mask\",\r\n\t\tprops: {\r\n\t\t\t// 是否显示遮罩\r\n\t\t\tshow: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 层级z-index\r\n\t\t\tzIndex: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 用户自定义样式\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 遮罩的动画样式, 是否使用使用zoom进行scale进行缩放\r\n\t\t\tzoom: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t// 遮罩的过渡时间,单位为ms\r\n\t\t\tduration: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 300\r\n\t\t\t},\r\n\t\t\t// 是否可以通过点击遮罩进行关闭\r\n\t\t\tmaskClickAble: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tzoomStyle: {\r\n\t\t\t\t\ttransform: ''\r\n\t\t\t\t},\r\n\t\t\t\tscale: 'scale(1.2, 1.2)'\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n) {\r\n\t\t\t\tif(n && this.zoom) {\r\n\t\t\t\t\t// 当展示遮罩的时候,设置scale为1,达到缩小(原来为1.2)的效果\r\n\t\t\t\t\tthis.zoomStyle.transform = 'scale(1, 1)';\r\n\t\t\t\t} else if(!n && this.zoom) {\r\n\t\t\t\t\t// 当隐藏遮罩的时候,设置scale为1.2,达到放大(因为显示遮罩时已重置为1)的效果\r\n\t\t\t\t\tthis.zoomStyle.transform = this.scale;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tmaskStyle() {\r\n\t\t\t\tlet style = {};\r\n\t\t\t\tstyle.backgroundColor = \"rgba(0, 0, 0, 0.6)\";\r\n\t\t\t\tif(this.show) style.zIndex = this.zIndex ? this.zIndex : this.$u.zIndex.mask;\r\n\t\t\t\telse style.zIndex = -1;\r\n\t\t\t\tstyle.transition = `all ${this.duration / 1000}s ease-in-out`;\r\n\t\t\t\t// 判断用户传递的对象是否为空,不为空就进行合并\r\n\t\t\t\tif (Object.keys(this.customStyle).length) style = { \r\n\t\t\t\t\t...style,\r\n\t\t\t\t\t...this.customStyle\r\n\t\t\t\t};\r\n\t\t\t\treturn style;\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclick() {\r\n\t\t\t\tif (!this.maskClickAble) return;\r\n\t\t\t\tthis.$emit('click');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/style.components.scss\";\r\n\t\r\n\t.u-mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tright: 0;\r\n\t\tbottom: 0;\r\n\t\topacity: 0;\r\n\t\ttransition: transform 0.3s;\r\n\t}\r\n\r\n\t.u-mask-show {\r\n\t\topacity: 1;\r\n\t}\r\n\t\r\n\t.u-mask-zoom {\r\n\t\ttransform: scale(1.2, 1.2);\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036355029\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?e78f","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?1af0","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?a973","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?79d5","uni-app:///uview-ui/components/u-mask/u-mask.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?93c4","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?b43b"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1BA;AAAA;AAAA;AAAA;AAA8nB,CAAgB,0nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUlpB;;;;;;;;;;;;;AAaA;AACA,gBADA;AAEA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAZA;;AAkBA;AACA;AACA,mBADA;AAEA,mBAFA,EAnBA;;AAuBA;AACA;AACA,4BADA;AAEA,kBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA,EAFA;;;AAoCA,MApCA,kBAoCA;AACA;AACA;AACA,qBADA,EADA;;AAIA,8BAJA;;AAMA,GA3CA;AA4CA;AACA,QADA,gBACA,CADA,EACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA,KATA,EA5CA;;AAuDA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WADA;AAEA,sBAFA;;AAIA;AACA,KAbA,EAvDA;;AAsEA;AACA,SADA,mBACA;AACA;AACA;AACA,KAJA,EAtEA,E;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAgrC,CAAgB,omCAAG,EAAC,C;;;;;;;;;;;ACApsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-mask/u-mask.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-mask.vue?vue&type=template&id=4bfa3b00&scoped=true&\"\nvar renderjs\nimport script from \"./u-mask.vue?vue&type=script&lang=js&\"\nexport * from \"./u-mask.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4bfa3b00\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-mask/u-mask.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=template&id=4bfa3b00&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.maskStyle, _vm.zoomStyle])\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n $event.stopPropagation()\n $event.preventDefault()\n return (function() {})($event)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-mask\" hover-stop-propagation :style=\"[maskStyle, zoomStyle]\" @tap=\"click\" @touchmove.stop.prevent=\"() => {}\" :class=\"{\r\n\t\t'u-mask-zoom': zoom,\r\n\t\t'u-mask-show': show\r\n\t}\">\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * mask 遮罩\r\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\r\n\t * @tutorial https://www.uviewui.com/components/mask.html\r\n\t * @property {Boolean} show 是否显示遮罩(默认false)\r\n\t * @property {String Number} z-index z-index 层级(默认1070)\r\n\t * @property {Object} custom-style 自定义样式对象,见上方说明\r\n\t * @property {String Number} duration 动画时长,单位毫秒(默认300)\r\n\t * @property {Boolean} zoom 是否使用scale对遮罩进行缩放(默认true)\r\n\t * @property {Boolean} mask-click-able 遮罩是否可点击,为false时点击不会发送click事件(默认true)\r\n\t * @event {Function} click mask-click-able为true时,点击遮罩发送此事件\r\n\t * @example <u-mask :show=\"show\" @click=\"show = false\"></u-mask>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-mask\",\r\n\t\tprops: {\r\n\t\t\t// 是否显示遮罩\r\n\t\t\tshow: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 层级z-index\r\n\t\t\tzIndex: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 用户自定义样式\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 遮罩的动画样式, 是否使用使用zoom进行scale进行缩放\r\n\t\t\tzoom: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t// 遮罩的过渡时间,单位为ms\r\n\t\t\tduration: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 300\r\n\t\t\t},\r\n\t\t\t// 是否可以通过点击遮罩进行关闭\r\n\t\t\tmaskClickAble: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tzoomStyle: {\r\n\t\t\t\t\ttransform: ''\r\n\t\t\t\t},\r\n\t\t\t\tscale: 'scale(1.2, 1.2)'\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n) {\r\n\t\t\t\tif(n && this.zoom) {\r\n\t\t\t\t\t// 当展示遮罩的时候,设置scale为1,达到缩小(原来为1.2)的效果\r\n\t\t\t\t\tthis.zoomStyle.transform = 'scale(1, 1)';\r\n\t\t\t\t} else if(!n && this.zoom) {\r\n\t\t\t\t\t// 当隐藏遮罩的时候,设置scale为1.2,达到放大(因为显示遮罩时已重置为1)的效果\r\n\t\t\t\t\tthis.zoomStyle.transform = this.scale;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tmaskStyle() {\r\n\t\t\t\tlet style = {};\r\n\t\t\t\tstyle.backgroundColor = \"rgba(0, 0, 0, 0.6)\";\r\n\t\t\t\tif(this.show) style.zIndex = this.zIndex ? this.zIndex : this.$u.zIndex.mask;\r\n\t\t\t\telse style.zIndex = -1;\r\n\t\t\t\tstyle.transition = `all ${this.duration / 1000}s ease-in-out`;\r\n\t\t\t\t// 判断用户传递的对象是否为空,不为空就进行合并\r\n\t\t\t\tif (Object.keys(this.customStyle).length) style = { \r\n\t\t\t\t\t...style,\r\n\t\t\t\t\t...this.customStyle\r\n\t\t\t\t};\r\n\t\t\t\treturn style;\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclick() {\r\n\t\t\t\tif (!this.maskClickAble) return;\r\n\t\t\t\tthis.$emit('click');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/style.components.scss\";\r\n\t\r\n\t.u-mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tright: 0;\r\n\t\tbottom: 0;\r\n\t\topacity: 0;\r\n\t\ttransition: transform 0.3s;\r\n\t}\r\n\r\n\t.u-mask-show {\r\n\t\topacity: 1;\r\n\t}\r\n\t\r\n\t.u-mask-zoom {\r\n\t\ttransform: scale(1.2, 1.2);\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373888659\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?a681","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?6f60","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?094c","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?c4d6","uni-app:///uview-ui/components/u-popup/u-popup.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?fbf1","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?49e0"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,2nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDnpB;;;;;;;;;;;;;;;;;;;;;;;AAuBA;AACA,iBADA;AAEA;AACA;;;AAGA;AACA,mBADA;AAEA,oBAFA,EAJA;;AAQA;;;AAGA;AACA,kBADA;AAEA,qBAFA,EAXA;;AAeA;;;AAGA;AACA,mBADA;AAEA,mBAFA,EAlBA;;AAsBA;AACA;AACA;AACA,4BADA;AAEA,qBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA;;AAiCA;AACA;AACA,mBADA;AAEA,oBAFA,EAlCA;;AAsCA;AACA;AACA,mBADA;AAEA,mBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA5CA;;AAkDA;AACA,mBADA;AAEA,oBAFA,EAlDA;;AAsDA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAxDA;;AA4DA;AACA;AACA,4BADA;AAEA,gBAFA,EA7DA;;AAiEA;AACA,4BADA;AAEA,iBAFA,EAjEA;;AAqEA;AACA;AACA,mBADA;AAEA,oBAFA,EAtEA;;AA0EA;AACA;AACA,kBADA;AAEA,sBAFA,EA3EA;;AA+EA;AACA;AACA,kBADA;AAEA,0BAFA,EAhFA;;AAoFA;AACA;AACA,kBADA;AAEA,wBAFA,EArFA;;AAyFA;AACA;AACA,4BADA;AAEA,mBAFA,EA1FA;;AA8FA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAhGA;;AAoGA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAtGA;;AA0GA;AACA;AACA,4BADA;AAEA,gBAFA,EA3GA;;AA+GA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAhHA;;AAsHA;AACA;AACA,4BADA;AAEA,kBAFA,EAvHA,EAFA;;;AA8HA,MA9HA,kBA8HA;AACA;AACA,wBADA;AAEA,uBAFA;AAGA,iBAHA;AAIA,2BAJA,CAIA;AAJA;AAMA,GArIA;AAsIA;AACA;AACA,SAFA,mBAEA;AACA;AACA;AACA;AACA;AACA,4FADA;AAEA,wBAFA;AAGA,+FAHA;;AAKA,OANA,MAMA;AACA;AACA,uBADA;AAEA,+FAFA;AAGA,8FAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAbA;;AAeA;AACA;AACA;AACA;AACA;AACA,KAzCA;AA0CA;AACA,eA3CA,yBA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAxDA;AAyDA;AACA,WA1DA,qBA0DA;AACA;AACA,KA5DA,EAtIA;;AAoMA;AACA,SADA,iBACA,GADA,EACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KARA,EApMA;;AA8MA,SA9MA,qBA8MA;AACA;AACA;AACA,GAjNA;AAkNA;AACA;AACA,gBAFA,wBAEA,GAFA,EAEA;AACA;AACA;AACA,KALA;AAMA;AACA,aAPA,uBAOA;AACA;AACA,KATA;AAUA,SAVA,mBAUA;AACA;AACA;AACA;AACA;AACA,KAfA;AAgBA;AACA;AACA,mBAlBA,2BAkBA,IAlBA,EAkBA;AACA;AACA;AACA,KArBA;AAsBA,QAtBA,kBAsBA;AACA;AACA,KAxBA;AAyBA;AACA;AACA,UA3BA,kBA2BA,MA3BA,EA2BA,MA3BA,EA2BA,MA3BA,EA2BA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAHA,EAGA,EAHA;;;;;;;;AAWA,OAbA,MAaA;AACA;AACA;AACA;AACA,SAHA,EAGA,aAHA;AAIA;AACA,KApDA,EAlNA,E;;;;;;;;;;;;ACvEA;AAAA;AAAA;AAAA;AAAirC,CAAgB,qmCAAG,EAAC,C;;;;;;;;;;;ACArsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-popup/u-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-popup.vue?vue&type=template&id=17becaea&scoped=true&\"\nvar renderjs\nimport script from \"./u-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./u-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17becaea\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-popup/u-popup.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=template&id=17becaea&scoped=true&\"","var components\ntry {\n components = {\n uMask: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-mask/u-mask\" */ \"@/uview-ui/components/u-mask/u-mask.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.visibleSync\n ? _vm.__get_style([\n _vm.customStyle,\n {\n zIndex: _vm.uZindex - 1\n }\n ])\n : null\n var s1 = _vm.visibleSync ? _vm.__get_style([_vm.style]) : null\n var s2 =\n _vm.visibleSync && _vm.mode == \"center\"\n ? _vm.__get_style([_vm.centerStyle])\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view v-if=\"visibleSync\" :style=\"[customStyle, {\r\n\t\tzIndex: uZindex - 1\r\n\t}]\" class=\"u-drawer\" hover-stop-propagation>\r\n\t\t<u-mask :duration=\"duration\" :custom-style=\"maskCustomStyle\" :maskClickAble=\"maskCloseAble\" :z-index=\"uZindex - 2\" :show=\"showDrawer && mask\" @click=\"maskClick\"></u-mask>\r\n\t\t<view\r\n\t\t\tclass=\"u-drawer-content\"\r\n\t\t\t@tap=\"modeCenterClose(mode)\"\r\n\t\t\t:class=\"[\r\n\t\t\t\tsafeAreaInsetBottom ? 'safe-area-inset-bottom' : '',\r\n\t\t\t\t'u-drawer-' + mode,\r\n\t\t\t\tshowDrawer ? 'u-drawer-content-visible' : '',\r\n\t\t\t\tzoom && mode == 'center' ? 'u-animation-zoom' : ''\r\n\t\t\t]\"\r\n\t\t\t@touchmove.stop.prevent\r\n\t\t\t@tap.stop.prevent\r\n\t\t\t:style=\"[style]\"\r\n\t\t>\r\n\t\t\t<view class=\"u-mode-center-box\" @tap.stop.prevent @touchmove.stop.prevent v-if=\"mode == 'center'\" :style=\"[centerStyle]\">\r\n\t\t\t\t<u-icon\r\n\t\t\t\t\t@click=\"close\"\r\n\t\t\t\t\tv-if=\"closeable\"\r\n\t\t\t\t\tclass=\"u-close\"\r\n\t\t\t\t\t:class=\"['u-close--' + closeIconPos]\"\r\n\t\t\t\t\t:name=\"closeIcon\"\r\n\t\t\t\t\t:color=\"closeIconColor\"\r\n\t\t\t\t\t:size=\"closeIconSize\"\r\n\t\t\t\t></u-icon>\r\n\t\t\t\t<scroll-view class=\"u-drawer__scroll-view\" scroll-y=\"true\">\r\n\t\t\t\t\t<slot />\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t\t<scroll-view class=\"u-drawer__scroll-view\" scroll-y=\"true\" v-else>\r\n\t\t\t\t<slot />\r\n\t\t\t</scroll-view>\r\n\t\t\t<view @tap=\"close\" class=\"u-close\" :class=\"['u-close--' + closeIconPos]\">\r\n\t\t\t\t<u-icon\r\n\t\t\t\t\tv-if=\"mode != 'center' && closeable\"\r\n\t\t\t\t\t:name=\"closeIcon\"\r\n\t\t\t\t\t:color=\"closeIconColor\"\r\n\t\t\t\t\t:size=\"closeIconSize\"\r\n\t\t\t\t></u-icon>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * popup 弹窗\r\n * @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义\r\n * @tutorial https://www.uviewui.com/components/popup.html\r\n * @property {String} mode 弹出方向(默认left)\r\n * @property {Boolean} mask 是否显示遮罩(默认true)\r\n * @property {Stringr | Number} length mode=left | 见官网说明(默认auto)\r\n * @property {Boolean} zoom 是否开启缩放动画,只在mode为center时有效(默认true)\r\n * @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)\r\n * @property {Boolean} mask-close-able 点击遮罩是否可以关闭弹出层(默认true)\r\n * @property {Object} custom-style 用户自定义样式\r\n * @property {Stringr | Number} negative-top 中部弹出时,往上偏移的值\r\n * @property {Numberr | String} border-radius 弹窗圆角值(默认0)\r\n * @property {Numberr | String} z-index 弹出内容的z-index值(默认1075)\r\n * @property {Boolean} closeable 是否显示关闭图标(默认false)\r\n * @property {String} close-icon 关闭图标的名称,只能uView的内置图标\r\n * @property {String} close-icon-pos 自定义关闭图标位置(默认top-right)\r\n * @property {String} close-icon-color 关闭图标的颜色(默认#909399)\r\n * @property {Number | String} close-icon-size 关闭图标的大小,单位rpx(默认30)\r\n * @event {Function} open 弹出层打开\r\n * @event {Function} close 弹出层收起\r\n * @example <u-popup v-model=\"show\"><view>出淤泥而不染,濯清涟而不妖</view></u-popup>\r\n */\r\nexport default {\r\n\tname: 'u-popup',\r\n\tprops: {\r\n\t\t/**\r\n\t\t * 显示状态\r\n\t\t */\r\n\t\tshow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t/**\r\n\t\t * 弹出方向,left|right|top|bottom|center\r\n\t\t */\r\n\t\tmode: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'left'\r\n\t\t},\r\n\t\t/**\r\n\t\t * 是否显示遮罩\r\n\t\t */\r\n\t\tmask: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 抽屉的宽度(mode=left|right),或者高度(mode=top|bottom),单位rpx,或者\"auto\"\r\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度\r\n\t\tlength: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 'auto'\r\n\t\t},\r\n\t\t// 是否开启缩放动画,只在mode=center时有效\r\n\t\tzoom: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距\r\n\t\tsafeAreaInsetBottom: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否可以通过点击遮罩进行关闭\r\n\t\tmaskCloseAble: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 用户自定义样式\r\n\t\tcustomStyle: {\r\n\t\t\ttype: Object,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn {};\r\n\t\t\t}\r\n\t\t},\r\n\t\tvalue: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 此为内部参数,不在文档对外使用,为了解决Picker和keyboard等融合了弹窗的组件\r\n\t\t// 对v-model双向绑定多层调用造成报错不能修改props值的问题\r\n\t\tpopup: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 显示显示弹窗的圆角,单位rpx\r\n\t\tborderRadius: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\tzIndex: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否显示关闭图标\r\n\t\tcloseable: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 关闭图标的名称,只能uView的内置图标\r\n\t\tcloseIcon: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'close'\r\n\t\t},\r\n\t\t// 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角\r\n\t\tcloseIconPos: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'top-right'\r\n\t\t},\r\n\t\t// 关闭图标的颜色\r\n\t\tcloseIconColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#909399'\r\n\t\t},\r\n\t\t// 关闭图标的大小,单位rpx\r\n\t\tcloseIconSize: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '30'\r\n\t\t},\r\n\t\t// 宽度,只对左,右,中部弹出时起作用,单位rpx,或者\"auto\"\r\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度,优先级高于length参数\r\n\t\twidth: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 高度,只对上,下,中部弹出时起作用,单位rpx,或者\"auto\"\r\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度,优先级高于length参数\r\n\t\theight: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 给一个负的margin-top,往上偏移,避免和键盘重合的情况,仅在mode=center时有效\r\n\t\tnegativeTop: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\t// 遮罩的样式,一般用于修改遮罩的透明度\r\n\t\tmaskCustomStyle: {\r\n\t\t\ttype: Object,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn {}\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 遮罩打开或收起的动画过渡时间,单位ms\r\n\t\tduration: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 250\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tvisibleSync: false,\r\n\t\t\tshowDrawer: false,\r\n\t\t\ttimer: null,\r\n\t\t\tcloseFromInner: false, // value的值改变,是发生在内部还是外部\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\t// 根据mode的位置,设定其弹窗的宽度(mode = left|right),或者高度(mode = top|bottom)\r\n\t\tstyle() {\r\n\t\t\tlet style = {};\r\n\t\t\t// 如果是左边或者上边弹出时,需要给translate设置为负值,用于隐藏\r\n\t\t\tif (this.mode == 'left' || this.mode == 'right') {\r\n\t\t\t\tstyle = {\r\n\t\t\t\t\twidth: this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length),\r\n\t\t\t\t\theight: '100%',\r\n\t\t\t\t\ttransform: `translate3D(${this.mode == 'left' ? '-100%' : '100%'},0px,0px)`\r\n\t\t\t\t};\r\n\t\t\t} else if (this.mode == 'top' || this.mode == 'bottom') {\r\n\t\t\t\tstyle = {\r\n\t\t\t\t\twidth: '100%',\r\n\t\t\t\t\theight: this.height ? this.getUnitValue(this.height) : this.getUnitValue(this.length),\r\n\t\t\t\t\ttransform: `translate3D(0px,${this.mode == 'top' ? '-100%' : '100%'},0px)`\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tstyle.zIndex = this.uZindex;\r\n\t\t\t// 如果用户设置了borderRadius值,添加弹窗的圆角\r\n\t\t\tif (this.borderRadius) {\r\n\t\t\t\tswitch (this.mode) {\r\n\t\t\t\t\tcase 'left':\r\n\t\t\t\t\t\tstyle.borderRadius = `0 ${this.borderRadius}rpx ${this.borderRadius}rpx 0`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'top':\r\n\t\t\t\t\t\tstyle.borderRadius = `0 0 ${this.borderRadius}rpx ${this.borderRadius}rpx`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'right':\r\n\t\t\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx 0 0 ${this.borderRadius}rpx`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'bottom':\r\n\t\t\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx ${this.borderRadius}rpx 0 0`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t}\r\n\t\t\t\t// 不加可能圆角无效\r\n\t\t\t\tstyle.overflow = 'hidden';\r\n\t\t\t}\r\n\t\t\tif(this.duration) style.transition = `all ${this.duration / 1000}s linear`;\r\n\t\t\treturn style;\r\n\t\t},\r\n\t\t// 中部弹窗的特有样式\r\n\t\tcenterStyle() {\r\n\t\t\tlet style = {};\r\n\t\t\tstyle.width = this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length);\r\n\t\t\t// 中部弹出的模式,如果没有设置高度,就用auto值,由内容撑开高度\r\n\t\t\tstyle.height = this.height ? this.getUnitValue(this.height) : 'auto';\r\n\t\t\tstyle.zIndex = this.uZindex;\r\n\t\t\tstyle.marginTop = `-${this.$u.addUnit(this.negativeTop)}`;\r\n\t\t\tif (this.borderRadius) {\r\n\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx`;\r\n\t\t\t\t// 不加可能圆角无效\r\n\t\t\t\tstyle.overflow = 'hidden';\r\n\t\t\t}\r\n\t\t\treturn style;\r\n\t\t},\r\n\t\t// 计算整理后的z-index值\r\n\t\tuZindex() {\r\n\t\t\treturn this.zIndex ? this.zIndex : this.$u.zIndex.popup;\r\n\t\t}\r\n\t},\r\n\twatch: {\r\n\t\tvalue(val) {\r\n\t\t\tif (val) {\r\n\t\t\t\tthis.open();\r\n\t\t\t} else if(!this.closeFromInner) {\r\n\t\t\t\tthis.close();\r\n\t\t\t}\r\n\t\t\tthis.closeFromInner = false;\r\n\t\t}\r\n\t},\r\n\tmounted() {\r\n\t\t// 组件渲染完成时,检查value是否为true,如果是,弹出popup\r\n\t\tthis.value && this.open();\r\n\t},\r\n methods: {\r\n\t\t// 判断传入的值,是否带有单位,如果没有,就默认用rpx单位\r\n\t\tgetUnitValue(val) {\r\n\t\t\tif(/(%|px|rpx|auto)$/.test(val)) return val;\r\n\t\t\telse return val + 'rpx'\r\n\t\t},\r\n\t\t// 遮罩被点击\r\n\t\tmaskClick() {\r\n\t\t\tthis.close();\r\n\t\t},\r\n\t\tclose() {\r\n\t\t\t// 标记关闭是内部发生的,否则修改了value值,导致watch中对value检测,导致再执行一遍close\r\n\t\t\t// 造成@close事件触发两次\r\n\t\t\tthis.closeFromInner = true;\r\n\t\t\tthis.change('showDrawer', 'visibleSync', false);\r\n\t\t},\r\n\t\t// 中部弹出时,需要.u-drawer-content将居中内容,此元素会铺满屏幕,点击需要关闭弹窗\r\n\t\t// 让其只在mode=center时起作用\r\n\t\tmodeCenterClose(mode) {\r\n\t\t\tif (mode != 'center' || !this.maskCloseAble) return;\r\n\t\t\tthis.close();\r\n\t\t},\r\n\t\topen() {\r\n\t\t\tthis.change('visibleSync', 'showDrawer', true);\r\n\t\t},\r\n\t\t// 此处的原理是,关闭时先通过动画隐藏弹窗和遮罩,再移除整个组件\r\n\t\t// 打开时,先渲染组件,延时一定时间再让遮罩和弹窗的动画起作用\r\n\t\tchange(param1, param2, status) {\r\n\t\t\t// 如果this.popup为false,意味着为picker,actionsheet等组件调用了popup组件\r\n\t\t\tif (this.popup == true) {\r\n\t\t\t\tthis.$emit('input', status);\r\n\t\t\t}\r\n\t\t\tthis[param1] = status;\r\n\t\t\tif(status) {\r\n\t\t\t\t// #ifdef H5 || MP\r\n\t\t\t\tthis.timer = setTimeout(() => {\r\n\t\t\t\t\tthis[param2] = status;\r\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\r\n\t\t\t\t}, 50);\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef H5 || MP\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis[param2] = status;\r\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\t\t\t} else {\r\n\t\t\t\tthis.timer = setTimeout(() => {\r\n\t\t\t\t\tthis[param2] = status;\r\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\r\n\t\t\t\t}, this.duration);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"../../libs/css/style.components.scss\";\r\n\r\n.u-drawer {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: block;\r\n\t/* #endif */\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n}\r\n\r\n.u-drawer-content {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: block;\r\n\t/* #endif */\r\n\tposition: absolute;\r\n\tz-index: 1003;\r\n\ttransition: all 0.25s linear;\r\n}\r\n\r\n.u-drawer__scroll-view {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.u-drawer-left {\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-right {\r\n\tright: 0;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-top {\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-bottom {\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-center {\r\n\t@include vue-flex;\r\n\tflex-direction: column;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\ttop: 0;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\topacity: 0;\r\n\tz-index: 99999;\r\n}\r\n\r\n.u-mode-center-box {\r\n\tmin-width: 100rpx;\r\n\tmin-height: 100rpx;\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: block;\r\n\t/* #endif */\r\n\tposition: relative;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-content-visible.u-drawer-center {\r\n\ttransform: scale(1);\r\n\topacity: 1;\r\n}\r\n\r\n.u-animation-zoom {\r\n\ttransform: scale(1.15);\r\n}\r\n\r\n.u-drawer-content-visible {\r\n\ttransform: translate3D(0px, 0px, 0px) !important;\r\n}\r\n\r\n.u-close {\r\n\tposition: absolute;\r\n\tz-index: 3;\r\n}\r\n\r\n.u-close--top-left {\r\n\ttop: 30rpx;\r\n\tleft: 30rpx;\r\n}\r\n\r\n.u-close--top-right {\r\n\ttop: 30rpx;\r\n\tright: 30rpx;\r\n}\r\n\r\n.u-close--bottom-left {\r\n\tbottom: 30rpx;\r\n\tleft: 30rpx;\r\n}\r\n\r\n.u-close--bottom-right {\r\n\tright: 30rpx;\r\n\tbottom: 30rpx;\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627036355057\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?a681","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?6f60","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?094c","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?c4d6","uni-app:///uview-ui/components/u-popup/u-popup.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?fbf1","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?49e0"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,2nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDnpB;;;;;;;;;;;;;;;;;;;;;;;AAuBA;AACA,iBADA;AAEA;AACA;;;AAGA;AACA,mBADA;AAEA,oBAFA,EAJA;;AAQA;;;AAGA;AACA,kBADA;AAEA,qBAFA,EAXA;;AAeA;;;AAGA;AACA,mBADA;AAEA,mBAFA,EAlBA;;AAsBA;AACA;AACA;AACA,4BADA;AAEA,qBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA;;AAiCA;AACA;AACA,mBADA;AAEA,oBAFA,EAlCA;;AAsCA;AACA;AACA,mBADA;AAEA,mBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA5CA;;AAkDA;AACA,mBADA;AAEA,oBAFA,EAlDA;;AAsDA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAxDA;;AA4DA;AACA;AACA,4BADA;AAEA,gBAFA,EA7DA;;AAiEA;AACA,4BADA;AAEA,iBAFA,EAjEA;;AAqEA;AACA;AACA,mBADA;AAEA,oBAFA,EAtEA;;AA0EA;AACA;AACA,kBADA;AAEA,sBAFA,EA3EA;;AA+EA;AACA;AACA,kBADA;AAEA,0BAFA,EAhFA;;AAoFA;AACA;AACA,kBADA;AAEA,wBAFA,EArFA;;AAyFA;AACA;AACA,4BADA;AAEA,mBAFA,EA1FA;;AA8FA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAhGA;;AAoGA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAtGA;;AA0GA;AACA;AACA,4BADA;AAEA,gBAFA,EA3GA;;AA+GA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAhHA;;AAsHA;AACA;AACA,4BADA;AAEA,kBAFA,EAvHA,EAFA;;;AA8HA,MA9HA,kBA8HA;AACA;AACA,wBADA;AAEA,uBAFA;AAGA,iBAHA;AAIA,2BAJA,CAIA;AAJA;AAMA,GArIA;AAsIA;AACA;AACA,SAFA,mBAEA;AACA;AACA;AACA;AACA;AACA,4FADA;AAEA,wBAFA;AAGA,+FAHA;;AAKA,OANA,MAMA;AACA;AACA,uBADA;AAEA,+FAFA;AAGA,8FAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAbA;;AAeA;AACA;AACA;AACA;AACA;AACA,KAzCA;AA0CA;AACA,eA3CA,yBA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAxDA;AAyDA;AACA,WA1DA,qBA0DA;AACA;AACA,KA5DA,EAtIA;;AAoMA;AACA,SADA,iBACA,GADA,EACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KARA,EApMA;;AA8MA,SA9MA,qBA8MA;AACA;AACA;AACA,GAjNA;AAkNA;AACA;AACA,gBAFA,wBAEA,GAFA,EAEA;AACA;AACA;AACA,KALA;AAMA;AACA,aAPA,uBAOA;AACA;AACA,KATA;AAUA,SAVA,mBAUA;AACA;AACA;AACA;AACA;AACA,KAfA;AAgBA;AACA;AACA,mBAlBA,2BAkBA,IAlBA,EAkBA;AACA;AACA;AACA,KArBA;AAsBA,QAtBA,kBAsBA;AACA;AACA,KAxBA;AAyBA;AACA;AACA,UA3BA,kBA2BA,MA3BA,EA2BA,MA3BA,EA2BA,MA3BA,EA2BA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAHA,EAGA,EAHA;;;;;;;;AAWA,OAbA,MAaA;AACA;AACA;AACA;AACA,SAHA,EAGA,aAHA;AAIA;AACA,KApDA,EAlNA,E;;;;;;;;;;;;ACvEA;AAAA;AAAA;AAAA;AAAirC,CAAgB,qmCAAG,EAAC,C;;;;;;;;;;;ACArsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-popup/u-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-popup.vue?vue&type=template&id=17becaea&scoped=true&\"\nvar renderjs\nimport script from \"./u-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./u-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17becaea\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-popup/u-popup.vue\"\nexport default component.exports","export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=template&id=17becaea&scoped=true&\"","var components\ntry {\n components = {\n uMask: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-mask/u-mask\" */ \"@/uview-ui/components/u-mask/u-mask.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.visibleSync\n ? _vm.__get_style([\n _vm.customStyle,\n {\n zIndex: _vm.uZindex - 1\n }\n ])\n : null\n var s1 = _vm.visibleSync ? _vm.__get_style([_vm.style]) : null\n var s2 =\n _vm.visibleSync && _vm.mode == \"center\"\n ? _vm.__get_style([_vm.centerStyle])\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view v-if=\"visibleSync\" :style=\"[customStyle, {\r\n\t\tzIndex: uZindex - 1\r\n\t}]\" class=\"u-drawer\" hover-stop-propagation>\r\n\t\t<u-mask :duration=\"duration\" :custom-style=\"maskCustomStyle\" :maskClickAble=\"maskCloseAble\" :z-index=\"uZindex - 2\" :show=\"showDrawer && mask\" @click=\"maskClick\"></u-mask>\r\n\t\t<view\r\n\t\t\tclass=\"u-drawer-content\"\r\n\t\t\t@tap=\"modeCenterClose(mode)\"\r\n\t\t\t:class=\"[\r\n\t\t\t\tsafeAreaInsetBottom ? 'safe-area-inset-bottom' : '',\r\n\t\t\t\t'u-drawer-' + mode,\r\n\t\t\t\tshowDrawer ? 'u-drawer-content-visible' : '',\r\n\t\t\t\tzoom && mode == 'center' ? 'u-animation-zoom' : ''\r\n\t\t\t]\"\r\n\t\t\t@touchmove.stop.prevent\r\n\t\t\t@tap.stop.prevent\r\n\t\t\t:style=\"[style]\"\r\n\t\t>\r\n\t\t\t<view class=\"u-mode-center-box\" @tap.stop.prevent @touchmove.stop.prevent v-if=\"mode == 'center'\" :style=\"[centerStyle]\">\r\n\t\t\t\t<u-icon\r\n\t\t\t\t\t@click=\"close\"\r\n\t\t\t\t\tv-if=\"closeable\"\r\n\t\t\t\t\tclass=\"u-close\"\r\n\t\t\t\t\t:class=\"['u-close--' + closeIconPos]\"\r\n\t\t\t\t\t:name=\"closeIcon\"\r\n\t\t\t\t\t:color=\"closeIconColor\"\r\n\t\t\t\t\t:size=\"closeIconSize\"\r\n\t\t\t\t></u-icon>\r\n\t\t\t\t<scroll-view class=\"u-drawer__scroll-view\" scroll-y=\"true\">\r\n\t\t\t\t\t<slot />\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t\t<scroll-view class=\"u-drawer__scroll-view\" scroll-y=\"true\" v-else>\r\n\t\t\t\t<slot />\r\n\t\t\t</scroll-view>\r\n\t\t\t<view @tap=\"close\" class=\"u-close\" :class=\"['u-close--' + closeIconPos]\">\r\n\t\t\t\t<u-icon\r\n\t\t\t\t\tv-if=\"mode != 'center' && closeable\"\r\n\t\t\t\t\t:name=\"closeIcon\"\r\n\t\t\t\t\t:color=\"closeIconColor\"\r\n\t\t\t\t\t:size=\"closeIconSize\"\r\n\t\t\t\t></u-icon>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * popup 弹窗\r\n * @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义\r\n * @tutorial https://www.uviewui.com/components/popup.html\r\n * @property {String} mode 弹出方向(默认left)\r\n * @property {Boolean} mask 是否显示遮罩(默认true)\r\n * @property {Stringr | Number} length mode=left | 见官网说明(默认auto)\r\n * @property {Boolean} zoom 是否开启缩放动画,只在mode为center时有效(默认true)\r\n * @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)\r\n * @property {Boolean} mask-close-able 点击遮罩是否可以关闭弹出层(默认true)\r\n * @property {Object} custom-style 用户自定义样式\r\n * @property {Stringr | Number} negative-top 中部弹出时,往上偏移的值\r\n * @property {Numberr | String} border-radius 弹窗圆角值(默认0)\r\n * @property {Numberr | String} z-index 弹出内容的z-index值(默认1075)\r\n * @property {Boolean} closeable 是否显示关闭图标(默认false)\r\n * @property {String} close-icon 关闭图标的名称,只能uView的内置图标\r\n * @property {String} close-icon-pos 自定义关闭图标位置(默认top-right)\r\n * @property {String} close-icon-color 关闭图标的颜色(默认#909399)\r\n * @property {Number | String} close-icon-size 关闭图标的大小,单位rpx(默认30)\r\n * @event {Function} open 弹出层打开\r\n * @event {Function} close 弹出层收起\r\n * @example <u-popup v-model=\"show\"><view>出淤泥而不染,濯清涟而不妖</view></u-popup>\r\n */\r\nexport default {\r\n\tname: 'u-popup',\r\n\tprops: {\r\n\t\t/**\r\n\t\t * 显示状态\r\n\t\t */\r\n\t\tshow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t/**\r\n\t\t * 弹出方向,left|right|top|bottom|center\r\n\t\t */\r\n\t\tmode: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'left'\r\n\t\t},\r\n\t\t/**\r\n\t\t * 是否显示遮罩\r\n\t\t */\r\n\t\tmask: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 抽屉的宽度(mode=left|right),或者高度(mode=top|bottom),单位rpx,或者\"auto\"\r\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度\r\n\t\tlength: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 'auto'\r\n\t\t},\r\n\t\t// 是否开启缩放动画,只在mode=center时有效\r\n\t\tzoom: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距\r\n\t\tsafeAreaInsetBottom: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否可以通过点击遮罩进行关闭\r\n\t\tmaskCloseAble: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 用户自定义样式\r\n\t\tcustomStyle: {\r\n\t\t\ttype: Object,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn {};\r\n\t\t\t}\r\n\t\t},\r\n\t\tvalue: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 此为内部参数,不在文档对外使用,为了解决Picker和keyboard等融合了弹窗的组件\r\n\t\t// 对v-model双向绑定多层调用造成报错不能修改props值的问题\r\n\t\tpopup: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 显示显示弹窗的圆角,单位rpx\r\n\t\tborderRadius: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\tzIndex: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否显示关闭图标\r\n\t\tcloseable: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 关闭图标的名称,只能uView的内置图标\r\n\t\tcloseIcon: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'close'\r\n\t\t},\r\n\t\t// 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角\r\n\t\tcloseIconPos: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'top-right'\r\n\t\t},\r\n\t\t// 关闭图标的颜色\r\n\t\tcloseIconColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#909399'\r\n\t\t},\r\n\t\t// 关闭图标的大小,单位rpx\r\n\t\tcloseIconSize: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: '30'\r\n\t\t},\r\n\t\t// 宽度,只对左,右,中部弹出时起作用,单位rpx,或者\"auto\"\r\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度,优先级高于length参数\r\n\t\twidth: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 高度,只对上,下,中部弹出时起作用,单位rpx,或者\"auto\"\r\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度,优先级高于length参数\r\n\t\theight: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 给一个负的margin-top,往上偏移,避免和键盘重合的情况,仅在mode=center时有效\r\n\t\tnegativeTop: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\t// 遮罩的样式,一般用于修改遮罩的透明度\r\n\t\tmaskCustomStyle: {\r\n\t\t\ttype: Object,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn {}\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 遮罩打开或收起的动画过渡时间,单位ms\r\n\t\tduration: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 250\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tvisibleSync: false,\r\n\t\t\tshowDrawer: false,\r\n\t\t\ttimer: null,\r\n\t\t\tcloseFromInner: false, // value的值改变,是发生在内部还是外部\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\t// 根据mode的位置,设定其弹窗的宽度(mode = left|right),或者高度(mode = top|bottom)\r\n\t\tstyle() {\r\n\t\t\tlet style = {};\r\n\t\t\t// 如果是左边或者上边弹出时,需要给translate设置为负值,用于隐藏\r\n\t\t\tif (this.mode == 'left' || this.mode == 'right') {\r\n\t\t\t\tstyle = {\r\n\t\t\t\t\twidth: this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length),\r\n\t\t\t\t\theight: '100%',\r\n\t\t\t\t\ttransform: `translate3D(${this.mode == 'left' ? '-100%' : '100%'},0px,0px)`\r\n\t\t\t\t};\r\n\t\t\t} else if (this.mode == 'top' || this.mode == 'bottom') {\r\n\t\t\t\tstyle = {\r\n\t\t\t\t\twidth: '100%',\r\n\t\t\t\t\theight: this.height ? this.getUnitValue(this.height) : this.getUnitValue(this.length),\r\n\t\t\t\t\ttransform: `translate3D(0px,${this.mode == 'top' ? '-100%' : '100%'},0px)`\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tstyle.zIndex = this.uZindex;\r\n\t\t\t// 如果用户设置了borderRadius值,添加弹窗的圆角\r\n\t\t\tif (this.borderRadius) {\r\n\t\t\t\tswitch (this.mode) {\r\n\t\t\t\t\tcase 'left':\r\n\t\t\t\t\t\tstyle.borderRadius = `0 ${this.borderRadius}rpx ${this.borderRadius}rpx 0`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'top':\r\n\t\t\t\t\t\tstyle.borderRadius = `0 0 ${this.borderRadius}rpx ${this.borderRadius}rpx`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'right':\r\n\t\t\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx 0 0 ${this.borderRadius}rpx`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'bottom':\r\n\t\t\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx ${this.borderRadius}rpx 0 0`;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t}\r\n\t\t\t\t// 不加可能圆角无效\r\n\t\t\t\tstyle.overflow = 'hidden';\r\n\t\t\t}\r\n\t\t\tif(this.duration) style.transition = `all ${this.duration / 1000}s linear`;\r\n\t\t\treturn style;\r\n\t\t},\r\n\t\t// 中部弹窗的特有样式\r\n\t\tcenterStyle() {\r\n\t\t\tlet style = {};\r\n\t\t\tstyle.width = this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length);\r\n\t\t\t// 中部弹出的模式,如果没有设置高度,就用auto值,由内容撑开高度\r\n\t\t\tstyle.height = this.height ? this.getUnitValue(this.height) : 'auto';\r\n\t\t\tstyle.zIndex = this.uZindex;\r\n\t\t\tstyle.marginTop = `-${this.$u.addUnit(this.negativeTop)}`;\r\n\t\t\tif (this.borderRadius) {\r\n\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx`;\r\n\t\t\t\t// 不加可能圆角无效\r\n\t\t\t\tstyle.overflow = 'hidden';\r\n\t\t\t}\r\n\t\t\treturn style;\r\n\t\t},\r\n\t\t// 计算整理后的z-index值\r\n\t\tuZindex() {\r\n\t\t\treturn this.zIndex ? this.zIndex : this.$u.zIndex.popup;\r\n\t\t}\r\n\t},\r\n\twatch: {\r\n\t\tvalue(val) {\r\n\t\t\tif (val) {\r\n\t\t\t\tthis.open();\r\n\t\t\t} else if(!this.closeFromInner) {\r\n\t\t\t\tthis.close();\r\n\t\t\t}\r\n\t\t\tthis.closeFromInner = false;\r\n\t\t}\r\n\t},\r\n\tmounted() {\r\n\t\t// 组件渲染完成时,检查value是否为true,如果是,弹出popup\r\n\t\tthis.value && this.open();\r\n\t},\r\n methods: {\r\n\t\t// 判断传入的值,是否带有单位,如果没有,就默认用rpx单位\r\n\t\tgetUnitValue(val) {\r\n\t\t\tif(/(%|px|rpx|auto)$/.test(val)) return val;\r\n\t\t\telse return val + 'rpx'\r\n\t\t},\r\n\t\t// 遮罩被点击\r\n\t\tmaskClick() {\r\n\t\t\tthis.close();\r\n\t\t},\r\n\t\tclose() {\r\n\t\t\t// 标记关闭是内部发生的,否则修改了value值,导致watch中对value检测,导致再执行一遍close\r\n\t\t\t// 造成@close事件触发两次\r\n\t\t\tthis.closeFromInner = true;\r\n\t\t\tthis.change('showDrawer', 'visibleSync', false);\r\n\t\t},\r\n\t\t// 中部弹出时,需要.u-drawer-content将居中内容,此元素会铺满屏幕,点击需要关闭弹窗\r\n\t\t// 让其只在mode=center时起作用\r\n\t\tmodeCenterClose(mode) {\r\n\t\t\tif (mode != 'center' || !this.maskCloseAble) return;\r\n\t\t\tthis.close();\r\n\t\t},\r\n\t\topen() {\r\n\t\t\tthis.change('visibleSync', 'showDrawer', true);\r\n\t\t},\r\n\t\t// 此处的原理是,关闭时先通过动画隐藏弹窗和遮罩,再移除整个组件\r\n\t\t// 打开时,先渲染组件,延时一定时间再让遮罩和弹窗的动画起作用\r\n\t\tchange(param1, param2, status) {\r\n\t\t\t// 如果this.popup为false,意味着为picker,actionsheet等组件调用了popup组件\r\n\t\t\tif (this.popup == true) {\r\n\t\t\t\tthis.$emit('input', status);\r\n\t\t\t}\r\n\t\t\tthis[param1] = status;\r\n\t\t\tif(status) {\r\n\t\t\t\t// #ifdef H5 || MP\r\n\t\t\t\tthis.timer = setTimeout(() => {\r\n\t\t\t\t\tthis[param2] = status;\r\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\r\n\t\t\t\t}, 50);\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef H5 || MP\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis[param2] = status;\r\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\t\t\t} else {\r\n\t\t\t\tthis.timer = setTimeout(() => {\r\n\t\t\t\t\tthis[param2] = status;\r\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\r\n\t\t\t\t}, this.duration);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"../../libs/css/style.components.scss\";\r\n\r\n.u-drawer {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: block;\r\n\t/* #endif */\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n}\r\n\r\n.u-drawer-content {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: block;\r\n\t/* #endif */\r\n\tposition: absolute;\r\n\tz-index: 1003;\r\n\ttransition: all 0.25s linear;\r\n}\r\n\r\n.u-drawer__scroll-view {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.u-drawer-left {\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-right {\r\n\tright: 0;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-top {\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-bottom {\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-center {\r\n\t@include vue-flex;\r\n\tflex-direction: column;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\ttop: 0;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\topacity: 0;\r\n\tz-index: 99999;\r\n}\r\n\r\n.u-mode-center-box {\r\n\tmin-width: 100rpx;\r\n\tmin-height: 100rpx;\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: block;\r\n\t/* #endif */\r\n\tposition: relative;\r\n\tbackground-color: #ffffff;\r\n}\r\n\r\n.u-drawer-content-visible.u-drawer-center {\r\n\ttransform: scale(1);\r\n\topacity: 1;\r\n}\r\n\r\n.u-animation-zoom {\r\n\ttransform: scale(1.15);\r\n}\r\n\r\n.u-drawer-content-visible {\r\n\ttransform: translate3D(0px, 0px, 0px) !important;\r\n}\r\n\r\n.u-close {\r\n\tposition: absolute;\r\n\tz-index: 3;\r\n}\r\n\r\n.u-close--top-left {\r\n\ttop: 30rpx;\r\n\tleft: 30rpx;\r\n}\r\n\r\n.u-close--top-right {\r\n\ttop: 30rpx;\r\n\tright: 30rpx;\r\n}\r\n\r\n.u-close--bottom-left {\r\n\tbottom: 30rpx;\r\n\tleft: 30rpx;\r\n}\r\n\r\n.u-close--bottom-right {\r\n\tright: 30rpx;\r\n\tbottom: 30rpx;\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"; export default mod; export * from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627373888650\n var cssReload = require(\"D:/程序应用/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file
......@@ -211,7 +211,6 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
var _default =
{
data: function data() {
......
......@@ -97,13 +97,12 @@ var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var g0 =
_vm.chooseCouponObj != "" ? _vm.chooseCouponObj.savedMoney.toFixed(2) : null
var m0 = _vm.chooseCouponObj ? parseFloat(_vm.savedMoney.toFixed(2)) : null
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0
m0: m0
}
}
)
......@@ -218,8 +217,6 @@ __webpack_require__.r(__webpack_exports__);
......@@ -251,6 +248,7 @@ __webpack_require__.r(__webpack_exports__);
companyId: "", //公司Id
merchantId: "", //商户Id
name: "", //商家名称
payType: 42, //支付类型,微信小程序支付
paySign: "", //签名
signType: "", //签名方式
timeStamp: "", //时间戳
......@@ -259,16 +257,46 @@ __webpack_require__.r(__webpack_exports__);
flag: "", //setTimeout函数
couponData: "", //所有劵数据
chooseCouponObj: "", //默认选中最优价格优惠券
savedMoney: 0, //优惠金额
ableConpon: "", //没有可用优惠券时,达到一定条件可用,显示达到的条件
orderSource: 8, //1公众号平台、2公众号组合页面1、3公众号组合页面2、4胖丁伙伴app、5第三方自助机、6第三方票房窗口、7平台快捷买单、8扫码支付
background: "", //普通按钮背景颜色
payBackground: "#1dce2e" //支付背景颜色
};
spaceBackground: "", //回格按钮背景颜色
payBackground: "#1dce2e", //支付背景颜色
leftList: [//左侧按钮数据
{
child: [
{ text: 1, background: "" },
{ text: 2, background: "" },
{ text: 3, background: "" }] },
{
child: [
{ text: 4, background: "" },
{ text: 5, background: "" },
{ text: 6, background: "" }] },
{
child: [
{ text: 7, background: "" },
{ text: 8, background: "" },
{ text: 9, background: "" }] },
{
child: [
{ text: 0, background: "" },
{ text: '.', background: "" }] }] };
},
onLoad: function onLoad(option) {
this.option = decodeURIComponent(option.q);
// this.companyId=option.companyId
// this.merchantId=option.merchantId
this.companyId = (new RegExp('[?|&]companyId=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(option.q)) || [, ""])[1].replace(/\+/g, '%20') || "";
this.merchantId = (new RegExp('[?|&]merchantId=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(option.q)) || [, ""])[1].replace(/\+/g, '%20') || "";
if (this.merchantId) {//大商家的有merchantId
this.init();
} else {//小商家没有merchantId
......@@ -277,14 +305,12 @@ __webpack_require__.r(__webpack_exports__);
this.initCoupon();
},
methods: {
clickNum: function clickNum(i) {var _this = this; //---------------------------------------------------------------------输入数字
clickNum: function clickNum(i, index, a) {var _this = this; //---------------------------------------------------------------------输入数字
this.buyMoney += i;
this.leftList[index].child[a].background = "#dddddd";
setTimeout(function () {
_this.leftList[index].child[a].background = "";
}, 200);
clearTimeout(this.flag);
this.flag = setTimeout(function () {
_this.initCoupon();
......@@ -292,12 +318,10 @@ __webpack_require__.r(__webpack_exports__);
},
clickEnter: function clickEnter() {var _this2 = this; //---------------------------------------------------------------------退格
this.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1);
this.spaceBackground = "#dddddd";
setTimeout(function () {
_this2.spaceBackground = "";
}, 200);
clearTimeout(this.flag);
this.flag = setTimeout(function () {
_this2.initCoupon();
......@@ -353,27 +377,33 @@ __webpack_require__.r(__webpack_exports__);
this.$request("wechatUser/myPage/usableCouponList", data).then(function (res) {
if (res.code == "00") {
_this5.couponData = res.data;
if (res.data.usableCouponList.length > 0) {
res.data.usableCouponList.forEach(function (item) {//获取最优券
savedMoneyList.push(item.savedMoney);
});
var maxMoney = Math.max.apply(null, savedMoneyList);
var index = res.data.usableCouponList.findIndex(function (item) {
return maxMoney == item.savedMoney;
});
if (index > -1) {
_this5.chooseCouponObj = res.data.usableCouponList[index];
}
_this5.chooseCouponObj = res.data.masterSlaveCouponList[0];
if (_this5.chooseCouponObj.slaveList.length > 0) {
_this5.savedMoney = _this5.chooseCouponObj.slaveList[0].savedMoney;
} else {
if (res.data.unusableCouponList.length > 0) {
res.data.unusableCouponList.forEach(function (item, i) {//没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券
if (item.isProduct == 1) {
_this5.ableConpon = item;
}
});
}
_this5.savedMoney = _this5.chooseCouponObj.savedMoney;
}
// this.couponData = res.data
// if (res.data.usableCouponList.length > 0) {
// res.data.usableCouponList.forEach((item) => { //获取最优券
// savedMoneyList.push(item.savedMoney)
// })
// let maxMoney = Math.max.apply(null, savedMoneyList)
// let index = res.data.usableCouponList.findIndex((item) => {
// return maxMoney == item.savedMoney
// })
// if(index>-1){
// this.chooseCouponObj = res.data.usableCouponList[index]
// }
// } else {
// if (res.data.unusableCouponList.length > 0) {
// res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券
// if (item.isProduct == 1) {
// this.ableConpon = item
// }
// })
// }
// }
}
});
},
......
<view class="bigBox"><view class="top"><view class="topName"><text class="topIcon"><text class="iconfont icon-tubiaolunkuo-"></text></text><text>{{name}}</text></view><view class="topMoney"><text class="moneyText">支付金额</text><view class="moneyNumber"><text class="iconfont icon-fl-renminbi" style="font-size:56rpx;"></text><text>{{buyMoney}}</text><text></text></view></view><block wx:if="{{couponData.usableCouponList&&couponData.usableCouponList.length>0&&chooseCouponObj==''}}"><view data-event-opts="{{[['tap',[['showCoupon']]]]}}" class="topCoupon" bindtap="__e"><view class="couponLeft"><text>券</text><text>{{couponData.usableCouponList[0].couponName}}</text></view><view class="couponRight"><text>未选优惠券</text><text class="iconfont icon-you" style="font-size:32rpx;"></text></view></view></block><block wx:if="{{chooseCouponObj!=''}}"><view data-event-opts="{{[['tap',[['showCoupon']]]]}}" class="topCoupon" bindtap="__e"><view class="couponLeft"><text>券</text><text>{{chooseCouponObj.couponName}}</text></view><view class="couponRight"><text>-</text><text>{{$root.g0}}</text><text class="iconfont icon-you" style="font-size:32rpx;"></text></view></view></block><block wx:if="{{ableConpon!=''}}"><view data-event-opts="{{[['tap',[['showCoupon']]]]}}" class="topCoupon" bindtap="__e"><view class="couponLeft"><text>券</text><text>{{ableConpon.couponName}}</text></view><view class="couponRight"><text>{{ableConpon.couponRule}}</text><text class="iconfont icon-you" style="font-size:32rpx;"></text></view></view></block></view><view class="middle">友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。</view><view class="bottom"><view class="botLeft"><view><text data-ref="1" data-event-opts="{{[['tap',[['clickNum',[1]]]]]}}" class="vue-ref" bindtap="__e">1</text><text data-ref="2" data-event-opts="{{[['tap',[['clickNum',[2]]]]]}}" class="vue-ref" bindtap="__e">2</text><text data-ref="3" data-event-opts="{{[['tap',[['clickNum',[3]]]]]}}" class="vue-ref" bindtap="__e">3</text></view><view><text data-ref="4" data-event-opts="{{[['tap',[['clickNum',[4]]]]]}}" class="vue-ref" bindtap="__e">4</text><text data-ref="5" data-event-opts="{{[['tap',[['clickNum',[5]]]]]}}" class="vue-ref" bindtap="__e">5</text><text data-ref="6" data-event-opts="{{[['tap',[['clickNum',[6]]]]]}}" class="vue-ref" bindtap="__e">6</text></view><view><text data-ref="7" data-event-opts="{{[['tap',[['clickNum',[7]]]]]}}" class="vue-ref" bindtap="__e">7</text><text data-ref="8" data-event-opts="{{[['tap',[['clickNum',[8]]]]]}}" class="vue-ref" bindtap="__e">8</text><text data-ref="9" data-event-opts="{{[['tap',[['clickNum',[9]]]]]}}" class="vue-ref" bindtap="__e">9</text></view><view><text data-ref="0" data-event-opts="{{[['tap',[['clickNum',[0]]]]]}}" class="vue-ref" style="width:66.7%;" bindtap="__e">0</text><text data-ref="." data-event-opts="{{[['tap',[['clickNum',['.']]]]]}}" class="vue-ref" style="width:33.3%;" bindtap="__e">.</text></view></view><view class="botRight"><view data-ref="enter" data-event-opts="{{[['tap',[['clickEnter']]]]}}" class="rightOne vue-ref" bindtap="__e"><text class="iconfont icon-im_huige" style="font-size:70rpx;"></text></view><view data-ref="pay" data-event-opts="{{[['tap',[['clickPay']]]]}}" class="rightTwo vue-ref" style="{{'background:'+(payBackground)+';'}}" bindtap="__e"><view>立即</view><view>支付</view></view></view></view><order-coupon class="vue-ref" vue-id="ed07b280-1" couponData="{{couponData}}" chooseCouponObj="{{chooseCouponObj}}" data-ref="orderCoupon" data-event-opts="{{[['^couponChoose',[['couponChoose']]]]}}" bind:couponChoose="__e" bind:__l="__l"></order-coupon></view>
\ No newline at end of file
<view class="bigBox"><view class="top"><view class="topName"><text class="topIcon"><text class="iconfont icon-tubiaolunkuo-"></text></text><text>{{name}}</text></view><view class="topMoney"><text class="moneyText">支付金额</text><view class="moneyNumber"><text class="iconfont icon-fl-renminbi" style="font-size:56rpx;"></text><text>{{buyMoney}}</text><text></text></view></view><block wx:if="{{chooseCouponObj}}"><view class="topCoupon"><view class="couponLeft"><text>券</text><text>{{chooseCouponObj.couponName}}</text></view><view class="couponRight"><text style="font-weight:bold;"><text style="font-size:26rpx;font-weight:400;">-¥</text>{{''+$root.m0+''}}</text></view></view></block></view><view class="middle">友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。</view><view class="bottom"><view class="botLeft"><block wx:for="{{leftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.child}}" wx:for-item="items" wx:for-index="a" wx:key="a"><text data-event-opts="{{[['tap',[['clickNum',['$0',index,a],[[['leftList','',index],['child','',a,'text']]]]]]]}}" style="{{'background:'+(items.background)+';'}}" bindtap="__e">{{items.text}}</text></block></view></block></view><view class="botRight"><view data-event-opts="{{[['tap',[['clickEnter']]]]}}" class="rightOne" style="{{'background:'+(spaceBackground)+';'}}" bindtap="__e"><text class="iconfont icon-im_huige" style="font-size:70rpx;"></text></view><view data-ref="pay" data-event-opts="{{[['tap',[['clickPay']]]]}}" class="rightTwo vue-ref" style="{{'background:'+(payBackground)+';'}}" bindtap="__e"><view>立即</view><view>支付</view></view></view></view></view>
\ No newline at end of file
......@@ -35,7 +35,7 @@
background: #FFFFFF;
}
.topName {
font-size: 28rpx;
font-size: 30rpx;
font-weight: bold;
padding-top: 50rpx;
display: -webkit-box;
......@@ -70,7 +70,7 @@
font-weight: 400;
}
.topMoney {
padding: 80rpx 24rpx 35rpx 24rpx;
padding: 80rpx 24rpx 24rpx 24rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
......@@ -87,7 +87,7 @@
font-weight: bold;
}
.moneyNumber text:nth-child(2) {
font-size: 58rpx;
font-size: 62rpx;
font-weight: bold;
position: relative;
left: -6rpx;
......@@ -147,8 +147,8 @@
}
/*中间部分*/
.middle {
padding: 60rpx 24rpx 0 24rpx;
font-size: 22rpx;
padding: 50rpx 24rpx 0 24rpx;
font-size: 24rpx;
color: #999999;
line-height: 40rpx;
}
......@@ -178,6 +178,12 @@
.botLeft view:last-child {
border: none;
}
.botLeft view:last-child text:first-child {
width: 66.7%;
}
.botLeft view:last-child text:last-child {
width: 33.3%;
}
.botLeft view text {
-webkit-box-flex: 1;
-webkit-flex: 1;
......
......@@ -4,39 +4,10 @@
"ignore": []
},
"setting": {
"urlCheck": false,
"urlCheck": true,
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minified": true
},
"compileType": "miniprogram",
"libVersion": "",
......@@ -44,15 +15,19 @@
"projectname": "uni-pdtravel",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": 0,
"list": [
{
"name": "",
......
......@@ -21,7 +21,7 @@
{
"name": "pages/ourPayment/ourPayment",
"pathName": "pages/ourPayment/ourPayment",
"query": "",
"query": "companyId=10001",
"scene": null
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment