日志页面增加页面 url
Former-commit-id: bef281a21af06abdd852d54653f27c07a37e8748 [formerly bef281a21af06abdd852d54653f27c07a37e8748 [formerly bef281a21af06abdd852d54653f27c07a37e8748 [formerly bef281a21af06abdd852d54653f27c07a37e8748 [formerly ddc327dd4c06ff799e9ede8628d204c443623a48 [formerly 825f4c74f35ac3364007e1d2c43112589d364f65]]]]] Former-commit-id: 8cd1d4830466b239aae6d34b7bc199c12cd3adbe Former-commit-id: 129f94dec8836d6ad6f1151d96998cba23ae4f01 Former-commit-id: bfaf6055cfbdd9bbd1b14d75a74ed073074f39ad [formerly d070d00d3598f5acbb794ce655f9e789f4be3b14] Former-commit-id: 96c5ce9fd085ed1b7a8ae68651b184f7377e721b Former-commit-id: 0300abf39c8cb444ec5ba3bad91bc71040d64ef7 Former-commit-id: 7724a16fdbd3e062615d48c33bee299030eadd22 Former-commit-id: b3782ee2c8936e6ef750d6f2b585bcfee2569300 Former-commit-id: b09fe2c642d3e0f5213460b54caee83979ffbbb3
This commit is contained in:
@@ -16,7 +16,12 @@
|
|||||||
v-for="(logItem, logIndex) in log"
|
v-for="(logItem, logIndex) in log"
|
||||||
:key="logIndex">
|
:key="logIndex">
|
||||||
<span class="log-time">{{logItem.time}}</span>
|
<span class="log-time">{{logItem.time}}</span>
|
||||||
<span class="log-message" :class="`log-message--${logItem.type}`">{{logItem.message}}</span>
|
<span
|
||||||
|
class="log-message"
|
||||||
|
:class="`log-message--${logItem.type}`">
|
||||||
|
{{logItem.message}}
|
||||||
|
</span>
|
||||||
|
<span class="log-url"> - {{logItem.meta.url}}</span>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
</d2-container>
|
</d2-container>
|
||||||
@@ -63,7 +68,6 @@ export default {
|
|||||||
padding: 4px;
|
padding: 4px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@extend %unable-select;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-bg;
|
background-color: $color-bg;
|
||||||
}
|
}
|
||||||
@@ -77,7 +81,11 @@ export default {
|
|||||||
color: $color-text-main;
|
color: $color-text-main;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
.log-url {
|
||||||
|
color: $color-text-placehoder;
|
||||||
|
}
|
||||||
.log-message {
|
.log-message {
|
||||||
|
font-weight: bold;
|
||||||
color: $color-text-normal;
|
color: $color-text-normal;
|
||||||
&.log-message--success {
|
&.log-message--success {
|
||||||
color: $color-success;
|
color: $color-success;
|
||||||
|
|||||||
Reference in New Issue
Block a user