Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 14 additions & 18 deletions packages/plugins/page/src/PageGeneral.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
<div class="tip">
<span class="text" v-if="!pageSettingState.currentPageData.route">路由将以website.com开头</span>
<span class="route-text" v-else>
<span class="text">website.com/</span>
<span class="text-dim">{{ currentRoute }}</span>
<span class="tip-text">website.com/</span>
<span class="tip-text-dim">{{ currentRoute }}</span>
</span>
</div>
</tiny-form-item>
Expand All @@ -64,13 +64,11 @@
placeholder="请选择默认跳转页"
@change="changeDefaultPage"
></tiny-select>
<div v-if="state.defaultPageId" class="tip default-page">
<span class="text"
>访问<span class="text-dim">/{{ currentRoute }}</span
>路由,默认跳转<span class="text-dim"
>/{{ currentRoute }}/{{ pageSettingState?.defaultPage?.route }}</span
></span
>
<div v-if="state.defaultPageId" class="tip">
<div class="tip-text">访问</div>
<span class="tip-text-dim">/{{ currentRoute }}</span>
<div class="tip-text">路由,默认跳转</div>
<span class="tip-text-dim">/{{ currentRoute }}/{{ pageSettingState?.defaultPage?.route }}</span>
</div>
</tiny-form-item>
</tiny-form>
Expand Down Expand Up @@ -324,21 +322,19 @@ export default {
color: var(--te-page-manage-tip-color);
font-size: 12px;
border-radius: 3px;
display: flex;
align-items: center;
height: 16px;
margin-top: 4px;
.text {
width: 100%;
word-wrap: break-word;
height: auto;
line-height: 16px;
.tip-text {
width: 100%;
color: var(--te-page-manage-tip-text-color);
}
.text-dim {
.tip-text-dim {
color: var(--te-page-manage-tip-dim-text-color);
}
}
.default-page {
height: auto;
line-height: 16px;
}
}
</style>
<style lang="less">
Expand Down