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
15 KiB
1 lines
15 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/BusinessStyle/BusinessStyle.vue?f9f4","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/BusinessStyle/BusinessStyle.vue?e9fb","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/BusinessStyle/BusinessStyle.vue?2165","uni-app:///pages/BusinessStyle/BusinessStyle.vue","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/BusinessStyle/BusinessStyle.vue?65cc"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uNavbar","uList","uListItem","uLine","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","m0","_self","_c","getTitle","l0","__map","getItemsToShow","item","index","$orig","__get_orig","m1","onChangeTime","inserttime","_isMounted","e0","$event","_temp","arguments","length","currentTarget","dataset","_temp2","eventParams","onTouchOneItem","$mp","data","Object","assign","$root","staticRenderFns","_withStripped"],"mappings":"+IAAA,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,wCACZ,aAAAF,E,0CCvBf,qBAAwtC,EAAG,G,gCCA3tC,6GAAyoB,eAAG,G,+GC0C5oB,WACA,U,mDAHA,uCACA,6B,EAGA,CACA,OADA,SACA,gBACA,sDACA,+BACA,6BACA,gBACA,0BACA,8BAEA,IAGA,mBAGA,aACA,cACA,cAEA,kBACA,gBACA,wBACA,MAKA,IAFA,SACA,aACA,oBACA,WACA,gBACA,eACA,UAEA,UAEA,YACA,eACA,8BAEA,YACA,qCAIA,KA5CA,WA6CA,OACA,QACA,iBAGA,SACA,SADA,WAEA,qBACA,OAEA,QAEA,cAPA,WAQA,oBAIA,eAZA,WAaA,qBACA,6BAEA,2BAEA,eAlBA,SAkBA,GACA,4BACA,OACA,IACA,sCACA,cACA,mCAKA,aA7BA,SA6BA,GACA,oC,+FC5HA,IAAIG,E,sGACJ,IACEA,EAAa,CACXC,QAAS,WACP,OAAO,qHAITC,MAAO,WACL,OAAO,iHAITC,UAAW,WACT,OAAO,2HAITC,MAAO,WACL,OAAO,kHAKX,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,YAETC,EAAKR,EAAIS,MAAMT,EAAIU,kBAAkB,SAASC,EAAMC,GACtD,IAAIC,EAAQb,EAAIc,WAAWH,GAEvBI,EAAKf,EAAIgB,aAAaL,EAAKM,YAC/B,MAAO,CACLJ,MAAOA,EACPE,GAAIA,MAIHf,EAAIkB,aACPlB,EAAImB,GAAK,SAASC,EAAQR,GACxB,IAAIS,EAAQC,UAAUA,UAAUC,OAAS,GAAGC,cAAcC,QACxDC,EAASL,EAAMM,aAAeN,EAAM,gBACpCT,EAAQc,EAAOd,MAIjB,OAAOZ,EAAI4B,eAAehB,KAI9BZ,EAAI6B,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACL7B,GAAIA,EACJI,GAAIA,MAMR0B,EAAkB,GACtBnC,EAAOoC,eAAgB,I","file":"pages/BusinessStyle/BusinessStyle.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/BusinessStyle/BusinessStyle.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./BusinessStyle.vue?vue&type=template&id=db6eb32c&scoped=true&\"\nvar renderjs\nimport script from \"./BusinessStyle.vue?vue&type=script&lang=js&\"\nexport * from \"./BusinessStyle.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BusinessStyle.vue?vue&type=style&index=0&id=db6eb32c&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 \"db6eb32c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/BusinessStyle/BusinessStyle.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!./BusinessStyle.vue?vue&type=style&index=0&id=db6eb32c&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!./BusinessStyle.vue?vue&type=style&index=0&id=db6eb32c&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!./BusinessStyle.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!./BusinessStyle.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\t:title=\"getTitle()\"\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 style=\"\r\n\t\t\tposition: relative;\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 1360rpx;\r\n\t\t\tleft: 24rpx;\r\n\t\t\ttop: 24rpx;\r\n\t\t\tborder-radius: 20rpx;\r\n\t\t\">\r\n\t\t\t<u-list\r\n\t\t\t\tpreLoadScreen=0\r\n\t\t\t\theight=\"1360rpx\"\r\n\t\t\t>\r\n\t\t\t\t<u-list-item\r\n\t\t\t\t\tv-for=\"(item,index) in getItemsToShow()\" :key=\"index\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<view class=\"rowItem\" @click=\"onTouchOneItem(index)\" :key=\"index\">\r\n\t\t\t\t\t\t<text class=\"itemTitle\">{{item.title}}</text>\r\n\t\t\t\t\t\t<text class=\"intro\">{{item.titledesc}}</text>\r\n\t\t\t\t\t\t<text class=\"time\">{{onChangeTime(item.inserttime)}}</text>\r\n\t\t\t\t\t\t<image :src=\"item.picurl\" class=\"itemImage\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<u-line color=\"#E2E2E2\" length=\"662rpx\" customStyle=\"position: absolute;left: 20rpx;border: 1px solid #E2E2E2;\" :hairline=\"true\" margin=\"156rpx 0 0 0\"></u-line>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-list-item>\r\n\t\t\t</u-list>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\r\n\tvar mainPageData\t= getApp().globalData.mainPageData;\r\n\tvar Define\t\t\t= getApp().globalData.Define;\r\n\timport { post } from \"@/common/api.js\"\r\n\timport SkipData from \"@/common/SkipData.js\"\n\texport default {\r\n\t\tonLoad(args) {\r\n\t\t\tthis.index \t= Number(args.index) ?? 0;\r\n\t\t\tvar isGetted\t= mainPageData.isMoreBusinessStyleGot;\r\n\t\t\tvar url\t\t\t= \"pages/newsmorebrandstyle\";\r\n\t\t\tif(this.index == 1){\r\n\t\t\t\turl\t\t\t= \"pages/newsmorebusdyna\";\r\n\t\t\t\tisGetted\t= mainPageData.isMoreBusinessDynamicGot;\r\n\t\t\t}\r\n\t\t\tif(isGetted){\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tuni.showLoading({\r\n\t\t\t\t\r\n\t\t\t})\r\n\t\t\tpost(url,{\r\n\t\t\t\tpagecount : 100,\r\n\t\t\t\tpageindex : 1,\r\n\t\t\t\t\r\n\t\t\t}).then(res=>{\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tvar infos\t= Define.onNetMessage(res);\r\n\t\t\t\tif(!infos){\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tvar objs\t\t= [];\r\n\t\t\t\tvar morenews \t= infos.morenews;\r\n\t\t\t\tfor(var i = 0;i<morenews.length;i++){\r\n\t\t\t\t\tvar da \t= morenews[i];\r\n\t\t\t\t\tvar sk\t= new SkipData();\r\n\t\t\t\t\tfor(var key in da){\r\n\t\t\t\t\t\tsk[key] = da[key];\r\n\t\t\t\t\t}\r\n\t\t\t\t\tobjs.push(sk);\r\n\t\t\t\t}\r\n\t\t\t\tif(this.index == 0){\r\n\t\t\t\t\tmainPageData.brandstyle = objs;\r\n\t\t\t\t\tmainPageData.isMoreBusinessStyleGot = true;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tmainPageData.busdyna\t= objs;\r\n\t\t\t\t\tmainPageData.isMoreBusinessDynamicGot\t= true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tindex : 0,\r\n\t\t\t\tmainPageData,\n\t\t\t};\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tgetTitle(){\r\n\t\t\t\tif(this.index == 0){\r\n\t\t\t\t\treturn '品牌风采';\r\n\t\t\t\t}\r\n\t\t\t\treturn '业务动态';\r\n\t\t\t},\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\tgetItemsToShow(){\r\n\t\t\t\tif(this.index == 0){\r\n\t\t\t\t\treturn this.mainPageData.brandstyle;\r\n\t\t\t\t}\r\n\t\t\t\treturn this.mainPageData.busdyna;\r\n\t\t\t},\r\n\t\t\tonTouchOneItem(index){\r\n\t\t\t\tvar datas \t= this.getItemsToShow();\r\n\t\t\t\tvar item\t= datas[index];\r\n\t\t\t\tif(item){\r\n\t\t\t\t\tgetApp().globalData.showingSkipData = item;\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pages/SkipView/SkipView'\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\tonChangeTime(tm){\r\n\t\t\t\treturn this.$utils.formatTime(tm);\r\n\t\t\t},\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t.rowItem{\r\n\t\twidth: 702rpx;\r\n\t\theight: 157rpx;\r\n\t\tposition: relative;\r\n\t\t//background-color: #8799A3;\r\n\t\tborder-radius: 20rpx;\r\n\t}\r\n\t.itemTitle{\r\n\t\twidth: 471rpx;\r\n\t\t//height: 37rpx;\r\n\t\tfont-size: 26rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #333333;\r\n\t\topacity: 1;\r\n\t\tposition: absolute;\r\n\t\tleft: 20rpx;\r\n\t\ttop: 24rpx;\r\n\t\ttext-overflow: ellipsis;\r\n\t\twhite-space: nowrap;\r\n\t\toverflow: hidden;\r\n\t}\r\n\t\r\n\t///每一个简介text的style\r\n\t.intro{\r\n\t\twidth: 471rpx;\r\n\t\t//height: 33rpx;\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #333333;\r\n\t\topacity: 1;\r\n\t\tposition: absolute;\r\n\t\tleft: 20rpx;\r\n\t\t//top: 69rpx;\r\n\t\tbottom: 55rpx;\r\n\t\ttext-overflow: ellipsis;\r\n\t\twhite-space: nowrap;\r\n\t\toverflow: hidden;\r\n\t}\r\n\t\r\n\t///每一个简介text的style\r\n\t.time{\r\n\t\twidth: 212rpx;\r\n\t\t//height: 33rpx;\r\n\t\tfont-size: 20rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t\topacity: 1;\r\n\t\tposition: absolute;\r\n\t\tleft: 20rpx;\r\n\t\t//top: 69rpx;\r\n\t\tbottom: 12rpx;\r\n\t\ttext-overflow: ellipsis;\r\n\t\twhite-space: nowrap;\r\n\t\toverflow: hidden;\r\n\t}\r\n\t///每个item的image的style\r\n\t.itemImage{\r\n\t\twidth: 192rpx;\r\n\t\theight: 109rpx;\r\n\t\tposition: absolute;\r\n\t\ttop: 30rpx;\r\n\t\tright: 20rpx;\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 uList: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-list/u-list\" */ \"@/uni_modules/uview-ui/components/u-list/u-list.vue\"\n )\n },\n uListItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-list-item/u-list-item\" */ \"@/uni_modules/uview-ui/components/u-list-item/u-list-item.vue\"\n )\n },\n uLine: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-line/u-line\" */ \"@/uni_modules/uview-ui/components/u-line/u-line.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.getTitle()\n\n var l0 = _vm.__map(_vm.getItemsToShow(), function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m1 = _vm.onChangeTime(item.inserttime)\n return {\n $orig: $orig,\n m1: m1\n }\n })\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event, index) {\n var _temp = arguments[arguments.length - 1].currentTarget.dataset,\n _temp2 = _temp.eventParams || _temp[\"event-params\"],\n index = _temp2.index\n\n var _temp, _temp2\n\n return _vm.onTouchOneItem(index)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n l0: l0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"],"sourceRoot":""}
|