Commit 2005b3ac by root

first commit

parent 87ad86df
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{margin-left:20px}input::-moz-placeholder,textarea::-moz-placeholder{margin-left:20px}input:-ms-input-placeholder,textarea:-ms-input-placeholder{margin-left:20px}.el-button--primary{color:#fff!important}[data-theme=hongshan] .el-button--primary,[data-theme=lengball] .el-button--primary{background-color:#1f3f86!important}[data-theme=duomizb] .el-button--primary,[data-theme=qiuju] .el-button--primary,[data-theme=qmtxzb] .el-button--primary,[data-theme=tvshow] .el-button--primary{background-color:rgba(248,135,75,.9)!important}[data-theme=hongshan] .el-button--primary,[data-theme=lengball] .el-button--primary{border-color:#1f3f86!important}[data-theme=duomizb] .el-button--primary,[data-theme=qiuju] .el-button--primary,[data-theme=qmtxzb] .el-button--primary,[data-theme=tvshow] .el-button--primary{border-color:rgba(248,135,75,.9)!important}[data-theme=hongshan] .el-pagination.is-background .el-pager li:not(.disabled):hover{color:#1f3f86!important}[data-theme=lengball] .el-pagination.is-background .el-pager li:not(.disabled):hover{color:#1f3f86!important}[data-theme=tvshow] .el-pagination.is-background .el-pager li:not(.disabled):hover{color:rgba(248,135,75,.9)!important}[data-theme=qmtxzb] .el-pagination.is-background .el-pager li:not(.disabled):hover{color:rgba(248,135,75,.9)!important}[data-theme=qiuju] .el-pagination.is-background .el-pager li:not(.disabled):hover{color:rgba(248,135,75,.9)!important}[data-theme=duomizb] .el-pagination.is-background .el-pager li:not(.disabled):hover{color:rgba(248,135,75,.9)!important}.el-pagination.is-background .el-pager li:not(.disabled).active{color:#fff!important}[data-theme=hongshan] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#1f3f86!important}[data-theme=lengball] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#1f3f86!important}[data-theme=tvshow] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:rgba(248,135,75,.9)!important}[data-theme=qmtxzb] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:rgba(248,135,75,.9)!important}[data-theme=qiuju] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:rgba(248,135,75,.9)!important}[data-theme=duomizb] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:rgba(248,135,75,.9)!important}.el-pagination.is-background .el-pager li:not(.disabled).active:hover{color:#fff!important}.search-bg{color:#fff;width:90px;height:32px;-moz-background-size:contain!important;background-size:contain!important;cursor:pointer;line-height:32px;font-size:15px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[data-theme=hongshan] .search-bg,[data-theme=lengball] .search-bg{background-color:#1f3f86!important}[data-theme=duomizb] .search-bg,[data-theme=qiuju] .search-bg,[data-theme=qmtxzb] .search-bg,[data-theme=tvshow] .search-bg{background-color:rgba(248,135,75,.9)!important}.search-bg div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAA09JREFUWEftl1uIjVEUx39/JOFByaV4GkIjGmY8EA8mnpgilyHyQHmQpKl5IddCQnJ74EVmUmLcRRFyywMe5RIlIZdRHpBCS0v76KT5zvftc06m0Vkv59S3vrV/33+vtfbaoouYuggnFdBy79T/q6iZ+ceNB2YAY4DBQC/gLfACuAxclfS1nKpmVjQAzgc2AyNSIL4Ae4Adkj6VAzgTqJkNAtqAyWHRl8B54CbwBvgWlB0LzAQmBr+PwEJJV0qFTQU1M9/ei8BQ4DWwDmiR9DNpcTOrA7YD9YD7rZa0vxTYgqBByfsB8gYwV1J7lgVDqvhHbQz+8ySdzPJuRz6JoGEh31rfbv+dJul77EJmtirkq+dtraQnsTHcvxBoI3AsbHdNViU7gjCzI8AS4Iyk2WUDDWo+DtW9VNLhYoLn3jGzgcBzoC9QJ+lBbLwOFTWzWsBz06u7qlDhZF3QzHYBTcBOSc1Z38v5JYGuBzYBByStjA2asP2e67eAR5KqY2MmgZ7wCgcaJR2PDZoA2j30W//tKelHTNwkUP9yV2CKpNsxAQv5mtkrYIi3O0nekzNbEug9T3pggiTP1bKYmXlBVQHDJfn/zJYE6sejH4UNki5kjpbiaGafgT5e/ZK8r2a2JNB9gBfRWklbM0cr4Ghmw4BnQLukAbExk0AbgHPAXUmTYoMmFFPuhDoqaXFszCTQ3sD7sE0l56mZeaU/BEYW20kKHaFbgDXAtXDOW6wKOX8zWw4cBJ4C1cUcIIVA+4Wc6g9skOQDc7SZWQ1wB/Bd8gnK59poSxvzpgOXgG5hptwbs4KZjQsDtvfOVkk+mBRlWQZnr34HdN8WoFmS52+ihZxcBuwOSrqv52h92rtJQVNB/UUzmwP4qOY90HvhIeB06Ap/Jn0z82bu/XdFKBx/vTVcBkcH2KmSPsTKmgk0wI4CtgGz8hbx8/pd3p3JPyRnXjjeh9vCmOdFWTRsZtC8CvYRcEG4Ljt8fgy/pvh1+SxwKn/wMDNv8teLhY0Gzd8yM+sB+A31970+7VgsBbYk0Ng8CylUlLL/HDTA+tUkl7NNkrw7FLROAc2DXZQF0v07DTRNwb+fV0BjFUvzryiaplDs84qisYql+VcUTVMo9vkvRl0gOofo9fYAAAAASUVORK5CYII=);-moz-background-size:24px 24px;background-size:24px 24px;background-position:0 2px;width:24px;height:24px;margin-right:10px}.add-bg{border:1px solid;width:90px;height:32px;-moz-background-size:contain!important;background-size:contain!important;cursor:pointer;line-height:32px;font-size:15px;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[data-theme=hongshan] .add-bg,[data-theme=lengball] .add-bg{border-color:#1f3f86!important}[data-theme=duomizb] .add-bg,[data-theme=qiuju] .add-bg,[data-theme=qmtxzb] .add-bg,[data-theme=tvshow] .add-bg{border-color:rgba(248,135,75,.9)!important}[data-theme=hongshan] .add-bg,[data-theme=lengball] .add-bg{color:#1f3f86!important}[data-theme=duomizb] .add-bg,[data-theme=qiuju] .add-bg,[data-theme=qmtxzb] .add-bg,[data-theme=tvshow] .add-bg{color:rgba(248,135,75,.9)!important}.add-bg div{margin-right:10px}.edit-bg{width:24px;height:24px;cursor:pointer}[data-theme=duomizb] .edit-bg,[data-theme=hongshan] .edit-bg,[data-theme=lengball] .edit-bg,[data-theme=qiuju] .edit-bg,[data-theme=qmtxzb] .edit-bg,[data-theme=tvshow] .edit-bg{-moz-background-size:100% 100%;background-size:100% 100%;background-repeat:no-repeat;background-position:50%}.delete-bg{width:24px;height:22px;cursor:pointer}[data-theme=duomizb] .delete-bg,[data-theme=hongshan] .delete-bg,[data-theme=lengball] .delete-bg,[data-theme=qiuju] .delete-bg,[data-theme=qmtxzb] .delete-bg,[data-theme=tvshow] .delete-bg{-moz-background-size:100% 100%;background-size:100% 100%;background-repeat:no-repeat;background-position:50%}.action-bg1{width:100px;height:32px;text-align:center;line-height:32px;cursor:pointer}[data-theme=duomizb] .action-bg1,[data-theme=hongshan] .action-bg1,[data-theme=lengball] .action-bg1,[data-theme=qiuju] .action-bg1,[data-theme=qmtxzb] .action-bg1,[data-theme=tvshow] .action-bg1{-moz-background-size:100% 100%;background-size:100% 100%;background-repeat:no-repeat;background-position:50%}[data-theme=hongshan] .action-bg1,[data-theme=lengball] .action-bg1{color:#1f3f86!important}[data-theme=duomizb] .action-bg1,[data-theme=qiuju] .action-bg1,[data-theme=qmtxzb] .action-bg1,[data-theme=tvshow] .action-bg1{color:rgba(248,135,75,.9)!important}.action-bg{width:100px;height:32px;color:#fff;text-align:center;line-height:32px;cursor:pointer}[data-theme=duomizb] .action-bg,[data-theme=hongshan] .action-bg,[data-theme=lengball] .action-bg,[data-theme=qiuju] .action-bg,[data-theme=qmtxzb] .action-bg,[data-theme=tvshow] .action-bg{-moz-background-size:100% 100%;background-size:100% 100%;background-repeat:no-repeat;background-position:50%}.cx-box{border:1px solid #2897ff;width:100px;line-height:30px;text-align:center;color:#2897ff}.xz{background:#2897ff;color:#fff}.swiper-slide{width:100%;height:4rem;-moz-border-radius:.33333rem;border-radius:.33333rem;background-repeat:no-repeat;-moz-background-size:cover;background-size:cover;background-position:50%}.text-overflow{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ca5d3cf"],{b112:function(t,e,a){},f5ee:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"container",staticClass:"info-table"},[a("div",{staticClass:"fx align-items justify-between mt-15 mb-15 ml-10 mr-10"},[a("page-title",{attrs:{name:t.$t("fjguanli")}})],1),a("div",{staticClass:"fx align-items mt-15 mb-15 ml-10 mr-10"},[a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[t._v("title:")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:"title",size:"small"},model:{value:t.anchorName,callback:function(e){t.anchorName=e},expression:"anchorName"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"search-bg",on:{click:function(e){return t.getInfo(1)}}},[a("div"),t._v(" "+t._s(t.$t("chaxun"))+" ")])]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"add-bg",on:{click:t.add}},[t._m(0),t._v(" "+t._s(t.$t("xinzeng"))+" ")])])]),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:t.tableData,"header-cell-class-name":"table-header","max-height":t.tableHeight}},[a("el-table-column",{attrs:{fixed:"",label:t.$t("xuhao"),align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.$index+10*(t.currents.currentPage-1)+1)+" ")]}}])}),a("el-table-column",{attrs:{align:"center",width:"200",label:t.$t("fangjianming")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.title))])]}}])}),a("el-table-column",{attrs:{label:t.$t("fangjiantupian")},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.cover?a("div",[a("el-image",{staticStyle:{width:"100px",height:"55px"},attrs:{src:e.row.cover,"preview-src-list":[e.row.cover]}})],1):t._e()]}}])}),a("el-table-column",{attrs:{align:"center",prop:"hotNum",label:t.$t("hotNum")}}),a("el-table-column",{attrs:{align:"center",prop:"desc",label:t.$t("zbnotice"),width:"150"}}),a("el-table-column",{attrs:{align:"center",width:"300",prop:"playUrl",label:t.$t("bofangliudizhi")}}),a("el-table-column",{attrs:{width:"200",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"fx justify-between"},[a("div",{staticClass:"search-bg",on:{click:function(a){return t.update(e.row)}}},[a("p",[a("i",{staticClass:"el-icon-edit mr-10"})]),t._v(t._s(t.$t("bianji")))]),a("div",{staticClass:"ml-10 add-bg",on:{click:function(a){return t.deleteMsg(e.row)}}},[a("div",[a("i",{staticClass:"el-icon-delete"})]),t._v(t._s(t.$t("shanchu")))])])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":t.currents.currentPage,"page-sizes":[10,20,30],"page-size":10,layout:"total, prev, pager, next, jumper",total:t.currents.currentTotal},on:{"current-change":t.handleCurrentChange}}),a("el-dialog",{attrs:{title:t.$t("fjguanli"),visible:t.dialogFormVisible,width:"50%","destroy-on-close":""},on:{"update:visible":function(e){t.dialogFormVisible=e},close:t.clear}},[a("div",{staticStyle:{height:"50vh","overflow-y":"auto"}},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules}},[a("el-form-item",{attrs:{label:t.$t("fangjianfengmian"),"label-width":t.formLabelWidth,prop:"cover"}},[a("img",{attrs:{src:t.form.cover,width:"100px"}}),a("div",[a("el-upload",{staticClass:"upload-demo",attrs:{action:"/sequoiaBack/file/fileUpload","on-remove":t.handleRemove,"on-success":t.handleChange,"file-list":t.fileList,headers:t.headers,"show-file-list":!1,"before-upload":t.beforeAvatarUpload,"list-type":"picture"}},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v(t._s(t.$t("dianjishangc")))])],1)],1)]),a("el-form-item",{attrs:{label:t.$t("fangjianming"),"label-width":t.formLabelWidth,prop:"title"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}})],1),a("el-form-item",{attrs:{label:t.$t("playUrl"),"label-width":t.formLabelWidth,prop:"playUrl"}},[a("el-input",{attrs:{clearable:"",type:"textarea",rows:5},model:{value:t.form.playUrl,callback:function(e){t.$set(t.form,"playUrl",e)},expression:"form.playUrl"}})],1),a("el-form-item",{attrs:{label:t.$t("hotNum"),"label-width":t.formLabelWidth,prop:"hotNum"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:t.form.hotNum,callback:function(e){t.$set(t.form,"hotNum",t._n(e))},expression:"form.hotNum"}})],1),a("el-form-item",{attrs:{label:t.$t("zbnotice"),"label-width":t.formLabelWidth,prop:"desc"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.clear}},[t._v(t._s(t.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:t.updateSumbit}},[t._v(t._s(t.$t("queding")))])],1)])],1)},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("i",{staticClass:"el-icon-plus"})])}],l=(a("fb6a"),a("0d03"),a("6ace")),r={name:"index",data:function(){return{tableHeight:0,isPicPath:"2",currents:{currentPage:1,currentTotal:0},ps:{pageNo:1,pageSize:10},tagName:"",search:"",message:"",anchorName:"",roomId:"",roomNum:"",senderName:"",showHome:"",matchName:"",fileList:[],matchList:[],checkedCities:[],channelList:[],isIndeterminate:!0,checkAll:!0,userNames:"",form:{deleted:0,desc:"",cover:"",hotNum:0,title:"",id:0,playUrl:""},form1:{senderName:"",message:""},rules:{cover:[{required:!0,message:this.$t("tishi1"),trigger:"change"}],title:[{required:!0,message:this.$t("tishi3"),trigger:"change"}],hotNum:[{required:!0,message:this.$t("tishi4"),trigger:"change"}]},showHot:"",matchListName:"",matchDate:"",teamName:"",playUrl:"",type:"1",recommend:"",tableData:[],id:0,detele:0,imgUrl:"",formLabelWidth:"160px",dialogFormVisible:!1,historyMsg:[],loading:!1,disabled:!1,isAdd:!0,channelData:[],userList:[],userName:"",roomNums:"",headers:{token:l["a"].get("token")}}},mounted:function(){this.getInfo(1),this.calHeight()},methods:{beforeAvatarUpload:function(t){var e=this,a=t.size/1024/1024<2;return a||this.$message.error(e.$t("sctouxtup")),a},calHeight:function(){var t=this;this.$nextTick((function(){var e=t.$refs.container.getBoundingClientRect();t.tableHeight=e.height-250}))},clear:function(){var t={deleted:0,title:"",desc:"",cover:"",hotNum:0,playUrl:"",id:0};this.fileList=[],this.form=Object.assign(this.form,t),this.dialogFormVisible=!1},deleteMsg:function(t){var e=this,a=this;this.$confirm(a.$t("shanchuxiaoxi"),a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){a.form=Object.assign(a.form,t),a.$set(a.form,"deleted",1),a.updateInfo()}))["catch"]((function(){e.$message({type:"info",message:a.$t("yiquxiaoshanchu")})}))},handleChange:function(t,e,a){this.fileList=a.slice(-1);var i=t.data.imageUrl;this.form.cover=i},handleRemove:function(t,e){},add:function(){this.isAdd=!0,this.dialogFormVisible=!0},update:function(t){this.form=Object.assign(this.form,t),this.isAdd=!1,this.dialogFormVisible=!0},getInfo:function(t){var e=this;this.loading=!0,t&&(this.ps.pageNo=1);var a={deleted:0,title:this.anchorName,pageNum:this.ps.pageNo,pageSize:this.ps.pageSize};this.$axios("post","/backVideo/getVideoList",a).then((function(t){200===t.code&&(e.tableData=t.data.dataList,e.currents.currentTotal=t.data.countSize,e.currents.currentPage=t.data.pageNo,e.loading=!1)}))},handleCurrentChange:function(t){this.ps.pageNo=t,this.getInfo()},updateInfo:function(){var t=this,e=this,a={deleted:this.form.deleted,hotNum:this.form.hotNum,desc:this.form.desc,title:this.form.title,cover:this.form.cover,id:this.form.id,playUrl:this.form.playUrl};this.$axios("post","/backVideo/editVideoById",a).then((function(a){200===a.code?(t.$message({type:"success",message:e.$t("caozuocg")+"!"}),t.getInfo(),t.clear()):t.$message({type:"warning",message:a.msg})}))},updateSumbit:function(){this.flag||this.updateInfo()},fromDate:function(t){var e=new Date(t),a=e.getMonth()+1,i=e.getDate();a<10&&(a="0"+(e.getMonth()+1)),i<10&&(i="0"+e.getDate());var s=e.getFullYear()+"-"+a+"-"+i;return s}}},o=r,n=(a("f95a"),a("2877")),c=Object(n["a"])(o,i,s,!1,null,null,null);e["default"]=c.exports},f95a:function(t,e,a){"use strict";a("b112")},fb6a:function(t,e,a){"use strict";var i=a("23e7"),s=a("da84"),l=a("e8b5"),r=a("68ee"),o=a("861d"),n=a("23cb"),c=a("07fa"),d=a("fc6a"),u=a("8418"),h=a("b622"),m=a("1dde"),f=a("f36a"),g=m("slice"),p=h("species"),b=s.Array,v=Math.max;i({target:"Array",proto:!0,forced:!g},{slice:function(t,e){var a,i,s,h=d(this),m=c(h),g=n(t,m),$=n(void 0===e?m:e,m);if(l(h)&&(a=h.constructor,r(a)&&(a===b||l(a.prototype))?a=void 0:o(a)&&(a=a[p],null===a&&(a=void 0)),a===b||void 0===a))return f(h,g,$);for(i=new(void 0===a?b:a)(v($-g,0)),s=0;g<$;g++,s++)g in h&&u(i,s,h[g]);return i.length=s,i}})}}]);
//# sourceMappingURL=chunk-0ca5d3cf.9b3815d1.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment