Commit 8aa54cec by xhw

更新

parent bc955ebf
...@@ -507,7 +507,9 @@ export default { ...@@ -507,7 +507,9 @@ export default {
'中国大陆少女口音3': 'zh-CN-YunxiaNeural', '中国大陆少女口音3': 'zh-CN-YunxiaNeural',
}, },
Allvoice:[], Allvoice:[],
worldParameter:[] worldParameter:[],
total_val:[],
quotedData:[]
} }
}, },
computed: { computed: {
...@@ -838,7 +840,7 @@ export default { ...@@ -838,7 +840,7 @@ export default {
}); });
// 监听接收到服务器发送的消息事件 // 监听接收到服务器发送的消息事件
this.socketTask.onMessage((message) => { this.socketTask.onMessage((message) => {
console.log('message--------',message) // console.log('message--------',message)
clearInterval(this.timerConsider); clearInterval(this.timerConsider);
clearInterval(this.timer); clearInterval(this.timer);
this.jumping = false this.jumping = false
...@@ -850,7 +852,7 @@ export default { ...@@ -850,7 +852,7 @@ export default {
uni.hideLoading(); uni.hideLoading();
//处理把数据添加至页面 //处理把数据添加至页面
const backValue = JSON.parse(message.data) const backValue = JSON.parse(message.data)
console.log('----onMessage----',backValue) // console.log('----onMessage----',backValue)
if(!this.header){ if(!this.header){
this.glod_dp = false //先隐藏数字人对话框 this.glod_dp = false //先隐藏数字人对话框
} }
...@@ -906,7 +908,7 @@ export default { ...@@ -906,7 +908,7 @@ export default {
'Content-Type': 'application/x-www-form-urlencoded' 'Content-Type': 'application/x-www-form-urlencoded'
} }
}).then(res=>{ }).then(res=>{
console.log('当前道具名称对应的图片资源',res[1].data) // console.log('当前道具名称对应的图片资源',res[1].data)
if(res[1].data.code===1){ if(res[1].data.code===1){
this.imageList.push({imgSrc:'https://admin.mindepoch.com:8089'+res[1].data.propImagePath,name:this.items[i]}) this.imageList.push({imgSrc:'https://admin.mindepoch.com:8089'+res[1].data.propImagePath,name:this.items[i]})
} }
...@@ -937,7 +939,7 @@ export default { ...@@ -937,7 +939,7 @@ export default {
'Cookie': `${uni.getStorageSync('session_token')}` 'Cookie': `${uni.getStorageSync('session_token')}`
} }
}).then(res=>{ }).then(res=>{
console.log('图片资源',res) // console.log('图片资源',res)
this.base64Img = 'data:image/png;base64,' + uni.arrayBufferToBase64(res[1].data); this.base64Img = 'data:image/png;base64,' + uni.arrayBufferToBase64(res[1].data);
this.loading = true this.loading = true
this.foot = false //输入框区域隐藏 this.foot = false //输入框区域隐藏
...@@ -956,32 +958,51 @@ export default { ...@@ -956,32 +958,51 @@ export default {
} }
} }
//服务器传来的内容处理 包括发声 //服务器传来的内容处理 包括发声
let ISLIU_content = backValue.ISLIU ? backValue.ISLIU : '' let ISLIU_content = backValue.ISLIU ? backValue.ISLIU : '';
console.log(ISLIU_content)
if (ISLIU_content !== '') { if (ISLIU_content !== '') {
uni.request({
url: `https://admin.mindepoch.com:8089/ai/process`,
method: 'post',
data: {
content:ISLIU_content
},
header: {
'Cookie': `${uni.getStorageSync('session_token')}`,
'Content-Type': 'application/json' // 指定请求头类型为 JSON
}
}).then(res=>{
ISLIU_content = ISLIU_content.replaceAll("“", `"`).replaceAll("”", `"`) ISLIU_content = ISLIU_content.replaceAll("“", `"`).replaceAll("”", `"`)
const finalVal = this.extractQuotedTexts(ISLIU_content).join(",") const finalVal = this.extractQuotedTexts(ISLIU_content).join(",")
console.log('finalVal',finalVal) let text = this.splitString(ISLIU_content)
this.total_val = res[1].data.results
const text = this.splitString(ISLIU_content) // this.total_val.unshift()
console.log('kkkkkkkkkkkkkkkkkkkkkkk',ISLIU_content) this.total_val = this.total_val.splice(1,this.total_val.length)
this.execFile(text); console.log(text,this.total_val)
// console.log('finalVal',finalVal)
// console.log('ISLIU_content',ISLIU_content,'text',text,'total_val',res[1].data.results)
text = text.map((item)=>{
if(!item.quoted){
item.voicer = this.currentPageData.voiceGroups['2']
}else{
if(this.total_val.length!=0){
// this.GoSound(text, function (text, falg) { const double = this.separateChineseAndNumbers(this.total_val[0])
// if (falg) { const voicer = this.currentPageData.voiceGroups[double[1]] ?
// console.log('讲话完毕!') this.currentPageData.voiceGroups[double[1]] :
// } this.currentPageData.voiceGroups[double[0]];
// }) item.voicer = voicer
this.total_val = this.total_val.splice(1,this.total_val.length)
}
}
return item
})
this.execFile(text,ISLIU_content);
// this.finalVal = this.extractQuotedTexts(ISLIU_content).join(",") }).catch(err=>{
// console.log('处理后的文字', this.finalVal) console.log(err)
// this.GoSound(this.finalVal, "huaHuo", function (text, falg) { })
// if (falg) {
// console.log('讲话完毕!')
// }
// })
} }
//把用户的聊天内容加入到页面中 //把用户的聊天内容加入到页面中
...@@ -993,7 +1014,7 @@ export default { ...@@ -993,7 +1014,7 @@ export default {
this.historyRecord = this.historyRecord.filter(item=>{ this.historyRecord = this.historyRecord.filter(item=>{
return !item.Message.includes("正在思考中") return !item.Message.includes("正在思考中")
}) })
console.log('historyRecord',this.historyRecord) // console.log('historyRecord',this.historyRecord)
// this.inputVal = '' //清空输入框 // this.inputVal = '' //清空输入框
this.yyds_pangbai = '' this.yyds_pangbai = ''
...@@ -1064,7 +1085,7 @@ export default { ...@@ -1064,7 +1085,7 @@ export default {
'Content-Type': 'application/x-www-form-urlencoded' 'Content-Type': 'application/x-www-form-urlencoded'
} }
}).then(res => { }).then(res => {
console.log('历史聊天记录',res[1]) // console.log('历史聊天记录',res[1])
//需要根据历史纪录最后一条 来处理是否还需要往下面聊 //需要根据历史纪录最后一条 来处理是否还需要往下面聊
if (res[1].data.code===1) { if (res[1].data.code===1) {
if(res[1].data.chatRecordInfo){ if(res[1].data.chatRecordInfo){
...@@ -1080,7 +1101,7 @@ export default { ...@@ -1080,7 +1101,7 @@ export default {
const result = this.extractText(this.header.Message) const result = this.extractText(this.header.Message)
const len = result.insideQuotesText.length const len = result.insideQuotesText.length
console.log('result',result) // console.log('result',result)
if(result.insideQuotesText.length==0){ //数字人对话框是否需要显示 if(result.insideQuotesText.length==0){ //数字人对话框是否需要显示
this.glod_dp = false this.glod_dp = false
...@@ -1654,7 +1675,7 @@ export default { ...@@ -1654,7 +1675,7 @@ export default {
//假人音线 //假人音线
FetchAbuffer(OriginObj, voicer, Sarry, CB) { FetchAbuffer(OriginObj, voicer, Sarry, CB) {
let Cobj2 = this.computeLen(OriginObj); let Cobj2 = this.computeLen(OriginObj);
console.log('llllllllll',Cobj2) // console.log('llllllllll',Cobj2)
let Asr = Cobj2.Sr; let Asr = Cobj2.Sr;
uni.request({ uni.request({
url: 'https://admin.mindepoch.com:8089/say/api/ra', url: 'https://admin.mindepoch.com:8089/say/api/ra',
...@@ -1671,7 +1692,7 @@ export default { ...@@ -1671,7 +1692,7 @@ export default {
// OriginObj = Cobj2 // OriginObj = Cobj2
this.Cobj2.content = Cobj2.content this.Cobj2.content = Cobj2.content
this.Cobj2.Sr = Cobj2.Sr this.Cobj2.Sr = Cobj2.Sr
console.log('OriginObj',OriginObj) // console.log('OriginObj',OriginObj)
if (Cobj2.content != "") { if (Cobj2.content != "") {
setTimeout(() => { setTimeout(() => {
this.FetchAbuffer(Cobj2, voicer, Sarry) this.FetchAbuffer(Cobj2, voicer, Sarry)
...@@ -1696,7 +1717,7 @@ export default { ...@@ -1696,7 +1717,7 @@ export default {
}, },
data:this.createSSML(Cobj.Sr, voicer) data:this.createSSML(Cobj.Sr, voicer)
}).then(arrayBuffer => { }).then(arrayBuffer => {
console.log('[真人buffer[[[[') // console.log('[真人buffer[[[[')
Sarry.push({ A: arrayBuffer[1].data, S: Asr }); Sarry.push({ A: arrayBuffer[1].data, S: Asr });
// OriginObj = Cobj // OriginObj = Cobj
this.Cobj.content = Cobj.content this.Cobj.content = Cobj.content
...@@ -1709,47 +1730,94 @@ export default { ...@@ -1709,47 +1730,94 @@ export default {
}) })
}, },
execFile(data){ execFile(data,ISLIU_content){
// let arrObj = data;
// const content = arrObj[0].text;
// //quoted为真 或为假 表示 真假音线
// const voicer = arrObj[0].quoted ?
// this.currentPageData.voiceGroups[1] :
// this.currentPageData.voiceGroups[0]
// const voicer = arrObj[0].quoted ? this.currentPageData.voiceGroups[1] : this.currentPageData.voiceGroups[0];
let arrObj = data; let arrObj = data;
const content = arrObj[0].text; const content = arrObj[0].text;
const voicer = arrObj[0].quoted ? this.currentPageData.voiceGroups[1] : this.currentPageData.voiceGroups[0]; const voicer = arrObj[0].voicer;
console.log('--------------voicer------------------',voicer,'-----------content---------------',content)
if(this.soundVoice[voicer]){
//假人音线
this.GoSay(content,voicer,(text, falg)=>{ this.GoSay(content,voicer,(text, falg)=>{
if(arrObj[0].quoted){
if(text!==""&&!falg){ if(text!==""&&!falg){
this.kill = false this.glod_dp = true
this.delayText(text) // this.glod_user = false
this.yyds_dp = text
this.yyds_pangbai += " “ "+text+ " ” "
} }
if (falg) { if (falg) {
console.log('GoSay讲话完毕!') console.log('GoSound讲话完毕!')
this.kill = true
arrObj.shift() arrObj.shift()
console.log('arrObj',arrObj) console.log('arrObj',arrObj)
if(arrObj.length!==0){ if(arrObj.length!==0){
this.execFile(arrObj) this.execFile(arrObj)
} }
} }
})
}else{ }else{
this.GoSound(content,voicer,(text, falg)=>{
if(text!==""&&!falg){ if(text!==""&&!falg){
this.glod_dp = true this.kill = false
// this.glod_user = false this.delayText(text)
this.yyds_dp = text
this.yyds_pangbai += " “ "+text+ " ” "
} }
if (falg) { if (falg) {
console.log('GoSound讲话完毕!') console.log('GoSay讲话完毕!')
this.kill = true
arrObj.shift() arrObj.shift()
console.log('arrObj',arrObj) console.log('arrObj',arrObj)
if(arrObj.length!==0){ if(arrObj.length!==0){
this.execFile(arrObj) this.execFile(arrObj)
} }
} }
})
} }
})
// if(this.soundVoice[voicer]){
// //假人音线
// this.GoSay(content,voicer,(text, falg)=>{
// if(text!==""&&!falg){
// this.kill = false
// this.delayText(text)
// }
// if (falg) {
// console.log('GoSay讲话完毕!')
// this.kill = true
// arrObj.shift()
// console.log('arrObj',arrObj)
// if(arrObj.length!==0){
// this.execFile(arrObj)
// }
// }
// })
// }else{
// this.GoSound(content,voicer,(text, falg)=>{
// if(text!==""&&!falg){
// this.glod_dp = true
// // this.glod_user = false
// this.yyds_dp = text
// this.yyds_pangbai += " “ "+text+ " ” "
// }
// if (falg) {
// console.log('GoSound讲话完毕!')
// arrObj.shift()
// console.log('arrObj',arrObj)
// if(arrObj.length!==0){
// this.execFile(arrObj)
// }
// }
// })
// }
},
separateChineseAndNumbers(str) {
console.log(str)
// 使用正则表达式匹配数字和中文字符
const matches = str.match(/[\u4e00-\u9fa5]+|[0-9]+/g);
return matches || [];
}, },
delayText(text){ delayText(text){
...@@ -1867,7 +1935,7 @@ export default { ...@@ -1867,7 +1935,7 @@ export default {
data: Sobj.A, data: Sobj.A,
encoding: 'binary', encoding: 'binary',
success: function() { success: function() {
console.log('1144',that.tempFilePath2) // console.log('1144',that.tempFilePath2)
that.tempFilePath = that.tempFilePath2 that.tempFilePath = that.tempFilePath2
if (CB) CB(Sobj.S) if (CB) CB(Sobj.S)
that.EPlayer = wx.createInnerAudioContext(); that.EPlayer = wx.createInnerAudioContext();
...@@ -1901,6 +1969,11 @@ export default { ...@@ -1901,6 +1969,11 @@ export default {
//假人音线 //假人音线
GoSay(content, voicer, CB) { GoSay(content, voicer, CB) {
if(!this.soundVoice[voicer]){
//真人音线
this.GoSound(content, voicer, CB)
return
}
// 要读的文字 声线 回调 // 要读的文字 声线 回调
var that = this; var that = this;
let Sarry = [] ; let Sarry = [] ;
...@@ -1945,10 +2018,10 @@ export default { ...@@ -1945,10 +2018,10 @@ export default {
FileSystemManager.unlink({ FileSystemManager.unlink({
filePath:that.tempFilePath, filePath:that.tempFilePath,
success (res) { success (res) {
console.log('删除成功',res) // console.log('删除成功',res)
}, },
fail (err) { fail (err) {
console.error('删除失败', err); // console.error('删除失败', err);
} }
}) })
......
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/coco/dream/uniapp/jueqing/App.vue?545e","uni-app:///App.vue","webpack:///D:/coco/dream/uniapp/jueqing/App.vue?73c0","webpack:///D:/coco/dream/uniapp/jueqing/App.vue?f7c9"],"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"],"mappings":";;;;;;;;;iDAAA;;AAEA;AACA,uE,wnCAHmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;;AAKnBC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAF,aAAIG,SAAJ,CAAcC,WAAd,GAA4B;AAC1BC,YAAU,EAAE,KADc,EACP;AACnBC,eAAa,EAAC,EAFY,EAER;AAClBC,gBAAc,EAAC,EAHW,EAGP;AACnBC,OAAK,EAAC,CAJoB,EAIjB;AACTC,WAAS,EAAC,EALgB;AAM1BC,QAAM,EAAC,EANmB;AAO1BC,QAAM,EAAC,CAPmB;AAQ1BC,QAAM,EAAC,CARmB;AAS1BC,UAAQ,EAAC,EATiB,EAA5B;;AAWAC,aAAIC,MAAJ,GAAa,KAAb;;AAEA,IAAMC,GAAG,GAAG,IAAIhB,YAAJ;AACLc,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AACmK;AACnK,gBAAgB,6KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAgmB,CAAgB,6mBAAG,EAAC,C;;;;;;;;;;;;ACCpnB;AACA;AACA;AACA;AACA,GAJA;AAKA;AACA;AACA,GAPA;AAQA;AACA;AACA,GAVA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAA2oC,CAAgB,4lCAAG,EAAC,C;;;;;;;;;;ACA/pC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\r\n\r\nimport Vue from 'vue'\r\nimport App from './App'\r\n\r\nVue.config.productionTip = false\r\nVue.prototype.$globalData = {\r\n showEnding: false, //是否显示聊天结局\r\n EndingContent:[], //保存了聊天结束后的内容\r\n base64ImageStr:'', //存储的base64图片\r\n wxUid:0, //登陆成功后的用户id 用于聊天使用\r\n userPhoto:'',\r\n wxCode:'',\r\n monney:0,\r\n Monney:0,\r\n userTool:[]\r\n}\r\nApp.mpType = 'app'\r\n\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\n\t\t\tconsole.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\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}\r\n</style>\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721008753860\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} {"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/coco/dream/uniapp/jueqing/App.vue?545e","uni-app:///App.vue","webpack:///D:/coco/dream/uniapp/jueqing/App.vue?73c0","webpack:///D:/coco/dream/uniapp/jueqing/App.vue?f7c9"],"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"],"mappings":";;;;;;;;;iDAAA;;AAEA;AACA,uE,wnCAHmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;;AAKnBC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAF,aAAIG,SAAJ,CAAcC,WAAd,GAA4B;AAC1BC,YAAU,EAAE,KADc,EACP;AACnBC,eAAa,EAAC,EAFY,EAER;AAClBC,gBAAc,EAAC,EAHW,EAGP;AACnBC,OAAK,EAAC,CAJoB,EAIjB;AACTC,WAAS,EAAC,EALgB;AAM1BC,QAAM,EAAC,EANmB;AAO1BC,QAAM,EAAC,CAPmB;AAQ1BC,QAAM,EAAC,CARmB;AAS1BC,UAAQ,EAAC,EATiB,EAA5B;;AAWAC,aAAIC,MAAJ,GAAa,KAAb;;AAEA,IAAMC,GAAG,GAAG,IAAIhB,YAAJ;AACLc,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AACmK;AACnK,gBAAgB,6KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAgmB,CAAgB,6mBAAG,EAAC,C;;;;;;;;;;;;ACCpnB;AACA;AACA;AACA;AACA,GAJA;AAKA;AACA;AACA,GAPA;AAQA;AACA;AACA,GAVA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAA2oC,CAAgB,4lCAAG,EAAC,C;;;;;;;;;;ACA/pC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\r\n\r\nimport Vue from 'vue'\r\nimport App from './App'\r\n\r\nVue.config.productionTip = false\r\nVue.prototype.$globalData = {\r\n showEnding: false, //是否显示聊天结局\r\n EndingContent:[], //保存了聊天结束后的内容\r\n base64ImageStr:'', //存储的base64图片\r\n wxUid:0, //登陆成功后的用户id 用于聊天使用\r\n userPhoto:'',\r\n wxCode:'',\r\n monney:0,\r\n Monney:0,\r\n userTool:[]\r\n}\r\nApp.mpType = 'app'\r\n\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\n\t\t\tconsole.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\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}\r\n</style>\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721368729276\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?2736","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?b372","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?7981","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?8fcb","uni-app:///pages/currentHome/index.vue","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?92ff","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?30bc"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,kG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBppB;AACA,MADA,kBACA;AACA;AACA;AACA,0CADA;AAEA,6CAFA;AAGA;AACA;AAJA,OADA;;AAQA,GAVA;AAWA;AACA,gBADA,wBACA,CADA,EACA;AACA,0CADA,CACA;AACA;AACA;AACA,KALA,EAXA,E;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAu7B,CAAgB,43BAAG,EAAC,C;;;;;;;;;;;ACA38B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/currentHome/index.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"container\">\r\n <swiper \r\n class=\"swiper\" \r\n indicator-dots=\"false\" \r\n autoplay=\"true\" \r\n interval=\"3000\" \r\n duration=\"1000\" \r\n circular=\"true\"\r\n bindchange=\"swiperChange\">\r\n <swiper-item class=\"swiper-item\" v-for=\"(item, index) in imgList\" :key=\"index\">\r\n <image :src=\"item\" class=\"slide-image\" />\r\n </swiper-item>\r\n </swiper>\r\n </view>\r\n </template>\r\n \r\n <script>\r\n export default {\r\n data() {\r\n return {\r\n imgList: [\r\n '../../../static/photo/makeWord.png',\r\n '../../../static/photo/fightingAll.png',\r\n '../../../static/photo/forwardHouse.png' \r\n // 更多图片路径\r\n ],\r\n };\r\n },\r\n methods: {\r\n swiperChange(e) {\r\n const currentIndex = e.detail.current; // 获取当前swiper的索引\r\n // 根据currentIndex动态调整当前、前一张、后一张图片的样式以实现3D效果\r\n // 由于直接操作样式较为复杂,建议根据currentIndex修改数据驱动样式的变化\r\n }\r\n }\r\n };\r\n </script>\r\n\r\n<style scoped>\r\n.container {\r\n width: 100%;\r\n overflow: hidden;\r\n}\r\n.swiper {\r\n height: 200px;\r\n width: 100%;\r\n}\r\n.swiper-item {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 200px;\r\n}\r\n.slide-image {\r\n width: 80%;\r\n height: 100%;\r\n transition: transform 1s;\r\n transform: scale(0.8); /* 默认状态为稍微缩小,聚焦时放大 */\r\n}\r\n</style>","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721008751202\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} {"version":3,"sources":["uni-app:///main.js","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?2736","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?b372","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?7981","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?8fcb","uni-app:///pages/currentHome/index.vue","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?92ff","webpack:///D:/coco/dream/uniapp/jueqing/pages/currentHome/index.vue?30bc"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,kG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBppB;AACA,MADA,kBACA;AACA;AACA;AACA,0CADA;AAEA,6CAFA;AAGA;AACA;AAJA,OADA;;AAQA,GAVA;AAWA;AACA,gBADA,wBACA,CADA,EACA;AACA,0CADA,CACA;AACA;AACA;AACA,KALA,EAXA,E;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAu7B,CAAgB,43BAAG,EAAC,C;;;;;;;;;;;ACA38B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/currentHome/index.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"container\">\r\n <swiper \r\n class=\"swiper\" \r\n indicator-dots=\"false\" \r\n autoplay=\"true\" \r\n interval=\"3000\" \r\n duration=\"1000\" \r\n circular=\"true\"\r\n bindchange=\"swiperChange\">\r\n <swiper-item class=\"swiper-item\" v-for=\"(item, index) in imgList\" :key=\"index\">\r\n <image :src=\"item\" class=\"slide-image\" />\r\n </swiper-item>\r\n </swiper>\r\n </view>\r\n </template>\r\n \r\n <script>\r\n export default {\r\n data() {\r\n return {\r\n imgList: [\r\n '../../../static/photo/makeWord.png',\r\n '../../../static/photo/fightingAll.png',\r\n '../../../static/photo/forwardHouse.png' \r\n // 更多图片路径\r\n ],\r\n };\r\n },\r\n methods: {\r\n swiperChange(e) {\r\n const currentIndex = e.detail.current; // 获取当前swiper的索引\r\n // 根据currentIndex动态调整当前、前一张、后一张图片的样式以实现3D效果\r\n // 由于直接操作样式较为复杂,建议根据currentIndex修改数据驱动样式的变化\r\n }\r\n }\r\n };\r\n </script>\r\n\r\n<style scoped>\r\n.container {\r\n width: 100%;\r\n overflow: hidden;\r\n}\r\n.swiper {\r\n height: 200px;\r\n width: 100%;\r\n}\r\n.swiper-item {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 200px;\r\n}\r\n.slide-image {\r\n width: 80%;\r\n height: 100%;\r\n transition: transform 1s;\r\n transform: scale(0.8); /* 默认状态为稍微缩小,聚焦时放大 */\r\n}\r\n</style>","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6f928552&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721368726856\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?a6b2","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?c1cf","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?8313","uni-app:///pages/homeCards/index.vue","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?0f83","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?eaff"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;;;;;;;;;;;;kDAAA;AACA;AACA,gG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,wTAEN;AACP,KAAK;AACL;AACA,aAAa,uVAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoDppB;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,2BAFA;AAGA,aAHA;AAIA,yBAJA;AAKA,oBALA;AAMA,cANA;AAOA,yBAPA;AAQA,uBARA;AASA,wBATA;AAUA,sBAVA;AAWA,kBAXA;AAYA;AACA,sEAbA;AAcA,gBAdA;AAeA,UAfA;AAgBA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CAhBA;;AAqBA;AACA;AACA;AACA;AAHA,OArBA;AA0BA;AACA,uBADA;AAEA,kBAFA,EA1BA;;AA8BA;AACA,uBADA;AAEA,4BAFA;AAGA,gCAHA;AAIA,6BAJA,EA9BA;;;AAqCA,GAvCA;AAwCA,SAxCA,qBAwCA;AACA;AACA;AACA;AACA;AACA,aADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4FADA;AAEA,0BAFA;AAGA;AACA,iEADA,EAHA;;AAMA,oCANA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DADA,CACA;AACA;AACA,kFAHA,CAGA;AACA;AACA,eALA,MAKA;AACA;AACA;AACA;AACA,iBAHA,MAGA;AACA;AACA;AACA;AACA,aA7BA;AA8BA;AACA;AACA;AACA;AACA;AACA;AACA,aApCA;;AAsCA,SA/CA,MA+CA;AACA;AACA;AACA,OApDA;;;AAuDA,GAnGA;AAoGA,QApGA,oBAoGA,EApGA;AAqGA;AACA,QADA,kBACA;AACA;AACA,qEADA;AAEA;AACA,kEADA;AAEA,6DAFA,EAFA;;AAMA,sBANA;AAOA;AACA,uBADA,EAPA;;AAUA,UAVA,CAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAtBA,EAsBA,KAtBA,CAsBA;AACA;AACA;AACA;AACA;AACA;AACA,OA5BA;AA6BA,KA/BA;AAgCA,YAhCA,sBAgCA;AACA;AACA;AACA,KAnCA;AAoCA,aApCA,uBAoCA;AACA;AACA;AACA,KAvCA;AAwCA;AACA,gBAzCA,0BAyCA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,6BADA;AAEA;AACA;AACA;AACA;AACA;AACA,uBADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA,8FADA;AAEA,kCAFA;AAGA,0CAHA;AAIA,kCAJA;AAKA;AACA,oCADA;AAEA,6CAFA,EALA;;AASA;AACA;AACA;AACA;AACA;AACA;AACA,0CADA;AAEA,sCAFA;;AAIA;AACA,gGANA,CAMA;AACA,gEAPA,CAOA;AACA,kEARA,CAQA;AACA,kDATA,CASA;AACA;AACA,uBAXA,MAWA;AACA;AACA;AACA,uCADA,EACA;AACA,mDAFA,EAEA;AACA,0CAHA,EAGA;AACA,0CAJA,EAIA;AACA,gDALA,EAKA;AACA,2CANA,EAMA;AACA,iDAPA,EAOA;AACA;AACA;AACA;AACA,6BAFA,MAEA;AACA;AACA;AACA,2BAdA;AAeA;AACA;AACA,2BAjBA;;AAmBA;AACA;AACA,qBA/CA;AAgDA;AACA;AACA;AACA,mCADA,EACA;AACA,wCAFA,EAEA;AACA,wCAHA,EAGA;AACA,wCAJA,EAIA;AACA,8CALA,EAKA;AACA,yCANA,EAMA;AACA,+CAPA,EAOA;AACA;AACA;AACA;AACA,2BAFA,MAEA;AACA;AACA;AACA,yBAdA;AAeA;AACA;AACA,yBAjBA;;;AAoBA,qBAtEA;;AAwEA,iBA7EA;AA8EA,oBA9EA,gBA8EA,GA9EA,EA8EA;AACA;AACA;AACA,yCADA;AAEA,gCAFA;;AAIA,iBApFA;;AAsFA;AACA,WA7FA;AA8FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAnHA;;AAqHA,OAtHA,MAsHA;AACA;AACA;AACA,iBADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA,wFADA;AAEA,4BAFA;AAGA,sCAHA;AAIA,4BAJA;AAKA;AACA,8BADA;AAEA,uCAFA,EALA;;AASA;AACA;AACA,sDADA;AAEA,8BAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,gCADA;AAEA,gCAFA;;AAIA;AACA,0FANA,CAMA;AACA,0DAPA,CAOA;AACA,4DARA,CAQA;AACA,4CATA,CASA;AACA;AACA,iBAXA,MAWA;AACA;AACA;AACA,iCADA,EACA;AACA,6CAFA,EAEA;AACA,oCAHA,EAGA;AACA,oCAJA,EAIA;AACA,0CALA,EAKA;AACA,qCANA,EAMA;AACA,2CAPA,EAOA;AACA;AACA;AACA;AACA,uBAFA,MAEA;AACA;AACA;AACA,qBAdA;AAeA;AACA;AACA,qBAjBA;;AAmBA;AACA;AACA,eAnDA;AAoDA;AACA;AACA;AACA,6BADA,EACA;AACA,kCAFA,EAEA;AACA,kCAHA,EAGA;AACA,kCAJA,EAIA;AACA,wCALA,EAKA;AACA,mCANA,EAMA;AACA,yCAPA,EAOA;AACA;AACA;AACA;AACA,qBAFA,MAEA;AACA;AACA;AACA,mBAdA;AAeA;AACA;AACA,mBAjBA;;;AAoBA,eA1EA;;AA4EA,WAjFA;AAkFA,cAlFA,gBAkFA,GAlFA,EAkFA;AACA;AACA;AACA,mCADA;AAEA,0BAFA;;AAIA,WAxFA;;AA0FA;AACA,KAvQA;AAwQA,kBAxQA,0BAwQA,CAxQA,EAwQA;AACA,0BADA;AAEA,eAFA,GAEA,QAFA,CAEA,SAFA;AAGA;AACA;AACA,KA7QA;;AA+QA,SA/QA,iBA+QA,IA/QA,EA+QA;AACA;AACA,sEADA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA5RA;AA6RA,iBA7RA,yBA6RA,MA7RA,EA6RA,KA7RA,EA6RA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA3SA;;AA6SA,WA7SA,qBA6SA;AACA;AACA,6BADA;AAEA,qBAFA;AAGA,6BAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAZA;AAaA;AACA;AACA,SAfA;;AAiBA,KA/TA;;AAiUA,qBAjUA,+BAiUA;AACA;AACA,8DADA;AAEA,sBAFA;AAGA;AACA,6DADA;AAEA,kEAFA,EAHA;;AAOA,iDAPA;AAQA;AACA;AACA;AACA,0BADA;AAEA,wBAFA;;AAIA,SAdA;AAeA;AACA;AACA,SAjBA;;AAmBA,KArVA,EArGA,E;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAu7B,CAAgB,43BAAG,EAAC,C;;;;;;;;;;ACA38B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/homeCards/index.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"wrapper\">\r\n <!-- 获取用户信息 -->\r\n <view v-if=\"showUserInfo\" class=\"ttt\">\r\n <button class=\"avatar-wrapper\" open-type=\"chooseAvatar\" @chooseavatar=\"onChooseAvatar\">\r\n <image class=\"avatar\" :src=\"avatarUrl\"></image>\r\n </button> \r\n <view class=\"tipUserHeader\">设置头像</view>\r\n <input class=\"weui-input\" v-model=\"userName\" placeholder=\"请输入昵称\"/>\r\n <button type=\"primary\" :disabled=\"disabledSubmit\" @click=\"handleSubmit\" class=\"submit\">提交</button>\r\n </view>\r\n <button @click=\"handleUserDestory\"> 用户注销 </button>\r\n <view class=\"shadow\"></view>\r\n\r\n <view class=\"section\" >\r\n <view class=\"shadowBoard\" :style=\"{backgroundImage:'url('+ photo[i] +')'}\"></view>\r\n <view class=\"swiper\">\r\n <image\r\n @click=\"preImage\"\r\n class=\"scaleToFill\"\r\n src=\"../../static/photo/left.png\"\r\n mode=\"scaleToFill\"\r\n />\r\n <image\r\n @click=\"nextImage\"\r\n class=\"scaleToFill2\"\r\n src=\"../../static/photo/left.png\"\r\n mode=\"scaleToFill\"\r\n />\r\n <z-swiper ref=\"zSwiper\" v-model=\"list\" @slideChange=\"onSlideChange\" :options=\"options\" class=\"swiper\">\r\n <z-swiper-item :custom-style=\"slideCustomStyle\" v-for=\"(item,index) in list\" :key=\"index\">\r\n <button class=\"btn\" @click=\"NavTo(item)\">\r\n <image class=\"image\" :src=\"'https://admin.mindepoch.com:8089/worlds/' + item.name + '.png'\" mode=\"aspectFill\"></image>\r\n <view class=\"CardContent\">\r\n <view class=\"card\">\r\n <view class=\"header1\">{{item.name}}</view>\r\n <view class=\"header2\">\r\n <view class=\"sdsd\">{{item.worldHeader}}</view>\r\n <view class=\"distence\"></view>\r\n <view class=\"detail\">{{item.description}}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </button>\r\n </z-swiper-item>\r\n </z-swiper>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n err:null,\r\n disabledSubmit:false,\r\n id:274,\r\n showUserInfo:false,\r\n userName:'卿羽',\r\n code:'',\r\n clickNoArgee:false,\r\n clickArgee:false,\r\n isBindPhone:false,\r\n needDialog:true,\r\n nickName:'',\r\n // avatarUrl:'/static/photo/default.jpg',\r\n avatarUrl:'https://admin.mindepoch.com:8089/worlds/default.jpg',\r\n OpenId:'',\r\n i:0,\r\n photo:[\r\n 'https://admin.mindepoch.com:8089/worlds/情圣日记.png',\r\n 'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',\r\n 'https://admin.mindepoch.com:8089/worlds/舌战群儒.png'\r\n ],\r\n list: [\r\n // {image:'https://admin.mindepoch.com:8089/worlds/情圣日记.png',title:'情圣日记',content1:'-Love&Entropy',content2:'你还...记得我吗?'},\r\n // {image:'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\r\n // {image:'https://admin.mindepoch.com:8089/worlds/舌战群儒.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\r\n ],\r\n options:{\r\n effect: 'cards',\r\n loop : true,\r\n },\r\n slideCustomStyle: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n borderRadius: '36rpx'\r\n }\r\n }\r\n },\r\n mounted() {\r\n //用户验证用户是否登陆过\r\n // console.log(this)\r\n var that = this\r\n wx.login({\r\n success(res) {\r\n if (res.code) {\r\n // uni.setStorageSync('code', res.code)\r\n that.code = res.code\r\n console.log('code:',that.code)\r\n // uni.showModal({\r\n // title: 'wx.login:登录ing!',\r\n // content: 'that.code:'+that.code + ''\r\n // });\r\n // 将 res.code 发送至后台服务器进行处理\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/wechat/CheckWxUserIsRegisterAndBindPhone',\r\n method: 'POST',\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n data: { code: res.code },\r\n success: function(res) {\r\n console.log('res:',res)\r\n // uni.showModal({\r\n // title: 'wx.login:登录成功!'+JSON.stringify(res),\r\n // content: res.data.toString()\r\n // });\r\n that.isBindPhone = res.data.isBindPhone\r\n that.wxUid = res.data.wxUid\r\n \r\n if(res.data.message===\"微信用户已注册,模拟登录成功!\"){\r\n uni.setStorageSync('wxUid', res.data.wxUid); //保存用户id\r\n uni.setStorageSync('userName', res.data.userName)\r\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]) //保存cookie值\r\n that.init()\r\n }else{\r\n if(res.data.code===1){\r\n //用户已注册\r\n that.init()\r\n }else{\r\n that.showUserInfo = true\r\n }\r\n }\r\n },\r\n fail: function(err) {\r\n console.log('err:',err)\r\n // uni.showModal({\r\n // title: 'wx.login:登录失败!',\r\n // content: JSON.stringify(err)\r\n // });\r\n }\r\n })\r\n } else {\r\n console.error('登录失败!' + res.errMsg);\r\n }\r\n }\r\n })\r\n \r\n },\r\n onload() {},\r\n methods: {\r\n init(){\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/QueryWorldsByLikeName',\r\n header: {\r\n 'Cookie': `${uni.getStorageSync('session_token')}`,\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n method: 'post',\r\n data:{\r\n worldName: ''\r\n }\r\n }).then(result => {\r\n console.log('init:',result[1].data)\r\n // uni.showModal({\r\n // title: 'init:',\r\n // content: result[1].data.worldInfoAndAsset.toString()\r\n // });\r\n if(result[1].data.code===1){\r\n if(result[1].data.worldInfoAndAsset.length>0){\r\n this.list = result[1].data.worldInfoAndAsset\r\n // this.list = [result[1].data.worldInfoAndAsset[1]]\r\n }\r\n }\r\n }).catch(err=> {\r\n console.log(222,err)\r\n // uni.showModal({\r\n // title: 'init_error:',\r\n // content: 'error'\r\n // });\r\n });\r\n },\r\n preImage(){\r\n // console.log('pre')\r\n this.$refs.zSwiper.swiper.slidePrev();\r\n },\r\n nextImage(){\r\n // console.log('next')\r\n this.$refs.zSwiper.swiper.slideNext();\r\n },\r\n //获取到用户昵称 以及用户头像\r\n handleSubmit(){\r\n var that = this\r\n //1.昵称输入不可为空\r\n if(this.userName.trim()==\"\"){\r\n uni.showToast({\r\n title: '昵称不可为空',\r\n icon: 'none'\r\n })\r\n return\r\n }\r\n //2.不上传头像需要下载 上传头像不需要下载\r\n if(this.avatarUrl==\"https://admin.mindepoch.com:8089/worlds/default.jpg\"){\r\n uni.downloadFile({\r\n url: that.avatarUrl,\r\n success: downloadRes => {\r\n if (downloadRes.statusCode === 200) {\r\n // 图片下载成功后获取临时文件路径\r\n const tempFilePath = downloadRes.tempFilePath;\r\n wx.login({\r\n success(res) {\r\n if(!res.code) {\r\n return\r\n }\r\n uni.uploadFile({\r\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\r\n method: 'POST',\r\n filePath:tempFilePath,\r\n name: 'avatar',\r\n formData: {\r\n code: res.code,\r\n username: that.userName\r\n },\r\n success: uploadRes => {\r\n console.log('上传成功uploadRes', uploadRes);\r\n // console.log(JSON.parse(uploadRes.data))\r\n const data = JSON.parse(uploadRes.data)\r\n if(data.code===1){\r\n uni.showToast({\r\n title: '头像上传成功!',\r\n icon: 'none'\r\n });\r\n uni.setStorageSync('userName', that.userName);\r\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\r\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\r\n uni.setStorageSync('openId', data.openId); //保存用户id\r\n that.showUserInfo = false //隐藏用户填写的表单\r\n that.init()\r\n }else{\r\n //失败\r\n uni.showModal({\r\n title: '温馨提示', // 弹窗的标题\r\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n that.disabledSubmit = false\r\n }\r\n },\r\n fail: uploadErr => {\r\n console.error('上传失败', uploadErr);\r\n uni.showModal({\r\n title: '失败', // 弹窗的标题\r\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n \r\n }\r\n }) \r\n },\r\n fail(err){\r\n console.log(err)\r\n uni.showToast({\r\n title: err.toString(),\r\n icon: 'none'\r\n })\r\n }\r\n })\r\n }\r\n },\r\n fail: downloadErr => {\r\n console.error('下载图片失败', downloadErr)\r\n // uni.showModal({\r\n // title: '弹窗标题', // 弹窗的标题\r\n // content: JSON.stringify(downloadErr), // 弹窗的文本内容\r\n // showCancel: true, // 是否显示取消按钮,默认为 true\r\n // cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n // cancelColor: '#000000', // 取消按钮的文字颜色\r\n // confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n // confirmColor: '#576B95', // 确定按钮的文字颜色\r\n // success: function (res) {\r\n // if (res.confirm) {\r\n // console.log('用户点击确定');\r\n // } else if (res.cancel) {\r\n // console.log('用户点击取消');\r\n // }\r\n // },\r\n // fail: function (err) {\r\n // console.log('API 调用失败: ', err);\r\n // }\r\n // });\r\n }\r\n });\r\n }else{\r\n this.disabledSubmit = true\r\n wx.login({\r\n success(res) {\r\n if(!res.code) {\r\n return\r\n }\r\n uni.uploadFile({\r\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\r\n method: 'POST',\r\n filePath:that.avatarUrl,\r\n name: 'avatar',\r\n formData: {\r\n code: res.code,\r\n username: that.userName\r\n },\r\n success: uploadRes => {\r\n uni.showToast({\r\n title: 'AppletWeChatRegisterOrLogin',\r\n icon: 'none'\r\n })\r\n console.log('上传成功uploadRes', uploadRes);\r\n console.log(JSON.parse(uploadRes.data))\r\n const data = JSON.parse(uploadRes.data)\r\n if(data.code===1){\r\n uni.showToast({\r\n title: '成功!',\r\n icon: 'none'\r\n });\r\n uni.setStorageSync('userName', that.userName);\r\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\r\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\r\n uni.setStorageSync('openId', data.openId); //保存用户id\r\n that.showUserInfo = false //隐藏用户填写的表单\r\n that.init()\r\n }else{\r\n //失败\r\n uni.showModal({\r\n title: '温馨提示', // 弹窗的标题\r\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n that.disabledSubmit = false\r\n }\r\n },\r\n fail: uploadErr => {\r\n console.error('上传失败', uploadErr);\r\n uni.showModal({\r\n title: '失败', // 弹窗的标题\r\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n \r\n }\r\n })\r\n },\r\n fail(err){\r\n console.log(err)\r\n uni.showToast({\r\n title: err.toString(),\r\n icon: 'none'\r\n })\r\n }\r\n })\r\n }\r\n },\r\n onChooseAvatar(e) {\r\n console.log('e',e)\r\n const { avatarUrl } = e.detail \r\n this.avatarUrl = avatarUrl\r\n console.log('this.avatarUrl',this.avatarUrl)\r\n },\r\n\r\n NavTo(data) {\r\n uni.navigateTo({\r\n url: `/pages/index/index?params=${JSON.stringify(data)}`\r\n });\r\n\r\n // console.log(title)\r\n // if(title==='情圣日记'){\r\n // }else{\r\n // uni.showToast({\r\n // title: '敬请期待',\r\n // icon: 'none'\r\n // });\r\n // }\r\n },\r\n onSlideChange(swiper,index) {\r\n console.log(swiper,index)\r\n // const len = this.photo.length + 1\r\n if(this.photo.length+1==index){\r\n this.i = 0\r\n }else if(index==0){\r\n this.i = this.photo.length-1\r\n }else{\r\n this.i = index-1\r\n }\r\n // 你可以在这里获取当前的swiper索引\r\n // const currentIndex = swiper.activeIndex;\r\n // 执行你想要的操作,比如更新页面标题\r\n // uni.setNavigationBarTitle('当前页: ' + (currentIndex + 1));\r\n },\r\n\r\n getAuth() {\r\n wx.getUserProfile({\r\n withCredentials: true,\r\n lang: 'zh_CN',\r\n desc:'提升用户体验,减少用户操作',\r\n success: function (userRes) {\r\n console.log('userRes',userRes)\r\n // var userInfo = userRes.userInfo;\r\n // console.log(\"用户昵称为:\" + userInfo.nickName);\r\n // console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\r\n // this.nickName = userInfo.nickName\r\n // this.avatarUrl = userInfo.avatarUrl\r\n // this.$globalData.userPhoto = userInfo.avatarUrl\r\n },\r\n fail: function () {\r\n console.error('获取用户信息失败');\r\n }\r\n });\r\n },\r\n\r\n handleUserDestory() {\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/UnregisterUser',\r\n method: 'POST',\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n 'Cookie': `${uni.getStorageSync('session_token')}`,\r\n },\r\n data: { id: uni.getStorageSync('wxUid') },\r\n success:function(res) {\r\n console.log(res)\r\n uni.showToast({\r\n title: '注销成功!',\r\n icon: 'none'\r\n });\r\n },\r\n fail:function(err) {\r\n console.log(err)\r\n }\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.wrapper{\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\n.image {\r\n\theight:100%;\r\n\twidth: 100%;\r\n}\r\n.section{\r\n \r\n}\r\n.shadowBoard{\r\n /* 其他样式,如背景大小、位置等 */\r\n width: 100vw;\r\n height: 100vh;\r\n background-size: cover;\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n filter: blur(5px);\r\n z-index: -99;\r\n position: fixed;\r\n \r\n}\r\n.swiper{\r\n padding-top: 320rpx;\r\n position:relative;\r\n}\r\n.CardContent{\r\n position: absolute;\r\n top:0;\r\n left: 50%;\r\n transform: translateX(-50%);\r\n height: 100%;\r\n width: 85%;\r\n color: #fff;\r\n}\r\n.card{\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.header1{\r\n font-size: 40rpx;\r\n margin-top: 20rpx;\r\n text-align: left;\r\n}\r\n.header2{\r\n position: absolute;\r\n bottom:40rpx;\r\n left: 0;\r\n font-size: 38rpx;\r\n}\r\n.sdsd{\r\n text-align: left;\r\n}\r\n.distence{\r\n margin-top: 20rpx;\r\n}\r\n.detail{\r\n font-size: 24rpx;\r\n max-height: 100rpx;\r\n line-height: 38rpx;\r\n background-color: #00000039;\r\n padding: 6rpx;\r\n border-radius: 10rpx;\r\n text-align: left;\r\n overflow-y: scroll;\r\n}\r\n.shadow{\r\n position: fixed;\r\n width: 100vw;\r\n height: 100vh;\r\n \r\n}\r\n.shadow>image{\r\n width: auto;\r\n height: 100%;\r\n}\r\n.btn{\r\n padding: 0 !important;\r\n margin: 0 !important;\r\n display: block;\r\n z-index: 99;\r\n border-radius: 24rpx;\r\n height: 700rpx;\r\n width:450rpx;\r\n border: 1px solid #0000009a;\r\n box-shadow: 0 0 20rpx #fff;\r\n}\r\n.userInfoPression{\r\n background-color: #ffffff;\r\n height: 350rpx;\r\n border-radius: 20rpx 20rpx 0 0;\r\n}\r\n.mainInfo{\r\n\r\n}\r\n.infoHead{\r\n text-align: center;\r\n padding: 42rpx;\r\n font-weight: 700;\r\n}\r\n.infoFoot{\r\n display:flex;\r\n width: 100vw;\r\n position: absolute;\r\n bottom: 50rpx;\r\n left: 0;\r\n}\r\n.infoFoot>Button{\r\n width: 200rpx;\r\n height: 80rpx;\r\n line-height: 80rpx;\r\n font-size: 32rpx;\r\n color: #fff;\r\n \r\n}\r\n.infoFoot>Button:nth-child(1){\r\n background-color: gray;\r\n}\r\n.infoFoot>Button:nth-child(2){\r\n background-color: #1AAD19;\r\n}\r\n.ttt{\r\n position: absolute;\r\n top:0;\r\n left: 0;\r\n z-index: 9;\r\n width: 100vw;\r\n height: 100vh;\r\n background-color: #ffffff;\r\n}\r\n.pisition{\r\n padding-top: 300rpx;\r\n}\r\n.avatar-wrapper{\r\n border: 1px solid rgb(192, 176, 176);\r\n width: 200rpx;\r\n height: 200rpx;\r\n margin-top: 25rpx;\r\n}\r\n.avatar{\r\n width: 150rpx;\r\n height: 150rpx;\r\n margin-top: 25rpx;\r\n}\r\n.weui-input{\r\n border: 1px solid rgb(123, 108, 108);\r\n margin-top: 300rpx;\r\n width: 50vw;\r\n height: 70rpx;\r\n border-radius: 12rpx;\r\n margin: 200rpx auto;\r\n}\r\n.tipUserHeader{\r\n text-align: center;\r\n margin-top: 20rpx;\r\n color: rgb(123, 108, 108);\r\n}\r\n.submit{\r\n width: 250rpx;\r\n}\r\n.scaleToFill{\r\n position:absolute;\r\n top:62%;\r\n left:-10rpx;\r\n width:100rpx;\r\n height:100rpx;\r\n z-index:99;\r\n}\r\n.scaleToFill2{\r\n transform:rotate(180deg);\r\n position:absolute;\r\n top:62%;\r\n right:-10rpx;\r\n width:100rpx;\r\n height:100rpx;\r\n z-index:99;\r\n}\r\n</style>","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721029532560\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} {"version":3,"sources":["uni-app:///main.js","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?c93f","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?a6b2","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?c1cf","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?8313","uni-app:///pages/homeCards/index.vue","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?0f83","webpack:///D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?eaff"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;;;;;;;;;;;;kDAAA;AACA;AACA,gG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,wTAEN;AACP,KAAK;AACL;AACA,aAAa,uVAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoDppB;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,2BAFA;AAGA,aAHA;AAIA,yBAJA;AAKA,oBALA;AAMA,cANA;AAOA,yBAPA;AAQA,uBARA;AASA,wBATA;AAUA,sBAVA;AAWA,kBAXA;AAYA;AACA,sEAbA;AAcA,gBAdA;AAeA,UAfA;AAgBA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CAhBA;;AAqBA;AACA;AACA;AACA;AAHA,OArBA;AA0BA;AACA,uBADA;AAEA,kBAFA,EA1BA;;AA8BA;AACA,uBADA;AAEA,4BAFA;AAGA,gCAHA;AAIA,6BAJA,EA9BA;;;AAqCA,GAvCA;AAwCA,SAxCA,qBAwCA;AACA;AACA;AACA;AACA;AACA,aADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4FADA;AAEA,0BAFA;AAGA;AACA,iEADA,EAHA;;AAMA,oCANA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DADA,CACA;AACA;AACA,kFAHA,CAGA;AACA;AACA,eALA,MAKA;AACA;AACA;AACA;AACA,iBAHA,MAGA;AACA;AACA;AACA;AACA,aA7BA;AA8BA;AACA;AACA;AACA;AACA;AACA;AACA,aApCA;;AAsCA,SA/CA,MA+CA;AACA;AACA;AACA,OApDA;;;AAuDA,GAnGA;AAoGA,QApGA,oBAoGA,EApGA;AAqGA;AACA,QADA,kBACA;AACA;AACA,qEADA;AAEA;AACA,kEADA;AAEA,6DAFA,EAFA;;AAMA,sBANA;AAOA;AACA,uBADA,EAPA;;AAUA,UAVA,CAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAtBA,EAsBA,KAtBA,CAsBA;AACA;AACA;AACA;AACA;AACA;AACA,OA5BA;AA6BA,KA/BA;AAgCA,YAhCA,sBAgCA;AACA;AACA;AACA,KAnCA;AAoCA,aApCA,uBAoCA;AACA;AACA;AACA,KAvCA;AAwCA;AACA,gBAzCA,0BAyCA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,6BADA;AAEA;AACA;AACA;AACA;AACA;AACA,uBADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA,8FADA;AAEA,kCAFA;AAGA,0CAHA;AAIA,kCAJA;AAKA;AACA,oCADA;AAEA,6CAFA,EALA;;AASA;AACA;AACA;AACA;AACA;AACA;AACA,0CADA;AAEA,sCAFA;;AAIA;AACA,gGANA,CAMA;AACA,gEAPA,CAOA;AACA,kEARA,CAQA;AACA,kDATA,CASA;AACA;AACA,uBAXA,MAWA;AACA;AACA;AACA,uCADA,EACA;AACA,mDAFA,EAEA;AACA,0CAHA,EAGA;AACA,0CAJA,EAIA;AACA,gDALA,EAKA;AACA,2CANA,EAMA;AACA,iDAPA,EAOA;AACA;AACA;AACA;AACA,6BAFA,MAEA;AACA;AACA;AACA,2BAdA;AAeA;AACA;AACA,2BAjBA;;AAmBA;AACA;AACA,qBA/CA;AAgDA;AACA;AACA;AACA,mCADA,EACA;AACA,wCAFA,EAEA;AACA,wCAHA,EAGA;AACA,wCAJA,EAIA;AACA,8CALA,EAKA;AACA,yCANA,EAMA;AACA,+CAPA,EAOA;AACA;AACA;AACA;AACA,2BAFA,MAEA;AACA;AACA;AACA,yBAdA;AAeA;AACA;AACA,yBAjBA;;;AAoBA,qBAtEA;;AAwEA,iBA7EA;AA8EA,oBA9EA,gBA8EA,GA9EA,EA8EA;AACA;AACA;AACA,yCADA;AAEA,gCAFA;;AAIA,iBApFA;;AAsFA;AACA,WA7FA;AA8FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAnHA;;AAqHA,OAtHA,MAsHA;AACA;AACA;AACA,iBADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA,wFADA;AAEA,4BAFA;AAGA,sCAHA;AAIA,4BAJA;AAKA;AACA,8BADA;AAEA,uCAFA,EALA;;AASA;AACA;AACA,sDADA;AAEA,8BAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,gCADA;AAEA,gCAFA;;AAIA;AACA,0FANA,CAMA;AACA,0DAPA,CAOA;AACA,4DARA,CAQA;AACA,4CATA,CASA;AACA;AACA,iBAXA,MAWA;AACA;AACA;AACA,iCADA,EACA;AACA,6CAFA,EAEA;AACA,oCAHA,EAGA;AACA,oCAJA,EAIA;AACA,0CALA,EAKA;AACA,qCANA,EAMA;AACA,2CAPA,EAOA;AACA;AACA;AACA;AACA,uBAFA,MAEA;AACA;AACA;AACA,qBAdA;AAeA;AACA;AACA,qBAjBA;;AAmBA;AACA;AACA,eAnDA;AAoDA;AACA;AACA;AACA,6BADA,EACA;AACA,kCAFA,EAEA;AACA,kCAHA,EAGA;AACA,kCAJA,EAIA;AACA,wCALA,EAKA;AACA,mCANA,EAMA;AACA,yCAPA,EAOA;AACA;AACA;AACA;AACA,qBAFA,MAEA;AACA;AACA;AACA,mBAdA;AAeA;AACA;AACA,mBAjBA;;;AAoBA,eA1EA;;AA4EA,WAjFA;AAkFA,cAlFA,gBAkFA,GAlFA,EAkFA;AACA;AACA;AACA,mCADA;AAEA,0BAFA;;AAIA,WAxFA;;AA0FA;AACA,KAvQA;AAwQA,kBAxQA,0BAwQA,CAxQA,EAwQA;AACA,0BADA;AAEA,eAFA,GAEA,QAFA,CAEA,SAFA;AAGA;AACA;AACA,KA7QA;;AA+QA,SA/QA,iBA+QA,IA/QA,EA+QA;AACA;AACA,sEADA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA5RA;AA6RA,iBA7RA,yBA6RA,MA7RA,EA6RA,KA7RA,EA6RA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA3SA;;AA6SA,WA7SA,qBA6SA;AACA;AACA,6BADA;AAEA,qBAFA;AAGA,6BAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAZA;AAaA;AACA;AACA,SAfA;;AAiBA,KA/TA;;AAiUA,qBAjUA,+BAiUA;AACA;AACA,8DADA;AAEA,sBAFA;AAGA;AACA,6DADA;AAEA,kEAFA,EAHA;;AAOA,iDAPA;AAQA;AACA;AACA;AACA,0BADA;AAEA,wBAFA;;AAIA,SAdA;AAeA;AACA;AACA,SAjBA;;AAmBA,KArVA,EArGA,E;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAu7B,CAAgB,43BAAG,EAAC,C;;;;;;;;;;ACA38B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/homeCards/index.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"wrapper\">\r\n <!-- 获取用户信息 -->\r\n <view v-if=\"showUserInfo\" class=\"ttt\">\r\n <button class=\"avatar-wrapper\" open-type=\"chooseAvatar\" @chooseavatar=\"onChooseAvatar\">\r\n <image class=\"avatar\" :src=\"avatarUrl\"></image>\r\n </button> \r\n <view class=\"tipUserHeader\">设置头像</view>\r\n <input class=\"weui-input\" v-model=\"userName\" placeholder=\"请输入昵称\"/>\r\n <button type=\"primary\" :disabled=\"disabledSubmit\" @click=\"handleSubmit\" class=\"submit\">提交</button>\r\n </view>\r\n <button @click=\"handleUserDestory\"> 用户注销 </button>\r\n <view class=\"shadow\"></view>\r\n\r\n <view class=\"section\" >\r\n <view class=\"shadowBoard\" :style=\"{backgroundImage:'url('+ photo[i] +')'}\"></view>\r\n <view class=\"swiper\">\r\n <image\r\n @click=\"preImage\"\r\n class=\"scaleToFill\"\r\n src=\"../../static/photo/left.png\"\r\n mode=\"scaleToFill\"\r\n />\r\n <image\r\n @click=\"nextImage\"\r\n class=\"scaleToFill2\"\r\n src=\"../../static/photo/left.png\"\r\n mode=\"scaleToFill\"\r\n />\r\n <z-swiper ref=\"zSwiper\" v-model=\"list\" @slideChange=\"onSlideChange\" :options=\"options\" class=\"swiper\">\r\n <z-swiper-item :custom-style=\"slideCustomStyle\" v-for=\"(item,index) in list\" :key=\"index\">\r\n <button class=\"btn\" @click=\"NavTo(item)\">\r\n <image class=\"image\" :src=\"'https://admin.mindepoch.com:8089/worlds/' + item.name + '.png'\" mode=\"aspectFill\"></image>\r\n <view class=\"CardContent\">\r\n <view class=\"card\">\r\n <view class=\"header1\">{{item.name}}</view>\r\n <view class=\"header2\">\r\n <view class=\"sdsd\">{{item.worldHeader}}</view>\r\n <view class=\"distence\"></view>\r\n <view class=\"detail\">{{item.description}}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </button>\r\n </z-swiper-item>\r\n </z-swiper>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n err:null,\r\n disabledSubmit:false,\r\n id:274,\r\n showUserInfo:false,\r\n userName:'卿羽',\r\n code:'',\r\n clickNoArgee:false,\r\n clickArgee:false,\r\n isBindPhone:false,\r\n needDialog:true,\r\n nickName:'',\r\n // avatarUrl:'/static/photo/default.jpg',\r\n avatarUrl:'https://admin.mindepoch.com:8089/worlds/default.jpg',\r\n OpenId:'',\r\n i:0,\r\n photo:[\r\n 'https://admin.mindepoch.com:8089/worlds/情圣日记.png',\r\n 'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',\r\n 'https://admin.mindepoch.com:8089/worlds/舌战群儒.png'\r\n ],\r\n list: [\r\n // {image:'https://admin.mindepoch.com:8089/worlds/情圣日记.png',title:'情圣日记',content1:'-Love&Entropy',content2:'你还...记得我吗?'},\r\n // {image:'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\r\n // {image:'https://admin.mindepoch.com:8089/worlds/舌战群儒.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来,身处陌生的公寓,奇怪的规则,神秘的怪谈,我该如何逃生'},\r\n ],\r\n options:{\r\n effect: 'cards',\r\n loop : true,\r\n },\r\n slideCustomStyle: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n borderRadius: '36rpx'\r\n }\r\n }\r\n },\r\n mounted() {\r\n //用户验证用户是否登陆过\r\n // console.log(this)\r\n var that = this\r\n wx.login({\r\n success(res) {\r\n if (res.code) {\r\n // uni.setStorageSync('code', res.code)\r\n that.code = res.code\r\n console.log('code:',that.code)\r\n // uni.showModal({\r\n // title: 'wx.login:登录ing!',\r\n // content: 'that.code:'+that.code + ''\r\n // });\r\n // 将 res.code 发送至后台服务器进行处理\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/wechat/CheckWxUserIsRegisterAndBindPhone',\r\n method: 'POST',\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n data: { code: res.code },\r\n success: function(res) {\r\n console.log('res:',res)\r\n // uni.showModal({\r\n // title: 'wx.login:登录成功!'+JSON.stringify(res),\r\n // content: res.data.toString()\r\n // });\r\n that.isBindPhone = res.data.isBindPhone\r\n that.wxUid = res.data.wxUid\r\n \r\n if(res.data.message===\"微信用户已注册,模拟登录成功!\"){\r\n uni.setStorageSync('wxUid', res.data.wxUid); //保存用户id\r\n uni.setStorageSync('userName', res.data.userName)\r\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]) //保存cookie值\r\n that.init()\r\n }else{\r\n if(res.data.code===1){\r\n //用户已注册\r\n that.init()\r\n }else{\r\n that.showUserInfo = true\r\n }\r\n }\r\n },\r\n fail: function(err) {\r\n console.log('err:',err)\r\n // uni.showModal({\r\n // title: 'wx.login:登录失败!',\r\n // content: JSON.stringify(err)\r\n // });\r\n }\r\n })\r\n } else {\r\n console.error('登录失败!' + res.errMsg);\r\n }\r\n }\r\n })\r\n \r\n },\r\n onload() {},\r\n methods: {\r\n init(){\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/QueryWorldsByLikeName',\r\n header: {\r\n 'Cookie': `${uni.getStorageSync('session_token')}`,\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n method: 'post',\r\n data:{\r\n worldName: ''\r\n }\r\n }).then(result => {\r\n console.log('init:',result[1].data)\r\n // uni.showModal({\r\n // title: 'init:',\r\n // content: result[1].data.worldInfoAndAsset.toString()\r\n // });\r\n if(result[1].data.code===1){\r\n if(result[1].data.worldInfoAndAsset.length>0){\r\n this.list = result[1].data.worldInfoAndAsset\r\n // this.list = [result[1].data.worldInfoAndAsset[1]]\r\n }\r\n }\r\n }).catch(err=> {\r\n console.log(222,err)\r\n // uni.showModal({\r\n // title: 'init_error:',\r\n // content: 'error'\r\n // });\r\n });\r\n },\r\n preImage(){\r\n // console.log('pre')\r\n this.$refs.zSwiper.swiper.slidePrev();\r\n },\r\n nextImage(){\r\n // console.log('next')\r\n this.$refs.zSwiper.swiper.slideNext();\r\n },\r\n //获取到用户昵称 以及用户头像\r\n handleSubmit(){\r\n var that = this\r\n //1.昵称输入不可为空\r\n if(this.userName.trim()==\"\"){\r\n uni.showToast({\r\n title: '昵称不可为空',\r\n icon: 'none'\r\n })\r\n return\r\n }\r\n //2.不上传头像需要下载 上传头像不需要下载\r\n if(this.avatarUrl==\"https://admin.mindepoch.com:8089/worlds/default.jpg\"){\r\n uni.downloadFile({\r\n url: that.avatarUrl,\r\n success: downloadRes => {\r\n if (downloadRes.statusCode === 200) {\r\n // 图片下载成功后获取临时文件路径\r\n const tempFilePath = downloadRes.tempFilePath;\r\n wx.login({\r\n success(res) {\r\n if(!res.code) {\r\n return\r\n }\r\n uni.uploadFile({\r\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\r\n method: 'POST',\r\n filePath:tempFilePath,\r\n name: 'avatar',\r\n formData: {\r\n code: res.code,\r\n username: that.userName\r\n },\r\n success: uploadRes => {\r\n console.log('上传成功uploadRes', uploadRes);\r\n // console.log(JSON.parse(uploadRes.data))\r\n const data = JSON.parse(uploadRes.data)\r\n if(data.code===1){\r\n uni.showToast({\r\n title: '头像上传成功!',\r\n icon: 'none'\r\n });\r\n uni.setStorageSync('userName', that.userName);\r\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\r\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\r\n uni.setStorageSync('openId', data.openId); //保存用户id\r\n that.showUserInfo = false //隐藏用户填写的表单\r\n that.init()\r\n }else{\r\n //失败\r\n uni.showModal({\r\n title: '温馨提示', // 弹窗的标题\r\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n that.disabledSubmit = false\r\n }\r\n },\r\n fail: uploadErr => {\r\n console.error('上传失败', uploadErr);\r\n uni.showModal({\r\n title: '失败', // 弹窗的标题\r\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n \r\n }\r\n }) \r\n },\r\n fail(err){\r\n console.log(err)\r\n uni.showToast({\r\n title: err.toString(),\r\n icon: 'none'\r\n })\r\n }\r\n })\r\n }\r\n },\r\n fail: downloadErr => {\r\n console.error('下载图片失败', downloadErr)\r\n // uni.showModal({\r\n // title: '弹窗标题', // 弹窗的标题\r\n // content: JSON.stringify(downloadErr), // 弹窗的文本内容\r\n // showCancel: true, // 是否显示取消按钮,默认为 true\r\n // cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n // cancelColor: '#000000', // 取消按钮的文字颜色\r\n // confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n // confirmColor: '#576B95', // 确定按钮的文字颜色\r\n // success: function (res) {\r\n // if (res.confirm) {\r\n // console.log('用户点击确定');\r\n // } else if (res.cancel) {\r\n // console.log('用户点击取消');\r\n // }\r\n // },\r\n // fail: function (err) {\r\n // console.log('API 调用失败: ', err);\r\n // }\r\n // });\r\n }\r\n });\r\n }else{\r\n this.disabledSubmit = true\r\n wx.login({\r\n success(res) {\r\n if(!res.code) {\r\n return\r\n }\r\n uni.uploadFile({\r\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',\r\n method: 'POST',\r\n filePath:that.avatarUrl,\r\n name: 'avatar',\r\n formData: {\r\n code: res.code,\r\n username: that.userName\r\n },\r\n success: uploadRes => {\r\n uni.showToast({\r\n title: 'AppletWeChatRegisterOrLogin',\r\n icon: 'none'\r\n })\r\n console.log('上传成功uploadRes', uploadRes);\r\n console.log(JSON.parse(uploadRes.data))\r\n const data = JSON.parse(uploadRes.data)\r\n if(data.code===1){\r\n uni.showToast({\r\n title: '成功!',\r\n icon: 'none'\r\n });\r\n uni.setStorageSync('userName', that.userName);\r\n uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值\r\n uni.setStorageSync('wxUid', data.wxUid); //保存用户id\r\n uni.setStorageSync('openId', data.openId); //保存用户id\r\n that.showUserInfo = false //隐藏用户填写的表单\r\n that.init()\r\n }else{\r\n //失败\r\n uni.showModal({\r\n title: '温馨提示', // 弹窗的标题\r\n content: '好像出了点问题呢,再试试呢!', // 弹窗的文本内容\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n that.disabledSubmit = false\r\n }\r\n },\r\n fail: uploadErr => {\r\n console.error('上传失败', uploadErr);\r\n uni.showModal({\r\n title: '失败', // 弹窗的标题\r\n content: '创建失败!', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)\r\n showCancel: true, // 是否显示取消按钮,默认为 true\r\n cancelText: '取消', // 取消按钮的文字,默认为\"取消\"\r\n cancelColor: '#000000', // 取消按钮的文字颜色\r\n confirmText: '确定', // 确定按钮的文字,默认为\"确定\"\r\n confirmColor: '#576B95', // 确定按钮的文字颜色\r\n success: function (res) {\r\n if (res.confirm) {\r\n console.log('用户点击确定');\r\n } else if (res.cancel) {\r\n console.log('用户点击取消');\r\n }\r\n },\r\n fail: function (err) {\r\n console.log('API 调用失败: ', err);\r\n }\r\n });\r\n \r\n }\r\n })\r\n },\r\n fail(err){\r\n console.log(err)\r\n uni.showToast({\r\n title: err.toString(),\r\n icon: 'none'\r\n })\r\n }\r\n })\r\n }\r\n },\r\n onChooseAvatar(e) {\r\n console.log('e',e)\r\n const { avatarUrl } = e.detail \r\n this.avatarUrl = avatarUrl\r\n console.log('this.avatarUrl',this.avatarUrl)\r\n },\r\n\r\n NavTo(data) {\r\n uni.navigateTo({\r\n url: `/pages/index/index?params=${JSON.stringify(data)}`\r\n });\r\n\r\n // console.log(title)\r\n // if(title==='情圣日记'){\r\n // }else{\r\n // uni.showToast({\r\n // title: '敬请期待',\r\n // icon: 'none'\r\n // });\r\n // }\r\n },\r\n onSlideChange(swiper,index) {\r\n console.log(swiper,index)\r\n // const len = this.photo.length + 1\r\n if(this.photo.length+1==index){\r\n this.i = 0\r\n }else if(index==0){\r\n this.i = this.photo.length-1\r\n }else{\r\n this.i = index-1\r\n }\r\n // 你可以在这里获取当前的swiper索引\r\n // const currentIndex = swiper.activeIndex;\r\n // 执行你想要的操作,比如更新页面标题\r\n // uni.setNavigationBarTitle('当前页: ' + (currentIndex + 1));\r\n },\r\n\r\n getAuth() {\r\n wx.getUserProfile({\r\n withCredentials: true,\r\n lang: 'zh_CN',\r\n desc:'提升用户体验,减少用户操作',\r\n success: function (userRes) {\r\n console.log('userRes',userRes)\r\n // var userInfo = userRes.userInfo;\r\n // console.log(\"用户昵称为:\" + userInfo.nickName);\r\n // console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\r\n // this.nickName = userInfo.nickName\r\n // this.avatarUrl = userInfo.avatarUrl\r\n // this.$globalData.userPhoto = userInfo.avatarUrl\r\n },\r\n fail: function () {\r\n console.error('获取用户信息失败');\r\n }\r\n });\r\n },\r\n\r\n handleUserDestory() {\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/UnregisterUser',\r\n method: 'POST',\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n 'Cookie': `${uni.getStorageSync('session_token')}`,\r\n },\r\n data: { id: uni.getStorageSync('wxUid') },\r\n success:function(res) {\r\n console.log(res)\r\n uni.showToast({\r\n title: '注销成功!',\r\n icon: 'none'\r\n });\r\n },\r\n fail:function(err) {\r\n console.log(err)\r\n }\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.wrapper{\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\n.image {\r\n\theight:100%;\r\n\twidth: 100%;\r\n}\r\n.section{\r\n \r\n}\r\n.shadowBoard{\r\n /* 其他样式,如背景大小、位置等 */\r\n width: 100vw;\r\n height: 100vh;\r\n background-size: cover;\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n filter: blur(5px);\r\n z-index: -99;\r\n position: fixed;\r\n \r\n}\r\n.swiper{\r\n padding-top: 320rpx;\r\n position:relative;\r\n}\r\n.CardContent{\r\n position: absolute;\r\n top:0;\r\n left: 50%;\r\n transform: translateX(-50%);\r\n height: 100%;\r\n width: 85%;\r\n color: #fff;\r\n}\r\n.card{\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.header1{\r\n font-size: 40rpx;\r\n margin-top: 20rpx;\r\n text-align: left;\r\n}\r\n.header2{\r\n position: absolute;\r\n bottom:40rpx;\r\n left: 0;\r\n font-size: 38rpx;\r\n}\r\n.sdsd{\r\n text-align: left;\r\n}\r\n.distence{\r\n margin-top: 20rpx;\r\n}\r\n.detail{\r\n font-size: 24rpx;\r\n max-height: 100rpx;\r\n line-height: 38rpx;\r\n background-color: #00000039;\r\n padding: 6rpx;\r\n border-radius: 10rpx;\r\n text-align: left;\r\n overflow-y: scroll;\r\n}\r\n.shadow{\r\n position: fixed;\r\n width: 100vw;\r\n height: 100vh;\r\n \r\n}\r\n.shadow>image{\r\n width: auto;\r\n height: 100%;\r\n}\r\n.btn{\r\n padding: 0 !important;\r\n margin: 0 !important;\r\n display: block;\r\n z-index: 99;\r\n border-radius: 24rpx;\r\n height: 700rpx;\r\n width:450rpx;\r\n border: 1px solid #0000009a;\r\n box-shadow: 0 0 20rpx #fff;\r\n}\r\n.userInfoPression{\r\n background-color: #ffffff;\r\n height: 350rpx;\r\n border-radius: 20rpx 20rpx 0 0;\r\n}\r\n.mainInfo{\r\n\r\n}\r\n.infoHead{\r\n text-align: center;\r\n padding: 42rpx;\r\n font-weight: 700;\r\n}\r\n.infoFoot{\r\n display:flex;\r\n width: 100vw;\r\n position: absolute;\r\n bottom: 50rpx;\r\n left: 0;\r\n}\r\n.infoFoot>Button{\r\n width: 200rpx;\r\n height: 80rpx;\r\n line-height: 80rpx;\r\n font-size: 32rpx;\r\n color: #fff;\r\n \r\n}\r\n.infoFoot>Button:nth-child(1){\r\n background-color: gray;\r\n}\r\n.infoFoot>Button:nth-child(2){\r\n background-color: #1AAD19;\r\n}\r\n.ttt{\r\n position: absolute;\r\n top:0;\r\n left: 0;\r\n z-index: 9;\r\n width: 100vw;\r\n height: 100vh;\r\n background-color: #ffffff;\r\n}\r\n.pisition{\r\n padding-top: 300rpx;\r\n}\r\n.avatar-wrapper{\r\n border: 1px solid rgb(192, 176, 176);\r\n width: 200rpx;\r\n height: 200rpx;\r\n margin-top: 25rpx;\r\n}\r\n.avatar{\r\n width: 150rpx;\r\n height: 150rpx;\r\n margin-top: 25rpx;\r\n}\r\n.weui-input{\r\n border: 1px solid rgb(123, 108, 108);\r\n margin-top: 300rpx;\r\n width: 50vw;\r\n height: 70rpx;\r\n border-radius: 12rpx;\r\n margin: 200rpx auto;\r\n}\r\n.tipUserHeader{\r\n text-align: center;\r\n margin-top: 20rpx;\r\n color: rgb(123, 108, 108);\r\n}\r\n.submit{\r\n width: 250rpx;\r\n}\r\n.scaleToFill{\r\n position:absolute;\r\n top:62%;\r\n left:-10rpx;\r\n width:100rpx;\r\n height:100rpx;\r\n z-index:99;\r\n}\r\n.scaleToFill2{\r\n transform:rotate(180deg);\r\n position:absolute;\r\n top:62%;\r\n right:-10rpx;\r\n width:100rpx;\r\n height:100rpx;\r\n z-index:99;\r\n}\r\n</style>","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721368726852\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file \ 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:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?ebde","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?077d","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?ba76","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?2b2e","uni-app:///pages/init/index.vue","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?33cb","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?2671"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;ACYppB;AACA,MADA,kBACA;AACA;AACA,kBADA;AAEA,mBAFA;AAGA,gBAHA;;AAKA,GAPA;AAQA;AACA,eADA,yBACA;AACA;AACA;AACA,eADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA,8EADA;AAEA,4BAFA;AAGA;AACA,mEADA,EAHA;;AAMA,sCANA;AAOA;AACA;AACA;AACA;;AAEA;AACA,uCADA;AAEA,+BAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAZA;AAaA;AACA;AACA,mBAfA;;AAiBA,eA7BA;;AA+BA,WAjCA,MAiCA;AACA;AACA;AACA,SAvCA;;AAyCA,KA5CA;;AA8CA;AACA,kBA/CA,0BA+CA,CA/CA,EA+CA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAtDA;AAuDA,2BAvDA,mCAuDA,IAvDA,EAuDA,IAvDA,EAuDA;AACA;AACA;AACA,kFADA;AAEA,sBAFA;AAGA;AACA,iCADA;AAEA,6BAFA;AAGA,8CAHA;AAIA,8BAJA,EAHA;;AASA;AACA,6DADA,EATA;;AAYA;AACA;AACA;AACA;;AAEA;AACA;AACA,gFAFA,CAEA;AACA;AACA,6CADA;;AAGA;AACA,WAVA,MAUA;AACA;AACA;AACA,SA3BA;AA4BA;AACA;AACA,SA9BA;;AAgCA,KAzFA,EARA,E;;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAu7B,CAAgB,43BAAG,EAAC,C;;;;;;;;;;;ACA38B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/init/index.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"init\">\r\n <view class=\"window\">\r\n <view class=\"getUserInfo\">用户服务隐私协议</view>\r\n <view class=\"content\">\r\n <button open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\" class=\"btn\" @click=\"getUserInfo\">授权</button>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n nickName:'',\r\n avatarUrl:'',\r\n OpenId:''\r\n }\r\n },\r\n methods: {\r\n getUserInfo() {\r\n var that = this\r\n wx.login({\r\n success(res) {\r\n console.log(res)\r\n if (res.code) {\r\n // 将 res.code 发送至后台服务器进行处理\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatLogin',\r\n method: 'POST',\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n data: { code: res.code },\r\n success: function (response) {\r\n console.log('登录成功', response);\r\n that.OpenId = response.data.OpenId\r\n // TODO: 根据后台返回的结果保存 openid、sessionKey 等信息\r\n\r\n uni.getUserInfo({\r\n withCredentials: true,\r\n lang: 'zh_CN',\r\n success: function (userRes) {\r\n var userInfo = userRes.userInfo;\r\n console.log(\"用户昵称为:\" + userInfo.nickName);\r\n console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\r\n that.nickName = userInfo.nickName\r\n that.avatarUrl = userInfo.avatarUrl\r\n that.$globalData.userPhoto = userInfo.avatarUrl\r\n // TODO: 将用户昵称和头像地址保存或上传至后台服务器\r\n\r\n },\r\n fail: function () {\r\n console.error('获取用户信息失败');\r\n }\r\n });\r\n }\r\n })\r\n } else {\r\n console.error('登录失败!' + res.errMsg);\r\n }\r\n }\r\n });\r\n },\r\n\r\n // 获取手机号\r\n getPhoneNumber(e) {\r\n console.log('e',e.detail.code)\r\n if(e.detail.code){\r\n this.sendPhoneNumberToServer(e.detail.code,'no');\r\n }else{\r\n this.sendPhoneNumberToServer(e.detail.code,'yes');\r\n }\r\n },\r\n sendPhoneNumberToServer(code,bool) {\r\n // 将code、encryptedData和iv发送到后端API\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/wechat/RegisterAndLoginWXUserPhone',\r\n method: 'POST',\r\n data:{\r\n username:this.nickName,\r\n openid:this.OpenId,\r\n phone_code:bool==\"no\"?code:'',\r\n reject_binding:bool\r\n },\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n success: (res) => {\r\n console.log('success',res)\r\n if (res.statusCode === 200) {\r\n console.log('手机号码传递成功', res);\r\n\r\n if(res.data.code===1){\r\n this.$globalData.wxUid = res.data.wxUid\r\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]); //保存cookie值\r\n uni.navigateTo({\r\n url: `/pages/homeCards/index`\r\n });\r\n }\r\n } else {\r\n console.log('服务器返回状态码异常', res.statusCode);\r\n }\r\n },\r\n fail: (err) => {\r\n console.log('发送失败', err);\r\n }\r\n });\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n\r\n<style scoped>\r\n.init {\r\n width: 100vw;\r\n height: 100vh;\r\n background-color: rgb(146, 108, 126);\r\n}\r\n\r\n.window {\r\n width: 80vw;\r\n height: 300rpx;\r\n background-color: aliceblue;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n border-radius: 10rpx;\r\n font-size: 40rpx;\r\n box-shadow: 0 0 20rpx #fff;\r\n}\r\n\r\n.getUserInfo {\r\n text-align: center;\r\n padding: 20px;\r\n}\r\n\r\n.content {\r\n display: flex;\r\n margin-top: 50rpx;\r\n}\r\n\r\n.btn {\r\n width: 200rpx;\r\n height: 80rpx;\r\n line-height: 80rpx;\r\n font-size: 34rpx;\r\n}\r\n</style>","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721008751204\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} {"version":3,"sources":["uni-app:///main.js","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?ebde","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?077d","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?ba76","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?2b2e","uni-app:///pages/init/index.vue","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?33cb","webpack:///D:/coco/dream/uniapp/jueqing/pages/init/index.vue?2671"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;ACYppB;AACA,MADA,kBACA;AACA;AACA,kBADA;AAEA,mBAFA;AAGA,gBAHA;;AAKA,GAPA;AAQA;AACA,eADA,yBACA;AACA;AACA;AACA,eADA,mBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA,8EADA;AAEA,4BAFA;AAGA;AACA,mEADA,EAHA;;AAMA,sCANA;AAOA;AACA;AACA;AACA;;AAEA;AACA,uCADA;AAEA,+BAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAZA;AAaA;AACA;AACA,mBAfA;;AAiBA,eA7BA;;AA+BA,WAjCA,MAiCA;AACA;AACA;AACA,SAvCA;;AAyCA,KA5CA;;AA8CA;AACA,kBA/CA,0BA+CA,CA/CA,EA+CA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAtDA;AAuDA,2BAvDA,mCAuDA,IAvDA,EAuDA,IAvDA,EAuDA;AACA;AACA;AACA,kFADA;AAEA,sBAFA;AAGA;AACA,iCADA;AAEA,6BAFA;AAGA,8CAHA;AAIA,8BAJA,EAHA;;AASA;AACA,6DADA,EATA;;AAYA;AACA;AACA;AACA;;AAEA;AACA;AACA,gFAFA,CAEA;AACA;AACA,6CADA;;AAGA;AACA,WAVA,MAUA;AACA;AACA;AACA,SA3BA;AA4BA;AACA;AACA,SA9BA;;AAgCA,KAzFA,EARA,E;;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAu7B,CAAgB,43BAAG,EAAC,C;;;;;;;;;;;ACA38B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/init/index.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=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 \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"init\">\r\n <view class=\"window\">\r\n <view class=\"getUserInfo\">用户服务隐私协议</view>\r\n <view class=\"content\">\r\n <button open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\" class=\"btn\" @click=\"getUserInfo\">授权</button>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n nickName:'',\r\n avatarUrl:'',\r\n OpenId:''\r\n }\r\n },\r\n methods: {\r\n getUserInfo() {\r\n var that = this\r\n wx.login({\r\n success(res) {\r\n console.log(res)\r\n if (res.code) {\r\n // 将 res.code 发送至后台服务器进行处理\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatLogin',\r\n method: 'POST',\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n data: { code: res.code },\r\n success: function (response) {\r\n console.log('登录成功', response);\r\n that.OpenId = response.data.OpenId\r\n // TODO: 根据后台返回的结果保存 openid、sessionKey 等信息\r\n\r\n uni.getUserInfo({\r\n withCredentials: true,\r\n lang: 'zh_CN',\r\n success: function (userRes) {\r\n var userInfo = userRes.userInfo;\r\n console.log(\"用户昵称为:\" + userInfo.nickName);\r\n console.log(\"用户头像地址为:\" + userInfo.avatarUrl);\r\n that.nickName = userInfo.nickName\r\n that.avatarUrl = userInfo.avatarUrl\r\n that.$globalData.userPhoto = userInfo.avatarUrl\r\n // TODO: 将用户昵称和头像地址保存或上传至后台服务器\r\n\r\n },\r\n fail: function () {\r\n console.error('获取用户信息失败');\r\n }\r\n });\r\n }\r\n })\r\n } else {\r\n console.error('登录失败!' + res.errMsg);\r\n }\r\n }\r\n });\r\n },\r\n\r\n // 获取手机号\r\n getPhoneNumber(e) {\r\n console.log('e',e.detail.code)\r\n if(e.detail.code){\r\n this.sendPhoneNumberToServer(e.detail.code,'no');\r\n }else{\r\n this.sendPhoneNumberToServer(e.detail.code,'yes');\r\n }\r\n },\r\n sendPhoneNumberToServer(code,bool) {\r\n // 将code、encryptedData和iv发送到后端API\r\n uni.request({\r\n url: 'https://admin.mindepoch.com:8089/wechat/RegisterAndLoginWXUserPhone',\r\n method: 'POST',\r\n data:{\r\n username:this.nickName,\r\n openid:this.OpenId,\r\n phone_code:bool==\"no\"?code:'',\r\n reject_binding:bool\r\n },\r\n header: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n success: (res) => {\r\n console.log('success',res)\r\n if (res.statusCode === 200) {\r\n console.log('手机号码传递成功', res);\r\n\r\n if(res.data.code===1){\r\n this.$globalData.wxUid = res.data.wxUid\r\n uni.setStorageSync('session_token', res.cookies[0].split(';')[0]); //保存cookie值\r\n uni.navigateTo({\r\n url: `/pages/homeCards/index`\r\n });\r\n }\r\n } else {\r\n console.log('服务器返回状态码异常', res.statusCode);\r\n }\r\n },\r\n fail: (err) => {\r\n console.log('发送失败', err);\r\n }\r\n });\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n\r\n<style scoped>\r\n.init {\r\n width: 100vw;\r\n height: 100vh;\r\n background-color: rgb(146, 108, 126);\r\n}\r\n\r\n.window {\r\n width: 80vw;\r\n height: 300rpx;\r\n background-color: aliceblue;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n border-radius: 10rpx;\r\n font-size: 40rpx;\r\n box-shadow: 0 0 20rpx #fff;\r\n}\r\n\r\n.getUserInfo {\r\n text-align: center;\r\n padding: 20px;\r\n}\r\n\r\n.content {\r\n display: flex;\r\n margin-top: 50rpx;\r\n}\r\n\r\n.btn {\r\n width: 200rpx;\r\n height: 80rpx;\r\n line-height: 80rpx;\r\n font-size: 34rpx;\r\n}\r\n</style>","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=00468268&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721368726858\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?9770","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?2f59","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?99ae","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?65cf","uni-app:///uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?5deb","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?b317"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;AACc;;;AAG7E;AAC+K;AAC/K,gBAAgB,6KAAU;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;AAAyqB,CAAgB,0nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4B7rB;AACA;;;AAGA,gG;;;;;;;;;;;;;;;;;;;;;;;;;;;mBACA,yC,CAAA,C,gBAAA,C,EACA;;;;;;;;;;;;;;;;;;mGAoBA,EACA,sBADA,EAEA,wBAFA,EAGA,2BAHA,EAIA,SACA,aACA,YADA,EAEA,eAFA,EADA,EAKA,SACA,sBADA,EAEA,WAFA,EALA,EASA,eACA,sBADA,EAEA,WAFA,EATA,EAaA,QACA,YADA,EAEA,gBAFA,EAbA,EAiBA,QACA,YADA,EAEA,eAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,iBAFA,EArBA;;AAyBA;AACA,kBADA;AAEA,iBAFA,EAzBA;;AA6BA;AACA,mBADA;AAEA,oBAFA,EA7BA;;AAiCA;AACA,kBADA;AAEA,iBAFA,EAjCA;;AAqCA;AACA,kBADA;AAEA,iBAFA,EArCA,EAJA;;;AA8CA,MA9CA,kBA8CA;AACA;AACA,yBADA;AAEA,kBAFA;AAGA,aAHA;;AAKA,GApDA;AAqDA;AACA,UADA,oBACA;AACA;AACA,KAHA;AAIA,aAJA,uBAIA;AACA;AACA,KANA;AAOA,mBAPA,6BAOA;AACA;AACA,KATA;AAUA,aAVA,uBAUA;AACA;AACA,KAZA,EArDA;;AAmEA;AACA,QADA,gBACA,GADA,EACA;AACA;AACA,KAHA;AAIA,QAJA,gBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA,KARA;AASA,SATA,iBASA,GATA,EASA;AACA;AACA,KAXA,EAnEA;;AAgFA,SAhFA,qBAgFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA,GA1FA;AA2FA,SA3FA,qBA2FA;AACA;AACA,GA7FA;AA8FA;AACA;;;AAGA,QAJA,kBAIA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KAZA;AAaA;;;AAGA,eAhBA,yBAgBA;AACA;AACA;AACA;AACA,KApBA;AAqBA,SArBA,mBAqBA;AACA;AACA,KAvBA,EA9FA,E;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAowC,CAAgB,ymCAAG,EAAC,C;;;;;;;;;;;ACAxxC;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 \"!../../../../../../../../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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"uni-popup-dialog\">\r\n\t\t<view class=\"uni-dialog-title\">\r\n\t\t\t<text class=\"uni-dialog-title-text\" :class=\"['uni-popup__'+dialogType]\">{{titleText}}</text>\r\n\t\t</view>\r\n\t\t<view v-if=\"mode === 'base'\" class=\"uni-dialog-content\">\r\n\t\t\t<slot>\r\n\t\t\t\t<text class=\"uni-dialog-content-text\">{{content}}</text>\r\n\t\t\t</slot>\r\n\t\t</view>\r\n\t\t<view v-else class=\"uni-dialog-content\">\r\n\t\t\t<slot>\r\n\t\t\t\t<input class=\"uni-dialog-input\" v-model=\"val\" :type=\"inputType\" :placeholder=\"placeholderText\" :focus=\"focus\" >\r\n\t\t\t</slot>\r\n\t\t</view>\r\n\t\t<view class=\"uni-dialog-button-group\">\r\n\t\t\t<view class=\"uni-dialog-button\" @click=\"closeDialog\">\r\n\t\t\t\t<text class=\"uni-dialog-button-text\">{{closeText}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"uni-dialog-button uni-border-left\" @click=\"onOk\">\r\n\t\t\t\t<text class=\"uni-dialog-button-text uni-button-color\">{{okText}}</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport popup from '../uni-popup/popup.js'\r\n\timport {\r\n\tinitVueI18n\r\n\t} from '@dcloudio/uni-i18n'\r\n\timport messages from '../uni-popup/i18n/index.js'\r\n\tconst {\tt } = initVueI18n(messages)\r\n\t/**\r\n\t * PopUp 弹出层-对话框样式\r\n\t * @description 弹出层-对话框样式\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=329\r\n\t * @property {String} value input 模式下的默认值\r\n\t * @property {String} placeholder input 模式下输入提示\r\n\t * @property {String} type = [success|warning|info|error] 主题样式\r\n\t * @value success 成功\r\n\t * \t@value warning 提示\r\n\t * \t@value info 消息\r\n\t * \t@value error 错误\r\n\t * @property {String} mode = [base|input] 模式、\r\n\t * \t@value base 基础对话框\r\n\t * \t@value input 可输入对话框\r\n\t * @property {String} content 对话框内容\r\n\t * @property {Boolean} beforeClose 是否拦截取消事件\r\n\t * @event {Function} confirm 点击确认按钮触发\r\n\t * @event {Function} close 点击取消按钮触发\r\n\t */\r\n\r\n\texport default {\r\n\t\tname: \"uniPopupDialog\",\r\n\t\tmixins: [popup],\r\n\t\temits:['confirm','close'],\r\n\t\tprops: {\n\t\t\tinputType:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'text'\n\t\t\t},\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tplaceholder: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'error'\r\n\t\t\t},\r\n\t\t\tmode: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'base'\r\n\t\t\t},\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tcontent: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tbeforeClose: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\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}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdialogType: 'error',\r\n\t\t\t\tfocus: false,\r\n\t\t\t\tval: \"\"\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tokText() {\r\n\t\t\t\treturn this.confirmText || t(\"uni-popup.ok\")\r\n\t\t\t},\r\n\t\t\tcloseText() {\r\n\t\t\t\treturn this.cancelText || t(\"uni-popup.cancel\")\r\n\t\t\t},\r\n\t\t\tplaceholderText() {\r\n\t\t\t\treturn this.placeholder || t(\"uni-popup.placeholder\")\r\n\t\t\t},\r\n\t\t\ttitleText() {\r\n\t\t\t\treturn this.title || t(\"uni-popup.title\")\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\ttype(val) {\r\n\t\t\t\tthis.dialogType = val\r\n\t\t\t},\r\n\t\t\tmode(val) {\r\n\t\t\t\tif (val === 'input') {\r\n\t\t\t\t\tthis.dialogType = 'info'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tvalue(val) {\r\n\t\t\t\tthis.val = val\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 对话框遮罩不可点击\r\n\t\t\tthis.popup.disableMask()\r\n\t\t\t// this.popup.closeMask()\r\n\t\t\tif (this.mode === 'input') {\r\n\t\t\t\tthis.dialogType = 'info'\r\n\t\t\t\tthis.val = this.value\r\n\t\t\t} else {\r\n\t\t\t\tthis.dialogType = this.type\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.focus = true\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t/**\r\n\t\t\t * 点击确认按钮\r\n\t\t\t */\r\n\t\t\tonOk() {\r\n\t\t\t\tif (this.mode === 'input'){\r\n\t\t\t\t\tthis.$emit('confirm', this.val)\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.$emit('confirm')\r\n\t\t\t\t}\r\n\t\t\t\tif(this.beforeClose) return\r\n\t\t\t\tthis.popup.close()\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 点击取消按钮\r\n\t\t\t */\r\n\t\t\tcloseDialog() {\r\n\t\t\t\tthis.$emit('close')\r\n\t\t\t\tif(this.beforeClose) return\r\n\t\t\t\tthis.popup.close()\r\n\t\t\t},\r\n\t\t\tclose(){\r\n\t\t\t\tthis.popup.close()\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" >\r\n\t.uni-popup-dialog {\r\n\t\twidth: 300px;\r\n\t\tborder-radius: 11px;\r\n\t\tbackground-color: #fff;\r\n\t}\r\n\r\n\t.uni-dialog-title {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: center;\r\n\t\tpadding-top: 25px;\r\n\t}\r\n\r\n\t.uni-dialog-title-text {\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: 500;\r\n\t}\r\n\r\n\t.uni-dialog-content {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tpadding: 20px;\r\n\t}\r\n\r\n\t.uni-dialog-content-text {\r\n\t\tfont-size: 14px;\r\n\t\tcolor: #6C6C6C;\r\n\t}\r\n\r\n\t.uni-dialog-button-group {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tborder-top-color: #f5f5f5;\r\n\t\tborder-top-style: solid;\r\n\t\tborder-top-width: 1px;\r\n\t}\r\n\r\n\t.uni-dialog-button {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\r\n\t\tflex: 1;\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 45px;\r\n\t}\r\n\r\n\t.uni-border-left {\r\n\t\tborder-left-color: #f0f0f0;\r\n\t\tborder-left-style: solid;\r\n\t\tborder-left-width: 1px;\r\n\t}\r\n\r\n\t.uni-dialog-button-text {\r\n\t\tfont-size: 16px;\r\n\t\tcolor: #333;\r\n\t}\r\n\r\n\t.uni-button-color {\r\n\t\tcolor: #007aff;\r\n\t}\r\n\r\n\t.uni-dialog-input {\r\n\t\tflex: 1;\r\n\t\tfont-size: 14px;\r\n\t\tborder: 1px #eee solid;\r\n\t\theight: 40px;\r\n\t\tpadding: 0 10px;\r\n\t\tborder-radius: 5px;\r\n\t\tcolor: #555;\r\n\t}\r\n\r\n\t.uni-popup__success {\r\n\t\tcolor: #4cd964;\r\n\t}\r\n\r\n\t.uni-popup__warn {\r\n\t\tcolor: #f0ad4e;\r\n\t}\r\n\r\n\t.uni-popup__error {\r\n\t\tcolor: #dd524d;\r\n\t}\r\n\r\n\t.uni-popup__info {\r\n\t\tcolor: #909399;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721008753543\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} {"version":3,"sources":["webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?9770","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?2f59","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?99ae","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?65cf","uni-app:///uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?5deb","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue?b317"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;AACc;;;AAG7E;AAC+K;AAC/K,gBAAgB,6KAAU;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;AAAyqB,CAAgB,0nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4B7rB;AACA;;;AAGA,gG;;;;;;;;;;;;;;;;;;;;;;;;;;;mBACA,yC,CAAA,C,gBAAA,C,EACA;;;;;;;;;;;;;;;;;;mGAoBA,EACA,sBADA,EAEA,wBAFA,EAGA,2BAHA,EAIA,SACA,aACA,YADA,EAEA,eAFA,EADA,EAKA,SACA,sBADA,EAEA,WAFA,EALA,EASA,eACA,sBADA,EAEA,WAFA,EATA,EAaA,QACA,YADA,EAEA,gBAFA,EAbA,EAiBA,QACA,YADA,EAEA,eAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,iBAFA,EArBA;;AAyBA;AACA,kBADA;AAEA,iBAFA,EAzBA;;AA6BA;AACA,mBADA;AAEA,oBAFA,EA7BA;;AAiCA;AACA,kBADA;AAEA,iBAFA,EAjCA;;AAqCA;AACA,kBADA;AAEA,iBAFA,EArCA,EAJA;;;AA8CA,MA9CA,kBA8CA;AACA;AACA,yBADA;AAEA,kBAFA;AAGA,aAHA;;AAKA,GApDA;AAqDA;AACA,UADA,oBACA;AACA;AACA,KAHA;AAIA,aAJA,uBAIA;AACA;AACA,KANA;AAOA,mBAPA,6BAOA;AACA;AACA,KATA;AAUA,aAVA,uBAUA;AACA;AACA,KAZA,EArDA;;AAmEA;AACA,QADA,gBACA,GADA,EACA;AACA;AACA,KAHA;AAIA,QAJA,gBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA,KARA;AASA,SATA,iBASA,GATA,EASA;AACA;AACA,KAXA,EAnEA;;AAgFA,SAhFA,qBAgFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA,GA1FA;AA2FA,SA3FA,qBA2FA;AACA;AACA,GA7FA;AA8FA;AACA;;;AAGA,QAJA,kBAIA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KAZA;AAaA;;;AAGA,eAhBA,yBAgBA;AACA;AACA;AACA;AACA,KApBA;AAqBA,SArBA,mBAqBA;AACA;AACA,KAvBA,EA9FA,E;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAowC,CAAgB,ymCAAG,EAAC,C;;;;;;;;;;;ACAxxC;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 \"!../../../../../../../../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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"uni-popup-dialog\">\r\n\t\t<view class=\"uni-dialog-title\">\r\n\t\t\t<text class=\"uni-dialog-title-text\" :class=\"['uni-popup__'+dialogType]\">{{titleText}}</text>\r\n\t\t</view>\r\n\t\t<view v-if=\"mode === 'base'\" class=\"uni-dialog-content\">\r\n\t\t\t<slot>\r\n\t\t\t\t<text class=\"uni-dialog-content-text\">{{content}}</text>\r\n\t\t\t</slot>\r\n\t\t</view>\r\n\t\t<view v-else class=\"uni-dialog-content\">\r\n\t\t\t<slot>\r\n\t\t\t\t<input class=\"uni-dialog-input\" v-model=\"val\" :type=\"inputType\" :placeholder=\"placeholderText\" :focus=\"focus\" >\r\n\t\t\t</slot>\r\n\t\t</view>\r\n\t\t<view class=\"uni-dialog-button-group\">\r\n\t\t\t<view class=\"uni-dialog-button\" @click=\"closeDialog\">\r\n\t\t\t\t<text class=\"uni-dialog-button-text\">{{closeText}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"uni-dialog-button uni-border-left\" @click=\"onOk\">\r\n\t\t\t\t<text class=\"uni-dialog-button-text uni-button-color\">{{okText}}</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport popup from '../uni-popup/popup.js'\r\n\timport {\r\n\tinitVueI18n\r\n\t} from '@dcloudio/uni-i18n'\r\n\timport messages from '../uni-popup/i18n/index.js'\r\n\tconst {\tt } = initVueI18n(messages)\r\n\t/**\r\n\t * PopUp 弹出层-对话框样式\r\n\t * @description 弹出层-对话框样式\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=329\r\n\t * @property {String} value input 模式下的默认值\r\n\t * @property {String} placeholder input 模式下输入提示\r\n\t * @property {String} type = [success|warning|info|error] 主题样式\r\n\t * @value success 成功\r\n\t * \t@value warning 提示\r\n\t * \t@value info 消息\r\n\t * \t@value error 错误\r\n\t * @property {String} mode = [base|input] 模式、\r\n\t * \t@value base 基础对话框\r\n\t * \t@value input 可输入对话框\r\n\t * @property {String} content 对话框内容\r\n\t * @property {Boolean} beforeClose 是否拦截取消事件\r\n\t * @event {Function} confirm 点击确认按钮触发\r\n\t * @event {Function} close 点击取消按钮触发\r\n\t */\r\n\r\n\texport default {\r\n\t\tname: \"uniPopupDialog\",\r\n\t\tmixins: [popup],\r\n\t\temits:['confirm','close'],\r\n\t\tprops: {\n\t\t\tinputType:{\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'text'\n\t\t\t},\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tplaceholder: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'error'\r\n\t\t\t},\r\n\t\t\tmode: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'base'\r\n\t\t\t},\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tcontent: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tbeforeClose: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\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}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdialogType: 'error',\r\n\t\t\t\tfocus: false,\r\n\t\t\t\tval: \"\"\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tokText() {\r\n\t\t\t\treturn this.confirmText || t(\"uni-popup.ok\")\r\n\t\t\t},\r\n\t\t\tcloseText() {\r\n\t\t\t\treturn this.cancelText || t(\"uni-popup.cancel\")\r\n\t\t\t},\r\n\t\t\tplaceholderText() {\r\n\t\t\t\treturn this.placeholder || t(\"uni-popup.placeholder\")\r\n\t\t\t},\r\n\t\t\ttitleText() {\r\n\t\t\t\treturn this.title || t(\"uni-popup.title\")\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\ttype(val) {\r\n\t\t\t\tthis.dialogType = val\r\n\t\t\t},\r\n\t\t\tmode(val) {\r\n\t\t\t\tif (val === 'input') {\r\n\t\t\t\t\tthis.dialogType = 'info'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tvalue(val) {\r\n\t\t\t\tthis.val = val\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 对话框遮罩不可点击\r\n\t\t\tthis.popup.disableMask()\r\n\t\t\t// this.popup.closeMask()\r\n\t\t\tif (this.mode === 'input') {\r\n\t\t\t\tthis.dialogType = 'info'\r\n\t\t\t\tthis.val = this.value\r\n\t\t\t} else {\r\n\t\t\t\tthis.dialogType = this.type\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.focus = true\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t/**\r\n\t\t\t * 点击确认按钮\r\n\t\t\t */\r\n\t\t\tonOk() {\r\n\t\t\t\tif (this.mode === 'input'){\r\n\t\t\t\t\tthis.$emit('confirm', this.val)\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.$emit('confirm')\r\n\t\t\t\t}\r\n\t\t\t\tif(this.beforeClose) return\r\n\t\t\t\tthis.popup.close()\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 点击取消按钮\r\n\t\t\t */\r\n\t\t\tcloseDialog() {\r\n\t\t\t\tthis.$emit('close')\r\n\t\t\t\tif(this.beforeClose) return\r\n\t\t\t\tthis.popup.close()\r\n\t\t\t},\r\n\t\t\tclose(){\r\n\t\t\t\tthis.popup.close()\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" >\r\n\t.uni-popup-dialog {\r\n\t\twidth: 300px;\r\n\t\tborder-radius: 11px;\r\n\t\tbackground-color: #fff;\r\n\t}\r\n\r\n\t.uni-dialog-title {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: center;\r\n\t\tpadding-top: 25px;\r\n\t}\r\n\r\n\t.uni-dialog-title-text {\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: 500;\r\n\t}\r\n\r\n\t.uni-dialog-content {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tpadding: 20px;\r\n\t}\r\n\r\n\t.uni-dialog-content-text {\r\n\t\tfont-size: 14px;\r\n\t\tcolor: #6C6C6C;\r\n\t}\r\n\r\n\t.uni-dialog-button-group {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tborder-top-color: #f5f5f5;\r\n\t\tborder-top-style: solid;\r\n\t\tborder-top-width: 1px;\r\n\t}\r\n\r\n\t.uni-dialog-button {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\r\n\t\tflex: 1;\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 45px;\r\n\t}\r\n\r\n\t.uni-border-left {\r\n\t\tborder-left-color: #f0f0f0;\r\n\t\tborder-left-style: solid;\r\n\t\tborder-left-width: 1px;\r\n\t}\r\n\r\n\t.uni-dialog-button-text {\r\n\t\tfont-size: 16px;\r\n\t\tcolor: #333;\r\n\t}\r\n\r\n\t.uni-button-color {\r\n\t\tcolor: #007aff;\r\n\t}\r\n\r\n\t.uni-dialog-input {\r\n\t\tflex: 1;\r\n\t\tfont-size: 14px;\r\n\t\tborder: 1px #eee solid;\r\n\t\theight: 40px;\r\n\t\tpadding: 0 10px;\r\n\t\tborder-radius: 5px;\r\n\t\tcolor: #555;\r\n\t}\r\n\r\n\t.uni-popup__success {\r\n\t\tcolor: #4cd964;\r\n\t}\r\n\r\n\t.uni-popup__warn {\r\n\t\tcolor: #f0ad4e;\r\n\t}\r\n\r\n\t.uni-popup__error {\r\n\t\tcolor: #dd524d;\r\n\t}\r\n\r\n\t.uni-popup__info {\r\n\t\tcolor: #909399;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup-dialog.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721368729268\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?fa15","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?6072","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?4bb6","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?dd85","uni-app:///uni_modules/uni-popup/components/uni-popup/uni-popup.vue","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?74a1","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?d3e5"],"names":[],"mappings":"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","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 \"!../../../../../../../../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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721008753856\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} {"version":3,"sources":["webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?fa15","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?6072","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?4bb6","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?dd85","uni-app:///uni_modules/uni-popup/components/uni-popup/uni-popup.vue","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?74a1","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/uni-popup/components/uni-popup/uni-popup.vue?d3e5"],"names":[],"mappings":"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","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 \"!../../../../../../../../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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-popup.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1721368729274\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?b3a7","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?01ee","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?6433","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?4897","uni-app:///uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?c0c1","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?79d8","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?2e05","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?b0ca"],"names":[],"mappings":"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","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=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjYwMSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjYwMX19&\"\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 \"!../../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper-item%5Cz-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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=template&id=391a97dd&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjYwMSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjYwMX19&\"","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\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\r\n\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\">\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n\t\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\"\r\n\t\t\t:swiperItemTransform=\"wxsItemTransform\" :change:swiperItemTransform=\"zSwiperWxs.wxsItemTransformObserver\">\r\n\t\t\t<!-- #endif -->\r\n\t\t\t<slot></slot>\r\n\t\t</view>\r\n</template>\r\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\r\n<!-- #endif -->\r\n<script>\r\n\timport {\r\n\t\tChildrenMixin\r\n\t} from '../../libs/mixins/relation.js';\r\n\timport {\r\n\t\tgetRect\r\n\t} from '../../libs/utils/utils.js';\r\n\texport default {\r\n\t\tname: \"z-swipe-item\",\r\n\t\t// #ifdef MP-WEIXIN\r\n\t\toptions: {\r\n\t\t\tvirtualHost: true\r\n\t\t},\r\n\t\t// #endif\r\n\t\tmixins: [ChildrenMixin('zSwipe')],\r\n\t\tprops: {\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {};\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tswiperItemWidth: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\tswiperItemHeight: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twxsItemTransform: \"\",\r\n\t\t\t\titemStyle: {},\r\n\t\t\t\toffsetLeft: 0,\r\n\t\t\t\toffsetTop: 0,\r\n\t\t\t\titemClass: [],\r\n\t\t\t\twidth: 0,\r\n\t\t\t\theight: 0,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getSize();\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tslideClass() {\r\n\t\t\t\treturn this.itemClass.join(\" \");\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tswiperItemWidth: {\r\n\t\t\t\thandler(val) {\r\n\t\t\t\t\tif (val) {\r\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'width', this.unitFormat(val, \"rpx\"))\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\timmediate: true\r\n\t\t\t},\r\n\t\t\tswiperItemHeight: {\r\n\t\t\t\thandler(val) {\r\n\t\t\t\t\tif (val) {\r\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'height', this.unitFormat(val, \"rpx\"))\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\timmediate: true\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tunitFormat(val, type) {\r\n\t\t\t\tif (type == \"rpx\") {\r\n\t\t\t\t\tif (val.includes(\"rpx\") || val.includes(\"px\")) {\r\n\t\t\t\t\t\treturn val;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn val + 'px';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (type == \"number\") {\r\n\t\t\t\t\tif (val.includes(\"rpx\")) {\r\n\t\t\t\t\t\treturn uni.upx2px(parseInt(val.replace(\"rpx\", \"\")))\r\n\t\t\t\t\t} else if (!val.includes(\"rpx\") && val.includes(\"px\")) {\r\n\t\t\t\t\t\treturn parseInt(val.replace(\"px\", \"\"))\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn val;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tonClickSlide(event) {\r\n\t\t\t\tthis.$emit(\"click\", {\r\n\t\t\t\t\tevent,\r\n\t\t\t\t\tindex: this.index\r\n\t\t\t\t});\r\n\t\t\t\tthis.parent.swiper.updateClickedSlide(this.index);\r\n\t\t\t\tthis.parent.swiper.emit(\"slideClick\", this.index);\r\n\t\t\t},\r\n\t\t\ttransform(value) {\r\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.$set(this.itemStyle, 'transform', value)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.wxsItemTransform = value\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\ttransition(value) {\r\n\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\tthis.$set(this.itemStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-BAIDU\r\n\t\t\t\tthis.$set(this.itemStyle, 'transition-duration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\twillChange(value) {\r\n\t\t\t\tthis.$set(this.itemStyle, 'will-change', value)\r\n\t\t\t},\r\n\t\t\tcss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.itemStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttransitionEnd(callback, duration) {\r\n\t\t\t\tsetTimeout(callback, duration)\r\n\t\t\t},\r\n\t\t\tgetSize() {\r\n\t\t\t\tconst query = uni.createSelectorQuery().in(this);\r\n\t\t\t\treturn new Promise((resolve, reject) => {\r\n\t\t\t\t\tquery.select('.swiper-slide').boundingClientRect(data => {\r\n\t\t\t\t\t\tif (this.swiperItemWidth) {\r\n\t\t\t\t\t\t\tthis.width = this.unitFormat(this.swiperItemWidth, \"number\");\r\n\t\t\t\t\t\t\tthis.height = data.height;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (this.swiperItemHeight) {\r\n\t\t\t\t\t\t\tthis.width = data.width;\r\n\t\t\t\t\t\t\tthis.height = this.unitFormat(this.swiperItemHeight, \"number\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (!this.swiperItemWidth && !this.swiperItemHeight) {\r\n\t\t\t\t\t\t\tthis.width = data.width;\r\n\t\t\t\t\t\t\tthis.height = data.height;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tresolve({\r\n\t\t\t\t\t\t\twidth: this.width,\r\n\t\t\t\t\t\t\theight: this.height\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}).exec();\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\taddClass(value) {\r\n\t\t\t\tthis.itemClass = Array.from(new Set([...this.itemClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremoveClass(value) {\r\n\t\t\t\tthis.itemClass = this.itemClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\thasClass(value) {\r\n\t\t\t\treturn this.itemClass.includes(value);\r\n\t\t\t},\r\n\t\t\tnextAll() {\r\n\t\t\t\treturn this.parent.children.filter((item) => {\r\n\t\t\t\t\treturn item.index > this.index\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tprevAll() {\r\n\t\t\t\treturn this.parent.children.filter((item) => {\r\n\t\t\t\t\treturn item.index < this.index\r\n\t\t\t\t}).reverse()\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import '../../libs/core.scss';\r\n</style>\n","import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 // 1721008753669\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n ","import mod from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper-item%5Cz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper-item%5Cz-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:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?b3a7","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?01ee","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?6433","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?4897","uni-app:///uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?c0c1","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue?79d8","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?2e05","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?b0ca"],"names":[],"mappings":"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","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=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjYwMSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjYwMX19&\"\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 \"!../../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper-item%5Cz-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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=template&id=391a97dd&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjYwMSwiYXR0cnMiOnsic3JjIjoiLi4vLi4vd3hzL3otc3dpcGVyLXd4cy53eHMiLCJtb2R1bGUiOiJ6U3dpcGVyV3hzIiwibGFuZyI6Ind4cyJ9LCJlbmQiOjYwMX19&\"","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\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\r\n\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\">\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n\t\t<view :class=\"['swiper-slide',slideClass]\" :style=\"[itemStyle,customStyle]\" @click.stop=\"onClickSlide\"\r\n\t\t\t:swiperItemTransform=\"wxsItemTransform\" :change:swiperItemTransform=\"zSwiperWxs.wxsItemTransformObserver\">\r\n\t\t\t<!-- #endif -->\r\n\t\t\t<slot></slot>\r\n\t\t</view>\r\n</template>\r\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\r\n<!-- #endif -->\r\n<script>\r\n\timport {\r\n\t\tChildrenMixin\r\n\t} from '../../libs/mixins/relation.js';\r\n\timport {\r\n\t\tgetRect\r\n\t} from '../../libs/utils/utils.js';\r\n\texport default {\r\n\t\tname: \"z-swipe-item\",\r\n\t\t// #ifdef MP-WEIXIN\r\n\t\toptions: {\r\n\t\t\tvirtualHost: true\r\n\t\t},\r\n\t\t// #endif\r\n\t\tmixins: [ChildrenMixin('zSwipe')],\r\n\t\tprops: {\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {};\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tswiperItemWidth: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\tswiperItemHeight: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twxsItemTransform: \"\",\r\n\t\t\t\titemStyle: {},\r\n\t\t\t\toffsetLeft: 0,\r\n\t\t\t\toffsetTop: 0,\r\n\t\t\t\titemClass: [],\r\n\t\t\t\twidth: 0,\r\n\t\t\t\theight: 0,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getSize();\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tslideClass() {\r\n\t\t\t\treturn this.itemClass.join(\" \");\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tswiperItemWidth: {\r\n\t\t\t\thandler(val) {\r\n\t\t\t\t\tif (val) {\r\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'width', this.unitFormat(val, \"rpx\"))\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\timmediate: true\r\n\t\t\t},\r\n\t\t\tswiperItemHeight: {\r\n\t\t\t\thandler(val) {\r\n\t\t\t\t\tif (val) {\r\n\t\t\t\t\t\tthis.$set(this.itemStyle, 'height', this.unitFormat(val, \"rpx\"))\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\timmediate: true\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tunitFormat(val, type) {\r\n\t\t\t\tif (type == \"rpx\") {\r\n\t\t\t\t\tif (val.includes(\"rpx\") || val.includes(\"px\")) {\r\n\t\t\t\t\t\treturn val;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn val + 'px';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (type == \"number\") {\r\n\t\t\t\t\tif (val.includes(\"rpx\")) {\r\n\t\t\t\t\t\treturn uni.upx2px(parseInt(val.replace(\"rpx\", \"\")))\r\n\t\t\t\t\t} else if (!val.includes(\"rpx\") && val.includes(\"px\")) {\r\n\t\t\t\t\t\treturn parseInt(val.replace(\"px\", \"\"))\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn val;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tonClickSlide(event) {\r\n\t\t\t\tthis.$emit(\"click\", {\r\n\t\t\t\t\tevent,\r\n\t\t\t\t\tindex: this.index\r\n\t\t\t\t});\r\n\t\t\t\tthis.parent.swiper.updateClickedSlide(this.index);\r\n\t\t\t\tthis.parent.swiper.emit(\"slideClick\", this.index);\r\n\t\t\t},\r\n\t\t\ttransform(value) {\r\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.$set(this.itemStyle, 'transform', value)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.wxsItemTransform = value\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\ttransition(value) {\r\n\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\tthis.$set(this.itemStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-BAIDU\r\n\t\t\t\tthis.$set(this.itemStyle, 'transition-duration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\twillChange(value) {\r\n\t\t\t\tthis.$set(this.itemStyle, 'will-change', value)\r\n\t\t\t},\r\n\t\t\tcss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.itemStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttransitionEnd(callback, duration) {\r\n\t\t\t\tsetTimeout(callback, duration)\r\n\t\t\t},\r\n\t\t\tgetSize() {\r\n\t\t\t\tconst query = uni.createSelectorQuery().in(this);\r\n\t\t\t\treturn new Promise((resolve, reject) => {\r\n\t\t\t\t\tquery.select('.swiper-slide').boundingClientRect(data => {\r\n\t\t\t\t\t\tif (this.swiperItemWidth) {\r\n\t\t\t\t\t\t\tthis.width = this.unitFormat(this.swiperItemWidth, \"number\");\r\n\t\t\t\t\t\t\tthis.height = data.height;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (this.swiperItemHeight) {\r\n\t\t\t\t\t\t\tthis.width = data.width;\r\n\t\t\t\t\t\t\tthis.height = this.unitFormat(this.swiperItemHeight, \"number\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (!this.swiperItemWidth && !this.swiperItemHeight) {\r\n\t\t\t\t\t\t\tthis.width = data.width;\r\n\t\t\t\t\t\t\tthis.height = data.height;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tresolve({\r\n\t\t\t\t\t\t\twidth: this.width,\r\n\t\t\t\t\t\t\theight: this.height\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}).exec();\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\taddClass(value) {\r\n\t\t\t\tthis.itemClass = Array.from(new Set([...this.itemClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremoveClass(value) {\r\n\t\t\t\tthis.itemClass = this.itemClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\thasClass(value) {\r\n\t\t\t\treturn this.itemClass.includes(value);\r\n\t\t\t},\r\n\t\t\tnextAll() {\r\n\t\t\t\treturn this.parent.children.filter((item) => {\r\n\t\t\t\t\treturn item.index > this.index\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tprevAll() {\r\n\t\t\t\treturn this.parent.children.filter((item) => {\r\n\t\t\t\t\treturn item.index < this.index\r\n\t\t\t\t}).reverse()\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import '../../libs/core.scss';\r\n</style>\n","import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper-item.vue?vue&type=style&index=0&id=391a97dd&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 // 1721368729105\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n ","import mod from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper-item%5Cz-swiper-item.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper-item%5Cz-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:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?253a","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?6904","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?157a","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?64f5","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?da48","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?2ebd","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?7ff6","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?1260","uni-app:///uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue"],"names":[],"mappings":"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","file":"uni_modules/zebra-swiper/components/z-swiper/z-swiper.js","sourcesContent":["import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 // 1721008753850\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n ","import mod from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper%5Cz-swiper.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper%5Cz-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=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMzNjMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMzYzfX0%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 \"!../../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper%5Cz-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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=template&id=2ff4d8de&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMzNjMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMzYzfX0%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\n var s1 = _vm.__get_style([_vm.wrapperStyle])\n\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\n var s5 = _vm.__get_style([item.styleContent])\n\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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :id=\"'swiper'+_uid\"\r\n\t\t:class=\"['swiper',contentClass,containerClasses,options.direction === 'vertical'?'swiper-vertical':'']\"\r\n\t\t:style=\"[customStyle]\">\r\n\t\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\r\n\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\" @touchstart=\"onTouchStart\"\r\n\t\t\t@touchmove=\"onTouchMove\" @touchend=\"onTouchEnd\" @touchcancel=\"onTouchEnd\">\r\n\t\t<!-- #endif -->\r\n\t\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n\t\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\"\r\n\t\t\t\t@touchstart=\"zSwiperWxs.onTouchStartWxs\" @touchmove=\"zSwiperWxs.onTouchMoveWxs\"\r\n\t\t\t\t@touchend=\"zSwiperWxs.onTouchEndWxs\" @touchcancel=\"zSwiperWxs.onTouchEndWxs\"\r\n\t\t\t\t:swiperTransform=\"wxsTransform\" :change:swiperTransform=\"zSwiperWxs.wxsTransformObserver\">\r\n\t\t\t<!-- #endif -->\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<!-- 在loop模式下,为group填充空白slide -->\r\n\t\t\t\t<template v-if=\"loopBlankShow\">\r\n\t\t\t\t\t<z-swiper-item v-for=\"(item,index) in loopBlankNumber\" :key=\"index\">\r\n\t\t\t\t\t</z-swiper-item>\r\n\t\t\t\t</template>\r\n\t\t\t\t<template v-if=\"cubeShadowShowWrapper\">\r\n\t\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\r\n\t\t\t\t</template>\r\n\t\t\t</view>\r\n\t\t\t<template v-if=\"cubeShadowShowRoot\">\r\n\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\r\n\t\t\t</template>\r\n\t\t\t<slot name=\"indicator\"></slot>\r\n\t\t\t<template v-if=\"showIndicators\">\r\n\t\t\t\t<view :class=\"['swiper-pagination',paginationClass]\" :style=\"[paginationStyle]\">\r\n\t\t\t\t\t<template v-if=\"paginationType == 'bullets'\">\r\n\t\t\t\t\t\t<view v-for=\"(item,index) in paginationContent\" :key=\"index\"\r\n\t\t\t\t\t\t\t:class=\"[item.classContent.join(' ')]\" :style=\"[item.styleContent]\"\r\n\t\t\t\t\t\t\t@click=\"paginationItemClick(index)\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t\t<template v-if=\"paginationType == 'fraction'\">\r\n\t\t\t\t\t\t<text :class=\"paginationContent.currentClass\">{{paginationContent.text}}</text>/<text\r\n\t\t\t\t\t\t\t:class=\"paginationContent.totalClass\">{{paginationContent.total}}</text>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t\t<template v-if=\"paginationType == 'progressbar'\">\r\n\t\t\t\t\t\t<text :class=\"paginationContent.progressbarFillClass\"\r\n\t\t\t\t\t\t\t:style=\"[paginationContent.styleContent]\"></text>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"(showPrevButton||showPrevButtonSlot)\">\r\n\t\t\t\t<view :class=\"['swiper-button-prev',prevClass]\" @click=\"prevClick\">\r\n\t\t\t\t\t<view v-if=\"!showPrevButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_left\"></view>\r\n\t\t\t\t\t<slot v-else name=\"pre-button\"></slot>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"(showNextButton||showNextButtonSlot)\">\r\n\t\t\t\t<view :class=\"['swiper-button-next',nextClass]\" @click=\"nextClick\">\r\n\t\t\t\t\t<view v-if=\"!showNextButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_right\"></view>\r\n\t\t\t\t\t<slot v-else name=\"next-button\"></slot>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"scrollbarShow\">\r\n\t\t\t\t<view :class=\"['swiper-scrollbar',scrollbarClass]\" :style=\"[scrollbarStyle]\"\r\n\t\t\t\t\t@click.stop=\"onClickScrollbar\" @touchstart.stop=\"onTouchStartScrollbar\"\r\n\t\t\t\t\t@touchmove.stop.prevent=\"onTouchMoveScrollbar\" @touchend.stop=\"onTouchEndScrollbar\">\r\n\t\t\t\t\t<view class=\"swiper-scrollbar-drag\" :style=\"[scrollbarItemStyle]\">\r\n\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t</view>\r\n</template>\r\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\r\n<!-- #endif -->\r\n<script>\r\n\timport {\r\n\t\tgetAllRect,\r\n\t\tgetRect\r\n\t} from '../../libs/utils/utils.js';\r\n\t// vue2\r\n\timport {\r\n\t\tgetParams\r\n\t} from '../../libs/vue2/get-params.js';\r\n\timport {\r\n\t\tinitSwiper,\r\n\t\tmountSwiper\r\n\t} from '../../libs/vue2/init-swiper.js';\r\n\timport {\r\n\t\tneedsScrollbar,\r\n\t\tneedsNavigation,\r\n\t\tneedsPagination,\r\n\t\tuniqueClasses,\r\n\t\textend,\r\n\t} from '../../libs/vue2/utils.js';\r\n\timport {\r\n\t\trenderLoop,\r\n\t\tcalcLoopedSlides\r\n\t} from '../../libs/vue2/loop.js';\r\n\timport {\r\n\t\tgetChangedParams\r\n\t} from '../../libs/vue2/get-changed-params.js';\r\n\timport {\r\n\t\tupdateSwiper\r\n\t} from '../../libs/vue2/update-swiper.js';\r\n\timport {\r\n\t\trenderVirtual,\r\n\t\tupdateOnVirtualData\r\n\t} from '../../libs/vue2/virtual.js';\r\n\t//mixin\r\n\timport {\r\n\t\tParentMixin\r\n\t} from '../../libs/mixins/relation.js';\r\n\r\n\texport default {\r\n\t\tname: \"z-swipe\",\r\n\t\t// #ifdef MP-WEIXIN\r\n\t\toptions: {\r\n\t\t\tvirtualHost: true\r\n\t\t},\r\n\t\t// #endif\r\n\t\tmixins: [\r\n\t\t\tParentMixin('zSwipe')\r\n\t\t],\r\n\t\t// #ifdef VUE3\r\n\t\temits: ['update:modelValue', 'touch-start', 'touch-move', 'touch-end', 'transitionend', 'slideClick',\r\n\t\t\t'_beforeBreakpoint',\r\n\t\t\t'_containerClasses',\r\n\t\t\t'_slideClass',\r\n\t\t\t'_slideClasses', '_swiper',\r\n\t\t\t'activeIndexChange', 'afterInit', 'autoplay', 'autoplayStart', 'autoplayStop', 'autoplayPause',\r\n\t\t\t'autoplayResume', 'beforeDestroy', 'beforeInit', 'beforeLoopFix', 'beforeResize', 'beforeSlideChangeStart',\r\n\t\t\t'beforeTransitionStart', 'breakpoint', 'changeDirection', 'click', 'disable', 'doubleTap', 'doubleClick',\r\n\t\t\t'destroy', 'enable', 'fromEdge', 'hashChange', 'hashSet', 'imagesReady', 'init', 'keyPress',\r\n\t\t\t'lazyImageLoad', 'lazyImageReady', 'lock', 'loopFix', 'momentumBounce', 'navigationHide', 'navigationShow',\r\n\t\t\t'observerUpdate', 'orientationchange', 'paginationHide', 'paginationRender', 'paginationShow',\r\n\t\t\t'paginationUpdate', 'progress', 'reachBeginning', 'reachEnd', 'realIndexChange', 'resize', 'scroll',\r\n\t\t\t'scrollbarDragEnd', 'scrollbarDragMove', 'scrollbarDragStart', 'setTransition', 'setTranslate',\r\n\t\t\t'slideChange', 'slideChangeTransitionEnd', 'slideChangeTransitionStart', 'slideNextTransitionEnd',\r\n\t\t\t'slideNextTransitionStart', 'slidePrevTransitionEnd', 'slidePrevTransitionStart',\r\n\t\t\t'slideResetTransitionStart', 'slideResetTransitionEnd', 'sliderMove', 'sliderFirstMove',\r\n\t\t\t'slidesLengthChange', 'slidesGridLengthChange', 'snapGridLengthChange', 'snapIndexChange', 'swiper', 'tap',\r\n\t\t\t'toEdge', 'touchEnd', 'touchMove', 'touchMoveOpposite', 'touchStart', 'transitionEnd', 'transitionStart',\r\n\t\t\t'unlock', 'update', 'zoomChange', 'beforeMount', 'nextClick', 'prevClick', 'touchStartScrollbar',\r\n\t\t\t'touchMoveScrollbar', 'touchEndScrollbar', 'beforeUpdate', 'paginationItemClick'\r\n\t\t],\r\n\t\t// #endif\r\n\t\tprops: {\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {};\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\toptions: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// #ifdef VUE2\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef VUE3\r\n\t\t\tmodelValue: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twxsTransform: \"\",\r\n\t\t\t\twrapperStyle: {},\r\n\t\t\t\tcontentClass: '',\r\n\t\t\t\tnextElClass: [],\r\n\t\t\t\tprevElClass: [],\r\n\t\t\t\tpaginationElClass: [],\r\n\t\t\t\tpaginationItemElClass: [],\r\n\t\t\t\tloopBlankShow: false,\r\n\t\t\t\tloopBlankNumber: 0,\r\n\t\t\t\tcubeShadowShowWrapper: false,\r\n\t\t\t\tcubeShadowShowRoot: false,\r\n\t\t\t\tcubeShadowStyle: {},\r\n\t\t\t\teventsListeners: {},\r\n\t\t\t\tshowPrevButton: false,\r\n\t\t\t\tshowPrevButtonSlot: false,\r\n\t\t\t\tshowNextButton: false,\r\n\t\t\t\tshowNextButtonSlot: false,\r\n\t\t\t\tshowIndicators: false,\r\n\t\t\t\tpaginationContent: [],\r\n\t\t\t\tpaginationType: '',\r\n\t\t\t\tpaginationStyle: {},\r\n\t\t\t\tscrollbarElClass: [],\r\n\t\t\t\tscrollbarStyle: {},\r\n\t\t\t\tscrollbarItemStyle: {},\r\n\t\t\t\trectInfo: null,\r\n\r\n\t\t\t\t// vue2\r\n\t\t\t\tcontainerClasses: 'swiper',\r\n\t\t\t\tvirtualData: null,\r\n\t\t\t\tfirstLoad: true,\r\n\t\t\t\toriginalDataList: [],\r\n\t\t\t\tloopUpdateData: false\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// #ifdef VUE3\r\n\t\t\tvalue() {\r\n\t\t\t\treturn this.modelValue\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef VUE3\r\n\t\t\t_uid() {\r\n\t\t\t\treturn this._.uid\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t\tnextClass() {\r\n\t\t\t\treturn this.nextElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tprevClass() {\r\n\t\t\t\treturn this.prevElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tpaginationClass() {\r\n\t\t\t\treturn this.paginationElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tpaginationItemClass() {\r\n\t\t\t\treturn this.paginationItemElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tscrollbarClass() {\r\n\t\t\t\treturn this.scrollbarElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tscrollbarShow() {\r\n\t\t\t\treturn needsScrollbar(this.options)\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tconst {\r\n\t\t\t\tparams: swiperParams,\r\n\t\t\t\tpassedParams\r\n\t\t\t} = getParams(this.options);\r\n\t\t\tthis.swiperElRef = 'swiper';\r\n\t\t\tthis.swiperParams = swiperParams;\r\n\t\t\tthis.oldPassedParamsRef = passedParams;\r\n\t\t\tlet slidesRef = this.slidesRef;\r\n\r\n\t\t\tswiperParams.onAny = (event, ...args) => {\r\n\t\t\t\t// #ifdef MP\r\n\t\t\t\t// 字节小程序此处报错,因此无法使用v-on监听事件\r\n\t\t\t\t// #ifndef MP-TOUTIAO\r\n\t\t\t\tthis.$emit(event, {}, ...args.filter((item, index) => {\r\n\t\t\t\t\treturn index > 0\r\n\t\t\t\t}));\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP\r\n\t\t\t\tthis.$emit(event, ...args);\r\n\t\t\t\t// #endif\r\n\t\t\t};\r\n\t\t\tObject.assign(swiperParams.on, {\r\n\t\t\t\t_containerClasses(swiper, classes) {\r\n\t\t\t\t\tthis.containerClasses = classes;\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t\tthis.$watch(() => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tvalue: this.value,\r\n\t\t\t\t\toptions: this.options\r\n\t\t\t\t}\r\n\t\t\t}, (val) => {\r\n\t\t\t\t// virtual模式处理\r\n\t\t\t\tif (this.swiperParams && this.swiperParams.virtual) {\r\n\t\t\t\t\tif (!this.virtualData && val.options.virtual.slides.length) {\r\n\t\t\t\t\t\tthis.swiperParams.virtual.slides = val.options.virtual.slides;\r\n\t\t\t\t\t\tconst extendWith = {\r\n\t\t\t\t\t\t\tcache: false,\r\n\t\t\t\t\t\t\tslides: val.options.virtual.slides,\r\n\t\t\t\t\t\t\trenderExternal: data => {\r\n\t\t\t\t\t\t\t\tthis.virtualData = data;\r\n\t\t\t\t\t\t\t\t// #ifdef VUE2\r\n\t\t\t\t\t\t\t\tthis.$emit(\"input\", data.slides);\r\n\t\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t\t// #ifdef VUE3\r\n\t\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", data.slides);\r\n\t\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\trenderExternalUpdate: false\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\textend(this.swiperParams.virtual, extendWith);\r\n\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t// loop模式处理\r\n\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\r\n\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList.toString() == val.value\r\n\t\t\t\t\t\t\t.toString())) {\r\n\t\t\t\t\t\tthis.loopUpdateData = true;\r\n\t\t\t\t\t\t// 百度小程序watch晚于子组件加载\r\n\t\t\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\t\t\tif (this.firstLoad) {\r\n\t\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.loopUpdateData = false;\r\n\t\t\t\t\t\tlet slides = renderLoop(this, this.swiperParams, this.value);\r\n\t\t\t\t\t\tif (this.swiperParams.loop && !this.loopUpdateData && slides.data.toString() !=\r\n\t\t\t\t\t\t\tval.value.toString()) {\r\n\t\t\t\t\t\t\tthis.loopUpdateData = true;\r\n\t\t\t\t\t\t\t// #ifdef VUE2\r\n\t\t\t\t\t\t\tthis.$emit(\"input\", slides.data)\r\n\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t// #ifdef VUE3\r\n\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", slides.data)\r\n\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (this.swiper && !this.firstLoad) {\r\n\t\t\t\t\tif (this.virtualData && val.options.virtual.type == \"cut\") {\r\n\t\t\t\t\t\tconst style = this.swiper.isHorizontal() ? {\r\n\t\t\t\t\t\t\t[this.swiper.rtlTranslate ? 'right' :\r\n\t\t\t\t\t\t\t\t'left'\r\n\t\t\t\t\t\t\t]: `${this.virtualData.offset}px`\r\n\t\t\t\t\t\t} : {\r\n\t\t\t\t\t\t\ttop: `${this.virtualData.offset}px`\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tthis.children\r\n\t\t\t\t\t\t\t.map(slide => {\r\n\t\t\t\t\t\t\t\tslide.css(style)\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\tthis.updateSwiper(val.value, val.options, this.children);\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\tdeep: true,\r\n\t\t\t\timmediate: true\r\n\t\t\t})\r\n\t\t\tthis.$watch(() => {\r\n\t\t\t\treturn this.$data\r\n\t\t\t}, (val) => {\r\n\t\t\t\tif (this.swiper && this.swiper.native) {\r\n\t\t\t\t\tObject.assign(this.swiper.native, {\r\n\t\t\t\t\t\tval\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\tdeep: true\r\n\t\t\t})\r\n\t\t\tthis.$watch(() => {\r\n\t\t\t\treturn this.virtualData\r\n\t\t\t}, (val) => {\r\n\t\t\t\tif (this.swiper && this.virtualData) {\r\n\t\t\t\t\tupdateOnVirtualData(this.swiper);\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\tdeep: true\r\n\t\t\t})\r\n\t\t\tuni.$on(\"childrenReady\" + this._uid, async (children) => {\r\n\t\t\t\tchildren.dataSwiperSlideIndex = children.index;\r\n\t\t\t\tif (this.children.length == this.value.length) {\r\n\t\t\t\t\tPromise.all(this.children.map((item) => {\r\n\t\t\t\t\t\treturn item.getSize();\r\n\t\t\t\t\t})).then((res) => {\r\n\t\t\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\r\n\t\t\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList\r\n\t\t\t\t\t\t\t\t\t.toString() == this.value\r\n\t\t\t\t\t\t\t\t\t.toString())) {\r\n\t\t\t\t\t\t\t\tif (this.firstLoad) {\r\n\t\t\t\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (this.firstLoad) {\r\n\t\t\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.updateSwiper(this.value, this.options, this.children);\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\t// #ifdef VUE2\r\n\t\tbeforeDestroy() {\r\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\r\n\t\t\t\tthis.swiper.destroy(true, false);\r\n\t\t\t}\r\n\t\t},\r\n\t\t// #endif\r\n\t\t// #ifdef VUE3\r\n\t\tbeforeUnmount() {\r\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\r\n\t\t\t\tthis.swiper.destroy(true, false);\r\n\t\t\t}\r\n\t\t},\r\n\t\t// #endif\r\n\t\tmethods: {\r\n\t\t\tloadSwiper() {\r\n\t\t\t\tlet swiperParams = this.swiperParams;\r\n\t\t\t\tthis.slidesRef = this.children;\r\n\t\t\t\tthis.oldSlidesRef = this.slidesRef;\r\n\t\t\t\tlet swiperRef = initSwiper(swiperParams, {\r\n\t\t\t\t\t...this.$data,\r\n\t\t\t\t\t...this.$props,\r\n\t\t\t\t\tswiperElId: 'swiper' + this._uid,\r\n\t\t\t\t\temit: this.emit.bind(this),\r\n\t\t\t\t\tupdateData: this.updateData.bind(this),\r\n\t\t\t\t\tgetRect: this.getRect.bind(this),\r\n\t\t\t\t\tgetRectScrollbar: this.getRectScrollbar.bind(this),\r\n\t\t\t\t\twillChange: this.willChange.bind(this),\r\n\t\t\t\t\ttransform: this.transform.bind(this),\r\n\t\t\t\t\ttransition: this.transition.bind(this),\r\n\t\t\t\t\tscrollbarTransform: this.scrollbarTransform.bind(this),\r\n\t\t\t\t\tscrollbarTransition: this.scrollbarTransition.bind(this),\r\n\t\t\t\t\tscrollbarItemTransform: this.scrollbarItemTransform.bind(this),\r\n\t\t\t\t\tscrollbarItemTransition: this.scrollbarItemTransition.bind(this),\r\n\t\t\t\t\taddClass: this.addClass.bind(this),\r\n\t\t\t\t\tremoveClass: this.removeClass.bind(this),\r\n\t\t\t\t\taddPaginationClass: this.addPaginationClass.bind(this),\r\n\t\t\t\t\tremovePaginationClass: this.removePaginationClass.bind(this),\r\n\t\t\t\t\taddScrollbarClass: this.addScrollbarClass.bind(this),\r\n\t\t\t\t\tremoveScrollbarClass: this.removeScrollbarClass.bind(this),\r\n\t\t\t\t\tsetCss: this.setCss.bind(this),\r\n\t\t\t\t\tcss: this.setCss.bind(this),\r\n\t\t\t\t\tpaginationCss: this.setPaginationCss.bind(this),\r\n\t\t\t\t\tscrollbarCss: this.scrollbarCss.bind(this),\r\n\t\t\t\t\tscrollbarItemCss: this.scrollbarItemCss.bind(this),\r\n\t\t\t\t\taddNextElClass: this.addNextElClass.bind(this),\r\n\t\t\t\t\taddPrevElClass: this.addPrevElClass.bind(this),\r\n\t\t\t\t\tremoveNextElClass: this.removeNextElClass.bind(this),\r\n\t\t\t\t\tremovePrevElClass: this.removePrevElClass.bind(this),\r\n\t\t\t\t\tcubeShadowCss: this.cubeShadowCss.bind(this),\r\n\t\t\t\t\tcubeShadowTransform: this.cubeShadowTransform.bind(this),\r\n\t\t\t\t\tcubeShadowTransition: this.cubeShadowTransition.bind(this),\r\n\t\t\t\t});\r\n\t\t\t\tthis.swiper = swiperRef;\r\n\t\t\t\tswiperRef.loopCreate = () => {};\r\n\t\t\t\tswiperRef.loopDestroy = () => {};\r\n\t\t\t\tif (swiperParams.loop) {\r\n\t\t\t\t\tswiperRef.loopedSlides = calcLoopedSlides(this.slidesRef, swiperParams);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (!this.swiper) return;\r\n\t\t\t\tmountSwiper({\r\n\t\t\t\t\t\tel: this.swiperElRef,\r\n\t\t\t\t\t\tnextEl: this.nextElRef,\r\n\t\t\t\t\t\tprevEl: this.prevElRef,\r\n\t\t\t\t\t\tpaginationEl: this.paginationElRef,\r\n\t\t\t\t\t\tscrollbarEl: this.scrollbarElRef,\r\n\t\t\t\t\t\tswiper: this.swiper,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tthis.swiperParams,\r\n\t\t\t\t);\r\n\t\t\t\tthis.$emit('swiper');\r\n\t\t\t\tthis.firstLoad = false;\r\n\t\t\t},\r\n\t\t\tupdateSwiper(value, options, children) {\r\n\t\t\t\tthis.swiper.slides = children;\r\n\t\t\t\tthis.slidesRef = children;\r\n\t\t\t\tlet initializedRef = this.initializedRef;\r\n\t\t\t\tlet swiperRef = this.swiper;\r\n\t\t\t\tlet slidesRef = this.slidesRef;\r\n\t\t\t\tlet oldPassedParamsRef = this.oldPassedParamsRef;\r\n\t\t\t\tlet oldSlidesRef = this.oldSlidesRef;\r\n\t\t\t\tlet breakpointChanged = this.breakpointChanged;\r\n\t\t\t\tlet nextElRef = this.nextElRef;\r\n\t\t\t\tlet prevElRef = this.prevElRef;\r\n\t\t\t\tlet paginationElRef = this.paginationElRef;\r\n\t\t\t\tlet scrollbarElRef = this.scrollbarElRef;\r\n\t\t\t\t// set initialized flag\r\n\t\t\t\tif (!initializedRef && swiperRef) {\r\n\t\t\t\t\tswiperRef.emitSlidesClasses();\r\n\t\t\t\t\tinitializedRef = true;\r\n\t\t\t\t}\r\n\t\t\t\t// watch for params change\r\n\t\t\t\tconst {\r\n\t\t\t\t\tpassedParams: newPassedParams\r\n\t\t\t\t} = getParams(options);\r\n\t\t\t\tconst changedParams = getChangedParams(\r\n\t\t\t\t\tnewPassedParams,\r\n\t\t\t\t\toldPassedParamsRef,\r\n\t\t\t\t\tslidesRef,\r\n\t\t\t\t\toldSlidesRef,\r\n\t\t\t\t);\r\n\t\t\t\tthis.oldPassedParamsRef = newPassedParams;\r\n\t\t\t\tthis.oldSlidesRef = slidesRef;\r\n\t\t\t\tif (\r\n\t\t\t\t\t(changedParams.length || breakpointChanged) &&\r\n\t\t\t\t\tswiperRef &&\r\n\t\t\t\t\t!swiperRef.destroyed\r\n\t\t\t\t) {\r\n\t\t\t\t\tupdateSwiper({\r\n\t\t\t\t\t\tswiper: swiperRef,\r\n\t\t\t\t\t\tslides: slidesRef,\r\n\t\t\t\t\t\tpassedParams: newPassedParams,\r\n\t\t\t\t\t\tchangedParams,\r\n\t\t\t\t\t\tnextEl: nextElRef,\r\n\t\t\t\t\t\tprevEl: prevElRef,\r\n\t\t\t\t\t\tscrollbarEl: scrollbarElRef,\r\n\t\t\t\t\t\tpaginationEl: paginationElRef,\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tbreakpointChanged = false;\r\n\t\t\t},\r\n\t\t\temit(event, data) {\r\n\t\t\t\tthis.$emit(event, ...data)\r\n\t\t\t},\r\n\t\t\tasync getRect() {\r\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper');\r\n\t\t\t\tthis.rectInfo = rectInfo;\r\n\t\t\t\treturn rectInfo;\r\n\t\t\t},\r\n\t\t\tasync getRectScrollbar() {\r\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper-scrollbar');\r\n\t\t\t\treturn rectInfo;\r\n\t\t\t},\r\n\t\t\tupdateData(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\twillChange(value) {\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'will-change', value)\r\n\t\t\t},\r\n\t\t\ttransform(value) {\r\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'transform', value)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.wxsTransform = value;\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\ttransition(value) {\r\n\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-BAIDU\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'transition-duration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tsetCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.wrapperStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrollbarTransform(value) {\r\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transform', value)\r\n\t\t\t},\r\n\t\t\tscrollbarTransition(value) {\r\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t},\r\n\t\t\tscrollbarItemTransform(value) {\r\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transform', value)\r\n\t\t\t},\r\n\t\t\tscrollbarItemTransition(value) {\r\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t},\r\n\t\t\taddClass(value) {\r\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass.split(\" \"), ...value.split(\" \")])).join(\" \");\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass, ...value.split(\" \")]));\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tremoveClass(value) {\r\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = this.contentClass.split(\" \").filter(item => !value.split(\" \").includes(item)).join(\r\n\t\t\t\t\t\" \");\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = this.contentClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\taddPaginationClass(value) {\r\n\t\t\t\tthis.paginationElClass = Array.from(new Set([...this.paginationElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremovePaginationClass(value) {\r\n\t\t\t\tthis.paginationElClass = this.paginationElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\taddScrollbarClass(value) {\r\n\t\t\t\tthis.scrollbarElClass = Array.from(new Set([...this.scrollbarElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremoveScrollbarClass(value) {\r\n\t\t\t\tthis.scrollbarElClass = this.scrollbarElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\tsetPaginationCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.paginationStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrollbarCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.scrollbarStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrollbarItemCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.scrollbarItemStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\taddNextElClass(value) {\r\n\t\t\t\tthis.nextElClass = Array.from(new Set([...this.nextElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\taddPrevElClass(value) {\r\n\t\t\t\tthis.prevElClass = Array.from(new Set([...this.prevElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremoveNextElClass(value) {\r\n\t\t\t\tthis.nextElClass = this.nextElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\tremovePrevElClass(value) {\r\n\t\t\t\tthis.prevElClass = this.prevElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\tsetSwiperOn(event, callback) {\r\n\t\t\t\tif (!this.eventsListeners[event]) this.eventsListeners[event] = {};\r\n\t\t\t\tthis.eventsListeners[event] = callback;\r\n\t\t\t},\r\n\t\t\tpaginationItemClick(index) {\r\n\t\t\t\tthis.swiper.emit(\"paginationItemClick\", index)\r\n\t\t\t},\r\n\t\t\tprevClick() {\r\n\t\t\t\tthis.swiper.emit(\"prevClick\");\r\n\t\t\t},\r\n\t\t\tnextClick() {\r\n\t\t\t\tthis.swiper.emit(\"nextClick\");\r\n\t\t\t},\r\n\t\t\tonTouchStart(event) {\r\n\t\t\t\tthis.swiper.onTouchStart(event);\r\n\t\t\t},\r\n\t\t\tonTouchStartSwiperWxs(event) {\r\n\t\t\t\tthis.swiper.onTouchStart(event);\r\n\t\t\t},\r\n\t\t\tonTouchMove(event) {\r\n\t\t\t\tthis.swiper.onTouchMove(event);\r\n\t\t\t},\r\n\t\t\tonTouchMoveSwiperWxs(event) {\r\n\t\t\t\tthis.swiper.onTouchMove(event);\r\n\t\t\t},\r\n\t\t\tonTouchEnd(event) {\r\n\t\t\t\tthis.swiper.onTouchEnd(event);\r\n\t\t\t},\r\n\t\t\tonTouchEndSwiperWxs(event) {\r\n\t\t\t\tthis.swiper.onTouchEnd(event);\r\n\t\t\t},\r\n\t\t\tonClickWrapper(event) {\r\n\t\t\t\tthis.$emit(\"click\", event);\r\n\t\t\t},\r\n\t\t\tonClickScrollbar(event) {\r\n\t\t\t\tthis.$emit(\"scrollbarClick\", event);\r\n\t\t\t},\r\n\t\t\tonTouchStartScrollbar(event) {\r\n\t\t\t\tthis.swiper.emit('touchStartScrollbar', event);\r\n\t\t\t},\r\n\t\t\tonTouchMoveScrollbar(event) {\r\n\t\t\t\tthis.swiper.emit('touchMoveScrollbar', event);\r\n\t\t\t},\r\n\t\t\tonTouchEndScrollbar(event) {\r\n\t\t\t\tthis.swiper.emit('touchEndScrollbar', event);\r\n\t\t\t},\r\n\t\t\tcubeShadowCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.cubeShadowStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tcubeShadowTransform(value) {\r\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transform', value)\r\n\t\t\t},\r\n\t\t\tcubeShadowTransition(value) {\r\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import '../../libs/core.scss';\r\n\t@import \"../../static/css/iconfont.css\";\r\n\r\n\t.swiper {\r\n\t\t&__prev--button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t&__prev--button--disable {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\topacity: .35;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t&__next--button {\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t&__next--button--disable {\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\topacity: .35;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\t}\r\n</style>"],"sourceRoot":""} {"version":3,"sources":["webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?253a","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?6904","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?157a","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/wxs/z-swiper-wxs.wxs?64f5","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?da48","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?2ebd","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?7ff6","webpack:///D:/coco/dream/uniapp/jueqing/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue?1260","uni-app:///uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue"],"names":[],"mappings":"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","file":"uni_modules/zebra-swiper/components/z-swiper/z-swiper.js","sourcesContent":["import mod from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=style&index=0&id=2ff4d8de&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./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 // 1721368729308\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n ","import mod from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper%5Cz-swiper.vue&module=zSwiperWxs&lang=wxs\"; export default mod; export * from \"-!../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper%5Cz-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=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMzNjMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMzYzfX0%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 \"!../../../../../../../../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=D%3A%5Ccoco%5Cdream%5Cuniapp%5Cjueqing%5Cuni_modules%5Czebra-swiper%5Ccomponents%5Cz-swiper%5Cz-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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=template&id=2ff4d8de&scoped=true&filter-modules=eyJ6U3dpcGVyV3hzIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjMzNjMsImF0dHJzIjp7InNyYyI6Ii4uLy4uL3d4cy96LXN3aXBlci13eHMud3hzIiwibW9kdWxlIjoielN3aXBlcld4cyIsImxhbmciOiJ3eHMifSwiZW5kIjozMzYzfX0%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\n var s1 = _vm.__get_style([_vm.wrapperStyle])\n\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\n var s5 = _vm.__get_style([item.styleContent])\n\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 \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./z-swiper.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :id=\"'swiper'+_uid\"\r\n\t\t:class=\"['swiper',contentClass,containerClasses,options.direction === 'vertical'?'swiper-vertical':'']\"\r\n\t\t:style=\"[customStyle]\">\r\n\t\t<!-- #ifndef MP-WEIXIN || MP-QQ -->\r\n\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\" @touchstart=\"onTouchStart\"\r\n\t\t\t@touchmove=\"onTouchMove\" @touchend=\"onTouchEnd\" @touchcancel=\"onTouchEnd\">\r\n\t\t<!-- #endif -->\r\n\t\t\t<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n\t\t\t<view :class=\"['swiper-wrapper']\" :style=\"[wrapperStyle]\" @click=\"onClickWrapper\"\r\n\t\t\t\t@touchstart=\"zSwiperWxs.onTouchStartWxs\" @touchmove=\"zSwiperWxs.onTouchMoveWxs\"\r\n\t\t\t\t@touchend=\"zSwiperWxs.onTouchEndWxs\" @touchcancel=\"zSwiperWxs.onTouchEndWxs\"\r\n\t\t\t\t:swiperTransform=\"wxsTransform\" :change:swiperTransform=\"zSwiperWxs.wxsTransformObserver\">\r\n\t\t\t<!-- #endif -->\r\n\t\t\t\t<slot></slot>\r\n\t\t\t\t<!-- 在loop模式下,为group填充空白slide -->\r\n\t\t\t\t<template v-if=\"loopBlankShow\">\r\n\t\t\t\t\t<z-swiper-item v-for=\"(item,index) in loopBlankNumber\" :key=\"index\">\r\n\t\t\t\t\t</z-swiper-item>\r\n\t\t\t\t</template>\r\n\t\t\t\t<template v-if=\"cubeShadowShowWrapper\">\r\n\t\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\r\n\t\t\t\t</template>\r\n\t\t\t</view>\r\n\t\t\t<template v-if=\"cubeShadowShowRoot\">\r\n\t\t\t\t<view class=\"swiper-cube-shadow\" :style=\"[cubeShadowStyle]\"></view>\r\n\t\t\t</template>\r\n\t\t\t<slot name=\"indicator\"></slot>\r\n\t\t\t<template v-if=\"showIndicators\">\r\n\t\t\t\t<view :class=\"['swiper-pagination',paginationClass]\" :style=\"[paginationStyle]\">\r\n\t\t\t\t\t<template v-if=\"paginationType == 'bullets'\">\r\n\t\t\t\t\t\t<view v-for=\"(item,index) in paginationContent\" :key=\"index\"\r\n\t\t\t\t\t\t\t:class=\"[item.classContent.join(' ')]\" :style=\"[item.styleContent]\"\r\n\t\t\t\t\t\t\t@click=\"paginationItemClick(index)\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t\t<template v-if=\"paginationType == 'fraction'\">\r\n\t\t\t\t\t\t<text :class=\"paginationContent.currentClass\">{{paginationContent.text}}</text>/<text\r\n\t\t\t\t\t\t\t:class=\"paginationContent.totalClass\">{{paginationContent.total}}</text>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t\t<template v-if=\"paginationType == 'progressbar'\">\r\n\t\t\t\t\t\t<text :class=\"paginationContent.progressbarFillClass\"\r\n\t\t\t\t\t\t\t:style=\"[paginationContent.styleContent]\"></text>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"(showPrevButton||showPrevButtonSlot)\">\r\n\t\t\t\t<view :class=\"['swiper-button-prev',prevClass]\" @click=\"prevClick\">\r\n\t\t\t\t\t<view v-if=\"!showPrevButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_left\"></view>\r\n\t\t\t\t\t<slot v-else name=\"pre-button\"></slot>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"(showNextButton||showNextButtonSlot)\">\r\n\t\t\t\t<view :class=\"['swiper-button-next',nextClass]\" @click=\"nextClick\">\r\n\t\t\t\t\t<view v-if=\"!showNextButtonSlot\" class=\"zebra-icon zebra-icon-circle_chevron_right\"></view>\r\n\t\t\t\t\t<slot v-else name=\"next-button\"></slot>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"scrollbarShow\">\r\n\t\t\t\t<view :class=\"['swiper-scrollbar',scrollbarClass]\" :style=\"[scrollbarStyle]\"\r\n\t\t\t\t\t@click.stop=\"onClickScrollbar\" @touchstart.stop=\"onTouchStartScrollbar\"\r\n\t\t\t\t\t@touchmove.stop.prevent=\"onTouchMoveScrollbar\" @touchend.stop=\"onTouchEndScrollbar\">\r\n\t\t\t\t\t<view class=\"swiper-scrollbar-drag\" :style=\"[scrollbarItemStyle]\">\r\n\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</template>\r\n\t\t</view>\r\n</template>\r\n<!-- #ifdef MP-WEIXIN || MP-QQ -->\r\n<script src=\"../../wxs/z-swiper-wxs.wxs\" module=\"zSwiperWxs\" lang=\"wxs\"></script>\r\n<!-- #endif -->\r\n<script>\r\n\timport {\r\n\t\tgetAllRect,\r\n\t\tgetRect\r\n\t} from '../../libs/utils/utils.js';\r\n\t// vue2\r\n\timport {\r\n\t\tgetParams\r\n\t} from '../../libs/vue2/get-params.js';\r\n\timport {\r\n\t\tinitSwiper,\r\n\t\tmountSwiper\r\n\t} from '../../libs/vue2/init-swiper.js';\r\n\timport {\r\n\t\tneedsScrollbar,\r\n\t\tneedsNavigation,\r\n\t\tneedsPagination,\r\n\t\tuniqueClasses,\r\n\t\textend,\r\n\t} from '../../libs/vue2/utils.js';\r\n\timport {\r\n\t\trenderLoop,\r\n\t\tcalcLoopedSlides\r\n\t} from '../../libs/vue2/loop.js';\r\n\timport {\r\n\t\tgetChangedParams\r\n\t} from '../../libs/vue2/get-changed-params.js';\r\n\timport {\r\n\t\tupdateSwiper\r\n\t} from '../../libs/vue2/update-swiper.js';\r\n\timport {\r\n\t\trenderVirtual,\r\n\t\tupdateOnVirtualData\r\n\t} from '../../libs/vue2/virtual.js';\r\n\t//mixin\r\n\timport {\r\n\t\tParentMixin\r\n\t} from '../../libs/mixins/relation.js';\r\n\r\n\texport default {\r\n\t\tname: \"z-swipe\",\r\n\t\t// #ifdef MP-WEIXIN\r\n\t\toptions: {\r\n\t\t\tvirtualHost: true\r\n\t\t},\r\n\t\t// #endif\r\n\t\tmixins: [\r\n\t\t\tParentMixin('zSwipe')\r\n\t\t],\r\n\t\t// #ifdef VUE3\r\n\t\temits: ['update:modelValue', 'touch-start', 'touch-move', 'touch-end', 'transitionend', 'slideClick',\r\n\t\t\t'_beforeBreakpoint',\r\n\t\t\t'_containerClasses',\r\n\t\t\t'_slideClass',\r\n\t\t\t'_slideClasses', '_swiper',\r\n\t\t\t'activeIndexChange', 'afterInit', 'autoplay', 'autoplayStart', 'autoplayStop', 'autoplayPause',\r\n\t\t\t'autoplayResume', 'beforeDestroy', 'beforeInit', 'beforeLoopFix', 'beforeResize', 'beforeSlideChangeStart',\r\n\t\t\t'beforeTransitionStart', 'breakpoint', 'changeDirection', 'click', 'disable', 'doubleTap', 'doubleClick',\r\n\t\t\t'destroy', 'enable', 'fromEdge', 'hashChange', 'hashSet', 'imagesReady', 'init', 'keyPress',\r\n\t\t\t'lazyImageLoad', 'lazyImageReady', 'lock', 'loopFix', 'momentumBounce', 'navigationHide', 'navigationShow',\r\n\t\t\t'observerUpdate', 'orientationchange', 'paginationHide', 'paginationRender', 'paginationShow',\r\n\t\t\t'paginationUpdate', 'progress', 'reachBeginning', 'reachEnd', 'realIndexChange', 'resize', 'scroll',\r\n\t\t\t'scrollbarDragEnd', 'scrollbarDragMove', 'scrollbarDragStart', 'setTransition', 'setTranslate',\r\n\t\t\t'slideChange', 'slideChangeTransitionEnd', 'slideChangeTransitionStart', 'slideNextTransitionEnd',\r\n\t\t\t'slideNextTransitionStart', 'slidePrevTransitionEnd', 'slidePrevTransitionStart',\r\n\t\t\t'slideResetTransitionStart', 'slideResetTransitionEnd', 'sliderMove', 'sliderFirstMove',\r\n\t\t\t'slidesLengthChange', 'slidesGridLengthChange', 'snapGridLengthChange', 'snapIndexChange', 'swiper', 'tap',\r\n\t\t\t'toEdge', 'touchEnd', 'touchMove', 'touchMoveOpposite', 'touchStart', 'transitionEnd', 'transitionStart',\r\n\t\t\t'unlock', 'update', 'zoomChange', 'beforeMount', 'nextClick', 'prevClick', 'touchStartScrollbar',\r\n\t\t\t'touchMoveScrollbar', 'touchEndScrollbar', 'beforeUpdate', 'paginationItemClick'\r\n\t\t],\r\n\t\t// #endif\r\n\t\tprops: {\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {};\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\toptions: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// #ifdef VUE2\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef VUE3\r\n\t\t\tmodelValue: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twxsTransform: \"\",\r\n\t\t\t\twrapperStyle: {},\r\n\t\t\t\tcontentClass: '',\r\n\t\t\t\tnextElClass: [],\r\n\t\t\t\tprevElClass: [],\r\n\t\t\t\tpaginationElClass: [],\r\n\t\t\t\tpaginationItemElClass: [],\r\n\t\t\t\tloopBlankShow: false,\r\n\t\t\t\tloopBlankNumber: 0,\r\n\t\t\t\tcubeShadowShowWrapper: false,\r\n\t\t\t\tcubeShadowShowRoot: false,\r\n\t\t\t\tcubeShadowStyle: {},\r\n\t\t\t\teventsListeners: {},\r\n\t\t\t\tshowPrevButton: false,\r\n\t\t\t\tshowPrevButtonSlot: false,\r\n\t\t\t\tshowNextButton: false,\r\n\t\t\t\tshowNextButtonSlot: false,\r\n\t\t\t\tshowIndicators: false,\r\n\t\t\t\tpaginationContent: [],\r\n\t\t\t\tpaginationType: '',\r\n\t\t\t\tpaginationStyle: {},\r\n\t\t\t\tscrollbarElClass: [],\r\n\t\t\t\tscrollbarStyle: {},\r\n\t\t\t\tscrollbarItemStyle: {},\r\n\t\t\t\trectInfo: null,\r\n\r\n\t\t\t\t// vue2\r\n\t\t\t\tcontainerClasses: 'swiper',\r\n\t\t\t\tvirtualData: null,\r\n\t\t\t\tfirstLoad: true,\r\n\t\t\t\toriginalDataList: [],\r\n\t\t\t\tloopUpdateData: false\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// #ifdef VUE3\r\n\t\t\tvalue() {\r\n\t\t\t\treturn this.modelValue\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef VUE3\r\n\t\t\t_uid() {\r\n\t\t\t\treturn this._.uid\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t\tnextClass() {\r\n\t\t\t\treturn this.nextElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tprevClass() {\r\n\t\t\t\treturn this.prevElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tpaginationClass() {\r\n\t\t\t\treturn this.paginationElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tpaginationItemClass() {\r\n\t\t\t\treturn this.paginationItemElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tscrollbarClass() {\r\n\t\t\t\treturn this.scrollbarElClass.join(\" \");\r\n\t\t\t},\r\n\t\t\tscrollbarShow() {\r\n\t\t\t\treturn needsScrollbar(this.options)\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tconst {\r\n\t\t\t\tparams: swiperParams,\r\n\t\t\t\tpassedParams\r\n\t\t\t} = getParams(this.options);\r\n\t\t\tthis.swiperElRef = 'swiper';\r\n\t\t\tthis.swiperParams = swiperParams;\r\n\t\t\tthis.oldPassedParamsRef = passedParams;\r\n\t\t\tlet slidesRef = this.slidesRef;\r\n\r\n\t\t\tswiperParams.onAny = (event, ...args) => {\r\n\t\t\t\t// #ifdef MP\r\n\t\t\t\t// 字节小程序此处报错,因此无法使用v-on监听事件\r\n\t\t\t\t// #ifndef MP-TOUTIAO\r\n\t\t\t\tthis.$emit(event, {}, ...args.filter((item, index) => {\r\n\t\t\t\t\treturn index > 0\r\n\t\t\t\t}));\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP\r\n\t\t\t\tthis.$emit(event, ...args);\r\n\t\t\t\t// #endif\r\n\t\t\t};\r\n\t\t\tObject.assign(swiperParams.on, {\r\n\t\t\t\t_containerClasses(swiper, classes) {\r\n\t\t\t\t\tthis.containerClasses = classes;\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t\tthis.$watch(() => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tvalue: this.value,\r\n\t\t\t\t\toptions: this.options\r\n\t\t\t\t}\r\n\t\t\t}, (val) => {\r\n\t\t\t\t// virtual模式处理\r\n\t\t\t\tif (this.swiperParams && this.swiperParams.virtual) {\r\n\t\t\t\t\tif (!this.virtualData && val.options.virtual.slides.length) {\r\n\t\t\t\t\t\tthis.swiperParams.virtual.slides = val.options.virtual.slides;\r\n\t\t\t\t\t\tconst extendWith = {\r\n\t\t\t\t\t\t\tcache: false,\r\n\t\t\t\t\t\t\tslides: val.options.virtual.slides,\r\n\t\t\t\t\t\t\trenderExternal: data => {\r\n\t\t\t\t\t\t\t\tthis.virtualData = data;\r\n\t\t\t\t\t\t\t\t// #ifdef VUE2\r\n\t\t\t\t\t\t\t\tthis.$emit(\"input\", data.slides);\r\n\t\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t\t// #ifdef VUE3\r\n\t\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", data.slides);\r\n\t\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\trenderExternalUpdate: false\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\textend(this.swiperParams.virtual, extendWith);\r\n\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t// loop模式处理\r\n\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\r\n\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList.toString() == val.value\r\n\t\t\t\t\t\t\t.toString())) {\r\n\t\t\t\t\t\tthis.loopUpdateData = true;\r\n\t\t\t\t\t\t// 百度小程序watch晚于子组件加载\r\n\t\t\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\t\t\tif (this.firstLoad) {\r\n\t\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.loopUpdateData = false;\r\n\t\t\t\t\t\tlet slides = renderLoop(this, this.swiperParams, this.value);\r\n\t\t\t\t\t\tif (this.swiperParams.loop && !this.loopUpdateData && slides.data.toString() !=\r\n\t\t\t\t\t\t\tval.value.toString()) {\r\n\t\t\t\t\t\t\tthis.loopUpdateData = true;\r\n\t\t\t\t\t\t\t// #ifdef VUE2\r\n\t\t\t\t\t\t\tthis.$emit(\"input\", slides.data)\r\n\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t// #ifdef VUE3\r\n\t\t\t\t\t\t\tthis.$emit(\"update:modelValue\", slides.data)\r\n\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (this.swiper && !this.firstLoad) {\r\n\t\t\t\t\tif (this.virtualData && val.options.virtual.type == \"cut\") {\r\n\t\t\t\t\t\tconst style = this.swiper.isHorizontal() ? {\r\n\t\t\t\t\t\t\t[this.swiper.rtlTranslate ? 'right' :\r\n\t\t\t\t\t\t\t\t'left'\r\n\t\t\t\t\t\t\t]: `${this.virtualData.offset}px`\r\n\t\t\t\t\t\t} : {\r\n\t\t\t\t\t\t\ttop: `${this.virtualData.offset}px`\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tthis.children\r\n\t\t\t\t\t\t\t.map(slide => {\r\n\t\t\t\t\t\t\t\tslide.css(style)\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\tthis.updateSwiper(val.value, val.options, this.children);\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\tdeep: true,\r\n\t\t\t\timmediate: true\r\n\t\t\t})\r\n\t\t\tthis.$watch(() => {\r\n\t\t\t\treturn this.$data\r\n\t\t\t}, (val) => {\r\n\t\t\t\tif (this.swiper && this.swiper.native) {\r\n\t\t\t\t\tObject.assign(this.swiper.native, {\r\n\t\t\t\t\t\tval\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\tdeep: true\r\n\t\t\t})\r\n\t\t\tthis.$watch(() => {\r\n\t\t\t\treturn this.virtualData\r\n\t\t\t}, (val) => {\r\n\t\t\t\tif (this.swiper && this.virtualData) {\r\n\t\t\t\t\tupdateOnVirtualData(this.swiper);\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\tdeep: true\r\n\t\t\t})\r\n\t\t\tuni.$on(\"childrenReady\" + this._uid, async (children) => {\r\n\t\t\t\tchildren.dataSwiperSlideIndex = children.index;\r\n\t\t\t\tif (this.children.length == this.value.length) {\r\n\t\t\t\t\tPromise.all(this.children.map((item) => {\r\n\t\t\t\t\t\treturn item.getSize();\r\n\t\t\t\t\t})).then((res) => {\r\n\t\t\t\t\t\tif (this.swiperParams && this.swiperParams.loop) {\r\n\t\t\t\t\t\t\tif (this.originalDataList.length && (this.originalDataList\r\n\t\t\t\t\t\t\t\t\t.toString() == this.value\r\n\t\t\t\t\t\t\t\t\t.toString())) {\r\n\t\t\t\t\t\t\t\tif (this.firstLoad) {\r\n\t\t\t\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (this.firstLoad) {\r\n\t\t\t\t\t\t\t\tthis.loadSwiper();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.updateSwiper(this.value, this.options, this.children);\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\t// #ifdef VUE2\r\n\t\tbeforeDestroy() {\r\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\r\n\t\t\t\tthis.swiper.destroy(true, false);\r\n\t\t\t}\r\n\t\t},\r\n\t\t// #endif\r\n\t\t// #ifdef VUE3\r\n\t\tbeforeUnmount() {\r\n\t\t\tif (this.swiper && !this.swiper.destroyed) {\r\n\t\t\t\tthis.swiper.destroy(true, false);\r\n\t\t\t}\r\n\t\t},\r\n\t\t// #endif\r\n\t\tmethods: {\r\n\t\t\tloadSwiper() {\r\n\t\t\t\tlet swiperParams = this.swiperParams;\r\n\t\t\t\tthis.slidesRef = this.children;\r\n\t\t\t\tthis.oldSlidesRef = this.slidesRef;\r\n\t\t\t\tlet swiperRef = initSwiper(swiperParams, {\r\n\t\t\t\t\t...this.$data,\r\n\t\t\t\t\t...this.$props,\r\n\t\t\t\t\tswiperElId: 'swiper' + this._uid,\r\n\t\t\t\t\temit: this.emit.bind(this),\r\n\t\t\t\t\tupdateData: this.updateData.bind(this),\r\n\t\t\t\t\tgetRect: this.getRect.bind(this),\r\n\t\t\t\t\tgetRectScrollbar: this.getRectScrollbar.bind(this),\r\n\t\t\t\t\twillChange: this.willChange.bind(this),\r\n\t\t\t\t\ttransform: this.transform.bind(this),\r\n\t\t\t\t\ttransition: this.transition.bind(this),\r\n\t\t\t\t\tscrollbarTransform: this.scrollbarTransform.bind(this),\r\n\t\t\t\t\tscrollbarTransition: this.scrollbarTransition.bind(this),\r\n\t\t\t\t\tscrollbarItemTransform: this.scrollbarItemTransform.bind(this),\r\n\t\t\t\t\tscrollbarItemTransition: this.scrollbarItemTransition.bind(this),\r\n\t\t\t\t\taddClass: this.addClass.bind(this),\r\n\t\t\t\t\tremoveClass: this.removeClass.bind(this),\r\n\t\t\t\t\taddPaginationClass: this.addPaginationClass.bind(this),\r\n\t\t\t\t\tremovePaginationClass: this.removePaginationClass.bind(this),\r\n\t\t\t\t\taddScrollbarClass: this.addScrollbarClass.bind(this),\r\n\t\t\t\t\tremoveScrollbarClass: this.removeScrollbarClass.bind(this),\r\n\t\t\t\t\tsetCss: this.setCss.bind(this),\r\n\t\t\t\t\tcss: this.setCss.bind(this),\r\n\t\t\t\t\tpaginationCss: this.setPaginationCss.bind(this),\r\n\t\t\t\t\tscrollbarCss: this.scrollbarCss.bind(this),\r\n\t\t\t\t\tscrollbarItemCss: this.scrollbarItemCss.bind(this),\r\n\t\t\t\t\taddNextElClass: this.addNextElClass.bind(this),\r\n\t\t\t\t\taddPrevElClass: this.addPrevElClass.bind(this),\r\n\t\t\t\t\tremoveNextElClass: this.removeNextElClass.bind(this),\r\n\t\t\t\t\tremovePrevElClass: this.removePrevElClass.bind(this),\r\n\t\t\t\t\tcubeShadowCss: this.cubeShadowCss.bind(this),\r\n\t\t\t\t\tcubeShadowTransform: this.cubeShadowTransform.bind(this),\r\n\t\t\t\t\tcubeShadowTransition: this.cubeShadowTransition.bind(this),\r\n\t\t\t\t});\r\n\t\t\t\tthis.swiper = swiperRef;\r\n\t\t\t\tswiperRef.loopCreate = () => {};\r\n\t\t\t\tswiperRef.loopDestroy = () => {};\r\n\t\t\t\tif (swiperParams.loop) {\r\n\t\t\t\t\tswiperRef.loopedSlides = calcLoopedSlides(this.slidesRef, swiperParams);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (!this.swiper) return;\r\n\t\t\t\tmountSwiper({\r\n\t\t\t\t\t\tel: this.swiperElRef,\r\n\t\t\t\t\t\tnextEl: this.nextElRef,\r\n\t\t\t\t\t\tprevEl: this.prevElRef,\r\n\t\t\t\t\t\tpaginationEl: this.paginationElRef,\r\n\t\t\t\t\t\tscrollbarEl: this.scrollbarElRef,\r\n\t\t\t\t\t\tswiper: this.swiper,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tthis.swiperParams,\r\n\t\t\t\t);\r\n\t\t\t\tthis.$emit('swiper');\r\n\t\t\t\tthis.firstLoad = false;\r\n\t\t\t},\r\n\t\t\tupdateSwiper(value, options, children) {\r\n\t\t\t\tthis.swiper.slides = children;\r\n\t\t\t\tthis.slidesRef = children;\r\n\t\t\t\tlet initializedRef = this.initializedRef;\r\n\t\t\t\tlet swiperRef = this.swiper;\r\n\t\t\t\tlet slidesRef = this.slidesRef;\r\n\t\t\t\tlet oldPassedParamsRef = this.oldPassedParamsRef;\r\n\t\t\t\tlet oldSlidesRef = this.oldSlidesRef;\r\n\t\t\t\tlet breakpointChanged = this.breakpointChanged;\r\n\t\t\t\tlet nextElRef = this.nextElRef;\r\n\t\t\t\tlet prevElRef = this.prevElRef;\r\n\t\t\t\tlet paginationElRef = this.paginationElRef;\r\n\t\t\t\tlet scrollbarElRef = this.scrollbarElRef;\r\n\t\t\t\t// set initialized flag\r\n\t\t\t\tif (!initializedRef && swiperRef) {\r\n\t\t\t\t\tswiperRef.emitSlidesClasses();\r\n\t\t\t\t\tinitializedRef = true;\r\n\t\t\t\t}\r\n\t\t\t\t// watch for params change\r\n\t\t\t\tconst {\r\n\t\t\t\t\tpassedParams: newPassedParams\r\n\t\t\t\t} = getParams(options);\r\n\t\t\t\tconst changedParams = getChangedParams(\r\n\t\t\t\t\tnewPassedParams,\r\n\t\t\t\t\toldPassedParamsRef,\r\n\t\t\t\t\tslidesRef,\r\n\t\t\t\t\toldSlidesRef,\r\n\t\t\t\t);\r\n\t\t\t\tthis.oldPassedParamsRef = newPassedParams;\r\n\t\t\t\tthis.oldSlidesRef = slidesRef;\r\n\t\t\t\tif (\r\n\t\t\t\t\t(changedParams.length || breakpointChanged) &&\r\n\t\t\t\t\tswiperRef &&\r\n\t\t\t\t\t!swiperRef.destroyed\r\n\t\t\t\t) {\r\n\t\t\t\t\tupdateSwiper({\r\n\t\t\t\t\t\tswiper: swiperRef,\r\n\t\t\t\t\t\tslides: slidesRef,\r\n\t\t\t\t\t\tpassedParams: newPassedParams,\r\n\t\t\t\t\t\tchangedParams,\r\n\t\t\t\t\t\tnextEl: nextElRef,\r\n\t\t\t\t\t\tprevEl: prevElRef,\r\n\t\t\t\t\t\tscrollbarEl: scrollbarElRef,\r\n\t\t\t\t\t\tpaginationEl: paginationElRef,\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tbreakpointChanged = false;\r\n\t\t\t},\r\n\t\t\temit(event, data) {\r\n\t\t\t\tthis.$emit(event, ...data)\r\n\t\t\t},\r\n\t\t\tasync getRect() {\r\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper');\r\n\t\t\t\tthis.rectInfo = rectInfo;\r\n\t\t\t\treturn rectInfo;\r\n\t\t\t},\r\n\t\t\tasync getRectScrollbar() {\r\n\t\t\t\tlet rectInfo = await getRect(this, '.swiper-scrollbar');\r\n\t\t\t\treturn rectInfo;\r\n\t\t\t},\r\n\t\t\tupdateData(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\twillChange(value) {\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'will-change', value)\r\n\t\t\t},\r\n\t\t\ttransform(value) {\r\n\t\t\t\t// #ifndef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'transform', value)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ\r\n\t\t\t\tthis.wxsTransform = value;\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\ttransition(value) {\r\n\t\t\t\t// #ifdef MP-BAIDU\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-BAIDU\r\n\t\t\t\tthis.$set(this.wrapperStyle, 'transition-duration', `${value}ms`)\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tsetCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.wrapperStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrollbarTransform(value) {\r\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transform', value)\r\n\t\t\t},\r\n\t\t\tscrollbarTransition(value) {\r\n\t\t\t\tthis.$set(this.scrollbarStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t},\r\n\t\t\tscrollbarItemTransform(value) {\r\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transform', value)\r\n\t\t\t},\r\n\t\t\tscrollbarItemTransition(value) {\r\n\t\t\t\tthis.$set(this.scrollbarItemStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t},\r\n\t\t\taddClass(value) {\r\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass.split(\" \"), ...value.split(\" \")])).join(\" \");\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = Array.from(new Set([...this.contentClass, ...value.split(\" \")]));\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tremoveClass(value) {\r\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = this.contentClass.split(\" \").filter(item => !value.split(\" \").includes(item)).join(\r\n\t\t\t\t\t\" \");\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef MP-ALIPAY || MP-TOUTIAO\r\n\t\t\t\tthis.contentClass = this.contentClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\taddPaginationClass(value) {\r\n\t\t\t\tthis.paginationElClass = Array.from(new Set([...this.paginationElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremovePaginationClass(value) {\r\n\t\t\t\tthis.paginationElClass = this.paginationElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\taddScrollbarClass(value) {\r\n\t\t\t\tthis.scrollbarElClass = Array.from(new Set([...this.scrollbarElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremoveScrollbarClass(value) {\r\n\t\t\t\tthis.scrollbarElClass = this.scrollbarElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\tsetPaginationCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.paginationStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrollbarCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.scrollbarStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrollbarItemCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.scrollbarItemStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\taddNextElClass(value) {\r\n\t\t\t\tthis.nextElClass = Array.from(new Set([...this.nextElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\taddPrevElClass(value) {\r\n\t\t\t\tthis.prevElClass = Array.from(new Set([...this.prevElClass, ...value.split(\" \")]));\r\n\t\t\t},\r\n\t\t\tremoveNextElClass(value) {\r\n\t\t\t\tthis.nextElClass = this.nextElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\tremovePrevElClass(value) {\r\n\t\t\t\tthis.prevElClass = this.prevElClass.filter(item => !value.split(\" \").includes(item));\r\n\t\t\t},\r\n\t\t\tsetSwiperOn(event, callback) {\r\n\t\t\t\tif (!this.eventsListeners[event]) this.eventsListeners[event] = {};\r\n\t\t\t\tthis.eventsListeners[event] = callback;\r\n\t\t\t},\r\n\t\t\tpaginationItemClick(index) {\r\n\t\t\t\tthis.swiper.emit(\"paginationItemClick\", index)\r\n\t\t\t},\r\n\t\t\tprevClick() {\r\n\t\t\t\tthis.swiper.emit(\"prevClick\");\r\n\t\t\t},\r\n\t\t\tnextClick() {\r\n\t\t\t\tthis.swiper.emit(\"nextClick\");\r\n\t\t\t},\r\n\t\t\tonTouchStart(event) {\r\n\t\t\t\tthis.swiper.onTouchStart(event);\r\n\t\t\t},\r\n\t\t\tonTouchStartSwiperWxs(event) {\r\n\t\t\t\tthis.swiper.onTouchStart(event);\r\n\t\t\t},\r\n\t\t\tonTouchMove(event) {\r\n\t\t\t\tthis.swiper.onTouchMove(event);\r\n\t\t\t},\r\n\t\t\tonTouchMoveSwiperWxs(event) {\r\n\t\t\t\tthis.swiper.onTouchMove(event);\r\n\t\t\t},\r\n\t\t\tonTouchEnd(event) {\r\n\t\t\t\tthis.swiper.onTouchEnd(event);\r\n\t\t\t},\r\n\t\t\tonTouchEndSwiperWxs(event) {\r\n\t\t\t\tthis.swiper.onTouchEnd(event);\r\n\t\t\t},\r\n\t\t\tonClickWrapper(event) {\r\n\t\t\t\tthis.$emit(\"click\", event);\r\n\t\t\t},\r\n\t\t\tonClickScrollbar(event) {\r\n\t\t\t\tthis.$emit(\"scrollbarClick\", event);\r\n\t\t\t},\r\n\t\t\tonTouchStartScrollbar(event) {\r\n\t\t\t\tthis.swiper.emit('touchStartScrollbar', event);\r\n\t\t\t},\r\n\t\t\tonTouchMoveScrollbar(event) {\r\n\t\t\t\tthis.swiper.emit('touchMoveScrollbar', event);\r\n\t\t\t},\r\n\t\t\tonTouchEndScrollbar(event) {\r\n\t\t\t\tthis.swiper.emit('touchEndScrollbar', event);\r\n\t\t\t},\r\n\t\t\tcubeShadowCss(value) {\r\n\t\t\t\tObject.keys(value).forEach((item) => {\r\n\t\t\t\t\tthis.$set(this.cubeShadowStyle, item, value[item])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tcubeShadowTransform(value) {\r\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transform', value)\r\n\t\t\t},\r\n\t\t\tcubeShadowTransition(value) {\r\n\t\t\t\tthis.$set(this.cubeShadowStyle, 'transitionDuration', `${value}ms`)\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t@import '../../libs/core.scss';\r\n\t@import \"../../static/css/iconfont.css\";\r\n\r\n\t.swiper {\r\n\t\t&__prev--button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t&__prev--button--disable {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\topacity: .35;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t&__next--button {\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t&__next--button--disable {\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 30rpx;\r\n\t\t\ttop: 50%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tcolor: #1989fa;\r\n\t\t\tfont-size: 44rpx;\r\n\t\t\topacity: .35;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\t}\r\n</style>"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
...@@ -689,7 +689,9 @@ var _default = ...@@ -689,7 +689,9 @@ var _default =
'中国大陆少女口音3': 'zh-CN-YunxiaNeural' }, '中国大陆少女口音3': 'zh-CN-YunxiaNeural' },
Allvoice: [], Allvoice: [],
worldParameter: [] }; worldParameter: [],
total_val: [],
quotedData: [] };
}, },
computed: { computed: {
...@@ -1020,7 +1022,7 @@ var _default = ...@@ -1020,7 +1022,7 @@ var _default =
}); });
// 监听接收到服务器发送的消息事件 // 监听接收到服务器发送的消息事件
this.socketTask.onMessage(function (message) { this.socketTask.onMessage(function (message) {
console.log('message--------', message); // console.log('message--------',message)
clearInterval(_this5.timerConsider); clearInterval(_this5.timerConsider);
clearInterval(_this5.timer); clearInterval(_this5.timer);
_this5.jumping = false; _this5.jumping = false;
...@@ -1032,7 +1034,7 @@ var _default = ...@@ -1032,7 +1034,7 @@ var _default =
uni.hideLoading(); uni.hideLoading();
//处理把数据添加至页面 //处理把数据添加至页面
var backValue = JSON.parse(message.data); var backValue = JSON.parse(message.data);
console.log('----onMessage----', backValue); // console.log('----onMessage----',backValue)
if (!_this5.header) { if (!_this5.header) {
_this5.glod_dp = false; //先隐藏数字人对话框 _this5.glod_dp = false; //先隐藏数字人对话框
} }
...@@ -1088,7 +1090,7 @@ var _default = ...@@ -1088,7 +1090,7 @@ var _default =
'Content-Type': 'application/x-www-form-urlencoded' } }). 'Content-Type': 'application/x-www-form-urlencoded' } }).
then(function (res) { then(function (res) {
console.log('当前道具名称对应的图片资源', res[1].data); // console.log('当前道具名称对应的图片资源',res[1].data)
if (res[1].data.code === 1) { if (res[1].data.code === 1) {
_this5.imageList.push({ imgSrc: 'https://admin.mindepoch.com:8089' + res[1].data.propImagePath, name: _this5.items[i] }); _this5.imageList.push({ imgSrc: 'https://admin.mindepoch.com:8089' + res[1].data.propImagePath, name: _this5.items[i] });
} }
...@@ -1119,7 +1121,7 @@ var _default = ...@@ -1119,7 +1121,7 @@ var _default =
'Cookie': "".concat(uni.getStorageSync('session_token')) } }). 'Cookie': "".concat(uni.getStorageSync('session_token')) } }).
then(function (res) { then(function (res) {
console.log('图片资源', res); // console.log('图片资源',res)
_this5.base64Img = 'data:image/png;base64,' + uni.arrayBufferToBase64(res[1].data); _this5.base64Img = 'data:image/png;base64,' + uni.arrayBufferToBase64(res[1].data);
_this5.loading = true; _this5.loading = true;
_this5.foot = false; //输入框区域隐藏 _this5.foot = false; //输入框区域隐藏
...@@ -1139,31 +1141,50 @@ var _default = ...@@ -1139,31 +1141,50 @@ var _default =
} }
//服务器传来的内容处理 包括发声 //服务器传来的内容处理 包括发声
var ISLIU_content = backValue.ISLIU ? backValue.ISLIU : ''; var ISLIU_content = backValue.ISLIU ? backValue.ISLIU : '';
console.log(ISLIU_content);
if (ISLIU_content !== '') { if (ISLIU_content !== '') {
uni.request({
url: "https://admin.mindepoch.com:8089/ai/process",
method: 'post',
data: {
content: ISLIU_content },
header: {
'Cookie': "".concat(uni.getStorageSync('session_token')),
'Content-Type': 'application/json' // 指定请求头类型为 JSON
} }).
then(function (res) {
ISLIU_content = ISLIU_content.replaceAll("“", "\"").replaceAll("”", "\""); ISLIU_content = ISLIU_content.replaceAll("“", "\"").replaceAll("”", "\"");
var finalVal = _this5.extractQuotedTexts(ISLIU_content).join(","); var finalVal = _this5.extractQuotedTexts(ISLIU_content).join(",");
console.log('finalVal', finalVal);
var text = _this5.splitString(ISLIU_content); var text = _this5.splitString(ISLIU_content);
console.log('kkkkkkkkkkkkkkkkkkkkkkk', ISLIU_content); _this5.total_val = res[1].data.results;
_this5.execFile(text); // this.total_val.unshift()
_this5.total_val = _this5.total_val.splice(1, _this5.total_val.length);
console.log(text, _this5.total_val);
// console.log('finalVal',finalVal)
// console.log('ISLIU_content',ISLIU_content,'text',text,'total_val',res[1].data.results)
text = text.map(function (item) {
if (!item.quoted) {
item.voicer = _this5.currentPageData.voiceGroups['2'];
} else {
if (_this5.total_val.length != 0) {
// this.GoSound(text, function (text, falg) { var double = _this5.separateChineseAndNumbers(_this5.total_val[0]);
// if (falg) { var voicer = _this5.currentPageData.voiceGroups[double[1]] ?
// console.log('讲话完毕!') _this5.currentPageData.voiceGroups[double[1]] :
// } _this5.currentPageData.voiceGroups[double[0]];
// }) item.voicer = voicer;
_this5.total_val = _this5.total_val.splice(1, _this5.total_val.length);
}
}
return item;
});
_this5.execFile(text, ISLIU_content);
// this.finalVal = this.extractQuotedTexts(ISLIU_content).join(",") }).catch(function (err) {
// console.log('处理后的文字', this.finalVal) console.log(err);
// this.GoSound(this.finalVal, "huaHuo", function (text, falg) { });
// if (falg) {
// console.log('讲话完毕!')
// }
// })
} }
//把用户的聊天内容加入到页面中 //把用户的聊天内容加入到页面中
...@@ -1175,7 +1196,7 @@ var _default = ...@@ -1175,7 +1196,7 @@ var _default =
_this5.historyRecord = _this5.historyRecord.filter(function (item) { _this5.historyRecord = _this5.historyRecord.filter(function (item) {
return !item.Message.includes("正在思考中"); return !item.Message.includes("正在思考中");
}); });
console.log('historyRecord', _this5.historyRecord); // console.log('historyRecord',this.historyRecord)
// this.inputVal = '' //清空输入框 // this.inputVal = '' //清空输入框
_this5.yyds_pangbai = ''; _this5.yyds_pangbai = '';
...@@ -1246,7 +1267,7 @@ var _default = ...@@ -1246,7 +1267,7 @@ var _default =
'Content-Type': 'application/x-www-form-urlencoded' } }). 'Content-Type': 'application/x-www-form-urlencoded' } }).
then(function (res) { then(function (res) {
console.log('历史聊天记录', res[1]); // console.log('历史聊天记录',res[1])
//需要根据历史纪录最后一条 来处理是否还需要往下面聊 //需要根据历史纪录最后一条 来处理是否还需要往下面聊
if (res[1].data.code === 1) { if (res[1].data.code === 1) {
if (res[1].data.chatRecordInfo) { if (res[1].data.chatRecordInfo) {
...@@ -1262,7 +1283,7 @@ var _default = ...@@ -1262,7 +1283,7 @@ var _default =
var result = _this7.extractText(_this7.header.Message); var result = _this7.extractText(_this7.header.Message);
var len = result.insideQuotesText.length; var len = result.insideQuotesText.length;
console.log('result', result); // console.log('result',result)
if (result.insideQuotesText.length == 0) {//数字人对话框是否需要显示 if (result.insideQuotesText.length == 0) {//数字人对话框是否需要显示
_this7.glod_dp = false; _this7.glod_dp = false;
...@@ -1827,7 +1848,7 @@ var _default = ...@@ -1827,7 +1848,7 @@ var _default =
//假人音线 //假人音线
FetchAbuffer: function FetchAbuffer(OriginObj, voicer, Sarry, CB) {var _this12 = this; FetchAbuffer: function FetchAbuffer(OriginObj, voicer, Sarry, CB) {var _this12 = this;
var Cobj2 = this.computeLen(OriginObj); var Cobj2 = this.computeLen(OriginObj);
console.log('llllllllll', Cobj2); // console.log('llllllllll',Cobj2)
var Asr = Cobj2.Sr; var Asr = Cobj2.Sr;
uni.request({ uni.request({
url: 'https://admin.mindepoch.com:8089/say/api/ra', url: 'https://admin.mindepoch.com:8089/say/api/ra',
...@@ -1844,7 +1865,7 @@ var _default = ...@@ -1844,7 +1865,7 @@ var _default =
// OriginObj = Cobj2 // OriginObj = Cobj2
_this12.Cobj2.content = Cobj2.content; _this12.Cobj2.content = Cobj2.content;
_this12.Cobj2.Sr = Cobj2.Sr; _this12.Cobj2.Sr = Cobj2.Sr;
console.log('OriginObj', OriginObj); // console.log('OriginObj',OriginObj)
if (Cobj2.content != "") { if (Cobj2.content != "") {
setTimeout(function () { setTimeout(function () {
_this12.FetchAbuffer(Cobj2, voicer, Sarry); _this12.FetchAbuffer(Cobj2, voicer, Sarry);
...@@ -1869,7 +1890,7 @@ var _default = ...@@ -1869,7 +1890,7 @@ var _default =
data: this.createSSML(Cobj.Sr, voicer) }). data: this.createSSML(Cobj.Sr, voicer) }).
then(function (arrayBuffer) { then(function (arrayBuffer) {
console.log('[真人buffer[[[['); // console.log('[真人buffer[[[[')
Sarry.push({ A: arrayBuffer[1].data, S: Asr }); Sarry.push({ A: arrayBuffer[1].data, S: Asr });
// OriginObj = Cobj // OriginObj = Cobj
_this13.Cobj.content = Cobj.content; _this13.Cobj.content = Cobj.content;
...@@ -1882,47 +1903,94 @@ var _default = ...@@ -1882,47 +1903,94 @@ var _default =
}); });
}, },
execFile: function execFile(data) {var _this14 = this; execFile: function execFile(data, ISLIU_content) {var _this14 = this;
// let arrObj = data;
// const content = arrObj[0].text;
// //quoted为真 或为假 表示 真假音线
// const voicer = arrObj[0].quoted ?
// this.currentPageData.voiceGroups[1] :
// this.currentPageData.voiceGroups[0]
// const voicer = arrObj[0].quoted ? this.currentPageData.voiceGroups[1] : this.currentPageData.voiceGroups[0];
var arrObj = data; var arrObj = data;
var content = arrObj[0].text; var content = arrObj[0].text;
var voicer = arrObj[0].quoted ? this.currentPageData.voiceGroups[1] : this.currentPageData.voiceGroups[0]; var voicer = arrObj[0].voicer;
console.log('--------------voicer------------------', voicer, '-----------content---------------', content);
if (this.soundVoice[voicer]) {
//假人音线
this.GoSay(content, voicer, function (text, falg) { this.GoSay(content, voicer, function (text, falg) {
if (arrObj[0].quoted) {
if (text !== "" && !falg) { if (text !== "" && !falg) {
_this14.kill = false; _this14.glod_dp = true;
_this14.delayText(text); // this.glod_user = false
_this14.yyds_dp = text;
_this14.yyds_pangbai += " “ " + text + " ” ";
} }
if (falg) { if (falg) {
console.log('GoSay讲话完毕!'); console.log('GoSound讲话完毕!');
_this14.kill = true;
arrObj.shift(); arrObj.shift();
console.log('arrObj', arrObj); console.log('arrObj', arrObj);
if (arrObj.length !== 0) { if (arrObj.length !== 0) {
_this14.execFile(arrObj); _this14.execFile(arrObj);
} }
} }
});
} else { } else {
this.GoSound(content, voicer, function (text, falg) {
if (text !== "" && !falg) { if (text !== "" && !falg) {
_this14.glod_dp = true; _this14.kill = false;
// this.glod_user = false _this14.delayText(text);
_this14.yyds_dp = text;
_this14.yyds_pangbai += " “ " + text + " ” ";
} }
if (falg) { if (falg) {
console.log('GoSound讲话完毕!'); console.log('GoSay讲话完毕!');
_this14.kill = true;
arrObj.shift(); arrObj.shift();
console.log('arrObj', arrObj); console.log('arrObj', arrObj);
if (arrObj.length !== 0) { if (arrObj.length !== 0) {
_this14.execFile(arrObj); _this14.execFile(arrObj);
} }
} }
});
} }
});
// if(this.soundVoice[voicer]){
// //假人音线
// this.GoSay(content,voicer,(text, falg)=>{
// if(text!==""&&!falg){
// this.kill = false
// this.delayText(text)
// }
// if (falg) {
// console.log('GoSay讲话完毕!')
// this.kill = true
// arrObj.shift()
// console.log('arrObj',arrObj)
// if(arrObj.length!==0){
// this.execFile(arrObj)
// }
// }
// })
// }else{
// this.GoSound(content,voicer,(text, falg)=>{
// if(text!==""&&!falg){
// this.glod_dp = true
// // this.glod_user = false
// this.yyds_dp = text
// this.yyds_pangbai += " “ "+text+ " ” "
// }
// if (falg) {
// console.log('GoSound讲话完毕!')
// arrObj.shift()
// console.log('arrObj',arrObj)
// if(arrObj.length!==0){
// this.execFile(arrObj)
// }
// }
// })
// }
},
separateChineseAndNumbers: function separateChineseAndNumbers(str) {
console.log(str);
// 使用正则表达式匹配数字和中文字符
var matches = str.match(/[\u4e00-\u9fa5]+|[0-9]+/g);
return matches || [];
}, },
delayText: function delayText(text) {var _this15 = this; delayText: function delayText(text) {var _this15 = this;
...@@ -2040,7 +2108,7 @@ var _default = ...@@ -2040,7 +2108,7 @@ var _default =
data: Sobj.A, data: Sobj.A,
encoding: 'binary', encoding: 'binary',
success: function success() { success: function success() {
console.log('1144', that.tempFilePath2); // console.log('1144',that.tempFilePath2)
that.tempFilePath = that.tempFilePath2; that.tempFilePath = that.tempFilePath2;
if (CB) CB(Sobj.S); if (CB) CB(Sobj.S);
that.EPlayer = wx.createInnerAudioContext(); that.EPlayer = wx.createInnerAudioContext();
...@@ -2074,6 +2142,11 @@ var _default = ...@@ -2074,6 +2142,11 @@ var _default =
//假人音线 //假人音线
GoSay: function GoSay(content, voicer, CB) {var _this16 = this; GoSay: function GoSay(content, voicer, CB) {var _this16 = this;
if (!this.soundVoice[voicer]) {
//真人音线
this.GoSound(content, voicer, CB);
return;
}
// 要读的文字 声线 回调 // 要读的文字 声线 回调
var that = this; var that = this;
var Sarry = []; var Sarry = [];
...@@ -2118,10 +2191,10 @@ var _default = ...@@ -2118,10 +2191,10 @@ var _default =
FileSystemManager.unlink({ FileSystemManager.unlink({
filePath: that.tempFilePath, filePath: that.tempFilePath,
success: function success(res) { success: function success(res) {
console.log('删除成功', res); // console.log('删除成功',res)
}, },
fail: function fail(err) { fail: function fail(err) {
console.error('删除失败', err); // console.error('删除失败', err);
} }); } });
......
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