Commit 50584994 authored by 潘永坪's avatar 潘永坪

支付宝小程序关联二维码,和支付处理

parent f2658352
......@@ -5,16 +5,23 @@
// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted
//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全
export default {
onLaunch: function() {//初始化完成时触发(全局只触发一次
onLaunch: function(options) {//初始化完成时触发(全局只触发一次
let openid=uni.getStorageSync("openid")
if(!openid){
setTimeout(()=>{//解决关联普通二维码扫码首次进入时一直显示登录中
uni.navigateTo({
url: "pages/login/login"
url: "/pages/login/login"
})
},300)
}
//#ifdef MP-ALIPAY
if (options.query && options.query.qrCode) {
uni.setStorageSync('alipayQrCode',options.query.qrCode)
}else{
uni.removeStorageSync('alipayQrCode')
}
//#endif
},
onShow: function() {
......
......@@ -68,7 +68,7 @@
</view>
<!--#endif-->
<!-- <button @click="getUserInfo()"> 授权获取头像昵称 </button> -->
<view class="bottom" v-show="showBottom">
<view class="bottom">
<!--#ifdef MP-WEIXIN-->
<web-view src="https://wx.pangdly.com"></web-view>
<!--#endif-->
......@@ -80,16 +80,8 @@
export default {
data() {
return {
showBottom:false,//控制底部显示隐藏
}
},
onLoad() {
if(uni.getStorageSync("openid")){
this.showBottom=true
}
},
onReady(){
}
},
methods: {
getUserInfo() { // 获取用户信息
......
......@@ -108,7 +108,7 @@
companyId: "", //公司Id
merchantId: "", //商户Id
name: "", //商家名称
payType:42,//支付类型,微信小程序支付
payType:"",//支付类型,微信小程序42,支付宝小程序33
paySign: "", //签名
signType: "", //签名方式
timeStamp: "", //时间戳
......@@ -158,16 +158,12 @@
onLoad(option) {
//#ifdef MP-WEIXIN
this.enterUrl=option.q
this.payType = 42
//#endif
//#ifdef MP-ALIPAY
uni.showModal({
title: '提示',
content:JSON.stringify(option)
});
if(option.query && option.query.qrCode){
this.enterUrl=option.query.qrCode
}
this.enterUrl=uni.getStorageSync("alipayQrCode")
this.payType = 33
//#endif
if(this.enterUrl){//扫普通二维码进入
this.merchantId=this.getUrlKey("merchantId")
......
项目介绍文件
一、本地存储数据
1.uni.getStorageSync("openid")
2.uni.getStorageSync("alipayQrCode")
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["common/main"],{"0f37":function(e,t,n){"use strict";n.r(t);var r=n("3713");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("dbd1");var u,c,f,i,a=n("f0c5"),l=Object(a["a"])(r["default"],u,c,!1,null,null,null,!1,f,i);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={onLaunch:function(){var t=e.getStorageSync("openid");t||setTimeout((function(){e.navigateTo({url:"pages/login/login"})}),300)},onShow:function(){},onHide:function(){}};t.default=n}).call(this,n("c11b")["default"])},3713:function(e,t,n){"use strict";n.r(t);var r=n("25fe"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},d81f:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");var t=c(n("66fd")),r=c(n("0f37")),o=c(n("cd04")),u=c(n("1d0e"));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("48bb"),t.default.prototype.$request=u.default,t.default.use(o.default),t.default.config.productionTip=!1,r.default.mpType="app";var l=new t.default(i({},r.default));e(l).$mount()}).call(this,n("c11b")["createApp"])},dbd1:function(e,t,n){"use strict";var r=n("def2"),o=n.n(r);o.a},def2:function(e,t,n){}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["common/main"],{"0f37":function(e,t,n){"use strict";n.r(t);var r=n("3713");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("dbd1");var u,c,f,a,i=n("f0c5"),l=Object(i["a"])(r["default"],u,c,!1,null,null,null,!1,f,a);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={onLaunch:function(t){var n=e.getStorageSync("openid");n||setTimeout((function(){e.navigateTo({url:"/pages/login/login"})}),300),t.query&&t.query.qrCode?e.setStorageSync("alipayQrCode",t.query.qrCode):e.removeStorageSync("alipayQrCode")},onShow:function(){},onHide:function(){}};t.default=n}).call(this,n("c11b")["default"])},3713:function(e,t,n){"use strict";n.r(t);var r=n("25fe"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},d81f:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");var t=c(n("66fd")),r=c(n("0f37")),o=c(n("cd04")),u=c(n("1d0e"));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("48bb"),t.default.prototype.$request=u.default,t.default.use(o.default),t.default.config.productionTip=!1,r.default.mpType="app";var l=new t.default(a({},r.default));e(l).$mount()}).call(this,n("c11b")["createApp"])},dbd1:function(e,t,n){"use strict";var r=n("def2"),o=n.n(r);o.a},def2:function(e,t,n){}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/ourPayment/ourPayment"],{2296:function(o,e,t){"use strict";t.r(e);var n=t("2dda"),a=t("6a16");for(var c in a)"default"!==c&&function(o){t.d(e,o,(function(){return a[o]}))}(c);t("9dd6");var i,s=t("f0c5"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);e["default"]=r.exports},"2dda":function(o,e,t){"use strict";var n;t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return n}));var a=function(){var o=this,e=o.$createElement,t=(o._self._c,o.chooseCouponObj?parseFloat(o.savedMoney.toFixed(2)):null);o.$mp.data=Object.assign({},{$root:{m0:t}})},c=[]},3778:function(o,e,t){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){t.e("components/orderCoupon").then(function(){return resolve(t("5503"))}.bind(null,t)).catch(t.oe)},a={components:{orderCoupon:n},data:function(){return{enterUrl:"",buyMoney:"",companyId:"",merchantId:"",name:"",payType:42,paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",orderInfo:"",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(e){o.showModal({title:"提示",content:JSON.stringify(e)}),e.query&&e.query.qrCode&&(this.enterUrl=e.query.qrCode),this.enterUrl?(this.merchantId=this.getUrlKey("merchantId"),this.companyId=this.getUrlKey("companyId")):(this.merchantId=e.merchantId,this.companyId=e.companyId),this.merchantId?this.init():this.initTwo()},methods:{getUrlKey:function(o){return(new RegExp("[?|&]"+o+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""},clickNum:function(o,e,t){var n=this;this.buyMoney+=o,this.leftList[e].child[t].background="#dddddd",setTimeout((function(){n.leftList[e].child[t].background=""}),200),clearTimeout(this.flag),this.flag=setTimeout((function(){}),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(){}),1500)},couponChoose:function(o){this.chooseCouponObj=o},showCoupon:function(){this.$refs.orderCoupon.showCoupon()},init:function(){var e=this,t={merchantId:this.merchantId,companyId:this.companyId};this.$request("scenic/order/findCodePayInfo",t).then((function(t){"00"==t.code?e.name=t.data.name:o.showToast({title:t.message,icon:"none"})}))},initTwo:function(){var e=this,t={id:this.companyId};this.$request("user/company/detail",t).then((function(t){"00"==t.code?e.name=t.data.companyVo.companyName:o.showToast({title:t.message,icon:"none"})}))},initCoupon:function(){var e=this;this.chooseCouponObj="",this.ableConpon="";var t={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:o.getStorageSync("openid")};this.$request("wechatUser/myPage/usableCouponList",t).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 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 n={companyId:this.companyId,merchantId:this.merchantId,userId:o.getStorageSync("openid"),orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:t};this.payBackground="#cccccc",this.$request("orderc/order/codePay",n).then((function(t){if(setTimeout((function(){e.payBackground="#1dce2e"}),1e3),"00"==t.code){if(t.data.errorMessage)return void o.showToast({title:t.data.errorMessage,icon:"none"});e.signType=t.data.signType,e.paySign=t.data.sign,e.timeStamp=t.data.timestamp,e.nonceStr=t.data.noncestr,e.package=t.data.package,e.orderInfo=t.data.payInfo||"",e.goPay()}else o.showToast({title:t.message,icon:"none"})})).catch((function(o){e.payBackground="#1dce2e"}))}else o.showToast({title:"请输入正确金额",icon:"none"})},goPay:function(){o.requestPayment({provider:"alipay",orderInfo:this.orderInfo,success:function(o){},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 t=String(this.buyMoney).indexOf(".")+1,n=String(this.buyMoney).length-t;n>2&&t>0&&(this.buyMoney=e),parseFloat(this.buyMoney)?this.payBackground="#1dce2e":this.payBackground="#cccccc"}}};e.default=a}).call(this,t("c11b")["default"])},"6a16":function(o,e,t){"use strict";t.r(e);var n=t("3778"),a=t.n(n);for(var c in n)"default"!==c&&function(o){t.d(e,o,(function(){return n[o]}))}(c);e["default"]=a.a},"7f8b":function(o,e,t){},"9dd6":function(o,e,t){"use strict";var n=t("7f8b"),a=t.n(n);a.a},d410:function(o,e,t){"use strict";(function(o){t("6909"),t("921b");n(t("66fd"));var e=n(t("2296"));function n(o){return o&&o.__esModule?o:{default:o}}o(e.default)}).call(this,t("c11b")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/ourPayment/ourPayment"],{"119e":function(o,e,t){"use strict";var n;t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return n}));var a=function(){var o=this,e=o.$createElement,t=(o._self._c,o.chooseCouponObj?parseFloat(o.savedMoney.toFixed(2)):null);o.$mp.data=Object.assign({},{$root:{m0:t}})},c=[]},2296:function(o,e,t){"use strict";t.r(e);var n=t("119e"),a=t("6a16");for(var c in a)"default"!==c&&function(o){t.d(e,o,(function(){return a[o]}))}(c);t("9dd6");var i,s=t("f0c5"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);e["default"]=r.exports},3778:function(o,e,t){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){t.e("components/orderCoupon").then(function(){return resolve(t("5503"))}.bind(null,t)).catch(t.oe)},a={components:{orderCoupon:n},data:function(){return{enterUrl:"",buyMoney:"",companyId:"",merchantId:"",name:"",payType:"",paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",orderInfo:"",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(e){this.enterUrl=o.getStorageSync("alipayQrCode"),this.payType=33,this.enterUrl?(this.merchantId=this.getUrlKey("merchantId"),this.companyId=this.getUrlKey("companyId")):(this.merchantId=e.merchantId,this.companyId=e.companyId),this.merchantId?this.init():this.initTwo()},methods:{getUrlKey:function(o){return(new RegExp("[?|&]"+o+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""},clickNum:function(o,e,t){var n=this;this.buyMoney+=o,this.leftList[e].child[t].background="#dddddd",setTimeout((function(){n.leftList[e].child[t].background=""}),200),clearTimeout(this.flag),this.flag=setTimeout((function(){}),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(){}),1500)},couponChoose:function(o){this.chooseCouponObj=o},showCoupon:function(){this.$refs.orderCoupon.showCoupon()},init:function(){var e=this,t={merchantId:this.merchantId,companyId:this.companyId};this.$request("scenic/order/findCodePayInfo",t).then((function(t){"00"==t.code?e.name=t.data.name:o.showToast({title:t.message,icon:"none"})}))},initTwo:function(){var e=this,t={id:this.companyId};this.$request("user/company/detail",t).then((function(t){"00"==t.code?e.name=t.data.companyVo.companyName:o.showToast({title:t.message,icon:"none"})}))},initCoupon:function(){var e=this;this.chooseCouponObj="",this.ableConpon="";var t={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:o.getStorageSync("openid")};this.$request("wechatUser/myPage/usableCouponList",t).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 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 n={companyId:this.companyId,merchantId:this.merchantId,userId:o.getStorageSync("openid"),orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:t};this.payBackground="#cccccc",this.$request("orderc/order/codePay",n).then((function(t){if(setTimeout((function(){e.payBackground="#1dce2e"}),1e3),"00"==t.code){if(t.data.errorMessage)return void o.showToast({title:t.data.errorMessage,icon:"none"});e.signType=t.data.signType,e.paySign=t.data.sign,e.timeStamp=t.data.timestamp,e.nonceStr=t.data.noncestr,e.package=t.data.package,e.orderInfo=t.data.payInfo||"",e.goPay()}else o.showToast({title:t.message,icon:"none"})})).catch((function(o){e.payBackground="#1dce2e"}))}else o.showToast({title:"请输入正确金额",icon:"none"})},goPay:function(){o.requestPayment({provider:"alipay",orderInfo:this.orderInfo,success:function(o){},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 t=String(this.buyMoney).indexOf(".")+1,n=String(this.buyMoney).length-t;n>2&&t>0&&(this.buyMoney=e),parseFloat(this.buyMoney)?this.payBackground="#1dce2e":this.payBackground="#cccccc"}}};e.default=a}).call(this,t("c11b")["default"])},"6a16":function(o,e,t){"use strict";t.r(e);var n=t("3778"),a=t.n(n);for(var c in n)"default"!==c&&function(o){t.d(e,o,(function(){return n[o]}))}(c);e["default"]=a.a},"7f8b":function(o,e,t){},"9dd6":function(o,e,t){"use strict";var n=t("7f8b"),a=t.n(n);a.a},d410:function(o,e,t){"use strict";(function(o){t("6909"),t("921b");n(t("66fd"));var e=n(t("2296"));function n(o){return o&&o.__esModule?o:{default:o}}o(e.default)}).call(this,t("c11b")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
......@@ -23,9 +23,9 @@
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "胖丁旅行",
"navigationBarBackgroundColor": "#192033",
"backgroundColor": "#F8F8F8"
},
"permission": {
......@@ -36,5 +36,6 @@
"uniStatistics": {
"enable": true
},
"usingComponents": {}
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"0f37":function(e,t,n){"use strict";n.r(t);var r=n("3713");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("dbd1");var u,c,f,i,a=n("f0c5"),l=Object(a["a"])(r["default"],u,c,!1,null,null,null,!1,f,i);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={onLaunch:function(){var t=e.getStorageSync("openid");t||setTimeout((function(){e.navigateTo({url:"pages/login/login"})}),300)},onShow:function(){},onHide:function(){}};t.default=n}).call(this,n("543d")["default"])},3713:function(e,t,n){"use strict";n.r(t);var r=n("25fe"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},d81f:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");var t=c(n("66fd")),r=c(n("0f37")),o=c(n("cd04")),u=c(n("1d0e"));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("48bb"),t.default.prototype.$request=u.default,t.default.use(o.default),t.default.config.productionTip=!1,r.default.mpType="app";var l=new t.default(i({},r.default));e(l).$mount()}).call(this,n("543d")["createApp"])},dbd1:function(e,t,n){"use strict";var r=n("def2"),o=n.n(r);o.a},def2:function(e,t,n){}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"0f37":function(e,t,n){"use strict";n.r(t);var r=n("3713");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("dbd1");var u,c,f,i,a=n("f0c5"),l=Object(a["a"])(r["default"],u,c,!1,null,null,null,!1,f,i);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={onLaunch:function(t){var n=e.getStorageSync("openid");n||setTimeout((function(){e.navigateTo({url:"/pages/login/login"})}),300)},onShow:function(){},onHide:function(){}};t.default=n}).call(this,n("543d")["default"])},3713:function(e,t,n){"use strict";n.r(t);var r=n("25fe"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},d81f:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");var t=c(n("66fd")),r=c(n("0f37")),o=c(n("cd04")),u=c(n("1d0e"));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("48bb"),t.default.prototype.$request=u.default,t.default.use(o.default),t.default.config.productionTip=!1,r.default.mpType="app";var l=new t.default(i({},r.default));e(l).$mount()}).call(this,n("543d")["createApp"])},dbd1:function(e,t,n){"use strict";var r=n("def2"),o=n.n(r);o.a},def2:function(e,t,n){}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(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("e007"),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},e007: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=[]},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"])},"6c5e":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("6c5e"),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,e,t){"use strict";t.r(e);var n=t("aef1"),a=t("6a16");for(var c in a)"default"!==c&&function(o){t.d(e,o,(function(){return a[o]}))}(c);t("9dd6");var i,s=t("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);e["default"]=u.exports},3778:function(o,e,t){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){t.e("components/orderCoupon").then(function(){return resolve(t("5503"))}.bind(null,t)).catch(t.oe)},a={components:{orderCoupon:n},data:function(){return{buyMoney:"",companyId:"",merchantId:"",name:"",payType:42,paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",orderInfo:"",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.enterUrl=o.q,this.enterUrl?(this.merchantId=this.getUrlKey("merchantId"),this.companyId=this.getUrlKey("companyId")):(this.merchantId=o.merchantId,this.companyId=o.companyId),this.merchantId?this.init():this.initTwo(),this.initCoupon()},methods:{getUrlKey:function(o){return(new RegExp("[?|&]"+o+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""},clickNum:function(o,e,t){var n=this;this.buyMoney+=o,this.leftList[e].child[t].background="#dddddd",setTimeout((function(){n.leftList[e].child[t].background=""}),200),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),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,t={merchantId:this.merchantId,companyId:this.companyId};this.$request("scenic/order/findCodePayInfo",t).then((function(t){"00"==t.code?e.name=t.data.name:o.showToast({title:t.message,icon:"none"})}))},initTwo:function(){var e=this,t={id:this.companyId};this.$request("user/company/detail",t).then((function(t){"00"==t.code?e.name=t.data.companyVo.companyName:o.showToast({title:t.message,icon:"none"})}))},initCoupon:function(){var e=this;this.chooseCouponObj="",this.ableConpon="";var t={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:o.getStorageSync("openid")};this.$request("wechatUser/myPage/usableCouponList",t).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 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 n={companyId:this.companyId,merchantId:this.merchantId,userId:o.getStorageSync("openid"),orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:t};this.payBackground="#cccccc",this.$request("orderc/order/codePay",n).then((function(t){if(setTimeout((function(){e.payBackground="#1dce2e"}),1e3),"00"==t.code){if(t.data.errorMessage)return void o.showToast({title:t.data.errorMessage,icon:"none"});e.signType=t.data.signType,e.paySign=t.data.sign,e.timeStamp=t.data.timestamp,e.nonceStr=t.data.noncestr,e.package=t.data.package,e.goPay()}else o.showToast({title:t.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 t=String(this.buyMoney).indexOf(".")+1,n=String(this.buyMoney).length-t;n>2&&t>0&&(this.buyMoney=e),parseFloat(this.buyMoney)?this.payBackground="#1dce2e":this.payBackground="#cccccc"}}};e.default=a}).call(this,t("543d")["default"])},"6a16":function(o,e,t){"use strict";t.r(e);var n=t("3778"),a=t.n(n);for(var c in n)"default"!==c&&function(o){t.d(e,o,(function(){return n[o]}))}(c);e["default"]=a.a},"7f8b":function(o,e,t){},"9dd6":function(o,e,t){"use strict";var n=t("7f8b"),a=t.n(n);a.a},aef1:function(o,e,t){"use strict";var n;t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return n}));var a=function(){var o=this,e=o.$createElement,t=(o._self._c,o.chooseCouponObj?parseFloat(o.savedMoney.toFixed(2)):null);o.$mp.data=Object.assign({},{$root:{m0:t}})},c=[]},d410:function(o,e,t){"use strict";(function(o){t("6909"),t("921b");n(t("66fd"));var e=n(t("2296"));function n(o){return o&&o.__esModule?o:{default:o}}o(e.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"],{"119e":function(o,e,t){"use strict";var n;t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return n}));var a=function(){var o=this,e=o.$createElement,t=(o._self._c,o.chooseCouponObj?parseFloat(o.savedMoney.toFixed(2)):null);o.$mp.data=Object.assign({},{$root:{m0:t}})},c=[]},2296:function(o,e,t){"use strict";t.r(e);var n=t("119e"),a=t("6a16");for(var c in a)"default"!==c&&function(o){t.d(e,o,(function(){return a[o]}))}(c);t("9dd6");var i,s=t("f0c5"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);e["default"]=r.exports},3778:function(o,e,t){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){t.e("components/orderCoupon").then(function(){return resolve(t("5503"))}.bind(null,t)).catch(t.oe)},a={components:{orderCoupon:n},data:function(){return{enterUrl:"",buyMoney:"",companyId:"",merchantId:"",name:"",payType:"",paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",orderInfo:"",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.enterUrl=o.q,this.payType=42,this.enterUrl?(this.merchantId=this.getUrlKey("merchantId"),this.companyId=this.getUrlKey("companyId")):(this.merchantId=o.merchantId,this.companyId=o.companyId),this.merchantId?this.init():this.initTwo(),this.initCoupon()},methods:{getUrlKey:function(o){return(new RegExp("[?|&]"+o+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""},clickNum:function(o,e,t){var n=this;this.buyMoney+=o,this.leftList[e].child[t].background="#dddddd",setTimeout((function(){n.leftList[e].child[t].background=""}),200),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),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,t={merchantId:this.merchantId,companyId:this.companyId};this.$request("scenic/order/findCodePayInfo",t).then((function(t){"00"==t.code?e.name=t.data.name:o.showToast({title:t.message,icon:"none"})}))},initTwo:function(){var e=this,t={id:this.companyId};this.$request("user/company/detail",t).then((function(t){"00"==t.code?e.name=t.data.companyVo.companyName:o.showToast({title:t.message,icon:"none"})}))},initCoupon:function(){var e=this;this.chooseCouponObj="",this.ableConpon="";var t={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:o.getStorageSync("openid")};this.$request("wechatUser/myPage/usableCouponList",t).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 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 n={companyId:this.companyId,merchantId:this.merchantId,userId:o.getStorageSync("openid"),orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:t};this.payBackground="#cccccc",this.$request("orderc/order/codePay",n).then((function(t){if(setTimeout((function(){e.payBackground="#1dce2e"}),1e3),"00"==t.code){if(t.data.errorMessage)return void o.showToast({title:t.data.errorMessage,icon:"none"});e.signType=t.data.signType,e.paySign=t.data.sign,e.timeStamp=t.data.timestamp,e.nonceStr=t.data.noncestr,e.package=t.data.package,e.orderInfo=t.data.payInfo||"",e.goPay()}else o.showToast({title:t.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 t=String(this.buyMoney).indexOf(".")+1,n=String(this.buyMoney).length-t;n>2&&t>0&&(this.buyMoney=e),parseFloat(this.buyMoney)?this.payBackground="#1dce2e":this.payBackground="#cccccc"}}};e.default=a}).call(this,t("543d")["default"])},"6a16":function(o,e,t){"use strict";t.r(e);var n=t("3778"),a=t.n(n);for(var c in n)"default"!==c&&function(o){t.d(e,o,(function(){return n[o]}))}(c);e["default"]=a.a},"7f8b":function(o,e,t){},"9dd6":function(o,e,t){"use strict";var n=t("7f8b"),a=t.n(n);a.a},d410:function(o,e,t){"use strict";(function(o){t("6909"),t("921b");n(t("66fd"));var e=n(t("2296"));function n(o){return o&&o.__esModule?o:{default:o}}o(e.default)}).call(this,t("543d")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
......@@ -6,8 +6,37 @@
"setting": {
"urlCheck": true,
"es6": true,
"enhance": false,
"postcss": true,
"minified": 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
},
"compileType": "miniprogram",
"libVersion": "",
......@@ -15,19 +44,15 @@
"projectname": "uni-pdtravel",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
......
{
"condition": {
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": [
{
"name": "pages/index/index",
"pathName": "pages/index/index",
"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;AACA,kCADA;;AAGA,OAJA,EAIA,GAJA;;AAMA;AACA,GAXA;AAYA;;AAEA,GAdA;AAeA;;AAEA,GAjBA,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\tsetTimeout(()=>{//解决关联普通二维码扫码首次进入时一直显示登录中\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: \"pages/login/login\"\r\n\t\t\t\t\t})\r\n\t\t\t\t},300)\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>\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!./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 // 1627896280272\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;AACA,mCADA;;AAGA,OAJA,EAIA,GAJA;;AAMA;;;;;;;;AAQA,GAlBA;AAmBA;;AAEA,GArBA;AAsBA;;AAEA,GAxBA,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(options) {//初始化完成时触发(全局只触发一次\r\n\t\t\tlet openid=uni.getStorageSync(\"openid\")\r\n\t\t\tif(!openid){\r\n\t\t\t\tsetTimeout(()=>{//解决关联普通二维码扫码首次进入时一直显示登录中\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: \"/pages/login/login\"\r\n\t\t\t\t\t})\r\n\t\t\t\t},300)\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t//#ifdef MP-ALIPAY\r\n\t\t\tif (options.query && options.query.qrCode) {\r\n\t\t\t\tuni.setStorageSync('alipayQrCode',options.query.qrCode)\r\n\t\t\t}else{\r\n\t\t\t\tuni.removeStorageSync('alipayQrCode')\r\n\t\t\t} \r\n\t\t\t//#endif\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>\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!./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 // 1628072771376\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 // 1627896279762\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 // 1628072770842\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/vlog/scenicList/scenicList.vue?74c5","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?dcee","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?2034","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?f775","uni-app:///pages/vlog/scenicList/scenicList.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?9599","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?d17d"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;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;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;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAkoB,CAAgB,8nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8BtpB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA,EANA,E;;;;;;;;;;;;;AC9BA;AAAA;AAAA;AAAA;AAAorC,CAAgB,wmCAAG,EAAC,C;;;;;;;;;;;ACAxsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/scenicList/scenicList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/scenicList/scenicList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"\nvar renderjs\nimport script from \"./scenicList.vue?vue&type=script&lang=js&\"\nexport * from \"./scenicList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./scenicList.vue?vue&type=style&index=0&id=396b8e72&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 \"396b8e72\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/scenicList/scenicList.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!./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"","var components\ntry {\n components = {\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}\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!./scenicList.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!./scenicList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view style=\"padding-top: 30rpx;\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t<text>[ 样片1 ]</text>\r\n\t\t\t\t\t<u-icon name=\"share\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t<text>[ 样片2 ]</text>\r\n\t\t\t\t\t<u-icon name=\"share\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/bottom.png\"></image>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\">\r\n\t\t\t\t<view class=\"paizhao\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_scan.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\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\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\terror(e){//视频播放出错触发函数\r\n\t\t\t\tuni.showModal({content: e.target.errMsg,showCancel: false})\r\n\t\t\t},\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.content{padding: 0 20rpx;height: 100%;width: 100%;background-color: #192033;\r\n\t\t.item{box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);padding: 0 10rpx;border-radius: 10rpx;background-color: #192033;margin-bottom:30rpx;text-align: center;\r\n\t\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t\t\t.title{height: 60rpx;display: flex;align-items: center;justify-content: space-between;font-weight:bold;color: #fff;font-size: 32rpx;padding: 0 10rpx;}\r\n\t\t}\r\n\t\r\n\t\t.bottom{height: 150rpx;width: 100%;position: relative;position: fixed;bottom: 0;right:0rpx;\r\n\t\t\timage{width: 100%;height: 100rpx;position: relative;position: fixed;bottom: 0;}\r\n\t\t\t.paizhao{height: 160rpx;width: 160rpx;z-index: 1;position: absolute;left:50%;top:22%;transform: translate(-50%, -50%);\r\n\t\t\t\timage{height: 100%;width: 100%;}\r\n\t\t\t}\r\n\t\t}\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!./scenicList.vue?vue&type=style&index=0&id=396b8e72&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!./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279679\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/vlog/scenicList/scenicList.vue?74c5","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?dcee","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?2034","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?f775","uni-app:///pages/vlog/scenicList/scenicList.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?9599","webpack:///E:/pangding/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?d17d"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;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;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;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAkoB,CAAgB,8nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8BtpB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA,EANA,E;;;;;;;;;;;;;AC9BA;AAAA;AAAA;AAAA;AAAorC,CAAgB,wmCAAG,EAAC,C;;;;;;;;;;;ACAxsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/scenicList/scenicList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/scenicList/scenicList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"\nvar renderjs\nimport script from \"./scenicList.vue?vue&type=script&lang=js&\"\nexport * from \"./scenicList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./scenicList.vue?vue&type=style&index=0&id=396b8e72&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 \"396b8e72\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/scenicList/scenicList.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!./scenicList.vue?vue&type=template&id=396b8e72&scoped=true&\"","var components\ntry {\n components = {\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}\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!./scenicList.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!./scenicList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view style=\"padding-top: 30rpx;\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t<text>[ 样片1 ]</text>\r\n\t\t\t\t\t<u-icon name=\"share\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t<text>[ 样片2 ]</text>\r\n\t\t\t\t\t<u-icon name=\"share\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/bottom.png\"></image>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\">\r\n\t\t\t\t<view class=\"paizhao\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_scan.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\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\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\terror(e){//视频播放出错触发函数\r\n\t\t\t\tuni.showModal({content: e.target.errMsg,showCancel: false})\r\n\t\t\t},\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.content{padding: 0 20rpx;height: 100%;width: 100%;background-color: #192033;\r\n\t\t.item{box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);padding: 0 10rpx;border-radius: 10rpx;background-color: #192033;margin-bottom:30rpx;text-align: center;\r\n\t\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t\t\t.title{height: 60rpx;display: flex;align-items: center;justify-content: space-between;font-weight:bold;color: #fff;font-size: 32rpx;padding: 0 10rpx;}\r\n\t\t}\r\n\t\r\n\t\t.bottom{height: 150rpx;width: 100%;position: relative;position: fixed;bottom: 0;right:0rpx;\r\n\t\t\timage{width: 100%;height: 100rpx;position: relative;position: fixed;bottom: 0;}\r\n\t\t\t.paizhao{height: 160rpx;width: 160rpx;z-index: 1;position: absolute;left:50%;top:22%;transform: translate(-50%, -50%);\r\n\t\t\t\timage{height: 100%;width: 100%;}\r\n\t\t\t}\r\n\t\t}\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!./scenicList.vue?vue&type=style&index=0&id=396b8e72&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!./scenicList.vue?vue&type=style&index=0&id=396b8e72&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770641\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/vlog/vlogIndex/vlogIndex.vue?3616","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?ed9c","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?98df","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?c1b3","uni-app:///pages/vlog/vlogIndex/vlogIndex.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?4ff2","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?1af8"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,8G;AACAA,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;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,mNAEN;AACP,KAAK;AACL;AACA,aAAa,mNAEN;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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAioB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiFrpB;AACA,MADA,kBACA;AACA;AACA,gBADA,EACA;AACA;AACA;AACA,2DADA,EADA;;AAIA;AACA,2DADA,EAJA;;AAOA;AACA,2DADA,EAPA,CAFA;;;;AAcA,GAhBA;AAiBA,QAjBA,oBAiBA;AACA;AACA,GAnBA;AAoBA,SApBA,qBAoBA;AACA,GArBA;AAsBA;AACA,cADA,wBACA;AACA;AACA,6BADA;AAEA;AACA;AACA,SAJA;AAKA;AACA;AACA,4CADA;AAEA,6BAFA;AAGA,4BAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,eANA,MAMA;AACA;AACA;AACA,aAdA;;AAgBA,SAtBA;;AAwBA,KA1BA;AA2BA,SA3BA,mBA2BA;AACA,KA5BA,EAtBA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAmrC,CAAgB,umCAAG,EAAC,C;;;;;;;;;;;ACAvsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogIndex/vlogIndex.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogIndex/vlogIndex.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogIndex.vue?vue&type=template&id=8024691e&scoped=true&\"\nvar renderjs\nimport script from \"./vlogIndex.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogIndex.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogIndex.vue?vue&type=style&index=0&id=8024691e&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 \"8024691e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogIndex/vlogIndex.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!./vlogIndex.vue?vue&type=template&id=8024691e&scoped=true&\"","var components\ntry {\n components = {\n uSearch: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-search/u-search\" */ \"@/uview-ui/components/u-search/u-search.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-swiper/u-swiper\" */ \"@/uview-ui/components/u-swiper/u-swiper.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}\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!./vlogIndex.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!./vlogIndex.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"content\">\r\n\t\t<u-search placeholder=\"景区/关键词搜索\" v-model=\"search\" :clearabled=\"true\" @change=\"query\" :show-action=\"true\" action-text=\"搜索\" :animation=\"true\"></u-search>\r\n <view class=\"swiper\">\r\n\t\t\t<u-swiper :list=\"list\"></u-swiper>\r\n\t\t</view>\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"shuxian\"></view>\r\n\t\t\t<view>我的VLOG视频集</view>\r\n\t\t</view>\r\n\t\t<view class=\"myvolg\" style=\"justify-content: center;\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"access\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<view class=\"btnn\">\r\n\t\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_clicktoenter.png\"></image>\r\n\t\t\t\t\t\t<view style=\"color: #fff;font-weight: bold;margin-left: 5rpx;\">\r\n\t\t\t\t\t\t\t点击进入\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"shuxian\"></view>\r\n\t\t\t<view>定制我的照片集</view>\r\n\t\t</view>\r\n\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t<view class=\"photoGallery\">\r\n\t\t\t\t<image class=\"img\" src=\"../../../static/img/vlog/icon/bg.jpg\"></image>\r\n\t\t\t\t<view class=\"access\"></view>\r\n\t\t\t\t<view class=\"btnn\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_clicktoenter.png\"></image>\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t开始制作\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</navigator>\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"shuxian\"></view>\r\n\t\t\t<view>景区模板</view>\r\n\t\t</view>\r\n\t\t<view class=\"row\">\r\n\t\t\t<navigator url=\"../scenicList/scenicList\" class=\"item\">\r\n\t\t\t\t<u-icon name=\"play-circle\" class=\"icon\"></u-icon>\r\n\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t<text>长江索道</text>\r\n\t\t\t</navigator>\r\n\t\t\t<navigator url=\"../scenicList/scenicList\" class=\"item\">\r\n\t\t\t\t<u-icon name=\"play-circle\" class=\"icon\"></u-icon>\r\n\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t<text>云端之眼·高空观景台</text>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/bottom.png\"></image>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\">\r\n\t\t\t\t<view class=\"paizhao\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_scan.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t\t\r\n </view>\r\n</template>\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n\t\t\tsearch:\"\",//景区\r\n\t\t\tlist: [\r\n\t\t\t\t{\r\n\t\t\t\t\timage: 'https://cdn.uviewui.com/uview/swiper/1.jpg'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\timage: 'https://cdn.uviewui.com/uview/swiper/2.jpg'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\timage: 'https://cdn.uviewui.com/uview/swiper/3.jpg'\r\n\t\t\t\t}\r\n\t\t\t],\r\n }\r\n },\r\n\tonLoad(){//代替 vue 里面的 created\r\n\t\tthis.openCamera()\r\n\t},\r\n\tonReady() {//代替 vue 里面的 mounted\r\n\t},\r\n methods: {\r\n\t\topenCamera(){//用户首次进入打开摄像头\r\n\t\t\tuni.authorize({\r\n\t\t\t\tscope:'scope.camera',\r\n\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\tconsole.log('摄像头已打开');\r\n\t\t\t\t},\r\n\t\t\t\tfail: (res) => {\r\n\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\tcontent:'检测到您没打开摄像头权限,是否去设置打开?',\r\n\t\t\t\t\t\tconfirmText: \"确认\",\r\n\t\t\t\t\t\tcancelText:'取消',\r\n\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\tif(res.confirm){\r\n\t\t\t\t\t\t\t\tuni.openSetting({\r\n\t\t\t\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tuni.navigateBack({delta:1})\r\n\t\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\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tquery(){//查询\r\n\t\t}\r\n \r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;\r\n\t\t.swiper{margin-top: 20rpx;}\r\n\t\t.title{margin-top: 40rpx;display: flex;align-items: center;\r\n\t\t\t.shuxian{height: 30rpx;width: 5rpx;background-color: #3688FF;margin-right: 20rpx;}\r\n\t\t\tview{font-weight: bold;}\r\n\t\t}\r\n\t\t.myvolg{height: 150rpx;border-radius: 10rpx;background-color: #212B44;margin-top: 20rpx;display: flex;justify-content: start;\r\n\t\t\t.item:not(first-child){width: 25%;height: 100%;padding:10rpx 10rpx;\r\n\t\t\t\timage{width: 100%;height:130rpx;border-radius: 10rpx;}\r\n\t\t\t}\r\n\t\t\t.item:first-child{width: 25%;height: 100%;padding-right:10rpx;\r\n\t\t\t\timage{width: 100%;height:130rpx;border-radius: 10rpx;}\r\n\t\t\t}\r\n\t\t\t.access{width: 25%;height: 100%;\r\n\t\t\t\t.btnn{height: 50rpx;display: flex;align-items: center;padding-top: 75rpx;padding-left: 10rpx;\r\n\t\t\t\t\timage{width: 40rpx;height: 40rpx;}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.photoGallery{height: 150rpx;border-radius: 10rpx;background-color: #212B44;margin-top: 20rpx;position: relative;\r\n\t\t\t.img{width: 100%;height: 100%;border-radius: 10rpx;}\r\n\t\t\t.access{width: 100%;height: 100%;position: absolute;background-color: #000000;top: 0;opacity: 0.3;border-radius: 10rpx;}\r\n\t\t\t.btnn{display: flex;justify-content: center;align-items: center;color: #fff;position: absolute;left:50%;top:50%;transform: translate(-50%, -50%);font-weight: bold;font-size: 32rpx;\r\n\t\t\t\timage{width: 40rpx;height: 40rpx;margin-right: 10rpx;}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.row{display: flex;flex-wrap: wrap;justify-content: space-between;margin-top: 20rpx;padding-bottom: 250rpx;\r\n\t\t\t.item{width: 49%;height: 200rpx;margin-top: 15rpx;position: relative;\r\n\t\t\t\timage{width: 100%;height: 100%;border-radius: 10rpx;}\r\n\t\t\t\t.icon{position: absolute;left:50%;top:50%;transform: translate(-50%, -50%);font-size: 50rpx;}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.bottom{height: 150rpx;width: 100%;position: relative;position: fixed;bottom: 0;right:0rpx;\r\n\t\t\timage{width: 100%;height: 100rpx;position: relative;position: fixed;bottom: 0;}\r\n\t\t\t.paizhao{height: 160rpx;width: 160rpx;z-index: 1;position: absolute;left:50%;top:22%;transform: translate(-50%, -50%);\r\n\t\t\t\timage{height: 100%;width: 100%;}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","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!./vlogIndex.vue?vue&type=style&index=0&id=8024691e&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!./vlogIndex.vue?vue&type=style&index=0&id=8024691e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279733\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/vlog/vlogIndex/vlogIndex.vue?3616","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?ed9c","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?98df","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?c1b3","uni-app:///pages/vlog/vlogIndex/vlogIndex.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?4ff2","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?1af8"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,8G;AACAA,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;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,mNAEN;AACP,KAAK;AACL;AACA,aAAa,mNAEN;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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAioB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiFrpB;AACA,MADA,kBACA;AACA;AACA,gBADA,EACA;AACA;AACA;AACA,2DADA,EADA;;AAIA;AACA,2DADA,EAJA;;AAOA;AACA,2DADA,EAPA,CAFA;;;;AAcA,GAhBA;AAiBA,QAjBA,oBAiBA;AACA;AACA,GAnBA;AAoBA,SApBA,qBAoBA;AACA,GArBA;AAsBA;AACA,cADA,wBACA;AACA;AACA,6BADA;AAEA;AACA;AACA,SAJA;AAKA;AACA;AACA,4CADA;AAEA,6BAFA;AAGA,4BAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,eANA,MAMA;AACA;AACA;AACA,aAdA;;AAgBA,SAtBA;;AAwBA,KA1BA;AA2BA,SA3BA,mBA2BA;AACA,KA5BA,EAtBA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAmrC,CAAgB,umCAAG,EAAC,C;;;;;;;;;;;ACAvsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogIndex/vlogIndex.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogIndex/vlogIndex.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogIndex.vue?vue&type=template&id=8024691e&scoped=true&\"\nvar renderjs\nimport script from \"./vlogIndex.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogIndex.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogIndex.vue?vue&type=style&index=0&id=8024691e&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 \"8024691e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogIndex/vlogIndex.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!./vlogIndex.vue?vue&type=template&id=8024691e&scoped=true&\"","var components\ntry {\n components = {\n uSearch: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-search/u-search\" */ \"@/uview-ui/components/u-search/u-search.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-swiper/u-swiper\" */ \"@/uview-ui/components/u-swiper/u-swiper.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}\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!./vlogIndex.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!./vlogIndex.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"content\">\r\n\t\t<u-search placeholder=\"景区/关键词搜索\" v-model=\"search\" :clearabled=\"true\" @change=\"query\" :show-action=\"true\" action-text=\"搜索\" :animation=\"true\"></u-search>\r\n <view class=\"swiper\">\r\n\t\t\t<u-swiper :list=\"list\"></u-swiper>\r\n\t\t</view>\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"shuxian\"></view>\r\n\t\t\t<view>我的VLOG视频集</view>\r\n\t\t</view>\r\n\t\t<view class=\"myvolg\" style=\"justify-content: center;\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"access\">\r\n\t\t\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t\t\t<view class=\"btnn\">\r\n\t\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_clicktoenter.png\"></image>\r\n\t\t\t\t\t\t<view style=\"color: #fff;font-weight: bold;margin-left: 5rpx;\">\r\n\t\t\t\t\t\t\t点击进入\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</navigator>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"shuxian\"></view>\r\n\t\t\t<view>定制我的照片集</view>\r\n\t\t</view>\r\n\t\t<navigator url=\"../vlogList/vlogList\">\r\n\t\t\t<view class=\"photoGallery\">\r\n\t\t\t\t<image class=\"img\" src=\"../../../static/img/vlog/icon/bg.jpg\"></image>\r\n\t\t\t\t<view class=\"access\"></view>\r\n\t\t\t\t<view class=\"btnn\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_clicktoenter.png\"></image>\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t开始制作\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</navigator>\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"shuxian\"></view>\r\n\t\t\t<view>景区模板</view>\r\n\t\t</view>\r\n\t\t<view class=\"row\">\r\n\t\t\t<navigator url=\"../scenicList/scenicList\" class=\"item\">\r\n\t\t\t\t<u-icon name=\"play-circle\" class=\"icon\"></u-icon>\r\n\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t<text>长江索道</text>\r\n\t\t\t</navigator>\r\n\t\t\t<navigator url=\"../scenicList/scenicList\" class=\"item\">\r\n\t\t\t\t<u-icon name=\"play-circle\" class=\"icon\"></u-icon>\r\n\t\t\t\t<image src=\"https://cdn.uviewui.com/uview/swiper/1.jpg\"></image>\r\n\t\t\t\t<text>云端之眼·高空观景台</text>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<image src=\"../../../static/img/vlog/icon/bottom.png\"></image>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\">\r\n\t\t\t\t<view class=\"paizhao\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_scan.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t\t\r\n </view>\r\n</template>\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n\t\t\tsearch:\"\",//景区\r\n\t\t\tlist: [\r\n\t\t\t\t{\r\n\t\t\t\t\timage: 'https://cdn.uviewui.com/uview/swiper/1.jpg'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\timage: 'https://cdn.uviewui.com/uview/swiper/2.jpg'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\timage: 'https://cdn.uviewui.com/uview/swiper/3.jpg'\r\n\t\t\t\t}\r\n\t\t\t],\r\n }\r\n },\r\n\tonLoad(){//代替 vue 里面的 created\r\n\t\tthis.openCamera()\r\n\t},\r\n\tonReady() {//代替 vue 里面的 mounted\r\n\t},\r\n methods: {\r\n\t\topenCamera(){//用户首次进入打开摄像头\r\n\t\t\tuni.authorize({\r\n\t\t\t\tscope:'scope.camera',\r\n\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\tconsole.log('摄像头已打开');\r\n\t\t\t\t},\r\n\t\t\t\tfail: (res) => {\r\n\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\tcontent:'检测到您没打开摄像头权限,是否去设置打开?',\r\n\t\t\t\t\t\tconfirmText: \"确认\",\r\n\t\t\t\t\t\tcancelText:'取消',\r\n\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\tif(res.confirm){\r\n\t\t\t\t\t\t\t\tuni.openSetting({\r\n\t\t\t\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tuni.navigateBack({delta:1})\r\n\t\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\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tquery(){//查询\r\n\t\t}\r\n \r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;\r\n\t\t.swiper{margin-top: 20rpx;}\r\n\t\t.title{margin-top: 40rpx;display: flex;align-items: center;\r\n\t\t\t.shuxian{height: 30rpx;width: 5rpx;background-color: #3688FF;margin-right: 20rpx;}\r\n\t\t\tview{font-weight: bold;}\r\n\t\t}\r\n\t\t.myvolg{height: 150rpx;border-radius: 10rpx;background-color: #212B44;margin-top: 20rpx;display: flex;justify-content: start;\r\n\t\t\t.item:not(first-child){width: 25%;height: 100%;padding:10rpx 10rpx;\r\n\t\t\t\timage{width: 100%;height:130rpx;border-radius: 10rpx;}\r\n\t\t\t}\r\n\t\t\t.item:first-child{width: 25%;height: 100%;padding-right:10rpx;\r\n\t\t\t\timage{width: 100%;height:130rpx;border-radius: 10rpx;}\r\n\t\t\t}\r\n\t\t\t.access{width: 25%;height: 100%;\r\n\t\t\t\t.btnn{height: 50rpx;display: flex;align-items: center;padding-top: 75rpx;padding-left: 10rpx;\r\n\t\t\t\t\timage{width: 40rpx;height: 40rpx;}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.photoGallery{height: 150rpx;border-radius: 10rpx;background-color: #212B44;margin-top: 20rpx;position: relative;\r\n\t\t\t.img{width: 100%;height: 100%;border-radius: 10rpx;}\r\n\t\t\t.access{width: 100%;height: 100%;position: absolute;background-color: #000000;top: 0;opacity: 0.3;border-radius: 10rpx;}\r\n\t\t\t.btnn{display: flex;justify-content: center;align-items: center;color: #fff;position: absolute;left:50%;top:50%;transform: translate(-50%, -50%);font-weight: bold;font-size: 32rpx;\r\n\t\t\t\timage{width: 40rpx;height: 40rpx;margin-right: 10rpx;}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.row{display: flex;flex-wrap: wrap;justify-content: space-between;margin-top: 20rpx;padding-bottom: 250rpx;\r\n\t\t\t.item{width: 49%;height: 200rpx;margin-top: 15rpx;position: relative;\r\n\t\t\t\timage{width: 100%;height: 100%;border-radius: 10rpx;}\r\n\t\t\t\t.icon{position: absolute;left:50%;top:50%;transform: translate(-50%, -50%);font-size: 50rpx;}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.bottom{height: 150rpx;width: 100%;position: relative;position: fixed;bottom: 0;right:0rpx;\r\n\t\t\timage{width: 100%;height: 100rpx;position: relative;position: fixed;bottom: 0;}\r\n\t\t\t.paizhao{height: 160rpx;width: 160rpx;z-index: 1;position: absolute;left:50%;top:22%;transform: translate(-50%, -50%);\r\n\t\t\t\timage{height: 100%;width: 100%;}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","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!./vlogIndex.vue?vue&type=style&index=0&id=8024691e&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!./vlogIndex.vue?vue&type=style&index=0&id=8024691e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770823\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/vlog/vlogList/vlogList.vue?d361","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?7ac4","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?868d","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?b9dd","uni-app:///pages/vlog/vlogList/vlogList.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?5973","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?5566"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyBppB;;AAEA,MAFA,kBAEA;AACA;AACA,WADA;;AAGA,GANA;AAOA,QAPA,oBAOA;AACA;AACA,2BADA;AAEA,iDAFA;;AAIA,GAZA;AAaA,mBAbA,6BAaA,GAbA,EAaA;AACA;AACA;AACA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,+CAHA;AAIA,mBAJA;AAKA,wFALA;;AAOA;AACA,GAzBA;AA0BA,iBA1BA,2BA0BA,GA1BA,EA0BA;AACA;AACA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,6BAHA;AAIA,mBAJA;AAKA,wFALA;;AAOA;AACA,GArCA;AAsCA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA,EAtCA,E;;;;;;;;;;;;;ACzBA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogList/vlogList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogList/vlogList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogList.vue?vue&type=template&id=1f5bdab2&scoped=true&\"\nvar renderjs\nimport script from \"./vlogList.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&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 \"1f5bdab2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogList/vlogList.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!./vlogList.vue?vue&type=template&id=1f5bdab2&scoped=true&\"","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!./vlogList.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!./vlogList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\":style=\"aa===1?'background-color: #192033':''\">\r\n\t\t<view v-if=\"1\" style=\"padding-top: 30rpx;\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t\t<view class=\"btnn\">分享下载</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t<view class=\"btnn\">分享下载</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-else class=\"empty\">\r\n\t\t\t<view class=\"empty1\" >\r\n\t\t\t\t<text>啊哦。。。没找到呢</text>\r\n\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_thereisnovideo.png\"></image>\r\n\t\t\t</view>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\" class=\"btnn\">\r\n\t\t\t\t<view>点击获取我的Vlog</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\t\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\taa:1\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(){\r\n\t\t\twx.showShareMenu({\r\n\t\t\t\twithShareTicket:true,\r\n\t\t\t\tmenus:[\"shareAppMessage\",\"shareTimeline\"]\r\n\t\t\t})\r\n\t\t},\r\n\t\tonShareAppMessage(res) {//发送给朋友\r\n\t\t\t// 此处的openid为分享者的部分信息,需要传递给其他人\r\n\t\t\tlet openid = uni.getStorageSync('openid');\r\n\t\t\tif (openid) {\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅游',\r\n\t\t\t\t\ttype: 0,\r\n\t\t\t\t\tpath: '/pages/index/index?id=' + openid,\r\n\t\t\t\t\tsummary: \"\",\r\n\t\t\t\t\timageUrl: \"https://58d.oss-cn-hangzhou.aliyuncs.com/goods/ttg_1596073788000.png\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShareTimeline(res) {//分享到朋友圈\r\n\t\t\tlet openid = uni.getStorageSync('openid');\r\n\t\t\tif (openid) {\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅游',\r\n\t\t\t\t\ttype: 0,\r\n\t\t\t\t\tquery: 'id=' + openid,\r\n\t\t\t\t\tsummary: \"\",\r\n\t\t\t\t\timageUrl: \"https://58d.oss-cn-hangzhou.aliyuncs.com/goods/ttg_1596073788000.png\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\terror(e){//视频播放出错触发函数\r\n\t\t\t\tuni.showModal({content: e.target.errMsg,showCancel: false})\r\n\t\t\t},\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.content{padding: 0 20rpx;height: 100%;width: 100%;text-align: center;\r\n\t\t.item{box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);padding: 0 10rpx;border-radius: 10rpx;background-color: #192033;margin-bottom:30rpx;text-align: center;\r\n\t\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t\t\t.btnn{display: inline-block;font-size:28rpx;border-radius:40rpx;text-align: center;background-color: #FFE600;padding: 20rpx 40rpx;margin: 30rpx 0;font-weight: bold;}\r\n\t\t}\r\n\t\t.empty{text-align: center;padding-top: 30rpx;\r\n\t\t\t.empty1{height: 200rpx;background:linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);line-height: 200rpx;border-radius: 10rpx;margin-bottom: 300rpx;\r\n\t\t\t\ttext{font-weight: bold;font-size: 32rpx;float: left;margin-left: 120rpx;}\r\n\t\t\t\timage{height: 180rpx;width: 200rpx;float: right;margin-right: 50rpx;}\r\n\t\t\t}\r\n\t\t\t.btnn{display: inline-block;font-size:28rpx;border-radius:40rpx;text-align: center;background-color: #FFE600;padding: 20rpx 40rpx;margin: 30rpx 0;font-weight: bold;}\r\n\t\t}\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!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&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!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279626\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/vlog/vlogList/vlogList.vue?d361","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?7ac4","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?868d","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?b9dd","uni-app:///pages/vlog/vlogList/vlogList.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?5973","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?5566"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyBppB;;AAEA,MAFA,kBAEA;AACA;AACA,WADA;;AAGA,GANA;AAOA,QAPA,oBAOA;AACA;AACA,2BADA;AAEA,iDAFA;;AAIA,GAZA;AAaA,mBAbA,6BAaA,GAbA,EAaA;AACA;AACA;AACA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,+CAHA;AAIA,mBAJA;AAKA,wFALA;;AAOA;AACA,GAzBA;AA0BA,iBA1BA,2BA0BA,GA1BA,EA0BA;AACA;AACA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,6BAHA;AAIA,mBAJA;AAKA,wFALA;;AAOA;AACA,GArCA;AAsCA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA,EAtCA,E;;;;;;;;;;;;;ACzBA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogList/vlogList.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogList/vlogList.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogList.vue?vue&type=template&id=1f5bdab2&scoped=true&\"\nvar renderjs\nimport script from \"./vlogList.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&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 \"1f5bdab2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogList/vlogList.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!./vlogList.vue?vue&type=template&id=1f5bdab2&scoped=true&\"","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!./vlogList.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!./vlogList.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\":style=\"aa===1?'background-color: #192033':''\">\r\n\t\t<view v-if=\"1\" style=\"padding-top: 30rpx;\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t\t<view class=\"btnn\">分享下载</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<video class=\"video\" src=\"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4\" @error=\"error\" controls></video>\r\n\t\t\t\t<view class=\"btnn\">分享下载</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-else class=\"empty\">\r\n\t\t\t<view class=\"empty1\" >\r\n\t\t\t\t<text>啊哦。。。没找到呢</text>\r\n\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_thereisnovideo.png\"></image>\r\n\t\t\t</view>\r\n\t\t\t<navigator url=\"../vlogface/vlogface\" class=\"btnn\">\r\n\t\t\t\t<view>点击获取我的Vlog</view>\r\n\t\t\t</navigator>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\t\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\taa:1\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(){\r\n\t\t\twx.showShareMenu({\r\n\t\t\t\twithShareTicket:true,\r\n\t\t\t\tmenus:[\"shareAppMessage\",\"shareTimeline\"]\r\n\t\t\t})\r\n\t\t},\r\n\t\tonShareAppMessage(res) {//发送给朋友\r\n\t\t\t// 此处的openid为分享者的部分信息,需要传递给其他人\r\n\t\t\tlet openid = uni.getStorageSync('openid');\r\n\t\t\tif (openid) {\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅游',\r\n\t\t\t\t\ttype: 0,\r\n\t\t\t\t\tpath: '/pages/index/index?id=' + openid,\r\n\t\t\t\t\tsummary: \"\",\r\n\t\t\t\t\timageUrl: \"https://58d.oss-cn-hangzhou.aliyuncs.com/goods/ttg_1596073788000.png\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShareTimeline(res) {//分享到朋友圈\r\n\t\t\tlet openid = uni.getStorageSync('openid');\r\n\t\t\tif (openid) {\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅游',\r\n\t\t\t\t\ttype: 0,\r\n\t\t\t\t\tquery: 'id=' + openid,\r\n\t\t\t\t\tsummary: \"\",\r\n\t\t\t\t\timageUrl: \"https://58d.oss-cn-hangzhou.aliyuncs.com/goods/ttg_1596073788000.png\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\terror(e){//视频播放出错触发函数\r\n\t\t\t\tuni.showModal({content: e.target.errMsg,showCancel: false})\r\n\t\t\t},\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.content{padding: 0 20rpx;height: 100%;width: 100%;text-align: center;\r\n\t\t.item{box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);padding: 0 10rpx;border-radius: 10rpx;background-color: #192033;margin-bottom:30rpx;text-align: center;\r\n\t\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t\t\t.btnn{display: inline-block;font-size:28rpx;border-radius:40rpx;text-align: center;background-color: #FFE600;padding: 20rpx 40rpx;margin: 30rpx 0;font-weight: bold;}\r\n\t\t}\r\n\t\t.empty{text-align: center;padding-top: 30rpx;\r\n\t\t\t.empty1{height: 200rpx;background:linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);line-height: 200rpx;border-radius: 10rpx;margin-bottom: 300rpx;\r\n\t\t\t\ttext{font-weight: bold;font-size: 32rpx;float: left;margin-left: 120rpx;}\r\n\t\t\t\timage{height: 180rpx;width: 200rpx;float: right;margin-right: 50rpx;}\r\n\t\t\t}\r\n\t\t\t.btnn{display: inline-block;font-size:28rpx;border-radius:40rpx;text-align: center;background-color: #FFE600;padding: 20rpx 40rpx;margin: 30rpx 0;font-weight: bold;}\r\n\t\t}\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!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&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!./vlogList.vue?vue&type=style&index=0&id=1f5bdab2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770767\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/vlog/vlogface/vlogface.vue?f0c6","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?eac3","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d895","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?5b43","uni-app:///pages/vlog/vlogface/vlogface.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d2e3","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?337e"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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,mNAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCppB;AACA,MADA,kBACA;AACA;AACA,aADA,EACA;AACA,aAFA,EAEA;AACA,gBAHA;;AAKA,GAPA;AAQA,QARA,oBAQA;AACA,GATA;AAUA,SAVA,qBAUA;AACA;AACA,GAZA;AAaA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA;AACA;AACA,aAJA;;AAMA;AACA,OAbA,EAaA,IAbA;AAcA,KAhBA;AAiBA,SAjBA,iBAiBA,CAjBA,EAiBA;AACA;AACA,KAnBA;AAoBA,YApBA,sBAoBA;AACA;AACA;AACA;AACA;AACA,KAzBA,EAbA,E;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogface/vlogface.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogface/vlogface.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"\nvar renderjs\nimport script from \"./vlogface.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogface.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogface.vue?vue&type=style&index=0&id=04da0587&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 \"04da0587\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogface/vlogface.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!./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"","var components\ntry {\n components = {\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 uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.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}\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!./vlogface.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!./vlogface.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"d1\"></view>\r\n\t\t<view class=\"d2\"></view>\r\n\t\t<camera class=\"camera\" device-position=\"front\" flash=\"off\" @error=\"error\"></camera>\r\n\t\t<view class=\"surface\" v-show=\"show\">\r\n\t\t\t<view>请正对镜头</view>\r\n\t\t\t<text>{{text}}</text>\r\n\t\t</view>\r\n\t\t<image class=\"photo\" v-show=\"src\" :src=\"src\"></image>\r\n\t\t<view class=\"hint\">\r\n\t\t\t<u-icon name=\"error-circle\"></u-icon>\r\n\t\t\t 没有检测到人脸,请正对拍摄框拍摄哦~\r\n\t\t</view>\r\n\t\t<view class=\"hint1\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_lightisenough.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>光线充足</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\r\n\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_isthelens.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>正对镜头</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_openface.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>不遮挡面部</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-button type=\"success\" size=\"medium\" @click=\"scanFace\" >重新拍摄</u-button>\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\tsrc:\"\",//照片\r\n\t\t\t\ttext:3,//倒计时\r\n\t\t\t\tshow:true\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(){//代替 vue 里面的 created\r\n\t\t},\r\n\t\tonReady() {//代替 vue 里面的 mounted\r\n\t\t\tthis.takePhoto()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttakePhoto(){//扫脸\r\n\t\t\t\tvar test=setInterval(()=>{\r\n\t\t\t\t\tthis.text=this.text-1;\r\n\t\t\t\t\tif(this.text===-1){\r\n\t\t\t\t\t\tclearTimeout(test)\r\n\t\t\t\t\t\tthis.show=false\r\n\t\t\t\t\t\tconst ctx = uni.createCameraContext();\r\n\t\t\t\t\t\tctx.takePhoto({\r\n\t\t\t\t\t\t quality: 'high',\r\n\t\t\t\t\t\t success: (res) => {\r\n\t\t\t\t\t\t this.src = res.tempImagePath\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\t},1000)\r\n\t\t\t},\r\n\t\t\terror(e) {//相机报错\r\n\t\t\t\tconsole.log(e.detail);\r\n\t\t\t},\r\n\t\t\tscanFace(){//重新扫脸\r\n\t\t\t\tthis.src=\"\";\r\n\t\t\t\tthis.text=3;\r\n\t\t\t\tthis.show=true;\r\n\t\t\t\tthis.takePhoto()\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.content{padding: 0 20rpx;height: 100%;width: 100%;text-align: center;\r\n\t\t.d1{width: 500rpx;height: 500rpx;border-radius: 50%;background-color: #CEE5FF;position: absolute;top: 150rpx;left: 50%;transform: translate(-40%)}\r\n\t\t.d2{width: 500rpx;height: 500rpx;border-radius: 50%;background-color: #ECF5FF;position: absolute;top: 150rpx;left: 50%;transform: translate(-60%)}\r\n\t\t.camera{width: 500rpx;height: 500rpx;border-radius: 50%;position: absolute;top: 150rpx;left: 50%;transform: translate(-50%)}\r\n\t\t.surface{width: 500rpx;height: 500rpx;border-radius: 50%;position: absolute;top: 150rpx;left: 50%;transform: translate(-50%);text-align: center;font-size: 40rpx;color: #fff;\r\n\t\tview{margin: 100rpx 0;}\r\n\t\ttext{font-size: 70rpx;}\r\n\t\t}\r\n\t\t.photo{width: 500rpx;height: 500rpx;border-radius: 50%;position: absolute;top: 150rpx;left: 50%;transform: translate(-50%)}\r\n\t\t.hint{color: red;padding-top: 680rpx;}\r\n\t\t.hint1{height: 300rpx;display: flex;justify-content: space-between;padding-top: 50rpx;\r\n\t\t\t.item{width: 30%;text-align: center;}\r\n\t\t\timage{height: 60rpx;width: 60rpx;}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\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!./vlogface.vue?vue&type=style&index=0&id=04da0587&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!./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279750\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/vlog/vlogface/vlogface.vue?f0c6","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?eac3","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d895","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?5b43","uni-app:///pages/vlog/vlogface/vlogface.vue","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d2e3","webpack:///E:/pangding/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?337e"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,2G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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,mNAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCppB;AACA,MADA,kBACA;AACA;AACA,aADA,EACA;AACA,aAFA,EAEA;AACA,gBAHA;;AAKA,GAPA;AAQA,QARA,oBAQA;AACA,GATA;AAUA,SAVA,qBAUA;AACA;AACA,GAZA;AAaA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA;AACA;AACA,aAJA;;AAMA;AACA,OAbA,EAaA,IAbA;AAcA,KAhBA;AAiBA,SAjBA,iBAiBA,CAjBA,EAiBA;AACA;AACA,KAnBA;AAoBA,YApBA,sBAoBA;AACA;AACA;AACA;AACA;AACA,KAzBA,EAbA,E;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/vlogface/vlogface.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/vlogface/vlogface.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"\nvar renderjs\nimport script from \"./vlogface.vue?vue&type=script&lang=js&\"\nexport * from \"./vlogface.vue?vue&type=script&lang=js&\"\nimport style0 from \"./vlogface.vue?vue&type=style&index=0&id=04da0587&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 \"04da0587\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/vlogface/vlogface.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!./vlogface.vue?vue&type=template&id=04da0587&scoped=true&\"","var components\ntry {\n components = {\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 uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.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}\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!./vlogface.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!./vlogface.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"d1\"></view>\r\n\t\t<view class=\"d2\"></view>\r\n\t\t<camera class=\"camera\" device-position=\"front\" flash=\"off\" @error=\"error\"></camera>\r\n\t\t<view class=\"surface\" v-show=\"show\">\r\n\t\t\t<view>请正对镜头</view>\r\n\t\t\t<text>{{text}}</text>\r\n\t\t</view>\r\n\t\t<image class=\"photo\" v-show=\"src\" :src=\"src\"></image>\r\n\t\t<view class=\"hint\">\r\n\t\t\t<u-icon name=\"error-circle\"></u-icon>\r\n\t\t\t 没有检测到人脸,请正对拍摄框拍摄哦~\r\n\t\t</view>\r\n\t\t<view class=\"hint1\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_lightisenough.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>光线充足</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\r\n\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_isthelens.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>正对镜头</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<image src=\"../../../static/img/vlog/icon/icon_openface.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>不遮挡面部</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-button type=\"success\" size=\"medium\" @click=\"scanFace\" >重新拍摄</u-button>\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\tsrc:\"\",//照片\r\n\t\t\t\ttext:3,//倒计时\r\n\t\t\t\tshow:true\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(){//代替 vue 里面的 created\r\n\t\t},\r\n\t\tonReady() {//代替 vue 里面的 mounted\r\n\t\t\tthis.takePhoto()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttakePhoto(){//扫脸\r\n\t\t\t\tvar test=setInterval(()=>{\r\n\t\t\t\t\tthis.text=this.text-1;\r\n\t\t\t\t\tif(this.text===-1){\r\n\t\t\t\t\t\tclearTimeout(test)\r\n\t\t\t\t\t\tthis.show=false\r\n\t\t\t\t\t\tconst ctx = uni.createCameraContext();\r\n\t\t\t\t\t\tctx.takePhoto({\r\n\t\t\t\t\t\t quality: 'high',\r\n\t\t\t\t\t\t success: (res) => {\r\n\t\t\t\t\t\t this.src = res.tempImagePath\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\t},1000)\r\n\t\t\t},\r\n\t\t\terror(e) {//相机报错\r\n\t\t\t\tconsole.log(e.detail);\r\n\t\t\t},\r\n\t\t\tscanFace(){//重新扫脸\r\n\t\t\t\tthis.src=\"\";\r\n\t\t\t\tthis.text=3;\r\n\t\t\t\tthis.show=true;\r\n\t\t\t\tthis.takePhoto()\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.content{padding: 0 20rpx;height: 100%;width: 100%;text-align: center;\r\n\t\t.d1{width: 500rpx;height: 500rpx;border-radius: 50%;background-color: #CEE5FF;position: absolute;top: 150rpx;left: 50%;transform: translate(-40%)}\r\n\t\t.d2{width: 500rpx;height: 500rpx;border-radius: 50%;background-color: #ECF5FF;position: absolute;top: 150rpx;left: 50%;transform: translate(-60%)}\r\n\t\t.camera{width: 500rpx;height: 500rpx;border-radius: 50%;position: absolute;top: 150rpx;left: 50%;transform: translate(-50%)}\r\n\t\t.surface{width: 500rpx;height: 500rpx;border-radius: 50%;position: absolute;top: 150rpx;left: 50%;transform: translate(-50%);text-align: center;font-size: 40rpx;color: #fff;\r\n\t\tview{margin: 100rpx 0;}\r\n\t\ttext{font-size: 70rpx;}\r\n\t\t}\r\n\t\t.photo{width: 500rpx;height: 500rpx;border-radius: 50%;position: absolute;top: 150rpx;left: 50%;transform: translate(-50%)}\r\n\t\t.hint{color: red;padding-top: 680rpx;}\r\n\t\t.hint1{height: 300rpx;display: flex;justify-content: space-between;padding-top: 50rpx;\r\n\t\t\t.item{width: 30%;text-align: center;}\r\n\t\t\timage{height: 60rpx;width: 60rpx;}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\程序应用\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\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!./vlogface.vue?vue&type=style&index=0&id=04da0587&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!./vlogface.vue?vue&type=style&index=0&id=04da0587&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770791\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/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+EjpB;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;;;;;;;;;;;;;AC/EA;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<!--#ifdef MP-ALIPAY -->\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<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<!--#endif-->\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</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 // 1627896614183\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/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+EjpB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA;AACA,eADA,yBACA;AACA;AACA,qBADA;AAEA,kBAFA;AAGA;AACA;AACA,SALA;AAMA;;AAEA,SARA;;AAUA,KAZA,EANA,E;;;;;;;;;;;;;AC/EA;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<!--#ifdef MP-ALIPAY -->\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<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<!--#endif-->\r\n\t\t<!-- <button @click=\"getUserInfo()\"> 授权获取头像昵称 </button> -->\r\n\t\t<view class=\"bottom\">\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</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\t\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 // 1628073230442\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,EAiBA;AACA,iBAlBA,CAkBA;AAlBA;AAoBA,GAtBA;AAuBA,QAvBA,kBAuBA,MAvBA,EAuBA;AACA;AACA;AACA,2BADA,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,GA9DA;AA+DA;AACA,SADA,mBACA;AACA;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,yFADA;;AAGA,SAXA;AAYA;AACA;AACA,6BADA;AAEA,wBAFA;;AAIA,SAjBA;;AAmBA,KAjCA,EA/DA,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:\"\",//去支付的背景颜色\r\n\t\t\t\torderId:\"\",//订单Id\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option){\r\n\t\t\t this.orderId=option.orderId\r\n\t\t\t let data = {\r\n\t\t\t\torderId:this.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\tlet _this=this\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.navigateTo({\r\n\t\t\t\t url:\"../my/order/electronicTicket/electronicTicket?orderId=\"+_this.orderId\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 // 1627896277417\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,EAiBA;AACA,iBAlBA,CAkBA;AAlBA;AAoBA,GAtBA;AAuBA,QAvBA,kBAuBA,MAvBA,EAuBA;AACA;AACA;AACA,2BADA,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,GA9DA;AA+DA;AACA,SADA,mBACA;AACA;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,yFADA;;AAGA,SAXA;AAYA;AACA;AACA,6BADA;AAEA,wBAFA;;AAIA,SAjBA;;AAmBA,KAjCA,EA/DA,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:\"\",//去支付的背景颜色\r\n\t\t\t\torderId:\"\",//订单Id\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option){\r\n\t\t\t this.orderId=option.orderId\r\n\t\t\t let data = {\r\n\t\t\t\torderId:this.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\tlet _this=this\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.navigateTo({\r\n\t\t\t\t url:\"../my/order/electronicTicket/electronicTicket?orderId=\"+_this.orderId\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 // 1628072768952\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,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,kBAFA,EAEA;AACA,mBAHA,EAGA;AACA,oBAJA,EAIA;AACA,cALA,EAKA;AACA,iBANA,EAMA;AACA,iBAPA,EAOA;AACA,kBARA,EAQA;AACA,mBATA,EASA;AACA,kBAVA,EAUA;AACA,iBAXA,EAWA;AACA,mBAZA,EAYA;AACA,cAbA,EAaA;AACA,oBAdA,EAcA;AACA,yBAfA,EAeA;AACA,mBAhBA,EAgBA;AACA,oBAjBA,EAiBA;AACA,oBAlBA,EAkBA;AACA,oBAnBA,EAmBA;AACA,yBApBA,EAoBA;AACA,8BArBA,EAqBA;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,CAtBA;;;;;AAoDA,GAzDA;AA0DA,QA1DA,kBA0DA,MA1DA,EA0DA;;AAEA;;;;;;;;;;;;AAYA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;;;AAGA;;AAEA,GAxFA;AAyFA;AACA,aADA,qBACA,IADA,EACA;AACA;AACA,KAHA;AAIA,YAJA,oBAIA,CAJA,EAIA,KAJA,EAIA,CAJA,EAIA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;;AAEA;;AAEA,OAJA,EAIA,IAJA;AAKA,KAhBA;AAiBA,cAjBA,wBAiBA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;;AAEA;;AAEA,OAJA,EAIA,IAJA;AAKA,KA7BA;AA8BA,gBA9BA,wBA8BA,IA9BA,EA8BA;AACA;AACA,KAhCA;AAiCA,cAjCA,wBAiCA;AACA;AACA,KAnCA;AAoCA,QApCA,kBAoCA;AACA;AACA,qCADA;AAEA,mCAFA;;AAIA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KAnDA;AAoDA,WApDA,qBAoDA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KAlEA;AAmEA,cAnEA,wBAmEA;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,KA7GA;AA8GA,YA9GA,sBA8GA;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;AACA;AACA,SAjBA,MAiBA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OA3BA,EA2BA,KA3BA,CA2BA;AACA;AACA,OA7BA;AA8BA,KA1KA;AA2KA,SA3KA,mBA2KA;;AAEA;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;;;;;;;;;;;;;;;;;;;;;AAsCA,KAnNA,EAzFA;;AA8SA;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,EA9SA,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 {\r\n\t\t\t\tenterUrl:\"\",//进入页面路由\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\torderInfo:\"\",//支付宝订单号\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\t//#ifdef MP-WEIXIN\r\n\t\t\tthis.enterUrl=option.q\r\n\t\t\t//#endif\r\n\t\t\t\r\n\t\t\t//#ifdef MP-ALIPAY\r\n\t\t\tuni.showModal({\r\n\t\t\t title: '提示',\r\n\t\t\t content:JSON.stringify(option)\r\n\t\t\t});\r\n\t\t\tif(option.query && option.query.qrCode){\r\n\t\t\t\tthis.enterUrl=option.query.qrCode\r\n\t\t\t}\r\n\t\t\t//#endif\r\n\t\t\tif(this.enterUrl){//扫普通二维码进入\r\n\t\t\t\tthis.merchantId=this.getUrlKey(\"merchantId\")\r\n\t\t\t\tthis.companyId=this.getUrlKey(\"companyId\")\r\n\t\t\t}else{//扫小程序二维码进入\r\n\t\t\t\tthis.merchantId=option.merchantId\r\n\t\t\t\tthis.companyId=option.companyId\r\n\t\t\t}\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\t\r\n\t\t\t//#ifdef MP-WEIXIN\r\n\t\t\tthis.initCoupon()\r\n\t\t\t//#endif\r\n\t\t},\n\t\tmethods: {\r\n\t\t\tgetUrlKey(name){//---------------------------------------------------------------获取url\r\n\t\t\t return(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(this.enterUrl)) || [, \"\"])[1].replace(/\\+/g, '%20') || \"\";\r\n\t\t\t},\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\t //#ifdef MP-WEIXIN\r\n\t\t\t this.initCoupon()\r\n\t\t\t\t//#endif\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//#ifdef MP-WEIXIN\r\n\t\t\t\t this.initCoupon()\r\n\t\t\t\t //#endif\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\t//支付宝入参\r\n\t\t\t\t\tthis.orderInfo = res.data.payInfo || \"\"\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\t// #ifdef MP-WEIXIN\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\t//#endif\r\n\t\t\t\t\r\n\t\t\t\t// #ifdef MP-ALIPAY\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t\tprovider: 'alipay', // 服务提供商 支付宝支付: alipay 微信支付: wxpay\r\n\t\t\t\t\torderInfo: this.orderInfo, // 支付宝订单号\r\n\t\t\t\t\tsuccess: function (res) {\r\n\t\t\t\t\t\t// uni.redirectTo({\r\n\t\t\t\t\t\t// url:\"../paySuccess/paySuccess\"\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: function (err) {\r\n\t\t\t\t\t\tuni.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\t}\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\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 // 1627985286443\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,kBAFA,EAEA;AACA,mBAHA,EAGA;AACA,oBAJA,EAIA;AACA,cALA,EAKA;AACA,iBANA,EAMA;AACA,iBAPA,EAOA;AACA,kBARA,EAQA;AACA,mBATA,EASA;AACA,kBAVA,EAUA;AACA,iBAXA,EAWA;AACA,mBAZA,EAYA;AACA,cAbA,EAaA;AACA,oBAdA,EAcA;AACA,yBAfA,EAeA;AACA,mBAhBA,EAgBA;AACA,oBAjBA,EAiBA;AACA,oBAlBA,EAkBA;AACA,oBAnBA,EAmBA;AACA,yBApBA,EAoBA;AACA,8BArBA,EAqBA;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,CAtBA;;;;;AAoDA,GAzDA;AA0DA,QA1DA,kBA0DA,MA1DA,EA0DA;;AAEA;AACA;;;;;;;AAOA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;;;AAGA;;AAEA,GApFA;AAqFA;AACA,aADA,qBACA,IADA,EACA;AACA;AACA,KAHA;AAIA,YAJA,oBAIA,CAJA,EAIA,KAJA,EAIA,CAJA,EAIA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;;AAEA;;AAEA,OAJA,EAIA,IAJA;AAKA,KAhBA;AAiBA,cAjBA,wBAiBA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;;AAEA;;AAEA,OAJA,EAIA,IAJA;AAKA,KA7BA;AA8BA,gBA9BA,wBA8BA,IA9BA,EA8BA;AACA;AACA,KAhCA;AAiCA,cAjCA,wBAiCA;AACA;AACA,KAnCA;AAoCA,QApCA,kBAoCA;AACA;AACA,qCADA;AAEA,mCAFA;;AAIA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KAnDA;AAoDA,WApDA,qBAoDA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KAlEA;AAmEA,cAnEA,wBAmEA;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,KA7GA;AA8GA,YA9GA,sBA8GA;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;AACA;AACA,SAjBA,MAiBA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OA3BA,EA2BA,KA3BA,CA2BA;AACA;AACA,OA7BA;AA8BA,KA1KA;AA2KA,SA3KA,mBA2KA;;AAEA;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;;;;;;;;;;;;;;;;;;;;;AAsCA,KAnNA,EArFA;;AA0SA;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,EA1SA,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 {\r\n\t\t\t\tenterUrl:\"\",//进入页面路由\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,支付宝小程序33\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\torderInfo:\"\",//支付宝订单号\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\t//#ifdef MP-WEIXIN\r\n\t\t\tthis.enterUrl=option.q\r\n\t\t\tthis.payType = 42\r\n\t\t\t//#endif\r\n\t\t\t\r\n\t\t\t//#ifdef MP-ALIPAY\r\n\t\t\t\tthis.enterUrl=uni.getStorageSync(\"alipayQrCode\")\r\n\t\t\t\tthis.payType = 33\r\n\t\t\t//#endif\r\n\t\t\tif(this.enterUrl){//扫普通二维码进入\r\n\t\t\t\tthis.merchantId=this.getUrlKey(\"merchantId\")\r\n\t\t\t\tthis.companyId=this.getUrlKey(\"companyId\")\r\n\t\t\t}else{//扫小程序二维码进入\r\n\t\t\t\tthis.merchantId=option.merchantId\r\n\t\t\t\tthis.companyId=option.companyId\r\n\t\t\t}\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\t\r\n\t\t\t//#ifdef MP-WEIXIN\r\n\t\t\tthis.initCoupon()\r\n\t\t\t//#endif\r\n\t\t},\n\t\tmethods: {\r\n\t\t\tgetUrlKey(name){//---------------------------------------------------------------获取url\r\n\t\t\t return(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(decodeURIComponent(this.enterUrl)) || [, \"\"])[1].replace(/\\+/g, '%20') || \"\";\r\n\t\t\t},\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\t //#ifdef MP-WEIXIN\r\n\t\t\t this.initCoupon()\r\n\t\t\t\t//#endif\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//#ifdef MP-WEIXIN\r\n\t\t\t\t this.initCoupon()\r\n\t\t\t\t //#endif\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\t//支付宝入参\r\n\t\t\t\t\tthis.orderInfo = res.data.payInfo || \"\"\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\t// #ifdef MP-WEIXIN\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\t//#endif\r\n\t\t\t\t\r\n\t\t\t\t// #ifdef MP-ALIPAY\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t\tprovider: 'alipay', // 服务提供商 支付宝支付: alipay 微信支付: wxpay\r\n\t\t\t\t\torderInfo: this.orderInfo, // 支付宝订单号\r\n\t\t\t\t\tsuccess: function (res) {\r\n\t\t\t\t\t\t// uni.redirectTo({\r\n\t\t\t\t\t\t// url:\"../paySuccess/paySuccess\"\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: function (err) {\r\n\t\t\t\t\t\tuni.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\t}\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\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 // 1628072770677\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-button/u-button.vue?9d6a","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?3b92","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?d0ed","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?c5ef","uni-app:///uview-ui/components/u-button/u-button.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?1562","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?be84"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwDppB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AACA,kBADA;AAEA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,wBAFA,EAZA;;AAgBA;AACA;AACA,kBADA;AAEA,uBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,oBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,oBAFA,EA3BA;;AA+BA;AACA;AACA,mBADA;AAEA,oBAFA,EAhCA;;AAoCA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAtCA;;AA0CA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EA5CA;;AAgDA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAlDA;;AAsDA;AACA;AACA,mBADA;AAEA,oBAFA,EAvDA;;AA2DA;AACA;AACA,kBADA;AAEA,mBAFA,EA5DA;;AAgEA;AACA;AACA,kBADA;AAEA,iBAFA,EAjEA;;AAqEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAvEA;;AA2EA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EA7EA;;AAiFA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAnFA;;AAuFA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EAzFA;;AA6FA;AACA;AACA,kBADA;AAEA,iBAFA,EA9FA;;AAkGA;AACA;AACA,kBADA;AAEA,iBAFA,EAnGA;;AAuGA;AACA;AACA,mBADA;AAEA,oBAFA,EAxGA;;AA4GA;AACA;AACA,kBADA;AAEA,iBAFA,EA7GA;;AAiHA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAlHA;;AAwHA;AACA;AACA,kBADA;AAEA,iBAFA,EAzHA;;AA6HA;AACA;AACA,4BADA;AAEA,mBAFA,EA9HA;;AAkIA;AACA;AACA,4BADA;AAEA,iBAFA,EAnIA;;AAuIA;AACA;AACA,4BADA;AAEA,kBAFA,EAxIA,EAFA;;;AA+IA;AACA;AACA,iBAFA,2BAEA;AACA;AACA;AACA;AACA;AACA;AACA,KARA;AASA;AACA,sBAVA,gCAUA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAhBA,EA/IA;;AAiKA,MAjKA,kBAiKA;AACA;AACA,kBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,uBAJA,CAIA;AAJA;AAMA,GAxKA;AAyKA;AACA;AACA,SAFA,iBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA,OAZA,EAYA,iBAZA;AAaA,KAjBA;AAkBA;AACA,gBAnBA,wBAmBA,CAnBA,EAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBADA;;;;;;;;;;AAWA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAhCA;AAiCA,KArDA;AAsDA;AACA,cAvDA,wBAuDA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA,SAFA;AAGA,OAZA;AAaA,KArEA;AAsEA;AACA,kBAvEA,0BAuEA,GAvEA,EAuEA;AACA;AACA,KAzEA;AA0EA,eA1EA,uBA0EA,GA1EA,EA0EA;AACA;AACA,KA5EA;AA6EA,SA7EA,iBA6EA,GA7EA,EA6EA;AACA;AACA,KA/EA;AAgFA,eAhFA,uBAgFA,GAhFA,EAgFA;AACA;AACA,KAlFA;AAmFA,aAnFA,qBAmFA,GAnFA,EAmFA;AACA;AACA,KArFA,EAzKA,E;;;;;;;;;;;;;ACpFA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-button/u-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-button.vue?vue&type=template&id=6e15e680&scoped=true&\"\nvar renderjs\nimport script from \"./u-button.vue?vue&type=script&lang=js&\"\nexport * from \"./u-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-button.vue?vue&type=style&index=0&id=6e15e680&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 \"6e15e680\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-button/u-button.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-button.vue?vue&type=template&id=6e15e680&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([\n _vm.customStyle,\n {\n overflow: _vm.ripple ? \"hidden\" : \"visible\"\n }\n ])\n\n var m0 = Number(_vm.hoverStartTime)\n var m1 = Number(_vm.hoverStayTime)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n m0: m0,\n m1: m1\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-button.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-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<button\r\n\t\tid=\"u-wave-btn\"\r\n\t\tclass=\"u-btn u-line-1 u-fix-ios-appearance\"\r\n\t\t:class=\"[\r\n\t\t\t'u-size-' + size,\r\n\t\t\tplain ? 'u-btn--' + type + '--plain' : '',\r\n\t\t\tloading ? 'u-loading' : '',\r\n\t\t\tshape == 'circle' ? 'u-round-circle' : '',\r\n\t\t\thairLine ? showHairLineBorder : 'u-btn--bold-border',\r\n\t\t\t'u-btn--' + type,\r\n\t\t\tdisabled ? `u-btn--${type}--disabled` : '',\r\n\t\t]\"\r\n\t\t:hover-start-time=\"Number(hoverStartTime)\"\r\n\t\t:hover-stay-time=\"Number(hoverStayTime)\"\r\n\t\t:disabled=\"disabled\"\r\n\t\t:form-type=\"formType\"\r\n\t\t:open-type=\"openType\"\r\n\t\t:app-parameter=\"appParameter\"\r\n\t\t:hover-stop-propagation=\"hoverStopPropagation\"\r\n\t\t:send-message-title=\"sendMessageTitle\"\r\n\t\tsend-message-path=\"sendMessagePath\"\r\n\t\t:lang=\"lang\"\r\n\t\t:data-name=\"dataName\"\r\n\t\t:session-from=\"sessionFrom\"\r\n\t\t:send-message-img=\"sendMessageImg\"\r\n\t\t:show-message-card=\"showMessageCard\"\r\n\t\t@getphonenumber=\"getphonenumber\"\r\n\t\t@getuserinfo=\"getuserinfo\"\r\n\t\t@error=\"error\"\r\n\t\t@opensetting=\"opensetting\"\r\n\t\t@launchapp=\"launchapp\"\r\n\t\t:style=\"[customStyle, {\r\n\t\t\toverflow: ripple ? 'hidden' : 'visible'\r\n\t\t}]\"\r\n\t\t@tap.stop=\"click($event)\"\r\n\t\t:hover-class=\"getHoverClass\"\r\n\t\t:loading=\"loading\"\r\n\t>\r\n\t\t<slot></slot>\r\n\t\t<view\r\n\t\t\tv-if=\"ripple\"\r\n\t\t\tclass=\"u-wave-ripple\"\r\n\t\t\t:class=\"[waveActive ? 'u-wave-active' : '']\"\r\n\t\t\t:style=\"{\r\n\t\t\t\ttop: rippleTop + 'px',\r\n\t\t\t\tleft: rippleLeft + 'px',\r\n\t\t\t\twidth: fields.targetWidth + 'px',\r\n\t\t\t\theight: fields.targetWidth + 'px',\r\n\t\t\t\t'background-color': rippleBgColor || 'rgba(0, 0, 0, 0.15)'\r\n\t\t\t}\"\r\n\t\t></view>\r\n\t</button>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * button 按钮\r\n * @description Button 按钮\r\n * @tutorial https://www.uviewui.com/components/button.html\r\n * @property {String} size 按钮的大小\r\n * @property {Boolean} ripple 是否开启点击水波纹效果\r\n * @property {String} ripple-bg-color 水波纹的背景色,ripple为true时有效\r\n * @property {String} type 按钮的样式类型\r\n * @property {Boolean} plain 按钮是否镂空,背景色透明\r\n * @property {Boolean} disabled 是否禁用\r\n * @property {Boolean} hair-line 是否显示按钮的细边框(默认true)\r\n * @property {Boolean} shape 按钮外观形状,见文档说明\r\n * @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈)\r\n * @property {String} form-type 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\r\n * @property {String} open-type 开放能力\r\n * @property {String} data-name 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\r\n * @property {String} hover-class 指定按钮按下去的样式类。当 hover-class=\"none\" 时,没有点击态效果(App-nvue 平台暂不支持)\r\n * @property {Number} hover-start-time 按住后多久出现点击态,单位毫秒\r\n * @property {Number} hover-stay-time 手指松开后点击态保留时间,单位毫秒\r\n * @property {Object} custom-style 对按钮的自定义样式,对象形式,见文档说明\r\n * @event {Function} click 按钮点击\r\n * @event {Function} getphonenumber open-type=\"getPhoneNumber\"时有效\r\n * @event {Function} getuserinfo 用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo\r\n * @event {Function} error 当使用开放能力时,发生错误的回调\r\n * @event {Function} opensetting 在打开授权设置页并关闭后回调\r\n * @event {Function} launchapp 打开 APP 成功的回调\r\n * @example <u-button>月落</u-button>\r\n */\r\nexport default {\r\n\tname: 'u-button',\r\n\tprops: {\r\n\t\t// 是否细边框\r\n\t\thairLine: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 按钮的预置样式,default,primary,error,warning,success\r\n\t\ttype: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'default'\r\n\t\t},\r\n\t\t// 按钮尺寸,default,medium,mini\r\n\t\tsize: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'default'\r\n\t\t},\r\n\t\t// 按钮形状,circle(两边为半圆),square(带圆角)\r\n\t\tshape: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'square'\r\n\t\t},\r\n\t\t// 按钮是否镂空\r\n\t\tplain: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否禁止状态\r\n\t\tdisabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否加载中\r\n\t\tloading: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 开放能力,具体请看uniapp稳定关于button组件部分说明\r\n\t\t// https://uniapp.dcloud.io/component/button\r\n\t\topenType: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\r\n\t\t// 取值为submit(提交表单),reset(重置表单)\r\n\t\tformType: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效\r\n\t\t// 只微信小程序、QQ小程序有效\r\n\t\tappParameter: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效\r\n\t\thoverStopPropagation: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效\r\n\t\tlang: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'en'\r\n\t\t},\r\n\t\t// 会话来源,open-type=\"contact\"时有效。只微信小程序有效\r\n\t\tsessionFrom: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 会话内消息卡片标题,open-type=\"contact\"时有效\r\n\t\t// 默认当前标题,只微信小程序有效\r\n\t\tsendMessageTitle: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 会话内消息卡片点击跳转小程序路径,open-type=\"contact\"时有效\r\n\t\t// 默认当前分享路径,只微信小程序有效\r\n\t\tsendMessagePath: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 会话内消息卡片图片,open-type=\"contact\"时有效\r\n\t\t// 默认当前页面截图,只微信小程序有效\r\n\t\tsendMessageImg: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,\r\n\t\t// 用户点击后可以快速发送小程序消息,open-type=\"contact\"时有效\r\n\t\tshowMessageCard: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 手指按(触摸)按钮时按钮时的背景颜色\r\n\t\thoverBgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 水波纹的背景颜色\r\n\t\trippleBgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否开启水波纹效果\r\n\t\tripple: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\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\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// 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\r\n\t\tdataName: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 节流,一定时间内只能触发一次\r\n\t\tthrottleTime: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 1000\r\n\t\t},\r\n\t\t// 按住后多久出现点击态,单位毫秒\r\n\t\thoverStartTime: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 20\r\n\t\t},\r\n\t\t// 手指松开后点击态保留时间,单位毫秒\r\n\t\thoverStayTime: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 150\r\n\t\t},\r\n\t},\r\n\tcomputed: {\r\n\t\t// 当没有传bgColor变量时,按钮按下去的颜色类名\r\n\t\tgetHoverClass() {\r\n\t\t\t// 如果开启水波纹效果,则不启用hover-class效果\r\n\t\t\tif (this.loading || this.disabled || this.ripple || this.hoverClass) return '';\r\n\t\t\tlet hoverClass = '';\r\n\t\t\thoverClass = this.plain ? 'u-' + this.type + '-plain-hover' : 'u-' + this.type + '-hover';\r\n\t\t\treturn hoverClass;\r\n\t\t},\r\n\t\t// 在'primary', 'success', 'error', 'warning'类型下,不显示边框,否则会造成四角有毛刺现象\r\n\t\tshowHairLineBorder() {\r\n\t\t\tif (['primary', 'success', 'error', 'warning'].indexOf(this.type) >= 0 && !this.plain) {\r\n\t\t\t\treturn '';\r\n\t\t\t} else {\r\n\t\t\t\treturn 'u-hairline-border';\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\trippleTop: 0, // 水波纹的起点Y坐标到按钮上边界的距离\r\n\t\t\trippleLeft: 0, // 水波纹起点X坐标到按钮左边界的距离\r\n\t\t\tfields: {}, // 波纹按钮节点信息\r\n\t\t\twaveActive: false // 激活水波纹\r\n\t\t};\r\n\t},\n\tmethods: {\r\n\t\t// 按钮点击\r\n\t\tclick(e) {\r\n\t\t\t// 进行节流控制,每this.throttle毫秒内,只在开始处执行\r\n\t\t\tthis.$u.throttle(() => {\r\n\t\t\t\t// 如果按钮时disabled和loading状态,不触发水波纹效果\r\n\t\t\t\tif (this.loading === true || this.disabled === true) return;\r\n\t\t\t\t// 是否开启水波纹效果\r\n\t\t\t\tif (this.ripple) {\r\n\t\t\t\t\t// 每次点击时,移除上一次的类,再次添加,才能触发动画效果\r\n\t\t\t\t\tthis.waveActive = false;\r\n\t\t\t\t\tthis.$nextTick(function() {\r\n\t\t\t\t\t\tthis.getWaveQuery(e);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('click', e);\r\n\t\t\t}, this.throttleTime);\r\n\t\t},\r\n\t\t// 查询按钮的节点信息\r\n\t\tgetWaveQuery(e) {\r\n\t\t\tthis.getElQuery().then(res => {\r\n\t\t\t\t// 查询返回的是一个数组节点\r\n\t\t\t\tlet data = res[0];\r\n\t\t\t\t// 查询不到节点信息,不操作\r\n\t\t\t\tif (!data.width || !data.width) return;\r\n\t\t\t\t// 水波纹的最终形态是一个正方形(通过border-radius让其变为一个圆形),这里要保证正方形的边长等于按钮的最长边\r\n\t\t\t\t// 最终的方形(变换后的圆形)才能覆盖整个按钮\r\n\t\t\t\tdata.targetWidth = data.height > data.width ? data.height : data.width;\r\n\t\t\t\tif (!data.targetWidth) return;\r\n\t\t\t\tthis.fields = data;\r\n\t\t\t\tlet touchesX = '',\r\n\t\t\t\t\ttouchesY = '';\r\n\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\ttouchesX = e.changedTouches[0].clientX;\r\n\t\t\t\ttouchesY = e.changedTouches[0].clientY;\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef MP-ALIPAY\r\n\t\t\t\ttouchesX = e.detail.clientX;\r\n\t\t\t\ttouchesY = e.detail.clientY;\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-BAIDU || MP-ALIPAY\r\n\t\t\t\ttouchesX = e.touches[0].clientX;\r\n\t\t\t\ttouchesY = e.touches[0].clientY;\r\n\t\t\t\t// #endif\r\n\t\t\t\t// 获取触摸点相对于按钮上边和左边的x和y坐标,原理是通过屏幕的触摸点(touchesY),减去按钮的上边界data.top\r\n\t\t\t\t// 但是由于`transform-origin`默认是center,所以这里再减去半径才是水波纹view应该的位置\r\n\t\t\t\t// 总的来说,就是把水波纹的矩形(变换后的圆形)的中心点,移动到我们的触摸点位置\r\n\t\t\t\tthis.rippleTop = touchesY - data.top - data.targetWidth / 2;\r\n\t\t\t\tthis.rippleLeft = touchesX - data.left - data.targetWidth / 2;\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis.waveActive = true;\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 获取节点信息\r\n\t\tgetElQuery() {\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tlet queryInfo = '';\r\n\t\t\t\t// 获取元素节点信息,请查看uniapp相关文档\r\n\t\t\t\t// https://uniapp.dcloud.io/api/ui/nodes-info?id=nodesrefboundingclientrect\r\n\t\t\t\tqueryInfo = uni.createSelectorQuery().in(this);\r\n\t\t\t\t//#ifdef MP-ALIPAY\r\n\t\t\t\tqueryInfo = uni.createSelectorQuery();\r\n\t\t\t\t//#endif\r\n\t\t\t\tqueryInfo.select('.u-btn').boundingClientRect();\r\n\t\t\t\tqueryInfo.exec(data => {\r\n\t\t\t\t\tresolve(data);\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 下面为对接uniapp官方按钮开放能力事件回调的对接\r\n\t\tgetphonenumber(res) {\r\n\t\t\tthis.$emit('getphonenumber', res);\r\n\t\t},\r\n\t\tgetuserinfo(res) {\r\n\t\t\tthis.$emit('getuserinfo', res);\r\n\t\t},\r\n\t\terror(res) {\r\n\t\t\tthis.$emit('error', res);\r\n\t\t},\r\n\t\topensetting(res) {\r\n\t\t\tthis.$emit('opensetting', res);\r\n\t\t},\r\n\t\tlaunchapp(res) {\r\n\t\t\tthis.$emit('launchapp', res);\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.u-btn::after {\r\n\tborder: none;\r\n}\r\n\r\n.u-btn {\r\n\tposition: relative;\r\n\tborder: 0;\r\n\t//border-radius: 10rpx;\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: inline-flex;\t\t\r\n\t/* #endif */\r\n\t// 避免边框某些场景可能被“裁剪”,不能设置为hidden\r\n\toverflow: visible;\r\n\tline-height: 1;\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcursor: pointer;\r\n\tpadding: 0 40rpx;\r\n\tz-index: 1;\r\n\tbox-sizing: border-box;\r\n\ttransition: all 0.15s;\r\n\t\r\n\t&--bold-border {\r\n\t\tborder: 1px solid #ffffff;\r\n\t}\r\n\t\r\n\t&--default {\r\n\t\tcolor: $u-content-color;\r\n\t\tborder-color: #c0c4cc;\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\t&--primary {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-primary;\r\n\t\tbackground-color: $u-type-primary;\r\n\t}\r\n\t\r\n\t&--success {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-success;\r\n\t\tbackground-color: $u-type-success;\r\n\t}\r\n\t\r\n\t&--error {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-error;\r\n\t\tbackground-color: $u-type-error;\r\n\t}\r\n\t\r\n\t&--warning {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-warning;\r\n\t\tbackground-color: $u-type-warning;\r\n\t}\r\n\t\r\n\t&--default--disabled {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: #e4e7ed;\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\t&--primary--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-primary-disabled!important;\r\n\t\tbackground-color: $u-type-primary-disabled!important;\r\n\t}\r\n\t\r\n\t&--success--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-success-disabled!important;\r\n\t\tbackground-color: $u-type-success-disabled!important;\r\n\t}\r\n\t\r\n\t&--error--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-error-disabled!important;\r\n\t\tbackground-color: $u-type-error-disabled!important;\r\n\t}\r\n\t\r\n\t&--warning--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-warning-disabled!important;\r\n\t\tbackground-color: $u-type-warning-disabled!important;\r\n\t}\r\n\t\r\n\t&--primary--plain {\r\n\t\tcolor: $u-type-primary!important;\r\n\t\tborder-color: $u-type-primary-disabled!important;\r\n\t\tbackground-color: $u-type-primary-light!important;\r\n\t}\r\n\t\r\n\t&--success--plain {\r\n\t\tcolor: $u-type-success!important;\r\n\t\tborder-color: $u-type-success-disabled!important;\r\n\t\tbackground-color: $u-type-success-light!important;\r\n\t}\r\n\t\r\n\t&--error--plain {\r\n\t\tcolor: $u-type-error!important;\r\n\t\tborder-color: $u-type-error-disabled!important;\r\n\t\tbackground-color: $u-type-error-light!important;\r\n\t}\r\n\t\r\n\t&--warning--plain {\r\n\t\tcolor: $u-type-warning!important;\r\n\t\tborder-color: $u-type-warning-disabled!important;\r\n\t\tbackground-color: $u-type-warning-light!important;\r\n\t}\r\n}\r\n\r\n.u-hairline-border:after {\r\n\tcontent: ' ';\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\t// 设置为border-box,意味着下面的scale缩小为0.5,实际上缩小的是伪元素的内容(border-box意味着内容不含border)\r\n\tbox-sizing: border-box;\r\n\t// 中心点作为变形(scale())的原点\r\n\t-webkit-transform-origin: 0 0;\r\n\ttransform-origin: 0 0;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\twidth: 199.8%;\r\n\theight: 199.7%;\r\n\t-webkit-transform: scale(0.5, 0.5);\r\n\ttransform: scale(0.5, 0.5);\r\n\tborder: 1px solid currentColor;\r\n\tz-index: 1;\r\n}\r\n\r\n.u-wave-ripple {\r\n\tz-index: 0;\r\n\tposition: absolute;\r\n\tborder-radius: 100%;\r\n\tbackground-clip: padding-box;\r\n\tpointer-events: none;\r\n\tuser-select: none;\r\n\ttransform: scale(0);\r\n\topacity: 1;\r\n\ttransform-origin: center;\r\n}\r\n\r\n.u-wave-ripple.u-wave-active {\r\n\topacity: 0;\r\n\ttransform: scale(2);\r\n\ttransition: opacity 1s linear, transform 0.4s linear;\r\n}\r\n\r\n.u-round-circle {\r\n\tborder-radius: 100rpx;\r\n}\r\n\r\n.u-round-circle::after {\r\n\tborder-radius: 100rpx;\r\n}\r\n\r\n.u-loading::after {\r\n\tbackground-color: hsla(0, 0%, 100%, 0.35);\r\n}\r\n\r\n.u-size-default {\r\n\tfont-size: 30rpx;\r\n\theight: 80rpx;\r\n\tline-height: 80rpx;\r\n}\r\n\r\n.u-size-medium {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: inline-flex;\t\t\r\n\t/* #endif */\r\n\twidth: auto;\r\n\tfont-size: 26rpx;\r\n\theight: 70rpx;\r\n\tline-height: 70rpx;\r\n\tpadding: 0 80rpx;\r\n}\r\n\r\n.u-size-mini {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: inline-flex;\t\t\r\n\t/* #endif */\r\n\twidth: auto;\r\n\tfont-size: 22rpx;\r\n\tpadding-top: 1px;\r\n\theight: 50rpx;\r\n\tline-height: 50rpx;\r\n\tpadding: 0 20rpx;\r\n}\r\n\r\n.u-primary-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-primary-dark !important;\r\n}\r\n\r\n.u-default-plain-hover {\r\n\tcolor: $u-type-primary-dark !important;\r\n\tbackground: $u-type-primary-light !important;\r\n}\r\n\r\n.u-success-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-success-dark !important;\r\n}\r\n\r\n.u-warning-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-warning-dark !important;\r\n}\r\n\r\n.u-error-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-error-dark !important;\r\n}\r\n\r\n.u-info-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-info-dark !important;\r\n}\r\n\r\n.u-default-hover {\r\n\tcolor: $u-type-primary-dark !important;\r\n\tborder-color: $u-type-primary-dark !important;\r\n\tbackground-color: $u-type-primary-light !important;\r\n}\r\n\r\n.u-primary-hover {\r\n\tbackground: $u-type-primary-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-success-hover {\r\n\tbackground: $u-type-success-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-info-hover {\r\n\tbackground: $u-type-info-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-warning-hover {\r\n\tbackground: $u-type-warning-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-error-hover {\r\n\tbackground: $u-type-error-dark !important;\r\n\tcolor: #fff;\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-button.vue?vue&type=style&index=0&id=6e15e680&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-button.vue?vue&type=style&index=0&id=6e15e680&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279821\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-button/u-button.vue?9d6a","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?3b92","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?d0ed","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?c5ef","uni-app:///uview-ui/components/u-button/u-button.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?1562","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-button/u-button.vue?be84"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwDppB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AACA,kBADA;AAEA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,wBAFA,EAZA;;AAgBA;AACA;AACA,kBADA;AAEA,uBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,oBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,oBAFA,EA3BA;;AA+BA;AACA;AACA,mBADA;AAEA,oBAFA,EAhCA;;AAoCA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAtCA;;AA0CA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EA5CA;;AAgDA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAlDA;;AAsDA;AACA;AACA,mBADA;AAEA,oBAFA,EAvDA;;AA2DA;AACA;AACA,kBADA;AAEA,mBAFA,EA5DA;;AAgEA;AACA;AACA,kBADA;AAEA,iBAFA,EAjEA;;AAqEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAvEA;;AA2EA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EA7EA;;AAiFA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAnFA;;AAuFA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EAzFA;;AA6FA;AACA;AACA,kBADA;AAEA,iBAFA,EA9FA;;AAkGA;AACA;AACA,kBADA;AAEA,iBAFA,EAnGA;;AAuGA;AACA;AACA,mBADA;AAEA,oBAFA,EAxGA;;AA4GA;AACA;AACA,kBADA;AAEA,iBAFA,EA7GA;;AAiHA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAlHA;;AAwHA;AACA;AACA,kBADA;AAEA,iBAFA,EAzHA;;AA6HA;AACA;AACA,4BADA;AAEA,mBAFA,EA9HA;;AAkIA;AACA;AACA,4BADA;AAEA,iBAFA,EAnIA;;AAuIA;AACA;AACA,4BADA;AAEA,kBAFA,EAxIA,EAFA;;;AA+IA;AACA;AACA,iBAFA,2BAEA;AACA;AACA;AACA;AACA;AACA;AACA,KARA;AASA;AACA,sBAVA,gCAUA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAhBA,EA/IA;;AAiKA,MAjKA,kBAiKA;AACA;AACA,kBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,uBAJA,CAIA;AAJA;AAMA,GAxKA;AAyKA;AACA;AACA,SAFA,iBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA,OAZA,EAYA,iBAZA;AAaA,KAjBA;AAkBA;AACA,gBAnBA,wBAmBA,CAnBA,EAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBADA;;;;;;;;;;AAWA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAhCA;AAiCA,KArDA;AAsDA;AACA,cAvDA,wBAuDA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA,SAFA;AAGA,OAZA;AAaA,KArEA;AAsEA;AACA,kBAvEA,0BAuEA,GAvEA,EAuEA;AACA;AACA,KAzEA;AA0EA,eA1EA,uBA0EA,GA1EA,EA0EA;AACA;AACA,KA5EA;AA6EA,SA7EA,iBA6EA,GA7EA,EA6EA;AACA;AACA,KA/EA;AAgFA,eAhFA,uBAgFA,GAhFA,EAgFA;AACA;AACA,KAlFA;AAmFA,aAnFA,qBAmFA,GAnFA,EAmFA;AACA;AACA,KArFA,EAzKA,E;;;;;;;;;;;;;ACpFA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-button/u-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-button.vue?vue&type=template&id=6e15e680&scoped=true&\"\nvar renderjs\nimport script from \"./u-button.vue?vue&type=script&lang=js&\"\nexport * from \"./u-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-button.vue?vue&type=style&index=0&id=6e15e680&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 \"6e15e680\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-button/u-button.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-button.vue?vue&type=template&id=6e15e680&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([\n _vm.customStyle,\n {\n overflow: _vm.ripple ? \"hidden\" : \"visible\"\n }\n ])\n\n var m0 = Number(_vm.hoverStartTime)\n var m1 = Number(_vm.hoverStayTime)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n m0: m0,\n m1: m1\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-button.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-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<button\r\n\t\tid=\"u-wave-btn\"\r\n\t\tclass=\"u-btn u-line-1 u-fix-ios-appearance\"\r\n\t\t:class=\"[\r\n\t\t\t'u-size-' + size,\r\n\t\t\tplain ? 'u-btn--' + type + '--plain' : '',\r\n\t\t\tloading ? 'u-loading' : '',\r\n\t\t\tshape == 'circle' ? 'u-round-circle' : '',\r\n\t\t\thairLine ? showHairLineBorder : 'u-btn--bold-border',\r\n\t\t\t'u-btn--' + type,\r\n\t\t\tdisabled ? `u-btn--${type}--disabled` : '',\r\n\t\t]\"\r\n\t\t:hover-start-time=\"Number(hoverStartTime)\"\r\n\t\t:hover-stay-time=\"Number(hoverStayTime)\"\r\n\t\t:disabled=\"disabled\"\r\n\t\t:form-type=\"formType\"\r\n\t\t:open-type=\"openType\"\r\n\t\t:app-parameter=\"appParameter\"\r\n\t\t:hover-stop-propagation=\"hoverStopPropagation\"\r\n\t\t:send-message-title=\"sendMessageTitle\"\r\n\t\tsend-message-path=\"sendMessagePath\"\r\n\t\t:lang=\"lang\"\r\n\t\t:data-name=\"dataName\"\r\n\t\t:session-from=\"sessionFrom\"\r\n\t\t:send-message-img=\"sendMessageImg\"\r\n\t\t:show-message-card=\"showMessageCard\"\r\n\t\t@getphonenumber=\"getphonenumber\"\r\n\t\t@getuserinfo=\"getuserinfo\"\r\n\t\t@error=\"error\"\r\n\t\t@opensetting=\"opensetting\"\r\n\t\t@launchapp=\"launchapp\"\r\n\t\t:style=\"[customStyle, {\r\n\t\t\toverflow: ripple ? 'hidden' : 'visible'\r\n\t\t}]\"\r\n\t\t@tap.stop=\"click($event)\"\r\n\t\t:hover-class=\"getHoverClass\"\r\n\t\t:loading=\"loading\"\r\n\t>\r\n\t\t<slot></slot>\r\n\t\t<view\r\n\t\t\tv-if=\"ripple\"\r\n\t\t\tclass=\"u-wave-ripple\"\r\n\t\t\t:class=\"[waveActive ? 'u-wave-active' : '']\"\r\n\t\t\t:style=\"{\r\n\t\t\t\ttop: rippleTop + 'px',\r\n\t\t\t\tleft: rippleLeft + 'px',\r\n\t\t\t\twidth: fields.targetWidth + 'px',\r\n\t\t\t\theight: fields.targetWidth + 'px',\r\n\t\t\t\t'background-color': rippleBgColor || 'rgba(0, 0, 0, 0.15)'\r\n\t\t\t}\"\r\n\t\t></view>\r\n\t</button>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * button 按钮\r\n * @description Button 按钮\r\n * @tutorial https://www.uviewui.com/components/button.html\r\n * @property {String} size 按钮的大小\r\n * @property {Boolean} ripple 是否开启点击水波纹效果\r\n * @property {String} ripple-bg-color 水波纹的背景色,ripple为true时有效\r\n * @property {String} type 按钮的样式类型\r\n * @property {Boolean} plain 按钮是否镂空,背景色透明\r\n * @property {Boolean} disabled 是否禁用\r\n * @property {Boolean} hair-line 是否显示按钮的细边框(默认true)\r\n * @property {Boolean} shape 按钮外观形状,见文档说明\r\n * @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈)\r\n * @property {String} form-type 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\r\n * @property {String} open-type 开放能力\r\n * @property {String} data-name 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\r\n * @property {String} hover-class 指定按钮按下去的样式类。当 hover-class=\"none\" 时,没有点击态效果(App-nvue 平台暂不支持)\r\n * @property {Number} hover-start-time 按住后多久出现点击态,单位毫秒\r\n * @property {Number} hover-stay-time 手指松开后点击态保留时间,单位毫秒\r\n * @property {Object} custom-style 对按钮的自定义样式,对象形式,见文档说明\r\n * @event {Function} click 按钮点击\r\n * @event {Function} getphonenumber open-type=\"getPhoneNumber\"时有效\r\n * @event {Function} getuserinfo 用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo\r\n * @event {Function} error 当使用开放能力时,发生错误的回调\r\n * @event {Function} opensetting 在打开授权设置页并关闭后回调\r\n * @event {Function} launchapp 打开 APP 成功的回调\r\n * @example <u-button>月落</u-button>\r\n */\r\nexport default {\r\n\tname: 'u-button',\r\n\tprops: {\r\n\t\t// 是否细边框\r\n\t\thairLine: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 按钮的预置样式,default,primary,error,warning,success\r\n\t\ttype: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'default'\r\n\t\t},\r\n\t\t// 按钮尺寸,default,medium,mini\r\n\t\tsize: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'default'\r\n\t\t},\r\n\t\t// 按钮形状,circle(两边为半圆),square(带圆角)\r\n\t\tshape: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'square'\r\n\t\t},\r\n\t\t// 按钮是否镂空\r\n\t\tplain: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否禁止状态\r\n\t\tdisabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否加载中\r\n\t\tloading: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 开放能力,具体请看uniapp稳定关于button组件部分说明\r\n\t\t// https://uniapp.dcloud.io/component/button\r\n\t\topenType: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\r\n\t\t// 取值为submit(提交表单),reset(重置表单)\r\n\t\tformType: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效\r\n\t\t// 只微信小程序、QQ小程序有效\r\n\t\tappParameter: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效\r\n\t\thoverStopPropagation: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效\r\n\t\tlang: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'en'\r\n\t\t},\r\n\t\t// 会话来源,open-type=\"contact\"时有效。只微信小程序有效\r\n\t\tsessionFrom: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 会话内消息卡片标题,open-type=\"contact\"时有效\r\n\t\t// 默认当前标题,只微信小程序有效\r\n\t\tsendMessageTitle: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 会话内消息卡片点击跳转小程序路径,open-type=\"contact\"时有效\r\n\t\t// 默认当前分享路径,只微信小程序有效\r\n\t\tsendMessagePath: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 会话内消息卡片图片,open-type=\"contact\"时有效\r\n\t\t// 默认当前页面截图,只微信小程序有效\r\n\t\tsendMessageImg: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,\r\n\t\t// 用户点击后可以快速发送小程序消息,open-type=\"contact\"时有效\r\n\t\tshowMessageCard: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 手指按(触摸)按钮时按钮时的背景颜色\r\n\t\thoverBgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 水波纹的背景颜色\r\n\t\trippleBgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否开启水波纹效果\r\n\t\tripple: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\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\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// 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\r\n\t\tdataName: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 节流,一定时间内只能触发一次\r\n\t\tthrottleTime: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 1000\r\n\t\t},\r\n\t\t// 按住后多久出现点击态,单位毫秒\r\n\t\thoverStartTime: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 20\r\n\t\t},\r\n\t\t// 手指松开后点击态保留时间,单位毫秒\r\n\t\thoverStayTime: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 150\r\n\t\t},\r\n\t},\r\n\tcomputed: {\r\n\t\t// 当没有传bgColor变量时,按钮按下去的颜色类名\r\n\t\tgetHoverClass() {\r\n\t\t\t// 如果开启水波纹效果,则不启用hover-class效果\r\n\t\t\tif (this.loading || this.disabled || this.ripple || this.hoverClass) return '';\r\n\t\t\tlet hoverClass = '';\r\n\t\t\thoverClass = this.plain ? 'u-' + this.type + '-plain-hover' : 'u-' + this.type + '-hover';\r\n\t\t\treturn hoverClass;\r\n\t\t},\r\n\t\t// 在'primary', 'success', 'error', 'warning'类型下,不显示边框,否则会造成四角有毛刺现象\r\n\t\tshowHairLineBorder() {\r\n\t\t\tif (['primary', 'success', 'error', 'warning'].indexOf(this.type) >= 0 && !this.plain) {\r\n\t\t\t\treturn '';\r\n\t\t\t} else {\r\n\t\t\t\treturn 'u-hairline-border';\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\trippleTop: 0, // 水波纹的起点Y坐标到按钮上边界的距离\r\n\t\t\trippleLeft: 0, // 水波纹起点X坐标到按钮左边界的距离\r\n\t\t\tfields: {}, // 波纹按钮节点信息\r\n\t\t\twaveActive: false // 激活水波纹\r\n\t\t};\r\n\t},\n\tmethods: {\r\n\t\t// 按钮点击\r\n\t\tclick(e) {\r\n\t\t\t// 进行节流控制,每this.throttle毫秒内,只在开始处执行\r\n\t\t\tthis.$u.throttle(() => {\r\n\t\t\t\t// 如果按钮时disabled和loading状态,不触发水波纹效果\r\n\t\t\t\tif (this.loading === true || this.disabled === true) return;\r\n\t\t\t\t// 是否开启水波纹效果\r\n\t\t\t\tif (this.ripple) {\r\n\t\t\t\t\t// 每次点击时,移除上一次的类,再次添加,才能触发动画效果\r\n\t\t\t\t\tthis.waveActive = false;\r\n\t\t\t\t\tthis.$nextTick(function() {\r\n\t\t\t\t\t\tthis.getWaveQuery(e);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('click', e);\r\n\t\t\t}, this.throttleTime);\r\n\t\t},\r\n\t\t// 查询按钮的节点信息\r\n\t\tgetWaveQuery(e) {\r\n\t\t\tthis.getElQuery().then(res => {\r\n\t\t\t\t// 查询返回的是一个数组节点\r\n\t\t\t\tlet data = res[0];\r\n\t\t\t\t// 查询不到节点信息,不操作\r\n\t\t\t\tif (!data.width || !data.width) return;\r\n\t\t\t\t// 水波纹的最终形态是一个正方形(通过border-radius让其变为一个圆形),这里要保证正方形的边长等于按钮的最长边\r\n\t\t\t\t// 最终的方形(变换后的圆形)才能覆盖整个按钮\r\n\t\t\t\tdata.targetWidth = data.height > data.width ? data.height : data.width;\r\n\t\t\t\tif (!data.targetWidth) return;\r\n\t\t\t\tthis.fields = data;\r\n\t\t\t\tlet touchesX = '',\r\n\t\t\t\t\ttouchesY = '';\r\n\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\ttouchesX = e.changedTouches[0].clientX;\r\n\t\t\t\ttouchesY = e.changedTouches[0].clientY;\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef MP-ALIPAY\r\n\t\t\t\ttouchesX = e.detail.clientX;\r\n\t\t\t\ttouchesY = e.detail.clientY;\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-BAIDU || MP-ALIPAY\r\n\t\t\t\ttouchesX = e.touches[0].clientX;\r\n\t\t\t\ttouchesY = e.touches[0].clientY;\r\n\t\t\t\t// #endif\r\n\t\t\t\t// 获取触摸点相对于按钮上边和左边的x和y坐标,原理是通过屏幕的触摸点(touchesY),减去按钮的上边界data.top\r\n\t\t\t\t// 但是由于`transform-origin`默认是center,所以这里再减去半径才是水波纹view应该的位置\r\n\t\t\t\t// 总的来说,就是把水波纹的矩形(变换后的圆形)的中心点,移动到我们的触摸点位置\r\n\t\t\t\tthis.rippleTop = touchesY - data.top - data.targetWidth / 2;\r\n\t\t\t\tthis.rippleLeft = touchesX - data.left - data.targetWidth / 2;\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis.waveActive = true;\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 获取节点信息\r\n\t\tgetElQuery() {\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tlet queryInfo = '';\r\n\t\t\t\t// 获取元素节点信息,请查看uniapp相关文档\r\n\t\t\t\t// https://uniapp.dcloud.io/api/ui/nodes-info?id=nodesrefboundingclientrect\r\n\t\t\t\tqueryInfo = uni.createSelectorQuery().in(this);\r\n\t\t\t\t//#ifdef MP-ALIPAY\r\n\t\t\t\tqueryInfo = uni.createSelectorQuery();\r\n\t\t\t\t//#endif\r\n\t\t\t\tqueryInfo.select('.u-btn').boundingClientRect();\r\n\t\t\t\tqueryInfo.exec(data => {\r\n\t\t\t\t\tresolve(data);\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 下面为对接uniapp官方按钮开放能力事件回调的对接\r\n\t\tgetphonenumber(res) {\r\n\t\t\tthis.$emit('getphonenumber', res);\r\n\t\t},\r\n\t\tgetuserinfo(res) {\r\n\t\t\tthis.$emit('getuserinfo', res);\r\n\t\t},\r\n\t\terror(res) {\r\n\t\t\tthis.$emit('error', res);\r\n\t\t},\r\n\t\topensetting(res) {\r\n\t\t\tthis.$emit('opensetting', res);\r\n\t\t},\r\n\t\tlaunchapp(res) {\r\n\t\t\tthis.$emit('launchapp', res);\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.u-btn::after {\r\n\tborder: none;\r\n}\r\n\r\n.u-btn {\r\n\tposition: relative;\r\n\tborder: 0;\r\n\t//border-radius: 10rpx;\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: inline-flex;\t\t\r\n\t/* #endif */\r\n\t// 避免边框某些场景可能被“裁剪”,不能设置为hidden\r\n\toverflow: visible;\r\n\tline-height: 1;\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcursor: pointer;\r\n\tpadding: 0 40rpx;\r\n\tz-index: 1;\r\n\tbox-sizing: border-box;\r\n\ttransition: all 0.15s;\r\n\t\r\n\t&--bold-border {\r\n\t\tborder: 1px solid #ffffff;\r\n\t}\r\n\t\r\n\t&--default {\r\n\t\tcolor: $u-content-color;\r\n\t\tborder-color: #c0c4cc;\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\t&--primary {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-primary;\r\n\t\tbackground-color: $u-type-primary;\r\n\t}\r\n\t\r\n\t&--success {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-success;\r\n\t\tbackground-color: $u-type-success;\r\n\t}\r\n\t\r\n\t&--error {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-error;\r\n\t\tbackground-color: $u-type-error;\r\n\t}\r\n\t\r\n\t&--warning {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: $u-type-warning;\r\n\t\tbackground-color: $u-type-warning;\r\n\t}\r\n\t\r\n\t&--default--disabled {\r\n\t\tcolor: #ffffff;\r\n\t\tborder-color: #e4e7ed;\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\t&--primary--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-primary-disabled!important;\r\n\t\tbackground-color: $u-type-primary-disabled!important;\r\n\t}\r\n\t\r\n\t&--success--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-success-disabled!important;\r\n\t\tbackground-color: $u-type-success-disabled!important;\r\n\t}\r\n\t\r\n\t&--error--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-error-disabled!important;\r\n\t\tbackground-color: $u-type-error-disabled!important;\r\n\t}\r\n\t\r\n\t&--warning--disabled {\r\n\t\tcolor: #ffffff!important;\r\n\t\tborder-color: $u-type-warning-disabled!important;\r\n\t\tbackground-color: $u-type-warning-disabled!important;\r\n\t}\r\n\t\r\n\t&--primary--plain {\r\n\t\tcolor: $u-type-primary!important;\r\n\t\tborder-color: $u-type-primary-disabled!important;\r\n\t\tbackground-color: $u-type-primary-light!important;\r\n\t}\r\n\t\r\n\t&--success--plain {\r\n\t\tcolor: $u-type-success!important;\r\n\t\tborder-color: $u-type-success-disabled!important;\r\n\t\tbackground-color: $u-type-success-light!important;\r\n\t}\r\n\t\r\n\t&--error--plain {\r\n\t\tcolor: $u-type-error!important;\r\n\t\tborder-color: $u-type-error-disabled!important;\r\n\t\tbackground-color: $u-type-error-light!important;\r\n\t}\r\n\t\r\n\t&--warning--plain {\r\n\t\tcolor: $u-type-warning!important;\r\n\t\tborder-color: $u-type-warning-disabled!important;\r\n\t\tbackground-color: $u-type-warning-light!important;\r\n\t}\r\n}\r\n\r\n.u-hairline-border:after {\r\n\tcontent: ' ';\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\t// 设置为border-box,意味着下面的scale缩小为0.5,实际上缩小的是伪元素的内容(border-box意味着内容不含border)\r\n\tbox-sizing: border-box;\r\n\t// 中心点作为变形(scale())的原点\r\n\t-webkit-transform-origin: 0 0;\r\n\ttransform-origin: 0 0;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\twidth: 199.8%;\r\n\theight: 199.7%;\r\n\t-webkit-transform: scale(0.5, 0.5);\r\n\ttransform: scale(0.5, 0.5);\r\n\tborder: 1px solid currentColor;\r\n\tz-index: 1;\r\n}\r\n\r\n.u-wave-ripple {\r\n\tz-index: 0;\r\n\tposition: absolute;\r\n\tborder-radius: 100%;\r\n\tbackground-clip: padding-box;\r\n\tpointer-events: none;\r\n\tuser-select: none;\r\n\ttransform: scale(0);\r\n\topacity: 1;\r\n\ttransform-origin: center;\r\n}\r\n\r\n.u-wave-ripple.u-wave-active {\r\n\topacity: 0;\r\n\ttransform: scale(2);\r\n\ttransition: opacity 1s linear, transform 0.4s linear;\r\n}\r\n\r\n.u-round-circle {\r\n\tborder-radius: 100rpx;\r\n}\r\n\r\n.u-round-circle::after {\r\n\tborder-radius: 100rpx;\r\n}\r\n\r\n.u-loading::after {\r\n\tbackground-color: hsla(0, 0%, 100%, 0.35);\r\n}\r\n\r\n.u-size-default {\r\n\tfont-size: 30rpx;\r\n\theight: 80rpx;\r\n\tline-height: 80rpx;\r\n}\r\n\r\n.u-size-medium {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: inline-flex;\t\t\r\n\t/* #endif */\r\n\twidth: auto;\r\n\tfont-size: 26rpx;\r\n\theight: 70rpx;\r\n\tline-height: 70rpx;\r\n\tpadding: 0 80rpx;\r\n}\r\n\r\n.u-size-mini {\r\n\t/* #ifndef APP-NVUE */\r\n\tdisplay: inline-flex;\t\t\r\n\t/* #endif */\r\n\twidth: auto;\r\n\tfont-size: 22rpx;\r\n\tpadding-top: 1px;\r\n\theight: 50rpx;\r\n\tline-height: 50rpx;\r\n\tpadding: 0 20rpx;\r\n}\r\n\r\n.u-primary-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-primary-dark !important;\r\n}\r\n\r\n.u-default-plain-hover {\r\n\tcolor: $u-type-primary-dark !important;\r\n\tbackground: $u-type-primary-light !important;\r\n}\r\n\r\n.u-success-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-success-dark !important;\r\n}\r\n\r\n.u-warning-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-warning-dark !important;\r\n}\r\n\r\n.u-error-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-error-dark !important;\r\n}\r\n\r\n.u-info-plain-hover {\r\n\tcolor: #ffffff !important;\r\n\tbackground: $u-type-info-dark !important;\r\n}\r\n\r\n.u-default-hover {\r\n\tcolor: $u-type-primary-dark !important;\r\n\tborder-color: $u-type-primary-dark !important;\r\n\tbackground-color: $u-type-primary-light !important;\r\n}\r\n\r\n.u-primary-hover {\r\n\tbackground: $u-type-primary-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-success-hover {\r\n\tbackground: $u-type-success-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-info-hover {\r\n\tbackground: $u-type-info-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-warning-hover {\r\n\tbackground: $u-type-warning-dark !important;\r\n\tcolor: #fff;\r\n}\r\n\r\n.u-error-hover {\r\n\tbackground: $u-type-error-dark !important;\r\n\tcolor: #fff;\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-button.vue?vue&type=style&index=0&id=6e15e680&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-button.vue?vue&type=style&index=0&id=6e15e680&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770958\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 // 1627896279985\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 // 1628072771083\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 // 1627896279899\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 // 1628072771091\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 // 1627896279889\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 // 1628072770985\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-search/u-search.vue?3b5f","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?5d2d","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?568d","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?daa2","uni-app:///uview-ui/components/u-search/u-search.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?48e1","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?81af"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;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,KAAK;AACL;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDppB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA;AACA,kBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,sBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,uBAFA,EAZA;;AAgBA;AACA;AACA,mBADA;AAEA,mBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,oBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,mBAFA,EA3BA;;AA+BA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAhCA;;AAsCA;AACA;AACA,kBADA;AAEA,mBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,qBAFA,EA5CA;;AAgDA;AACA;AACA,mBADA;AAEA,oBAFA,EAjDA;;AAqDA;AACA;AACA,mBADA;AAEA,oBAFA,EAtDA;;AA0DA;AACA;AACA,kBADA;AAEA,qBAFA,EA3DA;;AA+DA;AACA;AACA,kBADA;AAEA,iBAFA,EAhEA;;AAoEA;AACA;AACA,4BADA;AAEA,iBAFA,EArEA;;AAyEA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA1EA;;AAgFA;AACA;AACA,4BADA;AAEA,mBAFA,EAjFA;;AAqFA;AACA;AACA,kBADA;AAEA,iBAFA,EAtFA;;AA0FA;AACA;AACA,kBADA;AAEA,wBAFA,EA3FA;;AA+FA;AACA;AACA,kBADA;AAEA,wBAFA,EAhGA;;AAoGA;AACA;AACA,kBADA;AAEA,kBAFA,EArGA;;AAyGA;AACA;AACA,kBADA;AAEA,uBAFA,EA1GA,EAFA;;;AAiHA,MAjHA,kBAiHA;AACA;AACA,iBADA;AAEA,sBAFA,EAEA;AACA,iBAHA;AAIA;AACA;AACA;AACA;AAPA;AASA,GA3HA;AA4HA;AACA,WADA,mBACA,IADA,EACA;AACA;AACA;AACA;AACA;AACA,KANA;AAOA;AACA,qBADA;AAEA,aAFA,mBAEA,IAFA,EAEA;AACA;AACA,OAJA,EAPA,EA5HA;;;AA0IA;AACA,iBADA,2BACA;AACA;AACA;AACA,KAJA;AAKA;AACA,eANA,yBAMA;AACA;AACA;AACA,KATA,EA1IA;;AAqJA;AACA;AACA,eAFA,uBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA;AACA,SAPA,mBAOA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA,KAbA;AAcA;AACA,UAfA,kBAeA,CAfA,EAeA;AACA;AACA;AACA;AACA;AACA,OAHA,CAGA;AACA,KArBA;AAsBA;AACA,UAvBA,oBAuBA;AACA;AACA;AACA;AACA;AACA,OAHA,CAGA;AACA,KA7BA;AA8BA;AACA,YA/BA,sBA+BA;AACA;AACA;AACA;AACA;AACA,KApCA;AAqCA;AACA,QAtCA,kBAsCA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA,KA9CA;AA+CA;AACA,gBAhDA,0BAgDA;AACA;AACA,KAlDA,EArJA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-search/u-search.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-search.vue?vue&type=template&id=4c556b40&scoped=true&\"\nvar renderjs\nimport script from \"./u-search.vue?vue&type=script&lang=js&\"\nexport * from \"./u-search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-search.vue?vue&type=style&index=0&id=4c556b40&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 \"4c556b40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-search/u-search.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-search.vue?vue&type=template&id=4c556b40&scoped=true&\"","var components\ntry {\n components = {\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.__get_style([\n {\n textAlign: _vm.inputAlign,\n color: _vm.color,\n backgroundColor: _vm.bgColor\n },\n _vm.inputStyle\n ])\n\n var s1 = _vm.__get_style([_vm.actionStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1\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-search.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-search.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-search\" @tap=\"clickHandler\" :style=\"{\r\n\t\tmargin: margin,\r\n\t}\">\r\n\t\t<view\r\n\t\t\tclass=\"u-content\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\tborderRadius: shape == 'round' ? '100rpx' : '10rpx',\r\n\t\t\t\tborder: borderStyle,\r\n\t\t\t\theight: height + 'rpx'\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<view class=\"u-icon-wrap\">\r\n\t\t\t\t<u-icon class=\"u-clear-icon\" :size=\"30\" :name=\"searchIcon\" :color=\"searchIconColor ? searchIconColor : color\"></u-icon>\r\n\t\t\t</view>\r\n\t\t\t<input\r\n\t\t\t\tconfirm-type=\"search\"\r\n\t\t\t\t@blur=\"blur\"\r\n\t\t\t\t:value=\"value\"\r\n\t\t\t\t@confirm=\"search\"\r\n\t\t\t\t@input=\"inputChange\"\r\n\t\t\t\t:disabled=\"disabled\"\r\n\t\t\t\t@focus=\"getFocus\"\r\n\t\t\t\t:focus=\"focus\"\r\n\t\t\t\t:maxlength=\"maxlength\"\r\n\t\t\t\tplaceholder-class=\"u-placeholder-class\"\r\n\t\t\t\t:placeholder=\"placeholder\"\r\n\t\t\t\t:placeholder-style=\"`color: ${placeholderColor}`\"\r\n\t\t\t\tclass=\"u-input\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\t:style=\"[{\r\n\t\t\t\t\ttextAlign: inputAlign,\r\n\t\t\t\t\tcolor: color,\r\n\t\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\t}, inputStyle]\"\r\n\t\t\t/>\r\n\t\t\t<view class=\"u-close-wrap\" v-if=\"keyword && clearabled && focused\" @tap=\"clear\">\r\n\t\t\t\t<u-icon class=\"u-clear-icon\" name=\"close-circle-fill\" size=\"34\" color=\"#c0c4cc\"></u-icon>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view :style=\"[actionStyle]\" class=\"u-action\" \r\n\t\t\t:class=\"[showActionBtn || show ? 'u-action-active' : '']\" \r\n\t\t\t@tap.stop.prevent=\"custom\"\r\n\t\t>{{ actionText }}</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * search 搜索框\r\n * @description 搜索组件,集成了常见搜索框所需功能,用户可以一键引入,开箱即用。\r\n * @tutorial https://www.uviewui.com/components/search.html\r\n * @property {String} shape 搜索框形状,round-圆形,square-方形(默认round)\r\n * @property {String} bg-color 搜索框背景颜色(默认#f2f2f2)\r\n * @property {String} border-color 边框颜色,配置了颜色,才会有边框\r\n * @property {String} placeholder 占位文字内容(默认“请输入关键字”)\r\n * @property {Boolean} clearabled 是否启用清除控件(默认true)\r\n * @property {Boolean} focus 是否自动获得焦点(默认false)\r\n * @property {Boolean} show-action 是否显示右侧控件(默认true)\r\n * @property {String} action-text 右侧控件文字(默认“搜索”)\r\n * @property {Object} action-style 右侧控件的样式,对象形式\r\n * @property {String} input-align 输入框内容水平对齐方式(默认left)\r\n * @property {Object} input-style 自定义输入框样式,对象形式\r\n * @property {Boolean} disabled 是否启用输入框(默认false)\r\n * @property {String} search-icon-color 搜索图标的颜色,默认同输入框字体颜色\r\n * @property {String} color 输入框字体颜色(默认#606266)\r\n * @property {String} placeholder-color placeholder的颜色(默认#909399)\r\n * @property {String} search-icon 输入框左边的图标,可以为uView图标名称或图片路径\r\n * @property {String} margin 组件与其他上下左右元素之间的距离,带单位的字符串形式,如\"30rpx\"\r\n * @property {Boolean} animation 是否开启动画,见上方说明(默认false)\r\n * @property {String} value 输入框初始值\r\n * @property {String | Number} maxlength 输入框最大能输入的长度,-1为不限制长度\r\n * @property {Boolean} input-style input输入框的样式,可以定义文字颜色,大小等,对象形式\r\n * @property {String | Number} height 输入框高度,单位rpx(默认64)\r\n * @event {Function} change 输入框内容发生变化时触发\r\n * @event {Function} search 用户确定搜索时触发,用户按回车键,或者手机键盘右下角的\"搜索\"键时触发\r\n * @event {Function} custom 用户点击右侧控件时触发\r\n * @event {Function} clear 用户点击清除按钮时触发\r\n * @example <u-search placeholder=\"日照香炉生紫烟\" v-model=\"keyword\"></u-search>\r\n */\r\nexport default {\r\n\tname: \"u-search\",\r\n\tprops: {\r\n\t\t// 搜索框形状,round-圆形,square-方形\r\n\t\tshape: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'round'\r\n\t\t},\r\n\t\t// 搜索框背景色,默认值#f2f2f2\r\n\t\tbgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#f2f2f2'\r\n\t\t},\r\n\t\t// 占位提示文字\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '请输入关键字'\r\n\t\t},\r\n\t\t// 是否启用清除控件\r\n\t\tclearabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 是否自动聚焦\r\n\t\tfocus: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否在搜索框右侧显示取消按钮\r\n\t\tshowAction: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 右边控件的样式\r\n\t\tactionStyle: {\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\tactionText: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '搜索'\r\n\t\t},\r\n\t\t// 输入框内容对齐方式,可选值为 left|center|right\r\n\t\tinputAlign: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'left'\r\n\t\t},\r\n\t\t// 是否启用输入框\r\n\t\tdisabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 开启showAction时,是否在input获取焦点时才显示\r\n\t\tanimation: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 边框颜色,只要配置了颜色,才会有边框\r\n\t\tborderColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'none'\r\n\t\t},\r\n\t\t// 输入框的初始化内容\r\n\t\tvalue: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 搜索框高度,单位rpx\r\n\t\theight: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 64\r\n\t\t},\r\n\t\t// input输入框的样式,可以定义文字颜色,大小等,对象形式\r\n\t\tinputStyle: {\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// 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)\r\n\t\tmaxlength: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: '-1'\r\n\t\t},\r\n\t\t// 搜索图标的颜色,默认同输入框字体颜色\r\n\t\tsearchIconColor: {\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: '#606266'\r\n\t\t},\r\n\t\t// placeholder的颜色\r\n\t\tplaceholderColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#909399'\r\n\t\t},\r\n\t\t// 组件与其他上下左右元素之间的距离,带单位的字符串形式,如\"30rpx\"、\"30rpx 20rpx\"等写法\r\n\t\tmargin: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '0'\r\n\t\t},\r\n\t\t// 左边输入框的图标,可以为uView图标名称或图片路径\r\n\t\tsearchIcon: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'search'\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tkeyword: '',\r\n\t\t\tshowClear: false, // 是否显示右边的清除图标\r\n\t\t\tshow: false,\r\n\t\t\t// 标记input当前状态是否处于聚焦中,如果是,才会显示右侧的清除控件\r\n\t\t\tfocused: this.focus\r\n\t\t\t// 绑定输入框的值\r\n\t\t\t// inputValue: this.value\r\n\t\t};\r\n\t},\r\n\twatch: {\r\n\t\tkeyword(nVal) {\r\n\t\t\t// 双向绑定值,让v-model绑定的值双向变化\r\n\t\t\tthis.$emit('input', nVal);\r\n\t\t\t// 触发change事件,事件效果和v-model双向绑定的效果一样,让用户多一个选择\r\n\t\t\tthis.$emit('change', nVal);\r\n\t\t},\r\n\t\tvalue: {\r\n\t\t\timmediate: true,\r\n\t\t\thandler(nVal) {\r\n\t\t\t\tthis.keyword = nVal;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tshowActionBtn() {\r\n\t\t\tif (!this.animation && this.showAction) return true;\r\n\t\t\telse return false;\r\n\t\t},\r\n\t\t// 样式,根据用户传入的颜色值生成,如果不传入,默认为none\r\n\t\tborderStyle() {\r\n\t\t\tif (this.borderColor) return `1px solid ${this.borderColor}`;\r\n\t\t\telse return 'none';\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\t// 目前HX2.6.9 v-model双向绑定无效,故监听input事件获取输入框内容的变化\r\n\t\tinputChange(e) {\r\n\t\t\tthis.keyword = e.detail.value;\r\n\t\t},\r\n\t\t// 清空输入\r\n\t\t// 也可以作为用户通过this.$refs形式调用清空输入框内容\r\n\t\tclear() {\r\n\t\t\tthis.keyword = '';\r\n\t\t\t// 延后发出事件,避免在父组件监听clear事件时,value为更新前的值(不为空)\r\n\t\t\tthis.$nextTick(() => {\r\n\t\t\t\tthis.$emit('clear');\r\n\t\t\t})\r\n\t\t},\r\n\t\t// 确定搜索\r\n\t\tsearch(e) {\r\n\t\t\tthis.$emit('search', e.detail.value);\r\n\t\t\ttry{\r\n\t\t\t\t// 收起键盘\r\n\t\t\t\tuni.hideKeyboard();\r\n\t\t\t}catch(e){}\r\n\t\t},\r\n\t\t// 点击右边自定义按钮的事件\r\n\t\tcustom() {\r\n\t\t\tthis.$emit('custom', this.keyword);\r\n\t\t\ttry{\r\n\t\t\t\t// 收起键盘\r\n\t\t\t\tuni.hideKeyboard();\r\n\t\t\t}catch(e){}\r\n\t\t},\r\n\t\t// 获取焦点\r\n\t\tgetFocus() {\r\n\t\t\tthis.focused = true;\r\n\t\t\t// 开启右侧搜索按钮展开的动画效果\r\n\t\t\tif (this.animation && this.showAction) this.show = true;\r\n\t\t\tthis.$emit('focus', this.keyword);\r\n\t\t},\r\n\t\t// 失去焦点\r\n\t\tblur() {\r\n\t\t\t// 最开始使用的是监听图标@touchstart事件,自从hx2.8.4后,此方法在微信小程序出错\r\n\t\t\t// 这里改为监听点击事件,手点击清除图标时,同时也发生了@blur事件,导致图标消失而无法点击,这里做一个延时\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.focused = false;\r\n\t\t\t}, 100)\r\n\t\t\tthis.show = false;\r\n\t\t\tthis.$emit('blur', this.keyword);\r\n\t\t},\r\n\t\t// 点击搜索框,只有disabled=true时才发出事件,因为禁止了输入,意味着是想跳转真正的搜索页\r\n\t\tclickHandler() {\r\n\t\t\tif(this.disabled) this.$emit('click');\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"../../libs/css/style.components.scss\";\r\n\r\n.u-search {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tflex: 1;\r\n}\r\n\r\n.u-content {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tpadding: 0 18rpx;\r\n\tflex: 1;\r\n}\r\n\r\n.u-clear-icon {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n}\r\n\r\n.u-input {\r\n\tflex: 1;\r\n\tfont-size: 28rpx;\r\n\tline-height: 1;\r\n\tmargin: 0 10rpx;\r\n\tcolor: $u-tips-color;\r\n}\r\n\r\n.u-close-wrap {\r\n\twidth: 40rpx;\r\n\theight: 100%;\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tborder-radius: 50%;\r\n}\r\n\r\n.u-placeholder-class {\r\n\tcolor: $u-tips-color;\r\n}\r\n\r\n.u-action {\r\n\tfont-size: 28rpx;\r\n\tcolor: $u-main-color;\r\n\twidth: 0;\r\n\toverflow: hidden;\r\n\ttransition: all 0.3s;\r\n\twhite-space: nowrap;\r\n\ttext-align: center;\r\n}\r\n\r\n.u-action-active {\r\n\twidth: 80rpx;\r\n\tmargin-left: 10rpx;\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-search.vue?vue&type=style&index=0&id=4c556b40&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-search.vue?vue&type=style&index=0&id=4c556b40&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279847\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-search/u-search.vue?3b5f","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?5d2d","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?568d","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?daa2","uni-app:///uview-ui/components/u-search/u-search.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?48e1","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-search/u-search.vue?81af"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;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,KAAK;AACL;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDppB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA;AACA,kBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,sBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,uBAFA,EAZA;;AAgBA;AACA;AACA,mBADA;AAEA,mBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,oBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,mBAFA,EA3BA;;AA+BA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAhCA;;AAsCA;AACA;AACA,kBADA;AAEA,mBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,qBAFA,EA5CA;;AAgDA;AACA;AACA,mBADA;AAEA,oBAFA,EAjDA;;AAqDA;AACA;AACA,mBADA;AAEA,oBAFA,EAtDA;;AA0DA;AACA;AACA,kBADA;AAEA,qBAFA,EA3DA;;AA+DA;AACA;AACA,kBADA;AAEA,iBAFA,EAhEA;;AAoEA;AACA;AACA,4BADA;AAEA,iBAFA,EArEA;;AAyEA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA1EA;;AAgFA;AACA;AACA,4BADA;AAEA,mBAFA,EAjFA;;AAqFA;AACA;AACA,kBADA;AAEA,iBAFA,EAtFA;;AA0FA;AACA;AACA,kBADA;AAEA,wBAFA,EA3FA;;AA+FA;AACA;AACA,kBADA;AAEA,wBAFA,EAhGA;;AAoGA;AACA;AACA,kBADA;AAEA,kBAFA,EArGA;;AAyGA;AACA;AACA,kBADA;AAEA,uBAFA,EA1GA,EAFA;;;AAiHA,MAjHA,kBAiHA;AACA;AACA,iBADA;AAEA,sBAFA,EAEA;AACA,iBAHA;AAIA;AACA;AACA;AACA;AAPA;AASA,GA3HA;AA4HA;AACA,WADA,mBACA,IADA,EACA;AACA;AACA;AACA;AACA;AACA,KANA;AAOA;AACA,qBADA;AAEA,aAFA,mBAEA,IAFA,EAEA;AACA;AACA,OAJA,EAPA,EA5HA;;;AA0IA;AACA,iBADA,2BACA;AACA;AACA;AACA,KAJA;AAKA;AACA,eANA,yBAMA;AACA;AACA;AACA,KATA,EA1IA;;AAqJA;AACA;AACA,eAFA,uBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA;AACA,SAPA,mBAOA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA,KAbA;AAcA;AACA,UAfA,kBAeA,CAfA,EAeA;AACA;AACA;AACA;AACA;AACA,OAHA,CAGA;AACA,KArBA;AAsBA;AACA,UAvBA,oBAuBA;AACA;AACA;AACA;AACA;AACA,OAHA,CAGA;AACA,KA7BA;AA8BA;AACA,YA/BA,sBA+BA;AACA;AACA;AACA;AACA;AACA,KApCA;AAqCA;AACA,QAtCA,kBAsCA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA,KA9CA;AA+CA;AACA,gBAhDA,0BAgDA;AACA;AACA,KAlDA,EArJA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-search/u-search.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-search.vue?vue&type=template&id=4c556b40&scoped=true&\"\nvar renderjs\nimport script from \"./u-search.vue?vue&type=script&lang=js&\"\nexport * from \"./u-search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-search.vue?vue&type=style&index=0&id=4c556b40&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 \"4c556b40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-search/u-search.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-search.vue?vue&type=template&id=4c556b40&scoped=true&\"","var components\ntry {\n components = {\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.__get_style([\n {\n textAlign: _vm.inputAlign,\n color: _vm.color,\n backgroundColor: _vm.bgColor\n },\n _vm.inputStyle\n ])\n\n var s1 = _vm.__get_style([_vm.actionStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1\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-search.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-search.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-search\" @tap=\"clickHandler\" :style=\"{\r\n\t\tmargin: margin,\r\n\t}\">\r\n\t\t<view\r\n\t\t\tclass=\"u-content\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\tborderRadius: shape == 'round' ? '100rpx' : '10rpx',\r\n\t\t\t\tborder: borderStyle,\r\n\t\t\t\theight: height + 'rpx'\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<view class=\"u-icon-wrap\">\r\n\t\t\t\t<u-icon class=\"u-clear-icon\" :size=\"30\" :name=\"searchIcon\" :color=\"searchIconColor ? searchIconColor : color\"></u-icon>\r\n\t\t\t</view>\r\n\t\t\t<input\r\n\t\t\t\tconfirm-type=\"search\"\r\n\t\t\t\t@blur=\"blur\"\r\n\t\t\t\t:value=\"value\"\r\n\t\t\t\t@confirm=\"search\"\r\n\t\t\t\t@input=\"inputChange\"\r\n\t\t\t\t:disabled=\"disabled\"\r\n\t\t\t\t@focus=\"getFocus\"\r\n\t\t\t\t:focus=\"focus\"\r\n\t\t\t\t:maxlength=\"maxlength\"\r\n\t\t\t\tplaceholder-class=\"u-placeholder-class\"\r\n\t\t\t\t:placeholder=\"placeholder\"\r\n\t\t\t\t:placeholder-style=\"`color: ${placeholderColor}`\"\r\n\t\t\t\tclass=\"u-input\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\t:style=\"[{\r\n\t\t\t\t\ttextAlign: inputAlign,\r\n\t\t\t\t\tcolor: color,\r\n\t\t\t\t\tbackgroundColor: bgColor,\r\n\t\t\t\t}, inputStyle]\"\r\n\t\t\t/>\r\n\t\t\t<view class=\"u-close-wrap\" v-if=\"keyword && clearabled && focused\" @tap=\"clear\">\r\n\t\t\t\t<u-icon class=\"u-clear-icon\" name=\"close-circle-fill\" size=\"34\" color=\"#c0c4cc\"></u-icon>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view :style=\"[actionStyle]\" class=\"u-action\" \r\n\t\t\t:class=\"[showActionBtn || show ? 'u-action-active' : '']\" \r\n\t\t\t@tap.stop.prevent=\"custom\"\r\n\t\t>{{ actionText }}</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * search 搜索框\r\n * @description 搜索组件,集成了常见搜索框所需功能,用户可以一键引入,开箱即用。\r\n * @tutorial https://www.uviewui.com/components/search.html\r\n * @property {String} shape 搜索框形状,round-圆形,square-方形(默认round)\r\n * @property {String} bg-color 搜索框背景颜色(默认#f2f2f2)\r\n * @property {String} border-color 边框颜色,配置了颜色,才会有边框\r\n * @property {String} placeholder 占位文字内容(默认“请输入关键字”)\r\n * @property {Boolean} clearabled 是否启用清除控件(默认true)\r\n * @property {Boolean} focus 是否自动获得焦点(默认false)\r\n * @property {Boolean} show-action 是否显示右侧控件(默认true)\r\n * @property {String} action-text 右侧控件文字(默认“搜索”)\r\n * @property {Object} action-style 右侧控件的样式,对象形式\r\n * @property {String} input-align 输入框内容水平对齐方式(默认left)\r\n * @property {Object} input-style 自定义输入框样式,对象形式\r\n * @property {Boolean} disabled 是否启用输入框(默认false)\r\n * @property {String} search-icon-color 搜索图标的颜色,默认同输入框字体颜色\r\n * @property {String} color 输入框字体颜色(默认#606266)\r\n * @property {String} placeholder-color placeholder的颜色(默认#909399)\r\n * @property {String} search-icon 输入框左边的图标,可以为uView图标名称或图片路径\r\n * @property {String} margin 组件与其他上下左右元素之间的距离,带单位的字符串形式,如\"30rpx\"\r\n * @property {Boolean} animation 是否开启动画,见上方说明(默认false)\r\n * @property {String} value 输入框初始值\r\n * @property {String | Number} maxlength 输入框最大能输入的长度,-1为不限制长度\r\n * @property {Boolean} input-style input输入框的样式,可以定义文字颜色,大小等,对象形式\r\n * @property {String | Number} height 输入框高度,单位rpx(默认64)\r\n * @event {Function} change 输入框内容发生变化时触发\r\n * @event {Function} search 用户确定搜索时触发,用户按回车键,或者手机键盘右下角的\"搜索\"键时触发\r\n * @event {Function} custom 用户点击右侧控件时触发\r\n * @event {Function} clear 用户点击清除按钮时触发\r\n * @example <u-search placeholder=\"日照香炉生紫烟\" v-model=\"keyword\"></u-search>\r\n */\r\nexport default {\r\n\tname: \"u-search\",\r\n\tprops: {\r\n\t\t// 搜索框形状,round-圆形,square-方形\r\n\t\tshape: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'round'\r\n\t\t},\r\n\t\t// 搜索框背景色,默认值#f2f2f2\r\n\t\tbgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#f2f2f2'\r\n\t\t},\r\n\t\t// 占位提示文字\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '请输入关键字'\r\n\t\t},\r\n\t\t// 是否启用清除控件\r\n\t\tclearabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 是否自动聚焦\r\n\t\tfocus: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否在搜索框右侧显示取消按钮\r\n\t\tshowAction: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 右边控件的样式\r\n\t\tactionStyle: {\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\tactionText: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '搜索'\r\n\t\t},\r\n\t\t// 输入框内容对齐方式,可选值为 left|center|right\r\n\t\tinputAlign: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'left'\r\n\t\t},\r\n\t\t// 是否启用输入框\r\n\t\tdisabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 开启showAction时,是否在input获取焦点时才显示\r\n\t\tanimation: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 边框颜色,只要配置了颜色,才会有边框\r\n\t\tborderColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'none'\r\n\t\t},\r\n\t\t// 输入框的初始化内容\r\n\t\tvalue: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 搜索框高度,单位rpx\r\n\t\theight: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 64\r\n\t\t},\r\n\t\t// input输入框的样式,可以定义文字颜色,大小等,对象形式\r\n\t\tinputStyle: {\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// 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)\r\n\t\tmaxlength: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: '-1'\r\n\t\t},\r\n\t\t// 搜索图标的颜色,默认同输入框字体颜色\r\n\t\tsearchIconColor: {\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: '#606266'\r\n\t\t},\r\n\t\t// placeholder的颜色\r\n\t\tplaceholderColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#909399'\r\n\t\t},\r\n\t\t// 组件与其他上下左右元素之间的距离,带单位的字符串形式,如\"30rpx\"、\"30rpx 20rpx\"等写法\r\n\t\tmargin: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '0'\r\n\t\t},\r\n\t\t// 左边输入框的图标,可以为uView图标名称或图片路径\r\n\t\tsearchIcon: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'search'\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tkeyword: '',\r\n\t\t\tshowClear: false, // 是否显示右边的清除图标\r\n\t\t\tshow: false,\r\n\t\t\t// 标记input当前状态是否处于聚焦中,如果是,才会显示右侧的清除控件\r\n\t\t\tfocused: this.focus\r\n\t\t\t// 绑定输入框的值\r\n\t\t\t// inputValue: this.value\r\n\t\t};\r\n\t},\r\n\twatch: {\r\n\t\tkeyword(nVal) {\r\n\t\t\t// 双向绑定值,让v-model绑定的值双向变化\r\n\t\t\tthis.$emit('input', nVal);\r\n\t\t\t// 触发change事件,事件效果和v-model双向绑定的效果一样,让用户多一个选择\r\n\t\t\tthis.$emit('change', nVal);\r\n\t\t},\r\n\t\tvalue: {\r\n\t\t\timmediate: true,\r\n\t\t\thandler(nVal) {\r\n\t\t\t\tthis.keyword = nVal;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tshowActionBtn() {\r\n\t\t\tif (!this.animation && this.showAction) return true;\r\n\t\t\telse return false;\r\n\t\t},\r\n\t\t// 样式,根据用户传入的颜色值生成,如果不传入,默认为none\r\n\t\tborderStyle() {\r\n\t\t\tif (this.borderColor) return `1px solid ${this.borderColor}`;\r\n\t\t\telse return 'none';\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\t// 目前HX2.6.9 v-model双向绑定无效,故监听input事件获取输入框内容的变化\r\n\t\tinputChange(e) {\r\n\t\t\tthis.keyword = e.detail.value;\r\n\t\t},\r\n\t\t// 清空输入\r\n\t\t// 也可以作为用户通过this.$refs形式调用清空输入框内容\r\n\t\tclear() {\r\n\t\t\tthis.keyword = '';\r\n\t\t\t// 延后发出事件,避免在父组件监听clear事件时,value为更新前的值(不为空)\r\n\t\t\tthis.$nextTick(() => {\r\n\t\t\t\tthis.$emit('clear');\r\n\t\t\t})\r\n\t\t},\r\n\t\t// 确定搜索\r\n\t\tsearch(e) {\r\n\t\t\tthis.$emit('search', e.detail.value);\r\n\t\t\ttry{\r\n\t\t\t\t// 收起键盘\r\n\t\t\t\tuni.hideKeyboard();\r\n\t\t\t}catch(e){}\r\n\t\t},\r\n\t\t// 点击右边自定义按钮的事件\r\n\t\tcustom() {\r\n\t\t\tthis.$emit('custom', this.keyword);\r\n\t\t\ttry{\r\n\t\t\t\t// 收起键盘\r\n\t\t\t\tuni.hideKeyboard();\r\n\t\t\t}catch(e){}\r\n\t\t},\r\n\t\t// 获取焦点\r\n\t\tgetFocus() {\r\n\t\t\tthis.focused = true;\r\n\t\t\t// 开启右侧搜索按钮展开的动画效果\r\n\t\t\tif (this.animation && this.showAction) this.show = true;\r\n\t\t\tthis.$emit('focus', this.keyword);\r\n\t\t},\r\n\t\t// 失去焦点\r\n\t\tblur() {\r\n\t\t\t// 最开始使用的是监听图标@touchstart事件,自从hx2.8.4后,此方法在微信小程序出错\r\n\t\t\t// 这里改为监听点击事件,手点击清除图标时,同时也发生了@blur事件,导致图标消失而无法点击,这里做一个延时\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.focused = false;\r\n\t\t\t}, 100)\r\n\t\t\tthis.show = false;\r\n\t\t\tthis.$emit('blur', this.keyword);\r\n\t\t},\r\n\t\t// 点击搜索框,只有disabled=true时才发出事件,因为禁止了输入,意味着是想跳转真正的搜索页\r\n\t\tclickHandler() {\r\n\t\t\tif(this.disabled) this.$emit('click');\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"../../libs/css/style.components.scss\";\r\n\r\n.u-search {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tflex: 1;\r\n}\r\n\r\n.u-content {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tpadding: 0 18rpx;\r\n\tflex: 1;\r\n}\r\n\r\n.u-clear-icon {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n}\r\n\r\n.u-input {\r\n\tflex: 1;\r\n\tfont-size: 28rpx;\r\n\tline-height: 1;\r\n\tmargin: 0 10rpx;\r\n\tcolor: $u-tips-color;\r\n}\r\n\r\n.u-close-wrap {\r\n\twidth: 40rpx;\r\n\theight: 100%;\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tborder-radius: 50%;\r\n}\r\n\r\n.u-placeholder-class {\r\n\tcolor: $u-tips-color;\r\n}\r\n\r\n.u-action {\r\n\tfont-size: 28rpx;\r\n\tcolor: $u-main-color;\r\n\twidth: 0;\r\n\toverflow: hidden;\r\n\ttransition: all 0.3s;\r\n\twhite-space: nowrap;\r\n\ttext-align: center;\r\n}\r\n\r\n.u-action-active {\r\n\twidth: 80rpx;\r\n\tmargin-left: 10rpx;\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-search.vue?vue&type=style&index=0&id=4c556b40&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-search.vue?vue&type=style&index=0&id=4c556b40&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770895\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-swiper/u-swiper.vue?8102","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?51b9","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?9a3a","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?a62a","uni-app:///uview-ui/components/u-swiper/u-swiper.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?34f9","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?f4ba"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmDppB;;;;;;;;;;;;;;;;;;;;;AAqBA;AACA,kBADA;AAEA;AACA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,mBADA;AAEA,oBAFA,EATA;;AAaA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAdA;;AAoBA;AACA;AACA,4BADA;AAEA,gBAFA,EArBA;;AAyBA;AACA;AACA,4BADA;AAEA,mBAFA,EA1BA;;AA8BA;AACA;AACA,kBADA;AAEA,sBAFA,EA/BA;;AAmCA;AACA;AACA,4BADA;AAEA,kBAFA,EApCA;;AAwCA;AACA;AACA,kBADA;AAEA,6BAFA,EAzCA;;AA6CA;AACA;AACA,mBADA;AAEA,oBAFA,EA9CA;;AAkDA;AACA;AACA,4BADA;AAEA,iBAFA,EAnDA;;AAuDA;AACA;AACA,mBADA;AAEA,mBAFA,EAxDA;;AA4DA;AACA;AACA,4BADA;AAEA,kBAFA,EA7DA;;AAiEA;AACA;AACA,mBADA;AAEA,mBAFA,EAlEA;;AAsEA;AACA;AACA,kBADA;AAEA,2BAFA,EAvEA;;AA2EA;AACA;AACA,kBADA;AAEA,sBAFA,EA5EA;;AAgFA;AACA;AACA,kBADA;AAEA,wBAFA,EAjFA;;AAqFA;AACA;AACA,4BADA;AAEA,gBAFA,EAtFA;;AA0FA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3FA,EAFA;;;AAoGA;AACA;AACA,QAFA,gBAEA,IAFA,EAEA,IAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA;AACA,WAPA,mBAOA,CAPA,EAOA;AACA;AACA,KATA,EApGA;;AA+GA,MA/GA,kBA+GA;AACA;AACA,4BADA,CACA;AADA;AAGA,GAnHA;AAoHA;AACA,kBADA,4BACA;AACA;AACA;AACA;AACA,KALA;AAMA,sBANA,gCAMA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KAjBA;AAkBA;AACA,aAnBA,uBAmBA;AACA;AACA,KArBA,EApHA;;AA2IA;AACA,aADA,qBACA,KADA,EACA;AACA;AACA,KAHA;AAIA,UAJA,kBAIA,CAJA,EAIA;AACA;AACA;AACA;AACA;AACA,KATA;AAUA;AACA;AACA,mBAZA,2BAYA,CAZA,EAYA;;AAEA;;AAEA,KAhBA,EA3IA,E;;;;;;;;;;;;ACxEA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-swiper/u-swiper.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-swiper.vue?vue&type=template&id=a5b2d580&scoped=true&\"\nvar renderjs\nimport script from \"./u-swiper.vue?vue&type=script&lang=js&\"\nexport * from \"./u-swiper.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-swiper.vue?vue&type=style&index=0&id=a5b2d580&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 \"a5b2d580\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-swiper/u-swiper.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-swiper.vue?vue&type=template&id=a5b2d580&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 l0 = _vm.__map(_vm.list, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var s0 =\n _vm.title && item.title\n ? _vm.__get_style([\n {\n \"padding-bottom\": _vm.titlePaddingBottom\n },\n _vm.titleStyle\n ])\n : null\n return {\n $orig: $orig,\n s0: s0\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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-swiper.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-swiper.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-swiper-wrap\" :style=\"{\r\n\t\tborderRadius: `${borderRadius}rpx`\r\n\t}\">\r\n\t\t<swiper :current=\"elCurrent\" @change=\"change\" @animationfinish=\"animationfinish\" :interval=\"interval\" :circular=\"circular\" :duration=\"duration\" :autoplay=\"autoplay\"\r\n\t\t :previous-margin=\"effect3d ? effect3dPreviousMargin + 'rpx' : '0'\" :next-margin=\"effect3d ? effect3dPreviousMargin + 'rpx' : '0'\"\r\n\t\t :style=\"{\r\n\t\t\t\theight: height + 'rpx',\r\n\t\t\t\tbackgroundColor: bgColor\r\n\t\t\t}\">\r\n\t\t\t<swiper-item class=\"u-swiper-item\" v-for=\"(item, index) in list\" :key=\"index\">\r\n\t\t\t\t<view class=\"u-list-image-wrap\" @tap.stop.prevent=\"listClick(index)\" :class=\"[uCurrent != index ? 'u-list-scale' : '']\" :style=\"{\r\n\t\t\t\t\t\tborderRadius: `${borderRadius}rpx`,\r\n\t\t\t\t\t\ttransform: effect3d && uCurrent != index ? 'scaleY(0.9)' : 'scaleY(1)',\r\n\t\t\t\t\t\tmargin: effect3d && uCurrent != index ? '0 20rpx' : 0,\r\n\t\t\t\t\t}\">\r\n\t\t\t\t\t<image class=\"u-swiper-image\" :src=\"item[name] || item\" :mode=\"imgMode\"></image>\r\n\t\t\t\t\t<view v-if=\"title && item.title\" class=\"u-swiper-title u-line-1\" :style=\"[{\r\n\t\t\t\t\t\t\t'padding-bottom': titlePaddingBottom\r\n\t\t\t\t\t\t}, titleStyle]\">\r\n\t\t\t\t\t\t{{ item.title }}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</swiper-item>\r\n\t\t</swiper>\r\n\t\t<view class=\"u-swiper-indicator\" :style=\"{\r\n\t\t\t\ttop: indicatorPos == 'topLeft' || indicatorPos == 'topCenter' || indicatorPos == 'topRight' ? '12rpx' : 'auto',\r\n\t\t\t\tbottom: indicatorPos == 'bottomLeft' || indicatorPos == 'bottomCenter' || indicatorPos == 'bottomRight' ? '12rpx' : 'auto',\r\n\t\t\t\tjustifyContent: justifyContent,\r\n\t\t\t\tpadding: `0 ${effect3d ? '74rpx' : '24rpx'}`\r\n\t\t\t}\">\r\n\t\t\t<block v-if=\"mode == 'rect'\">\r\n\t\t\t\t<view class=\"u-indicator-item-rect\" :class=\"{ 'u-indicator-item-rect-active': index == uCurrent }\" v-for=\"(item, index) in list\"\r\n\t\t\t\t :key=\"index\"></view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"mode == 'dot'\">\r\n\t\t\t\t<view class=\"u-indicator-item-dot\" :class=\"{ 'u-indicator-item-dot-active': index == uCurrent }\" v-for=\"(item, index) in list\"\r\n\t\t\t\t :key=\"index\"></view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"mode == 'round'\">\r\n\t\t\t\t<view class=\"u-indicator-item-round\" :class=\"{ 'u-indicator-item-round-active': index == uCurrent }\" v-for=\"(item, index) in list\"\r\n\t\t\t\t :key=\"index\"></view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"mode == 'number'\">\r\n\t\t\t\t<view class=\"u-indicator-item-number\">{{ uCurrent + 1 }}/{{ list.length }}</view>\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * swiper 轮播图\r\n\t * @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用\r\n\t * @tutorial https://www.uviewui.com/components/swiper.html\r\n\t * @property {Array} list 轮播图数据,见官网\"基本使用\"说明\r\n\t * @property {Boolean} title 是否显示标题文字,需要配合list参数,见官网说明(默认false)\r\n\t * @property {String} mode 指示器模式,见官网说明(默认round)\r\n\t * @property {String Number} height 轮播图组件高度,单位rpx(默认250)\r\n\t * @property {String} indicator-pos 指示器的位置(默认bottomCenter)\r\n\t * @property {Boolean} effect3d 是否开启3D效果(默认false)\r\n\t * @property {Boolean} autoplay 是否自动播放(默认true)\r\n\t * @property {String Number} interval 自动轮播时间间隔,单位ms(默认2500)\r\n\t * @property {Boolean} circular 是否衔接播放,见官网说明(默认true)\r\n\t * @property {String} bg-color 背景颜色(默认#f3f4f6)\r\n\t * @property {String Number} border-radius 轮播图圆角值,单位rpx(默认8)\r\n\t * @property {Object} title-style 自定义标题样式\r\n\t * @property {String Number} effect3d-previous-margin mode = true模式的情况下,激活项与前后项之间的距离,单位rpx(默认50)\r\n\t * @property {String} img-mode 图片的裁剪模式,详见image组件裁剪模式(默认aspectFill)\r\n\t * @event {Function} click 点击轮播图时触发\r\n\t * @example <u-swiper :list=\"list\" mode=\"dot\" indicator-pos=\"bottomRight\"></u-swiper>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-swiper\",\r\n\t\tprops: {\r\n\t\t\t// 轮播图的数据,格式如:[{image: 'xxxx', title: 'xxxx'},{image: 'yyyy', title: 'yyyy'}],其中title字段可选\r\n\t\t\tlist: {\r\n\t\t\t\ttype: Array,\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// 是否显示title标题\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 用户自定义的指示器的样式\r\n\t\t\tindicator: {\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// 圆角值\r\n\t\t\tborderRadius: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 8\r\n\t\t\t},\r\n\t\t\t// 隔多久自动切换\r\n\t\t\tinterval: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 3000\r\n\t\t\t},\r\n\t\t\t// 指示器的模式,rect|dot|number|round\r\n\t\t\tmode: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'round'\r\n\t\t\t},\r\n\t\t\t// list的高度,单位rpx\r\n\t\t\theight: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 250\r\n\t\t\t},\r\n\t\t\t// 指示器的位置,topLeft|topCenter|topRight|bottomLeft|bottomCenter|bottomRight\r\n\t\t\tindicatorPos: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'bottomCenter'\r\n\t\t\t},\r\n\t\t\t// 是否开启缩放效果\r\n\t\t\teffect3d: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 3D模式的情况下,激活item与前后item之间的距离,单位rpx\r\n\t\t\teffect3dPreviousMargin: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 50\r\n\t\t\t},\r\n\t\t\t// 是否自动播放\r\n\t\t\tautoplay: {\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: 500\r\n\t\t\t},\r\n\t\t\t// 是否衔接滑动,即到最后一张时接着滑动,是否自动切换到第一张\r\n\t\t\tcircular: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t// 图片的裁剪模式 \r\n\t\t\timgMode: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'aspectFill'\r\n\t\t\t},\r\n\t\t\t// 从list数组中读取的图片的属性名\r\n\t\t\tname: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'image'\r\n\t\t\t},\r\n\t\t\t// 背景颜色\r\n\t\t\tbgColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#f3f4f6'\r\n\t\t\t},\r\n\t\t\t// 初始化时,默认显示第几项\r\n\t\t\tcurrent: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\t// 标题的样式,对象形式\r\n\t\t\ttitleStyle: {\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},\r\n\t\twatch: {\r\n\t\t\t// 如果外部的list发生变化,判断长度是否被修改,如果前后长度不一致,重置uCurrent值,避免溢出\r\n\t\t\tlist(nVal, oVal) {\r\n\t\t\t\tif(nVal.length !== oVal.length) this.uCurrent = 0;\r\n\t\t\t},\r\n\t\t\t// 监听外部current的变化,实时修改内部依赖于此测uCurrent值,如果更新了current,而不是更新uCurrent,\r\n\t\t\t// 就会错乱,因为指示器是依赖于uCurrent的\r\n\t\t\tcurrent(n) {\r\n\t\t\t\tthis.uCurrent = n;\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tuCurrent: this.current // 当前活跃的swiper-item的index\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tjustifyContent() {\r\n\t\t\t\tif (this.indicatorPos == 'topLeft' || this.indicatorPos == 'bottomLeft') return 'flex-start';\r\n\t\t\t\tif (this.indicatorPos == 'topCenter' || this.indicatorPos == 'bottomCenter') return 'center';\r\n\t\t\t\tif (this.indicatorPos == 'topRight' || this.indicatorPos == 'bottomRight') return 'flex-end';\r\n\t\t\t},\r\n\t\t\ttitlePaddingBottom() {\r\n\t\t\t\tlet tmp = 0;\r\n\t\t\t\tif (this.mode == 'none') return '12rpx';\r\n\t\t\t\tif (['bottomLeft', 'bottomCenter', 'bottomRight'].indexOf(this.indicatorPos) >= 0 && this.mode == 'number') {\r\n\t\t\t\t\ttmp = '60rpx';\r\n\t\t\t\t} else if (['bottomLeft', 'bottomCenter', 'bottomRight'].indexOf(this.indicatorPos) >= 0 && this.mode != 'number') {\r\n\t\t\t\t\ttmp = '40rpx';\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttmp = '12rpx';\r\n\t\t\t\t}\r\n\t\t\t\treturn tmp;\r\n\t\t\t},\r\n\t\t\t// 因为uni的swiper组件的current参数只接受Number类型,这里做一个转换\r\n\t\t\telCurrent() {\r\n\t\t\t\treturn Number(this.current);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tlistClick(index) {\r\n\t\t\t\tthis.$emit('click', index);\r\n\t\t\t},\r\n\t\t\tchange(e) {\r\n\t\t\t\tlet current = e.detail.current;\r\n\t\t\t\tthis.uCurrent = current;\r\n\t\t\t\t// 发出change事件,表示当前自动切换的index,从0开始\r\n\t\t\t\tthis.$emit('change', current);\r\n\t\t\t},\r\n\t\t\t// 头条小程序不支持animationfinish事件,改由change事件\r\n\t\t\t// 暂不监听此事件,因为不再给swiper绑定uCurrent属性\r\n\t\t\tanimationfinish(e) {\r\n\t\t\t\t// #ifndef MP-TOUTIAO\r\n\t\t\t\t// this.uCurrent = e.detail.current;\r\n\t\t\t\t// #endif\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-swiper-wrap {\r\n\t\tposition: relative;\r\n\t\toverflow: hidden;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\r\n\t.u-swiper-image {\r\n\t\twidth: 100%;\r\n\t\twill-change: transform;\r\n\t\theight: 100%;\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: block;\r\n\t\t/* #endif */\r\n\t\t/* #ifdef H5 */\r\n\t\tpointer-events: none;\r\n\t\t/* #endif */\r\n\t}\r\n\r\n\t.u-swiper-indicator {\r\n\t\tpadding: 0 24rpx;\r\n\t\tposition: absolute;\r\n\t\t@include vue-flex;\r\n\t\twidth: 100%;\r\n\t\tz-index: 1;\r\n\t}\r\n\r\n\t.u-indicator-item-rect {\r\n\t\twidth: 26rpx;\r\n\t\theight: 8rpx;\r\n\t\tmargin: 0 6rpx;\r\n\t\ttransition: all 0.5s;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t.u-indicator-item-rect-active {\r\n\t\tbackground-color: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-indicator-item-dot {\r\n\t\twidth: 14rpx;\r\n\t\theight: 14rpx;\r\n\t\tmargin: 0 6rpx;\r\n\t\tborder-radius: 20rpx;\r\n\t\ttransition: all 0.5s;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t.u-indicator-item-dot-active {\r\n\t\tbackground-color: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-indicator-item-round {\r\n\t\twidth: 14rpx;\r\n\t\theight: 14rpx;\r\n\t\tmargin: 0 6rpx;\r\n\t\tborder-radius: 20rpx;\r\n\t\ttransition: all 0.5s;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t.u-indicator-item-round-active {\r\n\t\twidth: 34rpx;\r\n\t\tbackground-color: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-indicator-item-number {\r\n\t\tpadding: 6rpx 16rpx;\r\n\t\tline-height: 1;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t\tborder-radius: 100rpx;\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-list-scale {\r\n\t\ttransform-origin: center center;\r\n\t}\r\n\r\n\t.u-list-image-wrap {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tflex: 1;\r\n\t\ttransition: all 0.5s;\r\n\t\toverflow: hidden;\r\n\t\tbox-sizing: content-box;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.u-swiper-title {\r\n\t\tposition: absolute;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\tfont-size: 28rpx;\r\n\t\tpadding: 12rpx 24rpx;\r\n\t\tcolor: rgba(255, 255, 255, 0.9);\r\n\t}\r\n\r\n\t.u-swiper-item {\r\n\t\t@include vue-flex;\r\n\t\toverflow: hidden;\r\n\t\talign-items: center;\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-swiper.vue?vue&type=style&index=0&id=a5b2d580&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-swiper.vue?vue&type=style&index=0&id=a5b2d580&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1627896279867\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-swiper/u-swiper.vue?8102","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?51b9","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?9a3a","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?a62a","uni-app:///uview-ui/components/u-swiper/u-swiper.vue","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?34f9","webpack:///E:/pangding/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?f4ba"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC2K;AAC3K,gBAAgB,+KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;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;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,4nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmDppB;;;;;;;;;;;;;;;;;;;;;AAqBA;AACA,kBADA;AAEA;AACA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,mBADA;AAEA,oBAFA,EATA;;AAaA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAdA;;AAoBA;AACA;AACA,4BADA;AAEA,gBAFA,EArBA;;AAyBA;AACA;AACA,4BADA;AAEA,mBAFA,EA1BA;;AA8BA;AACA;AACA,kBADA;AAEA,sBAFA,EA/BA;;AAmCA;AACA;AACA,4BADA;AAEA,kBAFA,EApCA;;AAwCA;AACA;AACA,kBADA;AAEA,6BAFA,EAzCA;;AA6CA;AACA;AACA,mBADA;AAEA,oBAFA,EA9CA;;AAkDA;AACA;AACA,4BADA;AAEA,iBAFA,EAnDA;;AAuDA;AACA;AACA,mBADA;AAEA,mBAFA,EAxDA;;AA4DA;AACA;AACA,4BADA;AAEA,kBAFA,EA7DA;;AAiEA;AACA;AACA,mBADA;AAEA,mBAFA,EAlEA;;AAsEA;AACA;AACA,kBADA;AAEA,2BAFA,EAvEA;;AA2EA;AACA;AACA,kBADA;AAEA,sBAFA,EA5EA;;AAgFA;AACA;AACA,kBADA;AAEA,wBAFA,EAjFA;;AAqFA;AACA;AACA,4BADA;AAEA,gBAFA,EAtFA;;AA0FA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3FA,EAFA;;;AAoGA;AACA;AACA,QAFA,gBAEA,IAFA,EAEA,IAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA;AACA,WAPA,mBAOA,CAPA,EAOA;AACA;AACA,KATA,EApGA;;AA+GA,MA/GA,kBA+GA;AACA;AACA,4BADA,CACA;AADA;AAGA,GAnHA;AAoHA;AACA,kBADA,4BACA;AACA;AACA;AACA;AACA,KALA;AAMA,sBANA,gCAMA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KAjBA;AAkBA;AACA,aAnBA,uBAmBA;AACA;AACA,KArBA,EApHA;;AA2IA;AACA,aADA,qBACA,KADA,EACA;AACA;AACA,KAHA;AAIA,UAJA,kBAIA,CAJA,EAIA;AACA;AACA;AACA;AACA;AACA,KATA;AAUA;AACA;AACA,mBAZA,2BAYA,CAZA,EAYA;;AAEA;;AAEA,KAhBA,EA3IA,E;;;;;;;;;;;;ACxEA;AAAA;AAAA;AAAA;AAAkrC,CAAgB,smCAAG,EAAC,C;;;;;;;;;;;ACAtsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-swiper/u-swiper.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-swiper.vue?vue&type=template&id=a5b2d580&scoped=true&\"\nvar renderjs\nimport script from \"./u-swiper.vue?vue&type=script&lang=js&\"\nexport * from \"./u-swiper.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-swiper.vue?vue&type=style&index=0&id=a5b2d580&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 \"a5b2d580\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-swiper/u-swiper.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-swiper.vue?vue&type=template&id=a5b2d580&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 l0 = _vm.__map(_vm.list, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var s0 =\n _vm.title && item.title\n ? _vm.__get_style([\n {\n \"padding-bottom\": _vm.titlePaddingBottom\n },\n _vm.titleStyle\n ])\n : null\n return {\n $orig: $orig,\n s0: s0\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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-swiper.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-swiper.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-swiper-wrap\" :style=\"{\r\n\t\tborderRadius: `${borderRadius}rpx`\r\n\t}\">\r\n\t\t<swiper :current=\"elCurrent\" @change=\"change\" @animationfinish=\"animationfinish\" :interval=\"interval\" :circular=\"circular\" :duration=\"duration\" :autoplay=\"autoplay\"\r\n\t\t :previous-margin=\"effect3d ? effect3dPreviousMargin + 'rpx' : '0'\" :next-margin=\"effect3d ? effect3dPreviousMargin + 'rpx' : '0'\"\r\n\t\t :style=\"{\r\n\t\t\t\theight: height + 'rpx',\r\n\t\t\t\tbackgroundColor: bgColor\r\n\t\t\t}\">\r\n\t\t\t<swiper-item class=\"u-swiper-item\" v-for=\"(item, index) in list\" :key=\"index\">\r\n\t\t\t\t<view class=\"u-list-image-wrap\" @tap.stop.prevent=\"listClick(index)\" :class=\"[uCurrent != index ? 'u-list-scale' : '']\" :style=\"{\r\n\t\t\t\t\t\tborderRadius: `${borderRadius}rpx`,\r\n\t\t\t\t\t\ttransform: effect3d && uCurrent != index ? 'scaleY(0.9)' : 'scaleY(1)',\r\n\t\t\t\t\t\tmargin: effect3d && uCurrent != index ? '0 20rpx' : 0,\r\n\t\t\t\t\t}\">\r\n\t\t\t\t\t<image class=\"u-swiper-image\" :src=\"item[name] || item\" :mode=\"imgMode\"></image>\r\n\t\t\t\t\t<view v-if=\"title && item.title\" class=\"u-swiper-title u-line-1\" :style=\"[{\r\n\t\t\t\t\t\t\t'padding-bottom': titlePaddingBottom\r\n\t\t\t\t\t\t}, titleStyle]\">\r\n\t\t\t\t\t\t{{ item.title }}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</swiper-item>\r\n\t\t</swiper>\r\n\t\t<view class=\"u-swiper-indicator\" :style=\"{\r\n\t\t\t\ttop: indicatorPos == 'topLeft' || indicatorPos == 'topCenter' || indicatorPos == 'topRight' ? '12rpx' : 'auto',\r\n\t\t\t\tbottom: indicatorPos == 'bottomLeft' || indicatorPos == 'bottomCenter' || indicatorPos == 'bottomRight' ? '12rpx' : 'auto',\r\n\t\t\t\tjustifyContent: justifyContent,\r\n\t\t\t\tpadding: `0 ${effect3d ? '74rpx' : '24rpx'}`\r\n\t\t\t}\">\r\n\t\t\t<block v-if=\"mode == 'rect'\">\r\n\t\t\t\t<view class=\"u-indicator-item-rect\" :class=\"{ 'u-indicator-item-rect-active': index == uCurrent }\" v-for=\"(item, index) in list\"\r\n\t\t\t\t :key=\"index\"></view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"mode == 'dot'\">\r\n\t\t\t\t<view class=\"u-indicator-item-dot\" :class=\"{ 'u-indicator-item-dot-active': index == uCurrent }\" v-for=\"(item, index) in list\"\r\n\t\t\t\t :key=\"index\"></view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"mode == 'round'\">\r\n\t\t\t\t<view class=\"u-indicator-item-round\" :class=\"{ 'u-indicator-item-round-active': index == uCurrent }\" v-for=\"(item, index) in list\"\r\n\t\t\t\t :key=\"index\"></view>\r\n\t\t\t</block>\r\n\t\t\t<block v-if=\"mode == 'number'\">\r\n\t\t\t\t<view class=\"u-indicator-item-number\">{{ uCurrent + 1 }}/{{ list.length }}</view>\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * swiper 轮播图\r\n\t * @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用\r\n\t * @tutorial https://www.uviewui.com/components/swiper.html\r\n\t * @property {Array} list 轮播图数据,见官网\"基本使用\"说明\r\n\t * @property {Boolean} title 是否显示标题文字,需要配合list参数,见官网说明(默认false)\r\n\t * @property {String} mode 指示器模式,见官网说明(默认round)\r\n\t * @property {String Number} height 轮播图组件高度,单位rpx(默认250)\r\n\t * @property {String} indicator-pos 指示器的位置(默认bottomCenter)\r\n\t * @property {Boolean} effect3d 是否开启3D效果(默认false)\r\n\t * @property {Boolean} autoplay 是否自动播放(默认true)\r\n\t * @property {String Number} interval 自动轮播时间间隔,单位ms(默认2500)\r\n\t * @property {Boolean} circular 是否衔接播放,见官网说明(默认true)\r\n\t * @property {String} bg-color 背景颜色(默认#f3f4f6)\r\n\t * @property {String Number} border-radius 轮播图圆角值,单位rpx(默认8)\r\n\t * @property {Object} title-style 自定义标题样式\r\n\t * @property {String Number} effect3d-previous-margin mode = true模式的情况下,激活项与前后项之间的距离,单位rpx(默认50)\r\n\t * @property {String} img-mode 图片的裁剪模式,详见image组件裁剪模式(默认aspectFill)\r\n\t * @event {Function} click 点击轮播图时触发\r\n\t * @example <u-swiper :list=\"list\" mode=\"dot\" indicator-pos=\"bottomRight\"></u-swiper>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-swiper\",\r\n\t\tprops: {\r\n\t\t\t// 轮播图的数据,格式如:[{image: 'xxxx', title: 'xxxx'},{image: 'yyyy', title: 'yyyy'}],其中title字段可选\r\n\t\t\tlist: {\r\n\t\t\t\ttype: Array,\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// 是否显示title标题\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 用户自定义的指示器的样式\r\n\t\t\tindicator: {\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// 圆角值\r\n\t\t\tborderRadius: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 8\r\n\t\t\t},\r\n\t\t\t// 隔多久自动切换\r\n\t\t\tinterval: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 3000\r\n\t\t\t},\r\n\t\t\t// 指示器的模式,rect|dot|number|round\r\n\t\t\tmode: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'round'\r\n\t\t\t},\r\n\t\t\t// list的高度,单位rpx\r\n\t\t\theight: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 250\r\n\t\t\t},\r\n\t\t\t// 指示器的位置,topLeft|topCenter|topRight|bottomLeft|bottomCenter|bottomRight\r\n\t\t\tindicatorPos: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'bottomCenter'\r\n\t\t\t},\r\n\t\t\t// 是否开启缩放效果\r\n\t\t\teffect3d: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 3D模式的情况下,激活item与前后item之间的距离,单位rpx\r\n\t\t\teffect3dPreviousMargin: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 50\r\n\t\t\t},\r\n\t\t\t// 是否自动播放\r\n\t\t\tautoplay: {\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: 500\r\n\t\t\t},\r\n\t\t\t// 是否衔接滑动,即到最后一张时接着滑动,是否自动切换到第一张\r\n\t\t\tcircular: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t// 图片的裁剪模式 \r\n\t\t\timgMode: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'aspectFill'\r\n\t\t\t},\r\n\t\t\t// 从list数组中读取的图片的属性名\r\n\t\t\tname: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'image'\r\n\t\t\t},\r\n\t\t\t// 背景颜色\r\n\t\t\tbgColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#f3f4f6'\r\n\t\t\t},\r\n\t\t\t// 初始化时,默认显示第几项\r\n\t\t\tcurrent: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\t// 标题的样式,对象形式\r\n\t\t\ttitleStyle: {\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},\r\n\t\twatch: {\r\n\t\t\t// 如果外部的list发生变化,判断长度是否被修改,如果前后长度不一致,重置uCurrent值,避免溢出\r\n\t\t\tlist(nVal, oVal) {\r\n\t\t\t\tif(nVal.length !== oVal.length) this.uCurrent = 0;\r\n\t\t\t},\r\n\t\t\t// 监听外部current的变化,实时修改内部依赖于此测uCurrent值,如果更新了current,而不是更新uCurrent,\r\n\t\t\t// 就会错乱,因为指示器是依赖于uCurrent的\r\n\t\t\tcurrent(n) {\r\n\t\t\t\tthis.uCurrent = n;\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tuCurrent: this.current // 当前活跃的swiper-item的index\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tjustifyContent() {\r\n\t\t\t\tif (this.indicatorPos == 'topLeft' || this.indicatorPos == 'bottomLeft') return 'flex-start';\r\n\t\t\t\tif (this.indicatorPos == 'topCenter' || this.indicatorPos == 'bottomCenter') return 'center';\r\n\t\t\t\tif (this.indicatorPos == 'topRight' || this.indicatorPos == 'bottomRight') return 'flex-end';\r\n\t\t\t},\r\n\t\t\ttitlePaddingBottom() {\r\n\t\t\t\tlet tmp = 0;\r\n\t\t\t\tif (this.mode == 'none') return '12rpx';\r\n\t\t\t\tif (['bottomLeft', 'bottomCenter', 'bottomRight'].indexOf(this.indicatorPos) >= 0 && this.mode == 'number') {\r\n\t\t\t\t\ttmp = '60rpx';\r\n\t\t\t\t} else if (['bottomLeft', 'bottomCenter', 'bottomRight'].indexOf(this.indicatorPos) >= 0 && this.mode != 'number') {\r\n\t\t\t\t\ttmp = '40rpx';\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttmp = '12rpx';\r\n\t\t\t\t}\r\n\t\t\t\treturn tmp;\r\n\t\t\t},\r\n\t\t\t// 因为uni的swiper组件的current参数只接受Number类型,这里做一个转换\r\n\t\t\telCurrent() {\r\n\t\t\t\treturn Number(this.current);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tlistClick(index) {\r\n\t\t\t\tthis.$emit('click', index);\r\n\t\t\t},\r\n\t\t\tchange(e) {\r\n\t\t\t\tlet current = e.detail.current;\r\n\t\t\t\tthis.uCurrent = current;\r\n\t\t\t\t// 发出change事件,表示当前自动切换的index,从0开始\r\n\t\t\t\tthis.$emit('change', current);\r\n\t\t\t},\r\n\t\t\t// 头条小程序不支持animationfinish事件,改由change事件\r\n\t\t\t// 暂不监听此事件,因为不再给swiper绑定uCurrent属性\r\n\t\t\tanimationfinish(e) {\r\n\t\t\t\t// #ifndef MP-TOUTIAO\r\n\t\t\t\t// this.uCurrent = e.detail.current;\r\n\t\t\t\t// #endif\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-swiper-wrap {\r\n\t\tposition: relative;\r\n\t\toverflow: hidden;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\r\n\t.u-swiper-image {\r\n\t\twidth: 100%;\r\n\t\twill-change: transform;\r\n\t\theight: 100%;\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: block;\r\n\t\t/* #endif */\r\n\t\t/* #ifdef H5 */\r\n\t\tpointer-events: none;\r\n\t\t/* #endif */\r\n\t}\r\n\r\n\t.u-swiper-indicator {\r\n\t\tpadding: 0 24rpx;\r\n\t\tposition: absolute;\r\n\t\t@include vue-flex;\r\n\t\twidth: 100%;\r\n\t\tz-index: 1;\r\n\t}\r\n\r\n\t.u-indicator-item-rect {\r\n\t\twidth: 26rpx;\r\n\t\theight: 8rpx;\r\n\t\tmargin: 0 6rpx;\r\n\t\ttransition: all 0.5s;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t.u-indicator-item-rect-active {\r\n\t\tbackground-color: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-indicator-item-dot {\r\n\t\twidth: 14rpx;\r\n\t\theight: 14rpx;\r\n\t\tmargin: 0 6rpx;\r\n\t\tborder-radius: 20rpx;\r\n\t\ttransition: all 0.5s;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t.u-indicator-item-dot-active {\r\n\t\tbackground-color: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-indicator-item-round {\r\n\t\twidth: 14rpx;\r\n\t\theight: 14rpx;\r\n\t\tmargin: 0 6rpx;\r\n\t\tborder-radius: 20rpx;\r\n\t\ttransition: all 0.5s;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t}\r\n\r\n\t.u-indicator-item-round-active {\r\n\t\twidth: 34rpx;\r\n\t\tbackground-color: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-indicator-item-number {\r\n\t\tpadding: 6rpx 16rpx;\r\n\t\tline-height: 1;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t\tborder-radius: 100rpx;\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: rgba(255, 255, 255, 0.8);\r\n\t}\r\n\r\n\t.u-list-scale {\r\n\t\ttransform-origin: center center;\r\n\t}\r\n\r\n\t.u-list-image-wrap {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tflex: 1;\r\n\t\ttransition: all 0.5s;\r\n\t\toverflow: hidden;\r\n\t\tbox-sizing: content-box;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.u-swiper-title {\r\n\t\tposition: absolute;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.3);\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\tfont-size: 28rpx;\r\n\t\tpadding: 12rpx 24rpx;\r\n\t\tcolor: rgba(255, 255, 255, 0.9);\r\n\t}\r\n\r\n\t.u-swiper-item {\r\n\t\t@include vue-flex;\r\n\t\toverflow: hidden;\r\n\t\talign-items: center;\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-swiper.vue?vue&type=style&index=0&id=a5b2d580&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-swiper.vue?vue&type=style&index=0&id=a5b2d580&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628072770907\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
{
"modes": [
{
"title": "支付页面",
"page": "pages/ourPayment/ourPayment",
"pageQuery": "companyId=10001"
"title": "支付",
"page": "pages/ourPayment/ourPayment"
}
]
}
\ No newline at end of file
......@@ -103,16 +103,24 @@ __webpack_require__.r(__webpack_exports__);
// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted
//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全
var _default = {
onLaunch: function onLaunch() {//初始化完成时触发(全局只触发一次
onLaunch: function onLaunch(options) {//初始化完成时触发(全局只触发一次
var openid = uni.getStorageSync("openid");
if (!openid) {
setTimeout(function () {//解决关联普通二维码扫码首次进入时一直显示登录中
uni.navigateTo({
url: "pages/login/login" });
url: "/pages/login/login" });
}, 300);
}
if (options.query && options.query.qrCode) {
uni.setStorageSync('alipayQrCode', options.query.qrCode);
} else {
uni.removeStorageSync('alipayQrCode');
}
},
onShow: function onShow() {
......
......@@ -249,7 +249,7 @@ __webpack_require__.r(__webpack_exports__);
companyId: "", //公司Id
merchantId: "", //商户Id
name: "", //商家名称
payType: 42, //支付类型,微信小程序支付
payType: "", //支付类型,微信小程序42,支付宝小程序33
paySign: "", //签名
signType: "", //签名方式
timeStamp: "", //时间戳
......@@ -302,13 +302,9 @@ __webpack_require__.r(__webpack_exports__);
uni.showModal({
title: '提示',
content: JSON.stringify(option) });
if (option.query && option.query.qrCode) {
this.enterUrl = option.query.qrCode;
}
this.enterUrl = uni.getStorageSync("alipayQrCode");
this.payType = 33;
if (this.enterUrl) {//扫普通二维码进入
this.merchantId = this.getUrlKey("merchantId");
......
......@@ -103,16 +103,23 @@ __webpack_require__.r(__webpack_exports__);
// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted
//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全
var _default = {
onLaunch: function onLaunch() {//初始化完成时触发(全局只触发一次
onLaunch: function onLaunch(options) {//初始化完成时触发(全局只触发一次
var openid = uni.getStorageSync("openid");
if (!openid) {
setTimeout(function () {//解决关联普通二维码扫码首次进入时一直显示登录中
uni.navigateTo({
url: "pages/login/login" });
url: "/pages/login/login" });
}, 300);
}
},
onShow: function onShow() {
......
......@@ -872,7 +872,7 @@ function initData(vueOptions, context) {
try {
data = data.call(context); // 支持 Vue.prototype 上挂的数据
} catch (e) {
if (Object({"VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
}
}
......@@ -7446,7 +7446,7 @@ function type(obj) {
function flushCallbacks$1(vm) {
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
if (Object({"VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
......@@ -7467,14 +7467,14 @@ function nextTick$1(vm, cb) {
//1.nextTick 之前 已 setData 且 setData 还未回调完成
//2.nextTick 之前存在 render watcher
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
if(Object({"VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
if(Object({"NODE_ENV":"development","VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:nextVueTick');
}
return nextTick(cb, vm)
}else{
if(Object({"VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
if(Object({"NODE_ENV":"development","VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance$1 = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
']:nextMPTick');
......@@ -7560,7 +7560,7 @@ var patch = function(oldVnode, vnode) {
});
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
if (Object.keys(diffData).length) {
if (Object({"VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"uni-pdtravel","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
']差量更新',
JSON.stringify(diffData));
......@@ -9025,7 +9025,7 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = { "pages": { "pages/index/index": { "navigationBarTitleText": "胖丁旅游", "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/orderPayment/orderPayment": { "navigationBarTitleText": "订单支付", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/login/login": { "navigationBarTitleText": "登录中", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/paySuccess/paySuccess": { "navigationBarTitleText": "支付成功", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/ourPayment/ourPayment": { "navigationBarTitleText": "订单支付", "enablePullDownRefresh": false, "usingComponents": { "order-coupon": "/components/orderCoupon" }, "usingAutoImportComponents": {} }, "pages/scenic/scenic": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/hotel/hotel": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/restaurant/restaurant": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/nearby/nearby": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/travelOne/travelOne": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/travelTwo/travelTwo": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/special/special": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/dingzhi/dingzhi": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/combination/combiChoose/combiChoose": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/my/order/electronicTicket/electronicTicket": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/combination/distributionCombiChoose/distributionCombiChoose": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/vlog/vlogIndex/vlogIndex": { "navigationBarTitleText": "VLOG", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": { "u-search": "/uview-ui/components/u-search/u-search", "u-swiper": "/uview-ui/components/u-swiper/u-swiper", "u-icon": "/uview-ui/components/u-icon/u-icon" } }, "pages/vlog/vlogface/vlogface": { "navigationBarTitleText": "扫脸获取视频", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": { "u-icon": "/uview-ui/components/u-icon/u-icon", "u-button": "/uview-ui/components/u-button/u-button" } }, "pages/vlog/scenicList/scenicList": { "navigationBarTitleText": "景区", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#192033", "navigationBarTextStyle": "white", "usingComponents": {}, "usingAutoImportComponents": { "u-icon": "/uview-ui/components/u-icon/u-icon" } }, "pages/vlog/vlogList/vlogList": { "navigationBarTitleText": "我的Vlog集", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#192033", "navigationBarTextStyle": "white", "usingComponents": {}, "usingAutoImportComponents": {} } }, "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "胖丁旅行", "navigationBarBackgroundColor": "#192033", "backgroundColor": "#F8F8F8" } };exports.default = _default;
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = { "pages": { "pages/index/index": { "navigationBarTitleText": "胖丁旅游" }, "pages/orderPayment/orderPayment": { "navigationBarTitleText": "订单支付", "enablePullDownRefresh": false }, "pages/login/login": { "navigationBarTitleText": "登录中", "enablePullDownRefresh": false }, "pages/paySuccess/paySuccess": { "navigationBarTitleText": "支付成功", "enablePullDownRefresh": false }, "pages/ourPayment/ourPayment": { "navigationBarTitleText": "订单支付", "enablePullDownRefresh": false }, "pages/scenic/scenic": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/hotel/hotel": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/restaurant/restaurant": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/nearby/nearby": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/travelOne/travelOne": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/travelTwo/travelTwo": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/special/special": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/dingzhi/dingzhi": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/combination/combiChoose/combiChoose": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/my/order/electronicTicket/electronicTicket": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/combination/distributionCombiChoose/distributionCombiChoose": { "navigationBarTitleText": "", "enablePullDownRefresh": false }, "pages/vlog/vlogIndex/vlogIndex": { "navigationBarTitleText": "VLOG", "enablePullDownRefresh": false }, "pages/vlog/vlogface/vlogface": { "navigationBarTitleText": "扫脸获取视频", "enablePullDownRefresh": false }, "pages/vlog/scenicList/scenicList": { "navigationBarTitleText": "景区", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#192033", "navigationBarTextStyle": "white" }, "pages/vlog/vlogList/vlogList": { "navigationBarTitleText": "我的Vlog集", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#192033", "navigationBarTextStyle": "white" } }, "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "胖丁旅行", "navigationBarBackgroundColor": "#192033", "backgroundColor": "#F8F8F8" } };exports.default = _default;
/***/ }),
/* 9 */,
......
......@@ -211,16 +211,8 @@ __webpack_require__.r(__webpack_exports__);
var _default =
{
data: function data() {
return {
showBottom: false //控制底部显示隐藏
};
},
onLoad: function onLoad() {
if (uni.getStorageSync("openid")) {
this.showBottom = true;
}
},
onReady: function onReady() {
return {};
},
methods: {
......
<view><view hidden="{{!(showBottom)}}" class="bottom"><web-view src="https://wx.pangdly.com"></web-view></view></view>
\ No newline at end of file
<view><view class="bottom"><web-view src="https://wx.pangdly.com"></web-view></view></view>
\ No newline at end of file
......@@ -249,7 +249,7 @@ __webpack_require__.r(__webpack_exports__);
companyId: "", //公司Id
merchantId: "", //商户Id
name: "", //商家名称
payType: 42, //支付类型,微信小程序支付
payType: "", //支付类型,微信小程序42,支付宝小程序33
paySign: "", //签名
signType: "", //签名方式
timeStamp: "", //时间戳
......@@ -299,11 +299,7 @@ __webpack_require__.r(__webpack_exports__);
onLoad: function onLoad(option) {
this.enterUrl = option.q;
this.payType = 42;
......
......@@ -4,7 +4,7 @@
"ignore": []
},
"setting": {
"urlCheck": true,
"urlCheck": false,
"es6": true,
"enhance": false,
"postcss": true,
......
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