@hanology/cham-browser 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/src/views/PieceView.vue +11 -10
package/package.json
CHANGED
|
@@ -538,17 +538,18 @@ function tcy(n: number): string {
|
|
|
538
538
|
<Teleport to="body">
|
|
539
539
|
<Transition name="overlay">
|
|
540
540
|
<div v-if="authorPaneOpen" class="h-overlay" @click="closeAuthorPane">
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
541
|
+
<div class="h-pane" @click.stop>
|
|
542
|
+
<button class="h-pane-close" @click="closeAuthorPane">✕</button>
|
|
543
|
+
<div class="h-pane-header">
|
|
544
|
+
<div>
|
|
545
|
+
<div class="h-pane-name">{{ selectedAuthorName }}</div>
|
|
546
|
+
<div class="h-pane-meta">{{ piece.title }} 等</div>
|
|
547
|
+
</div>
|
|
547
548
|
</div>
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
<div v-if="selectedAuthorBio" class="h-pane-bio">
|
|
550
|
+
<div v-for="p in selectedAuthorBio.split('\n').filter(l => l.trim())" :key="p" class="h-pane-p">
|
|
551
|
+
{{ p.trim() }}
|
|
552
|
+
</div>
|
|
552
553
|
</div>
|
|
553
554
|
</div>
|
|
554
555
|
</div>
|