提交 556d50c7 编写于 作者: 刘英杰's avatar 刘英杰

20241022 保存

上级 20ce5cc5
#__vconsole{display:none}body,html{margin:0 auto;max-width:600px}#app,body,html{height:100%;background-color:#f2f3f5}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}#app .van-cell{font-size:16px}#app .header{display:flex;justify-content:space-between}#app .header .nav-btn{background:#fff;border-radius:12px;padding:16px 20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:1px solid #dedede}#app .header .header-info,#app .header .nav-btn{display:flex;align-items:center}#app .header .header-info h3,#app .header .header-info h4{margin:0}#app .header .header-info p{margin:0;font-size:14px;line-height:20px;text-align:right;min-height:20px}#app .header .header-info .avatar{margin-left:16px;width:48px;height:48px}#app .van-skeleton{margin-top:60px}#app .van-skeleton .van-skeleton__row,#app .van-skeleton .van-skeleton__title{height:32px;background-color:#ddd}#app .van-tag{padding-top:2px;padding-bottom:1px;font-size:16px}#app .van-search{box-shadow:0 7px 7px -7px rgba(0,0,0,.1)}.fade-enter-active,.fade-leave-active{transition:opacity .2s ease}.fade-enter,.fade-leave-to{opacity:0}
\ No newline at end of file
.cardList[data-v-e7a3f75e]{padding:15px 15px 15px 15px}.list[data-v-e7a3f75e]{border-radius:8px;overflow:hidden;margin-bottom:15px;box-shadow:0 0 8px rgba(0,0,0,.1)}.list .van-cell-group[data-v-e7a3f75e]{overflow:auto}.list .cellStyle_up[data-v-e7a3f75e]{font-size:15px}.list .cellStyle_up .van-cell__title[data-v-e7a3f75e]{color:#787879}.list .cellStyle_middle[data-v-e7a3f75e]{padding:4px 16px 4px;font-size:15px}.list .cellStyle_middle .van-cell__title[data-v-e7a3f75e]{color:#787879}.list .cellStyle_middle .reason[data-v-e7a3f75e]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.list .cellStyle_down[data-v-e7a3f75e]{padding:1px 16px 10px;font-size:15px}.list .cellStyle_down .van-cell__title[data-v-e7a3f75e]{color:#787879}.list .van-cell__value[data-v-e7a3f75e]{font-size:16px;color:#525252}.btn[data-v-e7a3f75e]{color:#01adff;border:1px solid #01adff;border-radius:20px;font-weight:600;font-size:15px}.geese-card-tips[data-v-e7a3f75e]{position:absolute;right:-50px;top:-3px;width:100px;height:28px;background:#4483eb;color:#fff;text-align:center;line-height:30px;font-size:12px;transform:rotate(40deg);-ms-transform:rotate(40deg);-moz-transform:rotate(40deg);-webkit-transform:rotate(40deg);-o-transform:rotate(40deg)}[data-v-e7a3f75e] .van-field__control{font-size:14px}
\ No newline at end of file
[data-v-1656d206] .list-item{margin-bottom:16px;border-radius:12px;overflow:hidden}.list[data-v-1656d206] .van-cell{line-height:48px;display:flex;align-items:center}.list[data-v-1656d206] .van-cell .image{width:28px;height:28px}.list[data-v-1656d206] .van-cell .van-cell__title{display:flex;align-items:center}.list[data-v-1656d206] .van-cell .van-cell__title .custom-title{font-size:16px;padding-left:10px;width:100px}.list[data-v-1656d206] .van-cell .van-cell__value{font-size:16px}.list[data-v-1656d206] .van-cell:after{content:none}.home[data-v-4e86ac1f]{min-height:calc(100% - 30px);position:relative;padding:12px}.home .main[data-v-4e86ac1f]{padding:12px 0}.home .main .nav[data-v-4e86ac1f]{width:100%;padding-bottom:16px}.home .main .nav .image[data-v-4e86ac1f]{width:100%;height:100%;border-radius:12px;overflow:hidden}.footer{display:flex;justify-content:center;color:#ccc}
\ No newline at end of file
.cardList[data-v-31893206]{padding:15px 0 0}.cardList[data-v-31893206] .van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:10px 16px 10px 0;overflow:hidden;color:#323233;font-size:14px!important;min-height:59px;background-color:#fff;align-items:center}.cardList .van-cell__value[data-v-31893206],.cardList[data-v-31893206] .van-cell__title{flex:1;width:20%;box-sizing:border-box}.list[data-v-31893206]{border-radius:8px;overflow:hidden;margin-bottom:15px;box-shadow:0 0 8px rgba(0,0,0,.1)}.list .van-cell-group[data-v-31893206]{overflow:auto}.list .cellStyle_up[data-v-31893206]{font-size:15px}.list .cellStyle_up .van-cell__title[data-v-31893206]{color:#787879}.list .cellStyle_middle[data-v-31893206]{padding:4px 16px 4px;font-size:15px}.list .cellStyle_middle .van-cell__title[data-v-31893206]{color:#787879}.list .cellStyle_middle .reason[data-v-31893206]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.list .cellStyle_down[data-v-31893206]{padding:1px 16px 10px;font-size:15px}.list .cellStyle_down .van-cell__title[data-v-31893206]{color:#787879}.list .van-cell__value[data-v-31893206]{font-size:16px;color:#525252}.btn[data-v-31893206]{color:#01adff;border:1px solid #01adff;border-radius:20px;font-weight:600;font-size:15px}.geese-card-tips[data-v-31893206]{position:absolute;right:-50px;top:-3px;width:100px;height:28px;background:#4483eb;color:#fff;text-align:center;line-height:30px;font-size:12px;transform:rotate(40deg);-ms-transform:rotate(40deg);-moz-transform:rotate(40deg);-webkit-transform:rotate(40deg);-o-transform:rotate(40deg)}[data-v-31893206] .van-field__control{font-size:14px}.selectItem[data-v-31893206] .van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:10px 16px;overflow:hidden;color:#323233;font-size:14px;line-height:36px;background-color:#fff}.selectItem[data-v-31893206] .van-dropdown-menu__title--active{color:#2aa9ff}.beyondHiding[data-v-31893206]{font-family:黑体;font-size:16px;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;
/*! autoprefixer: off */-webkit-box-orient:vertical;-webkit-line-clamp:2}
\ No newline at end of file
.file-preview[data-v-4a51a842]{height:100%}.titleFontFamily{font-family:黑体}.cardList{box-sizing:border-box;width:100vw;height:calc(100vh - 46px);overflow:auto;.cardListItem:first-child{width:100%;min-height:120px;background:#fff;padding:15px;display:flex;flex-wrap:wrap;p{margin:0;font-family:黑体}}.cardListItem:nth-child(2){width:100%;height:13px;background:#f6f7f9}.cardListItem:nth-child(3){width:100%;min-height:300px;background:#fff;padding:15px;box-sizing:border-box;p{text-align:justify}}.cardListItem:nth-child(4){width:100%;height:43px;background:#f6f7f9;display:flex;align-items:center;padding:15px;color:#8997a4}.cardListItem:nth-child(5){width:100%;background:#fff}}.list[data-v-200870f2]{border-radius:8px;overflow:hidden;margin-bottom:15px;box-shadow:0 0 8px rgba(0,0,0,.1)}.list .van-cell-group[data-v-200870f2]{overflow:auto}.list .cellStyle_up[data-v-200870f2]{font-size:15px}.list .cellStyle_up .van-cell__title[data-v-200870f2]{color:#787879}.list .cellStyle_middle[data-v-200870f2]{padding:4px 16px 4px;font-size:15px}.list .cellStyle_middle .van-cell__title[data-v-200870f2]{color:#787879}.list .cellStyle_middle .reason[data-v-200870f2]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.list .cellStyle_down[data-v-200870f2]{padding:1px 16px 10px;font-size:15px}.list .cellStyle_down .van-cell__title[data-v-200870f2]{color:#787879}.list .van-cell__value[data-v-200870f2]{font-size:16px;color:#525252}.btn[data-v-200870f2]{color:#01adff;border:1px solid #01adff;border-radius:20px;font-weight:600;font-size:15px}.geese-card-tips[data-v-200870f2]{position:absolute;right:-50px;top:-3px;width:100px;height:28px;background:#4483eb;color:#fff;text-align:center;line-height:30px;font-size:12px;transform:rotate(40deg);-ms-transform:rotate(40deg);-moz-transform:rotate(40deg);-webkit-transform:rotate(40deg);-o-transform:rotate(40deg)}[data-v-200870f2] .van-field__control{font-size:14px}[data-v-200870f2] .van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:10px 0 10px 16px;overflow:hidden;color:#323233;font-size:14px!important;min-height:49px;background-color:#fff}.van-cell__value[data-v-200870f2],[data-v-200870f2] .van-cell__title{flex:1;line-height:1}
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
.bottom[data-v-c62dca80]{position:fixed;bottom:0;height:70px;width:100%;background:#fff;left:0;z-index:11;box-shadow:0 0 14px #dedede}.bottom .count[data-v-c62dca80]{margin-left:18px;color:#000}.bottom .count .Font[data-v-c62dca80]{color:#6a6a6a}.bottom .van-row[data-v-c62dca80]{display:flex;justify-content:center;align-items:center;width:100%;text-align:center;height:100%}.bottom .van-row .checkedstyle[data-v-c62dca80]{color:#238efa}.bottom .van-row .icon[data-v-c62dca80]{margin-right:5px}.text,.toolbar{border:1px solid #ccc}.text{height:400px}.content-s[data-v-497181b0]{display:flex}.content-right[data-v-497181b0]{flex:1 1 auto;overflow:auto}.van-sidebar[data-v-497181b0]{width:95px}.van-sidebar-item[data-v-497181b0]{font-size:16px}.van-sidebar-item--select[data-v-497181b0]:before{background:#1989fa}.bottom[data-v-497181b0]{position:fixed;bottom:0;height:70px;width:100%;background:#fff;left:0;z-index:11;box-shadow:0 0 14px #dedede}.bottom .count[data-v-497181b0]{margin-left:18px;color:#000}.bottom .count .Font[data-v-497181b0]{color:#1989fa;font-size:16px}.bottom .van-row[data-v-497181b0]{display:flex;align-items:center;width:100%;height:100%}.bottom .van-row .checkedstyle[data-v-497181b0]{color:#238efa}.bottom .van-row .icon[data-v-497181b0]{margin-right:5px}.centre[data-v-215ed2ee]{margin-bottom:70px}.space[data-v-215ed2ee]{margin:0 2px}.radio-style[data-v-215ed2ee]{margin-top:5px;margin-bottom:15px}.centre[data-v-215ed2ee]{margin-top:10px}.bottom-btn[data-v-215ed2ee]{border-top:1px solid #dedede;z-index:10;position:fixed;bottom:0;height:70px;width:100%;background:#fff;left:0}.bottom-btn .van-row[data-v-215ed2ee]{display:flex;justify-content:center;align-items:center;width:100%;text-align:center;height:100%}[data-v-215ed2ee] .ant-upload-select-text{width:100%}
\ No newline at end of file
此差异已折叠。
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><style>.cls-1{fill:#67c23a;}.cls-2{font-size:55px;fill:#fff;font-family:SimHei;letter-spacing:-0.05em;}</style></defs><path class="cls-1" d="M123.87,0H0L200,200V76.13Z"/><text class="cls-2" transform="translate(58.39 29.48) rotate(45)">已发布</text></svg>
\ No newline at end of file
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><style>.cls-1{fill:#67c23a;}.cls-2{fill:#1890ff;}.cls-3{font-size:55px;fill:#fff;font-family:SimHei;letter-spacing:-0.05em;}</style></defs><path class="cls-1" d="M123.87,0H0L200,200V76.13Z"/><path class="cls-2" d="M123.87,0H0L200,200V76.13Z"/><text class="cls-3" transform="translate(58.39 29.48) rotate(45)">待发布</text></svg>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0e1c946f"],{"159b":function(t,e,n){var i=n("da84"),o=n("fdbc"),s=n("17c2"),a=n("9112");for(var r in o){var c=i[r],l=c&&c.prototype;if(l&&l.forEach!==s)try{a(l,"forEach",s)}catch(u){l.forEach=s}}},"17c2":function(t,e,n){"use strict";var i=n("b727").forEach,o=n("a640"),s=o("forEach");t.exports=s?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},"2aab":function(t,e,n){t.exports=n.p+"static/img/已发布.e263f76a.svg"},"2e8c9":function(t,e,n){"use strict";n("5131")},"326e":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return s})),n.d(e,"i",(function(){return a})),n.d(e,"e",(function(){return r})),n.d(e,"h",(function(){return c})),n.d(e,"j",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"g",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"f",(function(){return h}));var i=n("1f75");function o(t){return Object(i["a"])({url:"/wx_news/api/News/FirstColumn",method:"get",params:t})}function s(t){return Object(i["a"])({url:"/wx_news/api/News/DeptList",method:"get",params:t})}function a(t){return Object(i["a"])({url:"/wx_news/api/News/TeacherList",method:"get",params:t})}function r(t){return Object(i["a"])({url:"/wx_news/api/News/GroupList",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/wx_news/api/Message/SendWxMessage",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/wx_news/api/News/addNews",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/wx_news/api/News/EditNews",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/wx_news/api/News/MyNewsList",method:"get",params:t})}function f(t){return Object(i["a"])({url:"/wx_news/api/News/GetNewsInfo",method:"get",params:t})}function h(t){return Object(i["a"])({url:"/wx_news/api/News/IssueNews",method:"post",data:t})}},"4de4":function(t,e,n){"use strict";var i=n("23e7"),o=n("b727").filter,s=n("1dde"),a=s("filter");i({target:"Array",proto:!0,forced:!a},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5131:function(t,e,n){},"725b":function(t,e,n){t.exports=n.p+"static/img/待发布.04e4c148.svg"},a640:function(t,e,n){"use strict";var i=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},f736:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("van-sticky",[i("van-nav-bar",{attrs:{title:"列表","left-text":"返回","left-arrow":""},on:{"click-left":t.onClickLeft},scopedSlots:t._u([{key:"title",fn:function(){return[i("div",[i("van-popover",{attrs:{trigger:"click",theme:"dark",placement:"bottom",actions:t.actions_title},on:{select:t.onSelect_title},scopedSlots:t._u([{key:"reference",fn:function(){return[i("div",[t._v(t._s(t.status_title.text)),i("van-icon",{attrs:{name:"filter-o",size:"18"}})],1)]},proxy:!0}]),model:{value:t.showPopover_title,callback:function(e){t.showPopover_title=e},expression:"showPopover_title"}})],1)]},proxy:!0}])}),i("van-search",{attrs:{"show-action":"",placeholder:"请输入姓名/内容搜索关键词",clearable:!0,background:"#fff"},on:{input:t.doSearch},scopedSlots:t._u([{key:"action",fn:function(){return[i("van-popover",{attrs:{trigger:"click",placement:"bottom",actions:t.actions,theme:"dark"},on:{select:t.onSelect},scopedSlots:t._u([{key:"reference",fn:function(){return[i("van-button",{staticStyle:{width:"120px","font-size":"15px","border-radius":"8px"},attrs:{icon:"sort",type:"default"}},[t._v(t._s(t.status.text))])]},proxy:!0}]),model:{value:t.showPopover,callback:function(e){t.showPopover=e},expression:"showPopover"}})]},proxy:!0}]),model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),i("div",{staticClass:"cardList"},[i("van-pull-refresh",{attrs:{"success-text":"刷新成功"},on:{refresh:t.onRefresh},model:{value:t.refreshing,callback:function(e){t.refreshing=e},expression:"refreshing"}},[i("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,(function(e,o){return i("div",{key:o,staticClass:"list"},[i("van-image",{staticStyle:{position:"absolute",right:"0","z-index":"1"},attrs:{width:"55",height:"55",src:"0"==e.发布状态标识?n("725b"):n("2aab")}}),i("van-cell-group",[i("van-cell",{attrs:{border:!0},scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{"font-size":"16px","min-width":"300px"}},[i("div",[t._v(t._s(e.标题))])])]},proxy:!0}],null,!0)}),i("div",{staticStyle:{margin:"12px 0"}},[i("van-cell",{staticClass:"cellStyle_middle",attrs:{title:"栏目",value:e.一级栏目名,border:!1}}),i("van-cell",{staticClass:"cellStyle_middle",attrs:{title:"日期",value:e.日期,border:!1}}),i("van-cell",{staticClass:"cellStyle_middle",attrs:{title:"发布时间",value:e.发布时间,border:!1}})],1),i("van-row",{staticStyle:{margin:"12px"},attrs:{gutter:"20"}},[i("van-col",{attrs:{span:"12"}},[i("van-button",{staticClass:"btn",attrs:{block:"",round:"",plain:"",type:"info"},on:{click:function(n){return t.goDetail(e.id,e.发布状态标识)}}},[t._v("编辑")])],1),i("van-col",{attrs:{span:"12"}},[0==e.发布状态标识?i("van-button",{staticClass:"btn",attrs:{block:"",round:"",plain:"",type:"info"},on:{click:function(n){return t.handle_("Issue",e)}}},[t._v("发布")]):t._e(),1==e.发布状态标识?i("van-button",{staticClass:"btn",attrs:{block:"",round:"",plain:"",type:"info"},on:{click:function(n){return t.handle_("revocation",e)}}},[t._v("撤回")]):t._e()],1)],1)],1)],1)})),0)],1)],1)],1)},o=[],s=(n("4de4"),n("159b"),n("5319"),n("ac1f"),n("326e")),a={data:function(){return{title:"",type_name:"",type_id:"",refreshing:!1,finished:!1,loading:!1,list:[],searchValue:"",pageIndex:1,pageSize:5,showPopover_title:!1,actions_title:[],status_title:{text:"列表",value:""},showPopover:!1,actions:[],status:{text:"全部",value:""}}},created:function(){var t=this;Object(s["c"])().then((function(e){t.actions_title=[{text:"列表",value:""}],e.filter((function(e){t.actions_title.push({text:e.field_02,value:e.field_02})}))}))},methods:{goDetail:function(t,e){"1"!=e?this.$router.push({path:"/form",query:{status:"edit",id:t}}):this.$notify({type:"danger",message:"请先撤回再编辑"})},handle_:function(t,e){var n=this,i={id:e.id};"Issue"==t&&(i.发布状态标识="1"),"revocation"==t&&(i.发布状态标识="0"),this.$dialog.confirm({title:"提示",message:"Issue"==t?"是否发布此新闻":"是否撤销此新闻"}).then((function(){Object(s["f"])(i).then((function(i){console.log(t),"Issue"==t&&(n.$toast("发布成功"),n.sendPush(e)),"revocation"==t&&n.$toast("撤回成功"),n.list=[],n.onRefresh()}))})).catch((function(){}))},sendPush:function(t){var e;"asc"==sessionStorage.getItem("wx-news-type")&&(e=window.location.protocol+"//"+window.location.host+"/wx/wxaic/Teacher/AICNotice/SSO/sso.html?id="+t.id),"aic"==sessionStorage.getItem("wx-news-type")&&(e=window.location.protocol+"//"+window.location.host+"/eicrs/Home/wxAccInt?Redirect="+window.location.protocol+"//"+window.location.host+"/WxAIC/AICNotice/wxacc.ashx?links=~/showContent.aspx?id="+t.id);var n={news_id:t.id,title:"您有一条新的 《通知消息》",content:t.标题,curl:e,remark:""};Object(s["h"])(n);t.id,t.标题},onRefresh:function(){this.finished=!1,this.loading=!0,this.pageIndex=1,this.onLoad()},onLoad:function(){var t=this;this.actions=[{text:"全部",value:""},{text:"待发布",value:0},{text:"已发布",value:1}],Object(s["g"])({column:this.status_title.value,state:this.status.value,query:this.searchValue,pageIndex:this.pageIndex,pageSize:this.pageSize}).then((function(e){setTimeout((function(){if(t.refreshing&&(t.list=[],t.refreshing=!1),0==e.data.length)return t.finished=!0,void(t.refreshing=!1);e.data.forEach((function(e){t.list.push(e)})),t.pageIndex++,t.loading=!1}),500),console.log("this.pageIndex",t.pageIndex)}))},doSearch:function(t){this.pageIndex=1,this.list=[],this.finished=!1,this.loading=!0,this.onLoad()},onClickLeft:function(){this.$router.replace("/")},onSelect:function(t){console.log(t),this.pageIndex=1,this.list=[],this.finished=!1,this.loading=!0,this.status=t,this.onLoad()},onSelect_title:function(t){console.log(t),this.pageIndex=1,this.list=[],this.finished=!1,this.loading=!0,this.status_title=t,this.onLoad()}}},r=a,c=(n("2e8c9"),n("2877")),l=Object(c["a"])(r,i,o,!1,null,"e7a3f75e",null);e["default"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21e3a2"],{d550:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{display:"flex","justify-content":"center","margin-top":"50%"}},[n("van-loading",{attrs:{color:"#1989fa",size:"50px",vertical:""}},[t._v(" 登录中")])],1)},r=[];n("5319"),n("ac1f");class a extends Error{}a.prototype.name="InvalidTokenError";var c=n("3795"),s=n("806c"),u={data:function(){return{}},methods:{getTokenInfo:function(t){var e=this;Object(c["f"])({username:"asc666"}).then((function(t){s["d"](t.data[0],"accuracyControlDocumentWxUserInfo"),e.$router.replace({path:"/newsList"})}))}},mounted:function(){console.log("🚀🚀this.$route.query🚀,",this.$route.query),this.getTokenInfo(this.$route.query.token)}},i=u,l=n("2877"),f=Object(l["a"])(i,o,r,!1,null,"01164bce",null);e["default"]=f.exports}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-695c98dc"],{"157a":function(e,t,n){},3795:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n("1f75");function a(e){return Object(r["a"])({url:"/api/Demo/Login",method:"get",params:e})}function u(e){return Object(r["a"])({url:"/api/Demo/GetCount",method:"get",params:e})}function c(e){return Object(r["a"])({url:"/api/Demo/ShowIndexResult",method:"get",params:e})}function o(e){return Object(r["a"])({url:"/api/Demo/SaveCountForRead",method:"post",data:e})}function i(e){return Object(r["a"])({url:"/api/Demo/GetTitle",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/api/Demo/SelectFileForDb",method:"get",params:e})}},"806c":function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));n("e7e5");var r=n("d399"),a=n("1da1");n("96cf"),n("157a");function u(e,t){window.sessionStorage.setItem(JSON.stringify(e),t)}function c(e,t){window.localStorage.setItem(t,JSON.stringify(e))}function o(e){var t=JSON.parse(window.localStorage.getItem(e));return t||{}}function i(e){return s.apply(this,arguments)}function s(){return s=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,a,u,c,o=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]&&o[1],a=o.length>2&&void 0!==o[2]?o[2]:"正在提交",u=r["a"].loading({duration:0,forbidClick:!0,message:a}),e.next=5,t();case 5:if(c=e.sent,!n){e.next=8;break}return e.abrupt("return",u.close());case 8:e.prev=8,e.t0=c.code,e.next=1===e.t0?12:0===e.t0?16:20;break;case 12:return u.clear(),r["a"].success({message:c.message}),setTimeout((function(){return u.clear()}),1500),e.abrupt("break",23);case 16:return u.clear(),r["a"].success({message:c.message}),setTimeout((function(){return u.clear()}),1500),e.abrupt("break",23);case 20:u.clear(),r["a"].fail({message:c.message}),setTimeout((function(){return u.clear()}),1500);case 23:return e.abrupt("return",c);case 26:e.prev=26,e.t1=e["catch"](8),u.close(),r["a"].fail({message:c.message}),setTimeout((function(){return u.clear()}),1500);case 31:case"end":return e.stop()}}),e,null,[[8,26]])}))),s.apply(this,arguments)}}}]);
\ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f8fc3c26"],{ae29:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{display:"flex","justify-content":"center","margin-top":"50%"}},[n("van-loading",{attrs:{size:"50px",color:"#1989fa",vertical:""}},[e._v(" 登录中 ")])],1)},o=[],r=(n("e17f"),n("2241")),i=(n("b0c0"),n("be9e")),s=n("325c"),c={created:function(){if("asc"==s["a"].GetQueryValue("type"))this.SSO("asc");else{var e=s["a"].GetQueryValue("code"),t=s["a"].GetQueryValue("sign"),n=s["a"].GetQueryValue("timestamp");this.SSO(e,t,n)}},methods:{SSO:function(e,t,n){var a,o=this;"asc"==s["a"].GetQueryValue("type")&&(a=Object(i["b"])({token:s["a"].GetQueryValue("token")})),"aic"==s["a"].GetQueryValue("type")&&(a=Object(i["d"])({code:e,sign:t,timestamp:n})),sessionStorage.setItem("wx-news-type",s["a"].GetQueryValue("type")),a.then((function(e){o.UTIL.setCookie("XGTLTOKEN-COLLECTOR",e.access_token.token_content),o.UTIL.setCookie("REFRESHJWT-COLLECTOR",e.refresh_token.token_content),Object(i["a"])().then((function(e){console.log("token",e);var t={avatar:e.avatar,card:e.card,class_id:e.class_id,class_name:e.class_name,dept_id:e.dept_id,dept_name:e.dept_name,id:e.id,name:e.name,open_id:e.open_id,phone:e.phone,role:e.role,type:e.type};window.localStorage.setItem("userInfo",JSON.stringify(t)),o.$router.push({path:"newsList"})}))})).catch((function(e){console.log(e),r["a"].alert({message:e.msg_detail}).then((function(){}))}))}}},u=c,l=n("2877"),p=Object(l["a"])(u,a,o,!1,null,null,null);t["default"]=p.exports},be9e:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return s}));var a=n("1f75");function o(e){return Object(a["a"])({url:"/wx_news/api/Login/SSO/WxSSO",method:"get",params:e})}function r(e){var t=new FormData;return t.append("token",e.token),Object(a["a"])({url:"/wx_news/api/Login/SSO",method:"post",data:t})}function i(e){return Object(a["a"])({url:"/wx_news/api/Login/SSO/GetTokenInfo",method:"get",params:e})}function s(e){var t=new FormData;return t.append("fileType",e.fileType),t.append("uploadFile",e.uploadFile),Object(a["a"])({url:"/News/WxUploadFile.ashx",method:"post",data:t})}}}]);
\ No newline at end of file
此差异已折叠。
...@@ -3,7 +3,7 @@ import VueRouter from "vue-router"; ...@@ -3,7 +3,7 @@ import VueRouter from "vue-router";
Vue.use(VueRouter); Vue.use(VueRouter);
const routes = [ const routes = [
{ /* {
path: '/et', path: '/et',
name: 'et', name: 'et',
component: () => import('@/views/SSO'), component: () => import('@/views/SSO'),
...@@ -11,7 +11,7 @@ const routes = [ ...@@ -11,7 +11,7 @@ const routes = [
title: '单点', title: '单点',
keepAlive: false, keepAlive: false,
} }
}, },*/
{ {
// 制度文件 单点 // 制度文件 单点
path: '/cardToSSO', path: '/cardToSSO',
...@@ -22,7 +22,7 @@ const routes = [ ...@@ -22,7 +22,7 @@ const routes = [
keepAlive: false, keepAlive: false,
} }
}, },
{ /*{
path: "/", path: "/",
name: "home", name: "home",
component: () => import('@/views/home/index'), component: () => import('@/views/home/index'),
...@@ -48,7 +48,7 @@ const routes = [ ...@@ -48,7 +48,7 @@ const routes = [
title: '表单', title: '表单',
keepAlive: false, keepAlive: false,
} }
}, },*/
{ {
path: "/newsList", path: "/newsList",
name: "newsList", name: "newsList",
......
<script >
</script>
<template>
</template>
<style scoped lang="less">
</style>
\ No newline at end of file
.cardList {
box-sizing: border-box;
width: 100vw;
height: calc(100vh - 46px);
overflow: auto;
.cardListItem:nth-child(1) {
/*文章标题*/
width: 100%;
min-height: 120px;
background: #ffffff;
padding: 15px;
display: flex;
flex-wrap: wrap;
p {
margin: 0;
font-family: 黑体;
}
}
.cardListItem:nth-child(2) {
width: 100%;
height: 13px;
background: #F6F7F9;
}
.cardListItem:nth-child(3) {
/*文章内容*/
width: 100%;
min-height: 300px;
background: #ffffff;
padding: 15px;
box-sizing: border-box;
p {
text-align: justify
}
}
.cardListItem:nth-child(4) {
width: 100%;
height: 43px;
background: #F6F7F9;
display: flex;
align-items: center;
padding: 15px;
color: #8997A4;
}
.cardListItem:nth-child(5) {
width: 100%;
background: #ffffff;
}
}
\ No newline at end of file
...@@ -58,9 +58,9 @@ ...@@ -58,9 +58,9 @@
<span style="margin:0 5px;">|</span> <span style="margin:0 5px;">|</span>
<span>{{details.content.name}}</span> <span>{{details.content.name}}</span>
</p> </p>
<p style=" color:#C8C9CC; width: 100%;margin-top: auto;display: flex; justify-content: space-between; align-self: flex-end"> <p style=" color:#C8C9CC; width: 100%;margin-top: auto; align-self: flex-end">
<span>{{details.content.postTime}}</span> <span>{{details.content.postTime}}</span>
<span>{{details.content.hitNum}}&nbsp;&nbsp; 查看</span> &nbsp;&nbsp; &nbsp;&nbsp; <span>访问量:{{details.content.hitNum}} </span>
</p> </p>
</div> </div>
<div class="cardListItem"></div> <div class="cardListItem"></div>
...@@ -71,18 +71,18 @@ ...@@ -71,18 +71,18 @@
附件 附件
</div> </div>
<div v-if="!!details.file.length" class="cardListItem"> <div v-if="!!details.file.length" class="cardListItem">
<van-cell v-for="(item,index) in details.file" :key="index"> <van-cell v-for="(item,index) in [...details.file,...details.file]" :key="index">
<template #title> <template #title>
<a @click="getFileItem(item)">{{item.name}}</a> <a @click="getFileItem(item)">附件{{index+1}}:{{item.name}}</a>
</template> </template>
<template #icon> <!-- <template #icon>
<van-icon name="arrow"/> <van-icon name="arrow"/>
</template> </template>-->
<template #extra> <!-- <template #extra>
<div style="width: 40px;display: flex;justify-content: center"> <div style="width: 40px;display: flex;justify-content: center">
<van-icon @click="downFile(item)" name="down"/> <van-icon @click="downFile(item)" name="down"/>
</div> </div>
</template> </template>-->
</van-cell> </van-cell>
</div> </div>
...@@ -289,7 +289,60 @@ export default { ...@@ -289,7 +289,60 @@ export default {
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
@import "index.css"; .cardList {
box-sizing: border-box;
width: 100vw;
height: calc(100vh - 46px);
overflow: auto;
.cardListItem:nth-child(1) {
/*文章标题*/
width: 100%;
min-height: 120px;
background: #ffffff;
padding: 15px;
display: flex;
flex-wrap: wrap;
p {
margin: 0;
font-family: 黑体;
}
}
.cardListItem:nth-child(2) {
width: 100%;
height: 13px;
background: #F6F7F9;
}
.cardListItem:nth-child(3) {
/*文章内容*/
width: 100%;
min-height: 300px;
background: #ffffff;
padding: 15px;
box-sizing: border-box;
p {
text-align: justify
}
}
.cardListItem:nth-child(4) {
width: 100%;
height: 43px;
background: #F6F7F9;
display: flex;
align-items: center;
padding: 15px;
color: #8997A4;
}
.cardListItem:nth-child(5) {
width: 100%;
background: #ffffff;
}
}
.list { .list {
border-radius: 8px; border-radius: 8px;
...@@ -381,9 +434,9 @@ export default { ...@@ -381,9 +434,9 @@ export default {
overflow: hidden; overflow: hidden;
color: #323233; color: #323233;
font-size: 14px !important; font-size: 14px !important;
min-height: 49px; min-height: 44px;
background-color: #fff; background-color: #fff;
align-items: center;
} }
/deep/ .van-cell__title, .van-cell__value { /deep/ .van-cell__title, .van-cell__value {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- 学生卡片 --> <!-- 学生卡片 -->
<div class="cardList"> <div class="cardList">
<van-cell-group> <van-cell-group :key="aaa">
<van-cell v-for="(item,index) in columns.data" :key="index" is-link style="height: 100%" <van-cell v-for="(item,index) in columns.data" :key="index" is-link style="height: 100%"
@click="go2Details(item)"> @click="go2Details(item)">
<template #title> <template #title>
...@@ -134,6 +134,7 @@ import {Toast} from "vant"; ...@@ -134,6 +134,7 @@ import {Toast} from "vant";
export default { export default {
data() { data() {
return { return {
aaa:123123,
timer: {}, timer: {},
userInfo: hooks.getStorage("accuracyControlDocumentWxUserInfo"), userInfo: hooks.getStorage("accuracyControlDocumentWxUserInfo"),
columns: { columns: {
...@@ -141,9 +142,7 @@ export default { ...@@ -141,9 +142,7 @@ export default {
}, },
search: { search: {
option1: [ option1: [
{text: '全部商品', value: 0},
{text: '新款商品', value: 1},
{text: '活动商品', value: 2},
], ],
value1: 0, value1: 0,
params: { params: {
...@@ -184,7 +183,7 @@ export default { ...@@ -184,7 +183,7 @@ export default {
teacherId: this.userInfo.id, teacherId: this.userInfo.id,
teacherName: this.userInfo.name, teacherName: this.userInfo.name,
} }
if (newVal) this.getData() if (newVal) this.getData();
} }
}, },
created() { created() {
...@@ -224,10 +223,11 @@ export default { ...@@ -224,10 +223,11 @@ export default {
doSearch(val) { doSearch(val) {
clearTimeout(this.timer); clearTimeout(this.timer);
this.timer = setTimeout(() => { this.timer = setTimeout(() => {
this.search.params = { this.search.params = {
columnId: val, columnId: this.searchValue === '' ? this.search.value1 : this.searchValue,
department: this.userInfo.departmentName, department: this.userInfo.departmentName,
name: 'Title', name:this.searchValue === '' ? 'ColumnId' : 'Title' ,
teacherId: this.userInfo.id, teacherId: this.userInfo.id,
teacherName: this.userInfo.name, teacherName: this.userInfo.name,
} }
...@@ -241,20 +241,19 @@ export default { ...@@ -241,20 +241,19 @@ export default {
message: '加载中', message: '加载中',
}); });
//获取栏目下的数据 //获取栏目下的数据
ShowIndexResult({ ShowIndexResult(this.search.params).then((resp) => {
...this.search.params, if (resp.data!==null){
}).then((resp) => {
let currentSelectName = this.search.option1.find(cur => { let currentSelectName = this.search.option1.find(cur => {
return cur.value === this.search.value1 return cur.value === this.search.value1
}).text }).text
resp.data = resp.data.map(cur => {
/* this.columns.data = resp.data*/
if (resp.data!==null){
this.columns.data = resp.data.map(cur => {
if (cur.name === currentSelectName) return cur if (cur.name === currentSelectName) return cur
}) })
} }
console.log("🚀🚀resp🚀,",resp)
this.columns.data = resp.data
this.aaa++
return resp return resp
}).finally(()=>{ }).finally(()=>{
toast.close(); toast.close();
...@@ -538,7 +537,9 @@ export default { ...@@ -538,7 +537,9 @@ export default {
line-height: 36px; line-height: 36px;
background-color: #fff; background-color: #fff;
} }
/deep/.van-dropdown-item__option--active .van-dropdown-item__icon {
color: #1989fa;
}
/deep/ .van-dropdown-menu__title--active { /deep/ .van-dropdown-menu__title--active {
color: #2aa9ff; color: #2aa9ff;
} }
......
...@@ -12,7 +12,17 @@ module.exports = { ...@@ -12,7 +12,17 @@ module.exports = {
}, },
}, },
}, },
configureWebpack: (config) => {
/**
* 基于
* */
if (process.env.NODE_ENV === 'production') {// 为生产环境修改配置...
/* 压缩打包 */
config.optimization.splitChunks.chunks = 'all';
config.optimization.splitChunks.minSize = 500000;
config.optimization.splitChunks.maxSize = 500000;
}
},
// 打包配置 // 打包配置
publicPath: "./", publicPath: "./",
outputDir: "dist", outputDir: "dist",
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或