pages-file-file.3e90a649.js
8.9 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-file-file"],{1160:function(t,e,i){"use strict";i.r(e);var a=i("8be3"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"3f2c":function(t,e,i){"use strict";var a=i("7e07"),n=i.n(a);n.a},"5a84":function(t,e,i){t.exports=i.p+"static/img/fileIcon2.43268c4a.png"},"7e07":function(t,e,i){var a=i("8834");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("3392b268",a,!0,{sourceMap:!1,shadowMode:!1})},8834:function(t,e,i){var a=i("24fb"),n=i("1de5"),o=i("fca4"),s=i("9fbf"),r=i("e197"),d=i("e64d");e=a(!1);var c=n(o),l=n(s),u=n(r),v=n(d);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-3690335a]{padding:0 %?25?%;font-size:%?26?%}.overview[data-v-3690335a]{margin:%?50?% 0;display:flex;flex-wrap:wrap;justify-content:space-between}.overview-child[data-v-3690335a]{padding-left:%?20?%;width:%?315?%;height:%?115?%;border-radius:%?10?%;color:#303133;display:flex;flex-direction:column;justify-content:center;box-shadow:0 2px 6px 0 rgba(0,0,0,.1)}.viewChild1[data-v-3690335a]{background:url('+c+");background-size:100% 100%}.viewChild2[data-v-3690335a]{background:url("+l+");background-size:100% 100%}.viewChild3[data-v-3690335a]{margin-top:%?20?%;background:url("+u+");background-size:100% 100%}.viewChild4[data-v-3690335a]{margin-top:%?20?%;background:url("+v+");background-size:100% 100%}.childData[data-v-3690335a]{margin-top:%?6?%;display:flex;align-items:center;color:#2864fa}.point[data-v-3690335a]{margin-right:%?8?%;width:%?20?%;height:%?20?%;background:#2864fa;border-radius:50%}.selectBox[data-v-3690335a]{display:flex;color:#909399}.selectChild[data-v-3690335a]{padding:%?13?% %?10?%;margin-right:%?18?%;border:%?1?% solid #dcdfe6;border-radius:%?10?%;display:flex;justify-content:space-between}.recentFile[data-v-3690335a]{display:flex;flex-direction:column}.recentFileTitle[data-v-3690335a]{margin:%?50?% 0;display:flex;align-items:center}.fileIcon0[data-v-3690335a]{width:%?35?%;height:%?35?%}.rTitle[data-v-3690335a]{font-size:%?30?%;margin-left:%?10?%}.rFileContent[data-v-3690335a]{display:flex}.rFileContentChild[data-v-3690335a]{margin:0 %?35?% %?28?% %?35?%;display:flex;flex-direction:column;align-items:center}.rFileContentChild uni-text[data-v-3690335a]{margin-top:%?30?%}.rFileContentChild uni-image[data-v-3690335a]{width:%?104?%;height:%?88?%}.addBox[data-v-3690335a]{width:%?83?%;height:%?83?%;display:flex;align-items:center;justify-content:center;border:%?5?% dashed #dcdfe6}.popBox[data-v-3690335a]{padding:%?30?% %?25?%;display:flex;flex-direction:column;align-items:center;position:relative}.closePop[data-v-3690335a]{position:absolute;top:%?15?%;right:%?20?%}.inputBox[data-v-3690335a]{margin-top:%?40?%;width:%?450?%}.selAdminBox[data-v-3690335a]{padding:0 %?20?%;width:%?200?%;height:%?60?%;border:%?1?% solid #e6e7e9;display:flex;justify-content:space-between;align-items:center;font-size:%?20?%;border-radius:%?10?%}.uploadTag[data-v-3690335a]{color:#fff;background-color:#409eff;width:80px;height:25px;line-height:25px;text-align:center;font-size:%?26?%;border-radius:%?5?%}.popLine2[data-v-3690335a]{margin-top:%?30?%;width:%?450?%;display:flex;justify-content:space-between;align-items:center}.returnFileBox[data-v-3690335a]{margin-top:%?30?%;width:%?450?%;font-size:%?22?%;display:flex}.returnFileBox uni-text[data-v-3690335a]{margin-left:%?10?%}.saveBtn[data-v-3690335a]{margin-top:%?40?%;border:none;outline:none;width:%?360?%;height:%?70?%;line-height:%?70?%;background-color:#409eff;color:#fff}.popBtn[data-v-3690335a]{border:none;outline:none;width:%?360?%;height:%?70?%;line-height:%?70?%;text-align:center;color:#fff;margin-top:%?40?%;font-size:%?26?%}#popBtn1[data-v-3690335a]{margin-top:%?60?%;background:#2864fa;box-shadow:0 2px 10px #2864fa,0 0 6px rgba(40,100,250,.04)}#popBtn2[data-v-3690335a]{background:#cbcbcb;box-shadow:0 2px 10px #cbcbcb,0 0 6px hsla(0,0%,79.6%,.1)}",""]),t.exports=e},"8be3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{storageData:"120",update:"322",fileData:"1200",reservoirData:"210",skid:"",showPop:!1,fileNameValue:"",showFIleSort:!1,fileSortColumns:[["图片","文件","视频"]],defaultAdmin:"图片"}},onShow:function(){var t=this;t.skid=t.$store.state.reservoirID,uni.getStorage({key:"token",success:function(e){var i=e.data;uni.request({url:"https://www.ynzhsk.cn/api/reservoir/image/getInfo?id="+t.skid,header:{token:i},method:"GET",success:function(e){t.storageData=e.data.data.count,t.update=e.data.data.month,t.reservoirData=e.data.data.day;var i=e.data.data.size.toFixed(2);t.fileData=i},fail:function(t){console.log(t)}})}})},methods:{toImg:function(){uni.navigateTo({url:"./Myimage"})},toVedio:function(){uni.navigateTo({url:"./Myvideo"})},toInfo:function(){uni.navigateTo({url:"./Myinfo"})}}};e.default=a},"9fbf":function(t,e,i){t.exports=i.p+"static/img/fileBG2.5ee5502c.png"},adfc:function(t,e,i){"use strict";i.r(e);var a=i("eb82"),n=i("1160");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("3f2c");var s,r=i("f0c5"),d=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"3690335a",null,!1,a["a"],s);e["default"]=d.exports},ded5:function(t,e,i){t.exports=i.p+"static/img/fileIcon.b92c6522.png"},e197:function(t,e,i){t.exports=i.p+"static/img/fileBG3.6a83b924.png"},e64d:function(t,e,i){t.exports=i.p+"static/img/fileBG4.f39b2e11.png"},eb82:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"overview"},[a("v-uni-view",{staticClass:"overview-child viewChild1"},[a("v-uni-view",[t._v("库存总数")]),a("v-uni-view",{staticClass:"childData"},[a("v-uni-view",{staticClass:"point"}),t._v(t._s(t.storageData))],1)],1),a("v-uni-view",{staticClass:"overview-child viewChild2"},[a("v-uni-view",[t._v("近月上传")]),a("v-uni-view",{staticClass:"childData"},[a("v-uni-view",{staticClass:"point"}),t._v(t._s(t.update))],1)],1),a("v-uni-view",{staticClass:"overview-child viewChild3"},[a("v-uni-view",[t._v("文档数据"),a("v-uni-text",{staticStyle:{color:"#C0C4CC","margin-left":"8upx"}},[t._v("( 单位/G )")])],1),a("v-uni-view",{staticClass:"childData"},[a("v-uni-view",{staticClass:"point"}),t._v(t._s(t.fileData))],1)],1),a("v-uni-view",{staticClass:"overview-child viewChild4"},[a("v-uni-view",[t._v("当日上传")]),a("v-uni-view",{staticClass:"childData"},[a("v-uni-view",{staticClass:"point"}),t._v(t._s(t.reservoirData))],1)],1)],1),a("v-uni-view",{staticClass:"recentFile"},[a("v-uni-view",{staticClass:"recentFileTitle"},[a("v-uni-image",{staticClass:"fileIcon0",attrs:{src:i("5a84")}}),a("v-uni-text",{staticClass:"rTitle"},[t._v("最近文档")])],1),a("v-uni-view",{staticClass:"rFileContent"},[a("v-uni-view",{staticClass:"rFileContentChild",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$u.debounce(t.toInfo,500)}}},[a("v-uni-image",{attrs:{src:i("ded5"),mode:""}}),a("v-uni-text",[t._v("水库信息")])],1),a("v-uni-view",{staticClass:"rFileContentChild",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$u.debounce(t.toVedio,500)}}},[a("v-uni-image",{attrs:{src:i("ded5"),mode:""}}),a("v-uni-text",[t._v("水库视频")])],1),a("v-uni-view",{staticClass:"rFileContentChild",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$u.debounce(t.toImg,500)}}},[a("v-uni-image",{attrs:{src:i("ded5"),mode:""}}),a("v-uni-text",[t._v("水库图片")])],1)],1)],1)],1)],1)},o=[]},fca4:function(t,e,i){t.exports=i.p+"static/img/fileBG1.27acbf46.png"}}]);