Skip to content

Commit

Permalink
docs(demo): 页面进入时间样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuh12 committed Jul 10, 2019
1 parent db9e3eb commit ff7a6b4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/views/Page.vue
@@ -1,7 +1,8 @@
<template>
<div class="app-page">
<h2 @click="click">页面{{pageId}}</h2>
<p>你在<strong>{{pageTime}}</strong>秒前打开本页面</p>

<p class="page-time-tips">你在 <strong class="time">{{pageTime}}</strong> 秒前打开本页面</p>

<h3>页签操作</h3>

Expand Down Expand Up @@ -95,6 +96,13 @@
}
}
.page-time-tips {
.time {
font-size: 1.2em;
color: red;
}
}
.route-info {
min-width: 300px;
border-collapse: collapse;
Expand Down

0 comments on commit ff7a6b4

Please sign in to comment.