mirror of
https://github.com/Monibuca/plugin-ts.git
synced 2025-10-27 01:10:37 +08:00
使用外部样式代替import
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -50,7 +52,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import url("/iview.css");
|
||||
/* @import url("/iview.css"); */
|
||||
.layout {
|
||||
padding-bottom: 30px;
|
||||
display: flex;
|
||||
|
||||
3123
dashboard/package-lock.json
generated
3123
dashboard/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -11,5 +11,8 @@
|
||||
"devDependencies": {
|
||||
"@vue/cli-service": "^4.2.3",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"view-design": "^4.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
// Imports
|
||||
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
||||
exports = ___CSS_LOADER_API_IMPORT___(false);
|
||||
exports.push([module.i, "@import url(/iview.css);"]);
|
||||
// Module
|
||||
exports.push([module.i, ".layout{padding-bottom:30px;display:flex;flex-wrap:wrap;padding:30px}.room{text-align:center}.room:hover{border:1px solid grey;border-radius:10%;cursor:pointer}.size{position:absolute;top:40%;left:0;right:0}", ""]);
|
||||
// Exports
|
||||
@@ -726,12 +725,12 @@ function normalizeComponent (
|
||||
}
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"677aa4f3-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=c81a1b98&shadow
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05de6a53-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=1629d4f2&shadow
|
||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"layout"},[_vm._l((_vm.Rooms),function(item){return _c('Badge',{key:item.StreamPath,staticClass:"room",attrs:{"count":item.TsCount},nativeOn:{"click":function($event){return _vm.publish(item)}}},[_c('Icon',{attrs:{"type":"ios-folder-open-outline","size":"100"}}),_c('div',{staticClass:"size"},[_vm._v(_vm._s(_vm.unitFormat(item.TotalSize)))]),_c('div',[_vm._v(_vm._s(item.StreamPath))])],1)}),(_vm.Rooms.length==0)?_c('div',{staticClass:"empty"},[_c('Icon',{attrs:{"type":"md-wine","size":"50"}}),_vm._v("没有任何文件夹 ")],1):_vm._e()],2)}
|
||||
var staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./index.vue?vue&type=template&id=c81a1b98&shadow
|
||||
// CONCATENATED MODULE: ./index.vue?vue&type=template&id=1629d4f2&shadow
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=script&lang=js&shadow
|
||||
//
|
||||
@@ -754,6 +753,8 @@ var staticRenderFns = []
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* harmony default export */ var lib_vue_loader_options_indexvue_type_script_lang_js_shadow = ({
|
||||
data() {
|
||||
return {
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
dashboard/ui/plugin-ts.min.js
vendored
2
dashboard/ui/plugin-ts.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user