GSExamProj/unpackage/dist/build/h5/static/js/pages-moreDetail-moreDetail...

1 line
7.0 KiB
JavaScript
Raw Normal View History

2024-04-30 14:00:37 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-moreDetail-moreDetail"],{"09d5":function(e,t,n){"use strict";n.r(t);var i=n("87e3"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"0ab1":function(e,t,n){var i=n("ec26");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("37740a6c",i,!0,{sourceMap:!1,shadowMode:!1})},"262a":function(e,t,n){"use strict";var i=n("0ab1"),o=n.n(i);o.a},"521d":function(e,t,n){"use strict";n.r(t);var i=n("c797"),o=n("09d5");for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("262a");var c=n("f0c5"),r=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"2225e44c",null,!1,i["a"],void 0);t["default"]=r.exports},"87e3":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("99af");var i=n("a620"),o={data:function(){return{iptVal:"",noticeArr:[]}},methods:{fetchHomeNotice:function(e){var t=this;uni.request({url:i.publicPath+"/backstage/app/getAppNoticeList",method:"POST",header:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{userId:uni.getStorageSync("id"),keyWord:e},success:function(e){200==e.data.code?(t.noticeArr=e.data.data,console.log(t.noticeArr)):uni.showToast({icon:"none",title:"当前暂无公告!"})}})},toggleNotice:function(e,t,n,o,a,c,r,s,l){console.log(t),0==t?uni.request({url:i.publicPath+"/backstage/app/receiveNoticeById",method:"POST",header:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{userId:uni.getStorageSync("id"),id:e},success:function(i){console.log(i),200==i.data.code&&uni.navigateTo({url:"/pages/noticePage/noticePage?id=".concat(e,"&ifReceive=").concat(t,"&ifSign=").concat(n,"&theme=").concat(o,"&cont=").concat(a,"&sTime=").concat(c,"&eTime=").concat(r,"&type=").concat(s,"&workTime=").concat(l)})}}):uni.navigateTo({url:"/pages/noticePage/noticePage?id=".concat(e,"&ifReceive=").concat(t,"&ifSign=").concat(n,"&theme=").concat(o,"&cont=").concat(a,"&sTime=").concat(c,"&eTime=").concat(r,"&type=").concat(s,"&workTime=").concat(l)})},iconClick:function(){console.log(this.iptVal),this.fetchHomeNotice(this.iptVal)}},onShow:function(){this.fetchHomeNotice("")}};t.default=o},a620:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.publicPath=void 0;t.publicPath="http://192.168.0.14:1996/GsExamWeb"},c797:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={uniEasyinput:n("786d").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"hole-page"},[n("v-uni-view",{staticClass:"nav-bar"}),n("v-uni-view",{staticClass:"ipt"},[n("uni-easyinput",{attrs:{suffixIcon:"search",placeholder:"请输入关键字"},on:{iconClick:function(t){arguments[0]=t=e.$handleEvent(t),e.iconClick.apply(void 0,arguments)}},model:{value:e.iptVal,callback:function(t){e.iptVal=t},expression:"iptVal"}})],1),n("v-uni-view",{staticClass:"lower-cont"},e._l(e.noticeArr,(function(t,i){return n("v-uni-view",{key:i,staticClass:"single-notice",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.toggleNotice(t.id,t.ifReceive,t.ifSign,t.noticeTheme,t.noticeContent,t.startTime,t.endTime,t.noticeType,t.workTime)}}},[n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==t.noticeType,expression:"notice.noticeType == 1"}],staticClass:"single-exam"},[n("v-uni-view",{staticClass:"rig"},[n("v-uni-view",{staticStyle:{"font-size":"16px","font-weight":"bold"}},[e._v(e._s(t.noticeTheme))]),n("v-uni-view",{staticStyle:{color:"#868686"}},[e._v(e._s(t.startTime+" ~ "+t.endTime))])],1)],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:2==t.noticeType,expression:"notice.noticeType == 2"}],staticClass:"single-edu"},[n("v-uni-view",{staticClass:"rig"},[n("v-uni-view",{staticStyle:{"font-size":"16px","font-weight":"bold"}},[e._v(e._s(t.notic