Browse Source

增加v-cloak属性,解决在数据渲染前,页面显示js代码的问题

raolu 6 years ago
parent
commit
b1558fd0e7

+ 1 - 0
app/recover/css/new_recover.css

@ -2,6 +2,7 @@ body {
	font-family: "microsoft yahei";
	color: #333;
}
[v-cloak]{display: none;}
#app {
	min-width: 1024px;
	height: 100%;

+ 1 - 0
app/recover/css/project-detail.css

@ -1,3 +1,4 @@
[v-cloak]{display: none;}
.lh28 {line-height: 28px;}
.plr5 {padding-left: 5px; padding-right: 5px;}
.c-12b7f5 {color: #12b7f5;)}

+ 1 - 0
app/recover/css/select-patient.css

@ -1,3 +1,4 @@
[v-cloak]{display: none;}
.c-h100 {
	height: 100%;
}

+ 2 - 1
app/recover/html/cancle_sure.html

@ -9,10 +9,11 @@
		<style>
			.bgc-12b7f5 {background-color: #12b7f5;}
			.b-r-3 {border-radius: 3px;}
			[v-cloak]{display: none;}
		</style>
	</head>
	<body>
		<div id="app" class="c-position-r h-100 bgc-999 c-333">
		<div id="app" v-cloak class="c-position-r h-100 bgc-999 c-333">
			<div class="c-t-center ptb30 c-f15">是否确认删除此计划?</div>
			<div class="c-t-center clearfix">
				<span class="fr mr10 c-border b-r-3 plr20 ptb5" @click="btnClick(0)">取消</span>

+ 2 - 2
app/recover/html/photo_show.html

@ -14,11 +14,11 @@
			.h100 {height: 100px;}
			.w-100 {width: 100%;}
			.h-100 {height: 100%;}
            [v-cloak]{display: none;}
		</style>
	</head>
	<body>
		<div id="app" class="c-position-r h-100 bgc-999">
		<div id="app" v-cloak class="c-position-r h-100 bgc-999">
			<div class="h-100">
				<div class="h-100 c-t-center">
					<img class="h-100 w-100" :src="setImg(src)" alt="图片">

+ 3 - 0
app/rehabilitation/css/management.css

@ -1,3 +1,6 @@
[v-cloak]{
    display: none;
}
html,body,#app {
	margin: 0;
	padding: 0;

+ 1 - 1
app/rehabilitation/html/management.html

@ -18,7 +18,7 @@
        <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app" >
		<div id="app" v-cloak>
		    <div class="header">
		        <span class="title mr10">模板管理</span>
		        <img src="../../../images/fanhui_icon.png" @click="backPage">