add 标准详情;更新记录
This commit is contained in:
+21
-13
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<a-config-provider :locale="locale">
|
||||
<div id="app">
|
||||
<router-view v-if="isRouterAlive"/>
|
||||
<router-view v-if="isRouterAlive" />
|
||||
<div class="watermark" v-if="show" v-watermark="{text: watermark, textColor: 'rgba(180, 180, 180, 0.2)'}"></div>
|
||||
</div>
|
||||
</a-config-provider>
|
||||
@@ -16,6 +16,7 @@ import 'moment/locale/zh-cn'
|
||||
import '@/utils/warterMark'
|
||||
// 引入自定义icon
|
||||
import '@/assets/icon/iconfont.less'
|
||||
import Vue from 'vue'
|
||||
|
||||
moment.locale('zh-cn')
|
||||
|
||||
@@ -93,20 +94,27 @@ export default {
|
||||
moment.locale('en-us')
|
||||
}
|
||||
})
|
||||
|
||||
// 新标签页打开
|
||||
Vue.prototype.$openPageNewSheet = (params) => {
|
||||
const { href } = this.$router.resolve(params)
|
||||
window.open(href, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
#app {
|
||||
height: 100%;
|
||||
}
|
||||
.watermark {
|
||||
pointer-events: none;
|
||||
position: fixed;
|
||||
z-index: 999999999;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
#app {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.watermark {
|
||||
pointer-events: none;
|
||||
position: fixed;
|
||||
z-index: 999999999;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user