1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-message-detail"],{1640:function(t,n,e){"use strict";e.r(n);var i=e("c09f"),o=e("e18e");for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);e("8d91");var a,u=e("f0c5"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"a0930574",null,!1,i["a"],a);n["default"]=c.exports},"1fb5":function(t,n,e){"use strict";var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.authSearch=r,n.authBook=a,n.GetNoticeList=u,n.GetNotice=c;var o=i(e("5721"));function r(t){return(0,o.default)("/user/auth_sel",t,"GET")}function a(t){return(0,o.default)("/user/auth_show",t,"GET")}function u(t){return(0,o.default)("/notice/GetNoticeList",t,"GET")}function c(t){return(0,o.default)("/notice/GetNotice",t,"GET")}},5721:function(t,n,e){"use strict";e("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i="https://api.app.jiuweiyun.cn/api",o=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST";return t=i+t,uni.showLoading({title:"加载中"}),new Promise((function(i,o){uni.request({url:t,method:e,data:n,success:function(t){uni.hideLoading();var n=t.data,e=n.code,r=n.msg;200===e?i(n):(uni.showToast({title:r,icon:"none",duration:3500}),o(n))},fail:function(t){console.log(t),uni.hideLoading(),uni.showToast({title:"网络加载失败",icon:"none",duration:3500}),o(t)}})}))},r=o;n.default=r},8516:function(t,n,e){var i=e("89f7");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=e("4f06").default;o("dab2ca44",i,!0,{sourceMap:!1,shadowMode:!1})},"89f7":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.title[data-v-a0930574]{font-size:%?36?%;font-weight:700;text-align:center}.time[data-v-a0930574]{text-align:center;font-size:%?28?%;color:#999;margin:%?20?% 0}',""]),t.exports=n},"8d91":function(t,n,e){"use strict";var i=e("8516"),o=e.n(i);o.a},c09f:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticStyle:{padding:"24rpx","background-color":"#fff"}},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(t.info.title))]),e("v-uni-view",{staticClass:"time"},[t._v(t._s(t.info.time&&t.info.time.slice(0,10)))]),e("v-uni-view",{domProps:{innerHTML:t._s(t.info.notice)}})],1)},r=[]},e12c:function(t,n,e){"use strict";e("ac1f"),e("5319"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("1fb5"),o={data:function(){return{info:{}}},onLoad:function(t){t.id&&this.getDetail(t.id)},methods:{getDetail:function(t){var n=this;(0,i.GetNotice)({id:t}).then((function(t){200===t.code?(n.info=t.data,n.info.notice=t.data.notice.replace(/\<img/gi,'<img style="max-width:100%;height:auto" ')):uni.showToast({title:t.message||"获取失败"})}))}}};n.default=o},e18e:function(t,n,e){"use strict";e.r(n);var i=e("e12c"),o=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(n,t,(function(){return i[t]}))}(r);n["default"]=o.a}}]);
|