You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
11 KiB
1 lines
11 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/SkipView/SkipView.vue?eaa3","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/SkipView/SkipView.vue?2a59","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/SkipView/SkipView.vue?b208","uni-app:///pages/SkipView/SkipView.vue","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/SkipView/SkipView.vue?ac9a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uNavbar","uParse","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","m0","_self","_c","isContainVideo","m1","g0","$utils","formatTime","pageData","inserttime","m2","getShowingContent","$mp","data","Object","assign","$root","staticRenderFns","_withStripped"],"mappings":"qIAAA,KACA,YACA,Y,mDAFmBA,GAAGC,kCAAoCC,EAG1DC,EAAWC,a,gECHX,uHACIC,EADJ,OASIC,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MACA,EACA,OACAD,GAGFC,EAAUC,QAAQC,OAAS,8BACZ,aAAAF,E,0CCvBf,qBAAmtC,EAAG,G,gCCAttC,6GAAooB,eAAG,G,qHC6BvoB,CAEA,KAFA,WAGA,OACA,6CACA,OACA,sCAIA,UAVA,WAWA,0CAEA,SACA,cADA,WAEA,oBAOA,eATA,WAUA,kCACA,eACA,aAGA,eAfA,WAgBA,kCAEA,eAEA,aAEA,kBAtBA,WAuBA,gC,+FCjEA,IAAIG,E,sGACJ,IACEA,EAAa,CACXC,QAAS,WACP,OAAO,qHAITC,OAAQ,WACN,OAAO,oHAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eAETC,GADKJ,EAAIK,MAAMC,GACVN,EAAIO,kBACTC,EAAKJ,EAAKJ,EAAIO,iBAAmB,KACjCE,EAAKR,KAAKS,OAAOC,WAAWX,EAAIY,SAASC,YACzCC,EAAKd,EAAIe,oBACbf,EAAIgB,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACLhB,GAAIA,EACJI,GAAIA,EACJC,GAAIA,EACJK,GAAIA,MAMRO,EAAkB,GACtBtB,EAAOuB,eAAgB,I","file":"pages/SkipView/SkipView.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/SkipView/SkipView.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./SkipView.vue?vue&type=template&id=a3f351f4&scoped=true&\"\nvar renderjs\nimport script from \"./SkipView.vue?vue&type=script&lang=js&\"\nexport * from \"./SkipView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SkipView.vue?vue&type=style&index=0&id=a3f351f4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a3f351f4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/SkipView/SkipView.vue\"\nexport default component.exports","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!./SkipView.vue?vue&type=style&index=0&id=a3f351f4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@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!./SkipView.vue?vue&type=style&index=0&id=a3f351f4&lang=scss&scoped=true&\"","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!./SkipView.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!./SkipView.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"main\">\n\t\t<view class=\"back\" />\r\n\t\t<u-navbar\r\n\t\t\ttitle=\"详情\"\r\n\t\t\t:safeAreaInsetTop=\"true\"\r\n\t\t\t:fixed=\"true\"\r\n\t\t\tbgColor=\"#FFFFFF\"\r\n\t\t\t:placeholder=\"true\"\r\n\t\t\t@leftClick=\"onBackTouched\"\r\n\t\t/>\r\n\t\t<view class=\"body\">\r\n\t\t\t<view class=\"image_out_box\" v-if=\"isContainVideo()\"><!--isContainImage() || -->\r\n\t\t\t\t<video v-if=\"isContainVideo()\" :src=\"pageData.skipurl\" object-fit=\"fill\"/>\r\n\t\t\t\t<!--<image v-else-if=\"isContainImage()\" :src=\"pageData.picurl\" mode=\"widthFix\"/>-->\r\n\t\t\t</view>\t\r\n\t\t\t<text class=\"title\">{{pageData.title}}</text>\r\n\t\t\t<text class=\"time\">{{this.$utils.formatTime(pageData.inserttime)}}</text>\r\n\t\t\t<view style=\"height: 50rpx;\" />\r\n\t\t\t<u-parse :content=\"getShowingContent()\" :tagStyle=\"style\"/>\r\n\t\t\t<view style=\"height: 50rpx;\" />\r\n\t\t</view>\r\n\t\t\n\t</view>\r\n\t\n</template>\n\n<script>\r\n\t///在进入这个页面之前,必须要设置需要显示的内容,否则可能会出现错误\n\texport default {\r\n\t\t\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tpageData : getApp().globalData.showingSkipData,\r\n\t\t\t\tstyle : {\r\n\t\t\t\t\tp : 'text-indent:50rpx;margin:5rpx;',\r\n\t\t\t\t},\n\t\t\t};\n\t\t},\r\n\t\tdestroyed() {\r\n\t\t\tgetApp().globalData.showingSkipData = null;\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tonBackTouched(){\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 是否需要显示图片\r\n\t\t\t */\r\n\t\t\tisContainImage(){\r\n\t\t\t\tvar types\t= this.pageData.getShowType();\r\n\t\t\t\tvar index \t= types.indexOf(0x01);\r\n\t\t\t\treturn index != -1;\r\n\t\t\t},\r\n\t\t\t///是否包含视频\r\n\t\t\tisContainVideo(){\r\n\t\t\t\tvar types\t= this.pageData.getShowType();\r\n\t\t\t\t//console.log(types);\r\n\t\t\t\tvar index \t= types.indexOf(0x04);\r\n\t\t\t\t//console.log(\"是否含有视频:\",index);\r\n\t\t\t\treturn index != -1;\r\n\t\t\t},\r\n\t\t\tgetShowingContent(){\r\n\t\t\t\treturn this.pageData.textmsg;\r\n\t\t\t}\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t.p{\r\n\t\ttext-indent: 25rpx;\r\n\t}\r\n\t.body{\r\n\t\twidth: 686rpx;\r\n\t\theight: auto;\r\n\t\tborder-radius: 20rpx;\r\n\t\t//background-color: #FFFFFF;\r\n\t\tposition: relative;\r\n\t\tleft: 24rpx;\r\n\t\ttop: 10rpx;\r\n\t}\n\t.title{\r\n\t\tposition: absolute;\r\n\t\twidth: 686rpx;\r\n\t\theight: 120rpx;\r\n\t\tfont-size: 34rpx;\r\n\t\tfont-weight: bold;\r\n\t\tline-height: 60rpx;\r\n\t\tcolor: #333333;\r\n\t\t//letter-spacing: 40rpx;\r\n\t\topacity: 1;\r\n\t\tposition: relative;\r\n\t\ttop: 10rpx;\r\n\t\t//text-align: center;\r\n\t\t\r\n\t}\r\n\t.image_out_box{\r\n\t\twidth: 686rpx;\r\n\t\theight: 520rpx;\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\t//background-color: #1CBBB4;\r\n\t\tborder-radius: 20rpx;\r\n\t}\r\n\t.image{\r\n\t\twidth: 686rpx;\r\n\t\theight: 393rpx;\r\n\t}\r\n\t.time{\r\n\t\theight: 33rpx;\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-family: PingFang SC;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t\topacity: 1;\r\n\t\tposition: relative;\r\n\t\ttop: 10rpx;\r\n\t\ttext-align: right;\r\n\t\tright: 10rpx;\r\n\t\tline-height: 33rpx;\r\n\t}\n</style>\n","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-navbar/u-navbar\" */ \"@/uni_modules/uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uParse: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-parse/u-parse\" */ \"@/uni_modules/uview-ui/components/u-parse/u-parse.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 m0 = _vm.isContainVideo()\n var m1 = m0 ? _vm.isContainVideo() : null\n var g0 = this.$utils.formatTime(_vm.pageData.inserttime)\n var m2 = _vm.getShowingContent()\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n g0: g0,\n m2: m2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"],"sourceRoot":""}
|