Commit e88e8bf3 by Ken Nakahira

提交更新代码

parent 33c3fea5
...@@ -365,12 +365,13 @@ ...@@ -365,12 +365,13 @@
<scroll-view <scroll-view
:scroll-y="true" :scroll-y="true"
:scroll-top="scrollTop_pangbai" :scroll-top="scrollTop_pangbai"
:style="{height: '7.5rem'}" :style="{height: boxHeight + 'rpx'}"
:scroll-into-view="bottomElement_pangbai" :scroll-into-view="bottomElement_pangbai"
class="pangbai_content" class="pangbai_content"
id="pangbaiBox"
> >
<view id="scrollView"> <view id="scrollView">
<view class="npc" id="pangbai">{{yyds_pangbai}}</view> <view class="npc" :style="{fontSize: fontSize + 'rpx'}">{{yyds_pangbai}}</view>
<!-- 最后一个元素,用于滚动定位 --> <!-- 最后一个元素,用于滚动定位 -->
<view id="bottomElement_pangbai"></view> <view id="bottomElement_pangbai"></view>
</view> </view>
...@@ -504,6 +505,8 @@ export default { ...@@ -504,6 +505,8 @@ export default {
'中国大陆少女口音3': 'zh-CN-YunxiaNeural', '中国大陆少女口音3': 'zh-CN-YunxiaNeural',
}, },
Allvoice:[], Allvoice:[],
fontSize:0,
boxHeight:210,
worldParameter:[] worldParameter:[]
} }
}, },
...@@ -567,7 +570,7 @@ export default { ...@@ -567,7 +570,7 @@ export default {
//获取历史聊天记录 根据历史记录处理决定 websocket 的连接 //获取历史聊天记录 根据历史记录处理决定 websocket 的连接
this.getHistory() this.getHistory()
this.calcFontSize(26)
//讲完话以后 向服务器发送数据 //讲完话以后 向服务器发送数据
recorderManager.onStop( res=> { recorderManager.onStop( res=> {
...@@ -739,11 +742,14 @@ export default { ...@@ -739,11 +742,14 @@ export default {
}); });
}, },
calcFontSize() { calcFontSize(size) {
let windowInfo = wx.getWindowInfo(); let windowInfo = wx.getWindowInfo();
let FontSizeRPX = 26 / (430/750); let FontSizeRPX = size * (428/750);
let FontSizePX = FontSizeRPX * (windowInfo.windowWidth/750); let FontSizePX = FontSizeRPX / (windowInfo.windowWidth/750);
document.getElementById('pangbai').style.fontSize = FontSizePX; let pangbaiHeightRPX = 210 * (428/750);
let pangbaiHeightPX = pangbaiHeightRPX / (windowInfo.windowWidth/750);
this.fontSize = FontSizePX;
this.height = 210;
}, },
splitString(str) { splitString(str) {
...@@ -3028,7 +3034,6 @@ export default { ...@@ -3028,7 +3034,6 @@ export default {
position:relative; position:relative;
} }
.pangbai_content{ .pangbai_content{
height: 250rpx;
overflow: scroll; overflow: scroll;
color: #fff; color: #fff;
padding: 12rpx; padding: 12rpx;
...@@ -3202,8 +3207,8 @@ export default { ...@@ -3202,8 +3207,8 @@ export default {
.npc{ .npc{
word-break:break-all; word-break:break-all;
white-space:pre-wrap; white-space:pre-wrap;
font-size: 26rpx;
padding-right: 16rpx; padding-right: 16rpx;
font-size: 86%;
} }
.confirm{ .confirm{
width: 160rpx; width: 160rpx;
......
{"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/kenji/Desktop/Intern/jueqing/App.vue?ab1f","uni-app:///App.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/App.vue?4931","webpack:////Users/kenji/Desktop/Intern/jueqing/App.vue?da82"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","prototype","$globalData","showEnding","EndingContent","base64ImageStr","wxUid","userPhoto","wxCode","monney","Monney","userTool","App","mpType","app","$mount","onLaunch","console","onShow","onHide"],"mappings":";;;;;;;;;;;;;;AAAA;AAIA;AACA;AAAuB;AAAA;AAJvB;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAK1DC,YAAG,CAACC,MAAM,CAACC,aAAa,GAAG,KAAK;AAChCF,YAAG,CAACG,SAAS,CAACC,WAAW,GAAG;EAC1BC,UAAU,EAAE,KAAK;EAAE;EACnBC,aAAa,EAAC,EAAE;EAAE;EAClBC,cAAc,EAAC,EAAE;EAAE;EACnBC,KAAK,EAAC,CAAC;EAAE;EACTC,SAAS,EAAC,EAAE;EACZC,MAAM,EAAC,EAAE;EACTC,MAAM,EAAC,CAAC;EACRC,MAAM,EAAC,CAAC;EACRC,QAAQ,EAAC;AACX,CAAC;AACDC,YAAG,CAACC,MAAM,GAAG,KAAK;AAElB,IAAMC,GAAG,GAAG,IAAIhB,YAAG,mBACZc,YAAG,EACR;AACF,UAAAE,GAAG,EAACC,MAAM,EAAE,C;;;;;;;;;;;;;ACxBZ;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC0M;AAC1M,gBAAgB,iNAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAmyB,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;eCCvzB;EACAC;IACAC;IACAA;EACA;EACAC;IACAD;EACA;EACAE;IACAF;EACA;AACA;AAAA,2B;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAA0+C,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;;ACA9/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\n\nimport Vue from 'vue'\nimport App from './App'\n\nVue.config.productionTip = false\nVue.prototype.$globalData = {\n showEnding: false, //是否显示聊天结局\n EndingContent:[], //保存了聊天结束后的内容\n base64ImageStr:'', //存储的base64图片\n wxUid:0, //登陆成功后的用户id 用于聊天使用\n userPhoto:'',\n wxCode:'',\n monney:0,\n Monney:0,\n userTool:[]\n}\nApp.mpType = 'app'\n\nconst app = new Vue({\n ...App\n})\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 \"!../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\texport default {\n\t\tonLaunch: function() {\n\t\t\tconsole.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')\n\t\t\tconsole.log('App Launch')\n\t\t},\n\t\tonShow: function() {\n\t\t\tconsole.log('App Show')\n\t\t},\n\t\tonHide: function() {\n\t\t\tconsole.log('App Hide')\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t/*每个页面公共css */\n\t@import '@/uni_modules/uni-scss/index.scss';\n\t/* #ifndef APP-NVUE */\n\t@import '@/static/customicons.css';\n\t// 设置整个项目的背景色\n\tpage {\n\t\tbackground-color: #f5f5f5;\n\t}\n\n\t/* #endif */\n\t.example-info {\n\t\tfont-size: 14px;\n\t\tcolor: #333;\n\t\tpadding: 10px;\n\t}\n</style>\n","import mod from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/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 // 1721966435918\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} {"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/kenji/Desktop/Intern/jueqing/App.vue?ab1f","uni-app:///App.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/App.vue?4931","webpack:////Users/kenji/Desktop/Intern/jueqing/App.vue?da82"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","prototype","$globalData","showEnding","EndingContent","base64ImageStr","wxUid","userPhoto","wxCode","monney","Monney","userTool","App","mpType","app","$mount","onLaunch","console","onShow","onHide"],"mappings":";;;;;;;;;;;;;;AAAA;AAIA;AACA;AAAuB;AAAA;AAJvB;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAK1DC,YAAG,CAACC,MAAM,CAACC,aAAa,GAAG,KAAK;AAChCF,YAAG,CAACG,SAAS,CAACC,WAAW,GAAG;EAC1BC,UAAU,EAAE,KAAK;EAAE;EACnBC,aAAa,EAAC,EAAE;EAAE;EAClBC,cAAc,EAAC,EAAE;EAAE;EACnBC,KAAK,EAAC,CAAC;EAAE;EACTC,SAAS,EAAC,EAAE;EACZC,MAAM,EAAC,EAAE;EACTC,MAAM,EAAC,CAAC;EACRC,MAAM,EAAC,CAAC;EACRC,QAAQ,EAAC;AACX,CAAC;AACDC,YAAG,CAACC,MAAM,GAAG,KAAK;AAElB,IAAMC,GAAG,GAAG,IAAIhB,YAAG,mBACZc,YAAG,EACR;AACF,UAAAE,GAAG,EAACC,MAAM,EAAE,C;;;;;;;;;;;;;ACxBZ;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC0M;AAC1M,gBAAgB,iNAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAmyB,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;eCCvzB;EACAC;IACAC;IACAA;EACA;EACAC;IACAD;EACA;EACAE;IACAF;EACA;AACA;AAAA,2B;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAA0+C,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;;ACA9/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\n\nimport Vue from 'vue'\nimport App from './App'\n\nVue.config.productionTip = false\nVue.prototype.$globalData = {\n showEnding: false, //是否显示聊天结局\n EndingContent:[], //保存了聊天结束后的内容\n base64ImageStr:'', //存储的base64图片\n wxUid:0, //登陆成功后的用户id 用于聊天使用\n userPhoto:'',\n wxCode:'',\n monney:0,\n Monney:0,\n userTool:[]\n}\nApp.mpType = 'app'\n\nconst app = new Vue({\n ...App\n})\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 \"!../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\texport default {\n\t\tonLaunch: function() {\n\t\t\tconsole.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')\n\t\t\tconsole.log('App Launch')\n\t\t},\n\t\tonShow: function() {\n\t\t\tconsole.log('App Show')\n\t\t},\n\t\tonHide: function() {\n\t\t\tconsole.log('App Hide')\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t/*每个页面公共css */\n\t@import '@/uni_modules/uni-scss/index.scss';\n\t/* #ifndef APP-NVUE */\n\t@import '@/static/customicons.css';\n\t// 设置整个项目的背景色\n\tpage {\n\t\tbackground-color: #f5f5f5;\n\t}\n\n\t/* #endif */\n\t.example-info {\n\t\tfont-size: 14px;\n\t\tcolor: #333;\n\t\tpadding: 10px;\n\t}\n</style>\n","import mod from \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Applications/HBuilderX.app/Contents/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 // 1722909058015\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?7874","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?6cdd","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?8827","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?e529","uni-app:///pages/currentHome/index.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?c372","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?f42b"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","imgList","methods","swiperChange"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;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;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCkBv1B;EACAC;IACA;MACAC,UACA,sCACA,yCACA;MACA;MAAA;IAEA;EACA;;EACAC;IACAC;MACA;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;ACpCA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/currentHome/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/currentHome/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=6f928552&scoped=true&\"\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&id=6f928552&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"6f928552\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/currentHome/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=6f928552&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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"container\">\n <swiper \n class=\"swiper\" \n indicator-dots=\"false\" \n autoplay=\"true\" \n interval=\"3000\" \n duration=\"1000\" \n circular=\"true\"\n bindchange=\"swiperChange\">\n <swiper-item class=\"swiper-item\" v-for=\"(item, index) in imgList\" :key=\"index\">\n <image :src=\"item\" class=\"slide-image\" />\n </swiper-item>\n </swiper>\n </view>\n </template>\n \n <script>\n export default {\n data() {\n return {\n imgList: [\n '../../../static/photo/makeWord.png',\n '../../../static/photo/fightingAll.png',\n '../../../static/photo/forwardHouse.png' \n // 更多图片路径\n ],\n };\n },\n methods: {\n swiperChange(e) {\n const currentIndex = e.detail.current; // 获取当前swiper的索引\n // 根据currentIndex动态调整当前、前一张、后一张图片的样式以实现3D效果\n // 由于直接操作样式较为复杂,建议根据currentIndex修改数据驱动样式的变化\n }\n }\n };\n </script>\n\n<style scoped>\n.container {\n width: 100%;\n overflow: hidden;\n}\n.swiper {\n height: 200px;\n width: 100%;\n}\n.swiper-item {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n}\n.slide-image {\n width: 80%;\n height: 100%;\n transition: transform 1s;\n transform: scale(0.8); /* 默认状态为稍微缩小,聚焦时放大 */\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966432474\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} {"version":3,"sources":["uni-app:///main.js","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?7874","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?6cdd","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?8827","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?e529","uni-app:///pages/currentHome/index.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?c372","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/currentHome/index.vue?f42b"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","imgList","methods","swiperChange"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;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;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCkBv1B;EACAC;IACA;MACAC,UACA,sCACA,yCACA;MACA;MAAA;IAEA;EACA;;EACAC;IACAC;MACA;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;ACpCA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/currentHome/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/currentHome/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=6f928552&scoped=true&\"\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&id=6f928552&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"6f928552\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/currentHome/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=6f928552&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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"container\">\n <swiper \n class=\"swiper\" \n indicator-dots=\"false\" \n autoplay=\"true\" \n interval=\"3000\" \n duration=\"1000\" \n circular=\"true\"\n bindchange=\"swiperChange\">\n <swiper-item class=\"swiper-item\" v-for=\"(item, index) in imgList\" :key=\"index\">\n <image :src=\"item\" class=\"slide-image\" />\n </swiper-item>\n </swiper>\n </view>\n </template>\n \n <script>\n export default {\n data() {\n return {\n imgList: [\n '../../../static/photo/makeWord.png',\n '../../../static/photo/fightingAll.png',\n '../../../static/photo/forwardHouse.png' \n // 更多图片路径\n ],\n };\n },\n methods: {\n swiperChange(e) {\n const currentIndex = e.detail.current; // 获取当前swiper的索引\n // 根据currentIndex动态调整当前、前一张、后一张图片的样式以实现3D效果\n // 由于直接操作样式较为复杂,建议根据currentIndex修改数据驱动样式的变化\n }\n }\n };\n </script>\n\n<style scoped>\n.container {\n width: 100%;\n overflow: hidden;\n}\n.swiper {\n height: 200px;\n width: 100%;\n}\n.swiper-item {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n}\n.slide-image {\n width: 80%;\n height: 100%;\n transition: transform 1s;\n transform: scale(0.8); /* 默认状态为稍微缩小,聚焦时放大 */\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909053579\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?573e","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?e257","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?6e6b","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?f0a7","uni-app:///pages/homeCards/index.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?70b5","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?76a7"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","err","disabledSubmit","id","showUserInfo","userName","code","clickNoArgee","clickArgee","isBindPhone","needDialog","nickName","avatarUrl","OpenId","i","photo","list","options","effect","loop","slideCustomStyle","display","alignItems","justifyContent","borderRadius","mounted","success","that","console","uni","url","method","header","fail","onload","methods","init","worldName","preImage","nextImage","handleSubmit","title","icon","filePath","name","formData","username","content","showCancel","cancelText","cancelColor","confirmText","confirmColor","onChooseAvatar","NavTo","onSlideChange","getAuth","withCredentials","lang","desc","handleUserDestory"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;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,aAAa,wTAEN;AACP,KAAK;AACL;AACA,aAAa,uVAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCoDv1B;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACA;MACAC;MACAC;MACAC;MACAC,QACA,oDACA,oDACA,mDACA;MACAC;QACA;QACA;QACA;MAAA,CACA;MACAC;QACAC;QACAC;MACA;MACAC;QACAC;QACAC;QACAC;QACAC;MACA;IACA;EACA;EACAC;IACA;IACA;IACA;IACA9B;MACA+B;QACA;UACA;UACAC;UACAC;UACA;UACA;UACA;UACA;UACA;UACAC;YACAC;YACAC;YACAC;cACA;YACA;YACAhC;cAAAM;YAAA;YACAoB;cACAE;cACA;cACA;cACA;cACA;cACAD;cACAA;cAEA;gBACAE;gBACAA;gBACAA;gBACAF;cACA;gBACA;kBACA;kBACAA;gBACA;kBACAA;gBACA;cACA;YACA;YACAM;cACAL;cACA;cACA;cACA;cACA;YACA;UACA;QACA;UACAA;QACA;MACA;IACA;EAEA;EACAM;EACAC;IACAC;MAAA;MACAP;QACAC;QACAE;UACA;UACA;QACA;QACAD;QACA/B;UACAqC;QACA;MACA;QACAT;QACA;QACA;QACA;QACA;QACA;UACA;YACA;YACA;UACA;QACA;MACA;QACAA;QACA;QACA;QACA;QACA;MACA;IACA;IACAU;MACA;MACA;IACA;IACAC;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;QACAX;UACAY;UACAC;QACA;QACA;MACA;MACA;MACA;QACAb;UACAC;UACAJ;YACA;cACA;cACA;cACA/B;gBACA+B;kBACA;oBACA;kBACA;kBACAG;oBACAC;oBACAC;oBACAY;oBACAC;oBACAC;sBACAvC;sBACAwC;oBACA;oBACApB;sBACAE;sBACA;sBACA;sBACA;wBACAC;0BACAY;0BACAC;wBACA;wBACAb;wBACAA;wBACAA;wBACAA;wBACAF;wBACAA;sBACA;wBACA;wBACAE;0BACAY;0BAAA;0BACAM;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACA1B;4BACA;8BACAE;4BACA;8BACAA;4BACA;0BACA;0BACAK;4BACAL;0BACA;wBACA;wBACAD;sBACA;oBACA;oBACAM;sBACAL;sBACAC;wBACAY;wBAAA;wBACAM;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACA1B;0BACA;4BACAE;0BACA;4BACAA;0BACA;wBACA;wBACAK;0BACAL;wBACA;sBACA;oBAEA;kBACA;gBACA;gBACAK;kBACAL;kBACAC;oBACAY;oBACAC;kBACA;gBACA;cACA;YACA;UACA;UACAT;YACAL;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;UACA;QACA;MACA;QACA;QACAjC;UACA+B;YACA;cACA;YACA;YACAG;cACAC;cACAC;cACAY;cACAC;cACAC;gBACAvC;gBACAwC;cACA;cACApB;gBACAG;kBACAY;kBACAC;gBACA;gBACAd;gBACAA;gBACA;gBACA;kBACAC;oBACAY;oBACAC;kBACA;kBACAb;kBACAA;kBACAA;kBACAA;kBACAF;kBACAA;gBACA;kBACA;kBACAE;oBACAY;oBAAA;oBACAM;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACA1B;sBACA;wBACAE;sBACA;wBACAA;sBACA;oBACA;oBACAK;sBACAL;oBACA;kBACA;kBACAD;gBACA;cACA;cACAM;gBACAL;gBACAC;kBACAY;kBAAA;kBACAM;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACA1B;oBACA;sBACAE;oBACA;sBACAA;oBACA;kBACA;kBACAK;oBACAL;kBACA;gBACA;cAEA;YACA;UACA;UACAK;YACAL;YACAC;cACAY;cACAC;YACA;UACA;QACA;MACA;IACA;IACAW;MACAzB;MACA;MACA;MACAA;IACA;IAEA0B;MACAzB;QACAC;MACA;;MAEA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACAyB;MACA3B;MACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;MACA;MACA;MACA;MACA;IACA;IAEA4B;MACA7D;QACA8D;QACAC;QACAC;QACAjC;UACAE;UACA;UACA;UACA;UACA;UACA;UACA;QACA;;QACAK;UACAL;QACA;MACA;IACA;IAEAgC;MACA/B;QACAC;QACAC;QACAC;UACA;UACA;QACA;QACAhC;UAAAG;QAAA;QACAuB;UACAE;UACAC;YACAY;YACAC;UACA;QACA;QACAT;UACAL;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AChfA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/homeCards/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/homeCards/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=86ffa444&scoped=true&\"\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&id=86ffa444&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"86ffa444\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/homeCards/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=86ffa444&scoped=true&\"","var components\ntry {\n components = {\n zSwiper: function () {\n return import(\n /* webpackChunkName: \"uni_modules/zebra-swiper/components/z-swiper/z-swiper\" */ \"@/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue\"\n )\n },\n zSwiperItem: function () {\n return import(\n /* webpackChunkName: \"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item\" */ \"@/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"wrapper\">\n <!-- 获取用户信息 -->\n <view v-if=\"showUserInfo\" class=\"ttt\">\n <button class=\"avatar-wrapper\" open-type=\"chooseAvatar\" @chooseavatar=\"onChooseAvatar\">\n <image class=\"avatar\" :src=\"avatarUrl\"></image>\n </button> \n <view class=\"tipUserHeader\">设置头像</view>\n <input class=\"weui-input\" v-model=\"userName\" placeholder=\"请输入昵称\"/>\n <button type=\"primary\" :disabled=\"disabledSubmit\" @click=\"handleSubmit\" class=\"submit\">提交</button>\n </view>\n <button @click=\"handleUserDestory\"> 用户注销 </button>\n <view class=\"shadow\"></view>\n\n <view class=\"section\" >\n <view class=\"shadowBoard\" :style=\"{backgroundImage:'url('+ photo[i] +')'}\"></view>\n <view class=\"swiper\">\n <image\n @click=\"preImage\"\n class=\"scaleToFill\"\n src=\"../../static/photo/left.png\"\n mode=\"scaleToFill\"\n />\n <image\n @click=\"nextImage\"\n class=\"scaleToFill2\"\n src=\"../../static/photo/left.png\"\n mode=\"scaleToFill\"\n />\n <z-swiper ref=\"zSwiper\" v-model=\"list\" @slideChange=\"onSlideChange\" :options=\"options\" class=\"swiper\">\n <z-swiper-item :custom-style=\"slideCustomStyle\" v-for=\"(item,index) in list\" :key=\"index\">\n <button class=\"btn\" @click=\"NavTo(item)\">\n <image class=\"image\" :src=\"'https://admin.mindepoch.com:8089/worlds/' + item.name + '.png'\" mode=\"aspectFill\"></image>\n <view class=\"CardContent\">\n <view class=\"card\">\n <view class=\"header1\">{{item.name}}</view>\n <view class=\"header2\">\n <view class=\"sdsd\">{{item.worldHeader}}</view>\n <view class=\"distence\"></view>\n <view class=\"detail\">{{item.description}}</view>\n </view>\n </view>\n </view>\n </button>\n </z-swiper-item>\n </z-swiper>\n </view>\n </view>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n err:null,\n disabledSubmit:false,\n id:274,\n showUserInfo:false,\n userName:'卿羽',\n code:'',\n clickNoArgee:false,\n clickArgee:false,\n isBindPhone:false,\n needDialog:true,\n nickName:'',\n // avatarUrl:'/static/photo/default.jpg',\n avatarUrl:'https://admin.mindepoch.com:8089/worlds/default.jpg',\n OpenId:'',\n i:0,\n photo:[\n 'https://admin.mindepoch.com:8089/worlds/情圣日记.png',\n 'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',\n 'https://admin.mindepoch.com:8089/worlds/舌战群儒.png'\n ],\n list: [\n // {image:'https://admin.mindepoch.com:8089/worlds/情圣日记.png',title:'情圣日记',content1:'-Love&Entropy',content2:'你还...记得我吗?'},\n // {image:'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\n // {image:'https://admin.mindepoch.com:8089/worlds/舌战群儒.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\n ],\n options:{\n effect: 'cards',\n loop : true,\n },\n slideCustomStyle: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '36rpx'\n }\n }\n },\n mounted() {\n //用户验证用户是否登陆过\n // console.log(this)\n var that = this\n wx.login({\n success(res) {\n if (res.code) {\n // uni.setStorageSync('code', res.code)\n that.code = res.code\n console.log('code:',that.code)\n // uni.showModal({\n // title: 'wx.login:登录ing!',\n // content: 'that.code:'+that.code + ''\n // });\n // 将 res.code 发送至后台服务器进行处理\n uni.request({\n url: 'https://admin.mindepoch.com:8089/wechat/CheckWxUserIsRegisterAndBindPhone',\n method: 'POST',\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n data: { code: res.code },\n success: function(res) {\n console.log('res:',res)\n // uni.showModal({\n // title: 'wx.login:登录成功!'+JSON.stringify(res),\n // content: res.data.toString()\n // });\n that.isBindPhone = res.data.isBindPhone\n that.wxUid = res.data.wxUid\n \n if(res.data.message===\"微信用户已注册,模拟登录成功!\"){\n uni.setStorageSync('wxUid', res.data.wxUid); //保存用户id\n uni.setStorageSync('userName', res.data.userName)\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]) //保存cookie值\n that.init()\n }else{\n if(res.data.code===1){\n //用户已注册\n that.init()\n }else{\n that.showUserInfo = true\n }\n }\n },\n fail: function(err) {\n console.log('err:',err)\n // uni.showModal({\n // title: 'wx.login:登录失败!',\n // content: JSON.stringify(err)\n // });\n }\n })\n } else {\n console.error('登录失败!' + res.errMsg);\n }\n }\n })\n \n },\n onload() {},\n methods: {\n init(){\n uni.request({\n url: 'https://admin.mindepoch.com:8089/QueryWorldsByLikeName',\n header: {\n 'Cookie': `${uni.getStorageSync('session_token')}`,\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n method: 'post',\n data:{\n worldName: ''\n }\n }).then(result => {\n console.log('init:',result[1].data)\n // uni.showModal({\n // title: 'init:',\n // content: result[1].data.worldInfoAndAsset.toString()\n // });\n if(result[1].data.code===1){\n if(result[1].data.worldInfoAndAsset.length>0){\n this.list = result[1].data.worldInfoAndAsset\n // this.list = [result[1].data.worldInfoAndAsset[1]]\n }\n }\n }).catch(err=> {\n console.log(222,err)\n // uni.showModal({\n // title: 'init_error:',\n // content: 'error'\n // });\n });\n },\n preImage(){\n // console.log('pre')\n this.$refs.zSwiper.swiper.slidePrev();\n },\n nextImage(){\n // console.log('next')\n this.$refs.zSwiper.swiper.slideNext();\n },\n //获取到用户昵称 以及用户头像\n handleSubmit(){\n var that = this\n //1.昵称输入不可为空\n if(this.userName.trim()==\"\"){\n uni.showToast({\n title: '昵称不可为空',\n icon: 'none'\n })\n return\n }\n //2.不上传头像需要下载 上传头像不需要下载\n if(this.avatarUrl==\"https://admin.mindepoch.com:8089/worlds/default.jpg\"){\n uni.downloadFile({\n url: that.avatarUrl,\n success: downloadRes => {\n if (downloadRes.statusCode === 200) {\n // 图片下载成功后获取临时文件路径\n const tempFilePath = downloadRes.tempFilePath;\n wx.login({\n success(res) {\n if(!res.code) {\n return\n }\n uni.uploadFile({\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\n method: 'POST',\n filePath:tempFilePath,\n name: 'avatar',\n formData: {\n code: res.code,\n username: that.userName\n },\n success: uploadRes => {\n console.log('上传成功uploadRes', uploadRes);\n // console.log(JSON.parse(uploadRes.data))\n const data = JSON.parse(uploadRes.data)\n if(data.code===1){\n uni.showToast({\n title: '头像上传成功!',\n icon: 'none'\n });\n uni.setStorageSync('userName', that.userName);\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\n uni.setStorageSync('openId', data.openId); //保存用户id\n that.showUserInfo = false //隐藏用户填写的表单\n that.init()\n }else{\n //失败\n uni.showModal({\n title: '温馨提示', // 弹窗的标题\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n that.disabledSubmit = false\n }\n },\n fail: uploadErr => {\n console.error('上传失败', uploadErr);\n uni.showModal({\n title: '失败', // 弹窗的标题\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n \n }\n }) \n },\n fail(err){\n console.log(err)\n uni.showToast({\n title: err.toString(),\n icon: 'none'\n })\n }\n })\n }\n },\n fail: downloadErr => {\n console.error('下载图片失败', downloadErr)\n // uni.showModal({\n // title: '弹窗标题', // 弹窗的标题\n // content: JSON.stringify(downloadErr), // 弹窗的文本内容\n // showCancel: true, // 是否显示取消按钮,默认为 true\n // cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n // cancelColor: '#000000', // 取消按钮的文字颜色\n // confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n // confirmColor: '#576B95', // 确定按钮的文字颜色\n // success: function (res) {\n // if (res.confirm) {\n // console.log('用户点击确定');\n // } else if (res.cancel) {\n // console.log('用户点击取消');\n // }\n // },\n // fail: function (err) {\n // console.log('API 调用失败: ', err);\n // }\n // });\n }\n });\n }else{\n this.disabledSubmit = true\n wx.login({\n success(res) {\n if(!res.code) {\n return\n }\n uni.uploadFile({\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\n method: 'POST',\n filePath:that.avatarUrl,\n name: 'avatar',\n formData: {\n code: res.code,\n username: that.userName\n },\n success: uploadRes => {\n uni.showToast({\n title: 'AppletWeChatRegisterOrLogin',\n icon: 'none'\n })\n console.log('上传成功uploadRes', uploadRes);\n console.log(JSON.parse(uploadRes.data))\n const data = JSON.parse(uploadRes.data)\n if(data.code===1){\n uni.showToast({\n title: '成功!',\n icon: 'none'\n });\n uni.setStorageSync('userName', that.userName);\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\n uni.setStorageSync('openId', data.openId); //保存用户id\n that.showUserInfo = false //隐藏用户填写的表单\n that.init()\n }else{\n //失败\n uni.showModal({\n title: '温馨提示', // 弹窗的标题\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n that.disabledSubmit = false\n }\n },\n fail: uploadErr => {\n console.error('上传失败', uploadErr);\n uni.showModal({\n title: '失败', // 弹窗的标题\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n \n }\n })\n },\n fail(err){\n console.log(err)\n uni.showToast({\n title: err.toString(),\n icon: 'none'\n })\n }\n })\n }\n },\n onChooseAvatar(e) {\n console.log('e',e)\n const { avatarUrl } = e.detail \n this.avatarUrl = avatarUrl\n console.log('this.avatarUrl',this.avatarUrl)\n },\n\n NavTo(data) {\n uni.navigateTo({\n url: `/pages/index/index?params=${JSON.stringify(data)}`\n });\n\n // console.log(title)\n // if(title==='情圣日记'){\n // }else{\n // uni.showToast({\n // title: '敬请期待',\n // icon: 'none'\n // });\n // }\n },\n onSlideChange(swiper,index) {\n console.log(swiper,index)\n // const len = this.photo.length + 1\n if(this.photo.length+1==index){\n this.i = 0\n }else if(index==0){\n this.i = this.photo.length-1\n }else{\n this.i = index-1\n }\n // 你可以在这里获取当前的swiper索引\n // const currentIndex = swiper.activeIndex;\n // 执行你想要的操作,比如更新页面标题\n // uni.setNavigationBarTitle('当前页: ' + (currentIndex + 1));\n },\n\n getAuth() {\n wx.getUserProfile({\n withCredentials: true,\n lang: 'zh_CN',\n desc:'提升用户体验,减少用户操作',\n success: function (userRes) {\n console.log('userRes',userRes)\n // var userInfo = userRes.userInfo;\n // console.log(\"用户昵称为:\" + userInfo.nickName);\n // console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\n // this.nickName = userInfo.nickName\n // this.avatarUrl = userInfo.avatarUrl\n // this.$globalData.userPhoto = userInfo.avatarUrl\n },\n fail: function () {\n console.error('获取用户信息失败');\n }\n });\n },\n\n handleUserDestory() {\n uni.request({\n url: 'https://admin.mindepoch.com:8089/UnregisterUser',\n method: 'POST',\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n 'Cookie': `${uni.getStorageSync('session_token')}`,\n },\n data: { id: uni.getStorageSync('wxUid') },\n success:function(res) {\n console.log(res)\n uni.showToast({\n title: '注销成功!',\n icon: 'none'\n });\n },\n fail:function(err) {\n console.log(err)\n }\n })\n }\n }\n}\n</script>\n\n<style scoped>\n.wrapper{\n height: 100vh;\n width: 100vw;\n}\n.image {\n\theight:100%;\n\twidth: 100%;\n}\n.section{\n \n}\n.shadowBoard{\n /* 其他样式,如背景大小、位置等 */\n width: 100vw;\n height: 100vh;\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n filter: blur(5px);\n z-index: -99;\n position: fixed;\n \n}\n.swiper{\n padding-top: 320rpx;\n position:relative;\n}\n.CardContent{\n position: absolute;\n top:0;\n left: 50%;\n transform: translateX(-50%);\n height: 100%;\n width: 85%;\n color: #fff;\n}\n.card{\n position: relative;\n width: 100%;\n height: 100%;\n}\n.header1{\n font-size: 40rpx;\n margin-top: 20rpx;\n text-align: left;\n}\n.header2{\n position: absolute;\n bottom:40rpx;\n left: 0;\n font-size: 38rpx;\n}\n.sdsd{\n text-align: left;\n}\n.distence{\n margin-top: 20rpx;\n}\n.detail{\n font-size: 24rpx;\n max-height: 100rpx;\n line-height: 38rpx;\n background-color: #00000039;\n padding: 6rpx;\n border-radius: 10rpx;\n text-align: left;\n overflow-y: scroll;\n}\n.shadow{\n position: fixed;\n width: 100vw;\n height: 100vh;\n \n}\n.shadow>image{\n width: auto;\n height: 100%;\n}\n.btn{\n padding: 0 !important;\n margin: 0 !important;\n display: block;\n z-index: 99;\n border-radius: 24rpx;\n height: 700rpx;\n width:450rpx;\n border: 1px solid #0000009a;\n box-shadow: 0 0 20rpx #fff;\n}\n.userInfoPression{\n background-color: #ffffff;\n height: 350rpx;\n border-radius: 20rpx 20rpx 0 0;\n}\n.mainInfo{\n\n}\n.infoHead{\n text-align: center;\n padding: 42rpx;\n font-weight: 700;\n}\n.infoFoot{\n display:flex;\n width: 100vw;\n position: absolute;\n bottom: 50rpx;\n left: 0;\n}\n.infoFoot>Button{\n width: 200rpx;\n height: 80rpx;\n line-height: 80rpx;\n font-size: 32rpx;\n color: #fff;\n \n}\n.infoFoot>Button:nth-child(1){\n background-color: gray;\n}\n.infoFoot>Button:nth-child(2){\n background-color: #1AAD19;\n}\n.ttt{\n position: absolute;\n top:0;\n left: 0;\n z-index: 9;\n width: 100vw;\n height: 100vh;\n background-color: #ffffff;\n}\n.pisition{\n padding-top: 300rpx;\n}\n.avatar-wrapper{\n border: 1px solid rgb(192, 176, 176);\n width: 200rpx;\n height: 200rpx;\n margin-top: 25rpx;\n}\n.avatar{\n width: 150rpx;\n height: 150rpx;\n margin-top: 25rpx;\n}\n.weui-input{\n border: 1px solid rgb(123, 108, 108);\n margin-top: 300rpx;\n width: 50vw;\n height: 70rpx;\n border-radius: 12rpx;\n margin: 200rpx auto;\n}\n.tipUserHeader{\n text-align: center;\n margin-top: 20rpx;\n color: rgb(123, 108, 108);\n}\n.submit{\n width: 250rpx;\n}\n.scaleToFill{\n position:absolute;\n top:62%;\n left:-10rpx;\n width:100rpx;\n height:100rpx;\n z-index:99;\n}\n.scaleToFill2{\n transform:rotate(180deg);\n position:absolute;\n top:62%;\n right:-10rpx;\n width:100rpx;\n height:100rpx;\n z-index:99;\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966432461\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} {"version":3,"sources":["uni-app:///main.js","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?573e","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?e257","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?6e6b","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?f0a7","uni-app:///pages/homeCards/index.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?70b5","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/homeCards/index.vue?76a7"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","err","disabledSubmit","id","showUserInfo","userName","code","clickNoArgee","clickArgee","isBindPhone","needDialog","nickName","avatarUrl","OpenId","i","photo","list","options","effect","loop","slideCustomStyle","display","alignItems","justifyContent","borderRadius","mounted","success","that","console","uni","url","method","header","fail","onload","methods","init","worldName","preImage","nextImage","handleSubmit","title","icon","filePath","name","formData","username","content","showCancel","cancelText","cancelColor","confirmText","confirmColor","onChooseAvatar","NavTo","onSlideChange","getAuth","withCredentials","lang","desc","handleUserDestory"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;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,aAAa,wTAEN;AACP,KAAK;AACL;AACA,aAAa,uVAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCoDv1B;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACA;MACAC;MACAC;MACAC;MACAC,QACA,oDACA,oDACA,mDACA;MACAC;QACA;QACA;QACA;MAAA,CACA;MACAC;QACAC;QACAC;MACA;MACAC;QACAC;QACAC;QACAC;QACAC;MACA;IACA;EACA;EACAC;IACA;IACA;IACA;IACA9B;MACA+B;QACA;UACA;UACAC;UACAC;UACA;UACA;UACA;UACA;UACA;UACAC;YACAC;YACAC;YACAC;cACA;YACA;YACAhC;cAAAM;YAAA;YACAoB;cACAE;cACA;cACA;cACA;cACA;cACAD;cACAA;cAEA;gBACAE;gBACAA;gBACAA;gBACAF;cACA;gBACA;kBACA;kBACAA;gBACA;kBACAA;gBACA;cACA;YACA;YACAM;cACAL;cACA;cACA;cACA;cACA;YACA;UACA;QACA;UACAA;QACA;MACA;IACA;EAEA;EACAM;EACAC;IACAC;MAAA;MACAP;QACAC;QACAE;UACA;UACA;QACA;QACAD;QACA/B;UACAqC;QACA;MACA;QACAT;QACA;QACA;QACA;QACA;QACA;UACA;YACA;YACA;UACA;QACA;MACA;QACAA;QACA;QACA;QACA;QACA;MACA;IACA;IACAU;MACA;MACA;IACA;IACAC;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;QACAX;UACAY;UACAC;QACA;QACA;MACA;MACA;MACA;QACAb;UACAC;UACAJ;YACA;cACA;cACA;cACA/B;gBACA+B;kBACA;oBACA;kBACA;kBACAG;oBACAC;oBACAC;oBACAY;oBACAC;oBACAC;sBACAvC;sBACAwC;oBACA;oBACApB;sBACAE;sBACA;sBACA;sBACA;wBACAC;0BACAY;0BACAC;wBACA;wBACAb;wBACAA;wBACAA;wBACAA;wBACAF;wBACAA;sBACA;wBACA;wBACAE;0BACAY;0BAAA;0BACAM;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACAC;0BAAA;0BACA1B;4BACA;8BACAE;4BACA;8BACAA;4BACA;0BACA;0BACAK;4BACAL;0BACA;wBACA;wBACAD;sBACA;oBACA;oBACAM;sBACAL;sBACAC;wBACAY;wBAAA;wBACAM;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACAC;wBAAA;wBACA1B;0BACA;4BACAE;0BACA;4BACAA;0BACA;wBACA;wBACAK;0BACAL;wBACA;sBACA;oBAEA;kBACA;gBACA;gBACAK;kBACAL;kBACAC;oBACAY;oBACAC;kBACA;gBACA;cACA;YACA;UACA;UACAT;YACAL;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;UACA;QACA;MACA;QACA;QACAjC;UACA+B;YACA;cACA;YACA;YACAG;cACAC;cACAC;cACAY;cACAC;cACAC;gBACAvC;gBACAwC;cACA;cACApB;gBACAG;kBACAY;kBACAC;gBACA;gBACAd;gBACAA;gBACA;gBACA;kBACAC;oBACAY;oBACAC;kBACA;kBACAb;kBACAA;kBACAA;kBACAA;kBACAF;kBACAA;gBACA;kBACA;kBACAE;oBACAY;oBAAA;oBACAM;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACA1B;sBACA;wBACAE;sBACA;wBACAA;sBACA;oBACA;oBACAK;sBACAL;oBACA;kBACA;kBACAD;gBACA;cACA;cACAM;gBACAL;gBACAC;kBACAY;kBAAA;kBACAM;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACAC;kBAAA;kBACA1B;oBACA;sBACAE;oBACA;sBACAA;oBACA;kBACA;kBACAK;oBACAL;kBACA;gBACA;cAEA;YACA;UACA;UACAK;YACAL;YACAC;cACAY;cACAC;YACA;UACA;QACA;MACA;IACA;IACAW;MACAzB;MACA;MACA;MACAA;IACA;IAEA0B;MACAzB;QACAC;MACA;;MAEA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACAyB;MACA3B;MACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;MACA;MACA;MACA;MACA;IACA;IAEA4B;MACA7D;QACA8D;QACAC;QACAC;QACAjC;UACAE;UACA;UACA;UACA;UACA;UACA;UACA;QACA;;QACAK;UACAL;QACA;MACA;IACA;IAEAgC;MACA/B;QACAC;QACAC;QACAC;UACA;UACA;QACA;QACAhC;UAAAG;QAAA;QACAuB;UACAE;UACAC;YACAY;YACAC;UACA;QACA;QACAT;UACAL;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AChfA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/homeCards/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/homeCards/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=86ffa444&scoped=true&\"\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&id=86ffa444&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"86ffa444\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/homeCards/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=86ffa444&scoped=true&\"","var components\ntry {\n components = {\n zSwiper: function () {\n return import(\n /* webpackChunkName: \"uni_modules/zebra-swiper/components/z-swiper/z-swiper\" */ \"@/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue\"\n )\n },\n zSwiperItem: function () {\n return import(\n /* webpackChunkName: \"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item\" */ \"@/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"wrapper\">\n <!-- 获取用户信息 -->\n <view v-if=\"showUserInfo\" class=\"ttt\">\n <button class=\"avatar-wrapper\" open-type=\"chooseAvatar\" @chooseavatar=\"onChooseAvatar\">\n <image class=\"avatar\" :src=\"avatarUrl\"></image>\n </button> \n <view class=\"tipUserHeader\">设置头像</view>\n <input class=\"weui-input\" v-model=\"userName\" placeholder=\"请输入昵称\"/>\n <button type=\"primary\" :disabled=\"disabledSubmit\" @click=\"handleSubmit\" class=\"submit\">提交</button>\n </view>\n <button @click=\"handleUserDestory\"> 用户注销 </button>\n <view class=\"shadow\"></view>\n\n <view class=\"section\" >\n <view class=\"shadowBoard\" :style=\"{backgroundImage:'url('+ photo[i] +')'}\"></view>\n <view class=\"swiper\">\n <image\n @click=\"preImage\"\n class=\"scaleToFill\"\n src=\"../../static/photo/left.png\"\n mode=\"scaleToFill\"\n />\n <image\n @click=\"nextImage\"\n class=\"scaleToFill2\"\n src=\"../../static/photo/left.png\"\n mode=\"scaleToFill\"\n />\n <z-swiper ref=\"zSwiper\" v-model=\"list\" @slideChange=\"onSlideChange\" :options=\"options\" class=\"swiper\">\n <z-swiper-item :custom-style=\"slideCustomStyle\" v-for=\"(item,index) in list\" :key=\"index\">\n <button class=\"btn\" @click=\"NavTo(item)\">\n <image class=\"image\" :src=\"'https://admin.mindepoch.com:8089/worlds/' + item.name + '.png'\" mode=\"aspectFill\"></image>\n <view class=\"CardContent\">\n <view class=\"card\">\n <view class=\"header1\">{{item.name}}</view>\n <view class=\"header2\">\n <view class=\"sdsd\">{{item.worldHeader}}</view>\n <view class=\"distence\"></view>\n <view class=\"detail\">{{item.description}}</view>\n </view>\n </view>\n </view>\n </button>\n </z-swiper-item>\n </z-swiper>\n </view>\n </view>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n err:null,\n disabledSubmit:false,\n id:274,\n showUserInfo:false,\n userName:'卿羽',\n code:'',\n clickNoArgee:false,\n clickArgee:false,\n isBindPhone:false,\n needDialog:true,\n nickName:'',\n // avatarUrl:'/static/photo/default.jpg',\n avatarUrl:'https://admin.mindepoch.com:8089/worlds/default.jpg',\n OpenId:'',\n i:0,\n photo:[\n 'https://admin.mindepoch.com:8089/worlds/情圣日记.png',\n 'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',\n 'https://admin.mindepoch.com:8089/worlds/舌战群儒.png'\n ],\n list: [\n // {image:'https://admin.mindepoch.com:8089/worlds/情圣日记.png',title:'情圣日记',content1:'-Love&Entropy',content2:'你还...记得我吗?'},\n // {image:'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\n // {image:'https://admin.mindepoch.com:8089/worlds/舌战群儒.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\n ],\n options:{\n effect: 'cards',\n loop : true,\n },\n slideCustomStyle: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '36rpx'\n }\n }\n },\n mounted() {\n //用户验证用户是否登陆过\n // console.log(this)\n var that = this\n wx.login({\n success(res) {\n if (res.code) {\n // uni.setStorageSync('code', res.code)\n that.code = res.code\n console.log('code:',that.code)\n // uni.showModal({\n // title: 'wx.login:登录ing!',\n // content: 'that.code:'+that.code + ''\n // });\n // 将 res.code 发送至后台服务器进行处理\n uni.request({\n url: 'https://admin.mindepoch.com:8089/wechat/CheckWxUserIsRegisterAndBindPhone',\n method: 'POST',\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n data: { code: res.code },\n success: function(res) {\n console.log('res:',res)\n // uni.showModal({\n // title: 'wx.login:登录成功!'+JSON.stringify(res),\n // content: res.data.toString()\n // });\n that.isBindPhone = res.data.isBindPhone\n that.wxUid = res.data.wxUid\n \n if(res.data.message===\"微信用户已注册,模拟登录成功!\"){\n uni.setStorageSync('wxUid', res.data.wxUid); //保存用户id\n uni.setStorageSync('userName', res.data.userName)\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]) //保存cookie值\n that.init()\n }else{\n if(res.data.code===1){\n //用户已注册\n that.init()\n }else{\n that.showUserInfo = true\n }\n }\n },\n fail: function(err) {\n console.log('err:',err)\n // uni.showModal({\n // title: 'wx.login:登录失败!',\n // content: JSON.stringify(err)\n // });\n }\n })\n } else {\n console.error('登录失败!' + res.errMsg);\n }\n }\n })\n \n },\n onload() {},\n methods: {\n init(){\n uni.request({\n url: 'https://admin.mindepoch.com:8089/QueryWorldsByLikeName',\n header: {\n 'Cookie': `${uni.getStorageSync('session_token')}`,\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n method: 'post',\n data:{\n worldName: ''\n }\n }).then(result => {\n console.log('init:',result[1].data)\n // uni.showModal({\n // title: 'init:',\n // content: result[1].data.worldInfoAndAsset.toString()\n // });\n if(result[1].data.code===1){\n if(result[1].data.worldInfoAndAsset.length>0){\n this.list = result[1].data.worldInfoAndAsset\n // this.list = [result[1].data.worldInfoAndAsset[1]]\n }\n }\n }).catch(err=> {\n console.log(222,err)\n // uni.showModal({\n // title: 'init_error:',\n // content: 'error'\n // });\n });\n },\n preImage(){\n // console.log('pre')\n this.$refs.zSwiper.swiper.slidePrev();\n },\n nextImage(){\n // console.log('next')\n this.$refs.zSwiper.swiper.slideNext();\n },\n //获取到用户昵称 以及用户头像\n handleSubmit(){\n var that = this\n //1.昵称输入不可为空\n if(this.userName.trim()==\"\"){\n uni.showToast({\n title: '昵称不可为空',\n icon: 'none'\n })\n return\n }\n //2.不上传头像需要下载 上传头像不需要下载\n if(this.avatarUrl==\"https://admin.mindepoch.com:8089/worlds/default.jpg\"){\n uni.downloadFile({\n url: that.avatarUrl,\n success: downloadRes => {\n if (downloadRes.statusCode === 200) {\n // 图片下载成功后获取临时文件路径\n const tempFilePath = downloadRes.tempFilePath;\n wx.login({\n success(res) {\n if(!res.code) {\n return\n }\n uni.uploadFile({\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\n method: 'POST',\n filePath:tempFilePath,\n name: 'avatar',\n formData: {\n code: res.code,\n username: that.userName\n },\n success: uploadRes => {\n console.log('上传成功uploadRes', uploadRes);\n // console.log(JSON.parse(uploadRes.data))\n const data = JSON.parse(uploadRes.data)\n if(data.code===1){\n uni.showToast({\n title: '头像上传成功!',\n icon: 'none'\n });\n uni.setStorageSync('userName', that.userName);\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\n uni.setStorageSync('openId', data.openId); //保存用户id\n that.showUserInfo = false //隐藏用户填写的表单\n that.init()\n }else{\n //失败\n uni.showModal({\n title: '温馨提示', // 弹窗的标题\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n that.disabledSubmit = false\n }\n },\n fail: uploadErr => {\n console.error('上传失败', uploadErr);\n uni.showModal({\n title: '失败', // 弹窗的标题\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n \n }\n }) \n },\n fail(err){\n console.log(err)\n uni.showToast({\n title: err.toString(),\n icon: 'none'\n })\n }\n })\n }\n },\n fail: downloadErr => {\n console.error('下载图片失败', downloadErr)\n // uni.showModal({\n // title: '弹窗标题', // 弹窗的标题\n // content: JSON.stringify(downloadErr), // 弹窗的文本内容\n // showCancel: true, // 是否显示取消按钮,默认为 true\n // cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n // cancelColor: '#000000', // 取消按钮的文字颜色\n // confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n // confirmColor: '#576B95', // 确定按钮的文字颜色\n // success: function (res) {\n // if (res.confirm) {\n // console.log('用户点击确定');\n // } else if (res.cancel) {\n // console.log('用户点击取消');\n // }\n // },\n // fail: function (err) {\n // console.log('API 调用失败: ', err);\n // }\n // });\n }\n });\n }else{\n this.disabledSubmit = true\n wx.login({\n success(res) {\n if(!res.code) {\n return\n }\n uni.uploadFile({\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\n method: 'POST',\n filePath:that.avatarUrl,\n name: 'avatar',\n formData: {\n code: res.code,\n username: that.userName\n },\n success: uploadRes => {\n uni.showToast({\n title: 'AppletWeChatRegisterOrLogin',\n icon: 'none'\n })\n console.log('上传成功uploadRes', uploadRes);\n console.log(JSON.parse(uploadRes.data))\n const data = JSON.parse(uploadRes.data)\n if(data.code===1){\n uni.showToast({\n title: '成功!',\n icon: 'none'\n });\n uni.setStorageSync('userName', that.userName);\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\n uni.setStorageSync('openId', data.openId); //保存用户id\n that.showUserInfo = false //隐藏用户填写的表单\n that.init()\n }else{\n //失败\n uni.showModal({\n title: '温馨提示', // 弹窗的标题\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n that.disabledSubmit = false\n }\n },\n fail: uploadErr => {\n console.error('上传失败', uploadErr);\n uni.showModal({\n title: '失败', // 弹窗的标题\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\n showCancel: true, // 是否显示取消按钮,默认为 true\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\n cancelColor: '#000000', // 取消按钮的文字颜色\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\n confirmColor: '#576B95', // 确定按钮的文字颜色\n success: function (res) {\n if (res.confirm) {\n console.log('用户点击确定');\n } else if (res.cancel) {\n console.log('用户点击取消');\n }\n },\n fail: function (err) {\n console.log('API 调用失败: ', err);\n }\n });\n \n }\n })\n },\n fail(err){\n console.log(err)\n uni.showToast({\n title: err.toString(),\n icon: 'none'\n })\n }\n })\n }\n },\n onChooseAvatar(e) {\n console.log('e',e)\n const { avatarUrl } = e.detail \n this.avatarUrl = avatarUrl\n console.log('this.avatarUrl',this.avatarUrl)\n },\n\n NavTo(data) {\n uni.navigateTo({\n url: `/pages/index/index?params=${JSON.stringify(data)}`\n });\n\n // console.log(title)\n // if(title==='情圣日记'){\n // }else{\n // uni.showToast({\n // title: '敬请期待',\n // icon: 'none'\n // });\n // }\n },\n onSlideChange(swiper,index) {\n console.log(swiper,index)\n // const len = this.photo.length + 1\n if(this.photo.length+1==index){\n this.i = 0\n }else if(index==0){\n this.i = this.photo.length-1\n }else{\n this.i = index-1\n }\n // 你可以在这里获取当前的swiper索引\n // const currentIndex = swiper.activeIndex;\n // 执行你想要的操作,比如更新页面标题\n // uni.setNavigationBarTitle('当前页: ' + (currentIndex + 1));\n },\n\n getAuth() {\n wx.getUserProfile({\n withCredentials: true,\n lang: 'zh_CN',\n desc:'提升用户体验,减少用户操作',\n success: function (userRes) {\n console.log('userRes',userRes)\n // var userInfo = userRes.userInfo;\n // console.log(\"用户昵称为:\" + userInfo.nickName);\n // console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\n // this.nickName = userInfo.nickName\n // this.avatarUrl = userInfo.avatarUrl\n // this.$globalData.userPhoto = userInfo.avatarUrl\n },\n fail: function () {\n console.error('获取用户信息失败');\n }\n });\n },\n\n handleUserDestory() {\n uni.request({\n url: 'https://admin.mindepoch.com:8089/UnregisterUser',\n method: 'POST',\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n 'Cookie': `${uni.getStorageSync('session_token')}`,\n },\n data: { id: uni.getStorageSync('wxUid') },\n success:function(res) {\n console.log(res)\n uni.showToast({\n title: '注销成功!',\n icon: 'none'\n });\n },\n fail:function(err) {\n console.log(err)\n }\n })\n }\n }\n}\n</script>\n\n<style scoped>\n.wrapper{\n height: 100vh;\n width: 100vw;\n}\n.image {\n\theight:100%;\n\twidth: 100%;\n}\n.section{\n \n}\n.shadowBoard{\n /* 其他样式,如背景大小、位置等 */\n width: 100vw;\n height: 100vh;\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n filter: blur(5px);\n z-index: -99;\n position: fixed;\n \n}\n.swiper{\n padding-top: 320rpx;\n position:relative;\n}\n.CardContent{\n position: absolute;\n top:0;\n left: 50%;\n transform: translateX(-50%);\n height: 100%;\n width: 85%;\n color: #fff;\n}\n.card{\n position: relative;\n width: 100%;\n height: 100%;\n}\n.header1{\n font-size: 40rpx;\n margin-top: 20rpx;\n text-align: left;\n}\n.header2{\n position: absolute;\n bottom:40rpx;\n left: 0;\n font-size: 38rpx;\n}\n.sdsd{\n text-align: left;\n}\n.distence{\n margin-top: 20rpx;\n}\n.detail{\n font-size: 24rpx;\n max-height: 100rpx;\n line-height: 38rpx;\n background-color: #00000039;\n padding: 6rpx;\n border-radius: 10rpx;\n text-align: left;\n overflow-y: scroll;\n}\n.shadow{\n position: fixed;\n width: 100vw;\n height: 100vh;\n \n}\n.shadow>image{\n width: auto;\n height: 100%;\n}\n.btn{\n padding: 0 !important;\n margin: 0 !important;\n display: block;\n z-index: 99;\n border-radius: 24rpx;\n height: 700rpx;\n width:450rpx;\n border: 1px solid #0000009a;\n box-shadow: 0 0 20rpx #fff;\n}\n.userInfoPression{\n background-color: #ffffff;\n height: 350rpx;\n border-radius: 20rpx 20rpx 0 0;\n}\n.mainInfo{\n\n}\n.infoHead{\n text-align: center;\n padding: 42rpx;\n font-weight: 700;\n}\n.infoFoot{\n display:flex;\n width: 100vw;\n position: absolute;\n bottom: 50rpx;\n left: 0;\n}\n.infoFoot>Button{\n width: 200rpx;\n height: 80rpx;\n line-height: 80rpx;\n font-size: 32rpx;\n color: #fff;\n \n}\n.infoFoot>Button:nth-child(1){\n background-color: gray;\n}\n.infoFoot>Button:nth-child(2){\n background-color: #1AAD19;\n}\n.ttt{\n position: absolute;\n top:0;\n left: 0;\n z-index: 9;\n width: 100vw;\n height: 100vh;\n background-color: #ffffff;\n}\n.pisition{\n padding-top: 300rpx;\n}\n.avatar-wrapper{\n border: 1px solid rgb(192, 176, 176);\n width: 200rpx;\n height: 200rpx;\n margin-top: 25rpx;\n}\n.avatar{\n width: 150rpx;\n height: 150rpx;\n margin-top: 25rpx;\n}\n.weui-input{\n border: 1px solid rgb(123, 108, 108);\n margin-top: 300rpx;\n width: 50vw;\n height: 70rpx;\n border-radius: 12rpx;\n margin: 200rpx auto;\n}\n.tipUserHeader{\n text-align: center;\n margin-top: 20rpx;\n color: rgb(123, 108, 108);\n}\n.submit{\n width: 250rpx;\n}\n.scaleToFill{\n position:absolute;\n top:62%;\n left:-10rpx;\n width:100rpx;\n height:100rpx;\n z-index:99;\n}\n.scaleToFill2{\n transform:rotate(180deg);\n position:absolute;\n top:62%;\n right:-10rpx;\n width:100rpx;\n height:100rpx;\n z-index:99;\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909053600\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \ 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":["uni-app:///main.js","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?6583","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?d8d0","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?b5df","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?8154","uni-app:///pages/init/index.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?a7a1","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?9e13"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","nickName","avatarUrl","OpenId","methods","getUserInfo","success","console","uni","url","method","header","code","that","withCredentials","lang","fail","getPhoneNumber","sendPhoneNumberToServer","username","openid","phone_code","reject_binding"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;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;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCYv1B;EACAC;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MACA;MACAV;QACAW;UACAC;UACA;YACA;YACAC;cACAC;cACAC;cACAC;gBACA;cACA;cACAX;gBAAAY;cAAA;cACAN;gBACAC;gBACAM;gBACA;;gBAEAL;kBACAM;kBACAC;kBACAT;oBACA;oBACAC;oBACAA;oBACAM;oBACAA;oBACAA;oBACA;kBAEA;;kBACAG;oBACAT;kBACA;gBACA;cACA;YACA;UACA;YACAA;UACA;QACA;MACA;IACA;IAEA;IACAU;MACAV;MACA;QACA;MACA;QACA;MACA;IACA;IACAW;MAAA;MACA;MACAV;QACAC;QACAC;QACAV;UACAmB;UACAC;UACAC;UACAC;QACA;QACAX;UACA;QACA;QACAL;UACAC;UACA;YACAA;YAEA;cACA;cACAC;cACAA;gBACAC;cACA;YACA;UACA;YACAF;UACA;QACA;QACAS;UACAT;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC/GA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/init/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/init/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=00468268&scoped=true&\"\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&id=00468268&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"00468268\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/init/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=00468268&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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"init\">\n <view class=\"window\">\n <view class=\"getUserInfo\">用户服务隐私协议</view>\n <view class=\"content\">\n <button open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\" class=\"btn\" @click=\"getUserInfo\">授权</button>\n </view>\n </view>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n nickName:'',\n avatarUrl:'',\n OpenId:''\n }\n },\n methods: {\n getUserInfo() {\n var that = this\n wx.login({\n success(res) {\n console.log(res)\n if (res.code) {\n // 将 res.code 发送至后台服务器进行处理\n uni.request({\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatLogin',\n method: 'POST',\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n data: { code: res.code },\n success: function (response) {\n console.log('登录成功', response);\n that.OpenId = response.data.OpenId\n // TODO: 根据后台返回的结果保存 openid、sessionKey 等信息\n\n uni.getUserInfo({\n withCredentials: true,\n lang: 'zh_CN',\n success: function (userRes) {\n var userInfo = userRes.userInfo;\n console.log(\"用户昵称为:\" + userInfo.nickName);\n console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\n that.nickName = userInfo.nickName\n that.avatarUrl = userInfo.avatarUrl\n that.$globalData.userPhoto = userInfo.avatarUrl\n // TODO: 将用户昵称和头像地址保存或上传至后台服务器\n\n },\n fail: function () {\n console.error('获取用户信息失败');\n }\n });\n }\n })\n } else {\n console.error('登录失败!' + res.errMsg);\n }\n }\n });\n },\n\n // 获取手机号\n getPhoneNumber(e) {\n console.log('e',e.detail.code)\n if(e.detail.code){\n this.sendPhoneNumberToServer(e.detail.code,'no');\n }else{\n this.sendPhoneNumberToServer(e.detail.code,'yes');\n }\n },\n sendPhoneNumberToServer(code,bool) {\n // 将code、encryptedData和iv发送到后端API\n uni.request({\n url: 'https://admin.mindepoch.com:8089/wechat/RegisterAndLoginWXUserPhone',\n method: 'POST',\n data:{\n username:this.nickName,\n openid:this.OpenId,\n phone_code:bool==\"no\"?code:'',\n reject_binding:bool\n },\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n success: (res) => {\n console.log('success',res)\n if (res.statusCode === 200) {\n console.log('手机号码传递成功', res);\n\n if(res.data.code===1){\n this.$globalData.wxUid = res.data.wxUid\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]); //保存cookie值\n uni.navigateTo({\n url: `/pages/homeCards/index`\n });\n }\n } else {\n console.log('服务器返回状态码异常', res.statusCode);\n }\n },\n fail: (err) => {\n console.log('发送失败', err);\n }\n });\n }\n }\n}\n</script>\n\n\n<style scoped>\n.init {\n width: 100vw;\n height: 100vh;\n background-color: rgb(146, 108, 126);\n}\n\n.window {\n width: 80vw;\n height: 300rpx;\n background-color: aliceblue;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 10rpx;\n font-size: 40rpx;\n box-shadow: 0 0 20rpx #fff;\n}\n\n.getUserInfo {\n text-align: center;\n padding: 20px;\n}\n\n.content {\n display: flex;\n margin-top: 50rpx;\n}\n\n.btn {\n width: 200rpx;\n height: 80rpx;\n line-height: 80rpx;\n font-size: 34rpx;\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966432468\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} {"version":3,"sources":["uni-app:///main.js","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?6583","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?d8d0","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?b5df","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?8154","uni-app:///pages/init/index.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?a7a1","webpack:////Users/kenji/Desktop/Intern/jueqing/pages/init/index.vue?9e13"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","nickName","avatarUrl","OpenId","methods","getUserInfo","success","console","uni","url","method","header","code","that","withCredentials","lang","fail","getPhoneNumber","sendPhoneNumberToServer","username","openid","phone_code","reject_binding"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;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;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCYv1B;EACAC;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MACA;MACAV;QACAW;UACAC;UACA;YACA;YACAC;cACAC;cACAC;cACAC;gBACA;cACA;cACAX;gBAAAY;cAAA;cACAN;gBACAC;gBACAM;gBACA;;gBAEAL;kBACAM;kBACAC;kBACAT;oBACA;oBACAC;oBACAA;oBACAM;oBACAA;oBACAA;oBACA;kBAEA;;kBACAG;oBACAT;kBACA;gBACA;cACA;YACA;UACA;YACAA;UACA;QACA;MACA;IACA;IAEA;IACAU;MACAV;MACA;QACA;MACA;QACA;MACA;IACA;IACAW;MAAA;MACA;MACAV;QACAC;QACAC;QACAV;UACAmB;UACAC;UACAC;UACAC;QACA;QACAX;UACA;QACA;QACAL;UACAC;UACA;YACAA;YAEA;cACA;cACAC;cACAA;gBACAC;cACA;YACA;UACA;YACAF;UACA;QACA;QACAS;UACAT;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC/GA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/init/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/init/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=00468268&scoped=true&\"\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&id=00468268&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"00468268\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/init/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=00468268&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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"init\">\n <view class=\"window\">\n <view class=\"getUserInfo\">用户服务隐私协议</view>\n <view class=\"content\">\n <button open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\" class=\"btn\" @click=\"getUserInfo\">授权</button>\n </view>\n </view>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n nickName:'',\n avatarUrl:'',\n OpenId:''\n }\n },\n methods: {\n getUserInfo() {\n var that = this\n wx.login({\n success(res) {\n console.log(res)\n if (res.code) {\n // 将 res.code 发送至后台服务器进行处理\n uni.request({\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatLogin',\n method: 'POST',\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n data: { code: res.code },\n success: function (response) {\n console.log('登录成功', response);\n that.OpenId = response.data.OpenId\n // TODO: 根据后台返回的结果保存 openid、sessionKey 等信息\n\n uni.getUserInfo({\n withCredentials: true,\n lang: 'zh_CN',\n success: function (userRes) {\n var userInfo = userRes.userInfo;\n console.log(\"用户昵称为:\" + userInfo.nickName);\n console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\n that.nickName = userInfo.nickName\n that.avatarUrl = userInfo.avatarUrl\n that.$globalData.userPhoto = userInfo.avatarUrl\n // TODO: 将用户昵称和头像地址保存或上传至后台服务器\n\n },\n fail: function () {\n console.error('获取用户信息失败');\n }\n });\n }\n })\n } else {\n console.error('登录失败!' + res.errMsg);\n }\n }\n });\n },\n\n // 获取手机号\n getPhoneNumber(e) {\n console.log('e',e.detail.code)\n if(e.detail.code){\n this.sendPhoneNumberToServer(e.detail.code,'no');\n }else{\n this.sendPhoneNumberToServer(e.detail.code,'yes');\n }\n },\n sendPhoneNumberToServer(code,bool) {\n // 将code、encryptedData和iv发送到后端API\n uni.request({\n url: 'https://admin.mindepoch.com:8089/wechat/RegisterAndLoginWXUserPhone',\n method: 'POST',\n data:{\n username:this.nickName,\n openid:this.OpenId,\n phone_code:bool==\"no\"?code:'',\n reject_binding:bool\n },\n header: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n },\n success: (res) => {\n console.log('success',res)\n if (res.statusCode === 200) {\n console.log('手机号码传递成功', res);\n\n if(res.data.code===1){\n this.$globalData.wxUid = res.data.wxUid\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]); //保存cookie值\n uni.navigateTo({\n url: `/pages/homeCards/index`\n });\n }\n } else {\n console.log('服务器返回状态码异常', res.statusCode);\n }\n },\n fail: (err) => {\n console.log('发送失败', err);\n }\n });\n }\n }\n}\n</script>\n\n\n<style scoped>\n.init {\n width: 100vw;\n height: 100vh;\n background-color: rgb(146, 108, 126);\n}\n\n.window {\n width: 80vw;\n height: 300rpx;\n background-color: aliceblue;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 10rpx;\n font-size: 40rpx;\n box-shadow: 0 0 20rpx #fff;\n}\n\n.getUserInfo {\n text-align: center;\n padding: 20px;\n}\n\n.content {\n display: flex;\n margin-top: 50rpx;\n}\n\n.btn {\n width: 200rpx;\n height: 80rpx;\n line-height: 80rpx;\n font-size: 34rpx;\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909053591\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \ No newline at end of file
{"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?4c86","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?5baf","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?fbbd","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?3f44","uni-app:///uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?d605","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?660a"],"names":["t","name","mixins","emits","props","inputType","type","default","value","placeholder","mode","title","content","beforeClose","cancelText","confirmText","data","dialogType","focus","val","computed","okText","closeText","placeholderText","titleText","watch","created","mounted","methods","onOk","closeDialog","close"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;AACc;;;AAG7E;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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;AAA42B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;AC4Bh4B;AACA;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;EAAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlBA,eAoBA;EACAC;EACAC;EACAC;EACAC;IACAC;MACAC;MACAC;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MACAH;MACAC;IACA;IACAD;MACAA;MACAC;IACA;IACAG;MACAJ;MACAC;IACA;IACAI;MACAL;MACAC;IACA;IACAK;MACAN;MACAC;IACA;IACAM;MACAP;MACAC;IACA;IACAO;MACAR;MACAC;IACA;IACAQ;MACAT;MACAC;IACA;EACA;EACAS;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;EACAC;IACAnB;MACA;IACA;IACAI;MACA;QACA;MACA;IACA;IACAF;MACA;IACA;EACA;EACAkB;IACA;IACA;IACA;IACA;MACA;MACA;IACA;MACA;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;AACA;AACA;IACAC;MACA;QACA;MACA;QACA;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;MACA;MACA;IACA;IACAC;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;AC7KA;AAAA;AAAA;AAAA;AAAmmD,CAAgB,66CAAG,EAAC,C;;;;;;;;;;;ACAvnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-popup-dialog.vue?vue&type=template&id=6f54520a&\"\nvar renderjs\nimport script from \"./uni-popup-dialog.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-popup-dialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 = \"uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=template&id=6f54520a&\"","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 \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"uni-popup-dialog\">\n\t\t<view class=\"uni-dialog-title\">\n\t\t\t<text class=\"uni-dialog-title-text\" :class=\"['uni-popup__'+dialogType]\">{{titleText}}</text>\n\t\t</view>\n\t\t<view v-if=\"mode === 'base'\" class=\"uni-dialog-content\">\n\t\t\t<slot>\n\t\t\t\t<text class=\"uni-dialog-content-text\">{{content}}</text>\n\t\t\t</slot>\n\t\t</view>\n\t\t<view v-else class=\"uni-dialog-content\">\n\t\t\t<slot>\n\t\t\t\t<input class=\"uni-dialog-input\" v-model=\"val\" :type=\"inputType\" :placeholder=\"placeholderText\" :focus=\"focus\" >\n\t\t\t</slot>\n\t\t</view>\n\t\t<view class=\"uni-dialog-button-group\">\n\t\t\t<view class=\"uni-dialog-button\" @click=\"closeDialog\">\n\t\t\t\t<text class=\"uni-dialog-button-text\">{{closeText}}</text>\n\t\t\t</view>\n\t\t\t<view class=\"uni-dialog-button uni-border-left\" @click=\"onOk\">\n\t\t\t\t<text class=\"uni-dialog-button-text uni-button-color\">{{okText}}</text>\n\t\t\t</view>\n\t\t</view>\n\n\t</view>\n</template>\n\n<script>\n\timport popup from '../uni-popup/popup.js'\n\timport {\n\tinitVueI18n\n\t} from '@dcloudio/uni-i18n'\n\timport messages from '../uni-popup/i18n/index.js'\n\tconst {\tt } = initVueI18n(messages)\n\t/**\n\t * PopUp 弹出层-对话框样式\n\t * @description 弹出层-对话框样式\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=329\n\t * @property {String} value input 模式下的默认值\n\t * @property {String} placeholder input 模式下输入提示\n\t * @property {String} type = [success|warning|info|error] 主题样式\n\t * @value success 成功\n\t * \t@value warning 提示\n\t * \t@value info 消息\n\t * \t@value error 错误\n\t * @property {String} mode = [base|input] 模式、\n\t * \t@value base 基础对话框\n\t * \t@value input 可输入对话框\n\t * @property {String} content 对话框内容\n\t * @property {Boolean} beforeClose 是否拦截取消事件\n\t * @event {Function} confirm 点击确认按钮触发\n\t * @event {Function} close 点击取消按钮触发\n\t */\n\n\texport default {\n\t\tname: \"uniPopupDialog\",\n\t\tmixins: [popup],\n\t\temits:['confirm','close'],\n\t\tprops: {\n\t\t\tinputType:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'text'\n\t\t\t},\n\t\t\tvalue: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tplaceholder: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\ttype: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'error'\n\t\t\t},\n\t\t\tmode: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'base'\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tcontent: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tbeforeClose: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\tcancelText:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tconfirmText:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdialogType: 'error',\n\t\t\t\tfocus: false,\n\t\t\t\tval: \"\"\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tokText() {\n\t\t\t\treturn this.confirmText || t(\"uni-popup.ok\")\n\t\t\t},\n\t\t\tcloseText() {\n\t\t\t\treturn this.cancelText || t(\"uni-popup.cancel\")\n\t\t\t},\n\t\t\tplaceholderText() {\n\t\t\t\treturn this.placeholder || t(\"uni-popup.placeholder\")\n\t\t\t},\n\t\t\ttitleText() {\n\t\t\t\treturn this.title || t(\"uni-popup.title\")\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\ttype(val) {\n\t\t\t\tthis.dialogType = val\n\t\t\t},\n\t\t\tmode(val) {\n\t\t\t\tif (val === 'input') {\n\t\t\t\t\tthis.dialogType = 'info'\n\t\t\t\t}\n\t\t\t},\n\t\t\tvalue(val) {\n\t\t\t\tthis.val = val\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// 对话框遮罩不可点击\n\t\t\tthis.popup.disableMask()\n\t\t\t// this.popup.closeMask()\n\t\t\tif (this.mode === 'input') {\n\t\t\t\tthis.dialogType = 'info'\n\t\t\t\tthis.val = this.value\n\t\t\t} else {\n\t\t\t\tthis.dialogType = this.type\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.focus = true\n\t\t},\n\t\tmethods: {\n\t\t\t/**\n\t\t\t * 点击确认按钮\n\t\t\t */\n\t\t\tonOk() {\n\t\t\t\tif (this.mode === 'input'){\n\t\t\t\t\tthis.$emit('confirm', this.val)\n\t\t\t\t}else{\n\t\t\t\t\tthis.$emit('confirm')\n\t\t\t\t}\n\t\t\t\tif(this.beforeClose) return\n\t\t\t\tthis.popup.close()\n\t\t\t},\n\t\t\t/**\n\t\t\t * 点击取消按钮\n\t\t\t */\n\t\t\tcloseDialog() {\n\t\t\t\tthis.$emit('close')\n\t\t\t\tif(this.beforeClose) return\n\t\t\t\tthis.popup.close()\n\t\t\t},\n\t\t\tclose(){\n\t\t\t\tthis.popup.close()\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" >\n\t.uni-popup-dialog {\n\t\twidth: 300px;\n\t\tborder-radius: 11px;\n\t\tbackground-color: #fff;\n\t}\n\n\t.uni-dialog-title {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tpadding-top: 25px;\n\t}\n\n\t.uni-dialog-title-text {\n\t\tfont-size: 16px;\n\t\tfont-weight: 500;\n\t}\n\n\t.uni-dialog-content {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tpadding: 20px;\n\t}\n\n\t.uni-dialog-content-text {\n\t\tfont-size: 14px;\n\t\tcolor: #6C6C6C;\n\t}\n\n\t.uni-dialog-button-group {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\tborder-top-color: #f5f5f5;\n\t\tborder-top-style: solid;\n\t\tborder-top-width: 1px;\n\t}\n\n\t.uni-dialog-button {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\n\t\tflex: 1;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\theight: 45px;\n\t}\n\n\t.uni-border-left {\n\t\tborder-left-color: #f0f0f0;\n\t\tborder-left-style: solid;\n\t\tborder-left-width: 1px;\n\t}\n\n\t.uni-dialog-button-text {\n\t\tfont-size: 16px;\n\t\tcolor: #333;\n\t}\n\n\t.uni-button-color {\n\t\tcolor: #007aff;\n\t}\n\n\t.uni-dialog-input {\n\t\tflex: 1;\n\t\tfont-size: 14px;\n\t\tborder: 1px #eee solid;\n\t\theight: 40px;\n\t\tpadding: 0 10px;\n\t\tborder-radius: 5px;\n\t\tcolor: #555;\n\t}\n\n\t.uni-popup__success {\n\t\tcolor: #4cd964;\n\t}\n\n\t.uni-popup__warn {\n\t\tcolor: #f0ad4e;\n\t}\n\n\t.uni-popup__error {\n\t\tcolor: #dd524d;\n\t}\n\n\t.uni-popup__info {\n\t\tcolor: #909399;\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966435891\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} {"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?4c86","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?5baf","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?fbbd","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?3f44","uni-app:///uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?d605","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?660a"],"names":["t","name","mixins","emits","props","inputType","type","default","value","placeholder","mode","title","content","beforeClose","cancelText","confirmText","data","dialogType","focus","val","computed","okText","closeText","placeholderText","titleText","watch","created","mounted","methods","onOk","closeDialog","close"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;AACc;;;AAG7E;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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;AAA42B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;AC4Bh4B;AACA;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;EAAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlBA,eAoBA;EACAC;EACAC;EACAC;EACAC;IACAC;MACAC;MACAC;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MACAH;MACAC;IACA;IACAD;MACAA;MACAC;IACA;IACAG;MACAJ;MACAC;IACA;IACAI;MACAL;MACAC;IACA;IACAK;MACAN;MACAC;IACA;IACAM;MACAP;MACAC;IACA;IACAO;MACAR;MACAC;IACA;IACAQ;MACAT;MACAC;IACA;EACA;EACAS;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;EACAC;IACAnB;MACA;IACA;IACAI;MACA;QACA;MACA;IACA;IACAF;MACA;IACA;EACA;EACAkB;IACA;IACA;IACA;IACA;MACA;MACA;IACA;MACA;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;AACA;AACA;IACAC;MACA;QACA;MACA;QACA;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;MACA;MACA;IACA;IACAC;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;AC7KA;AAAA;AAAA;AAAA;AAAmmD,CAAgB,66CAAG,EAAC,C;;;;;;;;;;;ACAvnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-popup-dialog.vue?vue&type=template&id=6f54520a&\"\nvar renderjs\nimport script from \"./uni-popup-dialog.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-popup-dialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 = \"uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=template&id=6f54520a&\"","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 \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"uni-popup-dialog\">\n\t\t<view class=\"uni-dialog-title\">\n\t\t\t<text class=\"uni-dialog-title-text\" :class=\"['uni-popup__'+dialogType]\">{{titleText}}</text>\n\t\t</view>\n\t\t<view v-if=\"mode === 'base'\" class=\"uni-dialog-content\">\n\t\t\t<slot>\n\t\t\t\t<text class=\"uni-dialog-content-text\">{{content}}</text>\n\t\t\t</slot>\n\t\t</view>\n\t\t<view v-else class=\"uni-dialog-content\">\n\t\t\t<slot>\n\t\t\t\t<input class=\"uni-dialog-input\" v-model=\"val\" :type=\"inputType\" :placeholder=\"placeholderText\" :focus=\"focus\" >\n\t\t\t</slot>\n\t\t</view>\n\t\t<view class=\"uni-dialog-button-group\">\n\t\t\t<view class=\"uni-dialog-button\" @click=\"closeDialog\">\n\t\t\t\t<text class=\"uni-dialog-button-text\">{{closeText}}</text>\n\t\t\t</view>\n\t\t\t<view class=\"uni-dialog-button uni-border-left\" @click=\"onOk\">\n\t\t\t\t<text class=\"uni-dialog-button-text uni-button-color\">{{okText}}</text>\n\t\t\t</view>\n\t\t</view>\n\n\t</view>\n</template>\n\n<script>\n\timport popup from '../uni-popup/popup.js'\n\timport {\n\tinitVueI18n\n\t} from '@dcloudio/uni-i18n'\n\timport messages from '../uni-popup/i18n/index.js'\n\tconst {\tt } = initVueI18n(messages)\n\t/**\n\t * PopUp 弹出层-对话框样式\n\t * @description 弹出层-对话框样式\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=329\n\t * @property {String} value input 模式下的默认值\n\t * @property {String} placeholder input 模式下输入提示\n\t * @property {String} type = [success|warning|info|error] 主题样式\n\t * @value success 成功\n\t * \t@value warning 提示\n\t * \t@value info 消息\n\t * \t@value error 错误\n\t * @property {String} mode = [base|input] 模式、\n\t * \t@value base 基础对话框\n\t * \t@value input 可输入对话框\n\t * @property {String} content 对话框内容\n\t * @property {Boolean} beforeClose 是否拦截取消事件\n\t * @event {Function} confirm 点击确认按钮触发\n\t * @event {Function} close 点击取消按钮触发\n\t */\n\n\texport default {\n\t\tname: \"uniPopupDialog\",\n\t\tmixins: [popup],\n\t\temits:['confirm','close'],\n\t\tprops: {\n\t\t\tinputType:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'text'\n\t\t\t},\n\t\t\tvalue: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tplaceholder: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\ttype: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'error'\n\t\t\t},\n\t\t\tmode: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'base'\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tcontent: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tbeforeClose: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\tcancelText:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tconfirmText:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdialogType: 'error',\n\t\t\t\tfocus: false,\n\t\t\t\tval: \"\"\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tokText() {\n\t\t\t\treturn this.confirmText || t(\"uni-popup.ok\")\n\t\t\t},\n\t\t\tcloseText() {\n\t\t\t\treturn this.cancelText || t(\"uni-popup.cancel\")\n\t\t\t},\n\t\t\tplaceholderText() {\n\t\t\t\treturn this.placeholder || t(\"uni-popup.placeholder\")\n\t\t\t},\n\t\t\ttitleText() {\n\t\t\t\treturn this.title || t(\"uni-popup.title\")\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\ttype(val) {\n\t\t\t\tthis.dialogType = val\n\t\t\t},\n\t\t\tmode(val) {\n\t\t\t\tif (val === 'input') {\n\t\t\t\t\tthis.dialogType = 'info'\n\t\t\t\t}\n\t\t\t},\n\t\t\tvalue(val) {\n\t\t\t\tthis.val = val\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// 对话框遮罩不可点击\n\t\t\tthis.popup.disableMask()\n\t\t\t// this.popup.closeMask()\n\t\t\tif (this.mode === 'input') {\n\t\t\t\tthis.dialogType = 'info'\n\t\t\t\tthis.val = this.value\n\t\t\t} else {\n\t\t\t\tthis.dialogType = this.type\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.focus = true\n\t\t},\n\t\tmethods: {\n\t\t\t/**\n\t\t\t * 点击确认按钮\n\t\t\t */\n\t\t\tonOk() {\n\t\t\t\tif (this.mode === 'input'){\n\t\t\t\t\tthis.$emit('confirm', this.val)\n\t\t\t\t}else{\n\t\t\t\t\tthis.$emit('confirm')\n\t\t\t\t}\n\t\t\t\tif(this.beforeClose) return\n\t\t\t\tthis.popup.close()\n\t\t\t},\n\t\t\t/**\n\t\t\t * 点击取消按钮\n\t\t\t */\n\t\t\tcloseDialog() {\n\t\t\t\tthis.$emit('close')\n\t\t\t\tif(this.beforeClose) return\n\t\t\t\tthis.popup.close()\n\t\t\t},\n\t\t\tclose(){\n\t\t\t\tthis.popup.close()\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" >\n\t.uni-popup-dialog {\n\t\twidth: 300px;\n\t\tborder-radius: 11px;\n\t\tbackground-color: #fff;\n\t}\n\n\t.uni-dialog-title {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tpadding-top: 25px;\n\t}\n\n\t.uni-dialog-title-text {\n\t\tfont-size: 16px;\n\t\tfont-weight: 500;\n\t}\n\n\t.uni-dialog-content {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tpadding: 20px;\n\t}\n\n\t.uni-dialog-content-text {\n\t\tfont-size: 14px;\n\t\tcolor: #6C6C6C;\n\t}\n\n\t.uni-dialog-button-group {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\tflex-direction: row;\n\t\tborder-top-color: #f5f5f5;\n\t\tborder-top-style: solid;\n\t\tborder-top-width: 1px;\n\t}\n\n\t.uni-dialog-button {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\n\t\tflex: 1;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\theight: 45px;\n\t}\n\n\t.uni-border-left {\n\t\tborder-left-color: #f0f0f0;\n\t\tborder-left-style: solid;\n\t\tborder-left-width: 1px;\n\t}\n\n\t.uni-dialog-button-text {\n\t\tfont-size: 16px;\n\t\tcolor: #333;\n\t}\n\n\t.uni-button-color {\n\t\tcolor: #007aff;\n\t}\n\n\t.uni-dialog-input {\n\t\tflex: 1;\n\t\tfont-size: 14px;\n\t\tborder: 1px #eee solid;\n\t\theight: 40px;\n\t\tpadding: 0 10px;\n\t\tborder-radius: 5px;\n\t\tcolor: #555;\n\t}\n\n\t.uni-popup__success {\n\t\tcolor: #4cd964;\n\t}\n\n\t.uni-popup__warn {\n\t\tcolor: #f0ad4e;\n\t}\n\n\t.uni-popup__error {\n\t\tcolor: #dd524d;\n\t}\n\n\t.uni-popup__info {\n\t\tcolor: #909399;\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909057705\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \ No newline at end of file
{"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?ed1e","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?f417","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?757e","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?b8e7","uni-app:///uni_modules/uni-popup/components/uni-popup/uni-popup.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?b751","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?f193"],"names":["name","components","emits","props","animation","type","default","isMaskClick","maskClick","backgroundColor","safeArea","maskBackgroundColor","watch","handler","immediate","isDesktop","showPopup","data","duration","ani","showTrans","popupWidth","popupHeight","config","top","bottom","center","left","right","message","dialog","share","maskClass","position","transClass","maskShow","mkclick","popupstyle","computed","bg","mounted","uni","windowWidth","windowHeight","windowTop","screenHeight","safeAreaInsets","fixSize","destroyed","created","methods","setH5Visible","closeMask","disableMask","clear","e","open","direction","console","show","close","clearTimeout","touchstart","onTap","paddingBottom","display","flexDirection","justifyContent","alignItems"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mWAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAq2B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBz3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AArBA,eAuBA;EACAA;EACAC,aAIA;EACAC;EACAC;IACA;IACAC;MACAC;MACAC;IACA;IACA;IACA;IACAD;MACAA;MACAC;IACA;IACA;IACAC;MACAF;MACAC;IACA;IACA;IACAE;MACAH;MACAC;IACA;IACAG;MACAJ;MACAC;IACA;IACAI;MACAL;MACAC;IACA;IACAK;MACAN;MACAC;IACA;EACA;EAEAM;IACA;AACA;AACA;IACAP;MACAQ;QACA;QACA;MACA;MACAC;IACA;IACAC;MACAF;QACA;QACA;MACA;MACAC;IACA;IACA;AACA;AACA;AACA;IACAN;MACAK;QACA;MACA;MACAC;IACA;IACAP;MACAM;QACA;MACA;MACAC;IACA;IACA;IACAE,qCAKA;EACA;EACAC;IACA;MACAC;MACAC;MACAH;MACAI;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MACA;MACAC;QACAC;QACAR;QACAD;QACAG;QACAC;QACAnB;MACA;MACAyB;QACAD;QACAN;QACAC;MACA;MACAO;MACAC;MACAC;IACA;EACA;EACAC;IACAvB;MACA;IACA;IACAwB;MACA;QACA;MACA;MACA;IACA;EACA;EACAC;IAAA;IACA;MACA,4BAOAC;QANAC;QACAC;QACAC;QACAlC;QACAmC;QACAC;MAEA;MACA;MACA;MACA;QAEA;MAKA;QACA;MACA;IACA;IACAC;EAOA;EAEA;EACAC;IACA;EACA;EAQAC;IACA;IACA;MACA;IACA;MACA;IACA;IACA;MACA;IACA;MACA;IACA;IACA;IACA;IACA;IACA;IACA;EACA;EACAC;IACAC,uCAKA;IACA;AACA;AACA;IACAC;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;IACA;IACA;IACAC;MAEAC;MAEA;IACA;IAEAC;MACA;MACA;QACA;MACA;MACA;MACA;QACAC;MACA;MACA;QACAC;QACA;MACA;MACA;MACA;QACAC;QACAtD;MACA;IACA;IACAuD;MAAA;MACA;MACA;QACAD;QACAtD;MACA;MACAwD;MACA;MACA;MACA;QACA;MACA;IACA;IACA;IACAC;MACA;IACA;IAEAC;MACA;QACA;QACA;QACA;MACA;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAvC;MAAA;MACA;MACA;MACA;QACAS;QACAN;QACAC;QACAnB;MACA;MACA;MACA;MACA;MACA;MACA;QACA;UACA;QACA;MACA;IACA;IACA;AACA;AACA;IACAgB;MACA;MACA;MACA;QACAQ;QACAN;QACAC;QACAH;QACAuC;QACAvD;MACA;MACA;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAiB;MACA;MACA;MACA;QACAO;QAEAgC;QACAC;QAEAzC;QACAE;QACAC;QACAJ;QACA2C;QACAC;MACA;MACA;MACA;MACA;MACA;IACA;IACAzC;MACA;MACA;MACA;QACAM;QACAN;QACAF;QACAD;QACAf;QAEAwD;QACAC;MAEA;MACA;MACA;MACA;MACA;IACA;IACAtC;MACA;MACA;MACA;QACAK;QACAR;QACAG;QACAJ;QACAf;QAEAwD;QACAC;MAEA;MACA;MACA;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACnaA;AAAA;AAAA;AAAA;AAA4lD,CAAgB,s6CAAG,EAAC,C;;;;;;;;;;;ACAhnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-popup/components/uni-popup/uni-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-popup.vue?vue&type=template&id=7c43d41b&\"\nvar renderjs\nimport script from \"./uni-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-popup.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 = \"uni_modules/uni-popup/components/uni-popup/uni-popup.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=template&id=7c43d41b&\"","var components\ntry {\n components = {\n uniTransition: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-transition/components/uni-transition/uni-transition\" */ \"@/uni_modules/uni-transition/components/uni-transition/uni-transition.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=script&lang=js&\"","<template>\n\t<view v-if=\"showPopup\" class=\"uni-popup\" :class=\"[popupstyle, isDesktop ? 'fixforpc-z-index' : '']\">\n\t\t<view @touchstart=\"touchstart\">\n\t\t\t<uni-transition key=\"1\" v-if=\"maskShow\" name=\"mask\" mode-class=\"fade\" :styles=\"maskClass\"\n\t\t\t\t:duration=\"duration\" :show=\"showTrans\" @click=\"onTap\" />\n\t\t\t<uni-transition key=\"2\" :mode-class=\"ani\" name=\"content\" :styles=\"transClass\" :duration=\"duration\"\n\t\t\t\t:show=\"showTrans\" @click=\"onTap\">\n\t\t\t\t<view class=\"uni-popup__wrapper\" :style=\"{ backgroundColor: bg }\" :class=\"[popupstyle]\" @click=\"clear\">\n\t\t\t\t\t<slot />\n\t\t\t\t</view>\n\t\t\t</uni-transition>\n\t\t</view>\n\t\t<!-- #ifdef H5 -->\n\t\t<keypress v-if=\"maskShow\" @esc=\"onTap\" />\n\t\t<!-- #endif -->\n\t</view>\n</template>\n\n<script>\n\t// #ifdef H5\n\timport keypress from './keypress.js'\n\t// #endif\n\n\t/**\n\t * PopUp 弹出层\n\t * @description 弹出层组件,为了解决遮罩弹层的问题\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=329\n\t * @property {String} type = [top|center|bottom|left|right|message|dialog|share] 弹出方式\n\t * \t@value top 顶部弹出\n\t * \t@value center 中间弹出\n\t * \t@value bottom 底部弹出\n\t * \t@value left\t\t左侧弹出\n\t * \t@value right 右侧弹出\n\t * \t@value message 消息提示\n\t * \t@value dialog 对话框\n\t * \t@value share 底部分享示例\n\t * @property {Boolean} animation = [true|false] 是否开启动画\n\t * @property {Boolean} maskClick = [true|false] 蒙版点击是否关闭弹窗(废弃)\n\t * @property {Boolean} isMaskClick = [true|false] 蒙版点击是否关闭弹窗\n\t * @property {String} backgroundColor 主窗口背景色\n\t * @property {String} maskBackgroundColor 蒙版颜色\n\t * @property {Boolean} safeArea\t\t 是否适配底部安全区\n\t * @event {Function} change 打开关闭弹窗触发,e={show: false}\n\t * @event {Function} maskClick 点击遮罩触发\n\t */\n\n\texport default {\n\t\tname: 'uniPopup',\n\t\tcomponents: {\n\t\t\t// #ifdef H5\n\t\t\tkeypress\n\t\t\t// #endif\n\t\t},\n\t\temits: ['change', 'maskClick'],\n\t\tprops: {\n\t\t\t// 开启动画\n\t\t\tanimation: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层\n\t\t\t// message: 消息提示 ; dialog : 对话框\n\t\t\ttype: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'center'\n\t\t\t},\n\t\t\t// maskClick\n\t\t\tisMaskClick: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: null\n\t\t\t},\n\t\t\t// TODO 2 个版本后废弃属性 ,使用 isMaskClick\n\t\t\tmaskClick: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: null\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'none'\n\t\t\t},\n\t\t\tsafeArea: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tmaskBackgroundColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'rgba(0, 0, 0, 0.4)'\n\t\t\t},\n\t\t},\n\n\t\twatch: {\n\t\t\t/**\n\t\t\t * 监听type类型\n\t\t\t */\n\t\t\ttype: {\n\t\t\t\thandler: function(type) {\n\t\t\t\t\tif (!this.config[type]) return\n\t\t\t\t\tthis[this.config[type]](true)\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\tisDesktop: {\n\t\t\t\thandler: function(newVal) {\n\t\t\t\t\tif (!this.config[newVal]) return\n\t\t\t\t\tthis[this.config[this.type]](true)\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\t/**\n\t\t\t * 监听遮罩是否可点击\n\t\t\t * @param {Object} val\n\t\t\t */\n\t\t\tmaskClick: {\n\t\t\t\thandler: function(val) {\n\t\t\t\t\tthis.mkclick = val\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\tisMaskClick: {\n\t\t\t\thandler: function(val) {\n\t\t\t\t\tthis.mkclick = val\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\t// H5 下禁止底部滚动\n\t\t\tshowPopup(show) {\n\t\t\t\t// #ifdef H5\n\t\t\t\t// fix by mehaotian 处理 h5 滚动穿透的问题\n\t\t\t\tdocument.getElementsByTagName('body')[0].style.overflow = show ? 'hidden' : 'visible'\n\t\t\t\t// #endif\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tduration: 300,\n\t\t\t\tani: [],\n\t\t\t\tshowPopup: false,\n\t\t\t\tshowTrans: false,\n\t\t\t\tpopupWidth: 0,\n\t\t\t\tpopupHeight: 0,\n\t\t\t\tconfig: {\n\t\t\t\t\ttop: 'top',\n\t\t\t\t\tbottom: 'bottom',\n\t\t\t\t\tcenter: 'center',\n\t\t\t\t\tleft: 'left',\n\t\t\t\t\tright: 'right',\n\t\t\t\t\tmessage: 'top',\n\t\t\t\t\tdialog: 'center',\n\t\t\t\t\tshare: 'bottom'\n\t\t\t\t},\n\t\t\t\tmaskClass: {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbackgroundColor: 'rgba(0, 0, 0, 0.4)'\n\t\t\t\t},\n\t\t\t\ttransClass: {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0\n\t\t\t\t},\n\t\t\t\tmaskShow: true,\n\t\t\t\tmkclick: true,\n\t\t\t\tpopupstyle: this.isDesktop ? 'fixforpc-top' : 'top'\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tisDesktop() {\n\t\t\t\treturn this.popupWidth >= 500 && this.popupHeight >= 500\n\t\t\t},\n\t\t\tbg() {\n\t\t\t\tif (this.backgroundColor === '' || this.backgroundColor === 'none') {\n\t\t\t\t\treturn 'transparent'\n\t\t\t\t}\n\t\t\t\treturn this.backgroundColor\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tconst fixSize = () => {\n\t\t\t\tconst {\n\t\t\t\t\twindowWidth,\n\t\t\t\t\twindowHeight,\n\t\t\t\t\twindowTop,\n\t\t\t\t\tsafeArea,\n\t\t\t\t\tscreenHeight,\n\t\t\t\t\tsafeAreaInsets\n\t\t\t\t} = uni.getSystemInfoSync()\n\t\t\t\tthis.popupWidth = windowWidth\n\t\t\t\tthis.popupHeight = windowHeight + (windowTop || 0)\n\t\t\t\t// TODO fix by mehaotian 是否适配底部安全区 ,目前微信ios 、和 app ios 计算有差异,需要框架修复\n\t\t\t\tif (safeArea && this.safeArea) {\n\t\t\t\t\t// #ifdef MP-WEIXIN\n\t\t\t\t\tthis.safeAreaInsets = screenHeight - safeArea.bottom\n\t\t\t\t\t// #endif\n\t\t\t\t\t// #ifndef MP-WEIXIN\n\t\t\t\t\tthis.safeAreaInsets = safeAreaInsets.bottom\n\t\t\t\t\t// #endif\n\t\t\t\t} else {\n\t\t\t\t\tthis.safeAreaInsets = 0\n\t\t\t\t}\n\t\t\t}\n\t\t\tfixSize()\n\t\t\t// #ifdef H5\n\t\t\t// window.addEventListener('resize', fixSize)\n\t\t\t// this.$once('hook:beforeDestroy', () => {\n\t\t\t// \twindow.removeEventListener('resize', fixSize)\n\t\t\t// })\n\t\t\t// #endif\n\t\t},\n\t\t// #ifndef VUE3\n\t\t// TODO vue2\n\t\tdestroyed() {\n\t\t\tthis.setH5Visible()\n\t\t},\n\t\t// #endif\n\t\t// #ifdef VUE3\n\t\t// TODO vue3\n\t\tunmounted() {\n\t\t\tthis.setH5Visible()\n\t\t},\n\t\t// #endif\n\t\tcreated() {\n\t\t\t// this.mkclick = this.isMaskClick || this.maskClick\n\t\t\tif (this.isMaskClick === null && this.maskClick === null) {\n\t\t\t\tthis.mkclick = true\n\t\t\t} else {\n\t\t\t\tthis.mkclick = this.isMaskClick !== null ? this.isMaskClick : this.maskClick\n\t\t\t}\n\t\t\tif (this.animation) {\n\t\t\t\tthis.duration = 300\n\t\t\t} else {\n\t\t\t\tthis.duration = 0\n\t\t\t}\n\t\t\t// TODO 处理 message 组件生命周期异常的问题\n\t\t\tthis.messageChild = null\n\t\t\t// TODO 解决头条冒泡的问题\n\t\t\tthis.clearPropagation = false\n\t\t\tthis.maskClass.backgroundColor = this.maskBackgroundColor\n\t\t},\n\t\tmethods: {\n\t\t\tsetH5Visible() {\n\t\t\t\t// #ifdef H5\n\t\t\t\t// fix by mehaotian 处理 h5 滚动穿透的问题\n\t\t\t\tdocument.getElementsByTagName('body')[0].style.overflow = 'visible'\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\t/**\n\t\t\t * 公用方法,不显示遮罩层\n\t\t\t */\n\t\t\tcloseMask() {\n\t\t\t\tthis.maskShow = false\n\t\t\t},\n\t\t\t/**\n\t\t\t * 公用方法,遮罩层禁止点击\n\t\t\t */\n\t\t\tdisableMask() {\n\t\t\t\tthis.mkclick = false\n\t\t\t},\n\t\t\t// TODO nvue 取消冒泡\n\t\t\tclear(e) {\n\t\t\t\t// #ifndef APP-NVUE\n\t\t\t\te.stopPropagation()\n\t\t\t\t// #endif\n\t\t\t\tthis.clearPropagation = true\n\t\t\t},\n\n\t\t\topen(direction) {\n\t\t\t\t// fix by mehaotian 处理快速打开关闭的情况\n\t\t\t\tif (this.showPopup) {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tlet innerType = ['top', 'center', 'bottom', 'left', 'right', 'message', 'dialog', 'share']\n\t\t\t\tif (!(direction && innerType.indexOf(direction) !== -1)) {\n\t\t\t\t\tdirection = this.type\n\t\t\t\t}\n\t\t\t\tif (!this.config[direction]) {\n\t\t\t\t\tconsole.error('缺少类型:', direction)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis[this.config[direction]]()\n\t\t\t\tthis.$emit('change', {\n\t\t\t\t\tshow: true,\n\t\t\t\t\ttype: direction\n\t\t\t\t})\n\t\t\t},\n\t\t\tclose(type) {\n\t\t\t\tthis.showTrans = false\n\t\t\t\tthis.$emit('change', {\n\t\t\t\t\tshow: false,\n\t\t\t\t\ttype: this.type\n\t\t\t\t})\n\t\t\t\tclearTimeout(this.timer)\n\t\t\t\t// // 自定义关闭事件\n\t\t\t\t// this.customOpen && this.customClose()\n\t\t\t\tthis.timer = setTimeout(() => {\n\t\t\t\t\tthis.showPopup = false\n\t\t\t\t}, 300)\n\t\t\t},\n\t\t\t// TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容\n\t\t\ttouchstart() {\n\t\t\t\tthis.clearPropagation = false\n\t\t\t},\n\n\t\t\tonTap() {\n\t\t\t\tif (this.clearPropagation) {\n\t\t\t\t\t// fix by mehaotian 兼容 nvue\n\t\t\t\t\tthis.clearPropagation = false\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis.$emit('maskClick')\n\t\t\t\tif (!this.mkclick) return\n\t\t\t\tthis.close()\n\t\t\t},\n\t\t\t/**\n\t\t\t * 顶部弹出样式处理\n\t\t\t */\n\t\t\ttop(type) {\n\t\t\t\tthis.popupstyle = this.isDesktop ? 'fixforpc-top' : 'top'\n\t\t\t\tthis.ani = ['slide-top']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbackgroundColor: this.bg\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tif (this.messageChild && this.type === 'message') {\n\t\t\t\t\t\tthis.messageChild.timerClose()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t/**\n\t\t\t * 底部弹出样式处理\n\t\t\t */\n\t\t\tbottom(type) {\n\t\t\t\tthis.popupstyle = 'bottom'\n\t\t\t\tthis.ani = ['slide-bottom']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tpaddingBottom: this.safeAreaInsets + 'px',\n\t\t\t\t\tbackgroundColor: this.bg\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t},\n\t\t\t/**\n\t\t\t * 中间弹出样式处理\n\t\t\t */\n\t\t\tcenter(type) {\n\t\t\t\tthis.popupstyle = 'center'\n\t\t\t\tthis.ani = ['zoom-out', 'fade']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\t/* #endif */\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tjustifyContent: 'center',\n\t\t\t\t\talignItems: 'center'\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t},\n\t\t\tleft(type) {\n\t\t\t\tthis.popupstyle = 'left'\n\t\t\t\tthis.ani = ['slide-left']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tbackgroundColor: this.bg,\n\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\tflexDirection: 'column'\n\t\t\t\t\t/* #endif */\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t},\n\t\t\tright(type) {\n\t\t\t\tthis.popupstyle = 'right'\n\t\t\t\tthis.ani = ['slide-right']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tbackgroundColor: this.bg,\n\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\tflexDirection: 'column'\n\t\t\t\t\t/* #endif */\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t}\n\t\t}\n\t}\n</script>\n<style lang=\"scss\">\n\t.uni-popup {\n\t\tposition: fixed;\n\t\t/* #ifndef APP-NVUE */\n\t\tz-index: 99;\n\n\t\t/* #endif */\n\t\t&.top,\n\t\t&.left,\n\t\t&.right {\n\t\t\t/* #ifdef H5 */\n\t\t\ttop: var(--window-top);\n\t\t\t/* #endif */\n\t\t\t/* #ifndef H5 */\n\t\t\ttop: 0;\n\t\t\t/* #endif */\n\t\t}\n\n\t\t.uni-popup__wrapper {\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\tdisplay: block;\n\t\t\t/* #endif */\n\t\t\tposition: relative;\n\n\t\t\t/* iphonex 等安全区设置,底部安全区适配 */\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\t// padding-bottom: constant(safe-area-inset-bottom);\n\t\t\t// padding-bottom: env(safe-area-inset-bottom);\n\t\t\t/* #endif */\n\t\t\t&.left,\n\t\t\t&.right {\n\t\t\t\t/* #ifdef H5 */\n\t\t\t\tpadding-top: var(--window-top);\n\t\t\t\t/* #endif */\n\t\t\t\t/* #ifndef H5 */\n\t\t\t\tpadding-top: 0;\n\t\t\t\t/* #endif */\n\t\t\t\tflex: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.fixforpc-z-index {\n\t\t/* #ifndef APP-NVUE */\n\t\tz-index: 999;\n\t\t/* #endif */\n\t}\n\n\t.fixforpc-top {\n\t\ttop: 0;\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966435856\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} {"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?ed1e","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?f417","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?757e","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?b8e7","uni-app:///uni_modules/uni-popup/components/uni-popup/uni-popup.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?b751","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?f193"],"names":["name","components","emits","props","animation","type","default","isMaskClick","maskClick","backgroundColor","safeArea","maskBackgroundColor","watch","handler","immediate","isDesktop","showPopup","data","duration","ani","showTrans","popupWidth","popupHeight","config","top","bottom","center","left","right","message","dialog","share","maskClass","position","transClass","maskShow","mkclick","popupstyle","computed","bg","mounted","uni","windowWidth","windowHeight","windowTop","screenHeight","safeAreaInsets","fixSize","destroyed","created","methods","setH5Visible","closeMask","disableMask","clear","e","open","direction","console","show","close","clearTimeout","touchstart","onTap","paddingBottom","display","flexDirection","justifyContent","alignItems"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mWAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAq2B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBz3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AArBA,eAuBA;EACAA;EACAC,aAIA;EACAC;EACAC;IACA;IACAC;MACAC;MACAC;IACA;IACA;IACA;IACAD;MACAA;MACAC;IACA;IACA;IACAC;MACAF;MACAC;IACA;IACA;IACAE;MACAH;MACAC;IACA;IACAG;MACAJ;MACAC;IACA;IACAI;MACAL;MACAC;IACA;IACAK;MACAN;MACAC;IACA;EACA;EAEAM;IACA;AACA;AACA;IACAP;MACAQ;QACA;QACA;MACA;MACAC;IACA;IACAC;MACAF;QACA;QACA;MACA;MACAC;IACA;IACA;AACA;AACA;AACA;IACAN;MACAK;QACA;MACA;MACAC;IACA;IACAP;MACAM;QACA;MACA;MACAC;IACA;IACA;IACAE,qCAKA;EACA;EACAC;IACA;MACAC;MACAC;MACAH;MACAI;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MACA;MACAC;QACAC;QACAR;QACAD;QACAG;QACAC;QACAnB;MACA;MACAyB;QACAD;QACAN;QACAC;MACA;MACAO;MACAC;MACAC;IACA;EACA;EACAC;IACAvB;MACA;IACA;IACAwB;MACA;QACA;MACA;MACA;IACA;EACA;EACAC;IAAA;IACA;MACA,4BAOAC;QANAC;QACAC;QACAC;QACAlC;QACAmC;QACAC;MAEA;MACA;MACA;MACA;QAEA;MAKA;QACA;MACA;IACA;IACAC;EAOA;EAEA;EACAC;IACA;EACA;EAQAC;IACA;IACA;MACA;IACA;MACA;IACA;IACA;MACA;IACA;MACA;IACA;IACA;IACA;IACA;IACA;IACA;EACA;EACAC;IACAC,uCAKA;IACA;AACA;AACA;IACAC;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;IACA;IACA;IACAC;MAEAC;MAEA;IACA;IAEAC;MACA;MACA;QACA;MACA;MACA;MACA;QACAC;MACA;MACA;QACAC;QACA;MACA;MACA;MACA;QACAC;QACAtD;MACA;IACA;IACAuD;MAAA;MACA;MACA;QACAD;QACAtD;MACA;MACAwD;MACA;MACA;MACA;QACA;MACA;IACA;IACA;IACAC;MACA;IACA;IAEAC;MACA;QACA;QACA;QACA;MACA;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAvC;MAAA;MACA;MACA;MACA;QACAS;QACAN;QACAC;QACAnB;MACA;MACA;MACA;MACA;MACA;MACA;QACA;UACA;QACA;MACA;IACA;IACA;AACA;AACA;IACAgB;MACA;MACA;MACA;QACAQ;QACAN;QACAC;QACAH;QACAuC;QACAvD;MACA;MACA;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAiB;MACA;MACA;MACA;QACAO;QAEAgC;QACAC;QAEAzC;QACAE;QACAC;QACAJ;QACA2C;QACAC;MACA;MACA;MACA;MACA;MACA;IACA;IACAzC;MACA;MACA;MACA;QACAM;QACAN;QACAF;QACAD;QACAf;QAEAwD;QACAC;MAEA;MACA;MACA;MACA;MACA;IACA;IACAtC;MACA;MACA;MACA;QACAK;QACAR;QACAG;QACAJ;QACAf;QAEAwD;QACAC;MAEA;MACA;MACA;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACnaA;AAAA;AAAA;AAAA;AAA4lD,CAAgB,s6CAAG,EAAC,C;;;;;;;;;;;ACAhnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uni-popup/components/uni-popup/uni-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-popup.vue?vue&type=template&id=7c43d41b&\"\nvar renderjs\nimport script from \"./uni-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-popup.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 = \"uni_modules/uni-popup/components/uni-popup/uni-popup.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=template&id=7c43d41b&\"","var components\ntry {\n components = {\n uniTransition: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-transition/components/uni-transition/uni-transition\" */ \"@/uni_modules/uni-transition/components/uni-transition/uni-transition.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=script&lang=js&\"","<template>\n\t<view v-if=\"showPopup\" class=\"uni-popup\" :class=\"[popupstyle, isDesktop ? 'fixforpc-z-index' : '']\">\n\t\t<view @touchstart=\"touchstart\">\n\t\t\t<uni-transition key=\"1\" v-if=\"maskShow\" name=\"mask\" mode-class=\"fade\" :styles=\"maskClass\"\n\t\t\t\t:duration=\"duration\" :show=\"showTrans\" @click=\"onTap\" />\n\t\t\t<uni-transition key=\"2\" :mode-class=\"ani\" name=\"content\" :styles=\"transClass\" :duration=\"duration\"\n\t\t\t\t:show=\"showTrans\" @click=\"onTap\">\n\t\t\t\t<view class=\"uni-popup__wrapper\" :style=\"{ backgroundColor: bg }\" :class=\"[popupstyle]\" @click=\"clear\">\n\t\t\t\t\t<slot />\n\t\t\t\t</view>\n\t\t\t</uni-transition>\n\t\t</view>\n\t\t<!-- #ifdef H5 -->\n\t\t<keypress v-if=\"maskShow\" @esc=\"onTap\" />\n\t\t<!-- #endif -->\n\t</view>\n</template>\n\n<script>\n\t// #ifdef H5\n\timport keypress from './keypress.js'\n\t// #endif\n\n\t/**\n\t * PopUp 弹出层\n\t * @description 弹出层组件,为了解决遮罩弹层的问题\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=329\n\t * @property {String} type = [top|center|bottom|left|right|message|dialog|share] 弹出方式\n\t * \t@value top 顶部弹出\n\t * \t@value center 中间弹出\n\t * \t@value bottom 底部弹出\n\t * \t@value left\t\t左侧弹出\n\t * \t@value right 右侧弹出\n\t * \t@value message 消息提示\n\t * \t@value dialog 对话框\n\t * \t@value share 底部分享示例\n\t * @property {Boolean} animation = [true|false] 是否开启动画\n\t * @property {Boolean} maskClick = [true|false] 蒙版点击是否关闭弹窗(废弃)\n\t * @property {Boolean} isMaskClick = [true|false] 蒙版点击是否关闭弹窗\n\t * @property {String} backgroundColor 主窗口背景色\n\t * @property {String} maskBackgroundColor 蒙版颜色\n\t * @property {Boolean} safeArea\t\t 是否适配底部安全区\n\t * @event {Function} change 打开关闭弹窗触发,e={show: false}\n\t * @event {Function} maskClick 点击遮罩触发\n\t */\n\n\texport default {\n\t\tname: 'uniPopup',\n\t\tcomponents: {\n\t\t\t// #ifdef H5\n\t\t\tkeypress\n\t\t\t// #endif\n\t\t},\n\t\temits: ['change', 'maskClick'],\n\t\tprops: {\n\t\t\t// 开启动画\n\t\t\tanimation: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层\n\t\t\t// message: 消息提示 ; dialog : 对话框\n\t\t\ttype: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'center'\n\t\t\t},\n\t\t\t// maskClick\n\t\t\tisMaskClick: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: null\n\t\t\t},\n\t\t\t// TODO 2 个版本后废弃属性 ,使用 isMaskClick\n\t\t\tmaskClick: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: null\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'none'\n\t\t\t},\n\t\t\tsafeArea: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tmaskBackgroundColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'rgba(0, 0, 0, 0.4)'\n\t\t\t},\n\t\t},\n\n\t\twatch: {\n\t\t\t/**\n\t\t\t * 监听type类型\n\t\t\t */\n\t\t\ttype: {\n\t\t\t\thandler: function(type) {\n\t\t\t\t\tif (!this.config[type]) return\n\t\t\t\t\tthis[this.config[type]](true)\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\tisDesktop: {\n\t\t\t\thandler: function(newVal) {\n\t\t\t\t\tif (!this.config[newVal]) return\n\t\t\t\t\tthis[this.config[this.type]](true)\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\t/**\n\t\t\t * 监听遮罩是否可点击\n\t\t\t * @param {Object} val\n\t\t\t */\n\t\t\tmaskClick: {\n\t\t\t\thandler: function(val) {\n\t\t\t\t\tthis.mkclick = val\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\tisMaskClick: {\n\t\t\t\thandler: function(val) {\n\t\t\t\t\tthis.mkclick = val\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\t// H5 下禁止底部滚动\n\t\t\tshowPopup(show) {\n\t\t\t\t// #ifdef H5\n\t\t\t\t// fix by mehaotian 处理 h5 滚动穿透的问题\n\t\t\t\tdocument.getElementsByTagName('body')[0].style.overflow = show ? 'hidden' : 'visible'\n\t\t\t\t// #endif\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tduration: 300,\n\t\t\t\tani: [],\n\t\t\t\tshowPopup: false,\n\t\t\t\tshowTrans: false,\n\t\t\t\tpopupWidth: 0,\n\t\t\t\tpopupHeight: 0,\n\t\t\t\tconfig: {\n\t\t\t\t\ttop: 'top',\n\t\t\t\t\tbottom: 'bottom',\n\t\t\t\t\tcenter: 'center',\n\t\t\t\t\tleft: 'left',\n\t\t\t\t\tright: 'right',\n\t\t\t\t\tmessage: 'top',\n\t\t\t\t\tdialog: 'center',\n\t\t\t\t\tshare: 'bottom'\n\t\t\t\t},\n\t\t\t\tmaskClass: {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbackgroundColor: 'rgba(0, 0, 0, 0.4)'\n\t\t\t\t},\n\t\t\t\ttransClass: {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0\n\t\t\t\t},\n\t\t\t\tmaskShow: true,\n\t\t\t\tmkclick: true,\n\t\t\t\tpopupstyle: this.isDesktop ? 'fixforpc-top' : 'top'\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tisDesktop() {\n\t\t\t\treturn this.popupWidth >= 500 && this.popupHeight >= 500\n\t\t\t},\n\t\t\tbg() {\n\t\t\t\tif (this.backgroundColor === '' || this.backgroundColor === 'none') {\n\t\t\t\t\treturn 'transparent'\n\t\t\t\t}\n\t\t\t\treturn this.backgroundColor\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tconst fixSize = () => {\n\t\t\t\tconst {\n\t\t\t\t\twindowWidth,\n\t\t\t\t\twindowHeight,\n\t\t\t\t\twindowTop,\n\t\t\t\t\tsafeArea,\n\t\t\t\t\tscreenHeight,\n\t\t\t\t\tsafeAreaInsets\n\t\t\t\t} = uni.getSystemInfoSync()\n\t\t\t\tthis.popupWidth = windowWidth\n\t\t\t\tthis.popupHeight = windowHeight + (windowTop || 0)\n\t\t\t\t// TODO fix by mehaotian 是否适配底部安全区 ,目前微信ios 、和 app ios 计算有差异,需要框架修复\n\t\t\t\tif (safeArea && this.safeArea) {\n\t\t\t\t\t// #ifdef MP-WEIXIN\n\t\t\t\t\tthis.safeAreaInsets = screenHeight - safeArea.bottom\n\t\t\t\t\t// #endif\n\t\t\t\t\t// #ifndef MP-WEIXIN\n\t\t\t\t\tthis.safeAreaInsets = safeAreaInsets.bottom\n\t\t\t\t\t// #endif\n\t\t\t\t} else {\n\t\t\t\t\tthis.safeAreaInsets = 0\n\t\t\t\t}\n\t\t\t}\n\t\t\tfixSize()\n\t\t\t// #ifdef H5\n\t\t\t// window.addEventListener('resize', fixSize)\n\t\t\t// this.$once('hook:beforeDestroy', () => {\n\t\t\t// \twindow.removeEventListener('resize', fixSize)\n\t\t\t// })\n\t\t\t// #endif\n\t\t},\n\t\t// #ifndef VUE3\n\t\t// TODO vue2\n\t\tdestroyed() {\n\t\t\tthis.setH5Visible()\n\t\t},\n\t\t// #endif\n\t\t// #ifdef VUE3\n\t\t// TODO vue3\n\t\tunmounted() {\n\t\t\tthis.setH5Visible()\n\t\t},\n\t\t// #endif\n\t\tcreated() {\n\t\t\t// this.mkclick = this.isMaskClick || this.maskClick\n\t\t\tif (this.isMaskClick === null && this.maskClick === null) {\n\t\t\t\tthis.mkclick = true\n\t\t\t} else {\n\t\t\t\tthis.mkclick = this.isMaskClick !== null ? this.isMaskClick : this.maskClick\n\t\t\t}\n\t\t\tif (this.animation) {\n\t\t\t\tthis.duration = 300\n\t\t\t} else {\n\t\t\t\tthis.duration = 0\n\t\t\t}\n\t\t\t// TODO 处理 message 组件生命周期异常的问题\n\t\t\tthis.messageChild = null\n\t\t\t// TODO 解决头条冒泡的问题\n\t\t\tthis.clearPropagation = false\n\t\t\tthis.maskClass.backgroundColor = this.maskBackgroundColor\n\t\t},\n\t\tmethods: {\n\t\t\tsetH5Visible() {\n\t\t\t\t// #ifdef H5\n\t\t\t\t// fix by mehaotian 处理 h5 滚动穿透的问题\n\t\t\t\tdocument.getElementsByTagName('body')[0].style.overflow = 'visible'\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\t/**\n\t\t\t * 公用方法,不显示遮罩层\n\t\t\t */\n\t\t\tcloseMask() {\n\t\t\t\tthis.maskShow = false\n\t\t\t},\n\t\t\t/**\n\t\t\t * 公用方法,遮罩层禁止点击\n\t\t\t */\n\t\t\tdisableMask() {\n\t\t\t\tthis.mkclick = false\n\t\t\t},\n\t\t\t// TODO nvue 取消冒泡\n\t\t\tclear(e) {\n\t\t\t\t// #ifndef APP-NVUE\n\t\t\t\te.stopPropagation()\n\t\t\t\t// #endif\n\t\t\t\tthis.clearPropagation = true\n\t\t\t},\n\n\t\t\topen(direction) {\n\t\t\t\t// fix by mehaotian 处理快速打开关闭的情况\n\t\t\t\tif (this.showPopup) {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tlet innerType = ['top', 'center', 'bottom', 'left', 'right', 'message', 'dialog', 'share']\n\t\t\t\tif (!(direction && innerType.indexOf(direction) !== -1)) {\n\t\t\t\t\tdirection = this.type\n\t\t\t\t}\n\t\t\t\tif (!this.config[direction]) {\n\t\t\t\t\tconsole.error('缺少类型:', direction)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis[this.config[direction]]()\n\t\t\t\tthis.$emit('change', {\n\t\t\t\t\tshow: true,\n\t\t\t\t\ttype: direction\n\t\t\t\t})\n\t\t\t},\n\t\t\tclose(type) {\n\t\t\t\tthis.showTrans = false\n\t\t\t\tthis.$emit('change', {\n\t\t\t\t\tshow: false,\n\t\t\t\t\ttype: this.type\n\t\t\t\t})\n\t\t\t\tclearTimeout(this.timer)\n\t\t\t\t// // 自定义关闭事件\n\t\t\t\t// this.customOpen && this.customClose()\n\t\t\t\tthis.timer = setTimeout(() => {\n\t\t\t\t\tthis.showPopup = false\n\t\t\t\t}, 300)\n\t\t\t},\n\t\t\t// TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容\n\t\t\ttouchstart() {\n\t\t\t\tthis.clearPropagation = false\n\t\t\t},\n\n\t\t\tonTap() {\n\t\t\t\tif (this.clearPropagation) {\n\t\t\t\t\t// fix by mehaotian 兼容 nvue\n\t\t\t\t\tthis.clearPropagation = false\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis.$emit('maskClick')\n\t\t\t\tif (!this.mkclick) return\n\t\t\t\tthis.close()\n\t\t\t},\n\t\t\t/**\n\t\t\t * 顶部弹出样式处理\n\t\t\t */\n\t\t\ttop(type) {\n\t\t\t\tthis.popupstyle = this.isDesktop ? 'fixforpc-top' : 'top'\n\t\t\t\tthis.ani = ['slide-top']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbackgroundColor: this.bg\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tif (this.messageChild && this.type === 'message') {\n\t\t\t\t\t\tthis.messageChild.timerClose()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t/**\n\t\t\t * 底部弹出样式处理\n\t\t\t */\n\t\t\tbottom(type) {\n\t\t\t\tthis.popupstyle = 'bottom'\n\t\t\t\tthis.ani = ['slide-bottom']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tpaddingBottom: this.safeAreaInsets + 'px',\n\t\t\t\t\tbackgroundColor: this.bg\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t},\n\t\t\t/**\n\t\t\t * 中间弹出样式处理\n\t\t\t */\n\t\t\tcenter(type) {\n\t\t\t\tthis.popupstyle = 'center'\n\t\t\t\tthis.ani = ['zoom-out', 'fade']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\t/* #endif */\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tjustifyContent: 'center',\n\t\t\t\t\talignItems: 'center'\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t},\n\t\t\tleft(type) {\n\t\t\t\tthis.popupstyle = 'left'\n\t\t\t\tthis.ani = ['slide-left']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tbackgroundColor: this.bg,\n\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\tflexDirection: 'column'\n\t\t\t\t\t/* #endif */\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t},\n\t\t\tright(type) {\n\t\t\t\tthis.popupstyle = 'right'\n\t\t\t\tthis.ani = ['slide-right']\n\t\t\t\tthis.transClass = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tbackgroundColor: this.bg,\n\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\tflexDirection: 'column'\n\t\t\t\t\t/* #endif */\n\t\t\t\t}\n\t\t\t\t// TODO 兼容 type 属性 ,后续会废弃\n\t\t\t\tif (type) return\n\t\t\t\tthis.showPopup = true\n\t\t\t\tthis.showTrans = true\n\t\t\t}\n\t\t}\n\t}\n</script>\n<style lang=\"scss\">\n\t.uni-popup {\n\t\tposition: fixed;\n\t\t/* #ifndef APP-NVUE */\n\t\tz-index: 99;\n\n\t\t/* #endif */\n\t\t&.top,\n\t\t&.left,\n\t\t&.right {\n\t\t\t/* #ifdef H5 */\n\t\t\ttop: var(--window-top);\n\t\t\t/* #endif */\n\t\t\t/* #ifndef H5 */\n\t\t\ttop: 0;\n\t\t\t/* #endif */\n\t\t}\n\n\t\t.uni-popup__wrapper {\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\tdisplay: block;\n\t\t\t/* #endif */\n\t\t\tposition: relative;\n\n\t\t\t/* iphonex 等安全区设置,底部安全区适配 */\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\t// padding-bottom: constant(safe-area-inset-bottom);\n\t\t\t// padding-bottom: env(safe-area-inset-bottom);\n\t\t\t/* #endif */\n\t\t\t&.left,\n\t\t\t&.right {\n\t\t\t\t/* #ifdef H5 */\n\t\t\t\tpadding-top: var(--window-top);\n\t\t\t\t/* #endif */\n\t\t\t\t/* #ifndef H5 */\n\t\t\t\tpadding-top: 0;\n\t\t\t\t/* #endif */\n\t\t\t\tflex: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.fixforpc-z-index {\n\t\t/* #ifndef APP-NVUE */\n\t\tz-index: 999;\n\t\t/* #endif */\n\t}\n\n\t.fixforpc-top {\n\t\ttop: 0;\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909057691\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \ No newline at end of file
{"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?6109","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?1f53","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?0138","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?cc43","uni-app:///uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?eb81","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?42b5","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?a3a0","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?60d3"],"names":["name","options","virtualHost","mixins","props","customStyle","type","default","swiperItemWidth","swiperItemHeight","data","wxsItemTransform","itemStyle","offsetLeft","offsetTop","itemClass","width","height","mounted","computed","slideClass","watch","handler","immediate","methods","unitFormat","onClickSlide","event","index","transform","transition","willChange","css","Object","transitionEnd","setTimeout","getSize","query","resolve","addClass","removeClass","hasClass","nextAll","prevAll"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0V;AAC1V;AACiE;AACL;AACsC;;;AAGlG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wTAAM;AACR,EAAE,iUAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4TAAU;AACZ;AACA;;AAEA;AAC0P;AAC1P,WAAW,uQAAM,iBAAiB,+QAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;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,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAy2B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACe73B;AAGA;;;;;;;;;;;;;;;gBAGA;EACAA;EAEAC;IACAC;EACA;EAEAC;EACAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MACAH;MACAC;IACA;EACA;EACAG;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACAC;MACA;IACA;EACA;EACAC;IACAb;MACAc;QACA;UACA;QACA;MACA;MACAC;IACA;IACAd;MACAa;QACA;UACA;QACA;MACA;MACAC;IACA;EACA;EACAC;IACAC;MACA;QACA;UACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;UACA;QACA;UACA;QACA;MACA;IACA;IACAC;MACA;QACAC;QACAC;MACA;MACA;MACA;IACA;IACAC;MAKA;IAEA;IACAC;MAKA;IAEA;IACAC;MACA;IACA;IACAC;MAAA;MACAC;QACA;MACA;IACA;IACAC;MACAC;IACA;IACAC;MAAA;MACA;MACA;QACAC;UACA;YACA;YACA;UACA;UACA;YACA;YACA;UACA;UACA;YACA;YACA;UACA;UACAC;YACAtB;YACAC;UACA;QACA;MACA;IACA;IACAsB;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACAC;MAAA;MACA;QACA;MACA;IACA;IACAC;MAAA;MACA;QACA;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;;ACnLA;AAAA;AAAA;AAAA;AAAwnD,CAAgB,k8CAAG,EAAC,C;;;;;;;;;;;ACA5oD;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAAia,CAAgB,wdAAG,EAAC,C;;;;;;;;;;;;ACArb;AAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA,M","file":"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./z-swiper-item.vue?vue&type=template&id=391a97dd&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjU4OSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjU4OX19&\"\nvar renderjs\nimport script from \"./z-swiper-item.vue?vue&type=script&lang=js&\"\nexport * from \"./z-swiper-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 \"391a97dd\",\n null,\n false,\n components,\n renderjs\n)\n\n/* custom blocks */\nimport block0 from \"../../wxs/z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper-item%2Fz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"\nif (typeof block0 === 'function') block0(component)\n\ncomponent.options.__file = \"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=template&id=391a97dd&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjU4OSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjU4OX19&\"","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.itemStyle, _vm.customStyle])\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 \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"","<template>\n\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\n\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\">\n\t\t<!-- #endif -->\n\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\n\t\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\"\n\t\t\t:swiperItemTransform=\"wxsItemTransform\" :change:swiperItemTransform=\"zSwiperWxs.wxsItemTransformObserver\">\n\t\t\t<!-- #endif -->\n\t\t\t<slot></slot>\n\t\t</view>\n</template>\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\n<!-- #endif -->\n<script>\n\timport {\n\t\tChildrenMixin\n\t} from '../../libs/mixins/relation.js';\n\timport {\n\t\tgetRect\n\t} from '../../libs/utils/utils.js';\n\texport default {\n\t\tname: \"z-swipe-item\",\n\t\t// #ifdef MP-WEIXIN\n\t\toptions: {\n\t\t\tvirtualHost: true\n\t\t},\n\t\t// #endif\n\t\tmixins: [ChildrenMixin('zSwipe')],\n\t\tprops: {\n\t\t\tcustomStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn {};\n\t\t\t\t}\n\t\t\t},\n\t\t\tswiperItemWidth: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\tswiperItemHeight: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\twxsItemTransform: \"\",\n\t\t\t\titemStyle: {},\n\t\t\t\toffsetLeft: 0,\n\t\t\t\toffsetTop: 0,\n\t\t\t\titemClass: [],\n\t\t\t\twidth: 0,\n\t\t\t\theight: 0,\n\t\t\t};\n\t\t},\n\t\tmounted() {\n\t\t\tthis.getSize();\n\t\t},\n\t\tcomputed: {\n\t\t\tslideClass() {\n\t\t\t\treturn this.itemClass.join(\" \");\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tswiperItemWidth: {\n\t\t\t\thandler(val) {\n\t\t\t\t\tif (val) {\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'width', this.unitFormat(val, \"rpx\"))\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\tswiperItemHeight: {\n\t\t\t\thandler(val) {\n\t\t\t\t\tif (val) {\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'height', this.unitFormat(val, \"rpx\"))\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tunitFormat(val, type) {\n\t\t\t\tif (type == \"rpx\") {\n\t\t\t\t\tif (val.includes(\"rpx\") || val.includes(\"px\")) {\n\t\t\t\t\t\treturn val;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn val + 'px';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (type == \"number\") {\n\t\t\t\t\tif (val.includes(\"rpx\")) {\n\t\t\t\t\t\treturn uni.upx2px(parseInt(val.replace(\"rpx\", \"\")))\n\t\t\t\t\t} else if (!val.includes(\"rpx\") && val.includes(\"px\")) {\n\t\t\t\t\t\treturn parseInt(val.replace(\"px\", \"\"))\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn val;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tonClickSlide(event) {\n\t\t\t\tthis.$emit(\"click\", {\n\t\t\t\t\tevent,\n\t\t\t\t\tindex: this.index\n\t\t\t\t});\n\t\t\t\tthis.parent.swiper.updateClickedSlide(this.index);\n\t\t\t\tthis.parent.swiper.emit(\"slideClick\", this.index);\n\t\t\t},\n\t\t\ttransform(value) {\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.$set(this.itemStyle, 'transform', value)\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.wxsItemTransform = value\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\ttransition(value) {\n\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\tthis.$set(this.itemStyle, 'transitionDuration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-BAIDU\n\t\t\t\tthis.$set(this.itemStyle, 'transition-duration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\twillChange(value) {\n\t\t\t\tthis.$set(this.itemStyle, 'will-change', value)\n\t\t\t},\n\t\t\tcss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.itemStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\ttransitionEnd(callback, duration) {\n\t\t\t\tsetTimeout(callback, duration)\n\t\t\t},\n\t\t\tgetSize() {\n\t\t\t\tconst query = uni.createSelectorQuery().in(this);\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tquery.select('.swiper-slide').boundingClientRect(data => {\n\t\t\t\t\t\tif (this.swiperItemWidth) {\n\t\t\t\t\t\t\tthis.width = this.unitFormat(this.swiperItemWidth, \"number\");\n\t\t\t\t\t\t\tthis.height = data.height;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (this.swiperItemHeight) {\n\t\t\t\t\t\t\tthis.width = data.width;\n\t\t\t\t\t\t\tthis.height = this.unitFormat(this.swiperItemHeight, \"number\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!this.swiperItemWidth && !this.swiperItemHeight) {\n\t\t\t\t\t\t\tthis.width = data.width;\n\t\t\t\t\t\t\tthis.height = data.height;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresolve({\n\t\t\t\t\t\t\twidth: this.width,\n\t\t\t\t\t\t\theight: this.height\n\t\t\t\t\t\t})\n\t\t\t\t\t}).exec();\n\t\t\t\t})\n\t\t\t},\n\t\t\taddClass(value) {\n\t\t\t\tthis.itemClass = Array.from(new Set([...this.itemClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremoveClass(value) {\n\t\t\t\tthis.itemClass = this.itemClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\thasClass(value) {\n\t\t\t\treturn this.itemClass.includes(value);\n\t\t\t},\n\t\t\tnextAll() {\n\t\t\t\treturn this.parent.children.filter((item) => {\n\t\t\t\t\treturn item.index > this.index\n\t\t\t\t})\n\t\t\t},\n\t\t\tprevAll() {\n\t\t\t\treturn this.parent.children.filter((item) => {\n\t\t\t\t\treturn item.index < this.index\n\t\t\t\t}).reverse()\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import '../../libs/core.scss';\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966435476\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper-item%2Fz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper-item%2Fz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"","export default function (Component) {\n if(!Component.options.wxsCallMethods){\n Component.options.wxsCallMethods = []\n }\n Component.options.wxsCallMethods.push('onTouchStartSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchMoveSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchEndSwiperWxs')\n }"],"sourceRoot":""} {"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?6109","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?1f53","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?0138","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?cc43","uni-app:///uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?eb81","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?42b5","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?a3a0","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?60d3"],"names":["name","options","virtualHost","mixins","props","customStyle","type","default","swiperItemWidth","swiperItemHeight","data","wxsItemTransform","itemStyle","offsetLeft","offsetTop","itemClass","width","height","mounted","computed","slideClass","watch","handler","immediate","methods","unitFormat","onClickSlide","event","index","transform","transition","willChange","css","Object","transitionEnd","setTimeout","getSize","query","resolve","addClass","removeClass","hasClass","nextAll","prevAll"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0V;AAC1V;AACiE;AACL;AACsC;;;AAGlG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wTAAM;AACR,EAAE,iUAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4TAAU;AACZ;AACA;;AAEA;AAC0P;AAC1P,WAAW,uQAAM,iBAAiB,+QAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;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,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAy2B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACe73B;AAGA;;;;;;;;;;;;;;;gBAGA;EACAA;EAEAC;IACAC;EACA;EAEAC;EACAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MACAH;MACAC;IACA;EACA;EACAG;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACAC;MACA;IACA;EACA;EACAC;IACAb;MACAc;QACA;UACA;QACA;MACA;MACAC;IACA;IACAd;MACAa;QACA;UACA;QACA;MACA;MACAC;IACA;EACA;EACAC;IACAC;MACA;QACA;UACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;UACA;QACA;UACA;QACA;MACA;IACA;IACAC;MACA;QACAC;QACAC;MACA;MACA;MACA;IACA;IACAC;MAKA;IAEA;IACAC;MAKA;IAEA;IACAC;MACA;IACA;IACAC;MAAA;MACAC;QACA;MACA;IACA;IACAC;MACAC;IACA;IACAC;MAAA;MACA;MACA;QACAC;UACA;YACA;YACA;UACA;UACA;YACA;YACA;UACA;UACA;YACA;YACA;UACA;UACAC;YACAtB;YACAC;UACA;QACA;MACA;IACA;IACAsB;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACAC;MAAA;MACA;QACA;MACA;IACA;IACAC;MAAA;MACA;QACA;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;;ACnLA;AAAA;AAAA;AAAA;AAAwnD,CAAgB,k8CAAG,EAAC,C;;;;;;;;;;;ACA5oD;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAAia,CAAgB,wdAAG,EAAC,C;;;;;;;;;;;;ACArb;AAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA,M","file":"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./z-swiper-item.vue?vue&type=template&id=391a97dd&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjU4OSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjU4OX19&\"\nvar renderjs\nimport script from \"./z-swiper-item.vue?vue&type=script&lang=js&\"\nexport * from \"./z-swiper-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 \"391a97dd\",\n null,\n false,\n components,\n renderjs\n)\n\n/* custom blocks */\nimport block0 from \"../../wxs/z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper-item%2Fz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"\nif (typeof block0 === 'function') block0(component)\n\ncomponent.options.__file = \"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=template&id=391a97dd&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjU4OSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjU4OX19&\"","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.itemStyle, _vm.customStyle])\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 \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"","<template>\n\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\n\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\">\n\t\t<!-- #endif -->\n\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\n\t\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\"\n\t\t\t:swiperItemTransform=\"wxsItemTransform\" :change:swiperItemTransform=\"zSwiperWxs.wxsItemTransformObserver\">\n\t\t\t<!-- #endif -->\n\t\t\t<slot></slot>\n\t\t</view>\n</template>\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\n<!-- #endif -->\n<script>\n\timport {\n\t\tChildrenMixin\n\t} from '../../libs/mixins/relation.js';\n\timport {\n\t\tgetRect\n\t} from '../../libs/utils/utils.js';\n\texport default {\n\t\tname: \"z-swipe-item\",\n\t\t// #ifdef MP-WEIXIN\n\t\toptions: {\n\t\t\tvirtualHost: true\n\t\t},\n\t\t// #endif\n\t\tmixins: [ChildrenMixin('zSwipe')],\n\t\tprops: {\n\t\t\tcustomStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn {};\n\t\t\t\t}\n\t\t\t},\n\t\t\tswiperItemWidth: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\tswiperItemHeight: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\twxsItemTransform: \"\",\n\t\t\t\titemStyle: {},\n\t\t\t\toffsetLeft: 0,\n\t\t\t\toffsetTop: 0,\n\t\t\t\titemClass: [],\n\t\t\t\twidth: 0,\n\t\t\t\theight: 0,\n\t\t\t};\n\t\t},\n\t\tmounted() {\n\t\t\tthis.getSize();\n\t\t},\n\t\tcomputed: {\n\t\t\tslideClass() {\n\t\t\t\treturn this.itemClass.join(\" \");\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tswiperItemWidth: {\n\t\t\t\thandler(val) {\n\t\t\t\t\tif (val) {\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'width', this.unitFormat(val, \"rpx\"))\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t},\n\t\t\tswiperItemHeight: {\n\t\t\t\thandler(val) {\n\t\t\t\t\tif (val) {\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'height', this.unitFormat(val, \"rpx\"))\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timmediate: true\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tunitFormat(val, type) {\n\t\t\t\tif (type == \"rpx\") {\n\t\t\t\t\tif (val.includes(\"rpx\") || val.includes(\"px\")) {\n\t\t\t\t\t\treturn val;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn val + 'px';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (type == \"number\") {\n\t\t\t\t\tif (val.includes(\"rpx\")) {\n\t\t\t\t\t\treturn uni.upx2px(parseInt(val.replace(\"rpx\", \"\")))\n\t\t\t\t\t} else if (!val.includes(\"rpx\") && val.includes(\"px\")) {\n\t\t\t\t\t\treturn parseInt(val.replace(\"px\", \"\"))\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn val;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tonClickSlide(event) {\n\t\t\t\tthis.$emit(\"click\", {\n\t\t\t\t\tevent,\n\t\t\t\t\tindex: this.index\n\t\t\t\t});\n\t\t\t\tthis.parent.swiper.updateClickedSlide(this.index);\n\t\t\t\tthis.parent.swiper.emit(\"slideClick\", this.index);\n\t\t\t},\n\t\t\ttransform(value) {\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.$set(this.itemStyle, 'transform', value)\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.wxsItemTransform = value\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\ttransition(value) {\n\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\tthis.$set(this.itemStyle, 'transitionDuration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-BAIDU\n\t\t\t\tthis.$set(this.itemStyle, 'transition-duration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\twillChange(value) {\n\t\t\t\tthis.$set(this.itemStyle, 'will-change', value)\n\t\t\t},\n\t\t\tcss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.itemStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\ttransitionEnd(callback, duration) {\n\t\t\t\tsetTimeout(callback, duration)\n\t\t\t},\n\t\t\tgetSize() {\n\t\t\t\tconst query = uni.createSelectorQuery().in(this);\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tquery.select('.swiper-slide').boundingClientRect(data => {\n\t\t\t\t\t\tif (this.swiperItemWidth) {\n\t\t\t\t\t\t\tthis.width = this.unitFormat(this.swiperItemWidth, \"number\");\n\t\t\t\t\t\t\tthis.height = data.height;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (this.swiperItemHeight) {\n\t\t\t\t\t\t\tthis.width = data.width;\n\t\t\t\t\t\t\tthis.height = this.unitFormat(this.swiperItemHeight, \"number\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!this.swiperItemWidth && !this.swiperItemHeight) {\n\t\t\t\t\t\t\tthis.width = data.width;\n\t\t\t\t\t\t\tthis.height = data.height;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresolve({\n\t\t\t\t\t\t\twidth: this.width,\n\t\t\t\t\t\t\theight: this.height\n\t\t\t\t\t\t})\n\t\t\t\t\t}).exec();\n\t\t\t\t})\n\t\t\t},\n\t\t\taddClass(value) {\n\t\t\t\tthis.itemClass = Array.from(new Set([...this.itemClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremoveClass(value) {\n\t\t\t\tthis.itemClass = this.itemClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\thasClass(value) {\n\t\t\t\treturn this.itemClass.includes(value);\n\t\t\t},\n\t\t\tnextAll() {\n\t\t\t\treturn this.parent.children.filter((item) => {\n\t\t\t\t\treturn item.index > this.index\n\t\t\t\t})\n\t\t\t},\n\t\t\tprevAll() {\n\t\t\t\treturn this.parent.children.filter((item) => {\n\t\t\t\t\treturn item.index < this.index\n\t\t\t\t}).reverse()\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import '../../libs/core.scss';\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909057818\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper-item%2Fz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper-item%2Fz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"","export default function (Component) {\n if(!Component.options.wxsCallMethods){\n Component.options.wxsCallMethods = []\n }\n Component.options.wxsCallMethods.push('onTouchStartSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchMoveSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchEndSwiperWxs')\n }"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?6a0e","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?3970","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?e270","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?7dcf","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?92e6","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?2f85","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?7ee6","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?a33e","uni-app:///uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue"],"names":["name","options","virtualHost","mixins","props","customStyle","type","default","value","data","wxsTransform","wrapperStyle","contentClass","nextElClass","prevElClass","paginationElClass","paginationItemElClass","loopBlankShow","loopBlankNumber","cubeShadowShowWrapper","cubeShadowShowRoot","cubeShadowStyle","eventsListeners","showPrevButton","showPrevButtonSlot","showNextButton","showNextButtonSlot","showIndicators","paginationContent","paginationType","paginationStyle","scrollbarElClass","scrollbarStyle","scrollbarItemStyle","rectInfo","containerClasses","virtualData","firstLoad","originalDataList","loopUpdateData","computed","nextClass","prevClass","paginationClass","paginationItemClass","scrollbarClass","scrollbarShow","created","swiperParams","passedParams","args","Object","_containerClasses","cache","slides","renderExternal","renderExternalUpdate","toString","val","top","map","slide","deep","immediate","uni","children","Promise","beforeDestroy","methods","loadSwiper","swiperElId","emit","updateData","getRect","getRectScrollbar","willChange","transform","transition","scrollbarTransform","scrollbarTransition","scrollbarItemTransform","scrollbarItemTransition","addClass","removeClass","addPaginationClass","removePaginationClass","addScrollbarClass","removeScrollbarClass","setCss","css","paginationCss","scrollbarCss","scrollbarItemCss","addNextElClass","addPrevElClass","removeNextElClass","removePrevElClass","cubeShadowCss","cubeShadowTransform","cubeShadowTransition","swiperRef","el","nextEl","prevEl","paginationEl","scrollbarEl","swiper","updateSwiper","initializedRef","newPassedParams","oldPassedParamsRef","slidesRef","oldSlidesRef","changedParams","breakpointChanged","setPaginationCss","setSwiperOn","paginationItemClick","prevClick","nextClick","onTouchStart","onTouchStartSwiperWxs","onTouchMove","onTouchMoveSwiperWxs","onTouchEnd","onTouchEndSwiperWxs","onClickWrapper","onClickScrollbar","onTouchStartScrollbar","onTouchMoveScrollbar","onTouchEndScrollbar"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAmnD,CAAgB,67CAAG,EAAC,C;;;;;;;;;;;ACAvoD;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAAuZ,CAAgB,8cAAG,EAAC,C;;;;;;;;;;;;ACA3a;AAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA,M;;;;;;;;;;;;ACPA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2V;AAC3V;AAC4D;AACL;AACsC;;;AAG7F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,yTAAM;AACR,EAAE,kUAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6TAAU;AACZ;AACA;;AAEA;AACgP;AAChP,WAAW,6PAAM,iBAAiB,qQAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uVAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7EA;AAAA;AAAA;AAAA;AAAo2B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACyEx3B;AAKA;AAGA;AAIA;AAOA;AAIA;AAGA;AAGA;AAKA;AAEA;AAAA;AAAA,gBAEA;EACAA;EAEAC;IACAC;EACA;EAEAC,SACA,qCACA;EAwBAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAN;MACAK;MACAC;QACA;MACA;IACA;IAEAC;MACAF;MACAC;QACA;MACA;IACA;EAUA;EACAE;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAEA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IAWAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;EACAC;IAAA;IACA,iBAGA;MAFAC;MACAC;IAEA;IACA;IACA;IACA;IAEAD;MAAA;QAAAE;MAAA;MAEA;;MAEA;QACA;MACA;IAMA;IACAC;MACAC;QACA;MACA;IACA;IACA;MACA;QACA5C;QACAP;MACA;IACA;MACA;MACA;QACA;UACA;UACA;YACAoD;YACAC;YACAC;cACA;cAEA;YAKA;YACAC;UACA;UACA;UACA;QACA;MACA;MACA;MACA;QACA,oFACAC;UACA;UACA;QAMA;UACA;UACA;UACA,kFACAC;YACA;YAEA;YAKA;UACA;QACA;MACA;MACA;QACA;UACA,4EACA,sCACA,kBACA,mCACA;YACAC;UACA;UACA,eACAC;YACAC;UACA;QAEA;QAGA;MACA;IACA;MACAC;MACAC;IACA;IACA;MACA;IACA;MACA;QACAZ;UACAO;QACA;MACA;IACA;MACAI;IACA;IACA;MACA;IACA;MACA;QACA;MACA;IACA;MACAA;IACA;IACAE;MAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBACA;kBACAC;oBACA;kBACA;oBACA;sBACA,4DACAT,0BACAA;wBACA;0BACA;wBACA;sBACA;wBACA;sBACA;oBACA;sBACA;wBACA;sBACA;oBACA;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CACA;MAAA;QAAA;MAAA;IAAA;EACA;EAEAU;IACA;MACA;IACA;EACA;EASAC;IACAC;MACA;MACA;MACA;MACA,wGACA,aACA;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MAAA,GACA;MACA;MACAC;MACAA;MACA;QACAA;MACA;MAEA;MACA;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MACA,GACA,kBACA;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;QACAP;QACAQ;MACA;MACA;MACA,kBAEA;QADAC;MAEA,4DACAA,iBACAC,oBACAC,WACAC,aACA;MACA;MACA;MACA,IACA,+CACAZ,aACA,sBACA;QACA;UACAM;UACApD;UACAL;UACAgE;UACAX;UACAC;UACAE;UACAD;QACA;MACA;MACAU;IACA;IACA3C;MACA;IACA;IACAE;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAvC;gBACA;gBAAA,kCACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAwC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAxC;gBAAA,kCACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAsC;MAAA;MACArB;QACA;MACA;IACA;IACAwB;MACA;IACA;IACAC;MAKA;IAEA;IACAC;MAKA;IAEA;IACAW;MAAA;MACArC;QACA;MACA;IACA;IACA2B;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MAKA;IAEA;IACAC;MAMA;QAAA;MAAA;IAEA;IACAC;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACA4B;MAAA;MACAhE;QACA;MACA;IACA;IACAwC;MAAA;MACAxC;QACA;MACA;IACA;IACAyC;MAAA;MACAzC;QACA;MACA;IACA;IACA0C;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAoB;MACA;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAjC;MAAA;MACA9C;QACA;MACA;IACA;IACA+C;MACA;IACA;IACAC;MACA;IACA;EACA;AACA;AAAA,4B","file":"uni_modules/zebra-swiper/components/z-swiper/z-swiper.js","sourcesContent":["import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721966436002\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper%2Fz-swiper.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper%2Fz-swiper.vue&module=zSwiperWxs&lang=wxs\"","export default function (Component) {\n if(!Component.options.wxsCallMethods){\n Component.options.wxsCallMethods = []\n }\n Component.options.wxsCallMethods.push('onTouchStartSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchMoveSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchEndSwiperWxs')\n }","import { render, staticRenderFns, recyclableRender, components } from \"./z-swiper.vue?vue&type=template&id=2ff4d8de&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMyOTMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMjkzfX0%3D&\"\nvar renderjs\nimport script from \"./z-swiper.vue?vue&type=script&lang=js&\"\nexport * from \"./z-swiper.vue?vue&type=script&lang=js&\"\nimport style0 from \"./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 \"2ff4d8de\",\n null,\n false,\n components,\n renderjs\n)\n\n/* custom blocks */\nimport block0 from \"../../wxs/z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper%2Fz-swiper.vue&module=zSwiperWxs&lang=wxs\"\nif (typeof block0 === 'function') block0(component)\n\ncomponent.options.__file = \"uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=template&id=2ff4d8de&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMyOTMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMjkzfX0%3D&\"","var components\ntry {\n components = {\n zSwiperItem: function () {\n return import(\n /* webpackChunkName: \"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item\" */ \"@/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.customStyle])\n var s1 = _vm.__get_style([_vm.wrapperStyle])\n var s2 = _vm.cubeShadowShowWrapper\n ? _vm.__get_style([_vm.cubeShadowStyle])\n : null\n var s3 = _vm.cubeShadowShowRoot\n ? _vm.__get_style([_vm.cubeShadowStyle])\n : null\n var s4 = _vm.showIndicators ? _vm.__get_style([_vm.paginationStyle]) : null\n var l0 =\n _vm.showIndicators && _vm.paginationType == \"bullets\"\n ? _vm.__map(_vm.paginationContent, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var s5 = _vm.__get_style([item.styleContent])\n var g0 = item.classContent.join(\" \")\n return {\n $orig: $orig,\n s5: s5,\n g0: g0,\n }\n })\n : null\n var s6 =\n _vm.showIndicators && _vm.paginationType == \"progressbar\"\n ? _vm.__get_style([_vm.paginationContent.styleContent])\n : null\n var s7 = _vm.scrollbarShow ? _vm.__get_style([_vm.scrollbarStyle]) : null\n var s8 = _vm.scrollbarShow ? _vm.__get_style([_vm.scrollbarItemStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3,\n s4: s4,\n l0: l0,\n s6: s6,\n s7: s7,\n s8: s8,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"","<template>\n\t<view :id=\"'swiper'+_uid\"\n\t\t:class=\"['swiper',contentClass,containerClasses,options.direction === 'vertical'?'swiper-vertical':'']\"\n\t\t:style=\"[customStyle]\">\n\t\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\n\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\" @touchstart=\"onTouchStart\"\n\t\t\t@touchmove=\"onTouchMove\" @touchend=\"onTouchEnd\" @touchcancel=\"onTouchEnd\">\n\t\t<!-- #endif -->\n\t\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\n\t\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\"\n\t\t\t\t@touchstart=\"zSwiperWxs.onTouchStartWxs\" @touchmove=\"zSwiperWxs.onTouchMoveWxs\"\n\t\t\t\t@touchend=\"zSwiperWxs.onTouchEndWxs\" @touchcancel=\"zSwiperWxs.onTouchEndWxs\"\n\t\t\t\t:swiperTransform=\"wxsTransform\" :change:swiperTransform=\"zSwiperWxs.wxsTransformObserver\">\n\t\t\t<!-- #endif -->\n\t\t\t\t<slot></slot>\n\t\t\t\t<!-- 在loop模式下,为group填充空白slide -->\n\t\t\t\t<template v-if=\"loopBlankShow\">\n\t\t\t\t\t<z-swiper-item v-for=\"(item,index) in loopBlankNumber\" :key=\"index\">\n\t\t\t\t\t</z-swiper-item>\n\t\t\t\t</template>\n\t\t\t\t<template v-if=\"cubeShadowShowWrapper\">\n\t\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\n\t\t\t\t</template>\n\t\t\t</view>\n\t\t\t<template v-if=\"cubeShadowShowRoot\">\n\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\n\t\t\t</template>\n\t\t\t<slot name=\"indicator\"></slot>\n\t\t\t<template v-if=\"showIndicators\">\n\t\t\t\t<view :class=\"['swiper-pagination',paginationClass]\" :style=\"[paginationStyle]\">\n\t\t\t\t\t<template v-if=\"paginationType == 'bullets'\">\n\t\t\t\t\t\t<view v-for=\"(item,index) in paginationContent\" :key=\"index\"\n\t\t\t\t\t\t\t:class=\"[item.classContent.join(' ')]\" :style=\"[item.styleContent]\"\n\t\t\t\t\t\t\t@click=\"paginationItemClick(index)\">\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"paginationType == 'fraction'\">\n\t\t\t\t\t\t<text :class=\"paginationContent.currentClass\">{{paginationContent.text}}</text>/<text\n\t\t\t\t\t\t\t:class=\"paginationContent.totalClass\">{{paginationContent.total}}</text>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"paginationType == 'progressbar'\">\n\t\t\t\t\t\t<text :class=\"paginationContent.progressbarFillClass\"\n\t\t\t\t\t\t\t:style=\"[paginationContent.styleContent]\"></text>\n\t\t\t\t\t</template>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t\t<template v-if=\"(showPrevButton||showPrevButtonSlot)\">\n\t\t\t\t<view :class=\"['swiper-button-prev',prevClass]\" @click=\"prevClick\">\n\t\t\t\t\t<view v-if=\"!showPrevButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_left\"></view>\n\t\t\t\t\t<slot v-else name=\"pre-button\"></slot>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t\t<template v-if=\"(showNextButton||showNextButtonSlot)\">\n\t\t\t\t<view :class=\"['swiper-button-next',nextClass]\" @click=\"nextClick\">\n\t\t\t\t\t<view v-if=\"!showNextButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_right\"></view>\n\t\t\t\t\t<slot v-else name=\"next-button\"></slot>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t\t<template v-if=\"scrollbarShow\">\n\t\t\t\t<view :class=\"['swiper-scrollbar',scrollbarClass]\" :style=\"[scrollbarStyle]\"\n\t\t\t\t\t@click.stop=\"onClickScrollbar\" @touchstart.stop=\"onTouchStartScrollbar\"\n\t\t\t\t\t@touchmove.stop.prevent=\"onTouchMoveScrollbar\" @touchend.stop=\"onTouchEndScrollbar\">\n\t\t\t\t\t<view class=\"swiper-scrollbar-drag\" :style=\"[scrollbarItemStyle]\">\n\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t</view>\n</template>\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\n<!-- #endif -->\n<script>\n\timport {\n\t\tgetAllRect,\n\t\tgetRect\n\t} from '../../libs/utils/utils.js';\n\t// vue2\n\timport {\n\t\tgetParams\n\t} from '../../libs/vue2/get-params.js';\n\timport {\n\t\tinitSwiper,\n\t\tmountSwiper\n\t} from '../../libs/vue2/init-swiper.js';\n\timport {\n\t\tneedsScrollbar,\n\t\tneedsNavigation,\n\t\tneedsPagination,\n\t\tuniqueClasses,\n\t\textend,\n\t} from '../../libs/vue2/utils.js';\n\timport {\n\t\trenderLoop,\n\t\tcalcLoopedSlides\n\t} from '../../libs/vue2/loop.js';\n\timport {\n\t\tgetChangedParams\n\t} from '../../libs/vue2/get-changed-params.js';\n\timport {\n\t\tupdateSwiper\n\t} from '../../libs/vue2/update-swiper.js';\n\timport {\n\t\trenderVirtual,\n\t\tupdateOnVirtualData\n\t} from '../../libs/vue2/virtual.js';\n\t//mixin\n\timport {\n\t\tParentMixin\n\t} from '../../libs/mixins/relation.js';\n\n\texport default {\n\t\tname: \"z-swipe\",\n\t\t// #ifdef MP-WEIXIN\n\t\toptions: {\n\t\t\tvirtualHost: true\n\t\t},\n\t\t// #endif\n\t\tmixins: [\n\t\t\tParentMixin('zSwipe')\n\t\t],\n\t\t// #ifdef VUE3\n\t\temits: ['update:modelValue', 'touch-start', 'touch-move', 'touch-end', 'transitionend', 'slideClick',\n\t\t\t'_beforeBreakpoint',\n\t\t\t'_containerClasses',\n\t\t\t'_slideClass',\n\t\t\t'_slideClasses', '_swiper',\n\t\t\t'activeIndexChange', 'afterInit', 'autoplay', 'autoplayStart', 'autoplayStop', 'autoplayPause',\n\t\t\t'autoplayResume', 'beforeDestroy', 'beforeInit', 'beforeLoopFix', 'beforeResize', 'beforeSlideChangeStart',\n\t\t\t'beforeTransitionStart', 'breakpoint', 'changeDirection', 'click', 'disable', 'doubleTap', 'doubleClick',\n\t\t\t'destroy', 'enable', 'fromEdge', 'hashChange', 'hashSet', 'imagesReady', 'init', 'keyPress',\n\t\t\t'lazyImageLoad', 'lazyImageReady', 'lock', 'loopFix', 'momentumBounce', 'navigationHide', 'navigationShow',\n\t\t\t'observerUpdate', 'orientationchange', 'paginationHide', 'paginationRender', 'paginationShow',\n\t\t\t'paginationUpdate', 'progress', 'reachBeginning', 'reachEnd', 'realIndexChange', 'resize', 'scroll',\n\t\t\t'scrollbarDragEnd', 'scrollbarDragMove', 'scrollbarDragStart', 'setTransition', 'setTranslate',\n\t\t\t'slideChange', 'slideChangeTransitionEnd', 'slideChangeTransitionStart', 'slideNextTransitionEnd',\n\t\t\t'slideNextTransitionStart', 'slidePrevTransitionEnd', 'slidePrevTransitionStart',\n\t\t\t'slideResetTransitionStart', 'slideResetTransitionEnd', 'sliderMove', 'sliderFirstMove',\n\t\t\t'slidesLengthChange', 'slidesGridLengthChange', 'snapGridLengthChange', 'snapIndexChange', 'swiper', 'tap',\n\t\t\t'toEdge', 'touchEnd', 'touchMove', 'touchMoveOpposite', 'touchStart', 'transitionEnd', 'transitionStart',\n\t\t\t'unlock', 'update', 'zoomChange', 'beforeMount', 'nextClick', 'prevClick', 'touchStartScrollbar',\n\t\t\t'touchMoveScrollbar', 'touchEndScrollbar', 'beforeUpdate', 'paginationItemClick'\n\t\t],\n\t\t// #endif\n\t\tprops: {\n\t\t\tcustomStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn {};\n\t\t\t\t}\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// #ifdef VUE2\n\t\t\tvalue: {\n\t\t\t\ttype: Array,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn []\n\t\t\t\t}\n\t\t\t},\n\t\t\t// #endif\n\t\t\t// #ifdef VUE3\n\t\t\tmodelValue: {\n\t\t\t\ttype: Array,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn []\n\t\t\t\t}\n\t\t\t}\n\t\t\t// #endif\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\twxsTransform: \"\",\n\t\t\t\twrapperStyle: {},\n\t\t\t\tcontentClass: '',\n\t\t\t\tnextElClass: [],\n\t\t\t\tprevElClass: [],\n\t\t\t\tpaginationElClass: [],\n\t\t\t\tpaginationItemElClass: [],\n\t\t\t\tloopBlankShow: false,\n\t\t\t\tloopBlankNumber: 0,\n\t\t\t\tcubeShadowShowWrapper: false,\n\t\t\t\tcubeShadowShowRoot: false,\n\t\t\t\tcubeShadowStyle: {},\n\t\t\t\teventsListeners: {},\n\t\t\t\tshowPrevButton: false,\n\t\t\t\tshowPrevButtonSlot: false,\n\t\t\t\tshowNextButton: false,\n\t\t\t\tshowNextButtonSlot: false,\n\t\t\t\tshowIndicators: false,\n\t\t\t\tpaginationContent: [],\n\t\t\t\tpaginationType: '',\n\t\t\t\tpaginationStyle: {},\n\t\t\t\tscrollbarElClass: [],\n\t\t\t\tscrollbarStyle: {},\n\t\t\t\tscrollbarItemStyle: {},\n\t\t\t\trectInfo: null,\n\n\t\t\t\t// vue2\n\t\t\t\tcontainerClasses: 'swiper',\n\t\t\t\tvirtualData: null,\n\t\t\t\tfirstLoad: true,\n\t\t\t\toriginalDataList: [],\n\t\t\t\tloopUpdateData: false\n\t\t\t};\n\t\t},\n\t\tcomputed: {\n\t\t\t// #ifdef VUE3\n\t\t\tvalue() {\n\t\t\t\treturn this.modelValue\n\t\t\t},\n\t\t\t// #endif\n\t\t\t// #ifdef VUE3\n\t\t\t_uid() {\n\t\t\t\treturn this._.uid\n\t\t\t},\n\t\t\t// #endif\n\t\t\tnextClass() {\n\t\t\t\treturn this.nextElClass.join(\" \");\n\t\t\t},\n\t\t\tprevClass() {\n\t\t\t\treturn this.prevElClass.join(\" \");\n\t\t\t},\n\t\t\tpaginationClass() {\n\t\t\t\treturn this.paginationElClass.join(\" \");\n\t\t\t},\n\t\t\tpaginationItemClass() {\n\t\t\t\treturn this.paginationItemElClass.join(\" \");\n\t\t\t},\n\t\t\tscrollbarClass() {\n\t\t\t\treturn this.scrollbarElClass.join(\" \");\n\t\t\t},\n\t\t\tscrollbarShow() {\n\t\t\t\treturn needsScrollbar(this.options)\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tconst {\n\t\t\t\tparams: swiperParams,\n\t\t\t\tpassedParams\n\t\t\t} = getParams(this.options);\n\t\t\tthis.swiperElRef = 'swiper';\n\t\t\tthis.swiperParams = swiperParams;\n\t\t\tthis.oldPassedParamsRef = passedParams;\n\t\t\tlet slidesRef = this.slidesRef;\n\n\t\t\tswiperParams.onAny = (event, ...args) => {\n\t\t\t\t// #ifdef MP\n\t\t\t\t// 字节小程序此处报错,因此无法使用v-on监听事件\n\t\t\t\t// #ifndef MP-TOUTIAO\n\t\t\t\tthis.$emit(event, {}, ...args.filter((item, index) => {\n\t\t\t\t\treturn index > 0\n\t\t\t\t}));\n\t\t\t\t// #endif\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP\n\t\t\t\tthis.$emit(event, ...args);\n\t\t\t\t// #endif\n\t\t\t};\n\t\t\tObject.assign(swiperParams.on, {\n\t\t\t\t_containerClasses(swiper, classes) {\n\t\t\t\t\tthis.containerClasses = classes;\n\t\t\t\t},\n\t\t\t});\n\t\t\tthis.$watch(() => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: this.value,\n\t\t\t\t\toptions: this.options\n\t\t\t\t}\n\t\t\t}, (val) => {\n\t\t\t\t// virtual模式处理\n\t\t\t\tif (this.swiperParams && this.swiperParams.virtual) {\n\t\t\t\t\tif (!this.virtualData && val.options.virtual.slides.length) {\n\t\t\t\t\t\tthis.swiperParams.virtual.slides = val.options.virtual.slides;\n\t\t\t\t\t\tconst extendWith = {\n\t\t\t\t\t\t\tcache: false,\n\t\t\t\t\t\t\tslides: val.options.virtual.slides,\n\t\t\t\t\t\t\trenderExternal: data => {\n\t\t\t\t\t\t\t\tthis.virtualData = data;\n\t\t\t\t\t\t\t\t// #ifdef VUE2\n\t\t\t\t\t\t\t\tthis.$emit(\"input\", data.slides);\n\t\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t\t// #ifdef VUE3\n\t\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", data.slides);\n\t\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\trenderExternalUpdate: false\n\t\t\t\t\t\t};\n\t\t\t\t\t\textend(this.swiperParams.virtual, extendWith);\n\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// loop模式处理\n\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\n\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList.toString() == val.value\n\t\t\t\t\t\t\t.toString())) {\n\t\t\t\t\t\tthis.loopUpdateData = true;\n\t\t\t\t\t\t// 百度小程序watch晚于子组件加载\n\t\t\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\t\t\tif (this.firstLoad) {\n\t\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// #endif\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.loopUpdateData = false;\n\t\t\t\t\t\tlet slides = renderLoop(this, this.swiperParams, this.value);\n\t\t\t\t\t\tif (this.swiperParams.loop && !this.loopUpdateData && slides.data.toString() !=\n\t\t\t\t\t\t\tval.value.toString()) {\n\t\t\t\t\t\t\tthis.loopUpdateData = true;\n\t\t\t\t\t\t\t// #ifdef VUE2\n\t\t\t\t\t\t\tthis.$emit(\"input\", slides.data)\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t// #ifdef VUE3\n\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", slides.data)\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.swiper && !this.firstLoad) {\n\t\t\t\t\tif (this.virtualData && val.options.virtual.type == \"cut\") {\n\t\t\t\t\t\tconst style = this.swiper.isHorizontal() ? {\n\t\t\t\t\t\t\t[this.swiper.rtlTranslate ? 'right' :\n\t\t\t\t\t\t\t\t'left'\n\t\t\t\t\t\t\t]: `${this.virtualData.offset}px`\n\t\t\t\t\t\t} : {\n\t\t\t\t\t\t\ttop: `${this.virtualData.offset}px`\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.children\n\t\t\t\t\t\t\t.map(slide => {\n\t\t\t\t\t\t\t\tslide.css(style)\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t}\n\n\n\t\t\t\t\tthis.updateSwiper(val.value, val.options, this.children);\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tdeep: true,\n\t\t\t\timmediate: true\n\t\t\t})\n\t\t\tthis.$watch(() => {\n\t\t\t\treturn this.$data\n\t\t\t}, (val) => {\n\t\t\t\tif (this.swiper && this.swiper.native) {\n\t\t\t\t\tObject.assign(this.swiper.native, {\n\t\t\t\t\t\tval\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tdeep: true\n\t\t\t})\n\t\t\tthis.$watch(() => {\n\t\t\t\treturn this.virtualData\n\t\t\t}, (val) => {\n\t\t\t\tif (this.swiper && this.virtualData) {\n\t\t\t\t\tupdateOnVirtualData(this.swiper);\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tdeep: true\n\t\t\t})\n\t\t\tuni.$on(\"childrenReady\" + this._uid, async (children) => {\n\t\t\t\tchildren.dataSwiperSlideIndex = children.index;\n\t\t\t\tif (this.children.length == this.value.length) {\n\t\t\t\t\tPromise.all(this.children.map((item) => {\n\t\t\t\t\t\treturn item.getSize();\n\t\t\t\t\t})).then((res) => {\n\t\t\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\n\t\t\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList\n\t\t\t\t\t\t\t\t\t.toString() == this.value\n\t\t\t\t\t\t\t\t\t.toString())) {\n\t\t\t\t\t\t\t\tif (this.firstLoad) {\n\t\t\t\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (this.firstLoad) {\n\t\t\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.updateSwiper(this.value, this.options, this.children);\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\t// #ifdef VUE2\n\t\tbeforeDestroy() {\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\n\t\t\t\tthis.swiper.destroy(true, false);\n\t\t\t}\n\t\t},\n\t\t// #endif\n\t\t// #ifdef VUE3\n\t\tbeforeUnmount() {\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\n\t\t\t\tthis.swiper.destroy(true, false);\n\t\t\t}\n\t\t},\n\t\t// #endif\n\t\tmethods: {\n\t\t\tloadSwiper() {\n\t\t\t\tlet swiperParams = this.swiperParams;\n\t\t\t\tthis.slidesRef = this.children;\n\t\t\t\tthis.oldSlidesRef = this.slidesRef;\n\t\t\t\tlet swiperRef = initSwiper(swiperParams, {\n\t\t\t\t\t...this.$data,\n\t\t\t\t\t...this.$props,\n\t\t\t\t\tswiperElId: 'swiper' + this._uid,\n\t\t\t\t\temit: this.emit.bind(this),\n\t\t\t\t\tupdateData: this.updateData.bind(this),\n\t\t\t\t\tgetRect: this.getRect.bind(this),\n\t\t\t\t\tgetRectScrollbar: this.getRectScrollbar.bind(this),\n\t\t\t\t\twillChange: this.willChange.bind(this),\n\t\t\t\t\ttransform: this.transform.bind(this),\n\t\t\t\t\ttransition: this.transition.bind(this),\n\t\t\t\t\tscrollbarTransform: this.scrollbarTransform.bind(this),\n\t\t\t\t\tscrollbarTransition: this.scrollbarTransition.bind(this),\n\t\t\t\t\tscrollbarItemTransform: this.scrollbarItemTransform.bind(this),\n\t\t\t\t\tscrollbarItemTransition: this.scrollbarItemTransition.bind(this),\n\t\t\t\t\taddClass: this.addClass.bind(this),\n\t\t\t\t\tremoveClass: this.removeClass.bind(this),\n\t\t\t\t\taddPaginationClass: this.addPaginationClass.bind(this),\n\t\t\t\t\tremovePaginationClass: this.removePaginationClass.bind(this),\n\t\t\t\t\taddScrollbarClass: this.addScrollbarClass.bind(this),\n\t\t\t\t\tremoveScrollbarClass: this.removeScrollbarClass.bind(this),\n\t\t\t\t\tsetCss: this.setCss.bind(this),\n\t\t\t\t\tcss: this.setCss.bind(this),\n\t\t\t\t\tpaginationCss: this.setPaginationCss.bind(this),\n\t\t\t\t\tscrollbarCss: this.scrollbarCss.bind(this),\n\t\t\t\t\tscrollbarItemCss: this.scrollbarItemCss.bind(this),\n\t\t\t\t\taddNextElClass: this.addNextElClass.bind(this),\n\t\t\t\t\taddPrevElClass: this.addPrevElClass.bind(this),\n\t\t\t\t\tremoveNextElClass: this.removeNextElClass.bind(this),\n\t\t\t\t\tremovePrevElClass: this.removePrevElClass.bind(this),\n\t\t\t\t\tcubeShadowCss: this.cubeShadowCss.bind(this),\n\t\t\t\t\tcubeShadowTransform: this.cubeShadowTransform.bind(this),\n\t\t\t\t\tcubeShadowTransition: this.cubeShadowTransition.bind(this),\n\t\t\t\t});\n\t\t\t\tthis.swiper = swiperRef;\n\t\t\t\tswiperRef.loopCreate = () => {};\n\t\t\t\tswiperRef.loopDestroy = () => {};\n\t\t\t\tif (swiperParams.loop) {\n\t\t\t\t\tswiperRef.loopedSlides = calcLoopedSlides(this.slidesRef, swiperParams);\n\t\t\t\t}\n\n\t\t\t\tif (!this.swiper) return;\n\t\t\t\tmountSwiper({\n\t\t\t\t\t\tel: this.swiperElRef,\n\t\t\t\t\t\tnextEl: this.nextElRef,\n\t\t\t\t\t\tprevEl: this.prevElRef,\n\t\t\t\t\t\tpaginationEl: this.paginationElRef,\n\t\t\t\t\t\tscrollbarEl: this.scrollbarElRef,\n\t\t\t\t\t\tswiper: this.swiper,\n\t\t\t\t\t},\n\t\t\t\t\tthis.swiperParams,\n\t\t\t\t);\n\t\t\t\tthis.$emit('swiper');\n\t\t\t\tthis.firstLoad = false;\n\t\t\t},\n\t\t\tupdateSwiper(value, options, children) {\n\t\t\t\tthis.swiper.slides = children;\n\t\t\t\tthis.slidesRef = children;\n\t\t\t\tlet initializedRef = this.initializedRef;\n\t\t\t\tlet swiperRef = this.swiper;\n\t\t\t\tlet slidesRef = this.slidesRef;\n\t\t\t\tlet oldPassedParamsRef = this.oldPassedParamsRef;\n\t\t\t\tlet oldSlidesRef = this.oldSlidesRef;\n\t\t\t\tlet breakpointChanged = this.breakpointChanged;\n\t\t\t\tlet nextElRef = this.nextElRef;\n\t\t\t\tlet prevElRef = this.prevElRef;\n\t\t\t\tlet paginationElRef = this.paginationElRef;\n\t\t\t\tlet scrollbarElRef = this.scrollbarElRef;\n\t\t\t\t// set initialized flag\n\t\t\t\tif (!initializedRef && swiperRef) {\n\t\t\t\t\tswiperRef.emitSlidesClasses();\n\t\t\t\t\tinitializedRef = true;\n\t\t\t\t}\n\t\t\t\t// watch for params change\n\t\t\t\tconst {\n\t\t\t\t\tpassedParams: newPassedParams\n\t\t\t\t} = getParams(options);\n\t\t\t\tconst changedParams = getChangedParams(\n\t\t\t\t\tnewPassedParams,\n\t\t\t\t\toldPassedParamsRef,\n\t\t\t\t\tslidesRef,\n\t\t\t\t\toldSlidesRef,\n\t\t\t\t);\n\t\t\t\tthis.oldPassedParamsRef = newPassedParams;\n\t\t\t\tthis.oldSlidesRef = slidesRef;\n\t\t\t\tif (\n\t\t\t\t\t(changedParams.length || breakpointChanged) &&\n\t\t\t\t\tswiperRef &&\n\t\t\t\t\t!swiperRef.destroyed\n\t\t\t\t) {\n\t\t\t\t\tupdateSwiper({\n\t\t\t\t\t\tswiper: swiperRef,\n\t\t\t\t\t\tslides: slidesRef,\n\t\t\t\t\t\tpassedParams: newPassedParams,\n\t\t\t\t\t\tchangedParams,\n\t\t\t\t\t\tnextEl: nextElRef,\n\t\t\t\t\t\tprevEl: prevElRef,\n\t\t\t\t\t\tscrollbarEl: scrollbarElRef,\n\t\t\t\t\t\tpaginationEl: paginationElRef,\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tbreakpointChanged = false;\n\t\t\t},\n\t\t\temit(event, data) {\n\t\t\t\tthis.$emit(event, ...data)\n\t\t\t},\n\t\t\tasync getRect() {\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper');\n\t\t\t\tthis.rectInfo = rectInfo;\n\t\t\t\treturn rectInfo;\n\t\t\t},\n\t\t\tasync getRectScrollbar() {\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper-scrollbar');\n\t\t\t\treturn rectInfo;\n\t\t\t},\n\t\t\tupdateData(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\twillChange(value) {\n\t\t\t\tthis.$set(this.wrapperStyle, 'will-change', value)\n\t\t\t},\n\t\t\ttransform(value) {\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.$set(this.wrapperStyle, 'transform', value)\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.wxsTransform = value;\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\ttransition(value) {\n\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\tthis.$set(this.wrapperStyle, 'transitionDuration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-BAIDU\n\t\t\t\tthis.$set(this.wrapperStyle, 'transition-duration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\tsetCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.wrapperStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tscrollbarTransform(value) {\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transform', value)\n\t\t\t},\n\t\t\tscrollbarTransition(value) {\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transitionDuration', `${value}ms`)\n\t\t\t},\n\t\t\tscrollbarItemTransform(value) {\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transform', value)\n\t\t\t},\n\t\t\tscrollbarItemTransition(value) {\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transitionDuration', `${value}ms`)\n\t\t\t},\n\t\t\taddClass(value) {\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass.split(\" \"), ...value.split(\" \")])).join(\" \");\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass, ...value.split(\" \")]));\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\tremoveClass(value) {\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = this.contentClass.split(\" \").filter(item => !value.split(\" \").includes(item)).join(\n\t\t\t\t\t\" \");\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = this.contentClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\taddPaginationClass(value) {\n\t\t\t\tthis.paginationElClass = Array.from(new Set([...this.paginationElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremovePaginationClass(value) {\n\t\t\t\tthis.paginationElClass = this.paginationElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\taddScrollbarClass(value) {\n\t\t\t\tthis.scrollbarElClass = Array.from(new Set([...this.scrollbarElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremoveScrollbarClass(value) {\n\t\t\t\tthis.scrollbarElClass = this.scrollbarElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\tsetPaginationCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.paginationStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tscrollbarCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.scrollbarStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tscrollbarItemCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.scrollbarItemStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\taddNextElClass(value) {\n\t\t\t\tthis.nextElClass = Array.from(new Set([...this.nextElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\taddPrevElClass(value) {\n\t\t\t\tthis.prevElClass = Array.from(new Set([...this.prevElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremoveNextElClass(value) {\n\t\t\t\tthis.nextElClass = this.nextElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\tremovePrevElClass(value) {\n\t\t\t\tthis.prevElClass = this.prevElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\tsetSwiperOn(event, callback) {\n\t\t\t\tif (!this.eventsListeners[event]) this.eventsListeners[event] = {};\n\t\t\t\tthis.eventsListeners[event] = callback;\n\t\t\t},\n\t\t\tpaginationItemClick(index) {\n\t\t\t\tthis.swiper.emit(\"paginationItemClick\", index)\n\t\t\t},\n\t\t\tprevClick() {\n\t\t\t\tthis.swiper.emit(\"prevClick\");\n\t\t\t},\n\t\t\tnextClick() {\n\t\t\t\tthis.swiper.emit(\"nextClick\");\n\t\t\t},\n\t\t\tonTouchStart(event) {\n\t\t\t\tthis.swiper.onTouchStart(event);\n\t\t\t},\n\t\t\tonTouchStartSwiperWxs(event) {\n\t\t\t\tthis.swiper.onTouchStart(event);\n\t\t\t},\n\t\t\tonTouchMove(event) {\n\t\t\t\tthis.swiper.onTouchMove(event);\n\t\t\t},\n\t\t\tonTouchMoveSwiperWxs(event) {\n\t\t\t\tthis.swiper.onTouchMove(event);\n\t\t\t},\n\t\t\tonTouchEnd(event) {\n\t\t\t\tthis.swiper.onTouchEnd(event);\n\t\t\t},\n\t\t\tonTouchEndSwiperWxs(event) {\n\t\t\t\tthis.swiper.onTouchEnd(event);\n\t\t\t},\n\t\t\tonClickWrapper(event) {\n\t\t\t\tthis.$emit(\"click\", event);\n\t\t\t},\n\t\t\tonClickScrollbar(event) {\n\t\t\t\tthis.$emit(\"scrollbarClick\", event);\n\t\t\t},\n\t\t\tonTouchStartScrollbar(event) {\n\t\t\t\tthis.swiper.emit('touchStartScrollbar', event);\n\t\t\t},\n\t\t\tonTouchMoveScrollbar(event) {\n\t\t\t\tthis.swiper.emit('touchMoveScrollbar', event);\n\t\t\t},\n\t\t\tonTouchEndScrollbar(event) {\n\t\t\t\tthis.swiper.emit('touchEndScrollbar', event);\n\t\t\t},\n\t\t\tcubeShadowCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.cubeShadowStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tcubeShadowTransform(value) {\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transform', value)\n\t\t\t},\n\t\t\tcubeShadowTransition(value) {\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transitionDuration', `${value}ms`)\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import '../../libs/core.scss';\n\t@import \"../../static/css/iconfont.css\";\n\n\t.swiper {\n\t\t&__prev--button {\n\t\t\tposition: absolute;\n\t\t\tleft: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t&__prev--button--disable {\n\t\t\tposition: absolute;\n\t\t\tleft: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\topacity: .35;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t&__next--button {\n\t\t\tposition: absolute;\n\t\t\tright: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t&__next--button--disable {\n\t\t\tposition: absolute;\n\t\t\tright: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\topacity: .35;\n\t\t\tz-index: 10;\n\t\t}\n\t}\n</style>"],"sourceRoot":""} {"version":3,"sources":["webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?6a0e","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?3970","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?e270","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?7dcf","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?92e6","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?2f85","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?7ee6","webpack:////Users/kenji/Desktop/Intern/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?a33e","uni-app:///uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue"],"names":["name","options","virtualHost","mixins","props","customStyle","type","default","value","data","wxsTransform","wrapperStyle","contentClass","nextElClass","prevElClass","paginationElClass","paginationItemElClass","loopBlankShow","loopBlankNumber","cubeShadowShowWrapper","cubeShadowShowRoot","cubeShadowStyle","eventsListeners","showPrevButton","showPrevButtonSlot","showNextButton","showNextButtonSlot","showIndicators","paginationContent","paginationType","paginationStyle","scrollbarElClass","scrollbarStyle","scrollbarItemStyle","rectInfo","containerClasses","virtualData","firstLoad","originalDataList","loopUpdateData","computed","nextClass","prevClass","paginationClass","paginationItemClass","scrollbarClass","scrollbarShow","created","swiperParams","passedParams","args","Object","_containerClasses","cache","slides","renderExternal","renderExternalUpdate","toString","val","top","map","slide","deep","immediate","uni","children","Promise","beforeDestroy","methods","loadSwiper","swiperElId","emit","updateData","getRect","getRectScrollbar","willChange","transform","transition","scrollbarTransform","scrollbarTransition","scrollbarItemTransform","scrollbarItemTransition","addClass","removeClass","addPaginationClass","removePaginationClass","addScrollbarClass","removeScrollbarClass","setCss","css","paginationCss","scrollbarCss","scrollbarItemCss","addNextElClass","addPrevElClass","removeNextElClass","removePrevElClass","cubeShadowCss","cubeShadowTransform","cubeShadowTransition","swiperRef","el","nextEl","prevEl","paginationEl","scrollbarEl","swiper","updateSwiper","initializedRef","newPassedParams","oldPassedParamsRef","slidesRef","oldSlidesRef","changedParams","breakpointChanged","setPaginationCss","setSwiperOn","paginationItemClick","prevClick","nextClick","onTouchStart","onTouchStartSwiperWxs","onTouchMove","onTouchMoveSwiperWxs","onTouchEnd","onTouchEndSwiperWxs","onClickWrapper","onClickScrollbar","onTouchStartScrollbar","onTouchMoveScrollbar","onTouchEndScrollbar"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAmnD,CAAgB,67CAAG,EAAC,C;;;;;;;;;;;ACAvoD;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAAuZ,CAAgB,8cAAG,EAAC,C;;;;;;;;;;;;ACA3a;AAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA,M;;;;;;;;;;;;ACPA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2V;AAC3V;AAC4D;AACL;AACsC;;;AAG7F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,yTAAM;AACR,EAAE,kUAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6TAAU;AACZ;AACA;;AAEA;AACgP;AAChP,WAAW,6PAAM,iBAAiB,qQAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uVAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7EA;AAAA;AAAA;AAAA;AAAo2B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACyEx3B;AAKA;AAGA;AAIA;AAOA;AAIA;AAGA;AAGA;AAKA;AAEA;AAAA;AAAA,gBAEA;EACAA;EAEAC;IACAC;EACA;EAEAC,SACA,qCACA;EAwBAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAN;MACAK;MACAC;QACA;MACA;IACA;IAEAC;MACAF;MACAC;QACA;MACA;IACA;EAUA;EACAE;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAEA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IAWAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;EACAC;IAAA;IACA,iBAGA;MAFAC;MACAC;IAEA;IACA;IACA;IACA;IAEAD;MAAA;QAAAE;MAAA;MAEA;;MAEA;QACA;MACA;IAMA;IACAC;MACAC;QACA;MACA;IACA;IACA;MACA;QACA5C;QACAP;MACA;IACA;MACA;MACA;QACA;UACA;UACA;YACAoD;YACAC;YACAC;cACA;cAEA;YAKA;YACAC;UACA;UACA;UACA;QACA;MACA;MACA;MACA;QACA,oFACAC;UACA;UACA;QAMA;UACA;UACA;UACA,kFACAC;YACA;YAEA;YAKA;UACA;QACA;MACA;MACA;QACA;UACA,4EACA,sCACA,kBACA,mCACA;YACAC;UACA;UACA,eACAC;YACAC;UACA;QAEA;QAGA;MACA;IACA;MACAC;MACAC;IACA;IACA;MACA;IACA;MACA;QACAZ;UACAO;QACA;MACA;IACA;MACAI;IACA;IACA;MACA;IACA;MACA;QACA;MACA;IACA;MACAA;IACA;IACAE;MAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBACA;kBACAC;oBACA;kBACA;oBACA;sBACA,4DACAT,0BACAA;wBACA;0BACA;wBACA;sBACA;wBACA;sBACA;oBACA;sBACA;wBACA;sBACA;oBACA;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,CACA;MAAA;QAAA;MAAA;IAAA;EACA;EAEAU;IACA;MACA;IACA;EACA;EASAC;IACAC;MACA;MACA;MACA;MACA,wGACA,aACA;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MAAA,GACA;MACA;MACAC;MACAA;MACA;QACAA;MACA;MAEA;MACA;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MACA,GACA,kBACA;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;QACAP;QACAQ;MACA;MACA;MACA,kBAEA;QADAC;MAEA,4DACAA,iBACAC,oBACAC,WACAC,aACA;MACA;MACA;MACA,IACA,+CACAZ,aACA,sBACA;QACA;UACAM;UACApD;UACAL;UACAgE;UACAX;UACAC;UACAE;UACAD;QACA;MACA;MACAU;IACA;IACA3C;MACA;IACA;IACAE;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAvC;gBACA;gBAAA,kCACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAwC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAxC;gBAAA,kCACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAsC;MAAA;MACArB;QACA;MACA;IACA;IACAwB;MACA;IACA;IACAC;MAKA;IAEA;IACAC;MAKA;IAEA;IACAW;MAAA;MACArC;QACA;MACA;IACA;IACA2B;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MAKA;IAEA;IACAC;MAMA;QAAA;MAAA;IAEA;IACAC;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACA4B;MAAA;MACAhE;QACA;MACA;IACA;IACAwC;MAAA;MACAxC;QACA;MACA;IACA;IACAyC;MAAA;MACAzC;QACA;MACA;IACA;IACA0C;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAC;MACA;QAAA;MAAA;IACA;IACAoB;MACA;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;IACAjC;MAAA;MACA9C;QACA;MACA;IACA;IACA+C;MACA;IACA;IACAC;MACA;IACA;EACA;AACA;AAAA,4B","file":"uni_modules/zebra-swiper/components/z-swiper/z-swiper.js","sourcesContent":["import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722909057883\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper%2Fz-swiper.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper%2Fz-swiper.vue&module=zSwiperWxs&lang=wxs\"","export default function (Component) {\n if(!Component.options.wxsCallMethods){\n Component.options.wxsCallMethods = []\n }\n Component.options.wxsCallMethods.push('onTouchStartSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchMoveSwiperWxs')\nComponent.options.wxsCallMethods.push('onTouchEndSwiperWxs')\n }","import { render, staticRenderFns, recyclableRender, components } from \"./z-swiper.vue?vue&type=template&id=2ff4d8de&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMyOTMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMjkzfX0%3D&\"\nvar renderjs\nimport script from \"./z-swiper.vue?vue&type=script&lang=js&\"\nexport * from \"./z-swiper.vue?vue&type=script&lang=js&\"\nimport style0 from \"./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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 \"2ff4d8de\",\n null,\n false,\n components,\n renderjs\n)\n\n/* custom blocks */\nimport block0 from \"../../wxs/z-swiper-wxs.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Fkenji%2FDesktop%2FIntern%2Fjueqing%2Funi_modules%2Fzebra-swiper%2Fcomponents%2Fz-swiper%2Fz-swiper.vue&module=zSwiperWxs&lang=wxs\"\nif (typeof block0 === 'function') block0(component)\n\ncomponent.options.__file = \"uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=template&id=2ff4d8de&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMyOTMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMjkzfX0%3D&\"","var components\ntry {\n components = {\n zSwiperItem: function () {\n return import(\n /* webpackChunkName: \"uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item\" */ \"@/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.customStyle])\n var s1 = _vm.__get_style([_vm.wrapperStyle])\n var s2 = _vm.cubeShadowShowWrapper\n ? _vm.__get_style([_vm.cubeShadowStyle])\n : null\n var s3 = _vm.cubeShadowShowRoot\n ? _vm.__get_style([_vm.cubeShadowStyle])\n : null\n var s4 = _vm.showIndicators ? _vm.__get_style([_vm.paginationStyle]) : null\n var l0 =\n _vm.showIndicators && _vm.paginationType == \"bullets\"\n ? _vm.__map(_vm.paginationContent, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var s5 = _vm.__get_style([item.styleContent])\n var g0 = item.classContent.join(\" \")\n return {\n $orig: $orig,\n s5: s5,\n g0: g0,\n }\n })\n : null\n var s6 =\n _vm.showIndicators && _vm.paginationType == \"progressbar\"\n ? _vm.__get_style([_vm.paginationContent.styleContent])\n : null\n var s7 = _vm.scrollbarShow ? _vm.__get_style([_vm.scrollbarStyle]) : null\n var s8 = _vm.scrollbarShow ? _vm.__get_style([_vm.scrollbarItemStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3,\n s4: s4,\n l0: l0,\n s6: s6,\n s7: s7,\n s8: s8,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"","<template>\n\t<view :id=\"'swiper'+_uid\"\n\t\t:class=\"['swiper',contentClass,containerClasses,options.direction === 'vertical'?'swiper-vertical':'']\"\n\t\t:style=\"[customStyle]\">\n\t\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\n\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\" @touchstart=\"onTouchStart\"\n\t\t\t@touchmove=\"onTouchMove\" @touchend=\"onTouchEnd\" @touchcancel=\"onTouchEnd\">\n\t\t<!-- #endif -->\n\t\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\n\t\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\"\n\t\t\t\t@touchstart=\"zSwiperWxs.onTouchStartWxs\" @touchmove=\"zSwiperWxs.onTouchMoveWxs\"\n\t\t\t\t@touchend=\"zSwiperWxs.onTouchEndWxs\" @touchcancel=\"zSwiperWxs.onTouchEndWxs\"\n\t\t\t\t:swiperTransform=\"wxsTransform\" :change:swiperTransform=\"zSwiperWxs.wxsTransformObserver\">\n\t\t\t<!-- #endif -->\n\t\t\t\t<slot></slot>\n\t\t\t\t<!-- 在loop模式下,为group填充空白slide -->\n\t\t\t\t<template v-if=\"loopBlankShow\">\n\t\t\t\t\t<z-swiper-item v-for=\"(item,index) in loopBlankNumber\" :key=\"index\">\n\t\t\t\t\t</z-swiper-item>\n\t\t\t\t</template>\n\t\t\t\t<template v-if=\"cubeShadowShowWrapper\">\n\t\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\n\t\t\t\t</template>\n\t\t\t</view>\n\t\t\t<template v-if=\"cubeShadowShowRoot\">\n\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\n\t\t\t</template>\n\t\t\t<slot name=\"indicator\"></slot>\n\t\t\t<template v-if=\"showIndicators\">\n\t\t\t\t<view :class=\"['swiper-pagination',paginationClass]\" :style=\"[paginationStyle]\">\n\t\t\t\t\t<template v-if=\"paginationType == 'bullets'\">\n\t\t\t\t\t\t<view v-for=\"(item,index) in paginationContent\" :key=\"index\"\n\t\t\t\t\t\t\t:class=\"[item.classContent.join(' ')]\" :style=\"[item.styleContent]\"\n\t\t\t\t\t\t\t@click=\"paginationItemClick(index)\">\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"paginationType == 'fraction'\">\n\t\t\t\t\t\t<text :class=\"paginationContent.currentClass\">{{paginationContent.text}}</text>/<text\n\t\t\t\t\t\t\t:class=\"paginationContent.totalClass\">{{paginationContent.total}}</text>\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"paginationType == 'progressbar'\">\n\t\t\t\t\t\t<text :class=\"paginationContent.progressbarFillClass\"\n\t\t\t\t\t\t\t:style=\"[paginationContent.styleContent]\"></text>\n\t\t\t\t\t</template>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t\t<template v-if=\"(showPrevButton||showPrevButtonSlot)\">\n\t\t\t\t<view :class=\"['swiper-button-prev',prevClass]\" @click=\"prevClick\">\n\t\t\t\t\t<view v-if=\"!showPrevButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_left\"></view>\n\t\t\t\t\t<slot v-else name=\"pre-button\"></slot>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t\t<template v-if=\"(showNextButton||showNextButtonSlot)\">\n\t\t\t\t<view :class=\"['swiper-button-next',nextClass]\" @click=\"nextClick\">\n\t\t\t\t\t<view v-if=\"!showNextButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_right\"></view>\n\t\t\t\t\t<slot v-else name=\"next-button\"></slot>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t\t<template v-if=\"scrollbarShow\">\n\t\t\t\t<view :class=\"['swiper-scrollbar',scrollbarClass]\" :style=\"[scrollbarStyle]\"\n\t\t\t\t\t@click.stop=\"onClickScrollbar\" @touchstart.stop=\"onTouchStartScrollbar\"\n\t\t\t\t\t@touchmove.stop.prevent=\"onTouchMoveScrollbar\" @touchend.stop=\"onTouchEndScrollbar\">\n\t\t\t\t\t<view class=\"swiper-scrollbar-drag\" :style=\"[scrollbarItemStyle]\">\n\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</template>\n\t\t</view>\n</template>\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\n<!-- #endif -->\n<script>\n\timport {\n\t\tgetAllRect,\n\t\tgetRect\n\t} from '../../libs/utils/utils.js';\n\t// vue2\n\timport {\n\t\tgetParams\n\t} from '../../libs/vue2/get-params.js';\n\timport {\n\t\tinitSwiper,\n\t\tmountSwiper\n\t} from '../../libs/vue2/init-swiper.js';\n\timport {\n\t\tneedsScrollbar,\n\t\tneedsNavigation,\n\t\tneedsPagination,\n\t\tuniqueClasses,\n\t\textend,\n\t} from '../../libs/vue2/utils.js';\n\timport {\n\t\trenderLoop,\n\t\tcalcLoopedSlides\n\t} from '../../libs/vue2/loop.js';\n\timport {\n\t\tgetChangedParams\n\t} from '../../libs/vue2/get-changed-params.js';\n\timport {\n\t\tupdateSwiper\n\t} from '../../libs/vue2/update-swiper.js';\n\timport {\n\t\trenderVirtual,\n\t\tupdateOnVirtualData\n\t} from '../../libs/vue2/virtual.js';\n\t//mixin\n\timport {\n\t\tParentMixin\n\t} from '../../libs/mixins/relation.js';\n\n\texport default {\n\t\tname: \"z-swipe\",\n\t\t// #ifdef MP-WEIXIN\n\t\toptions: {\n\t\t\tvirtualHost: true\n\t\t},\n\t\t// #endif\n\t\tmixins: [\n\t\t\tParentMixin('zSwipe')\n\t\t],\n\t\t// #ifdef VUE3\n\t\temits: ['update:modelValue', 'touch-start', 'touch-move', 'touch-end', 'transitionend', 'slideClick',\n\t\t\t'_beforeBreakpoint',\n\t\t\t'_containerClasses',\n\t\t\t'_slideClass',\n\t\t\t'_slideClasses', '_swiper',\n\t\t\t'activeIndexChange', 'afterInit', 'autoplay', 'autoplayStart', 'autoplayStop', 'autoplayPause',\n\t\t\t'autoplayResume', 'beforeDestroy', 'beforeInit', 'beforeLoopFix', 'beforeResize', 'beforeSlideChangeStart',\n\t\t\t'beforeTransitionStart', 'breakpoint', 'changeDirection', 'click', 'disable', 'doubleTap', 'doubleClick',\n\t\t\t'destroy', 'enable', 'fromEdge', 'hashChange', 'hashSet', 'imagesReady', 'init', 'keyPress',\n\t\t\t'lazyImageLoad', 'lazyImageReady', 'lock', 'loopFix', 'momentumBounce', 'navigationHide', 'navigationShow',\n\t\t\t'observerUpdate', 'orientationchange', 'paginationHide', 'paginationRender', 'paginationShow',\n\t\t\t'paginationUpdate', 'progress', 'reachBeginning', 'reachEnd', 'realIndexChange', 'resize', 'scroll',\n\t\t\t'scrollbarDragEnd', 'scrollbarDragMove', 'scrollbarDragStart', 'setTransition', 'setTranslate',\n\t\t\t'slideChange', 'slideChangeTransitionEnd', 'slideChangeTransitionStart', 'slideNextTransitionEnd',\n\t\t\t'slideNextTransitionStart', 'slidePrevTransitionEnd', 'slidePrevTransitionStart',\n\t\t\t'slideResetTransitionStart', 'slideResetTransitionEnd', 'sliderMove', 'sliderFirstMove',\n\t\t\t'slidesLengthChange', 'slidesGridLengthChange', 'snapGridLengthChange', 'snapIndexChange', 'swiper', 'tap',\n\t\t\t'toEdge', 'touchEnd', 'touchMove', 'touchMoveOpposite', 'touchStart', 'transitionEnd', 'transitionStart',\n\t\t\t'unlock', 'update', 'zoomChange', 'beforeMount', 'nextClick', 'prevClick', 'touchStartScrollbar',\n\t\t\t'touchMoveScrollbar', 'touchEndScrollbar', 'beforeUpdate', 'paginationItemClick'\n\t\t],\n\t\t// #endif\n\t\tprops: {\n\t\t\tcustomStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn {};\n\t\t\t\t}\n\t\t\t},\n\t\t\toptions: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// #ifdef VUE2\n\t\t\tvalue: {\n\t\t\t\ttype: Array,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn []\n\t\t\t\t}\n\t\t\t},\n\t\t\t// #endif\n\t\t\t// #ifdef VUE3\n\t\t\tmodelValue: {\n\t\t\t\ttype: Array,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn []\n\t\t\t\t}\n\t\t\t}\n\t\t\t// #endif\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\twxsTransform: \"\",\n\t\t\t\twrapperStyle: {},\n\t\t\t\tcontentClass: '',\n\t\t\t\tnextElClass: [],\n\t\t\t\tprevElClass: [],\n\t\t\t\tpaginationElClass: [],\n\t\t\t\tpaginationItemElClass: [],\n\t\t\t\tloopBlankShow: false,\n\t\t\t\tloopBlankNumber: 0,\n\t\t\t\tcubeShadowShowWrapper: false,\n\t\t\t\tcubeShadowShowRoot: false,\n\t\t\t\tcubeShadowStyle: {},\n\t\t\t\teventsListeners: {},\n\t\t\t\tshowPrevButton: false,\n\t\t\t\tshowPrevButtonSlot: false,\n\t\t\t\tshowNextButton: false,\n\t\t\t\tshowNextButtonSlot: false,\n\t\t\t\tshowIndicators: false,\n\t\t\t\tpaginationContent: [],\n\t\t\t\tpaginationType: '',\n\t\t\t\tpaginationStyle: {},\n\t\t\t\tscrollbarElClass: [],\n\t\t\t\tscrollbarStyle: {},\n\t\t\t\tscrollbarItemStyle: {},\n\t\t\t\trectInfo: null,\n\n\t\t\t\t// vue2\n\t\t\t\tcontainerClasses: 'swiper',\n\t\t\t\tvirtualData: null,\n\t\t\t\tfirstLoad: true,\n\t\t\t\toriginalDataList: [],\n\t\t\t\tloopUpdateData: false\n\t\t\t};\n\t\t},\n\t\tcomputed: {\n\t\t\t// #ifdef VUE3\n\t\t\tvalue() {\n\t\t\t\treturn this.modelValue\n\t\t\t},\n\t\t\t// #endif\n\t\t\t// #ifdef VUE3\n\t\t\t_uid() {\n\t\t\t\treturn this._.uid\n\t\t\t},\n\t\t\t// #endif\n\t\t\tnextClass() {\n\t\t\t\treturn this.nextElClass.join(\" \");\n\t\t\t},\n\t\t\tprevClass() {\n\t\t\t\treturn this.prevElClass.join(\" \");\n\t\t\t},\n\t\t\tpaginationClass() {\n\t\t\t\treturn this.paginationElClass.join(\" \");\n\t\t\t},\n\t\t\tpaginationItemClass() {\n\t\t\t\treturn this.paginationItemElClass.join(\" \");\n\t\t\t},\n\t\t\tscrollbarClass() {\n\t\t\t\treturn this.scrollbarElClass.join(\" \");\n\t\t\t},\n\t\t\tscrollbarShow() {\n\t\t\t\treturn needsScrollbar(this.options)\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tconst {\n\t\t\t\tparams: swiperParams,\n\t\t\t\tpassedParams\n\t\t\t} = getParams(this.options);\n\t\t\tthis.swiperElRef = 'swiper';\n\t\t\tthis.swiperParams = swiperParams;\n\t\t\tthis.oldPassedParamsRef = passedParams;\n\t\t\tlet slidesRef = this.slidesRef;\n\n\t\t\tswiperParams.onAny = (event, ...args) => {\n\t\t\t\t// #ifdef MP\n\t\t\t\t// 字节小程序此处报错,因此无法使用v-on监听事件\n\t\t\t\t// #ifndef MP-TOUTIAO\n\t\t\t\tthis.$emit(event, {}, ...args.filter((item, index) => {\n\t\t\t\t\treturn index > 0\n\t\t\t\t}));\n\t\t\t\t// #endif\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP\n\t\t\t\tthis.$emit(event, ...args);\n\t\t\t\t// #endif\n\t\t\t};\n\t\t\tObject.assign(swiperParams.on, {\n\t\t\t\t_containerClasses(swiper, classes) {\n\t\t\t\t\tthis.containerClasses = classes;\n\t\t\t\t},\n\t\t\t});\n\t\t\tthis.$watch(() => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: this.value,\n\t\t\t\t\toptions: this.options\n\t\t\t\t}\n\t\t\t}, (val) => {\n\t\t\t\t// virtual模式处理\n\t\t\t\tif (this.swiperParams && this.swiperParams.virtual) {\n\t\t\t\t\tif (!this.virtualData && val.options.virtual.slides.length) {\n\t\t\t\t\t\tthis.swiperParams.virtual.slides = val.options.virtual.slides;\n\t\t\t\t\t\tconst extendWith = {\n\t\t\t\t\t\t\tcache: false,\n\t\t\t\t\t\t\tslides: val.options.virtual.slides,\n\t\t\t\t\t\t\trenderExternal: data => {\n\t\t\t\t\t\t\t\tthis.virtualData = data;\n\t\t\t\t\t\t\t\t// #ifdef VUE2\n\t\t\t\t\t\t\t\tthis.$emit(\"input\", data.slides);\n\t\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t\t// #ifdef VUE3\n\t\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", data.slides);\n\t\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\trenderExternalUpdate: false\n\t\t\t\t\t\t};\n\t\t\t\t\t\textend(this.swiperParams.virtual, extendWith);\n\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// loop模式处理\n\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\n\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList.toString() == val.value\n\t\t\t\t\t\t\t.toString())) {\n\t\t\t\t\t\tthis.loopUpdateData = true;\n\t\t\t\t\t\t// 百度小程序watch晚于子组件加载\n\t\t\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\t\t\tif (this.firstLoad) {\n\t\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// #endif\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.loopUpdateData = false;\n\t\t\t\t\t\tlet slides = renderLoop(this, this.swiperParams, this.value);\n\t\t\t\t\t\tif (this.swiperParams.loop && !this.loopUpdateData && slides.data.toString() !=\n\t\t\t\t\t\t\tval.value.toString()) {\n\t\t\t\t\t\t\tthis.loopUpdateData = true;\n\t\t\t\t\t\t\t// #ifdef VUE2\n\t\t\t\t\t\t\tthis.$emit(\"input\", slides.data)\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t// #ifdef VUE3\n\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", slides.data)\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.swiper && !this.firstLoad) {\n\t\t\t\t\tif (this.virtualData && val.options.virtual.type == \"cut\") {\n\t\t\t\t\t\tconst style = this.swiper.isHorizontal() ? {\n\t\t\t\t\t\t\t[this.swiper.rtlTranslate ? 'right' :\n\t\t\t\t\t\t\t\t'left'\n\t\t\t\t\t\t\t]: `${this.virtualData.offset}px`\n\t\t\t\t\t\t} : {\n\t\t\t\t\t\t\ttop: `${this.virtualData.offset}px`\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.children\n\t\t\t\t\t\t\t.map(slide => {\n\t\t\t\t\t\t\t\tslide.css(style)\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t}\n\n\n\t\t\t\t\tthis.updateSwiper(val.value, val.options, this.children);\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tdeep: true,\n\t\t\t\timmediate: true\n\t\t\t})\n\t\t\tthis.$watch(() => {\n\t\t\t\treturn this.$data\n\t\t\t}, (val) => {\n\t\t\t\tif (this.swiper && this.swiper.native) {\n\t\t\t\t\tObject.assign(this.swiper.native, {\n\t\t\t\t\t\tval\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tdeep: true\n\t\t\t})\n\t\t\tthis.$watch(() => {\n\t\t\t\treturn this.virtualData\n\t\t\t}, (val) => {\n\t\t\t\tif (this.swiper && this.virtualData) {\n\t\t\t\t\tupdateOnVirtualData(this.swiper);\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tdeep: true\n\t\t\t})\n\t\t\tuni.$on(\"childrenReady\" + this._uid, async (children) => {\n\t\t\t\tchildren.dataSwiperSlideIndex = children.index;\n\t\t\t\tif (this.children.length == this.value.length) {\n\t\t\t\t\tPromise.all(this.children.map((item) => {\n\t\t\t\t\t\treturn item.getSize();\n\t\t\t\t\t})).then((res) => {\n\t\t\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\n\t\t\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList\n\t\t\t\t\t\t\t\t\t.toString() == this.value\n\t\t\t\t\t\t\t\t\t.toString())) {\n\t\t\t\t\t\t\t\tif (this.firstLoad) {\n\t\t\t\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (this.firstLoad) {\n\t\t\t\t\t\t\t\tthis.loadSwiper();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.updateSwiper(this.value, this.options, this.children);\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\t// #ifdef VUE2\n\t\tbeforeDestroy() {\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\n\t\t\t\tthis.swiper.destroy(true, false);\n\t\t\t}\n\t\t},\n\t\t// #endif\n\t\t// #ifdef VUE3\n\t\tbeforeUnmount() {\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\n\t\t\t\tthis.swiper.destroy(true, false);\n\t\t\t}\n\t\t},\n\t\t// #endif\n\t\tmethods: {\n\t\t\tloadSwiper() {\n\t\t\t\tlet swiperParams = this.swiperParams;\n\t\t\t\tthis.slidesRef = this.children;\n\t\t\t\tthis.oldSlidesRef = this.slidesRef;\n\t\t\t\tlet swiperRef = initSwiper(swiperParams, {\n\t\t\t\t\t...this.$data,\n\t\t\t\t\t...this.$props,\n\t\t\t\t\tswiperElId: 'swiper' + this._uid,\n\t\t\t\t\temit: this.emit.bind(this),\n\t\t\t\t\tupdateData: this.updateData.bind(this),\n\t\t\t\t\tgetRect: this.getRect.bind(this),\n\t\t\t\t\tgetRectScrollbar: this.getRectScrollbar.bind(this),\n\t\t\t\t\twillChange: this.willChange.bind(this),\n\t\t\t\t\ttransform: this.transform.bind(this),\n\t\t\t\t\ttransition: this.transition.bind(this),\n\t\t\t\t\tscrollbarTransform: this.scrollbarTransform.bind(this),\n\t\t\t\t\tscrollbarTransition: this.scrollbarTransition.bind(this),\n\t\t\t\t\tscrollbarItemTransform: this.scrollbarItemTransform.bind(this),\n\t\t\t\t\tscrollbarItemTransition: this.scrollbarItemTransition.bind(this),\n\t\t\t\t\taddClass: this.addClass.bind(this),\n\t\t\t\t\tremoveClass: this.removeClass.bind(this),\n\t\t\t\t\taddPaginationClass: this.addPaginationClass.bind(this),\n\t\t\t\t\tremovePaginationClass: this.removePaginationClass.bind(this),\n\t\t\t\t\taddScrollbarClass: this.addScrollbarClass.bind(this),\n\t\t\t\t\tremoveScrollbarClass: this.removeScrollbarClass.bind(this),\n\t\t\t\t\tsetCss: this.setCss.bind(this),\n\t\t\t\t\tcss: this.setCss.bind(this),\n\t\t\t\t\tpaginationCss: this.setPaginationCss.bind(this),\n\t\t\t\t\tscrollbarCss: this.scrollbarCss.bind(this),\n\t\t\t\t\tscrollbarItemCss: this.scrollbarItemCss.bind(this),\n\t\t\t\t\taddNextElClass: this.addNextElClass.bind(this),\n\t\t\t\t\taddPrevElClass: this.addPrevElClass.bind(this),\n\t\t\t\t\tremoveNextElClass: this.removeNextElClass.bind(this),\n\t\t\t\t\tremovePrevElClass: this.removePrevElClass.bind(this),\n\t\t\t\t\tcubeShadowCss: this.cubeShadowCss.bind(this),\n\t\t\t\t\tcubeShadowTransform: this.cubeShadowTransform.bind(this),\n\t\t\t\t\tcubeShadowTransition: this.cubeShadowTransition.bind(this),\n\t\t\t\t});\n\t\t\t\tthis.swiper = swiperRef;\n\t\t\t\tswiperRef.loopCreate = () => {};\n\t\t\t\tswiperRef.loopDestroy = () => {};\n\t\t\t\tif (swiperParams.loop) {\n\t\t\t\t\tswiperRef.loopedSlides = calcLoopedSlides(this.slidesRef, swiperParams);\n\t\t\t\t}\n\n\t\t\t\tif (!this.swiper) return;\n\t\t\t\tmountSwiper({\n\t\t\t\t\t\tel: this.swiperElRef,\n\t\t\t\t\t\tnextEl: this.nextElRef,\n\t\t\t\t\t\tprevEl: this.prevElRef,\n\t\t\t\t\t\tpaginationEl: this.paginationElRef,\n\t\t\t\t\t\tscrollbarEl: this.scrollbarElRef,\n\t\t\t\t\t\tswiper: this.swiper,\n\t\t\t\t\t},\n\t\t\t\t\tthis.swiperParams,\n\t\t\t\t);\n\t\t\t\tthis.$emit('swiper');\n\t\t\t\tthis.firstLoad = false;\n\t\t\t},\n\t\t\tupdateSwiper(value, options, children) {\n\t\t\t\tthis.swiper.slides = children;\n\t\t\t\tthis.slidesRef = children;\n\t\t\t\tlet initializedRef = this.initializedRef;\n\t\t\t\tlet swiperRef = this.swiper;\n\t\t\t\tlet slidesRef = this.slidesRef;\n\t\t\t\tlet oldPassedParamsRef = this.oldPassedParamsRef;\n\t\t\t\tlet oldSlidesRef = this.oldSlidesRef;\n\t\t\t\tlet breakpointChanged = this.breakpointChanged;\n\t\t\t\tlet nextElRef = this.nextElRef;\n\t\t\t\tlet prevElRef = this.prevElRef;\n\t\t\t\tlet paginationElRef = this.paginationElRef;\n\t\t\t\tlet scrollbarElRef = this.scrollbarElRef;\n\t\t\t\t// set initialized flag\n\t\t\t\tif (!initializedRef && swiperRef) {\n\t\t\t\t\tswiperRef.emitSlidesClasses();\n\t\t\t\t\tinitializedRef = true;\n\t\t\t\t}\n\t\t\t\t// watch for params change\n\t\t\t\tconst {\n\t\t\t\t\tpassedParams: newPassedParams\n\t\t\t\t} = getParams(options);\n\t\t\t\tconst changedParams = getChangedParams(\n\t\t\t\t\tnewPassedParams,\n\t\t\t\t\toldPassedParamsRef,\n\t\t\t\t\tslidesRef,\n\t\t\t\t\toldSlidesRef,\n\t\t\t\t);\n\t\t\t\tthis.oldPassedParamsRef = newPassedParams;\n\t\t\t\tthis.oldSlidesRef = slidesRef;\n\t\t\t\tif (\n\t\t\t\t\t(changedParams.length || breakpointChanged) &&\n\t\t\t\t\tswiperRef &&\n\t\t\t\t\t!swiperRef.destroyed\n\t\t\t\t) {\n\t\t\t\t\tupdateSwiper({\n\t\t\t\t\t\tswiper: swiperRef,\n\t\t\t\t\t\tslides: slidesRef,\n\t\t\t\t\t\tpassedParams: newPassedParams,\n\t\t\t\t\t\tchangedParams,\n\t\t\t\t\t\tnextEl: nextElRef,\n\t\t\t\t\t\tprevEl: prevElRef,\n\t\t\t\t\t\tscrollbarEl: scrollbarElRef,\n\t\t\t\t\t\tpaginationEl: paginationElRef,\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tbreakpointChanged = false;\n\t\t\t},\n\t\t\temit(event, data) {\n\t\t\t\tthis.$emit(event, ...data)\n\t\t\t},\n\t\t\tasync getRect() {\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper');\n\t\t\t\tthis.rectInfo = rectInfo;\n\t\t\t\treturn rectInfo;\n\t\t\t},\n\t\t\tasync getRectScrollbar() {\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper-scrollbar');\n\t\t\t\treturn rectInfo;\n\t\t\t},\n\t\t\tupdateData(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\twillChange(value) {\n\t\t\t\tthis.$set(this.wrapperStyle, 'will-change', value)\n\t\t\t},\n\t\t\ttransform(value) {\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.$set(this.wrapperStyle, 'transform', value)\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\n\t\t\t\tthis.wxsTransform = value;\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\ttransition(value) {\n\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\tthis.$set(this.wrapperStyle, 'transitionDuration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-BAIDU\n\t\t\t\tthis.$set(this.wrapperStyle, 'transition-duration', `${value}ms`)\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\tsetCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.wrapperStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tscrollbarTransform(value) {\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transform', value)\n\t\t\t},\n\t\t\tscrollbarTransition(value) {\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transitionDuration', `${value}ms`)\n\t\t\t},\n\t\t\tscrollbarItemTransform(value) {\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transform', value)\n\t\t\t},\n\t\t\tscrollbarItemTransition(value) {\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transitionDuration', `${value}ms`)\n\t\t\t},\n\t\t\taddClass(value) {\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass.split(\" \"), ...value.split(\" \")])).join(\" \");\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass, ...value.split(\" \")]));\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\tremoveClass(value) {\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = this.contentClass.split(\" \").filter(item => !value.split(\" \").includes(item)).join(\n\t\t\t\t\t\" \");\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tthis.contentClass = this.contentClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\taddPaginationClass(value) {\n\t\t\t\tthis.paginationElClass = Array.from(new Set([...this.paginationElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremovePaginationClass(value) {\n\t\t\t\tthis.paginationElClass = this.paginationElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\taddScrollbarClass(value) {\n\t\t\t\tthis.scrollbarElClass = Array.from(new Set([...this.scrollbarElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremoveScrollbarClass(value) {\n\t\t\t\tthis.scrollbarElClass = this.scrollbarElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\tsetPaginationCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.paginationStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tscrollbarCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.scrollbarStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tscrollbarItemCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.scrollbarItemStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\taddNextElClass(value) {\n\t\t\t\tthis.nextElClass = Array.from(new Set([...this.nextElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\taddPrevElClass(value) {\n\t\t\t\tthis.prevElClass = Array.from(new Set([...this.prevElClass, ...value.split(\" \")]));\n\t\t\t},\n\t\t\tremoveNextElClass(value) {\n\t\t\t\tthis.nextElClass = this.nextElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\tremovePrevElClass(value) {\n\t\t\t\tthis.prevElClass = this.prevElClass.filter(item => !value.split(\" \").includes(item));\n\t\t\t},\n\t\t\tsetSwiperOn(event, callback) {\n\t\t\t\tif (!this.eventsListeners[event]) this.eventsListeners[event] = {};\n\t\t\t\tthis.eventsListeners[event] = callback;\n\t\t\t},\n\t\t\tpaginationItemClick(index) {\n\t\t\t\tthis.swiper.emit(\"paginationItemClick\", index)\n\t\t\t},\n\t\t\tprevClick() {\n\t\t\t\tthis.swiper.emit(\"prevClick\");\n\t\t\t},\n\t\t\tnextClick() {\n\t\t\t\tthis.swiper.emit(\"nextClick\");\n\t\t\t},\n\t\t\tonTouchStart(event) {\n\t\t\t\tthis.swiper.onTouchStart(event);\n\t\t\t},\n\t\t\tonTouchStartSwiperWxs(event) {\n\t\t\t\tthis.swiper.onTouchStart(event);\n\t\t\t},\n\t\t\tonTouchMove(event) {\n\t\t\t\tthis.swiper.onTouchMove(event);\n\t\t\t},\n\t\t\tonTouchMoveSwiperWxs(event) {\n\t\t\t\tthis.swiper.onTouchMove(event);\n\t\t\t},\n\t\t\tonTouchEnd(event) {\n\t\t\t\tthis.swiper.onTouchEnd(event);\n\t\t\t},\n\t\t\tonTouchEndSwiperWxs(event) {\n\t\t\t\tthis.swiper.onTouchEnd(event);\n\t\t\t},\n\t\t\tonClickWrapper(event) {\n\t\t\t\tthis.$emit(\"click\", event);\n\t\t\t},\n\t\t\tonClickScrollbar(event) {\n\t\t\t\tthis.$emit(\"scrollbarClick\", event);\n\t\t\t},\n\t\t\tonTouchStartScrollbar(event) {\n\t\t\t\tthis.swiper.emit('touchStartScrollbar', event);\n\t\t\t},\n\t\t\tonTouchMoveScrollbar(event) {\n\t\t\t\tthis.swiper.emit('touchMoveScrollbar', event);\n\t\t\t},\n\t\t\tonTouchEndScrollbar(event) {\n\t\t\t\tthis.swiper.emit('touchEndScrollbar', event);\n\t\t\t},\n\t\t\tcubeShadowCss(value) {\n\t\t\t\tObject.keys(value).forEach((item) => {\n\t\t\t\t\tthis.$set(this.cubeShadowStyle, item, value[item])\n\t\t\t\t})\n\t\t\t},\n\t\t\tcubeShadowTransform(value) {\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transform', value)\n\t\t\t},\n\t\t\tcubeShadowTransition(value) {\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transitionDuration', `${value}ms`)\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import '../../libs/core.scss';\n\t@import \"../../static/css/iconfont.css\";\n\n\t.swiper {\n\t\t&__prev--button {\n\t\t\tposition: absolute;\n\t\t\tleft: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t&__prev--button--disable {\n\t\t\tposition: absolute;\n\t\t\tleft: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\topacity: .35;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t&__next--button {\n\t\t\tposition: absolute;\n\t\t\tright: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t&__next--button--disable {\n\t\t\tposition: absolute;\n\t\t\tright: 30rpx;\n\t\t\ttop: 50%;\n\t\t\tdisplay: flex;\n\t\t\tcolor: #1989fa;\n\t\t\tfont-size: 44rpx;\n\t\t\topacity: .35;\n\t\t\tz-index: 10;\n\t\t}\n\t}\n</style>"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
...@@ -605,6 +605,7 @@ var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runt ...@@ -605,6 +605,7 @@ var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runt
// //
// //
// //
//
// import FullScreenLoading from '../../components/FullScreenLoading.vue'; // import FullScreenLoading from '../../components/FullScreenLoading.vue';
var recorderManager = uni.getRecorderManager(); var recorderManager = uni.getRecorderManager();
...@@ -703,6 +704,8 @@ var _default = { ...@@ -703,6 +704,8 @@ var _default = {
'中国大陆少女口音3': 'zh-CN-YunxiaNeural' '中国大陆少女口音3': 'zh-CN-YunxiaNeural'
}, },
Allvoice: [], Allvoice: [],
fontSize: 0,
boxHeight: 210,
worldParameter: [] worldParameter: []
}; };
}, },
...@@ -765,6 +768,7 @@ var _default = { ...@@ -765,6 +768,7 @@ var _default = {
//获取历史聊天记录 根据历史记录处理决定 websocket 的连接 //获取历史聊天记录 根据历史记录处理决定 websocket 的连接
this.getHistory(); this.getHistory();
this.calcFontSize(26);
//讲完话以后 向服务器发送数据 //讲完话以后 向服务器发送数据
recorderManager.onStop(function (res) { recorderManager.onStop(function (res) {
...@@ -939,11 +943,14 @@ var _default = { ...@@ -939,11 +943,14 @@ var _default = {
}).exec(); }).exec();
}); });
}, },
calcFontSize: function calcFontSize() { calcFontSize: function calcFontSize(size) {
var windowInfo = wx.getWindowInfo(); var windowInfo = wx.getWindowInfo();
var FontSizeRPX = 26 / (430 / 750); var FontSizeRPX = size * (428 / 750);
var FontSizePX = FontSizeRPX * (windowInfo.windowWidth / 750); var FontSizePX = FontSizeRPX / (windowInfo.windowWidth / 750);
document.getElementById('pangbai').style.fontSize = FontSizePX; var pangbaiHeightRPX = 210 * (428 / 750);
var pangbaiHeightPX = pangbaiHeightRPX / (windowInfo.windowWidth / 750);
this.fontSize = FontSizePX;
this.height = 210;
}, },
splitString: function splitString(str) { splitString: function splitString(str) {
var result = []; var result = [];
......
<view class="chat data-v-57280228"><uni-popup vue-id="8dd740cc-1" type="center" animation="{{false}}" data-ref="popup" class="data-v-57280228 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="wrapper_inputMoney data-v-57280228"><view class="wrapper_inputMoney_item data-v-57280228"><input type="number" placeholder="请输入金额" data-event-opts="{{[['input',[['__set_model',['','inputMoney','$event',['number']]],['handleInput',['$event']]]],['blur',[['$forceUpdate']]]]}}" value="{{inputMoney}}" bindinput="__e" bindblur="__e" class="data-v-57280228"/></view><button data-event-opts="{{[['tap',[['handleSendMoney',['$event']]]]]}}" class="yty data-v-57280228" bindtap="__e">提交</button></view></uni-popup><block wx:if="{{ttf}}"><view class="reload_connect data-v-57280228"><view style="text-align:center;" class="data-v-57280228">已断开连接,是否重连!</view><button data-event-opts="{{[['tap',[['handlConnects',['$event']]]]]}}" class="connect_start data-v-57280228" bindtap="__e">连接</button></view></block><block wx:if="{{loading}}"><view class="full-screen-mask data-v-57280228"></view></block><block wx:if="{{loading2}}"><view class="full-screen-mask2 data-v-57280228"></view></block><block wx:if="{{loadingBG}}"><view data-event-opts="{{[['tap',[['handleBGHide',['$event']]]]]}}" class="full-screen-mask3 data-v-57280228" bindtap="__e"></view></block><block wx:if="{{ttf}}"><view class="full-screen-mask4 data-v-57280228"></view></block><view class="images data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/'+currentPageData.name+'.png)')+';'}}"></view><block wx:if="{{showResult}}"><view data-event-opts="{{[['tap',[['getResults',['$event']]]]]}}" class="getResult data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/查看结局.png)')+';'+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" bindtap="__e">查看结局</view></block><view class="menu data-v-57280228"><view data-event-opts="{{[['tap',[['handleShowBG',['$event']]]]]}}" class="sendMoney plg1 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleToggle',['$event']]]]]}}" class="sendMoney plg2 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="sendMoney plg3 data-v-57280228" bindtap="__e"></view><view class="sendMoney plg4 data-v-57280228"><button class="shareWord data-v-57280228" open-type="share" data-event-opts="{{[['tap',[['shareToTimeline',['$event']]]]]}}" bindtap="__e"></button></view><view data-event-opts="{{[['tap',[['sendMoneyMethods',['$event']]]]]}}" class="sendMoney plg5 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleMore',['$event']]]]]}}" class="sendMoney plg6 data-v-57280228" bindtap="__e"></view></view><block wx:if="{{false}}"><view class="dialog data-v-57280228"><view class="dialogHeader data-v-57280228">请输入您的昵称</view><view class="dialogContent data-v-57280228"><input class="inputU data-v-57280228 vue-ref" placeholder="请输入..." data-ref="inputU" data-event-opts="{{[['input',[['__set_model',['','userInputName','$event',[]]]]]]}}" value="{{userInputName}}" bindinput="__e"/></view><view class="dialogFooter data-v-57280228"><button data-event-opts="{{[['tap',[['submitUserName',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">提交</button></view></view></block><block wx:if="{{board}}"><view data-event-opts="{{[['tap',[['handleHiddenShadow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><block wx:if="{{board}}"><view class="board data-v-57280228"><view class="jk data-v-57280228"><view class="imageH data-v-57280228" style="{{'background-image:'+('url('+base64Img+')')+';'+('background-size:'+('contain')+';')+('background-repeat:'+('no-repeat')+';')}}"></view><view class="jklock data-v-57280228"></view><view class="data-v-57280228"><view class="contentHeader data-v-57280228">{{storyContent[0]}}</view><view class="contentMain data-v-57280228"><text class="data-v-57280228">{{storyContent[1]}}</text></view></view></view><view class="footer data-v-57280228"><button data-event-opts="{{[['tap',[['backHome',['$event']]]]]}}" class="home data-v-57280228" bindtap="__e">返回首页</button><button data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="reload data-v-57280228" bindtap="__e">重新来过</button></view></view></block><block wx:if="{{BG}}"><view class="boardBG data-v-57280228"><view class="jk2 data-v-57280228"><view class="contentHeader2 data-v-57280228">故事背景</view><view class="HHH data-v-57280228"><view class="wiik data-v-57280228"><text class="data-v-57280228">{{historyRecord[0].Message}}</text></view></view><view data-event-opts="{{[['tap',[['glb',['$event']]]]]}}" class="confirm data-v-57280228" bindtap="__e">确认</view></view></view></block><block wx:if="{{show}}"><view class="goods data-v-57280228"><view class="containerL data-v-57280228"><view class="hisd data-v-57280228"><image style="{{'height:'+('40rpx')+';'+('width:'+('40rpx')+';')+('position:'+('absolute')+';')+('right:'+('0')+';')+('top:'+('0')+';')}}" src="../../static/UI/退出.png" mode="scaleToFill" data-event-opts="{{[['tap',[['handleCloseDialog',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></image></view><view class="grid-container data-v-57280228"><block wx:for="{{imageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="grid-item data-v-57280228"><view class="grid_item_box data-v-57280228"><image class="grid_item_box_image data-v-57280228" src="{{item.imgSrc}}"></image><view class="_br data-v-57280228"></view><text class="grid_item_box_image_text data-v-57280228">{{item.name}}</text></view></view></block></view></view></view></block><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['handleShow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><view class="shadows data-v-57280228"></view><block wx:if="{{$root.g0>0}}"><view class="outside data-v-57280228"><block wx:if="{{normal}}"><scroll-view class="container data-list-scroll data-v-57280228" style="{{'height:'+(scrollViewHeight)+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-with-animation="{{true}}" scroll-into-view="{{bottomElement}}"><view id="scroll-view-content" class="data-v-57280228"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="historyListData data-v-57280228"><view class="historyListData_item parent-element data-v-57280228"><block wx:if="{{item.g1!==0}}"><view class="left distence leftPhoto data-v-57280228"><block wx:if="{{item.$orig.WObj.animaite}}"><view class="fuck data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228">{{"正在思考中"+dots}}</view></view></view></view></block><block wx:else><view class="data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive doubleStatus data-v-57280228">{{'【时间】: '+item.$orig.WObj["时间"]+''}}</view><view class="_br data-v-57280228"></view><view class="heartActive doubleStatus data-v-57280228">{{'【地点】: '+item.$orig.WObj["地点"]+''}}</view><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228"><rich-text nodes="{{item.m0}}"></rich-text></view></view></view></view></block></view></block><block wx:else><view class="right distence rightPhoto data-v-57280228"><image class="photo data-v-57280228" src="{{userPhoto}}"></image><view class="li_right allbody dealFloat data-v-57280228"><view class="heartActive data-v-57280228">{{''+item.$orig.Message+''}}</view></view></view></block></view></view></block><view id="bottomElement" class="data-v-57280228"></view></view></scroll-view></block></view></block><block wx:if="{{false}}"><view class="formContainer data-v-57280228"><view class="itemContainer data-v-57280228"><view class="chat-window data-v-57280228"><view class="tongyi data-v-57280228" id="MyIn"></view><input class="{{['activeAnimaite','data-v-57280228',boxClass]}}" placeholder="请输入..." data-event-opts="{{[['focus',[['handleFocus',['$event']]]],['blur',[['hadnleBlur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><image class="{{['data-v-57280228',showSend]}}" id="Send" src="../../static/photo/Send.png" data-event-opts="{{[['tap',[['handleSendMessage',['$event']]]]]}}" bindtap="__e"></image><image class="{{['activeAnimaite','data-v-57280228',activeState,focus]}}" id="SendSound" src="../../static/photo/sound.png" data-event-opts="{{[['touchstart',[['startRecord',['$event']]]],['mousedown',[['startRecord',['$event']]]],['touchend',[['endRecord',['$event']]]],['mouseup',[['endRecord',['$event']]]]]}}" bindtouchstart="__e" bindmousedown="__e" bindtouchend="__e" bindmouseup="__e"></image></view></view></view></block><block wx:if="{{UI_show}}"><view class="UI data-v-57280228"><view class="UI_wrapper data-v-57280228"><view class="UI_head data-v-57280228"><view class="UI_head_title data-v-57280228">{{UITitle}}</view><view class="UI_head_timer data-v-57280228">{{UITimer}}</view></view><view class="UI_states data-v-57280228"><view class="UI_states_photo data-v-57280228"><view class="UI_states_photo_wrapper data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('10%')+';')+('left:'+('10%')+';')}}" class="data-v-57280228"></view></view></view><view class="icon_log data-v-57280228"></view><view class="UI_states_value data-v-57280228"><block wx:for="{{worldParameter}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="processLine data-v-57280228"><view class="data-v-57280228"><block wx:if="{{index==0}}"><view class="processLine_item jiegan data-v-57280228"><view class="no1 ksp data-v-57280228" style="{{'width:'+(UIStatus_jiegan+'%')+';'+('background-size:'+(UIStatus_jiegan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_jiegan+' / 100'}}</view></view></block><block wx:if="{{index==1}}"><view class="processLine_item kongjugan data-v-57280228"><view class="no1 ogc data-v-57280228" style="{{'width:'+(UIStatus_kongjugan+'%')+';'+('background-size:'+(UIStatus_kongjugan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_kongjugan+' / 100'}}</view></view></block></view></view></block></view></view><view class="UI_body data-v-57280228"><view class="UI_body_right data-v-57280228"><block wx:if="{{glod_user}}"><view class="UI_body_right_content data-v-57280228"><view class="UI_body_right_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 40rpx 0 20rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{inputVal_UI+''}}</view></view><view class="UI_body_right_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('margin:'+('10% 0 0 10%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" class="data-v-57280228"></view></view></view></block><view class="UI_body_left data-v-57280228"><block wx:if="{{glod_dp}}"><view class="UI_body_left_content data-v-57280228"><view class="UI_body_left_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+dpPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('11%')+';')+('left:'+('9.5%')+';')}}" class="data-v-57280228"></view></view><view class="UI_body_left_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 10rpx 0 50rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{''+yyds_dp+''}}</view></view></view></block></view><view class="UI_body_left_Pangbai_content data-v-57280228"><view class="pangbai_title data-v-57280228"><text class="data-v-57280228">旁白</text></view><scroll-view class="pangbai_content data-v-57280228" style="{{'height:'+('7.5rem')+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop_pangbai}}" scroll-into-view="{{bottomElement_pangbai}}"><view id="scrollView" class="data-v-57280228"><view class="npc data-v-57280228" id="pangbai">{{yyds_pangbai}}</view><view id="bottomElement_pangbai" class="data-v-57280228"></view></view></scroll-view><image class="tre data-v-57280228" src="../../static/UI/继续.png" mode="scaleToFill" data-event-opts="{{[['tap',[['nextTips',['$event']]]]]}}" bindtap="__e"></image></view></view></view><block wx:if="{{foot}}"><view class="UI_footer data-v-57280228"><view class="UI_footer_tool data-v-57280228"><view class="UI_footer_tool_wrapper data-v-57280228"><view data-event-opts="{{[['tap',[['handlSay',['$event']]]]]}}" class="{{['say','data-v-57280228',!userDoing?sayDoingClass:null]}}" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handlDoing',['$event']]]]]}}" class="{{['doing','data-v-57280228',userDoing?sayDoingClass2:null]}}" bindtap="__e"></view><view class="input data-v-57280228"><input data-event-opts="{{[['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" class="UI_input data-v-57280228" value="{{inputVal}}" bindinput="__e"/><view id="Send2" data-event-opts="{{[['tap',[['handleSendMessage2',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></view></view></view></view></view></block></view></view></block></view> <view class="chat data-v-57280228"><uni-popup vue-id="8dd740cc-1" type="center" animation="{{false}}" data-ref="popup" class="data-v-57280228 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="wrapper_inputMoney data-v-57280228"><view class="wrapper_inputMoney_item data-v-57280228"><input type="number" placeholder="请输入金额" data-event-opts="{{[['input',[['__set_model',['','inputMoney','$event',['number']]],['handleInput',['$event']]]],['blur',[['$forceUpdate']]]]}}" value="{{inputMoney}}" bindinput="__e" bindblur="__e" class="data-v-57280228"/></view><button data-event-opts="{{[['tap',[['handleSendMoney',['$event']]]]]}}" class="yty data-v-57280228" bindtap="__e">提交</button></view></uni-popup><block wx:if="{{ttf}}"><view class="reload_connect data-v-57280228"><view style="text-align:center;" class="data-v-57280228">已断开连接,是否重连!</view><button data-event-opts="{{[['tap',[['handlConnects',['$event']]]]]}}" class="connect_start data-v-57280228" bindtap="__e">连接</button></view></block><block wx:if="{{loading}}"><view class="full-screen-mask data-v-57280228"></view></block><block wx:if="{{loading2}}"><view class="full-screen-mask2 data-v-57280228"></view></block><block wx:if="{{loadingBG}}"><view data-event-opts="{{[['tap',[['handleBGHide',['$event']]]]]}}" class="full-screen-mask3 data-v-57280228" bindtap="__e"></view></block><block wx:if="{{ttf}}"><view class="full-screen-mask4 data-v-57280228"></view></block><view class="images data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/'+currentPageData.name+'.png)')+';'}}"></view><block wx:if="{{showResult}}"><view data-event-opts="{{[['tap',[['getResults',['$event']]]]]}}" class="getResult data-v-57280228" style="{{'background-image:'+('url(https://admin.mindepoch.com:8089/worlds/查看结局.png)')+';'+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" bindtap="__e">查看结局</view></block><view class="menu data-v-57280228"><view data-event-opts="{{[['tap',[['handleShowBG',['$event']]]]]}}" class="sendMoney plg1 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleToggle',['$event']]]]]}}" class="sendMoney plg2 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="sendMoney plg3 data-v-57280228" bindtap="__e"></view><view class="sendMoney plg4 data-v-57280228"><button class="shareWord data-v-57280228" open-type="share" data-event-opts="{{[['tap',[['shareToTimeline',['$event']]]]]}}" bindtap="__e"></button></view><view data-event-opts="{{[['tap',[['sendMoneyMethods',['$event']]]]]}}" class="sendMoney plg5 data-v-57280228" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handleMore',['$event']]]]]}}" class="sendMoney plg6 data-v-57280228" bindtap="__e"></view></view><block wx:if="{{false}}"><view class="dialog data-v-57280228"><view class="dialogHeader data-v-57280228">请输入您的昵称</view><view class="dialogContent data-v-57280228"><input class="inputU data-v-57280228 vue-ref" placeholder="请输入..." data-ref="inputU" data-event-opts="{{[['input',[['__set_model',['','userInputName','$event',[]]]]]]}}" value="{{userInputName}}" bindinput="__e"/></view><view class="dialogFooter data-v-57280228"><button data-event-opts="{{[['tap',[['submitUserName',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">提交</button></view></view></block><block wx:if="{{board}}"><view data-event-opts="{{[['tap',[['handleHiddenShadow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><block wx:if="{{board}}"><view class="board data-v-57280228"><view class="jk data-v-57280228"><view class="imageH data-v-57280228" style="{{'background-image:'+('url('+base64Img+')')+';'+('background-size:'+('contain')+';')+('background-repeat:'+('no-repeat')+';')}}"></view><view class="jklock data-v-57280228"></view><view class="data-v-57280228"><view class="contentHeader data-v-57280228">{{storyContent[0]}}</view><view class="contentMain data-v-57280228"><text class="data-v-57280228">{{storyContent[1]}}</text></view></view></view><view class="footer data-v-57280228"><button data-event-opts="{{[['tap',[['backHome',['$event']]]]]}}" class="home data-v-57280228" bindtap="__e">返回首页</button><button data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="reload data-v-57280228" bindtap="__e">重新来过</button></view></view></block><block wx:if="{{BG}}"><view class="boardBG data-v-57280228"><view class="jk2 data-v-57280228"><view class="contentHeader2 data-v-57280228">故事背景</view><view class="HHH data-v-57280228"><view class="wiik data-v-57280228"><text class="data-v-57280228">{{historyRecord[0].Message}}</text></view></view><view data-event-opts="{{[['tap',[['glb',['$event']]]]]}}" class="confirm data-v-57280228" bindtap="__e">确认</view></view></view></block><block wx:if="{{show}}"><view class="goods data-v-57280228"><view class="containerL data-v-57280228"><view class="hisd data-v-57280228"><image style="{{'height:'+('40rpx')+';'+('width:'+('40rpx')+';')+('position:'+('absolute')+';')+('right:'+('0')+';')+('top:'+('0')+';')}}" src="../../static/UI/退出.png" mode="scaleToFill" data-event-opts="{{[['tap',[['handleCloseDialog',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></image></view><view class="grid-container data-v-57280228"><block wx:for="{{imageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="grid-item data-v-57280228"><view class="grid_item_box data-v-57280228"><image class="grid_item_box_image data-v-57280228" src="{{item.imgSrc}}"></image><view class="_br data-v-57280228"></view><text class="grid_item_box_image_text data-v-57280228">{{item.name}}</text></view></view></block></view></view></view></block><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['handleShow',['$event']]]]]}}" class="shadow data-v-57280228" bindtap="__e"></view></block><view class="shadows data-v-57280228"></view><block wx:if="{{$root.g0>0}}"><view class="outside data-v-57280228"><block wx:if="{{normal}}"><scroll-view class="container data-list-scroll data-v-57280228" style="{{'height:'+(scrollViewHeight)+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-with-animation="{{true}}" scroll-into-view="{{bottomElement}}"><view id="scroll-view-content" class="data-v-57280228"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="historyListData data-v-57280228"><view class="historyListData_item parent-element data-v-57280228"><block wx:if="{{item.g1!==0}}"><view class="left distence leftPhoto data-v-57280228"><block wx:if="{{item.$orig.WObj.animaite}}"><view class="fuck data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228">{{"正在思考中"+dots}}</view></view></view></view></block><block wx:else><view class="data-v-57280228"><view class="photo data-v-57280228" style="{{'background-image:'+('url('+dpPhoto+')')+';'+('background-size:'+('cover')+';')+('background-repeat:'+('no-repeat')+';')+('background-position:'+('center center')+';')}}"></view><view class="allbody dealFloat li_left data-v-57280228"><view class="heartActive doubleStatus data-v-57280228">{{'【时间】: '+item.$orig.WObj["时间"]+''}}</view><view class="_br data-v-57280228"></view><view class="heartActive doubleStatus data-v-57280228">{{'【地点】: '+item.$orig.WObj["地点"]+''}}</view><view class="heartActive data-v-57280228"><view class="textStyle data-v-57280228"><rich-text nodes="{{item.m0}}"></rich-text></view></view></view></view></block></view></block><block wx:else><view class="right distence rightPhoto data-v-57280228"><image class="photo data-v-57280228" src="{{userPhoto}}"></image><view class="li_right allbody dealFloat data-v-57280228"><view class="heartActive data-v-57280228">{{''+item.$orig.Message+''}}</view></view></view></block></view></view></block><view id="bottomElement" class="data-v-57280228"></view></view></scroll-view></block></view></block><block wx:if="{{false}}"><view class="formContainer data-v-57280228"><view class="itemContainer data-v-57280228"><view class="chat-window data-v-57280228"><view class="tongyi data-v-57280228" id="MyIn"></view><input class="{{['activeAnimaite','data-v-57280228',boxClass]}}" placeholder="请输入..." data-event-opts="{{[['focus',[['handleFocus',['$event']]]],['blur',[['hadnleBlur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><image class="{{['data-v-57280228',showSend]}}" id="Send" src="../../static/photo/Send.png" data-event-opts="{{[['tap',[['handleSendMessage',['$event']]]]]}}" bindtap="__e"></image><image class="{{['activeAnimaite','data-v-57280228',activeState,focus]}}" id="SendSound" src="../../static/photo/sound.png" data-event-opts="{{[['touchstart',[['startRecord',['$event']]]],['mousedown',[['startRecord',['$event']]]],['touchend',[['endRecord',['$event']]]],['mouseup',[['endRecord',['$event']]]]]}}" bindtouchstart="__e" bindmousedown="__e" bindtouchend="__e" bindmouseup="__e"></image></view></view></view></block><block wx:if="{{UI_show}}"><view class="UI data-v-57280228"><view class="UI_wrapper data-v-57280228"><view class="UI_head data-v-57280228"><view class="UI_head_title data-v-57280228">{{UITitle}}</view><view class="UI_head_timer data-v-57280228">{{UITimer}}</view></view><view class="UI_states data-v-57280228"><view class="UI_states_photo data-v-57280228"><view class="UI_states_photo_wrapper data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('100% 100%')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('10%')+';')+('left:'+('10%')+';')}}" class="data-v-57280228"></view></view></view><view class="icon_log data-v-57280228"></view><view class="UI_states_value data-v-57280228"><block wx:for="{{worldParameter}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="processLine data-v-57280228"><view class="data-v-57280228"><block wx:if="{{index==0}}"><view class="processLine_item jiegan data-v-57280228"><view class="no1 ksp data-v-57280228" style="{{'width:'+(UIStatus_jiegan+'%')+';'+('background-size:'+(UIStatus_jiegan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_jiegan+' / 100'}}</view></view></block><block wx:if="{{index==1}}"><view class="processLine_item kongjugan data-v-57280228"><view class="no1 ogc data-v-57280228" style="{{'width:'+(UIStatus_kongjugan+'%')+';'+('background-size:'+(UIStatus_kongjugan<=93?'auto 100%':'contain')+';')}}"></view><view class="sameFonts data-v-57280228" style="{{'z-index:'+(10)+';'}}">{{''+item+":"+UIStatus_kongjugan+' / 100'}}</view></view></block></view></view></block></view></view><view class="UI_body data-v-57280228"><view class="UI_body_right data-v-57280228"><block wx:if="{{glod_user}}"><view class="UI_body_right_content data-v-57280228"><view class="UI_body_right_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 40rpx 0 20rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{inputVal_UI+''}}</view></view><view class="UI_body_right_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('margin:'+('10% 0 0 10%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+userPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')}}" class="data-v-57280228"></view></view></view></block><view class="UI_body_left data-v-57280228"><block wx:if="{{glod_dp}}"><view class="UI_body_left_content data-v-57280228"><view class="UI_body_left_content_photo data-v-57280228"><view style="{{'width:'+('80%')+';'+('height:'+('80%')+';')+('border-radius:'+('50%')+';')+('background:'+('url('+dpPhoto+')')+';')+('background-size:'+('cover')+';')+('background-position:'+('center')+';')+('background-repeat:'+('no-repeat')+';')+('position:'+('absolute')+';')+('top:'+('11%')+';')+('left:'+('9.5%')+';')}}" class="data-v-57280228"></view></view><view class="UI_body_left_content_text data-v-57280228"><view style="{{'line-height:'+('100rpx')+';'+('margin:'+('10rpx 10rpx 0 50rpx')+';')+('height:'+('100rpx')+';')+('overflow-y:'+('scroll')+';')+('text-indent:'+(0)+';')}}" class="data-v-57280228">{{''+yyds_dp+''}}</view></view></view></block></view><view class="UI_body_left_Pangbai_content data-v-57280228"><view class="pangbai_title data-v-57280228"><text class="data-v-57280228">旁白</text></view><scroll-view class="pangbai_content data-v-57280228" style="{{'height:'+(boxHeight+'rpx')+';'}}" scroll-y="{{true}}" scroll-top="{{scrollTop_pangbai}}" scroll-into-view="{{bottomElement_pangbai}}" id="pangbaiBox"><view id="scrollView" class="data-v-57280228"><view class="npc data-v-57280228" style="{{'font-size:'+(fontSize+'rpx')+';'}}">{{yyds_pangbai}}</view><view id="bottomElement_pangbai" class="data-v-57280228"></view></view></scroll-view><image class="tre data-v-57280228" src="../../static/UI/继续.png" mode="scaleToFill" data-event-opts="{{[['tap',[['nextTips',['$event']]]]]}}" bindtap="__e"></image></view></view></view><block wx:if="{{foot}}"><view class="UI_footer data-v-57280228"><view class="UI_footer_tool data-v-57280228"><view class="UI_footer_tool_wrapper data-v-57280228"><view data-event-opts="{{[['tap',[['handlSay',['$event']]]]]}}" class="{{['say','data-v-57280228',!userDoing?sayDoingClass:null]}}" bindtap="__e"></view><view data-event-opts="{{[['tap',[['handlDoing',['$event']]]]]}}" class="{{['doing','data-v-57280228',userDoing?sayDoingClass2:null]}}" bindtap="__e"></view><view class="input data-v-57280228"><input data-event-opts="{{[['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" class="UI_input data-v-57280228" value="{{inputVal}}" bindinput="__e"/><view id="Send2" data-event-opts="{{[['tap',[['handleSendMessage2',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></view></view></view></view></view></block></view></view></block></view>
\ No newline at end of file \ No newline at end of file
...@@ -963,7 +963,6 @@ to { ...@@ -963,7 +963,6 @@ to {
position:relative; position:relative;
} }
.pangbai_content.data-v-57280228{ .pangbai_content.data-v-57280228{
height: 250rpx;
overflow: scroll; overflow: scroll;
color: #fff; color: #fff;
padding: 12rpx; padding: 12rpx;
...@@ -1135,8 +1134,8 @@ to { ...@@ -1135,8 +1134,8 @@ to {
.npc.data-v-57280228{ .npc.data-v-57280228{
word-break:break-all; word-break:break-all;
white-space:pre-wrap; white-space:pre-wrap;
font-size: 26rpx;
padding-right: 16rpx; padding-right: 16rpx;
font-size: 86%;
} }
.confirm.data-v-57280228{ .confirm.data-v-57280228{
width: 160rpx; width: 160rpx;
......
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