Commit ca45e67b authored by zhoucong's avatar zhoucong

vlog

parent b8d2604b
export default{//微信小程序分享功能
data(){
return {//设置默认的分享参数
share:{
title:'vlog',
path:'/pages/index/index',
imageUrl:'',
desc:'',
content:''
}
}
},
onLoad(){
wx.showShareMenu({
withShareTicket:true,
menus:["shareAppMessage","shareTimeline"]
})
},
onShareAppMessage(res) {//发送给朋友
// 此处的openid为分享者的部分信息,需要传递给其他人
let openid = uni.getStorageSync('openid');
if (openid) {
return {
title: '胖丁旅游',
type: 0,
path: '/pages/index/index?id=' + openid,
summary: "",
imageUrl: ""
}
}
},
onShareTimeline(res) {//分享到朋友圈
let openid = uni.getStorageSync('openid');
if (openid) {
return {
title: '胖丁旅游',
type: 0,
query: 'id=' + openid,
summary: "",
imageUrl: ""
}
}
},
}
\ No newline at end of file
......@@ -4,9 +4,6 @@ import uView from 'uview-ui'
import request from 'common/request.js'
import "./common/icon/iconfont.css"
import share from './common/share.js' //引入分享API
Vue.mixin(share)
Vue.prototype.$request = request
Vue.use(uView)
......
......@@ -160,6 +160,13 @@
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/vlog/myVlog/myVlog",
"style" : {
"navigationBarTitleText": "我的Vlog集",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
......
<template>
<view class="content">
<view v-if="1" style="padding-top: 90rpx;">
<view class="">
</view>
</view>
<view v-else class="empty">
<view class="empty1">
<text>啊哦。。。没找到呢</text>
<image src="../../../static/img/vlog/icon/icon_thereisnovideo.png"></image>
</view>
<navigator url="../vlogface/vlogface" class="btnn">
<view>点击获取我的Vlog</view>
</navigator>
</view>
</view>
</template>
<script>
export default {
data() {
return {
aa: 1,
value: 1,
show:false,
list: [{
label: '默认排序',
value: 1,
},
{
label: '距离优先',
value: 2,
},
{
label: '价格优先',
value: 3,
}
],
}
},
onReady() {
},
onLoad(res){
uni.setNavigationBarColor({//动态更改导航条颜色
frontColor: '#ffffff',
backgroundColor: '#192033',
animation: {
duration: 400,
timingFunc: 'easeIn'
}
})
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.content{
padding: 0 20rpx;
height: 100%;
width: 100%;
text-align: center;
// background-color: #192033;
.empty {
text-align: center;
padding-top: 30rpx;
.empty1 {
height: 200rpx;
background: linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);
line-height: 200rpx;
border-radius: 10rpx;
margin-bottom: 300rpx;
text {
font-weight: bold;
font-size: 32rpx;
float: left;
margin-left: 120rpx;
}
image {
height: 180rpx;
width: 200rpx;
float: right;
margin-right: 50rpx;
}
}
.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;
}
}
}
</style>
......@@ -8,7 +8,7 @@
<view class="shuxian"></view>
<view>我的VLOG视频集</view>
</view>
<navigator url="../vlogList/vlogList">
<navigator url="../myVlog/myVlog">
<view class="photoGallery">
<image class="img" src="../../../static/img/vlog/icon/bg.jpg"></image>
<view class="access"></view>
......@@ -93,6 +93,20 @@ export default {
this.openCamera()
},
onReady() {//代替 vue 里面的 mounted
uni.login({
provider: 'weixin',
success: function (loginRes) {
console.log(loginRes);
// 获取用户信息
uni.getUserInfo({
provider: 'weixin',
success: function (infoRes) {
console.log(infoRes);
console.log('用户昵称为:' + infoRes.userInfo.nickName);
}
});
}
});
},
onShareAppMessage(res){
success:(res=>{console.log(res);})
......
<template>
<view class="content" :style="aa===1?'background-color: #192033':''">
<view v-if="1" style="padding-top: 30rpx;">
<view class="content">
<view style="padding-top: 30rpx;">
<view class="item">
<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 @play="playing(1)" id="d1"></video>
......@@ -12,15 +12,6 @@
<button class="btnn" open-type="share">分享下载</button>
</view>
</view>
<view v-else class="empty">
<view class="empty1">
<text>啊哦。。。没找到呢</text>
<image src="../../../static/img/vlog/icon/icon_thereisnovideo.png"></image>
</view>
<navigator url="../vlogface/vlogface" class="btnn">
<view>点击获取我的Vlog</view>
</navigator>
</view>
</view>
</template>
......@@ -29,7 +20,6 @@
data() {
return {
aa: 1,
share1: 0,
src: ""
}
......@@ -85,6 +75,7 @@
height: 100%;
width: 100%;
text-align: center;
background-color: #192033;
.item {
box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
......@@ -110,43 +101,5 @@
font-weight: bold;
}
}
.empty {
text-align: center;
padding-top: 30rpx;
.empty1 {
height: 200rpx;
background: linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);
line-height: 200rpx;
border-radius: 10rpx;
margin-bottom: 300rpx;
text {
font-weight: bold;
font-size: 32rpx;
float: left;
margin-left: 120rpx;
}
image {
height: 180rpx;
width: 200rpx;
float: right;
margin-right: 50rpx;
}
}
.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;
}
}
}
</style>
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?547a","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?9f11","uni-app:///App.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?edf9","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?673d"],"names":["Vue","mixin","share","prototype","$request","request","use","uView","config","productionTip","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAAmB,iDAA4B;AAC/C;AACA;AACA;AACA;;AAEA,sF,ynCAAsC;AACtCA,aAAIC,KAAJ,CAAUC,cAAV;;AAEAF,aAAIG,SAAJ,CAAcC,QAAd,GAAyBC,gBAAzB;AACAL,aAAIM,GAAJ,CAAQC,gBAAR;;;AAGAP,aAAIQ,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIZ,YAAJ;AACLU,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC6J;AAC7J,gBAAgB,6KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAkkB,CAAgB,6mBAAG,EAAC,C;;;;;;;;;;;;ACCtlB;AACA;AACA;AACA;AACA;eACA;AACA;AACA;AACA;AACA;AACA,2CADA;;AAGA;AACA,GARA;AASA;;AAEA,GAXA;AAYA;;AAEA,GAdA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA+iC,CAAgB,ujCAAG,EAAC,C;;;;;;;;;;ACAnkC;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\nimport share from './common/share.js' //引入分享API\r\nVue.mixin(share)\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 \"!../../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 \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../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 \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\t// 1、uni-app的页面生命周期仅在page页面有效,而单独封装的组件中【页面周期无效】,\n\t//但是Vue的生命周期依然有效 【Vue的生命周期在任何地方都是有效的,即你仍然可以在uni-app项目中使用Vue生命周期,但是不建议这么做】\n\t// 2、推荐使用uni-app里面的onLoad 代替 vue 里面的 created\n\t// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted\n\t//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全\n\texport default {\n\t\tonLaunch: function() {//初始化完成时触发(全局只触发一次\r\n\t\t\t// let openid=uni.getStorageSync(\"openid\")\r\n\t\t\t// if(!openid){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"pages/vlog/vlogIndex/vlogIndex\"\r\n\t\t\t\t})\r\n\t\t\t// }\r\n\t\t},\n\t\tonShow: function() {\n\t\t\t\n\t\t},\n\t\tonHide: function() {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n@import \"uview-ui/index.scss\";\n/*\n1.页面背景颜色#f7f7f7\n2.分隔线颜色#DBDBDB\n3.正常字体颜色#333333\n4.灰色字体颜色#666666或者#999999\n5.主色调#3688FF\n6.正常字体大小28rpx,偏小一点的24rpx\n8.页面最外层与里面的第一层为padding:0 12px;\n9.css单位为rpx\n*/\npage{font-size:28rpx;color: #333333;background: #F7F7F7;height: 100%;}\nview,text,image{box-sizing:border-box;}\n.btn{background:linear-gradient(132deg, #ED400C 0%, #FB862C 100%);display: inline-block;color: #FFFFFF;font-size:28rpx;border-radius:8rpx;text-align: center;}\n</style>\n","import mod from \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../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 \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../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 // 1628245376583\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?547a","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?9f11","uni-app:///App.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?edf9","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/App.vue?673d"],"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;AAC6J;AAC7J,gBAAgB,6KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAkkB,CAAgB,6mBAAG,EAAC,C;;;;;;;;;;;;ACCtlB;AACA;AACA;AACA;AACA;eACA;AACA;AACA;AACA;AACA;AACA,2CADA;;AAGA;AACA,GARA;AASA;;AAEA,GAXA;AAYA;;AAEA,GAdA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA+iC,CAAgB,ujCAAG,EAAC,C;;;;;;;;;;ACAnkC;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 \"!../../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 \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../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 \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\t// 1、uni-app的页面生命周期仅在page页面有效,而单独封装的组件中【页面周期无效】,\n\t//但是Vue的生命周期依然有效 【Vue的生命周期在任何地方都是有效的,即你仍然可以在uni-app项目中使用Vue生命周期,但是不建议这么做】\n\t// 2、推荐使用uni-app里面的onLoad 代替 vue 里面的 created\n\t// 3、推荐使用uni-app里面的onReady 代替 vue 里面的 mounted\n\t//4.setStorageSync与setStorage的区别:如果后续的操作需要使用更新storage后保存的data,则使用setStorageSync使用异步性能更好,使用同步数据更安全\n\texport default {\n\t\tonLaunch: function() {//初始化完成时触发(全局只触发一次\r\n\t\t\t// let openid=uni.getStorageSync(\"openid\")\r\n\t\t\t// if(!openid){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"pages/vlog/vlogIndex/vlogIndex\"\r\n\t\t\t\t})\r\n\t\t\t// }\r\n\t\t},\n\t\tonShow: function() {\n\t\t\t\n\t\t},\n\t\tonHide: function() {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n@import \"uview-ui/index.scss\";\n/*\n1.页面背景颜色#f7f7f7\n2.分隔线颜色#DBDBDB\n3.正常字体颜色#333333\n4.灰色字体颜色#666666或者#999999\n5.主色调#3688FF\n6.正常字体大小28rpx,偏小一点的24rpx\n8.页面最外层与里面的第一层为padding:0 12px;\n9.css单位为rpx\n*/\npage{font-size:28rpx;color: #333333;background: #F7F7F7;height: 100%;}\nview,text,image{box-sizing:border-box;}\n.btn{background:linear-gradient(132deg, #ED400C 0%, #FB862C 100%);display: inline-block;color: #FFFFFF;font-size:28rpx;border-radius:8rpx;text-align: center;}\n</style>\n","import mod from \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../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 \"-!../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../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 // 1628473484907\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?c0a7","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?8df5","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?4151","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?d067","uni-app:///components/orderCoupon.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?b795","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?1e14"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACwC;;;AAGlG;AACgK;AAChK,gBAAgB,6KAAU;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,WAAW,6MAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAAylB,CAAgB,qnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE7mB;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;AAA4mC,CAAgB,ylCAAG,EAAC,C;;;;;;;;;;;ACAhoC;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 \"!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 = {\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}\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.couponList.usableCouponList, function(item, index) {\n var g0 = item.savedMoney.toFixed(2)\n return {\n $orig: _vm.__get_orig(item),\n g0: g0\n }\n })\n\n var l1 = _vm.__map(_vm.couponList.unusableCouponList, function(item, index) {\n var g1 = item.savedMoney.toFixed(2)\n return {\n $orig: _vm.__get_orig(item),\n g1: g1\n }\n })\n\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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 // 1628245375884\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?c0a7","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?8df5","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?4151","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?d067","uni-app:///components/orderCoupon.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?b795","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/components/orderCoupon.vue?1e14"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACwC;;;AAGlG;AACgK;AAChK,gBAAgB,6KAAU;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,WAAW,6MAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAAylB,CAAgB,qnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE7mB;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;AAA4mC,CAAgB,ylCAAG,EAAC,C;;;;;;;;;;;ACAhoC;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 \"!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 = {\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}\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.couponList.usableCouponList, function(item, index) {\n var g0 = item.savedMoney.toFixed(2)\n return {\n $orig: _vm.__get_orig(item),\n g0: g0\n }\n })\n\n var l1 = _vm.__map(_vm.couponList.unusableCouponList, function(item, index) {\n var g1 = item.savedMoney.toFixed(2)\n return {\n $orig: _vm.__get_orig(item),\n g1: g1\n }\n })\n\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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../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 // 1628473484343\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?1676","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?a085","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?6504","uni-app:///pages/vlog/myVlog/myVlog.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?099f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?3f80"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,qG;AACAA,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsK;AACtK,gBAAgB,6KAAU;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;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAknB,CAAgB,gnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoBtoB;AACA,MADA,kBACA;AACA;AACA,WADA;AAEA,cAFA;AAGA,iBAHA;AAIA;AACA,qBADA;AAEA,gBAFA;;AAIA;AACA,qBADA;AAEA,gBAFA,EAJA;;AAQA;AACA,qBADA;AAEA,gBAFA,EARA,CAJA;;;;AAkBA,GApBA;AAqBA,SArBA,qBAqBA;AACA,GAtBA;AAuBA,QAvBA,kBAuBA,GAvBA,EAuBA;AACA;AACA,2BADA;AAEA,gCAFA;AAGA;AACA,qBADA;AAEA,4BAFA,EAHA;;;AAQA,GAhCA;AAiCA,aAjCA,E;;;;;;;;;;;;ACpBA;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAA2pC,CAAgB,klCAAG,EAAC,C","file":"pages/vlog/myVlog/myVlog.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/myVlog/myVlog.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./myVlog.vue?vue&type=template&id=3904d3a7&scoped=true&\"\nvar renderjs\nimport script from \"./myVlog.vue?vue&type=script&lang=js&\"\nexport * from \"./myVlog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"3904d3a7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/myVlog/myVlog.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=template&id=3904d3a7&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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"content\">\r\n\t\t<view v-if=\"1\" style=\"padding-top: 90rpx;\">\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t\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>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\taa: 1,\r\n\t\t\t\tvalue: 1,\r\n\t\t\t\tshow:false,\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\t\tlabel: '默认排序',\r\n\t\t\t\t\t\tvalue: 1,\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '距离优先',\r\n\t\t\t\t\t\tvalue: 2,\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '价格优先',\r\n\t\t\t\t\t\tvalue: 3,\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t}\n\t\t},\r\n\t\tonReady() {\r\n\t\t},\r\n\t\tonLoad(res){\r\n\t\t\tuni.setNavigationBarColor({//动态更改导航条颜色\r\n\t\t\t frontColor: '#ffffff',\r\n\t\t\t backgroundColor: '#192033',\r\n\t\t\t animation: {\r\n\t\t\t duration: 400,\r\n\t\t\t timingFunc: 'easeIn'\r\n\t\t\t }\r\n\t\t\t})\r\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t.content{\r\n\t\tpadding: 0 20rpx;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\t// background-color: #192033;\r\n\t\t.empty {\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding-top: 30rpx;\r\n\t\t\r\n\t\t\t.empty1 {\r\n\t\t\t\theight: 200rpx;\r\n\t\t\t\tbackground: linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);\r\n\t\t\t\tline-height: 200rpx;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\tmargin-bottom: 300rpx;\r\n\t\t\r\n\t\t\t\ttext {\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\tmargin-left: 120rpx;\r\n\t\t\t\t}\r\n\t\t\r\n\t\t\t\timage {\r\n\t\t\t\t\theight: 180rpx;\r\n\t\t\t\t\twidth: 200rpx;\r\n\t\t\t\t\tfloat: right;\r\n\t\t\t\t\tmargin-right: 50rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\r\n\t\t\t.btnn {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tbackground-color: #FFE600;\r\n\t\t\t\tpadding: 20rpx 40rpx;\r\n\t\t\t\tmargin: 30rpx 0;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t}\r\n\t\t}\r\n\t}\n\n</style>\n","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628481262199\n var cssReload = require(\"C:/Users/admin/Desktop/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 ","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?7082","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?4fbb","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?ceed","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?11da","uni-app:///pages/vlog/photoAlbum/photoAlbum.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?7457","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?8303"],"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;AACsK;AACtK,gBAAgB,6KAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACM1oB;AACA,MADA,kBACA;AACA;;AAEA,GAJA;AAKA,QALA,oBAKA;AACA,GANA;AAOA,SAPA,qBAOA;AACA,GARA;AASA,aATA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/photoAlbum/photoAlbum.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/photoAlbum/photoAlbum.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./photoAlbum.vue?vue&type=template&id=0655d147&scoped=true&\"\nvar renderjs\nimport script from \"./photoAlbum.vue?vue&type=script&lang=js&\"\nexport * from \"./photoAlbum.vue?vue&type=script&lang=js&\"\nimport style0 from \"./photoAlbum.vue?vue&type=style&index=0&id=0655d147&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"0655d147\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/photoAlbum/photoAlbum.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=template&id=0655d147&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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"content\">\r\n\t\t升级中.....\n\t</view>\n</template>\r\n<script>\r\nexport default {\n data() {\n return {\r\n\t\t}\r\n },\r\n\tonLoad(){//代替 vue 里面的 created\r\n\t},\r\n\tonReady() {//代替 vue 里面的 mounted\r\n\t},\r\n methods: {\r\n\t}\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</style>","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=style&index=0&id=0655d147&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=style&index=0&id=0655d147&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628245375862\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?7082","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?4fbb","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?ceed","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?11da","uni-app:///pages/vlog/photoAlbum/photoAlbum.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?7457","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/photoAlbum/photoAlbum.vue?8303"],"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;AACsK;AACtK,gBAAgB,6KAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACM1oB;AACA,MADA,kBACA;AACA;;AAEA,GAJA;AAKA,QALA,oBAKA;AACA,GANA;AAOA,SAPA,qBAOA;AACA,GARA;AASA,aATA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/photoAlbum/photoAlbum.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/photoAlbum/photoAlbum.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./photoAlbum.vue?vue&type=template&id=0655d147&scoped=true&\"\nvar renderjs\nimport script from \"./photoAlbum.vue?vue&type=script&lang=js&\"\nexport * from \"./photoAlbum.vue?vue&type=script&lang=js&\"\nimport style0 from \"./photoAlbum.vue?vue&type=style&index=0&id=0655d147&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"0655d147\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/photoAlbum/photoAlbum.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=template&id=0655d147&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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"content\">\r\n\t\t升级中.....\n\t</view>\n</template>\r\n<script>\r\nexport default {\n data() {\n return {\r\n\t\t}\r\n },\r\n\tonLoad(){//代替 vue 里面的 created\r\n\t},\r\n\tonReady() {//代替 vue 里面的 mounted\r\n\t},\r\n methods: {\r\n\t}\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</style>","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=style&index=0&id=0655d147&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./photoAlbum.vue?vue&type=style&index=0&id=0655d147&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628473484329\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?6aee","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?32e2","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?8178","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?611c","uni-app:///pages/vlog/scenicList/scenicList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?9772","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?f9e5"],"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;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8B1oB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA,SANA,qBAMA;AACA,GAPA;AAQA,QARA,kBAQA,GARA,EAQA;AACA;AACA,mBADA;;AAGA,GAZA;AAaA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA;AAIA,WAJA,mBAIA,CAJA,EAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAfA,EAbA,E;;;;;;;;;;;;;AC9BA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=script&lang=js&\"","<template>\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 @play=\"playing(1)\" id=\"d1\"></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<button class=\"btnn\" open-type=\"share\"><u-icon name=\"share\"></u-icon></button>\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 @play=\"playing(2)\" id=\"d2\"></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<button class=\"btnn\" open-type=\"share\"><u-icon name=\"share\"></u-icon></button>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\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>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\r\n\t\tonReady() {\r\n\t\t},\r\n\t\tonLoad(res){\r\n\t\t\tuni.setNavigationBarTitle({//动态更改标题\r\n\t\t\t title: '标题名称'\r\n\t\t\t })\r\n\t\t},\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\tplaying(e) {\r\n\t\t\t\tif(e===1){uni.createVideoContext(\"d2\").pause()}else{uni.createVideoContext(\"d1\").pause()}\r\n\t\t\t\t// let trailer = this.video_list;\r\n\t\t\t\t// trailer.forEach(function(item, index) { // 获取json对象并遍历, 停止非当前视频\r\n\t\t\t\t// \tif (item.videoUrl != null && item.videoUrl != \"\") {\r\n\t\t\t\t// \t\tlet temp = item.pgcId;\r\n\t\t\t\t// \t\tif (temp != currentId) {\r\n\t\t\t\t// \t\t\tuni.createVideoContext(temp).pause(); //暂停视频播放事件\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}\n\t\t}\n\t}\n</script>\n\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;margin-top: 20rpx;\r\n\t\t\t\ttext{float: left;height: 60rpx;line-height: 60rpx;color: #FFE600;font-weight: bold;}\r\n\t\t\t\t.btnn{height: 60rpx;width: 60rpx;line-height: 60rpx;float: right;text-align: center;padding: 0;margin: 0;background-color: #192033;color: #fff;\r\n\t\t\t\t}\r\n\t\t\t}\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}\n\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245375101\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?6aee","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?32e2","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?8178","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?611c","uni-app:///pages/vlog/scenicList/scenicList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?9772","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/scenicList/scenicList.vue?f9e5"],"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;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8B1oB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA,SANA,qBAMA;AACA,GAPA;AAQA,QARA,kBAQA,GARA,EAQA;AACA;AACA,mBADA;;AAGA,GAZA;AAaA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,KAHA;AAIA,WAJA,mBAIA,CAJA,EAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAfA,EAbA,E;;;;;;;;;;;;;AC9BA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./scenicList.vue?vue&type=script&lang=js&\"","<template>\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 @play=\"playing(1)\" id=\"d1\"></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<button class=\"btnn\" open-type=\"share\"><u-icon name=\"share\"></u-icon></button>\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 @play=\"playing(2)\" id=\"d2\"></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<button class=\"btnn\" open-type=\"share\"><u-icon name=\"share\"></u-icon></button>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\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>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\r\n\t\tonReady() {\r\n\t\t},\r\n\t\tonLoad(res){\r\n\t\t\tuni.setNavigationBarTitle({//动态更改标题\r\n\t\t\t title: '标题名称'\r\n\t\t\t })\r\n\t\t},\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\tplaying(e) {\r\n\t\t\t\tif(e===1){uni.createVideoContext(\"d2\").pause()}else{uni.createVideoContext(\"d1\").pause()}\r\n\t\t\t\t// let trailer = this.video_list;\r\n\t\t\t\t// trailer.forEach(function(item, index) { // 获取json对象并遍历, 停止非当前视频\r\n\t\t\t\t// \tif (item.videoUrl != null && item.videoUrl != \"\") {\r\n\t\t\t\t// \t\tlet temp = item.pgcId;\r\n\t\t\t\t// \t\tif (temp != currentId) {\r\n\t\t\t\t// \t\t\tuni.createVideoContext(temp).pause(); //暂停视频播放事件\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}\n\t\t}\n\t}\n</script>\n\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;margin-top: 20rpx;\r\n\t\t\t\ttext{float: left;height: 60rpx;line-height: 60rpx;color: #FFE600;font-weight: bold;}\r\n\t\t\t\t.btnn{height: 60rpx;width: 60rpx;line-height: 60rpx;float: right;text-align: center;padding: 0;margin: 0;background-color: #192033;color: #fff;\r\n\t\t\t\t}\r\n\t\t\t}\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}\n\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473483831\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?a77f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?0ba7","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?d364","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?0457","uni-app:///pages/vlog/share/share.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?0876","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?db33"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,kG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;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;AAAinB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUroB;AACA,MADA,kBACA;AACA;AACA,aADA;;AAGA,GALA;AAMA,QANA,oBAMA;;AAEA;AACA;AACA;;AAEA,GAZA;AAaA,QAbA,kBAaA,GAbA,EAaA;AACA;AACA;AACA,GAhBA;AAiBA,aAjBA,E;;;;;;;;;;;;ACVA;AAAA;AAAA;AAAA;AAA0pC,CAAgB,ilCAAG,EAAC,C;;;;;;;;;;;ACA9qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/share/share.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/share/share.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./share.vue?vue&type=template&id=058075a7&scoped=true&\"\nvar renderjs\nimport script from \"./share.vue?vue&type=script&lang=js&\"\nexport * from \"./share.vue?vue&type=script&lang=js&\"\nimport style0 from \"./share.vue?vue&type=style&index=0&id=058075a7&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"058075a7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/share/share.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=template&id=058075a7&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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"content\">\r\n\t\t<video v-if=\"url\" class=\"video\" :src=\"url\" controls></video>\r\n\t\t<navigator url=\"../vlogIndex/vlogIndex\">\r\n\t\t\t<button type=\"default\">vlog首页</button>\r\n\t\t</navigator>\r\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\turl:\"\"\n\t\t\t}\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t// #ifdef MP-WEIXIN \r\n\t\t\tif(wx.hideHomeButton){//隐藏返回首页按钮\r\n\t\t\t wx.hideHomeButton(); \r\n\t\t\t} \r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tonLoad(res){\r\n\t\t\tconsole.log(res);\r\n\t\t\tthis.url=res.url\r\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;\r\n\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t}\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=style&index=0&id=058075a7&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=style&index=0&id=058075a7&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628245375206\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?a77f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?0ba7","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?d364","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?0457","uni-app:///pages/vlog/share/share.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?0876","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/share/share.vue?db33"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,kG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;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;AAAinB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUroB;AACA,MADA,kBACA;AACA;AACA,aADA;;AAGA,GALA;AAMA,QANA,oBAMA;;AAEA;AACA;AACA;;AAEA,GAZA;AAaA,QAbA,kBAaA,GAbA,EAaA;AACA;AACA;AACA,GAhBA;AAiBA,aAjBA,E;;;;;;;;;;;;ACVA;AAAA;AAAA;AAAA;AAA0pC,CAAgB,ilCAAG,EAAC,C;;;;;;;;;;;ACA9qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/vlog/share/share.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/vlog/share/share.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./share.vue?vue&type=template&id=058075a7&scoped=true&\"\nvar renderjs\nimport script from \"./share.vue?vue&type=script&lang=js&\"\nexport * from \"./share.vue?vue&type=script&lang=js&\"\nimport style0 from \"./share.vue?vue&type=style&index=0&id=058075a7&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"058075a7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/vlog/share/share.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=template&id=058075a7&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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"content\">\r\n\t\t<video v-if=\"url\" class=\"video\" :src=\"url\" controls></video>\r\n\t\t<navigator url=\"../vlogIndex/vlogIndex\">\r\n\t\t\t<button type=\"default\">vlog首页</button>\r\n\t\t</navigator>\r\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\turl:\"\"\n\t\t\t}\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t// #ifdef MP-WEIXIN \r\n\t\t\tif(wx.hideHomeButton){//隐藏返回首页按钮\r\n\t\t\t wx.hideHomeButton(); \r\n\t\t\t} \r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tonLoad(res){\r\n\t\t\tconsole.log(res);\r\n\t\t\tthis.url=res.url\r\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;\r\n\t\t.video{height: 350rpx;border-radius: 10rpx;width: 100%;}\r\n\t}\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=style&index=0&id=058075a7&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share.vue?vue&type=style&index=0&id=058075a7&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628473483801\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?c65b","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?8a33","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?56ae","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?6843","uni-app:///pages/vlog/vlogIndex/vlogIndex.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?5608","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?e23b"],"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;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,mNAEN;AACL,GAAG;AACH;AACA,WAAW,mNAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAqnB,CAAgB,mnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmEzoB;AACA,MADA,kBACA;AACA;AACA;AACA,4BADA;AAEA,kCAFA;AAGA,oBAHA;AAIA,gBAJA;AAKA,mBALA,EADA;;AAQA,gBARA,EAQA;AACA;AACA;AACA,2DADA,EADA;;AAIA;AACA,2DADA,EAJA;;AAOA;AACA,2DADA,EAPA,CATA;;;;AAqBA,GAvBA;AAwBA,QAxBA,oBAwBA;AACA;AACA,GA1BA;AA2BA,SA3BA,qBA2BA;AACA,GA5BA;AA6BA,mBA7BA,6BA6BA,GA7BA,EA6BA;AACA;AACA,GA/BA;AAgCA;AACA,kBADA,4BACA;AACA;AACA,0CAFA,CAEA;AACA;AACA,8NADA;AAEA,iEAFA,EAEA;AACA;AACA;AACA;AACA,8BADA;AAEA;AACA;AACA;AACA;AACA,yEADA;;AAGA;AACA,aATA;AAUA;AACA;AACA;AACA;AACA;AACA,6BADA;AAEA,sCAFA;AAGA,mCAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,yBAFA,MAEA;AACA;AACA;AACA,uBAPA;;AASA,mBAfA;;AAiBA;AACA,aAhCA;;AAkCA,SAvCA;AAwCA;AACA;AACA;AACA;AACA;AACA,SA7CA;;AA+CA,KAnDA;AAoDA,cApDA,wBAoDA;AACA;AACA,6BADA;AAEA;AACA;AACA,SAJA;AAKA;AACA;AACA,4CADA;AAEA,6BAFA;AAGA,4BAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mBAHA;AAIA;AACA;AACA,mBANA;;AAQA,eATA,MASA;AACA;AACA;AACA,aAjBA;;AAmBA,SAzBA;;AA2BA;AACA,uCADA;AAEA;AACA;AACA,SAJA;AAKA;AACA;AACA,2CADA;AAEA,6BAFA;AAGA,4BAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,eANA,MAMA;AACA;AACA;AACA,aAdA;;AAgBA,SAtBA;;AAwBA,KAxGA;AAyGA,SAzGA,mBAyGA;AACA,KA1GA,EAhCA,E;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAA8pC,CAAgB,qlCAAG,EAAC,C;;;;;;;;;;;ACAlrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogIndex.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"content\">\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<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<navigator url=\"../photoAlbum/photoAlbum\">\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<button type=\"default\" @click=\"handleDownload\">下载</button>\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=\"row\">\r\n\t\t\t<navigator url=\"../scenicList/scenicList\" class=\"item\">\r\n\t\t\t\t<image class=\"icon\" src=\"../../../static/img/vlog/icon/icon_play.png\"></image>\r\n\t\t\t\t<image class=\"fengmian\" 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<image class=\"icon\" src=\"../../../static/img/vlog/icon/icon_play.png\"></image>\r\n\t\t\t\t<image class=\"fengmian\" 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>\n</template>\r\n<script>\r\nexport default {\n data() {\n return {\r\n\t\t\tshare:{\r\n\t\t\t title:'vlog1231231',\r\n\t\t\t path:'/pages/index/index',\r\n\t\t\t imageUrl:'',\r\n\t\t\t desc:'',\r\n\t\t\t content:''\r\n\t\t\t},\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],\n }\n },\r\n\tonLoad(){//代替 vue 里面的 created\r\n\t\tthis.openCamera()\r\n\t},\r\n\tonReady() {//代替 vue 里面的 mounted\r\n\t},\r\n\tonShareAppMessage(res){\r\n\t\tsuccess:(res=>{console.log(res);})\r\n\t},\r\n methods: {\r\n\t\thandleDownload() { // 下载功能\r\n\t\t\tuni.showLoading({title:\"下载中\",mask:true})\r\n\t\t\tlet fileName = new Date().valueOf();//获取时间戳\r\n\t\t\tuni.downloadFile({//下载文件资源到本地\r\n\t\t\t\turl: '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',\r\n\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4',//filePath指定文件下载后存储的路径,wx.env.USER_DATA_PATH,时间戳为文件名\r\n\t\t\t\tsuccess: res => {//下载到本地成功\r\n\t\t\t\t\tlet filePath = res.filePath;\r\n\t\t\t\t\tuni.saveVideoToPhotosAlbum({//保存视频到系统相册。\r\n\t\t\t\t\t\tfilePath,\r\n\t\t\t\t\t\tsuccess: file => {//保存成功\r\n\t\t\t\t\t\t\t//删除本地缓存\r\n\t\t\t\t\t\t\tlet fileMgr = uni.getFileSystemManager();\r\n\t\t\t\t\t\t\tfileMgr.unlink({\r\n\t\t\t\t\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4',\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tuni.showToast({title:\"下载成功\",icon:\"success\",mask:true})\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfail: err => {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t//拒绝授权时显示\r\n\t\t\t\t\t\t\tif (err.errMsg === 'saveVideoToPhotosAlbum:fail auth deny') {\r\n\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\tcontent: '需要您授权保存相册',\r\n\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\tsuccess: data => {\r\n\t\t\t\t\t\t\t\t\t\t//打开权限设置\r\n\t\t\t\t\t\t\t\t\t\tuni.openSetting({\r\n\t\t\t\t\t\t\t\t\t\t\tsuccess: setting => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (setting.authSetting['scope.writePhotosAlbum']) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({title: '提示',content: '获取权限成功,再次点击下载即可保存',showCancel: false,})\r\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({title: '提示',ontent: '获取权限失败,将无法保存到相册哦',showCancel: false})\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t})\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}\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\tfail: err => {//下载失败\r\n\t\t\t\t uni.hideLoading();\r\n\t\t\t\t if (err.errMsg == 'downloadFile:fail createDownloadTask:fail url not in domain list') {\r\n\t\t\t\t uni.showToast({title: '服务器错误,请联系相关管理员',icon: 'none',mask:true})\r\n\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t})\r\n\t\t},\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(\"cg\",res);\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\tfail: (err) => {\r\n\t\t\t\t\t\t\t\t\t\tconsole.log(\"sb\",err);\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\tuni.authorize({\r\n\t\t\t\tscope:'scope.writePhotosAlbum',\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}\n \n }\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.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\t.fengmian{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;width: 60rpx;height: 60rpx;}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245951145\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?8a33","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?56ae","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?6843","uni-app:///pages/vlog/vlogIndex/vlogIndex.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?5608","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogIndex/vlogIndex.vue?e23b"],"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;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,mNAEN;AACL,GAAG;AACH;AACA,WAAW,mNAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAqnB,CAAgB,mnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmEzoB;AACA,MADA,kBACA;AACA;AACA;AACA,4BADA;AAEA,kCAFA;AAGA,oBAHA;AAIA,gBAJA;AAKA,mBALA,EADA;;AAQA,gBARA,EAQA;AACA;AACA;AACA,2DADA,EADA;;AAIA;AACA,2DADA,EAJA;;AAOA;AACA,2DADA,EAPA,CATA;;;;AAqBA,GAvBA;AAwBA,QAxBA,oBAwBA;AACA;AACA,GA1BA;AA2BA,SA3BA,qBA2BA;AACA;AACA,wBADA;AAEA;AACA;AACA;AACA;AACA,4BADA;AAEA;AACA;AACA;AACA,WALA;;AAOA,OAZA;;AAcA,GA1CA;AA2CA,mBA3CA,6BA2CA,GA3CA,EA2CA;AACA;AACA,GA7CA;AA8CA;AACA,kBADA,4BACA;AACA;AACA,0CAFA,CAEA;AACA;AACA,8NADA;AAEA,iEAFA,EAEA;AACA;AACA;AACA;AACA,8BADA;AAEA;AACA;AACA;AACA;AACA,yEADA;;AAGA;AACA,aATA;AAUA;AACA;AACA;AACA;AACA;AACA,6BADA;AAEA,sCAFA;AAGA,mCAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,yBAFA,MAEA;AACA;AACA;AACA,uBAPA;;AASA,mBAfA;;AAiBA;AACA,aAhCA;;AAkCA,SAvCA;AAwCA;AACA;AACA;AACA;AACA;AACA,SA7CA;;AA+CA,KAnDA;AAoDA,cApDA,wBAoDA;AACA;AACA,6BADA;AAEA;AACA;AACA,SAJA;AAKA;AACA;AACA,4CADA;AAEA,6BAFA;AAGA,4BAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mBAHA;AAIA;AACA;AACA,mBANA;;AAQA,eATA,MASA;AACA;AACA;AACA,aAjBA;;AAmBA,SAzBA;;AA2BA;AACA,uCADA;AAEA;AACA;AACA,SAJA;AAKA;AACA;AACA,2CADA;AAEA,6BAFA;AAGA,4BAHA;AAIA;AACA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,eANA,MAMA;AACA;AACA;AACA,aAdA;;AAgBA,SAtBA;;AAwBA,KAxGA;AAyGA,SAzGA,mBAyGA;AACA,KA1GA,EA9CA,E;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAA8pC,CAAgB,qlCAAG,EAAC,C;;;;;;;;;;;ACAlrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogIndex.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"content\">\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<navigator url=\"../myVlog/myVlog\">\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<navigator url=\"../photoAlbum/photoAlbum\">\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<button type=\"default\" @click=\"handleDownload\">下载</button>\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=\"row\">\r\n\t\t\t<navigator url=\"../scenicList/scenicList\" class=\"item\">\r\n\t\t\t\t<image class=\"icon\" src=\"../../../static/img/vlog/icon/icon_play.png\"></image>\r\n\t\t\t\t<image class=\"fengmian\" 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<image class=\"icon\" src=\"../../../static/img/vlog/icon/icon_play.png\"></image>\r\n\t\t\t\t<image class=\"fengmian\" 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>\n</template>\r\n<script>\r\nexport default {\n data() {\n return {\r\n\t\t\tshare:{\r\n\t\t\t title:'vlog1231231',\r\n\t\t\t path:'/pages/index/index',\r\n\t\t\t imageUrl:'',\r\n\t\t\t desc:'',\r\n\t\t\t content:''\r\n\t\t\t},\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],\n }\n },\r\n\tonLoad(){//代替 vue 里面的 created\r\n\t\tthis.openCamera()\r\n\t},\r\n\tonReady() {//代替 vue 里面的 mounted\r\n\t\tuni.login({\r\n\t\t provider: 'weixin',\r\n\t\t success: function (loginRes) {\r\n\t\t\tconsole.log(loginRes);\r\n\t\t\t// 获取用户信息\r\n\t\t\tuni.getUserInfo({\r\n\t\t\t provider: 'weixin',\r\n\t\t\t success: function (infoRes) {\r\n\t\t\t\t console.log(infoRes);\r\n\t\t\t\tconsole.log('用户昵称为:' + infoRes.userInfo.nickName);\r\n\t\t\t }\r\n\t\t\t});\r\n\t\t }\r\n\t\t});\r\n\t},\r\n\tonShareAppMessage(res){\r\n\t\tsuccess:(res=>{console.log(res);})\r\n\t},\r\n methods: {\r\n\t\thandleDownload() { // 下载功能\r\n\t\t\tuni.showLoading({title:\"下载中\",mask:true})\r\n\t\t\tlet fileName = new Date().valueOf();//获取时间戳\r\n\t\t\tuni.downloadFile({//下载文件资源到本地\r\n\t\t\t\turl: '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',\r\n\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4',//filePath指定文件下载后存储的路径,wx.env.USER_DATA_PATH,时间戳为文件名\r\n\t\t\t\tsuccess: res => {//下载到本地成功\r\n\t\t\t\t\tlet filePath = res.filePath;\r\n\t\t\t\t\tuni.saveVideoToPhotosAlbum({//保存视频到系统相册。\r\n\t\t\t\t\t\tfilePath,\r\n\t\t\t\t\t\tsuccess: file => {//保存成功\r\n\t\t\t\t\t\t\t//删除本地缓存\r\n\t\t\t\t\t\t\tlet fileMgr = uni.getFileSystemManager();\r\n\t\t\t\t\t\t\tfileMgr.unlink({\r\n\t\t\t\t\t\t\t\tfilePath: wx.env.USER_DATA_PATH + '/' + fileName + '.mp4',\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tuni.showToast({title:\"下载成功\",icon:\"success\",mask:true})\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfail: err => {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t//拒绝授权时显示\r\n\t\t\t\t\t\t\tif (err.errMsg === 'saveVideoToPhotosAlbum:fail auth deny') {\r\n\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\t\t\t\tcontent: '需要您授权保存相册',\r\n\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\tsuccess: data => {\r\n\t\t\t\t\t\t\t\t\t\t//打开权限设置\r\n\t\t\t\t\t\t\t\t\t\tuni.openSetting({\r\n\t\t\t\t\t\t\t\t\t\t\tsuccess: setting => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (setting.authSetting['scope.writePhotosAlbum']) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({title: '提示',content: '获取权限成功,再次点击下载即可保存',showCancel: false,})\r\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuni.showModal({title: '提示',ontent: '获取权限失败,将无法保存到相册哦',showCancel: false})\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t})\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}\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\tfail: err => {//下载失败\r\n\t\t\t\t uni.hideLoading();\r\n\t\t\t\t if (err.errMsg == 'downloadFile:fail createDownloadTask:fail url not in domain list') {\r\n\t\t\t\t uni.showToast({title: '服务器错误,请联系相关管理员',icon: 'none',mask:true})\r\n\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t})\r\n\t\t},\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(\"cg\",res);\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\tfail: (err) => {\r\n\t\t\t\t\t\t\t\t\t\tconsole.log(\"sb\",err);\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\tuni.authorize({\r\n\t\t\t\tscope:'scope.writePhotosAlbum',\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}\n \n }\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.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\t.fengmian{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;width: 60rpx;height: 60rpx;}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628491560072\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?309f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e9f8","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?565f","uni-app:///pages/vlog/vlogList/vlogList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e1ae","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?6a6c"],"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;AACsK;AACtK,gBAAgB,6KAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2BxoB;;AAEA,MAFA,kBAEA;AACA;AACA,WADA;AAEA,eAFA;AAGA,aAHA;;AAKA,GARA;AASA,QATA,kBASA,OATA,EASA,EATA;AAUA,QAVA,oBAUA;AACA;AACA;AACA;AACA,GAdA;AAeA,QAfA,oBAeA,EAfA;AAgBA,mBAhBA,6BAgBA,GAhBA,EAgBA;AACA;AACA;AACA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,2PAHA;;AAKA;AACA,GA1BA;AA2BA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,gCADA;AAEA,yBAFA;;AAIA,KANA;AAOA,WAPA,mBAOA,CAPA,EAOA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtBA,EA3BA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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\"\r\n\t\t\t\t @error=\"error\" controls @play=\"playing(1)\" id=\"d1\"></video>\r\n\t\t\t\t<button class=\"btnn\" open-type=\"share\">分享下载</button>\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\"\r\n\t\t\t\t @error=\"error\" controls @play=\"playing(2)\" id=\"d2\"></video>\r\n\t\t\t\t<button class=\"btnn\" open-type=\"share\">分享下载</button>\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\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\taa: 1,\r\n\t\t\t\tshare1: 0,\r\n\t\t\t\tsrc: \"\"\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(options) {},\r\n\t\tonShow() {\r\n\t\t\tif (this.share1 === 1) {\r\n\t\t\t\tconsole.log(\"分享了\");\r\n\t\t\t}\r\n\t\t},\r\n\t\tonHide() {},\r\n\t\tonShareAppMessage(res) { //发送给朋友\r\n\t\t\tconsole.log(res);\r\n\t\t\tif (res.from === \"button\") {\r\n\t\t\t\tthis.share1 = 1\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅游',\r\n\t\t\t\t\ttype: 4,\r\n\t\t\t\t\tpath: '/pages/vlog/share/share?url=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',\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({\r\n\t\t\t\t\tcontent: e.target.errMsg,\r\n\t\t\t\t\tshowCancel: false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tplaying(e) {\r\n\t\t\t\tif (e === 1) {\r\n\t\t\t\t\tuni.createVideoContext(\"d2\").pause()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.createVideoContext(\"d1\").pause()\r\n\t\t\t\t}\r\n\t\t\t\t// let trailer = this.video_list;\r\n\t\t\t\t// trailer.forEach(function(item, index) { // 获取json对象并遍历, 停止非当前视频\r\n\t\t\t\t// \tif (item.videoUrl != null && item.videoUrl != \"\") {\r\n\t\t\t\t// \t\tlet temp = item.pgcId;\r\n\t\t\t\t// \t\tif (temp != currentId) {\r\n\t\t\t\t// \t\t\tuni.createVideoContext(temp).pause(); //暂停视频播放事件\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}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content {\r\n\t\tpadding: 0 20rpx;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\r\n\t\t.item {\r\n\t\t\tbox-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);\r\n\t\t\tpadding: 0 10rpx;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tbackground-color: #192033;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\ttext-align: center;\r\n\r\n\t\t\t.video {\r\n\t\t\t\theight: 350rpx;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\t.btnn {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tbackground-color: #FFE600;\r\n\t\t\t\tmargin: 30rpx 0;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.empty {\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding-top: 30rpx;\r\n\r\n\t\t\t.empty1 {\r\n\t\t\t\theight: 200rpx;\r\n\t\t\t\tbackground: linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);\r\n\t\t\t\tline-height: 200rpx;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\tmargin-bottom: 300rpx;\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\tmargin-left: 120rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\theight: 180rpx;\r\n\t\t\t\t\twidth: 200rpx;\r\n\t\t\t\t\tfloat: right;\r\n\t\t\t\t\tmargin-right: 50rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.btnn {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tbackground-color: #FFE600;\r\n\t\t\t\tpadding: 20rpx 40rpx;\r\n\t\t\t\tmargin: 30rpx 0;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245990649\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?309f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e9f8","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?565f","uni-app:///pages/vlog/vlogList/vlogList.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?e1ae","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogList/vlogList.vue?6a6c"],"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;AACsK;AACtK,gBAAgB,6KAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBxoB;;AAEA,MAFA,kBAEA;AACA;AACA,eADA;AAEA,aAFA;;AAIA,GAPA;AAQA,QARA,kBAQA,OARA,EAQA,EARA;AASA,QATA,oBASA;AACA;AACA;AACA;AACA,GAbA;AAcA,QAdA,oBAcA,EAdA;AAeA,mBAfA,6BAeA,GAfA,EAeA;AACA;AACA;AACA;AACA;AACA,qBADA;AAEA,eAFA;AAGA,2PAHA;;AAKA;AACA,GAzBA;AA0BA;AACA,SADA,iBACA,CADA,EACA;AACA;AACA,gCADA;AAEA,yBAFA;;AAIA,KANA;AAOA,WAPA,mBAOA,CAPA,EAOA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtBA,EA1BA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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\">\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\"\r\n\t\t\t\t @error=\"error\" controls @play=\"playing(1)\" id=\"d1\"></video>\r\n\t\t\t\t<button class=\"btnn\" open-type=\"share\">分享下载</button>\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\"\r\n\t\t\t\t @error=\"error\" controls @play=\"playing(2)\" id=\"d2\"></video>\r\n\t\t\t\t<button class=\"btnn\" open-type=\"share\">分享下载</button>\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\texport default {\r\n\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshare1: 0,\r\n\t\t\t\tsrc: \"\"\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(options) {},\r\n\t\tonShow() {\r\n\t\t\tif (this.share1 === 1) {\r\n\t\t\t\tconsole.log(\"分享了\");\r\n\t\t\t}\r\n\t\t},\r\n\t\tonHide() {},\r\n\t\tonShareAppMessage(res) { //发送给朋友\r\n\t\t\tconsole.log(res);\r\n\t\t\tif (res.from === \"button\") {\r\n\t\t\t\tthis.share1 = 1\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '胖丁旅游',\r\n\t\t\t\t\ttype: 4,\r\n\t\t\t\t\tpath: '/pages/vlog/share/share?url=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',\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({\r\n\t\t\t\t\tcontent: e.target.errMsg,\r\n\t\t\t\t\tshowCancel: false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tplaying(e) {\r\n\t\t\t\tif (e === 1) {\r\n\t\t\t\t\tuni.createVideoContext(\"d2\").pause()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.createVideoContext(\"d1\").pause()\r\n\t\t\t\t}\r\n\t\t\t\t// let trailer = this.video_list;\r\n\t\t\t\t// trailer.forEach(function(item, index) { // 获取json对象并遍历, 停止非当前视频\r\n\t\t\t\t// \tif (item.videoUrl != null && item.videoUrl != \"\") {\r\n\t\t\t\t// \t\tlet temp = item.pgcId;\r\n\t\t\t\t// \t\tif (temp != currentId) {\r\n\t\t\t\t// \t\t\tuni.createVideoContext(temp).pause(); //暂停视频播放事件\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}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.content {\r\n\t\tpadding: 0 20rpx;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\tbackground-color: #192033;\r\n\r\n\t\t.item {\r\n\t\t\tbox-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);\r\n\t\t\tpadding: 0 10rpx;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tbackground-color: #192033;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\ttext-align: center;\r\n\r\n\t\t\t.video {\r\n\t\t\t\theight: 350rpx;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\t.btnn {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tbackground-color: #FFE600;\r\n\t\t\t\tmargin: 30rpx 0;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628475652290\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?9839","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?57f1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d5db","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?2aaf","uni-app:///pages/vlog/vlogface/vlogface.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?f2e1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?adbf"],"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;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL,GAAG;AACH;AACA,WAAW,mNAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCxoB;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=script&lang=js&\"","<template>\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>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tsrc:\"\",//照片\r\n\t\t\t\ttext:3,//倒计时\r\n\t\t\t\tshow:true\r\n\t\t\t}\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},\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}\n\t\t}\n\t}\n</script>\n\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}\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245375247\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?9839","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?57f1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?d5db","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?2aaf","uni-app:///pages/vlog/vlogface/vlogface.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?f2e1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/vlogface/vlogface.vue?adbf"],"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;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL,GAAG;AACH;AACA,WAAW,mNAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCxoB;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./vlogface.vue?vue&type=script&lang=js&\"","<template>\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>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tsrc:\"\",//照片\r\n\t\t\t\ttext:3,//倒计时\r\n\t\t\t\tshow:true\r\n\t\t\t}\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},\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}\n\t\t}\n\t}\n</script>\n\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}\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484302\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?9475","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?9c88","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?f5c3","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?106b","uni-app:///pages/index/index.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?ac52","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?90c3"],"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;AACmK;AACnK,gBAAgB,6KAAU;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;AAAkmB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+EtnB;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;AAAq3B,CAAgB,o2BAAG,EAAC,C;;;;;;;;;;;ACAz4B;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 \"!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 // 1628245372814\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?9475","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?9c88","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?f5c3","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?106b","uni-app:///pages/index/index.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?ac52","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/index/index.vue?90c3"],"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;AACmK;AACnK,gBAAgB,6KAAU;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;AAAkmB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+EtnB;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;AAAq3B,CAAgB,o2BAAG,EAAC,C;;;;;;;;;;;ACAz4B;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 \"!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 // 1628473481833\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?06aa","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?7266","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?c1bd","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?5de4","uni-app:///pages/orderPayment/orderPayment.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?d9a5","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?2b0f"],"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;AACmK;AACnK,gBAAgB,6KAAU;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;AAAymB,CAAgB,snBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkG7nB;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;AAA43B,CAAgB,22BAAG,EAAC,C;;;;;;;;;;;ACAh5B;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 \"!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./orderPayment.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\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>\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\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\r\n\t\t\t}\r\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}\r\n\t}\r\n</script>\r\n\r\n<style>\r\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;}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 // 1628245372820\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?06aa","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?7266","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?c1bd","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?5de4","uni-app:///pages/orderPayment/orderPayment.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?d9a5","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/orderPayment/orderPayment.vue?2b0f"],"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;AACmK;AACnK,gBAAgB,6KAAU;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;AAAymB,CAAgB,snBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkG7nB;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;AAA43B,CAAgB,22BAAG,EAAC,C;;;;;;;;;;;ACAh5B;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 \"!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./orderPayment.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\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>\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\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\r\n\t\t\t}\r\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}\r\n\t}\r\n</script>\r\n\r\n<style>\r\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;}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 // 1628473481840\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?f541","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?cddf","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?184f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?a763","uni-app:///pages/ourPayment/ourPayment.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?6b49","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?0174"],"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;AACmK;AACnK,gBAAgB,6KAAU;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;AAAumB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmG3nB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA,EACA;AACA,mBAFA,EAEA;AACA,oBAHA,EAGA;AACA,cAJA,EAIA;AACA,iBALA,EAKA;AACA,iBANA,EAMA;AACA,kBAPA,EAOA;AACA,mBARA,EAQA;AACA,kBATA,EASA;AACA,iBAVA,EAUA;AACA,mBAXA,EAWA;AACA,cAZA,EAYA;AACA,oBAbA,EAaA;AACA,yBAdA,EAcA;AACA,mBAfA,EAeA;AACA,oBAhBA,EAgBA;AACA,oBAjBA,EAiBA;AACA,oBAlBA,EAkBA;AACA,yBAnBA,EAmBA;AACA,8BApBA,EAoBA;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,CArBA;;;;;AAmDA,GAxDA;AAyDA,QAzDA,kBAyDA,MAzDA,EAyDA;AACA;AACA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GAnEA;AAoEA;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;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAdA;AAeA,cAfA,wBAeA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAzBA;AA0BA,gBA1BA,wBA0BA,IA1BA,EA0BA;AACA;AACA,KA5BA;AA6BA,cA7BA,wBA6BA;AACA;AACA,KA/BA;AAgCA,QAhCA,kBAgCA;AACA;AACA,qCADA;AAEA,mCAFA;;AAIA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA/CA;AAgDA,WAhDA,qBAgDA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA9DA;AA+DA,cA/DA,wBA+DA;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,KAzGA;AA0GA,YA1GA,sBA0GA;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,KAtKA;AAuKA,SAvKA,mBAuKA;;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,KA/MA,EApEA;;AAqRA;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,EArRA,E;;;;;;;;;;;;;ACnGA;AAAA;AAAA;AAAA;AAA4mC,CAAgB,8jCAAG,EAAC,C;;;;;;;;;;;ACAhoC;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 \"!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 = parseFloat(_vm.savedMoney.toFixed(2))\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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./ourPayment.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"bigBox\">\r\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> -->\r\n\t</view>\r\n\t\r\n</template>\r\n\r\n<script>\r\n\timport orderCoupon from \"@/components/orderCoupon.vue\"\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\torderCoupon\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\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]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.enterUrl=option.q\r\n\t\t\tlet channelId=this.getUrlKey(\"channelId\")\r\n\t\t\tlet companyId=this.getUrlKey(\"companyId\")\r\n\t\t\tif (this.merchantId) { //大商家的有merchantId\r\n\t\t\t this.init()\r\n\t\t\t} else { //小商家没有merchantId\r\n\t\t\t this.initTwo()\r\n\t\t\t}\r\n\t\t\tthis.initCoupon()\r\n\t\t},\r\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},\r\n\t\t\tclickNum(i,index,a) {//---------------------------------------------------------------------输入数字\r\n\t\t\t this.buyMoney += i\r\n\t\t\t this.leftList[index].child[a].background=\"#dddddd\"\r\n\t\t\t setTimeout(()=>{\r\n\t\t\t\tthis.leftList[index].child[a].background=\"\"\r\n\t\t\t },200)\r\n\t\t\t clearTimeout(this.flag)\r\n\t\t\t this.flag = setTimeout(()=>{\r\n\t\t\t this.initCoupon()\r\n\t\t\t }, 1500)\r\n\t\t\t},\r\n\t\t\tclickEnter(){//---------------------------------------------------------------------退格\r\n\t\t\t\tthis.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1)\r\n\t\t\t\tthis.spaceBackground=\"#dddddd\"\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthis.spaceBackground=\"\"\r\n\t\t\t\t},200)\r\n\t\t\t\tclearTimeout(this.flag)\r\n\t\t\t\tthis.flag = setTimeout(()=>{\r\n\t\t\t\t this.initCoupon()\r\n\t\t\t\t}, 1500)\r\n\t\t\t},\r\n\t\t\tcouponChoose(data) { //---------------------------------------------------------------子组件券选择之后触发的事件\r\n\t\t\t this.chooseCouponObj = data\r\n\t\t\t},\r\n\t\t\tshowCoupon() { //---------------------------------------------------------------------展示券列表\r\n\t\t\t this.$refs.orderCoupon.showCoupon()\r\n\t\t\t},\r\n\t\t\tinit() { //---------------------------------------------------------------------------初始化获取商家名称,大商家\r\n\t\t\t let data = {\r\n\t\t\t \"merchantId\": this.merchantId,\r\n\t\t\t \"companyId\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"scenic/order/findCodePayInfo\",data).then((res) => {\r\n\t\t\t if (res.code ==\"00\") {\r\n\t\t\t this.name = res.data.name\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t })\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitTwo() { //--------------------------------------------------------------------------初始化获取商家名称,没有merchantId的小商家\r\n\t\t\t let data = {\r\n\t\t\t \"id\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"user/company/detail\", data).then((res) => {\r\n\t\t\t if (res.code==\"00\"){\r\n\t\t\t this.name = res.data.companyVo.companyName\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitCoupon() { //-------------------------------------------------------------------------加载优惠券\r\n\t\t\t let savedMoneyList = []\r\n\t\t\t this.chooseCouponObj = \"\"\r\n\t\t\t this.ableConpon = \"\"\r\n\t\t\t let data = {\r\n\t\t\t money:parseFloat(this.buyMoney)||0, //订单总价,不算券,和现金红包\r\n\t\t\t merchantId:this.merchantId, //商户Id\r\n\t\t\t companyId:this.companyId,//公司Id\r\n\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t openid:uni.getStorageSync(\"openid\")\r\n\t\t\t }\r\n\t\t\t this.$request(\"wechatUser/myPage/usableCouponList\",data).then((res) => {\r\n\t\t\t if (res.code == \"00\") {\r\n\t\t\t\t\tthis.chooseCouponObj=res.data.masterSlaveCouponList[0]\r\n\t\t\t\t\tif(this.chooseCouponObj.slaveList.length>0){\r\n\t\t\t\t\t\tthis.savedMoney=this.chooseCouponObj.slaveList[0].savedMoney\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.savedMoney=this.chooseCouponObj.savedMoney\r\n\t\t\t\t\t}\r\n\t\t\t\t\t // this.couponData = res.data\r\n\t\t\t\t\t // if (res.data.usableCouponList.length > 0) {\r\n\t\t\t\t\t\t// res.data.usableCouponList.forEach((item) => { //获取最优券\r\n\t\t\t\t\t\t// savedMoneyList.push(item.savedMoney)\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// let maxMoney = Math.max.apply(null, savedMoneyList)\r\n\t\t\t\t\t\t// let index = res.data.usableCouponList.findIndex((item) => {\r\n\t\t\t\t\t\t// return maxMoney == item.savedMoney\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// if(index>-1){\r\n\t\t\t\t\t\t// this.chooseCouponObj = res.data.usableCouponList[index]\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t // } else {\r\n\t\t\t\t\t\t// if (res.data.unusableCouponList.length > 0) {\r\n\t\t\t\t\t\t// res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券\r\n\t\t\t\t\t\t// \tif (item.isProduct == 1) {\r\n\t\t\t\t\t\t// \t this.ableConpon = item\r\n\t\t\t\t\t\t// \t}\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t // }\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tclickPay(){//---------------------------------------------------------------点击立即支付,获取支付需要的参数\r\n\t\t\t\tif (!parseFloat(this.buyMoney)) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:\"请输入正确金额\",\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet couponList = []\r\n\t\t\t\tif (this.chooseCouponObj != '') {\r\n\t\t\t\t couponList = [ //券列表\r\n\t\t\t\t {\r\n\t\t\t\t couponId: this.chooseCouponObj.couponId, //券id\r\n\t\t\t\t couponPrice: this.chooseCouponObj.savedMoney, //券价格\r\n\t\t\t\t isMerchant: this.chooseCouponObj.createSource, //是否是商户的券\r\n\t\t\t\t myCouponId: this.chooseCouponObj.id, //领取人编号\r\n\t\t\t\t couponType:this.chooseCouponObj.couponType//券类型\r\n\t\t\t\t }\r\n\t\t\t\t ]\r\n\t\t\t\t}\r\n\t\t\t\tlet data = {\r\n\t\t\t\t companyId: this.companyId,\r\n\t\t\t\t merchantId: this.merchantId,\r\n\t\t\t\t userId:uni.getStorageSync(\"openid\"),\r\n\t\t\t\t orderMoney: parseFloat(this.buyMoney),\r\n\t\t\t\t payType: this.payType, //支付类型,\r\n\t\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t\t couponList,//券列表\r\n\t\t\t\t}\r\n\t\t\t\tthis.payBackground=\"#cccccc\"\r\n\t\t\t\tthis.$request(\"orderc/order/codePay\", data).then((res) => {\r\n\t\t\t\t setTimeout(() => {\r\n\t\t\t\t\tthis.payBackground=\"#1dce2e\"\r\n\t\t\t\t },1000)\r\n\t\t\t\t if(res.code==\"00\") {\r\n\t\t\t\t if (res.data.errorMessage) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:res.data.errorMessage,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t })\r\n\t\t\t\t return\r\n\t\t\t\t }\r\n\t\t\t\t //微信入参\r\n\t\t\t\t this.signType = res.data.signType\r\n\t\t\t\t this.paySign = res.data.sign\r\n\t\t\t\t this.timeStamp = res.data.timestamp\r\n\t\t\t\t this.nonceStr = res.data.noncestr\r\n\t\t\t\t this.package = res.data.package\r\n\t\t\t\t\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\t// uni.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\tuni.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}\r\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}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\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}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 // 1628245375193\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?f541","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?cddf","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?184f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?a763","uni-app:///pages/ourPayment/ourPayment.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?6b49","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/pages/ourPayment/ourPayment.vue?0174"],"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;AACmK;AACnK,gBAAgB,6KAAU;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;AAAumB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmG3nB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA,EACA;AACA,mBAFA,EAEA;AACA,oBAHA,EAGA;AACA,cAJA,EAIA;AACA,iBALA,EAKA;AACA,iBANA,EAMA;AACA,kBAPA,EAOA;AACA,mBARA,EAQA;AACA,kBATA,EASA;AACA,iBAVA,EAUA;AACA,mBAXA,EAWA;AACA,cAZA,EAYA;AACA,oBAbA,EAaA;AACA,yBAdA,EAcA;AACA,mBAfA,EAeA;AACA,oBAhBA,EAgBA;AACA,oBAjBA,EAiBA;AACA,oBAlBA,EAkBA;AACA,yBAnBA,EAmBA;AACA,8BApBA,EAoBA;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,CArBA;;;;;AAmDA,GAxDA;AAyDA,QAzDA,kBAyDA,MAzDA,EAyDA;AACA;AACA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GAnEA;AAoEA;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;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAdA;AAeA,cAfA,wBAeA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA;AACA,OAFA,EAEA,IAFA;AAGA,KAzBA;AA0BA,gBA1BA,wBA0BA,IA1BA,EA0BA;AACA;AACA,KA5BA;AA6BA,cA7BA,wBA6BA;AACA;AACA,KA/BA;AAgCA,QAhCA,kBAgCA;AACA;AACA,qCADA;AAEA,mCAFA;;AAIA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA/CA;AAgDA,WAhDA,qBAgDA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA,OATA;AAUA,KA9DA;AA+DA,cA/DA,wBA+DA;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,KAzGA;AA0GA,YA1GA,sBA0GA;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,KAtKA;AAuKA,SAvKA,mBAuKA;;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,KA/MA,EApEA;;AAqRA;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,EArRA,E;;;;;;;;;;;;;ACnGA;AAAA;AAAA;AAAA;AAA4mC,CAAgB,8jCAAG,EAAC,C;;;;;;;;;;;ACAhoC;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 \"!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 = parseFloat(_vm.savedMoney.toFixed(2))\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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./ourPayment.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"bigBox\">\r\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> -->\r\n\t</view>\r\n\t\r\n</template>\r\n\r\n<script>\r\n\timport orderCoupon from \"@/components/orderCoupon.vue\"\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\torderCoupon\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\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]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.enterUrl=option.q\r\n\t\t\tlet channelId=this.getUrlKey(\"channelId\")\r\n\t\t\tlet companyId=this.getUrlKey(\"companyId\")\r\n\t\t\tif (this.merchantId) { //大商家的有merchantId\r\n\t\t\t this.init()\r\n\t\t\t} else { //小商家没有merchantId\r\n\t\t\t this.initTwo()\r\n\t\t\t}\r\n\t\t\tthis.initCoupon()\r\n\t\t},\r\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},\r\n\t\t\tclickNum(i,index,a) {//---------------------------------------------------------------------输入数字\r\n\t\t\t this.buyMoney += i\r\n\t\t\t this.leftList[index].child[a].background=\"#dddddd\"\r\n\t\t\t setTimeout(()=>{\r\n\t\t\t\tthis.leftList[index].child[a].background=\"\"\r\n\t\t\t },200)\r\n\t\t\t clearTimeout(this.flag)\r\n\t\t\t this.flag = setTimeout(()=>{\r\n\t\t\t this.initCoupon()\r\n\t\t\t }, 1500)\r\n\t\t\t},\r\n\t\t\tclickEnter(){//---------------------------------------------------------------------退格\r\n\t\t\t\tthis.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1)\r\n\t\t\t\tthis.spaceBackground=\"#dddddd\"\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthis.spaceBackground=\"\"\r\n\t\t\t\t},200)\r\n\t\t\t\tclearTimeout(this.flag)\r\n\t\t\t\tthis.flag = setTimeout(()=>{\r\n\t\t\t\t this.initCoupon()\r\n\t\t\t\t}, 1500)\r\n\t\t\t},\r\n\t\t\tcouponChoose(data) { //---------------------------------------------------------------子组件券选择之后触发的事件\r\n\t\t\t this.chooseCouponObj = data\r\n\t\t\t},\r\n\t\t\tshowCoupon() { //---------------------------------------------------------------------展示券列表\r\n\t\t\t this.$refs.orderCoupon.showCoupon()\r\n\t\t\t},\r\n\t\t\tinit() { //---------------------------------------------------------------------------初始化获取商家名称,大商家\r\n\t\t\t let data = {\r\n\t\t\t \"merchantId\": this.merchantId,\r\n\t\t\t \"companyId\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"scenic/order/findCodePayInfo\",data).then((res) => {\r\n\t\t\t if (res.code ==\"00\") {\r\n\t\t\t this.name = res.data.name\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t })\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitTwo() { //--------------------------------------------------------------------------初始化获取商家名称,没有merchantId的小商家\r\n\t\t\t let data = {\r\n\t\t\t \"id\": this.companyId,\r\n\t\t\t }\r\n\t\t\t this.$request(\"user/company/detail\", data).then((res) => {\r\n\t\t\t if (res.code==\"00\"){\r\n\t\t\t this.name = res.data.companyVo.companyName\r\n\t\t\t } else {\r\n\t\t\t uni.showToast({\r\n\t\t\t\t\t title:res.message,\r\n\t\t\t\t\t icon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tinitCoupon() { //-------------------------------------------------------------------------加载优惠券\r\n\t\t\t let savedMoneyList = []\r\n\t\t\t this.chooseCouponObj = \"\"\r\n\t\t\t this.ableConpon = \"\"\r\n\t\t\t let data = {\r\n\t\t\t money:parseFloat(this.buyMoney)||0, //订单总价,不算券,和现金红包\r\n\t\t\t merchantId:this.merchantId, //商户Id\r\n\t\t\t companyId:this.companyId,//公司Id\r\n\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t openid:uni.getStorageSync(\"openid\")\r\n\t\t\t }\r\n\t\t\t this.$request(\"wechatUser/myPage/usableCouponList\",data).then((res) => {\r\n\t\t\t if (res.code == \"00\") {\r\n\t\t\t\t\tthis.chooseCouponObj=res.data.masterSlaveCouponList[0]\r\n\t\t\t\t\tif(this.chooseCouponObj.slaveList.length>0){\r\n\t\t\t\t\t\tthis.savedMoney=this.chooseCouponObj.slaveList[0].savedMoney\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.savedMoney=this.chooseCouponObj.savedMoney\r\n\t\t\t\t\t}\r\n\t\t\t\t\t // this.couponData = res.data\r\n\t\t\t\t\t // if (res.data.usableCouponList.length > 0) {\r\n\t\t\t\t\t\t// res.data.usableCouponList.forEach((item) => { //获取最优券\r\n\t\t\t\t\t\t// savedMoneyList.push(item.savedMoney)\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// let maxMoney = Math.max.apply(null, savedMoneyList)\r\n\t\t\t\t\t\t// let index = res.data.usableCouponList.findIndex((item) => {\r\n\t\t\t\t\t\t// return maxMoney == item.savedMoney\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// if(index>-1){\r\n\t\t\t\t\t\t// this.chooseCouponObj = res.data.usableCouponList[index]\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t // } else {\r\n\t\t\t\t\t\t// if (res.data.unusableCouponList.length > 0) {\r\n\t\t\t\t\t\t// res.data.unusableCouponList.forEach((item, i) => { //没有可用优惠券,有达到条件可以用的优惠券,先显示条件,达到条件时显示可用优惠券\r\n\t\t\t\t\t\t// \tif (item.isProduct == 1) {\r\n\t\t\t\t\t\t// \t this.ableConpon = item\r\n\t\t\t\t\t\t// \t}\r\n\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t // }\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\tclickPay(){//---------------------------------------------------------------点击立即支付,获取支付需要的参数\r\n\t\t\t\tif (!parseFloat(this.buyMoney)) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:\"请输入正确金额\",\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet couponList = []\r\n\t\t\t\tif (this.chooseCouponObj != '') {\r\n\t\t\t\t couponList = [ //券列表\r\n\t\t\t\t {\r\n\t\t\t\t couponId: this.chooseCouponObj.couponId, //券id\r\n\t\t\t\t couponPrice: this.chooseCouponObj.savedMoney, //券价格\r\n\t\t\t\t isMerchant: this.chooseCouponObj.createSource, //是否是商户的券\r\n\t\t\t\t myCouponId: this.chooseCouponObj.id, //领取人编号\r\n\t\t\t\t couponType:this.chooseCouponObj.couponType//券类型\r\n\t\t\t\t }\r\n\t\t\t\t ]\r\n\t\t\t\t}\r\n\t\t\t\tlet data = {\r\n\t\t\t\t companyId: this.companyId,\r\n\t\t\t\t merchantId: this.merchantId,\r\n\t\t\t\t userId:uni.getStorageSync(\"openid\"),\r\n\t\t\t\t orderMoney: parseFloat(this.buyMoney),\r\n\t\t\t\t payType: this.payType, //支付类型,\r\n\t\t\t\t orderSource:this.orderSource,//订单来源 8扫码支付\r\n\t\t\t\t couponList,//券列表\r\n\t\t\t\t}\r\n\t\t\t\tthis.payBackground=\"#cccccc\"\r\n\t\t\t\tthis.$request(\"orderc/order/codePay\", data).then((res) => {\r\n\t\t\t\t setTimeout(() => {\r\n\t\t\t\t\tthis.payBackground=\"#1dce2e\"\r\n\t\t\t\t },1000)\r\n\t\t\t\t if(res.code==\"00\") {\r\n\t\t\t\t if (res.data.errorMessage) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:res.data.errorMessage,\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t })\r\n\t\t\t\t return\r\n\t\t\t\t }\r\n\t\t\t\t //微信入参\r\n\t\t\t\t this.signType = res.data.signType\r\n\t\t\t\t this.paySign = res.data.sign\r\n\t\t\t\t this.timeStamp = res.data.timestamp\r\n\t\t\t\t this.nonceStr = res.data.noncestr\r\n\t\t\t\t this.package = res.data.package\r\n\t\t\t\t\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\t// uni.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\tuni.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}\r\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}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\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}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../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 // 1628473483784\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?dce1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?4758","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?3899","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?742b","uni-app:///uview-ui/components/u-button/u-button.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?109f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?6402"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwDxoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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},\r\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245376054\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?dce1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?4758","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?3899","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?742b","uni-app:///uview-ui/components/u-button/u-button.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?109f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-button/u-button.vue?6402"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwDxoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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},\r\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484507\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?d9cd","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?d625","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?00fc","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?6645","uni-app:///uview-ui/components/u-cell-group/u-cell-group.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?d9de","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?3f85"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,snBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;ACY5oB;;;;;;;;;AASA;AACA,sBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,mBADA;AAEA,mBAFA,EAPA;;AAWA;AACA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAbA,EAFA;;;AAsBA,MAtBA,kBAsBA;AACA;AACA,cADA;;AAGA,GA1BA,E;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAiqC,CAAgB,wlCAAG,EAAC,C;;;;;;;;;;;ACArrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-cell-group/u-cell-group.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-cell-group.vue?vue&type=template&id=5723aa40&scoped=true&\"\nvar renderjs\nimport script from \"./u-cell-group.vue?vue&type=script&lang=js&\"\nexport * from \"./u-cell-group.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"5723aa40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-cell-group/u-cell-group.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=template&id=5723aa40&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.titleStyle])\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-cell-box\">\r\n\t\t<view class=\"u-cell-title\" v-if=\"title\" :style=\"[titleStyle]\">\r\n\t\t\t{{title}}\r\n\t\t</view>\r\n\t\t<view class=\"u-cell-item-box\" :class=\"{'u-border-bottom u-border-top': border}\">\r\n\t\t\t<slot />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * cellGroup 单元格父组件Group\r\n\t * @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。搭配u-cell-item\r\n\t * @tutorial https://www.uviewui.com/components/cell.html\r\n\t * @property {String} title 分组标题\r\n\t * @property {Boolean} border 是否显示外边框(默认true)\r\n\t * @property {Object} title-style 分组标题的的样式,对象形式,如{'font-size': '24rpx'} 或 {'fontSize': '24rpx'}\r\n\t * @example <u-cell-group title=\"设置喜好\">\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-cell-group\",\r\n\t\tprops: {\r\n\t\t\t// 分组标题\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 是否显示分组list上下边框\r\n\t\t\tborder: {\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\t// 类似 {'font-size': '24rpx'} 和 {'fontSize': '24rpx'}\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\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tindex: 0,\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-cell-box {\r\n\t\twidth: 100%;\r\n\t}\r\n\r\n\t.u-cell-title {\r\n\t\tpadding: 30rpx 32rpx 10rpx 32rpx;\r\n\t\tfont-size: 30rpx;\r\n\t\ttext-align: left;\r\n\t\tcolor: $u-tips-color;\r\n\t}\r\n\r\n\t.u-cell-item-box {\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tflex-direction: row;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628476703301\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?ecbb","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?98fc","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?39a0","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?c39d","uni-app:///uview-ui/components/u-cell-item/u-cell-item.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?8474","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?5762"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAunB,CAAgB,qnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6C3oB;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA;AACA,qBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,4BADA;AAEA,iBAFA,EAZA;;AAgBA;AACA;AACA,4BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,mBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,oBAFA,EA3BA;;AA+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;AAEA,6BAFA,EAtCA;;AA0CA;AACA;AACA,mBADA;AAEA,mBAFA,EA3CA;;AA+CA;AACA;AACA,mBADA;AAEA,oBAFA,EAhDA;;AAoDA;AACA;AACA,mBADA;AAEA,oBAFA,EArDA;;AAyDA;AACA;AACA,4BADA;AAEA,iBAFA,EA1DA;;AA8DA;AACA;AACA,kBADA;AAEA,sBAFA,EA/DA;;AAmEA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EApEA;;AA0EA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3EA;;AAiFA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAlFA;;AAwFA;AACA;AACA,kBADA;AAEA,4BAFA,EAzFA;;AA6FA;AACA;AACA,4BADA;AAEA,iBAFA,EA9FA;;AAkGA;AACA;AACA,mBADA;AAEA,oBAFA,EAnGA;;AAuGA;AACA;AACA,4BADA;AAEA,iBAFA,EAxGA;;AA4GA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA7GA,EAFA;;;AAsHA,MAtHA,kBAsHA;AACA;;;AAGA,GA1HA;AA2HA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EA3HA;;AAoIA;AACA,SADA,mBACA;AACA;AACA,KAHA,EApIA,E;;;;;;;;;;;;ACtEA;AAAA;AAAA;AAAA;AAAgqC,CAAgB,ulCAAG,EAAC,C;;;;;;;;;;;ACAprC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-cell-item/u-cell-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-cell-item.vue?vue&type=template&id=65423b64&scoped=true&\"\nvar renderjs\nimport script from \"./u-cell-item.vue?vue&type=script&lang=js&\"\nexport * from \"./u-cell-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"65423b64\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-cell-item/u-cell-item.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=template&id=65423b64&scoped=true&\"","var 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}\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 width: _vm.titleWidth ? _vm.titleWidth + \"rpx\" : \"auto\"\n },\n _vm.titleStyle\n ])\n\n var s1 = _vm.__get_style([_vm.labelStyle])\n\n var s2 = _vm.__get_style([_vm.valueStyle])\n\n var s3 = _vm.__get_style([_vm.arrowStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\t@tap=\"click\"\r\n\t\tclass=\"u-cell\"\r\n\t\t:class=\"{ 'u-border-bottom': borderBottom, 'u-border-top': borderTop, 'u-col-center': center, 'u-cell--required': required }\"\r\n\t\thover-stay-time=\"150\"\r\n\t\t:hover-class=\"hoverClass\"\r\n\t\t:style=\"{\r\n\t\t\tbackgroundColor: bgColor\r\n\t\t}\"\r\n\t>\r\n\t\t<u-icon :size=\"iconSize\" :name=\"icon\" v-if=\"icon\" :custom-style=\"iconStyle\" class=\"u-cell__left-icon-wrap\"></u-icon>\r\n\t\t<view class=\"u-flex\" v-else>\r\n\t\t\t<slot name=\"icon\"></slot>\r\n\t\t</view>\r\n\t\t<view\r\n\t\t\tclass=\"u-cell_title\"\r\n\t\t\t:style=\"[\r\n\t\t\t\t{\r\n\t\t\t\t\twidth: titleWidth ? titleWidth + 'rpx' : 'auto'\r\n\t\t\t\t},\r\n\t\t\t\ttitleStyle\r\n\t\t\t]\"\r\n\t\t>\r\n\t\t\t<block v-if=\"title !== ''\">{{ title }}</block>\r\n\t\t\t<slot name=\"title\" v-else></slot>\r\n\r\n\t\t\t<view class=\"u-cell__label\" v-if=\"label || $slots.label\" :style=\"[labelStyle]\">\r\n\t\t\t\t<block v-if=\"label !== ''\">{{ label }}</block>\r\n\t\t\t\t<slot name=\"label\" v-else></slot>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"u-cell__value\" :style=\"[valueStyle]\">\r\n\t\t\t<block class=\"u-cell__value\" v-if=\"value !== ''\">{{ value }}</block>\r\n\t\t\t<slot v-else></slot>\r\n\t\t</view>\r\n\t\t<view class=\"u-flex u-cell_right\" v-if=\"$slots['right-icon']\">\r\n\t\t\t<slot name=\"right-icon\"></slot>\r\n\t\t</view>\r\n\t\t<u-icon v-if=\"arrow\" name=\"arrow-right\" :style=\"[arrowStyle]\" class=\"u-icon-wrap u-cell__right-icon-wrap\"></u-icon>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * cellItem 单元格Item\r\n * @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。搭配u-cell-group使用\r\n * @tutorial https://www.uviewui.com/components/cell.html\r\n * @property {String} title 左侧标题\r\n * @property {String} icon 左侧图标名,只支持uView内置图标,见Icon 图标\r\n * @property {Object} icon-style 左边图标的样式,对象形式\r\n * @property {String} value 右侧内容\r\n * @property {String} label 标题下方的描述信息\r\n * @property {Boolean} border-bottom 是否显示cell的下边框(默认true)\r\n * @property {Boolean} border-top 是否显示cell的上边框(默认false)\r\n * @property {Boolean} center 是否使内容垂直居中(默认false)\r\n * @property {String} hover-class 是否开启点击反馈,none为无效果(默认true)\r\n * // @property {Boolean} border-gap border-bottom为true时,Cell列表中间的条目的下边框是否与左边有一个间隔(默认true)\r\n * @property {Boolean} arrow 是否显示右侧箭头(默认true)\r\n * @property {Boolean} required 箭头方向,可选值(默认right)\r\n * @property {Boolean} arrow-direction 是否显示左边表示必填的星号(默认false)\r\n * @property {Object} title-style 标题样式,对象形式\r\n * @property {Object} value-style 右侧内容样式,对象形式\r\n * @property {Object} label-style 标题下方描述信息的样式,对象形式\r\n * @property {String} bg-color 背景颜色(默认transparent)\r\n * @property {String Number} index 用于在click事件回调中返回,标识当前是第几个Item\r\n * @property {String Number} title-width 标题的宽度,单位rpx\r\n * @example <u-cell-item icon=\"integral-fill\" title=\"会员等级\" value=\"新版本\"></u-cell-item>\r\n */\r\nexport default {\r\n\tname: 'u-cell-item',\r\n\tprops: {\r\n\t\t// 左侧图标名称(只能uView内置图标),或者图标src\r\n\t\ticon: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 左侧标题\r\n\t\ttitle: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 右侧内容\r\n\t\tvalue: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\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// 是否显示下边框\r\n\t\tborderBottom: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 是否显示上边框\r\n\t\tborderTop: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 多个cell中,中间的cell显示下划线时,下划线是否给一个到左边的距离\r\n\t\t// 1.4.0版本废除此参数,默认边框由border-top和border-bottom提供,此参数会造成干扰\r\n\t\t// borderGap: {\r\n\t\t// \ttype: Boolean,\r\n\t\t// \tdefault: true\r\n\t\t// },\r\n\t\t// 是否开启点击反馈,即点击时cell背景为灰色,none为无效果\r\n\t\thoverClass: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'u-cell-hover'\r\n\t\t},\r\n\t\t// 是否显示右侧箭头\r\n\t\tarrow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t// 内容是否垂直居中\r\n\t\tcenter: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否显示左边表示必填的星号\r\n\t\trequired: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 标题的宽度,单位rpx\r\n\t\ttitleWidth: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 右侧箭头方向,可选值:right|up|down,默认为right\r\n\t\tarrowDirection: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'right'\r\n\t\t},\r\n\t\t// 控制标题的样式\r\n\t\ttitleStyle: {\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\tvalueStyle: {\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\tlabelStyle: {\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\tbgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'transparent'\r\n\t\t},\r\n\t\t// 用于识别被点击的是第几个cell\r\n\t\tindex: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 是否使用lable插槽\r\n\t\tuseLabelSlot: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 左边图标的大小,单位rpx,只对传入icon字段时有效\r\n\t\ticonSize: {\r\n\t\t\ttype: [Number, String],\r\n\t\t\tdefault: 34\r\n\t\t},\r\n\t\t// 左边图标的样式,对象形式\r\n\t\ticonStyle: {\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},\r\n\tdata() {\r\n\t\treturn {\r\n\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\tarrowStyle() {\r\n\t\t\tlet style = {};\r\n\t\t\tif (this.arrowDirection == 'up') style.transform = 'rotate(-90deg)';\r\n\t\t\telse if (this.arrowDirection == 'down') style.transform = 'rotate(90deg)';\r\n\t\t\telse style.transform = 'rotate(0deg)';\r\n\t\t\treturn style;\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}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"../../libs/css/style.components.scss\";\r\n.u-cell {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\t/* #ifndef APP-NVUE */\r\n\tbox-sizing: border-box;\r\n\t/* #endif */\r\n\twidth: 100%;\r\n\tpadding: 26rpx 32rpx;\r\n\tfont-size: 28rpx;\r\n\tline-height: 54rpx;\r\n\tcolor: $u-content-color;\r\n\tbackground-color: #fff;\r\n\ttext-align: left;\r\n}\r\n\r\n.u-cell_title {\r\n\tfont-size: 28rpx;\r\n}\r\n\r\n.u-cell__left-icon-wrap {\r\n\tmargin-right: 10rpx;\r\n\tfont-size: 32rpx;\r\n}\r\n\r\n.u-cell__right-icon-wrap {\r\n\tmargin-left: 10rpx;\r\n\tcolor: #969799;\r\n\tfont-size: 28rpx;\r\n}\r\n\r\n.u-cell__left-icon-wrap,\r\n.u-cell__right-icon-wrap {\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n\theight: 48rpx;\r\n}\r\n\r\n.u-cell-border:after {\r\n\tposition: absolute; \r\n\t/* #ifndef APP-NVUE */\r\n\tbox-sizing: border-box;\r\n\tcontent: ' ';\r\n\tpointer-events: none;\r\n\tborder-bottom: 1px solid $u-border-color;\r\n\t/* #endif */\r\n\tright: 0;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\ttransform: scaleY(0.5);\r\n}\r\n\r\n.u-cell-border {\r\n\tposition: relative;\r\n}\r\n\r\n.u-cell__label {\r\n\tmargin-top: 6rpx;\r\n\tfont-size: 26rpx;\r\n\tline-height: 36rpx;\r\n\tcolor: $u-tips-color;\r\n\t/* #ifndef APP-NVUE */\r\n\tword-wrap: break-word;\r\n\t/* #endif */\r\n}\r\n\r\n.u-cell__value {\r\n\toverflow: hidden;\r\n\ttext-align: right;\r\n\t/* #ifndef APP-NVUE */\r\n\tvertical-align: middle;\r\n\t/* #endif */\r\n\tcolor: $u-tips-color;\r\n\tfont-size: 26rpx;\r\n}\r\n\r\n.u-cell__title,\r\n.u-cell__value {\r\n\tflex: 1;\r\n}\r\n\r\n.u-cell--required {\r\n\t/* #ifndef APP-NVUE */\r\n\toverflow: visible;\r\n\t/* #endif */\r\n\t@include vue-flex;\r\n\talign-items: center;\r\n}\r\n\r\n.u-cell--required:before {\r\n\tposition: absolute;\r\n\t/* #ifndef APP-NVUE */\r\n\tcontent: '*';\r\n\t/* #endif */\r\n\tleft: 8px;\r\n\tmargin-top: 4rpx;\r\n\tfont-size: 14px;\r\n\tcolor: $u-type-error;\r\n}\r\n\r\n.u-cell_right {\r\n\tline-height: 1;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628476703320\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?c424","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?80cf","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?bd35","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?524b","uni-app:///uview-ui/components/u-dropdown-item/u-dropdown-item.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?a13f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?f9cc"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACsK;AACtK,gBAAgB,6KAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA,WAAW,2OAEN;AACL,GAAG;AACH;AACA,WAAW,qOAEN;AACL,GAAG;AACH;AACA,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;;AAEA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,ynBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuB/oB;;;;;;;;;;;;AAYA;AACA,yBADA;AAEA;AACA;AACA;AACA,mCADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAZA;;AAkBA;AACA;AACA,mBADA;AAEA,oBAFA,EAnBA;;AAuBA;AACA;AACA,4BADA;AAEA,qBAFA,EAxBA,EAFA;;;AA+BA,MA/BA,kBA+BA;AACA;AACA,mBADA,EACA;AACA,4BAFA,EAEA;AACA,8BAHA,CAGA;AAHA;AAKA,GArCA;AAsCA;AACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA,EAtCA;;AA4CA;AACA,eADA,uBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA,EA5CA;;AAmDA,SAnDA,qBAmDA;AACA;AACA;AACA,GAtDA;AAuDA;AACA,QADA,kBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA;AACA,2BADA;AAEA,iCAFA;;AAIA;AACA,KAtBA;AAuBA;AACA,aAxBA,qBAwBA,KAxBA,EAwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA/BA,EAvDA;;AAwFA,SAxFA,qBAwFA;AACA;AACA,GA1FA,E;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAoqC,CAAgB,2lCAAG,EAAC,C;;;;;;;;;;;ACAxrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-dropdown-item/u-dropdown-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-dropdown-item.vue?vue&type=template&id=43403030&scoped=true&\"\nvar renderjs\nimport script from \"./u-dropdown-item.vue?vue&type=script&lang=js&\"\nexport * from \"./u-dropdown-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"43403030\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-dropdown-item/u-dropdown-item.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=template&id=43403030&scoped=true&\"","var components = {\n uCellGroup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-cell-group/u-cell-group\" */ \"@/uview-ui/components/u-cell-group/u-cell-group.vue\"\n )\n },\n uCellItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-cell-item/u-cell-item\" */ \"@/uview-ui/components/u-cell-item/u-cell-item.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}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.$u.addUnit(_vm.height)\n var a0 = {\n color: _vm.value == _vm.item.value ? _vm.activeColor : _vm.inactiveColor\n }\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n $event.stopPropagation()\n $event.preventDefault()\n return (function() {})($event)\n }\n\n _vm.e1 = 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 g0: g0,\n a0: a0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-dropdown-item\" v-if=\"active\" @touchmove.stop.prevent=\"() => {}\" @tap.stop.prevent=\"() => {}\">\r\n\t\t<block v-if=\"!$slots.default && !$slots.$default\">\r\n\t\t\t<scroll-view scroll-y=\"true\" :style=\"{\r\n\t\t\t\theight: $u.addUnit(height)\r\n\t\t\t}\">\r\n\t\t\t\t<view class=\"u-dropdown-item__options\">\r\n\t\t\t\t\t<u-cell-group>\r\n\t\t\t\t\t\t<u-cell-item @click=\"cellClick(item.value)\" :arrow=\"false\" :title=\"item.label\" v-for=\"(item, index) in options\"\r\n\t\t\t\t\t\t :key=\"index\" :title-style=\"{\r\n\t\t\t\t\t\t\tcolor: value == item.value ? activeColor : inactiveColor\r\n\t\t\t\t\t\t}\">\r\n\t\t\t\t\t\t\t<u-icon v-if=\"value == item.value\" name=\"checkbox-mark\" :color=\"activeColor\" size=\"32\"></u-icon>\r\n\t\t\t\t\t\t</u-cell-item>\r\n\t\t\t\t\t</u-cell-group>\r\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</block>\r\n\t\t<slot v-else />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * dropdown-item 下拉菜单\r\n\t * @description 该组件一般用于向下展开菜单,同时可切换多个选项卡的场景\r\n\t * @tutorial http://uviewui.com/components/dropdown.html\r\n\t * @property {String | Number} v-model 双向绑定选项卡选择值\r\n\t * @property {String} title 菜单项标题\r\n\t * @property {Array[Object]} options 选项数据,如果传入了默认slot,此参数无效\r\n\t * @property {Boolean} disabled 是否禁用此选项卡(默认false)\r\n\t * @property {String | Number} duration 选项卡展开和收起的过渡时间,单位ms(默认300)\r\n\t * @property {String | Number} height 弹窗下拉内容的高度(内容超出将会滚动)(默认auto)\r\n\t * @example <u-dropdown-item title=\"标题\"></u-dropdown-item>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-dropdown-item',\r\n\t\tprops: {\r\n\t\t\t// 当前选中项的value值\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: [Number, String, Array],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 菜单项标题\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 选项数据,如果传入了默认slot,此参数无效\r\n\t\t\toptions: {\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// 是否禁用此菜单项\r\n\t\t\tdisabled: {\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\theight: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 'auto'\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tactive: false, // 当前项是否处于展开状态\r\n\t\t\t\tactiveColor: '#2979ff', // 激活时左边文字和右边对勾图标的颜色\r\n\t\t\t\tinactiveColor: '#606266', // 未激活时左边文字和右边对勾图标的颜色\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 监听props是否发生了变化,有些值需要传递给父组件u-dropdown,无法双向绑定\r\n\t\t\tpropsChange() {\r\n\t\t\t\treturn `${this.title}-${this.disabled}`;\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tpropsChange(n) {\r\n\t\t\t\t// 当值变化时,通知父组件重新初始化,让父组件执行每个子组件的init()方法\r\n\t\t\t\t// 将所有子组件数据重新整理一遍\r\n\t\t\t\tif (this.parent) this.parent.init();\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 父组件的实例\r\n\t\t\tthis.parent = false;\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tinit() {\r\n\t\t\t\t// 获取父组件u-dropdown\r\n\t\t\t\tlet parent = this.$u.$parent.call(this, 'u-dropdown');\r\n\t\t\t\tif (parent) {\r\n\t\t\t\t\tthis.parent = parent;\r\n\t\t\t\t\t// 将子组件的激活颜色配置为父组件设置的激活和未激活时的颜色\r\n\t\t\t\t\tthis.activeColor = parent.activeColor;\r\n\t\t\t\t\tthis.inactiveColor = parent.inactiveColor;\r\n\t\t\t\t\t// 将本组件的this,放入到父组件的children数组中,让父组件可以操作本(子)组件的方法和属性\r\n\t\t\t\t\t// push进去前,显判断是否已经存在了本实例,因为在子组件内部数据变化时,会通过父组件重新初始化子组件\r\n\t\t\t\t\tlet exist = parent.children.find(val => {\r\n\t\t\t\t\t\treturn this === val;\r\n\t\t\t\t\t})\r\n\t\t\t\t\tif (!exist) parent.children.push(this);\r\n\t\t\t\t\tif (parent.children.length == 1) this.active = true;\r\n\t\t\t\t\t// 父组件无法监听children的变化,故将子组件的title,传入父组件的menuList数组中\r\n\t\t\t\t\tparent.menuList.push({\r\n\t\t\t\t\t\ttitle: this.title,\r\n\t\t\t\t\t\tdisabled: this.disabled\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// cell被点击\r\n\t\t\tcellClick(value) {\r\n\t\t\t\t// 修改通过v-model绑定的值\r\n\t\t\t\tthis.$emit('input', value);\r\n\t\t\t\t// 通知父组件(u-dropdown)收起菜单\r\n\t\t\t\tthis.parent.close();\r\n\t\t\t\t// 发出事件,抛出当前勾选项的value\r\n\t\t\t\tthis.$emit('change', value);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.init();\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import \"../../libs/css/style.components.scss\";\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628476703285\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?f738","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?1c1f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?520f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?9336","uni-app:///uview-ui/components/u-dropdown/u-dropdown.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?be39","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?da05"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAAsnB,CAAgB,onBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoC1oB;;;;;;;;;;;;;;;;;AAiBA;AACA,oBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,wBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,mBADA;AAEA,mBAFA,EAZA;;AAgBA;AACA;AACA,mBADA;AAEA,mBAFA,EAjBA;;AAqBA;AACA;AACA,4BADA;AAEA,kBAFA,EAtBA;;AA0BA;AACA;AACA,4BADA;AAEA,iBAFA,EA3BA;;AA+BA;AACA;AACA,mBADA;AAEA,oBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,iBAFA,EArCA;;AAyCA;AACA;AACA,4BADA;AAEA,gBAFA,EA1CA;;AA8CA;AACA;AACA,kBADA;AAEA,2BAFA,EA/CA;;AAmDA;AACA;AACA,4BADA;AAEA,iBAFA,EApDA,EAFA;;;AA2DA,MA3DA,kBA2DA;AACA;AACA,wBADA,EACA;AACA,kBAFA,EAEA;AACA,mBAHA,EAGA;AACA;AACA;AACA,oBANA;AAOA;AACA;AACA,kBADA;AAEA,kBAFA,EARA;;AAYA;AACA,2BAbA;AAcA,sBAdA;;AAgBA,GA5EA;AA6EA;AACA;AACA,cAFA,wBAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KATA,EA7EA;;AAwFA,SAxFA,qBAwFA;AACA;AACA;AACA,GA3FA;AA4FA,SA5FA,qBA4FA;AACA;AACA,GA9FA;AA+FA;AACA,QADA,kBACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA,KARA;AASA;AACA,aAVA,qBAUA,KAVA,EAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,EAEA,aAFA;AAGA;AACA;AACA;AACA,KAvBA;AAwBA;AACA,QAzBA,gBAyBA,KAzBA,EAyBA;AACA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA,KAzCA;AA0CA;AACA,SA3CA,mBA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;AAEA,kBAFA;;AAIA,KArDA;AAsDA;AACA,aAvDA,uBAuDA;AACA;AACA;AACA;AACA,KA3DA;AA4DA;AACA,aA7DA,uBA6DA;AACA;AACA,KA/DA;AAgEA;AACA,oBAjEA,8BAiEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA;AAOA,KA7EA,EA/FA,E;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAA+pC,CAAgB,slCAAG,EAAC,C;;;;;;;;;;;ACAnrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-dropdown/u-dropdown.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-dropdown.vue?vue&type=template&id=0340bb60&scoped=true&\"\nvar renderjs\nimport script from \"./u-dropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./u-dropdown.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"0340bb60\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-dropdown/u-dropdown.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=template&id=0340bb60&scoped=true&\"","var 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}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.$u.addUnit(_vm.height)\n var g1 = _vm.$u.addUnit(_vm.titleSize)\n var a0 = {\n display: \"flex\"\n }\n var g2 = _vm.$u.addUnit(_vm.menuIconSize)\n\n var s0 = _vm.__get_style([\n _vm.contentStyle,\n {\n transition: \"opacity \" + _vm.duration / 1000 + \"s linear\",\n top: _vm.$u.addUnit(_vm.height),\n height: _vm.contentHeight + \"px\"\n }\n ])\n\n var s1 = _vm.__get_style([_vm.popupStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n a0: a0,\n g2: g2,\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-dropdown\">\r\n\t\t<view class=\"u-dropdown__menu\" :style=\"{\r\n\t\t\theight: $u.addUnit(height)\r\n\t\t}\" :class=\"{\r\n\t\t\t'u-border-bottom': borderBottom\r\n\t\t}\">\r\n\t\t\t<view class=\"u-dropdown__menu__item\" v-for=\"(item, index) in menuList\" :key=\"index\" @tap.stop=\"menuClick(index)\">\r\n\t\t\t\t<view class=\"u-flex\">\r\n\t\t\t\t\t<text class=\"u-dropdown__menu__item__text\" :style=\"{\r\n\t\t\t\t\t\tcolor: item.disabled ? '#c0c4cc' : (index === current || highlightIndex == index) ? activeColor : inactiveColor,\r\n\t\t\t\t\t\tfontSize: $u.addUnit(titleSize)\r\n\t\t\t\t\t}\">{{item.title}}</text>\r\n\t\t\t\t\t<view class=\"u-dropdown__menu__item__arrow\" :class=\"{\r\n\t\t\t\t\t\t'u-dropdown__menu__item__arrow--rotate': index === current\r\n\t\t\t\t\t}\">\r\n\t\t\t\t\t\t<u-icon :custom-style=\"{display: 'flex'}\" :name=\"menuIcon\" :size=\"$u.addUnit(menuIconSize)\" :color=\"index === current || highlightIndex == index ? activeColor : '#c0c4cc'\"></u-icon>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"u-dropdown__content\" :style=\"[contentStyle, {\r\n\t\t\ttransition: `opacity ${duration / 1000}s linear`,\r\n\t\t\ttop: $u.addUnit(height),\r\n\t\t\theight: contentHeight + 'px'\r\n\t\t}]\"\r\n\t\t @tap=\"maskClick\" @touchmove.stop.prevent>\r\n\t\t\t<view @tap.stop.prevent class=\"u-dropdown__content__popup\" :style=\"[popupStyle]\">\r\n\t\t\t\t<slot></slot>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"u-dropdown__content__mask\"></view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * dropdown 下拉菜单\r\n\t * @description 该组件一般用于向下展开菜单,同时可切换多个选项卡的场景\r\n\t * @tutorial http://uviewui.com/components/dropdown.html\r\n\t * @property {String} active-color 标题和选项卡选中的颜色(默认#2979ff)\r\n\t * @property {String} inactive-color 标题和选项卡未选中的颜色(默认#606266)\r\n\t * @property {Boolean} close-on-click-mask 点击遮罩是否关闭菜单(默认true)\r\n\t * @property {Boolean} close-on-click-self 点击当前激活项标题是否关闭菜单(默认true)\r\n\t * @property {String | Number} duration 选项卡展开和收起的过渡时间,单位ms(默认300)\r\n\t * @property {String | Number} height 标题菜单的高度,单位任意(默认80)\r\n\t * @property {String | Number} border-radius 菜单展开内容下方的圆角值,单位任意(默认0)\r\n\t * @property {Boolean} border-bottom 标题菜单是否显示下边框(默认false)\r\n\t * @property {String | Number} title-size 标题的字体大小,单位任意,数值默认为rpx单位(默认28)\r\n\t * @event {Function} open 下拉菜单被打开时触发\r\n\t * @event {Function} close 下拉菜单被关闭时触发\r\n\t * @example <u-dropdown></u-dropdown>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-dropdown',\r\n\t\tprops: {\r\n\t\t\t// 菜单标题和选项的激活态颜色\r\n\t\t\tactiveColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#2979ff'\r\n\t\t\t},\r\n\t\t\t// 菜单标题和选项的未激活态颜色\r\n\t\t\tinactiveColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#606266'\r\n\t\t\t},\r\n\t\t\t// 点击遮罩是否关闭菜单\r\n\t\t\tcloseOnClickMask: {\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\tcloseOnClickSelf: {\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\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// 标题菜单的高度,单位任意,数值默认为rpx单位\r\n\t\t\theight: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 80\r\n\t\t\t},\r\n\t\t\t// 是否显示下边框\r\n\t\t\tborderBottom: {\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\ttitleSize: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 28\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: 0\r\n\t\t\t},\r\n\t\t\t// 菜单右侧的icon图标\r\n\t\t\tmenuIcon: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'arrow-down'\r\n\t\t\t},\r\n\t\t\t// 菜单右侧图标的大小\r\n\t\t\tmenuIconSize: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 26\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshowDropdown: true, // 是否打开下来菜单,\r\n\t\t\t\tmenuList: [], // 显示的菜单\r\n\t\t\t\tactive: false, // 下拉菜单的状态\r\n\t\t\t\t// 当前是第几个菜单处于激活状态,小程序中此处不能写成false或者\"\",否则后续将current赋值为0,\r\n\t\t\t\t// 无能的TX没有使用===而是使用==判断,导致程序认为前后二者没有变化,从而不会触发视图更新\r\n\t\t\t\tcurrent: 99999,\r\n\t\t\t\t// 外层内容的样式,初始时处于底层,且透明\r\n\t\t\t\tcontentStyle: {\r\n\t\t\t\t\tzIndex: -1,\r\n\t\t\t\t\topacity: 0\r\n\t\t\t\t},\r\n\t\t\t\t// 让某个菜单保持高亮的状态\r\n\t\t\t\thighlightIndex: 99999,\r\n\t\t\t\tcontentHeight: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 下拉出来部分的样式\r\n\t\t\tpopupStyle() {\r\n\t\t\t\tlet style = {};\r\n\t\t\t\t// 进行Y轴位移,展开状态时,恢复原位。收齐状态时,往上位移100%,进行隐藏\r\n\t\t\t\tstyle.transform = `translateY(${this.active ? 0 : '-100%'})`\r\n\t\t\t\tstyle['transition-duration'] = this.duration / 1000 + 's';\r\n\t\t\t\tstyle.borderRadius = `0 0 ${this.$u.addUnit(this.borderRadius)} ${this.$u.addUnit(this.borderRadius)}`;\r\n\t\t\t\treturn style;\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 引用所有子组件(u-dropdown-item)的this,不能在data中声明变量,否则在微信小程序会造成循环引用而报错\r\n\t\t\tthis.children = [];\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getContentHeight();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tinit() {\r\n\t\t\t\t// 当某个子组件内容变化时,触发父组件的init,父组件再让每一个子组件重新初始化一遍\r\n\t\t\t\t// 以保证数据的正确性\r\n\t\t\t\tthis.menuList = [];\r\n\t\t\t\tthis.children.map(child => {\r\n\t\t\t\t\tchild.init();\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 点击菜单\r\n\t\t\tmenuClick(index) {\r\n\t\t\t\t// 判断是否被禁用\r\n\t\t\t\tif (this.menuList[index].disabled) return;\r\n\t\t\t\t// 如果点击时的索引和当前激活项索引相同,意味着点击了激活项,需要收起下拉菜单\r\n\t\t\t\tif (index === this.current && this.closeOnClickSelf) {\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t\t// 等动画结束后,再移除下拉菜单中的内容,否则直接移除,也就没有下拉菜单收起的效果了\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.children[index].active = false;\r\n\t\t\t\t\t}, this.duration)\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.open(index);\r\n\t\t\t},\r\n\t\t\t// 打开下拉菜单\r\n\t\t\topen(index) {\r\n\t\t\t\t// 重置高亮索引,否则会造成多个菜单同时高亮\r\n\t\t\t\t// this.highlightIndex = 9999;\r\n\t\t\t\t// 展开时,设置下拉内容的样式\r\n\t\t\t\tthis.contentStyle = {\r\n\t\t\t\t\tzIndex: 11,\r\n\t\t\t\t}\r\n\t\t\t\t// 标记展开状态以及当前展开项的索引\r\n\t\t\t\tthis.active = true;\r\n\t\t\t\tthis.current = index;\r\n\t\t\t\t// 历遍所有的子元素,将索引匹配的项标记为激活状态,因为子元素是通过v-if控制切换的\r\n\t\t\t\t// 之所以不是因display: none,是因为nvue没有display这个属性\r\n\t\t\t\tthis.children.map((val, idx) => {\r\n\t\t\t\t\tval.active = index == idx ? true : false;\r\n\t\t\t\t})\r\n\t\t\t\tthis.$emit('open', this.current);\r\n\t\t\t},\r\n\t\t\t// 设置下拉菜单处于收起状态\r\n\t\t\tclose() {\r\n\t\t\t\tthis.$emit('close', this.current);\r\n\t\t\t\t// 设置为收起状态,同时current归位,设置为空字符串\r\n\t\t\t\tthis.active = false;\r\n\t\t\t\tthis.current = 99999;\r\n\t\t\t\t// 下拉内容的样式进行调整,不透明度设置为0\r\n\t\t\t\tthis.contentStyle = {\r\n\t\t\t\t\tzIndex: -1,\r\n\t\t\t\t\topacity: 0\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 点击遮罩\r\n\t\t\tmaskClick() {\r\n\t\t\t\t// 如果不允许点击遮罩,直接返回\r\n\t\t\t\tif (!this.closeOnClickMask) return;\r\n\t\t\t\tthis.close();\r\n\t\t\t},\r\n\t\t\t// 外部手动设置某个菜单高亮\r\n\t\t\thighlight(index = undefined) {\r\n\t\t\t\tthis.highlightIndex = index !== undefined ? index : 99999;\r\n\t\t\t},\r\n\t\t\t// 获取下拉菜单内容的高度\r\n\t\t\tgetContentHeight() {\r\n\t\t\t\t// 这里的原理为,因为dropdown组件是相对定位的,它的下拉出来的内容,必须给定一个高度\r\n\t\t\t\t// 才能让遮罩占满菜单一下,直到屏幕底部的高度\r\n\t\t\t\t// this.$u.sys()为uView封装的获取设备信息的方法\r\n\t\t\t\tlet windowHeight = this.$u.sys().windowHeight;\r\n\t\t\t\tthis.$uGetRect('.u-dropdown__menu').then(res => {\r\n\t\t\t\t\t// 这里获取的是dropdown的尺寸,在H5上,uniapp获取尺寸是有bug的(以前提出修复过,后来又出现了此bug,目前hx2.8.11版本)\r\n\t\t\t\t\t// H5端bug表现为元素尺寸的top值为导航栏底部到到元素的上边沿的距离,但是元素的bottom值确是导航栏顶部到元素底部的距离\r\n\t\t\t\t\t// 二者是互相矛盾的,本质原因是H5端导航栏非原生,uni的开发者大意造成\r\n\t\t\t\t\t// 这里取菜单栏的botton值合理的,不能用res.top,否则页面会造成滚动\r\n\t\t\t\t\tthis.contentHeight = windowHeight - res.bottom;\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import \"../../libs/css/style.components.scss\";\r\n\r\n\t.u-dropdown {\r\n\t\tflex: 1;\r\n\t\twidth: 100%;\r\n\t\tposition: relative;\r\n\r\n\t\t&__menu {\r\n\t\t\t@include vue-flex;\r\n\t\t\tposition: relative;\r\n\t\t\tz-index: 11;\r\n\t\t\theight: 80rpx;\r\n\r\n\t\t\t&__item {\r\n\t\t\t\tflex: 1;\r\n\t\t\t\t@include vue-flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t&__text {\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tcolor: $u-content-color;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&__arrow {\r\n\t\t\t\t\tmargin-left: 6rpx;\r\n\t\t\t\t\ttransition: transform .3s;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t@include vue-flex;\r\n\r\n\t\t\t\t\t&--rotate {\r\n\t\t\t\t\t\ttransform: rotate(180deg);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__content {\r\n\t\t\tposition: absolute;\r\n\t\t\tz-index: 8;\r\n\t\t\twidth: 100%;\r\n\t\t\tleft: 0px;\r\n\t\t\tbottom: 0;\r\n\t\t\toverflow: hidden;\r\n\t\t\t\r\n\r\n\t\t\t&__mask {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tz-index: 9;\r\n\t\t\t\tbackground: rgba(0, 0, 0, .3);\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t}\r\n\r\n\t\t\t&__popup {\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tz-index: 10;\r\n\t\t\t\ttransition: all 0.3s;\r\n\t\t\t\ttransform: translate3D(0, -100%, 0);\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628476703288\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?a003","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?8ea1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?c101","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?bcf4","uni-app:///uview-ui/components/u-icon/u-icon.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?5ccd","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?dbe9"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsK;AACtK,gBAAgB,6KAAU;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;;AAEA;;AAEA;;AAEA;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;;;;;;;;;;;;;;ACrCA;AAAA;AAAA;AAAA;AAAknB,CAAgB,gnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBtoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAA2pC,CAAgB,klCAAG,EAAC,C;;;;;;;;;;;ACA/qC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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.__get_style([_vm.imgStyle])\n\n var s2 = _vm.__get_style([_vm.iconStyle])\n\n var s3 = _vm.__get_style([_vm.decimalIconStyle])\n\n var g0 = _vm.$u.addUnit(_vm.labelSize)\n var g1 = _vm.$u.addUnit(_vm.marginLeft)\n var g2 = _vm.$u.addUnit(_vm.marginTop)\n var g3 = _vm.$u.addUnit(_vm.marginRight)\n var g4 = _vm.$u.addUnit(_vm.marginBottom)\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245376284\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?a003","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?8ea1","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?c101","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?bcf4","uni-app:///uview-ui/components/u-icon/u-icon.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?5ccd","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-icon/u-icon.vue?dbe9"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsK;AACtK,gBAAgB,6KAAU;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;;AAEA;;AAEA;;AAEA;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;;;;;;;;;;;;;;ACrCA;AAAA;AAAA;AAAA;AAAknB,CAAgB,gnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBtoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAA2pC,CAAgB,klCAAG,EAAC,C;;;;;;;;;;;ACA/qC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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.__get_style([_vm.imgStyle])\n\n var s2 = _vm.__get_style([_vm.iconStyle])\n\n var s3 = _vm.__get_style([_vm.decimalIconStyle])\n\n var g0 = _vm.$u.addUnit(_vm.labelSize)\n var g1 = _vm.$u.addUnit(_vm.marginLeft)\n var g2 = _vm.$u.addUnit(_vm.marginTop)\n var g3 = _vm.$u.addUnit(_vm.marginRight)\n var g4 = _vm.$u.addUnit(_vm.marginBottom)\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484641\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?befb","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?df73","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?901d","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?03fc","uni-app:///uview-ui/components/u-mask/u-mask.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?e208","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?c8d2"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsK;AACtK,gBAAgB,6KAAU;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;AAAknB,CAAgB,gnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUtoB;;;;;;;;;;;;;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;AAA2pC,CAAgB,klCAAG,EAAC,C;;;;;;;;;;;ACA/qC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245376065\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?befb","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?df73","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?901d","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?03fc","uni-app:///uview-ui/components/u-mask/u-mask.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?e208","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-mask/u-mask.vue?c8d2"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsK;AACtK,gBAAgB,6KAAU;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;AAAknB,CAAgB,gnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUtoB;;;;;;;;;;;;;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;AAA2pC,CAAgB,klCAAG,EAAC,C;;;;;;;;;;;ACA/qC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484539\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?ff53","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?4013","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?6f43","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?3be3","uni-app:///uview-ui/components/u-popup/u-popup.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?d714","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?8cc2"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL,GAAG;AACH;AACA,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAAmnB,CAAgB,inBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDvoB;;;;;;;;;;;;;;;;;;;;;;;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;AAA4pC,CAAgB,mlCAAG,EAAC,C;;;;;;;;;;;ACAhrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 zIndex: _vm.uZindex - 1\n }\n ])\n\n var s1 = _vm.__get_style([_vm.style])\n\n var s2 = _vm.__get_style([_vm.centerStyle])\n\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245376084\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?ff53","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?4013","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?6f43","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?3be3","uni-app:///uview-ui/components/u-popup/u-popup.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?d714","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-popup/u-popup.vue?8cc2"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL,GAAG;AACH;AACA,WAAW,uMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAAmnB,CAAgB,inBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDvoB;;;;;;;;;;;;;;;;;;;;;;;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;AAA4pC,CAAgB,mlCAAG,EAAC,C;;;;;;;;;;;ACAhrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 zIndex: _vm.uZindex - 1\n }\n ])\n\n var s1 = _vm.__get_style([_vm.style])\n\n var s2 = _vm.__get_style([_vm.centerStyle])\n\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484523\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?6f1f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?f68b","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?79ba","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?739a","uni-app:///uview-ui/components/u-search/u-search.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?2143","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?7e93"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL;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;;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDxoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245375912\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?6f1f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?f68b","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?79ba","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?739a","uni-app:///uview-ui/components/u-search/u-search.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?2143","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-search/u-search.vue?7e93"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,uMAEN;AACL;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;;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDxoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 = {\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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484434\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?1117","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?5912","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?f309","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?b8e1","uni-app:///uview-ui/components/u-select/u-select.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?8950","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?6d31"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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,WAAW,6MAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoDxoB;;;;;;;;;;;;;;;;;;;;;;AAsBA;AACA;AACA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,mBADA;AAEA,mBAFA,EATA;;AAaA;AACA;AACA,mBADA;AAEA,oBAFA,EAdA;;AAkBA;AACA;AACA,kBADA;AAEA,wBAFA,EAnBA;;AAuBA;AACA;AACA,kBADA;AAEA,wBAFA,EAxBA;;AA4BA;AACA;AACA,4BADA;AAEA,gBAFA,EA7BA;;AAiCA;AACA,mBADA;AAEA,oBAFA,EAjCA;;AAqCA;AACA;AACA,mBADA;AAEA,mBAFA,EAtCA;;AA0CA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3CA;;AAiDA;AACA;AACA,kBADA;AAEA,8BAFA,EAlDA;;AAsDA;AACA;AACA,kBADA;AAEA,sBAFA,EAvDA;;AA2DA;AACA;AACA,kBADA;AAEA,sBAFA,EA5DA;;AAgEA;AACA;AACA,kBADA;AAEA,yBAFA,EAjEA;;AAqEA;AACA;AACA,kBADA;AAEA,iBAFA,EAtEA;;AA0EA;AACA;AACA,kBADA;AAEA,mBAFA,EA3EA;;AA+EA;AACA;AACA,kBADA;AAEA,mBAFA,EAhFA,EADA;;;AAsFA,MAtFA,kBAsFA;AACA;AACA;AACA,0BAFA;AAGA;AACA,oBAJA;AAKA;AACA,qBANA;AAOA;AACA,yBARA;AASA;AACA,kBAVA;AAWA;AACA,mBAZA;;AAcA,GArGA;AAsGA;AACA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,GAFA,EAEA;AACA;AACA,OAJA,EAFA,EAtGA;;;AA+GA;AACA,WADA,qBACA;AACA;AACA;AACA,KAJA,EA/GA;;AAqHA;AACA;AACA,aAFA,uBAEA;;AAEA;;AAEA,KANA;AAOA;AACA,WARA,qBAQA;;AAEA;;AAEA,KAZA;AAaA,QAbA,kBAaA;AACA;AACA;AACA;AACA;AACA,KAlBA;AAmBA;AACA,sBApBA,gCAoBA;AACA;AACA;AACA;AACA,KAxBA;AAyBA;AACA,gBA1BA,0BA0BA;AACA;AACA;AACA;AADA,WAEA;AACA;AADA,aAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA1CA;AA2CA;AACA,iBA5CA,2BA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAfA,MAeA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KApEA;AAqEA;AACA,kBAtEA,4BAsEA;AACA;AACA;AACA;AACA;AACA,iDADA;AAEA,iDAFA;;AAIA;AACA;AACA;AACA;AACA,KAlFA;AAmFA;AACA,gBApFA,wBAoFA,CApFA,EAoFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDADA;AAEA,uDAFA;;AAIA;AACA;AACA;;AAEA,SAVA;AAWA;AACA;AACA,OA5BA,MA4BA;AACA;AACA;AACA;AACA,mDADA;AAEA,mDAFA;;AAIA;AACA;AACA;AACA,OAVA,MAUA;AACA;AACA;AACA;AACA;AACA;AACA,uDADA;AAEA,uDAFA;;AAIA;AACA;AACA;AACA,SAVA;AAWA;AACA,KA7IA;AA8IA,SA9IA,mBA8IA;AACA;AACA,KAhJA;AAiJA;AACA,aAlJA,uBAkJA;;AAEA;;AAEA;AACA;AACA,KAxJA;AAyJA,iBAzJA,2BAyJA;AACA;AACA,KA3JA,EArHA,E;;;;;;;;;;;;AC1EA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-select/u-select.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-select.vue?vue&type=template&id=a577ac80&scoped=true&\"\nvar renderjs\nimport script from \"./u-select.vue?vue&type=script&lang=js&\"\nexport * from \"./u-select.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"a577ac80\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-select/u-select.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=template&id=a577ac80&scoped=true&\"","var 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}\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-select\">\r\n\t\t<!-- <view class=\"u-select__action\" :class=\"{\r\n\t\t\t'u-select--border': border\r\n\t\t}\" @tap.stop=\"selectHandler\">\r\n\t\t\t<view class=\"u-select__action__icon\" :class=\"{\r\n\t\t\t\t'u-select__action__icon--reverse': value == true\r\n\t\t\t}\">\r\n\t\t\t\t<u-icon name=\"arrow-down-fill\" size=\"26\" color=\"#c0c4cc\"></u-icon>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t\t<u-popup :maskCloseAble=\"maskCloseAble\" mode=\"bottom\" :popup=\"false\" v-model=\"value\" length=\"auto\" :safeAreaInsetBottom=\"safeAreaInsetBottom\" @close=\"close\" :z-index=\"uZIndex\">\r\n\t\t\t<view class=\"u-select\">\r\n\t\t\t\t<view class=\"u-select__header\" @touchmove.stop.prevent=\"\">\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tclass=\"u-select__header__cancel u-select__header__btn\"\r\n\t\t\t\t\t\t:style=\"{ color: cancelColor }\"\r\n\t\t\t\t\t\thover-class=\"u-hover-class\"\r\n\t\t\t\t\t\t:hover-stay-time=\"150\"\r\n\t\t\t\t\t\t@tap=\"getResult('cancel')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{{cancelText}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"u-select__header__title\">\r\n\t\t\t\t\t\t{{title}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tclass=\"u-select__header__confirm u-select__header__btn\"\r\n\t\t\t\t\t\t:style=\"{ color: moving ? cancelColor : confirmColor }\"\r\n\t\t\t\t\t\thover-class=\"u-hover-class\"\r\n\t\t\t\t\t\t:hover-stay-time=\"150\"\r\n\t\t\t\t\t\t@touchmove.stop=\"\"\r\n\t\t\t\t\t\t@tap.stop=\"getResult('confirm')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{{confirmText}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"u-select__body\">\r\n\t\t\t\t\t<picker-view @change=\"columnChange\" class=\"u-select__body__picker-view\" :value=\"defaultSelector\" @pickstart=\"pickstart\" @pickend=\"pickend\">\r\n\t\t\t\t\t\t<picker-view-column v-for=\"(item, index) in columnData\" :key=\"index\">\r\n\t\t\t\t\t\t\t<view class=\"u-select__body__picker-view__item\" v-for=\"(item1, index1) in item\" :key=\"index1\">\r\n\t\t\t\t\t\t\t\t<view class=\"u-line-1\">{{ item1[labelName] }}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</picker-view-column>\r\n\t\t\t\t\t</picker-view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</u-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * select 列选择器\r\n\t * @description 此选择器用于单列,多列,多列联动的选择场景。(从1.3.0版本起,不建议使用Picker组件的单列和多列模式,Select组件是专门为列选择而构造的组件,更简单易用。)\r\n\t * @tutorial http://uviewui.com/components/select.html\r\n\t * @property {String} mode 模式选择,\"single-column\"-单列模式,\"mutil-column\"-多列模式,\"mutil-column-auto\"-多列联动模式\r\n\t * @property {Array} list 列数据,数组形式,见官网说明\r\n\t * @property {Boolean} v-model 布尔值变量,用于控制选择器的弹出与收起\r\n\t * @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)\r\n\t * @property {String} cancel-color 取消按钮的颜色(默认#606266)\r\n\t * @property {String} confirm-color 确认按钮的颜色(默认#2979ff)\r\n\t * @property {String} confirm-text 确认按钮的文字\r\n\t * @property {String} cancel-text 取消按钮的文字\r\n\t * @property {String} default-value 提供的默认选中的下标,见官网说明\r\n\t * @property {Boolean} mask-close-able 是否允许通过点击遮罩关闭Picker(默认true)\r\n\t * @property {String Number} z-index 弹出时的z-index值(默认10075)\r\n\t * @property {String} value-name 自定义list数据的value属性名 1.3.6\r\n\t * @property {String} label-name 自定义list数据的label属性名 1.3.6\r\n\t * @property {String} child-name 自定义list数据的children属性名,只对多列联动模式有效 1.3.7\r\n\t * @event {Function} confirm 点击确定按钮,返回当前选择的值\r\n\t * @example <u-select v-model=\"show\" :list=\"list\"></u-select>\r\n\t */\r\n\r\nexport default {\r\n\tprops: {\r\n\t\t// 列数据\r\n\t\tlist: {\r\n\t\t\ttype: Array,\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\tborder: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\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// \"取消\"按钮的颜色\r\n\t\tcancelColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#606266'\r\n\t\t},\r\n\t\t// \"确定\"按钮的颜色\r\n\t\tconfirmColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#2979ff'\r\n\t\t},\r\n\t\t// 弹出的z-index值\r\n\t\tzIndex: {\r\n\t\t\ttype: [String, Number],\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\tsafeAreaInsetBottom: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 是否允许通过点击遮罩关闭Picker\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\tdefaultValue: {\r\n\t\t\ttype: Array,\r\n\t\t\tdefault() {\r\n\t\t\t\treturn [0];\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 模式选择,single-column-单列,mutil-column-多列,mutil-column-auto-多列联动\r\n\t\tmode: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'single-column'\r\n\t\t},\r\n\t\t// 自定义value属性名\r\n\t\tvalueName: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'value'\r\n\t\t},\r\n\t\t// 自定义label属性名\r\n\t\tlabelName: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'label'\r\n\t\t},\r\n\t\t// 自定义多列联动模式的children属性名\r\n\t\tchildName: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'children'\r\n\t\t},\r\n\t\t// 顶部标题\r\n\t\ttitle: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 取消按钮的文字\r\n\t\tcancelText: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '取消'\r\n\t\t},\r\n\t\t// 确认按钮的文字\r\n\t\tconfirmText: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '确认'\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\t// 用于列改变时,保存当前的索引,下一次变化时比较得出是哪一列发生了变化\r\n\t\t\tdefaultSelector: [0],\r\n\t\t\t// picker-view的数据\r\n\t\t\tcolumnData: [],\r\n\t\t\t// 每次队列发生变化时,保存选择的结果\r\n\t\t\tselectValue: [],\r\n\t\t\t// 上一次列变化时的index\r\n\t\t\tlastSelectIndex: [],\r\n\t\t\t// 列数\r\n\t\t\tcolumnNum: 0,\r\n\t\t\t// 列是否还在滑动中,微信小程序如果在滑动中就点确定,结果可能不准确\r\n\t\t\tmoving: false\r\n\t\t};\r\n\t},\r\n\twatch: {\r\n\t\t// 在select弹起的时候,重新初始化所有数据\r\n\t\tvalue: {\r\n\t\t\timmediate: true,\r\n\t\t\thandler(val) {\r\n\t\t\t\tif(val) setTimeout(() => this.init(), 10);\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n\tcomputed: {\r\n\t\tuZIndex() {\r\n\t\t\t// 如果用户有传递z-index值,优先使用\r\n\t\t\treturn this.zIndex ? this.zIndex : this.$u.zIndex.popup;\r\n\t\t},\r\n\t},\r\n\tmethods: {\r\n\t\t// 标识滑动开始,只有微信小程序才有这样的事件\r\n\t\tpickstart() {\r\n\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\tthis.moving = true;\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\t// 标识滑动结束\r\n\t\tpickend() {\r\n\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\tthis.moving = false;\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tinit() {\r\n\t\t\tthis.setColumnNum();\r\n\t\t\tthis.setDefaultSelector();\r\n\t\t\tthis.setColumnData();\r\n\t\t\tthis.setSelectValue();\r\n\t\t},\r\n\t\t// 获取默认选中列下标\r\n\t\tsetDefaultSelector() {\r\n\t\t\t// 如果没有传入默认选中的值,生成长度为columnNum,用0填充的数组\r\n\t\t\tthis.defaultSelector = this.defaultValue.length == this.columnNum ? this.defaultValue : Array(this.columnNum).fill(0);\r\n\t\t\tthis.lastSelectIndex = this.$u.deepClone(this.defaultSelector);\r\n\t\t},\r\n\t\t// 计算列数\r\n\t\tsetColumnNum() {\r\n\t\t\t// 单列的列数为1\r\n\t\t\tif(this.mode == 'single-column') this.columnNum = 1;\r\n\t\t\t// 多列时,this.list数组长度就是列数\r\n\t\t\telse if(this.mode == 'mutil-column') this.columnNum = this.list.length;\r\n\t\t\t// 多列联动时,通过历遍this.list的第一个元素,得出有多少列\r\n\t\t\telse if(this.mode == 'mutil-column-auto') {\r\n\t\t\t\tlet num = 1;\r\n\t\t\t\tlet column = this.list;\r\n\t\t\t\t// 只要有元素并且第一个元素有children属性,继续历遍\r\n\t\t\t\twhile(column[0][this.childName]) {\r\n\t\t\t\t\tcolumn = column[0] ? column[0][this.childName] : {};\r\n\t\t\t\t\tnum ++;\r\n\t\t\t\t}\r\n\t\t\t\tthis.columnNum = num;\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 获取需要展示在picker中的列数据\r\n\t\tsetColumnData() {\r\n\t\t\tlet data = [];\r\n\t\t\tthis.selectValue = [];\r\n\t\t\tif(this.mode == 'mutil-column-auto') {\r\n\t\t\t\t// 获得所有数据中的第一个元素\r\n\t\t\t\tlet column = this.list[this.defaultSelector.length ? this.defaultSelector[0] : 0];\r\n\t\t\t\t// 通过循环所有的列数,再根据设定列的数组,得出当前需要渲染的整个列数组\r\n\t\t\t\tfor (let i = 0; i < this.columnNum; i++) {\r\n\t\t\t\t\t// 第一列默认为整个list数组\r\n\t\t\t\t\tif (i == 0) {\r\n\t\t\t\t\t\tdata[i] = this.list;\r\n\t\t\t\t\t\tcolumn = column[this.childName];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// 大于第一列时,判断是否有默认选中的,如果没有就用该列的第一项\r\n\t\t\t\t\t\tdata[i] = column;\r\n\t\t\t\t\t\tcolumn = column[this.defaultSelector[i]][this.childName];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else if(this.mode == 'single-column') {\r\n\t\t\t\tdata[0] = this.list;\r\n\t\t\t} else {\r\n\t\t\t\tdata = this.list;\r\n\t\t\t}\r\n\t\t\tthis.columnData = data;\r\n\t\t},\r\n\t\t// 获取默认选中的值,如果没有设置defaultValue,就默认选中每列的第一个\r\n\t\tsetSelectValue() {\r\n\t\t\tlet tmp = null;\r\n\t\t\tfor(let i = 0; i < this.columnNum; i++) {\r\n\t\t\t\ttmp = this.columnData[i][this.defaultSelector[i]];\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tvalue: tmp ? tmp[this.valueName] : null,\r\n\t\t\t\t\tlabel: tmp ? tmp[this.labelName] : null\r\n\t\t\t\t};\r\n\t\t\t\t// 判断是否存在额外的参数,如果存在,就返回\r\n\t\t\t\tif(tmp && tmp.extra) data.extra = tmp.extra;\r\n\t\t\t\tthis.selectValue.push(data)\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 列选项\r\n\t\tcolumnChange(e) {\r\n\t\t\tlet index = null;\r\n\t\t\tlet columnIndex = e.detail.value;\r\n\t\t\t// 由于后面是需要push进数组的,所以需要先清空数组\r\n\t\t\tthis.selectValue = [];\r\n\t\t\tif(this.mode == 'mutil-column-auto') {\r\n\t\t\t\t// 对比前后两个数组,寻找变更的是哪一列,如果某一个元素不同,即可判定该列发生了变化\r\n\t\t\t\tthis.lastSelectIndex.map((val, idx) => {\r\n\t\t\t\t\tif (val != columnIndex[idx]) index = idx;\r\n\t\t\t\t});\r\n\t\t\t\tthis.defaultSelector = columnIndex;\r\n\t\t\t\tfor (let i = index + 1; i < this.columnNum; i++) {\r\n\t\t\t\t\t// 当前变化列的下一列的数据,需要获取上一列的数据,同时需要指定是上一列的第几个的children,再往后的\r\n\t\t\t\t\t// 默认是队列的第一个为默认选项\r\n\t\t\t\t\tthis.columnData[i] = this.columnData[i - 1][i - 1 == index ? columnIndex[index] : 0][this.childName];\r\n\t\t\t\t\t// 改变的列之后的所有列,默认选中第一个\r\n\t\t\t\t\tthis.defaultSelector[i] = 0;\r\n\t\t\t\t}\r\n\t\t\t\t// 在历遍的过程中,可能由于上一步修改this.columnData,导致产生连锁反应,程序触发columnChange,会有多次调用\r\n\t\t\t\t// 只有在最后一次数据稳定后的结果是正确的,此前的历遍中,可能会产生undefined,故需要判断\r\n\t\t\t\tcolumnIndex.map((item, index) => {\r\n\t\t\t\t\tlet data = this.columnData[index][columnIndex[index]];\r\n\t\t\t\t\tlet tmp = {\r\n\t\t\t\t\t\tvalue: data ? data[this.valueName] : null,\r\n\t\t\t\t\t\tlabel: data ? data[this.labelName] : null,\r\n\t\t\t\t\t};\r\n\t\t\t\t\t// 判断是否有需要额外携带的参数\r\n\t\t\t\t\tif(data && data.extra !== undefined) tmp.extra = data.extra;\r\n\t\t\t\t\tthis.selectValue.push(tmp);\r\n\r\n\t\t\t\t})\r\n\t\t\t\t// 保存这一次的结果,用于下次列发生变化时作比较\r\n\t\t\t\tthis.lastSelectIndex = columnIndex;\r\n\t\t\t} else if(this.mode == 'single-column') {\r\n\t\t\t\tlet data = this.columnData[0][columnIndex[0]];\r\n\t\t\t\t// 初始默认选中值\r\n\t\t\t\tlet tmp = {\r\n\t\t\t\t\tvalue: data ? data[this.valueName] : null,\r\n\t\t\t\t\tlabel: data ? data[this.labelName] : null,\r\n\t\t\t\t};\r\n\t\t\t\t// 判断是否有需要额外携带的参数\r\n\t\t\t\tif(data && data.extra !== undefined) tmp.extra = data.extra;\r\n\t\t\t\tthis.selectValue.push(tmp);\r\n\t\t\t} else if(this.mode == 'mutil-column') {\r\n\t\t\t\t// 初始默认选中值\r\n\t\t\t\tcolumnIndex.map((item, index) => {\r\n\t\t\t\t\tlet data = this.columnData[index][columnIndex[index]];\r\n\t\t\t\t\t// 初始默认选中值\r\n\t\t\t\t\tlet tmp = {\r\n\t\t\t\t\t\tvalue: data ? data[this.valueName] : null,\r\n\t\t\t\t\t\tlabel: data ? data[this.labelName] : null,\r\n\t\t\t\t\t};\r\n\t\t\t\t\t// 判断是否有需要额外携带的参数\r\n\t\t\t\t\tif(data && data.extra !== undefined) tmp.extra = data.extra;\r\n\t\t\t\t\tthis.selectValue.push(tmp);\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\tclose() {\r\n\t\t\tthis.$emit('input', false);\r\n\t\t},\r\n\t\t// 点击确定或者取消\r\n\t\tgetResult(event = null) {\r\n\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\tif (this.moving) return;\r\n\t\t\t// #endif\r\n\t\t\tif (event) this.$emit(event, this.selectValue);\r\n\t\t\tthis.close();\r\n\t\t},\r\n\t\tselectHandler() {\r\n\t\t\tthis.$emit('click');\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-select {\r\n\r\n\t&__action {\r\n\t\tposition: relative;\r\n\t\tline-height: $u-form-item-height;\r\n\t\theight: $u-form-item-height;\r\n\r\n\t\t&__icon {\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 20rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\ttransition: transform .4s;\r\n\t\t\ttransform: translateY(-50%);\r\n\t\t\tz-index: 1;\r\n\r\n\t\t\t&--reverse {\r\n\t\t\t\ttransform: rotate(-180deg) translateY(50%);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t&__hader {\r\n\t\t&__title {\r\n\t\t\tcolor: $u-content-color;\r\n\t\t}\r\n\t}\r\n\r\n\t&--border {\r\n\t\tborder-radius: 6rpx;\r\n\t\tborder-radius: 4px;\r\n\t\tborder: 1px solid $u-form-item-border-color;\r\n\t}\r\n\r\n\t&__header {\r\n\t\t@include vue-flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\theight: 80rpx;\r\n\t\tpadding: 0 40rpx;\r\n\t}\r\n\r\n\t&__body {\r\n\t\twidth: 100%;\r\n\t\theight: 500rpx;\r\n\t\toverflow: hidden;\r\n\t\tbackground-color: #fff;\r\n\r\n\t\t&__picker-view {\r\n\t\t\theight: 100%;\r\n\t\t\tbox-sizing: border-box;\r\n\r\n\t\t\t&__item {\r\n\t\t\t\t@include vue-flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tcolor: $u-main-color;\r\n\t\t\t\tpadding: 0 8rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1628480847327\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?f0ac","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?d685","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?420f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?fb54","uni-app:///uview-ui/components/u-swiper/u-swiper.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?f62c","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?7fcf"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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,KAAK;AACL;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmDxoB;;;;;;;;;;;;;;;;;;;;;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 s0 = _vm.__get_style([\n {\n \"padding-bottom\": _vm.titlePaddingBottom\n },\n _vm.titleStyle\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628245375940\n var cssReload = require(\"C:/Users/admin/Desktop/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:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?f0ac","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?d685","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?420f","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?fb54","uni-app:///uview-ui/components/u-swiper/u-swiper.vue","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?f62c","webpack:///C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-swiper/u-swiper.vue?7fcf"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsK;AACtK,gBAAgB,6KAAU;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,KAAK;AACL;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAonB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmDxoB;;;;;;;;;;;;;;;;;;;;;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;AAA6pC,CAAgB,olCAAG,EAAC,C;;;;;;;;;;;ACAjrC;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 \"!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 s0 = _vm.__get_style([\n {\n \"padding-bottom\": _vm.titlePaddingBottom\n },\n _vm.titleStyle\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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../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 // 1628473484457\n var cssReload = require(\"C:/Users/admin/Desktop/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
......@@ -18,7 +18,8 @@
"pages/vlog/scenicList/scenicList",
"pages/vlog/vlogList/vlogList",
"pages/vlog/photoAlbum/photoAlbum",
"pages/vlog/share/share"
"pages/vlog/share/share",
"pages/vlog/myVlog/myVlog"
],
"subPackages": [],
"window": {
......@@ -35,6 +36,5 @@
"uniStatistics": {
"enable": true
},
"usingComponents": {},
"sitemapLocation": "sitemap.json"
"usingComponents": {}
}
\ No newline at end of file
......@@ -11,10 +11,7 @@
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 9));
var _uviewUi = _interopRequireDefault(__webpack_require__(/*! uview-ui */ 15));
var _request = _interopRequireDefault(__webpack_require__(/*! common/request.js */ 44));
__webpack_require__(/*! ./common/icon/iconfont.css */ 45);
var _share = _interopRequireDefault(__webpack_require__(/*! ./common/share.js */ 46));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} //引入分享API
_vue.default.mixin(_share.default);
__webpack_require__(/*! ./common/icon/iconfont.css */ 45);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}
_vue.default.prototype.$request = _request.default;
_vue.default.use(_uviewUi.default);
......
......@@ -8650,7 +8650,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": "胖丁旅游" }, "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/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" }, "pages/vlog/photoAlbum/photoAlbum": { "navigationBarTitleText": "我的照片集", "enablePullDownRefresh": false }, "pages/vlog/share/share": { "navigationBarTitleText": "Vlog", "enablePullDownRefresh": false } }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" } };exports.default = _default;
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/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" } }, "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": {} }, "pages/vlog/photoAlbum/photoAlbum": { "navigationBarTitleText": "我的照片集", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/vlog/share/share": { "navigationBarTitleText": "Vlog", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} }, "pages/vlog/myVlog/myVlog": { "navigationBarTitleText": "我的Vlog集", "enablePullDownRefresh": false, "usingComponents": {}, "usingAutoImportComponents": {} } }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" } };exports.default = _default;
/***/ }),
/* 9 */,
......@@ -11281,60 +11281,6 @@ request;exports.default = _default;
if(false) { var cssReload; }
/***/ }),
/* 46 */
/*!**************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/common/share.js ***!
\**************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = { //微信小程序分享功能
data: function data() {
return { //设置默认的分享参数
share: {
title: 'vlog',
path: '/pages/index/index',
imageUrl: '',
desc: '',
content: '' } };
},
onLoad: function onLoad() {
wx.showShareMenu({
withShareTicket: true,
menus: ["shareAppMessage", "shareTimeline"] });
},
onShareAppMessage: function onShareAppMessage(res) {//发送给朋友
// 此处的openid为分享者的部分信息,需要传递给其他人
var openid = uni.getStorageSync('openid');
if (openid) {
return {
title: '胖丁旅游',
type: 0,
path: '/pages/index/index?id=' + openid,
summary: "",
imageUrl: "" };
}
},
onShareTimeline: function onShareTimeline(res) {//分享到朋友圈
var openid = uni.getStorageSync('openid');
if (openid) {
return {
title: '胖丁旅游',
type: 0,
query: 'id=' + openid,
summary: "",
imageUrl: "" };
}
} };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ })
]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
\ No newline at end of file
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/vlog/myVlog/myVlog"],{
/***/ 239:
/*!************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/main.js?{"page":"pages%2Fvlog%2FmyVlog%2FmyVlog"} ***!
\************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4);__webpack_require__(/*! @dcloudio/uni-stat */ 5);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
var _myVlog = _interopRequireDefault(__webpack_require__(/*! ./pages/vlog/myVlog/myVlog.vue */ 240));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
createPage(_myVlog.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
/***/ }),
/***/ 240:
/*!***************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue ***!
\***************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./myVlog.vue?vue&type=template&id=3904d3a7&scoped=true& */ 241);
/* harmony import */ var _myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./myVlog.vue?vue&type=script&lang=js& */ 243);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true& */ 46);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
var renderjs
/* normalize component */
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"3904d3a7",
null,
false,
_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/vlog/myVlog/myVlog.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 241:
/*!**********************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?vue&type=template&id=3904d3a7&scoped=true& ***!
\**********************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=template&id=3904d3a7&scoped=true& */ 242);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_template_id_3904d3a7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 242:
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?vue&type=template&id=3904d3a7&scoped=true& ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 243:
/*!****************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?vue&type=script&lang=js& ***!
\****************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=script&lang=js& */ 244);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 244:
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?vue&type=script&lang=js& ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default =
{
data: function data() {
return {
aa: 1,
value: 1,
show: false,
list: [{
label: '默认排序',
value: 1 },
{
label: '距离优先',
value: 2 },
{
label: '价格优先',
value: 3 }] };
},
onReady: function onReady() {
},
onLoad: function onLoad(res) {
uni.setNavigationBarColor({ //动态更改导航条颜色
frontColor: '#ffffff',
backgroundColor: '#192033',
animation: {
duration: 400,
timingFunc: 'easeIn' } });
},
methods: {} };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ }),
/***/ 252:
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true& ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ }),
/***/ 46:
/*!*************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/pages/vlog/myVlog/myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true& ***!
\*************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myVlog.vue?vue&type=style&index=0&id=3904d3a7&lang=scss&scoped=true& */ 252);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_myVlog_vue_vue_type_style_index_0_id_3904d3a7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ })
},[[239,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/vlog/myVlog/myVlog.js.map
\ No newline at end of file
{
"navigationBarTitleText": "我的Vlog集",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view class="content data-v-3904d3a7"><block wx:if="{{1}}"><view style="padding-top:90rpx;" class="data-v-3904d3a7"><view class="data-v-3904d3a7"></view></view></block><block wx:else><view class="empty data-v-3904d3a7"><view class="empty1 data-v-3904d3a7"><text class="data-v-3904d3a7">啊哦。。。没找到呢</text><image src="../../../static/img/vlog/icon/icon_thereisnovideo.png" class="data-v-3904d3a7"></image></view><navigator class="btnn data-v-3904d3a7" url="../vlogface/vlogface"><view class="data-v-3904d3a7">点击获取我的Vlog</view></navigator></view></block></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.content.data-v-3904d3a7 {
padding: 0 20rpx;
height: 100%;
width: 100%;
text-align: center;
}
.content .empty.data-v-3904d3a7 {
text-align: center;
padding-top: 30rpx;
}
.content .empty .empty1.data-v-3904d3a7 {
height: 200rpx;
background: -webkit-linear-gradient(left, #ECF5FF 0%, #CEE5FF 100%);
background: linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);
line-height: 200rpx;
border-radius: 10rpx;
margin-bottom: 300rpx;
}
.content .empty .empty1 text.data-v-3904d3a7 {
font-weight: bold;
font-size: 32rpx;
float: left;
margin-left: 120rpx;
}
.content .empty .empty1 image.data-v-3904d3a7 {
height: 180rpx;
width: 200rpx;
float: right;
margin-right: 50rpx;
}
.content .empty .btnn.data-v-3904d3a7 {
display: inline-block;
font-size: 28rpx;
border-radius: 40rpx;
text-align: center;
background-color: #FFE600;
padding: 20rpx 40rpx;
margin: 30rpx 0;
font-weight: bold;
}
......@@ -232,6 +232,20 @@ var _default =
this.openCamera();
},
onReady: function onReady() {//代替 vue 里面的 mounted
uni.login({
provider: 'weixin',
success: function success(loginRes) {
console.log(loginRes);
// 获取用户信息
uni.getUserInfo({
provider: 'weixin',
success: function success(infoRes) {
console.log(infoRes);
console.log('用户昵称为:' + infoRes.userInfo.nickName);
} });
} });
},
onShareAppMessage: function onShareAppMessage(res) {
success: (function (res) {console.log(res);});
......
<view class="content data-v-8024691e"><u-search vue-id="3dcc23b5-1" placeholder="景区/关键词搜索" clearabled="{{true}}" show-action="{{true}}" action-text="搜索" animation="{{true}}" value="{{search}}" data-event-opts="{{[['^change',[['query']]],['^input',[['__set_model',['','search','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-8024691e" bind:__l="__l"></u-search><view class="swiper data-v-8024691e"><u-swiper vue-id="3dcc23b5-2" list="{{list}}" class="data-v-8024691e" bind:__l="__l"></u-swiper></view><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">我的VLOG视频集</view></view><navigator url="../vlogList/vlogList" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">定制我的相片集</view></view><navigator url="../photoAlbum/photoAlbum" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><button type="default" data-event-opts="{{[['tap',[['handleDownload',['$event']]]]]}}" bindtap="__e" class="data-v-8024691e">下载</button><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">景区VLOG样片</view></view><view class="row data-v-8024691e"><navigator class="item data-v-8024691e" url="../scenicList/scenicList"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image><text class="data-v-8024691e">长江索道</text></navigator><navigator class="item data-v-8024691e" url="../scenicList/scenicList"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image><text class="data-v-8024691e">云端之眼·高空观景台</text></navigator></view><view class="bottom data-v-8024691e"><image src="../../../static/img/vlog/icon/bottom.png" class="data-v-8024691e"></image><navigator url="../vlogface/vlogface" class="data-v-8024691e"><view class="paizhao data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_scan.png" class="data-v-8024691e"></image></view></navigator></view></view>
\ No newline at end of file
<view class="content data-v-8024691e"><u-search vue-id="3dcc23b5-1" placeholder="景区/关键词搜索" clearabled="{{true}}" show-action="{{true}}" action-text="搜索" animation="{{true}}" value="{{search}}" data-event-opts="{{[['^change',[['query']]],['^input',[['__set_model',['','search','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-8024691e" bind:__l="__l"></u-search><view class="swiper data-v-8024691e"><u-swiper vue-id="3dcc23b5-2" list="{{list}}" class="data-v-8024691e" bind:__l="__l"></u-swiper></view><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">我的VLOG视频集</view></view><navigator url="../myVlog/myVlog" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">定制我的相片集</view></view><navigator url="../photoAlbum/photoAlbum" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><button type="default" data-event-opts="{{[['tap',[['handleDownload',['$event']]]]]}}" bindtap="__e" class="data-v-8024691e">下载</button><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">景区VLOG样片</view></view><view class="row data-v-8024691e"><navigator class="item data-v-8024691e" url="../scenicList/scenicList"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image><text class="data-v-8024691e">长江索道</text></navigator><navigator class="item data-v-8024691e" url="../scenicList/scenicList"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image><text class="data-v-8024691e">云端之眼·高空观景台</text></navigator></view><view class="bottom data-v-8024691e"><image src="../../../static/img/vlog/icon/bottom.png" class="data-v-8024691e"></image><navigator url="../vlogface/vlogface" class="data-v-8024691e"><view class="paizhao data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_scan.png" class="data-v-8024691e"></image></view></navigator></view></view>
\ No newline at end of file
......@@ -147,21 +147,11 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
//
//
//
//
//
//
//
//
var _default =
{
data: function data() {
return {
aa: 1,
share1: 0,
src: "" };
......
<view class="content data-v-1f5bdab2" style="{{(aa===1?'background-color: #192033':'')}}"><block wx:if="{{1}}"><view style="padding-top:30rpx;" class="data-v-1f5bdab2"><view class="item data-v-1f5bdab2"><video class="video data-v-1f5bdab2" 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" controls="{{true}}" id="d1" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[1]]]]]}}" binderror="__e" bindplay="__e"></video><button class="btnn data-v-1f5bdab2" open-type="share">分享下载</button></view><view class="item data-v-1f5bdab2"><video class="video data-v-1f5bdab2" 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" controls="{{true}}" id="d2" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[2]]]]]}}" binderror="__e" bindplay="__e"></video><button class="btnn data-v-1f5bdab2" open-type="share">分享下载</button></view></view></block><block wx:else><view class="empty data-v-1f5bdab2"><view class="empty1 data-v-1f5bdab2"><text class="data-v-1f5bdab2">啊哦。。。没找到呢</text><image src="../../../static/img/vlog/icon/icon_thereisnovideo.png" class="data-v-1f5bdab2"></image></view><navigator class="btnn data-v-1f5bdab2" url="../vlogface/vlogface"><view class="data-v-1f5bdab2">点击获取我的Vlog</view></navigator></view></block></view>
\ No newline at end of file
<view class="content data-v-1f5bdab2"><view style="padding-top:30rpx;" class="data-v-1f5bdab2"><view class="item data-v-1f5bdab2"><video class="video data-v-1f5bdab2" 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" controls="{{true}}" id="d1" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[1]]]]]}}" binderror="__e" bindplay="__e"></video><button class="btnn data-v-1f5bdab2" open-type="share">分享下载</button></view><view class="item data-v-1f5bdab2"><video class="video data-v-1f5bdab2" 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" controls="{{true}}" id="d2" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[2]]]]]}}" binderror="__e" bindplay="__e"></video><button class="btnn data-v-1f5bdab2" open-type="share">分享下载</button></view></view></view>
\ No newline at end of file
......@@ -31,6 +31,7 @@
height: 100%;
width: 100%;
text-align: center;
background-color: #192033;
}
.content .item.data-v-1f5bdab2 {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
......@@ -54,38 +55,4 @@
margin: 30rpx 0;
font-weight: bold;
}
.content .empty.data-v-1f5bdab2 {
text-align: center;
padding-top: 30rpx;
}
.content .empty .empty1.data-v-1f5bdab2 {
height: 200rpx;
background: -webkit-linear-gradient(left, #ECF5FF 0%, #CEE5FF 100%);
background: linear-gradient(90deg, #ECF5FF 0%, #CEE5FF 100%);
line-height: 200rpx;
border-radius: 10rpx;
margin-bottom: 300rpx;
}
.content .empty .empty1 text.data-v-1f5bdab2 {
font-weight: bold;
font-size: 32rpx;
float: left;
margin-left: 120rpx;
}
.content .empty .empty1 image.data-v-1f5bdab2 {
height: 180rpx;
width: 200rpx;
float: right;
margin-right: 50rpx;
}
.content .empty .btnn.data-v-1f5bdab2 {
display: inline-block;
font-size: 28rpx;
border-radius: 40rpx;
text-align: center;
background-color: #FFE600;
padding: 20rpx 40rpx;
margin: 30rpx 0;
font-weight: bold;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uview-ui/components/u-cell-group/u-cell-group"],{
/***/ 268:
/*!************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue ***!
\************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-cell-group.vue?vue&type=template&id=5723aa40&scoped=true& */ 269);
/* harmony import */ var _u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-cell-group.vue?vue&type=script&lang=js& */ 271);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true& */ 273);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
var renderjs
/* normalize component */
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"5723aa40",
null,
false,
_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "uview-ui/components/u-cell-group/u-cell-group.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 269:
/*!*******************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?vue&type=template&id=5723aa40&scoped=true& ***!
\*******************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=template&id=5723aa40&scoped=true& */ 270);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_template_id_5723aa40_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 270:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?vue&type=template&id=5723aa40&scoped=true& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var s0 = _vm.__get_style([_vm.titleStyle])
_vm.$mp.data = Object.assign(
{},
{
$root: {
s0: s0
}
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 271:
/*!*************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?vue&type=script&lang=js& ***!
\*************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=script&lang=js& */ 272);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 272:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?vue&type=script&lang=js& ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
//
/**
* cellGroup 单元格父组件Group
* @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。搭配u-cell-item
* @tutorial https://www.uviewui.com/components/cell.html
* @property {String} title 分组标题
* @property {Boolean} border 是否显示外边框(默认true)
* @property {Object} title-style 分组标题的的样式,对象形式,如{'font-size': '24rpx'} 或 {'fontSize': '24rpx'}
* @example <u-cell-group title="设置喜好">
*/var _default2 =
{
name: "u-cell-group",
props: {
// 分组标题
title: {
type: String,
default: '' },
// 是否显示分组list上下边框
border: {
type: Boolean,
default: true },
// 分组标题的样式,对象形式,注意驼峰属性写法
// 类似 {'font-size': '24rpx'} 和 {'fontSize': '24rpx'}
titleStyle: {
type: Object,
default: function _default() {
return {};
} } },
data: function data() {
return {
index: 0 };
} };exports.default = _default2;
/***/ }),
/***/ 273:
/*!**********************************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true& ***!
\**********************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true& */ 274);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_group_vue_vue_type_style_index_0_id_5723aa40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 274:
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-group/u-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true& ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-cell-group/u-cell-group.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uview-ui/components/u-cell-group/u-cell-group-create-component',
{
'uview-ui/components/u-cell-group/u-cell-group-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(268))
})
},
[['uview-ui/components/u-cell-group/u-cell-group-create-component']]
]);
<view class="u-cell-box data-v-5723aa40"><block wx:if="{{title}}"><view class="u-cell-title data-v-5723aa40" style="{{$root.s0}}">{{''+title+''}}</view></block><view class="{{['u-cell-item-box data-v-5723aa40',(border)?'u-border-bottom u-border-top':'']}}"><slot></slot></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-cell-box.data-v-5723aa40 {
width: 100%;
}
.u-cell-title.data-v-5723aa40 {
padding: 30rpx 32rpx 10rpx 32rpx;
font-size: 30rpx;
text-align: left;
color: #909399;
}
.u-cell-item-box.data-v-5723aa40 {
background-color: #FFFFFF;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
}
{
"usingComponents": {
"u-icon": "/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uview-ui/components/u-cell-item/u-cell-item"],{
/***/ 275:
/*!**********************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue ***!
\**********************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-cell-item.vue?vue&type=template&id=65423b64&scoped=true& */ 276);
/* harmony import */ var _u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-cell-item.vue?vue&type=script&lang=js& */ 278);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true& */ 280);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
var renderjs
/* normalize component */
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"65423b64",
null,
false,
_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "uview-ui/components/u-cell-item/u-cell-item.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 276:
/*!*****************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?vue&type=template&id=65423b64&scoped=true& ***!
\*****************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=template&id=65423b64&scoped=true& */ 277);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_template_id_65423b64_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 277:
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?vue&type=template&id=65423b64&scoped=true& ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uIcon: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 200))
}
}
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var s0 = _vm.__get_style([
{
width: _vm.titleWidth ? _vm.titleWidth + "rpx" : "auto"
},
_vm.titleStyle
])
var s1 = _vm.__get_style([_vm.labelStyle])
var s2 = _vm.__get_style([_vm.valueStyle])
var s3 = _vm.__get_style([_vm.arrowStyle])
_vm.$mp.data = Object.assign(
{},
{
$root: {
s0: s0,
s1: s1,
s2: s2,
s3: s3
}
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 278:
/*!***********************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?vue&type=script&lang=js& ***!
\***********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=script&lang=js& */ 279);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 279:
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?vue&type=script&lang=js& ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/**
* cellItem 单元格Item
* @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。搭配u-cell-group使用
* @tutorial https://www.uviewui.com/components/cell.html
* @property {String} title 左侧标题
* @property {String} icon 左侧图标名,只支持uView内置图标,见Icon 图标
* @property {Object} icon-style 左边图标的样式,对象形式
* @property {String} value 右侧内容
* @property {String} label 标题下方的描述信息
* @property {Boolean} border-bottom 是否显示cell的下边框(默认true)
* @property {Boolean} border-top 是否显示cell的上边框(默认false)
* @property {Boolean} center 是否使内容垂直居中(默认false)
* @property {String} hover-class 是否开启点击反馈,none为无效果(默认true)
* // @property {Boolean} border-gap border-bottom为true时,Cell列表中间的条目的下边框是否与左边有一个间隔(默认true)
* @property {Boolean} arrow 是否显示右侧箭头(默认true)
* @property {Boolean} required 箭头方向,可选值(默认right)
* @property {Boolean} arrow-direction 是否显示左边表示必填的星号(默认false)
* @property {Object} title-style 标题样式,对象形式
* @property {Object} value-style 右侧内容样式,对象形式
* @property {Object} label-style 标题下方描述信息的样式,对象形式
* @property {String} bg-color 背景颜色(默认transparent)
* @property {String Number} index 用于在click事件回调中返回,标识当前是第几个Item
* @property {String Number} title-width 标题的宽度,单位rpx
* @example <u-cell-item icon="integral-fill" title="会员等级" value="新版本"></u-cell-item>
*/var _default2 =
{
name: 'u-cell-item',
props: {
// 左侧图标名称(只能uView内置图标),或者图标src
icon: {
type: String,
default: '' },
// 左侧标题
title: {
type: [String, Number],
default: '' },
// 右侧内容
value: {
type: [String, Number],
default: '' },
// 标题下方的描述信息
label: {
type: [String, Number],
default: '' },
// 是否显示下边框
borderBottom: {
type: Boolean,
default: true },
// 是否显示上边框
borderTop: {
type: Boolean,
default: false },
// 多个cell中,中间的cell显示下划线时,下划线是否给一个到左边的距离
// 1.4.0版本废除此参数,默认边框由border-top和border-bottom提供,此参数会造成干扰
// borderGap: {
// type: Boolean,
// default: true
// },
// 是否开启点击反馈,即点击时cell背景为灰色,none为无效果
hoverClass: {
type: String,
default: 'u-cell-hover' },
// 是否显示右侧箭头
arrow: {
type: Boolean,
default: true },
// 内容是否垂直居中
center: {
type: Boolean,
default: false },
// 是否显示左边表示必填的星号
required: {
type: Boolean,
default: false },
// 标题的宽度,单位rpx
titleWidth: {
type: [Number, String],
default: '' },
// 右侧箭头方向,可选值:right|up|down,默认为right
arrowDirection: {
type: String,
default: 'right' },
// 控制标题的样式
titleStyle: {
type: Object,
default: function _default() {
return {};
} },
// 右侧显示内容的样式
valueStyle: {
type: Object,
default: function _default() {
return {};
} },
// 描述信息的样式
labelStyle: {
type: Object,
default: function _default() {
return {};
} },
// 背景颜色
bgColor: {
type: String,
default: 'transparent' },
// 用于识别被点击的是第几个cell
index: {
type: [String, Number],
default: '' },
// 是否使用lable插槽
useLabelSlot: {
type: Boolean,
default: false },
// 左边图标的大小,单位rpx,只对传入icon字段时有效
iconSize: {
type: [Number, String],
default: 34 },
// 左边图标的样式,对象形式
iconStyle: {
type: Object,
default: function _default() {
return {};
} } },
data: function data() {
return {};
},
computed: {
arrowStyle: function arrowStyle() {
var style = {};
if (this.arrowDirection == 'up') style.transform = 'rotate(-90deg)';else
if (this.arrowDirection == 'down') style.transform = 'rotate(90deg)';else
style.transform = 'rotate(0deg)';
return style;
} },
methods: {
click: function click() {
this.$emit('click', this.index);
} } };exports.default = _default2;
/***/ }),
/***/ 280:
/*!********************************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true& ***!
\********************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true& */ 281);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_cell_item_vue_vue_type_style_index_0_id_65423b64_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 281:
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-cell-item/u-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true& ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-cell-item/u-cell-item.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uview-ui/components/u-cell-item/u-cell-item-create-component',
{
'uview-ui/components/u-cell-item/u-cell-item-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(275))
})
},
[['uview-ui/components/u-cell-item/u-cell-item-create-component']]
]);
<view class="{{['u-cell data-v-65423b64',(borderBottom)?'u-border-bottom':'',(borderTop)?'u-border-top':'',(center)?'u-col-center':'',(required)?'u-cell--required':'']}}" style="{{'background-color:'+(bgColor)+';'}}" hover-stay-time="150" hover-class="{{hoverClass}}" data-event-opts="{{[['tap',[['click',['$event']]]]]}}" bindtap="__e"><block wx:if="{{icon}}"><u-icon class="u-cell__left-icon-wrap data-v-65423b64" vue-id="43042f10-1" size="{{iconSize}}" name="{{icon}}" custom-style="{{iconStyle}}" bind:__l="__l"></u-icon></block><block wx:else><view class="u-flex data-v-65423b64"><slot name="icon"></slot></view></block><view class="u-cell_title data-v-65423b64" style="{{$root.s0}}"><block wx:if="{{title!==''}}"><block class="data-v-65423b64">{{title}}</block></block><block wx:else><slot name="title"></slot></block><block wx:if="{{label||$slots.label}}"><view class="u-cell__label data-v-65423b64" style="{{$root.s1}}"><block wx:if="{{label!==''}}"><block class="data-v-65423b64">{{label}}</block></block><block wx:else><slot name="label"></slot></block></view></block></view><view class="u-cell__value data-v-65423b64" style="{{$root.s2}}"><block wx:if="{{value!==''}}"><block class="u-cell__value data-v-65423b64">{{value}}</block></block><block wx:else><slot></slot></block></view><block wx:if="{{$slots['right-icon']}}"><view class="u-flex u-cell_right data-v-65423b64"><slot name="right-icon"></slot></view></block><block wx:if="{{arrow}}"><u-icon class="u-icon-wrap u-cell__right-icon-wrap data-v-65423b64" style="{{$root.s3}}" vue-id="43042f10-2" name="arrow-right" bind:__l="__l"></u-icon></block></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-cell.data-v-65423b64 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
position: relative;
box-sizing: border-box;
width: 100%;
padding: 26rpx 32rpx;
font-size: 28rpx;
line-height: 54rpx;
color: #606266;
background-color: #fff;
text-align: left;
}
.u-cell_title.data-v-65423b64 {
font-size: 28rpx;
}
.u-cell__left-icon-wrap.data-v-65423b64 {
margin-right: 10rpx;
font-size: 32rpx;
}
.u-cell__right-icon-wrap.data-v-65423b64 {
margin-left: 10rpx;
color: #969799;
font-size: 28rpx;
}
.u-cell__left-icon-wrap.data-v-65423b64,
.u-cell__right-icon-wrap.data-v-65423b64 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
height: 48rpx;
}
.u-cell-border.data-v-65423b64:after {
position: absolute;
box-sizing: border-box;
content: ' ';
pointer-events: none;
border-bottom: 1px solid #e4e7ed;
right: 0;
left: 0;
top: 0;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
}
.u-cell-border.data-v-65423b64 {
position: relative;
}
.u-cell__label.data-v-65423b64 {
margin-top: 6rpx;
font-size: 26rpx;
line-height: 36rpx;
color: #909399;
word-wrap: break-word;
}
.u-cell__value.data-v-65423b64 {
overflow: hidden;
text-align: right;
vertical-align: middle;
color: #909399;
font-size: 26rpx;
}
.u-cell__title.data-v-65423b64,
.u-cell__value.data-v-65423b64 {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
}
.u-cell--required.data-v-65423b64 {
overflow: visible;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.u-cell--required.data-v-65423b64:before {
position: absolute;
content: '*';
left: 8px;
margin-top: 4rpx;
font-size: 14px;
color: #fa3534;
}
.u-cell_right.data-v-65423b64 {
line-height: 1;
}
{
"usingComponents": {
"u-cell-group": "/uview-ui/components/u-cell-group/u-cell-group",
"u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item",
"u-icon": "/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uview-ui/components/u-dropdown-item/u-dropdown-item"],{
/***/ 261:
/*!******************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue ***!
\******************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-dropdown-item.vue?vue&type=template&id=43403030&scoped=true& */ 262);
/* harmony import */ var _u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-dropdown-item.vue?vue&type=script&lang=js& */ 264);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss& */ 266);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
var renderjs
/* normalize component */
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"43403030",
null,
false,
_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "uview-ui/components/u-dropdown-item/u-dropdown-item.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 262:
/*!*************************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?vue&type=template&id=43403030&scoped=true& ***!
\*************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=template&id=43403030&scoped=true& */ 263);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_template_id_43403030_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 263:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?vue&type=template&id=43403030&scoped=true& ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uCellGroup: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-cell-group/u-cell-group */ "uview-ui/components/u-cell-group/u-cell-group").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-cell-group/u-cell-group.vue */ 268))
},
uCellItem: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-cell-item/u-cell-item */ "uview-ui/components/u-cell-item/u-cell-item").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-cell-item/u-cell-item.vue */ 275))
},
uIcon: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 200))
}
}
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var g0 = _vm.$u.addUnit(_vm.height)
var a0 = {
color: _vm.value == _vm.item.value ? _vm.activeColor : _vm.inactiveColor
}
if (!_vm._isMounted) {
_vm.e0 = function($event) {
$event.stopPropagation()
$event.preventDefault()
return (function() {})($event)
}
_vm.e1 = function($event) {
$event.stopPropagation()
$event.preventDefault()
return (function() {})($event)
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
a0: a0
}
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 264:
/*!*******************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?vue&type=script&lang=js& ***!
\*******************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=script&lang=js& */ 265);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 265:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?vue&type=script&lang=js& ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/**
* dropdown-item 下拉菜单
* @description 该组件一般用于向下展开菜单,同时可切换多个选项卡的场景
* @tutorial http://uviewui.com/components/dropdown.html
* @property {String | Number} v-model 双向绑定选项卡选择值
* @property {String} title 菜单项标题
* @property {Array[Object]} options 选项数据,如果传入了默认slot,此参数无效
* @property {Boolean} disabled 是否禁用此选项卡(默认false)
* @property {String | Number} duration 选项卡展开和收起的过渡时间,单位ms(默认300)
* @property {String | Number} height 弹窗下拉内容的高度(内容超出将会滚动)(默认auto)
* @example <u-dropdown-item title="标题"></u-dropdown-item>
*/var _default2 =
{
name: 'u-dropdown-item',
props: {
// 当前选中项的value值
value: {
type: [Number, String, Array],
default: '' },
// 菜单项标题
title: {
type: [String, Number],
default: '' },
// 选项数据,如果传入了默认slot,此参数无效
options: {
type: Array,
default: function _default() {
return [];
} },
// 是否禁用此菜单项
disabled: {
type: Boolean,
default: false },
// 下拉弹窗的高度
height: {
type: [Number, String],
default: 'auto' } },
data: function data() {
return {
active: false, // 当前项是否处于展开状态
activeColor: '#2979ff', // 激活时左边文字和右边对勾图标的颜色
inactiveColor: '#606266' // 未激活时左边文字和右边对勾图标的颜色
};
},
computed: {
// 监听props是否发生了变化,有些值需要传递给父组件u-dropdown,无法双向绑定
propsChange: function propsChange() {
return "".concat(this.title, "-").concat(this.disabled);
} },
watch: {
propsChange: function propsChange(n) {
// 当值变化时,通知父组件重新初始化,让父组件执行每个子组件的init()方法
// 将所有子组件数据重新整理一遍
if (this.parent) this.parent.init();
} },
created: function created() {
// 父组件的实例
this.parent = false;
},
methods: {
init: function init() {var _this = this;
// 获取父组件u-dropdown
var parent = this.$u.$parent.call(this, 'u-dropdown');
if (parent) {
this.parent = parent;
// 将子组件的激活颜色配置为父组件设置的激活和未激活时的颜色
this.activeColor = parent.activeColor;
this.inactiveColor = parent.inactiveColor;
// 将本组件的this,放入到父组件的children数组中,让父组件可以操作本(子)组件的方法和属性
// push进去前,显判断是否已经存在了本实例,因为在子组件内部数据变化时,会通过父组件重新初始化子组件
var exist = parent.children.find(function (val) {
return _this === val;
});
if (!exist) parent.children.push(this);
if (parent.children.length == 1) this.active = true;
// 父组件无法监听children的变化,故将子组件的title,传入父组件的menuList数组中
parent.menuList.push({
title: this.title,
disabled: this.disabled });
}
},
// cell被点击
cellClick: function cellClick(value) {
// 修改通过v-model绑定的值
this.$emit('input', value);
// 通知父组件(u-dropdown)收起菜单
this.parent.close();
// 发出事件,抛出当前勾选项的value
this.$emit('change', value);
} },
mounted: function mounted() {
this.init();
} };exports.default = _default2;
/***/ }),
/***/ 266:
/*!****************************************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss& ***!
\****************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss& */ 267);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_item_vue_vue_type_style_index_0_id_43403030_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 267:
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown-item/u-dropdown-item.vue?vue&type=style&index=0&id=43403030&scoped=true&lang=scss& ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-dropdown-item/u-dropdown-item.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uview-ui/components/u-dropdown-item/u-dropdown-item-create-component',
{
'uview-ui/components/u-dropdown-item/u-dropdown-item-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(261))
})
},
[['uview-ui/components/u-dropdown-item/u-dropdown-item-create-component']]
]);
<block wx:if="{{active}}"><view data-event-opts="{{[['touchmove',[['e0',['$event']]]],['tap',[['e1',['$event']]]]]}}" class="u-dropdown-item data-v-43403030" catchtouchmove="__e" catchtap="__e"><block wx:if="{{!$slots.default&&!$slots.$default}}"><block class="data-v-43403030"><scroll-view style="{{'height:'+($root.g0)+';'}}" scroll-y="true" class="data-v-43403030"><view class="u-dropdown-item__options data-v-43403030"><u-cell-group vue-id="24c656d6-1" class="data-v-43403030" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-cell-item vue-id="{{('24c656d6-2-'+index)+','+('24c656d6-1')}}" arrow="{{false}}" title="{{item.label}}" title-style="{{$root.a0}}" data-event-opts="{{[['^click',[['cellClick',['$0'],[[['options','',index,'value']]]]]]]}}" bind:click="__e" class="data-v-43403030" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{value==item.value}}"><u-icon vue-id="{{('24c656d6-3-'+index)+','+('24c656d6-2-'+index)}}" name="checkbox-mark" color="{{activeColor}}" size="32" class="data-v-43403030" bind:__l="__l"></u-icon></block></u-cell-item></block></u-cell-group></view></scroll-view></block></block><block wx:else><slot></slot></block></view></block>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
{
"usingComponents": {
"u-icon": "/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uview-ui/components/u-dropdown/u-dropdown"],{
/***/ 254:
/*!********************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue ***!
\********************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-dropdown.vue?vue&type=template&id=0340bb60&scoped=true& */ 255);
/* harmony import */ var _u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-dropdown.vue?vue&type=script&lang=js& */ 257);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss& */ 259);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
var renderjs
/* normalize component */
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"0340bb60",
null,
false,
_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "uview-ui/components/u-dropdown/u-dropdown.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 255:
/*!***************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?vue&type=template&id=0340bb60&scoped=true& ***!
\***************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=template&id=0340bb60&scoped=true& */ 256);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_template_id_0340bb60_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 256:
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?vue&type=template&id=0340bb60&scoped=true& ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uIcon: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 200))
}
}
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var g0 = _vm.$u.addUnit(_vm.height)
var g1 = _vm.$u.addUnit(_vm.titleSize)
var a0 = {
display: "flex"
}
var g2 = _vm.$u.addUnit(_vm.menuIconSize)
var s0 = _vm.__get_style([
_vm.contentStyle,
{
transition: "opacity " + _vm.duration / 1000 + "s linear",
top: _vm.$u.addUnit(_vm.height),
height: _vm.contentHeight + "px"
}
])
var s1 = _vm.__get_style([_vm.popupStyle])
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
g1: g1,
a0: a0,
g2: g2,
s0: s0,
s1: s1
}
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 257:
/*!*********************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?vue&type=script&lang=js& ***!
\*********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=script&lang=js& */ 258);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 258:
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?vue&type=script&lang=js& ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/**
* dropdown 下拉菜单
* @description 该组件一般用于向下展开菜单,同时可切换多个选项卡的场景
* @tutorial http://uviewui.com/components/dropdown.html
* @property {String} active-color 标题和选项卡选中的颜色(默认#2979ff)
* @property {String} inactive-color 标题和选项卡未选中的颜色(默认#606266)
* @property {Boolean} close-on-click-mask 点击遮罩是否关闭菜单(默认true)
* @property {Boolean} close-on-click-self 点击当前激活项标题是否关闭菜单(默认true)
* @property {String | Number} duration 选项卡展开和收起的过渡时间,单位ms(默认300)
* @property {String | Number} height 标题菜单的高度,单位任意(默认80)
* @property {String | Number} border-radius 菜单展开内容下方的圆角值,单位任意(默认0)
* @property {Boolean} border-bottom 标题菜单是否显示下边框(默认false)
* @property {String | Number} title-size 标题的字体大小,单位任意,数值默认为rpx单位(默认28)
* @event {Function} open 下拉菜单被打开时触发
* @event {Function} close 下拉菜单被关闭时触发
* @example <u-dropdown></u-dropdown>
*/var _default =
{
name: 'u-dropdown',
props: {
// 菜单标题和选项的激活态颜色
activeColor: {
type: String,
default: '#2979ff' },
// 菜单标题和选项的未激活态颜色
inactiveColor: {
type: String,
default: '#606266' },
// 点击遮罩是否关闭菜单
closeOnClickMask: {
type: Boolean,
default: true },
// 点击当前激活项标题是否关闭菜单
closeOnClickSelf: {
type: Boolean,
default: true },
// 过渡时间
duration: {
type: [Number, String],
default: 300 },
// 标题菜单的高度,单位任意,数值默认为rpx单位
height: {
type: [Number, String],
default: 80 },
// 是否显示下边框
borderBottom: {
type: Boolean,
default: false },
// 标题的字体大小
titleSize: {
type: [Number, String],
default: 28 },
// 下拉出来的内容部分的圆角值
borderRadius: {
type: [Number, String],
default: 0 },
// 菜单右侧的icon图标
menuIcon: {
type: String,
default: 'arrow-down' },
// 菜单右侧图标的大小
menuIconSize: {
type: [Number, String],
default: 26 } },
data: function data() {
return {
showDropdown: true, // 是否打开下来菜单,
menuList: [], // 显示的菜单
active: false, // 下拉菜单的状态
// 当前是第几个菜单处于激活状态,小程序中此处不能写成false或者"",否则后续将current赋值为0,
// 无能的TX没有使用===而是使用==判断,导致程序认为前后二者没有变化,从而不会触发视图更新
current: 99999,
// 外层内容的样式,初始时处于底层,且透明
contentStyle: {
zIndex: -1,
opacity: 0 },
// 让某个菜单保持高亮的状态
highlightIndex: 99999,
contentHeight: 0 };
},
computed: {
// 下拉出来部分的样式
popupStyle: function popupStyle() {
var style = {};
// 进行Y轴位移,展开状态时,恢复原位。收齐状态时,往上位移100%,进行隐藏
style.transform = "translateY(".concat(this.active ? 0 : '-100%', ")");
style['transition-duration'] = this.duration / 1000 + 's';
style.borderRadius = "0 0 ".concat(this.$u.addUnit(this.borderRadius), " ").concat(this.$u.addUnit(this.borderRadius));
return style;
} },
created: function created() {
// 引用所有子组件(u-dropdown-item)的this,不能在data中声明变量,否则在微信小程序会造成循环引用而报错
this.children = [];
},
mounted: function mounted() {
this.getContentHeight();
},
methods: {
init: function init() {
// 当某个子组件内容变化时,触发父组件的init,父组件再让每一个子组件重新初始化一遍
// 以保证数据的正确性
this.menuList = [];
this.children.map(function (child) {
child.init();
});
},
// 点击菜单
menuClick: function menuClick(index) {var _this = this;
// 判断是否被禁用
if (this.menuList[index].disabled) return;
// 如果点击时的索引和当前激活项索引相同,意味着点击了激活项,需要收起下拉菜单
if (index === this.current && this.closeOnClickSelf) {
this.close();
// 等动画结束后,再移除下拉菜单中的内容,否则直接移除,也就没有下拉菜单收起的效果了
setTimeout(function () {
_this.children[index].active = false;
}, this.duration);
return;
}
this.open(index);
},
// 打开下拉菜单
open: function open(index) {
// 重置高亮索引,否则会造成多个菜单同时高亮
// this.highlightIndex = 9999;
// 展开时,设置下拉内容的样式
this.contentStyle = {
zIndex: 11 };
// 标记展开状态以及当前展开项的索引
this.active = true;
this.current = index;
// 历遍所有的子元素,将索引匹配的项标记为激活状态,因为子元素是通过v-if控制切换的
// 之所以不是因display: none,是因为nvue没有display这个属性
this.children.map(function (val, idx) {
val.active = index == idx ? true : false;
});
this.$emit('open', this.current);
},
// 设置下拉菜单处于收起状态
close: function close() {
this.$emit('close', this.current);
// 设置为收起状态,同时current归位,设置为空字符串
this.active = false;
this.current = 99999;
// 下拉内容的样式进行调整,不透明度设置为0
this.contentStyle = {
zIndex: -1,
opacity: 0 };
},
// 点击遮罩
maskClick: function maskClick() {
// 如果不允许点击遮罩,直接返回
if (!this.closeOnClickMask) return;
this.close();
},
// 外部手动设置某个菜单高亮
highlight: function highlight() {var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
this.highlightIndex = index !== undefined ? index : 99999;
},
// 获取下拉菜单内容的高度
getContentHeight: function getContentHeight() {var _this2 = this;
// 这里的原理为,因为dropdown组件是相对定位的,它的下拉出来的内容,必须给定一个高度
// 才能让遮罩占满菜单一下,直到屏幕底部的高度
// this.$u.sys()为uView封装的获取设备信息的方法
var windowHeight = this.$u.sys().windowHeight;
this.$uGetRect('.u-dropdown__menu').then(function (res) {
// 这里获取的是dropdown的尺寸,在H5上,uniapp获取尺寸是有bug的(以前提出修复过,后来又出现了此bug,目前hx2.8.11版本)
// H5端bug表现为元素尺寸的top值为导航栏底部到到元素的上边沿的距离,但是元素的bottom值确是导航栏顶部到元素底部的距离
// 二者是互相矛盾的,本质原因是H5端导航栏非原生,uni的开发者大意造成
// 这里取菜单栏的botton值合理的,不能用res.top,否则页面会造成滚动
_this2.contentHeight = windowHeight - res.bottom;
});
} } };exports.default = _default;
/***/ }),
/***/ 259:
/*!******************************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss& ***!
\******************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss& */ 260);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_dropdown_vue_vue_type_style_index_0_id_0340bb60_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 260:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-dropdown/u-dropdown.vue?vue&type=style&index=0&id=0340bb60&scoped=true&lang=scss& ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-dropdown/u-dropdown.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uview-ui/components/u-dropdown/u-dropdown-create-component',
{
'uview-ui/components/u-dropdown/u-dropdown-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(254))
})
},
[['uview-ui/components/u-dropdown/u-dropdown-create-component']]
]);
<view class="u-dropdown data-v-0340bb60"><view class="{{['u-dropdown__menu data-v-0340bb60',(borderBottom)?'u-border-bottom':'']}}" style="{{'height:'+($root.g0)+';'}}"><block wx:for="{{menuList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['menuClick',[index]]]]]}}" class="u-dropdown__menu__item data-v-0340bb60" catchtap="__e"><view class="u-flex data-v-0340bb60"><text class="u-dropdown__menu__item__text data-v-0340bb60" style="{{'color:'+(item.disabled?'#c0c4cc':index===current||highlightIndex==index?activeColor:inactiveColor)+';'+('font-size:'+($root.g1)+';')}}">{{item.title}}</text><view class="{{['u-dropdown__menu__item__arrow data-v-0340bb60',(index===current)?'u-dropdown__menu__item__arrow--rotate':'']}}"><u-icon vue-id="{{'64d731a6-1-'+index}}" custom-style="{{$root.a0}}" name="{{menuIcon}}" size="{{$root.g2}}" color="{{index===current||highlightIndex==index?activeColor:'#c0c4cc'}}" class="data-v-0340bb60" bind:__l="__l"></u-icon></view></view></view></block></view><view data-event-opts="{{[['tap',[['maskClick',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="u-dropdown__content data-v-0340bb60" style="{{$root.s0}}" bindtap="__e" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="u-dropdown__content__popup data-v-0340bb60" style="{{$root.s1}}" catchtap="__e"><slot></slot></view><view class="u-dropdown__content__mask data-v-0340bb60"></view></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-dropdown.data-v-0340bb60 {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
width: 100%;
position: relative;
}
.u-dropdown__menu.data-v-0340bb60 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
position: relative;
z-index: 11;
height: 80rpx;
}
.u-dropdown__menu__item.data-v-0340bb60 {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.u-dropdown__menu__item__text.data-v-0340bb60 {
font-size: 28rpx;
color: #606266;
}
.u-dropdown__menu__item__arrow.data-v-0340bb60 {
margin-left: 6rpx;
-webkit-transition: -webkit-transform .3s;
transition: -webkit-transform .3s;
transition: transform .3s;
transition: transform .3s, -webkit-transform .3s;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
}
.u-dropdown__menu__item__arrow--rotate.data-v-0340bb60 {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.u-dropdown__content.data-v-0340bb60 {
position: absolute;
z-index: 8;
width: 100%;
left: 0px;
bottom: 0;
overflow: hidden;
}
.u-dropdown__content__mask.data-v-0340bb60 {
position: absolute;
z-index: 9;
background: rgba(0, 0, 0, 0.3);
width: 100%;
left: 0;
top: 0;
bottom: 0;
}
.u-dropdown__content__popup.data-v-0340bb60 {
position: relative;
z-index: 10;
-webkit-transition: all 0.3s;
transition: all 0.3s;
-webkit-transform: translate3D(0, -100%, 0);
transform: translate3D(0, -100%, 0);
overflow: hidden;
}
{
"usingComponents": {
"u-popup": "/uview-ui/components/u-popup/u-popup"
},
"component": true
}
\ No newline at end of file
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uview-ui/components/u-select/u-select"],{
/***/ 254:
/*!****************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue ***!
\****************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-select.vue?vue&type=template&id=a577ac80&scoped=true& */ 255);
/* harmony import */ var _u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-select.vue?vue&type=script&lang=js& */ 257);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss& */ 259);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
var renderjs
/* normalize component */
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"a577ac80",
null,
false,
_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "uview-ui/components/u-select/u-select.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 255:
/*!***********************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?vue&type=template&id=a577ac80&scoped=true& ***!
\***********************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=template&id=a577ac80&scoped=true& */ 256);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_template_id_a577ac80_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 256:
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?vue&type=template&id=a577ac80&scoped=true& ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uPopup: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-popup/u-popup */ "uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-popup/u-popup.vue */ 214))
}
}
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 257:
/*!*****************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?vue&type=script&lang=js& ***!
\*****************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=script&lang=js& */ 258);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 258:
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?vue&type=script&lang=js& ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/**
* select 列选择器
* @description 此选择器用于单列,多列,多列联动的选择场景。(从1.3.0版本起,不建议使用Picker组件的单列和多列模式,Select组件是专门为列选择而构造的组件,更简单易用。)
* @tutorial http://uviewui.com/components/select.html
* @property {String} mode 模式选择,"single-column"-单列模式,"mutil-column"-多列模式,"mutil-column-auto"-多列联动模式
* @property {Array} list 列数据,数组形式,见官网说明
* @property {Boolean} v-model 布尔值变量,用于控制选择器的弹出与收起
* @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)
* @property {String} cancel-color 取消按钮的颜色(默认#606266)
* @property {String} confirm-color 确认按钮的颜色(默认#2979ff)
* @property {String} confirm-text 确认按钮的文字
* @property {String} cancel-text 取消按钮的文字
* @property {String} default-value 提供的默认选中的下标,见官网说明
* @property {Boolean} mask-close-able 是否允许通过点击遮罩关闭Picker(默认true)
* @property {String Number} z-index 弹出时的z-index值(默认10075)
* @property {String} value-name 自定义list数据的value属性名 1.3.6
* @property {String} label-name 自定义list数据的label属性名 1.3.6
* @property {String} child-name 自定义list数据的children属性名,只对多列联动模式有效 1.3.7
* @event {Function} confirm 点击确定按钮,返回当前选择的值
* @example <u-select v-model="show" :list="list"></u-select>
*/var _default2 =
{
props: {
// 列数据
list: {
type: Array,
default: function _default() {
return [];
} },
// 是否显示边框
border: {
type: Boolean,
default: true },
// 通过双向绑定控制组件的弹出与收起
value: {
type: Boolean,
default: false },
// "取消"按钮的颜色
cancelColor: {
type: String,
default: '#606266' },
// "确定"按钮的颜色
confirmColor: {
type: String,
default: '#2979ff' },
// 弹出的z-index值
zIndex: {
type: [String, Number],
default: 0 },
safeAreaInsetBottom: {
type: Boolean,
default: false },
// 是否允许通过点击遮罩关闭Picker
maskCloseAble: {
type: Boolean,
default: true },
// 提供的默认选中的下标
defaultValue: {
type: Array,
default: function _default() {
return [0];
} },
// 模式选择,single-column-单列,mutil-column-多列,mutil-column-auto-多列联动
mode: {
type: String,
default: 'single-column' },
// 自定义value属性名
valueName: {
type: String,
default: 'value' },
// 自定义label属性名
labelName: {
type: String,
default: 'label' },
// 自定义多列联动模式的children属性名
childName: {
type: String,
default: 'children' },
// 顶部标题
title: {
type: String,
default: '' },
// 取消按钮的文字
cancelText: {
type: String,
default: '取消' },
// 确认按钮的文字
confirmText: {
type: String,
default: '确认' } },
data: function data() {
return {
// 用于列改变时,保存当前的索引,下一次变化时比较得出是哪一列发生了变化
defaultSelector: [0],
// picker-view的数据
columnData: [],
// 每次队列发生变化时,保存选择的结果
selectValue: [],
// 上一次列变化时的index
lastSelectIndex: [],
// 列数
columnNum: 0,
// 列是否还在滑动中,微信小程序如果在滑动中就点确定,结果可能不准确
moving: false };
},
watch: {
// 在select弹起的时候,重新初始化所有数据
value: {
immediate: true,
handler: function handler(val) {var _this = this;
if (val) setTimeout(function () {return _this.init();}, 10);
} } },
computed: {
uZIndex: function uZIndex() {
// 如果用户有传递z-index值,优先使用
return this.zIndex ? this.zIndex : this.$u.zIndex.popup;
} },
methods: {
// 标识滑动开始,只有微信小程序才有这样的事件
pickstart: function pickstart() {
this.moving = true;
},
// 标识滑动结束
pickend: function pickend() {
this.moving = false;
},
init: function init() {
this.setColumnNum();
this.setDefaultSelector();
this.setColumnData();
this.setSelectValue();
},
// 获取默认选中列下标
setDefaultSelector: function setDefaultSelector() {
// 如果没有传入默认选中的值,生成长度为columnNum,用0填充的数组
this.defaultSelector = this.defaultValue.length == this.columnNum ? this.defaultValue : Array(this.columnNum).fill(0);
this.lastSelectIndex = this.$u.deepClone(this.defaultSelector);
},
// 计算列数
setColumnNum: function setColumnNum() {
// 单列的列数为1
if (this.mode == 'single-column') this.columnNum = 1;
// 多列时,this.list数组长度就是列数
else if (this.mode == 'mutil-column') this.columnNum = this.list.length;
// 多列联动时,通过历遍this.list的第一个元素,得出有多少列
else if (this.mode == 'mutil-column-auto') {
var num = 1;
var column = this.list;
// 只要有元素并且第一个元素有children属性,继续历遍
while (column[0][this.childName]) {
column = column[0] ? column[0][this.childName] : {};
num++;
}
this.columnNum = num;
}
},
// 获取需要展示在picker中的列数据
setColumnData: function setColumnData() {
var data = [];
this.selectValue = [];
if (this.mode == 'mutil-column-auto') {
// 获得所有数据中的第一个元素
var column = this.list[this.defaultSelector.length ? this.defaultSelector[0] : 0];
// 通过循环所有的列数,再根据设定列的数组,得出当前需要渲染的整个列数组
for (var i = 0; i < this.columnNum; i++) {
// 第一列默认为整个list数组
if (i == 0) {
data[i] = this.list;
column = column[this.childName];
} else {
// 大于第一列时,判断是否有默认选中的,如果没有就用该列的第一项
data[i] = column;
column = column[this.defaultSelector[i]][this.childName];
}
}
} else if (this.mode == 'single-column') {
data[0] = this.list;
} else {
data = this.list;
}
this.columnData = data;
},
// 获取默认选中的值,如果没有设置defaultValue,就默认选中每列的第一个
setSelectValue: function setSelectValue() {
var tmp = null;
for (var i = 0; i < this.columnNum; i++) {
tmp = this.columnData[i][this.defaultSelector[i]];
var data = {
value: tmp ? tmp[this.valueName] : null,
label: tmp ? tmp[this.labelName] : null };
// 判断是否存在额外的参数,如果存在,就返回
if (tmp && tmp.extra) data.extra = tmp.extra;
this.selectValue.push(data);
}
},
// 列选项
columnChange: function columnChange(e) {var _this2 = this;
var index = null;
var columnIndex = e.detail.value;
// 由于后面是需要push进数组的,所以需要先清空数组
this.selectValue = [];
if (this.mode == 'mutil-column-auto') {
// 对比前后两个数组,寻找变更的是哪一列,如果某一个元素不同,即可判定该列发生了变化
this.lastSelectIndex.map(function (val, idx) {
if (val != columnIndex[idx]) index = idx;
});
this.defaultSelector = columnIndex;
for (var i = index + 1; i < this.columnNum; i++) {
// 当前变化列的下一列的数据,需要获取上一列的数据,同时需要指定是上一列的第几个的children,再往后的
// 默认是队列的第一个为默认选项
this.columnData[i] = this.columnData[i - 1][i - 1 == index ? columnIndex[index] : 0][this.childName];
// 改变的列之后的所有列,默认选中第一个
this.defaultSelector[i] = 0;
}
// 在历遍的过程中,可能由于上一步修改this.columnData,导致产生连锁反应,程序触发columnChange,会有多次调用
// 只有在最后一次数据稳定后的结果是正确的,此前的历遍中,可能会产生undefined,故需要判断
columnIndex.map(function (item, index) {
var data = _this2.columnData[index][columnIndex[index]];
var tmp = {
value: data ? data[_this2.valueName] : null,
label: data ? data[_this2.labelName] : null };
// 判断是否有需要额外携带的参数
if (data && data.extra !== undefined) tmp.extra = data.extra;
_this2.selectValue.push(tmp);
});
// 保存这一次的结果,用于下次列发生变化时作比较
this.lastSelectIndex = columnIndex;
} else if (this.mode == 'single-column') {
var data = this.columnData[0][columnIndex[0]];
// 初始默认选中值
var tmp = {
value: data ? data[this.valueName] : null,
label: data ? data[this.labelName] : null };
// 判断是否有需要额外携带的参数
if (data && data.extra !== undefined) tmp.extra = data.extra;
this.selectValue.push(tmp);
} else if (this.mode == 'mutil-column') {
// 初始默认选中值
columnIndex.map(function (item, index) {
var data = _this2.columnData[index][columnIndex[index]];
// 初始默认选中值
var tmp = {
value: data ? data[_this2.valueName] : null,
label: data ? data[_this2.labelName] : null };
// 判断是否有需要额外携带的参数
if (data && data.extra !== undefined) tmp.extra = data.extra;
_this2.selectValue.push(tmp);
});
}
},
close: function close() {
this.$emit('input', false);
},
// 点击确定或者取消
getResult: function getResult() {var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
if (this.moving) return;
if (event) this.$emit(event, this.selectValue);
this.close();
},
selectHandler: function selectHandler() {
this.$emit('click');
} } };exports.default = _default2;
/***/ }),
/***/ 259:
/*!**************************************************************************************************************************************************!*\
!*** C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss& ***!
\**************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss& */ 260);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_select_vue_vue_type_style_index_0_id_a577ac80_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 260:
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/admin/Desktop/zc/uni-pdtravel/uview-ui/components/u-select/u-select.vue?vue&type=style&index=0&id=a577ac80&scoped=true&lang=scss& ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-select/u-select.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uview-ui/components/u-select/u-select-create-component',
{
'uview-ui/components/u-select/u-select-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(254))
})
},
[['uview-ui/components/u-select/u-select-create-component']]
]);
<view class="u-select data-v-a577ac80"><u-popup vue-id="097ce174-1" maskCloseAble="{{maskCloseAble}}" mode="bottom" popup="{{false}}" length="auto" safeAreaInsetBottom="{{safeAreaInsetBottom}}" z-index="{{uZIndex}}" value="{{value}}" data-event-opts="{{[['^close',[['close']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-a577ac80" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-select data-v-a577ac80"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="u-select__header data-v-a577ac80" catchtouchmove="__e"><view class="u-select__header__cancel u-select__header__btn data-v-a577ac80" style="{{'color:'+(cancelColor)+';'}}" hover-class="u-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['tap',[['getResult',['cancel']]]]]}}" bindtap="__e">{{''+cancelText+''}}</view><view class="u-select__header__title data-v-a577ac80">{{''+title+''}}</view><view class="u-select__header__confirm u-select__header__btn data-v-a577ac80" style="{{'color:'+(moving?cancelColor:confirmColor)+';'}}" hover-class="u-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['getResult',['confirm']]]]]}}" catchtouchmove="__e" catchtap="__e">{{''+confirmText+''}}</view></view><view class="u-select__body data-v-a577ac80"><picker-view class="u-select__body__picker-view data-v-a577ac80" value="{{defaultSelector}}" data-event-opts="{{[['change',[['columnChange',['$event']]]],['pickstart',[['pickstart',['$event']]]],['pickend',[['pickend',['$event']]]]]}}" bindchange="__e" bindpickstart="__e" bindpickend="__e"><block wx:for="{{columnData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><picker-view-column class="data-v-a577ac80"><block wx:for="{{item}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view class="u-select__body__picker-view__item data-v-a577ac80"><view class="u-line-1 data-v-a577ac80">{{item1[labelName]}}</view></view></block></picker-view-column></block></picker-view></view></view></u-popup></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-select__action.data-v-a577ac80 {
position: relative;
line-height: 70rpx;
height: 70rpx;
}
.u-select__action__icon.data-v-a577ac80 {
position: absolute;
right: 20rpx;
top: 50%;
-webkit-transition: -webkit-transform .4s;
transition: -webkit-transform .4s;
transition: transform .4s;
transition: transform .4s, -webkit-transform .4s;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
z-index: 1;
}
.u-select__action__icon--reverse.data-v-a577ac80 {
-webkit-transform: rotate(-180deg) translateY(50%);
transform: rotate(-180deg) translateY(50%);
}
.u-select__hader__title.data-v-a577ac80 {
color: #606266;
}
.u-select--border.data-v-a577ac80 {
border-radius: 6rpx;
border-radius: 4px;
border: 1px solid #dcdfe6;
}
.u-select__header.data-v-a577ac80 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
height: 80rpx;
padding: 0 40rpx;
}
.u-select__body.data-v-a577ac80 {
width: 100%;
height: 500rpx;
overflow: hidden;
background-color: #fff;
}
.u-select__body__picker-view.data-v-a577ac80 {
height: 100%;
box-sizing: border-box;
}
.u-select__body__picker-view__item.data-v-a577ac80 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
font-size: 32rpx;
color: #303133;
padding: 0 8rpx;
}
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