update center-tips
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
</template>
|
||||
</customer-cell>
|
||||
</t-cell-group>
|
||||
<div class="center-tips" v-text="loadStateText" />
|
||||
<center-tips :content="loadStateText" />
|
||||
</div>
|
||||
</t-pull-down-refresh>
|
||||
<customer-selector
|
||||
@@ -259,26 +259,6 @@ onMounted(async () => {
|
||||
.point-account-list {
|
||||
padding: var(--app-nav-height) 0 1rem;
|
||||
|
||||
.filters {
|
||||
top: var(--app-nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
padding: .75rem 1rem;
|
||||
position: sticky;
|
||||
flex-direction: column;
|
||||
|
||||
.customer {
|
||||
--td-button-border-radius: .75rem;
|
||||
--td-input-vertical-padding: .25rem 1rem;
|
||||
|
||||
width: 100%;
|
||||
border: 1px solid var(--td-component-border);
|
||||
padding-right: .3rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.list-wrap {
|
||||
gap: 1rem;
|
||||
@@ -317,17 +297,9 @@ onMounted(async () => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.point-account-list {
|
||||
.filters {
|
||||
background: #10161f;
|
||||
|
||||
.customer {
|
||||
background: #10161f;
|
||||
}
|
||||
}
|
||||
|
||||
.description,
|
||||
.zero,
|
||||
.center-tips {
|
||||
.zero {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<t-cell title="事件说明" :note="Text.display(triggerEvent.description)" />
|
||||
<t-cell title="查看事件详情" :arrow="canReadEvent" :hover="canReadEvent" @click="toEventDetail" />
|
||||
</template>
|
||||
<div v-else class="empty" v-text="getEventEmptyText()" />
|
||||
<center-tips v-else :content="getEventEmptyText()" />
|
||||
</t-cell-group>
|
||||
<t-cell-group title="事件记录" theme="card" v-entrance-transition>
|
||||
<template v-if="eventRecord">
|
||||
@@ -64,7 +64,7 @@
|
||||
<t-cell title="记录备注" :note="Text.display(eventRecord.remark)" />
|
||||
<t-cell title="查看记录详情" arrow hover @click="toEventRecordDetail" />
|
||||
</template>
|
||||
<div v-else class="empty" v-text="getRecordEmptyText()" />
|
||||
<center-tips v-else :content="getRecordEmptyText()" />
|
||||
</t-cell-group>
|
||||
<t-cell-group title="命中规则" theme="card" v-entrance-transition>
|
||||
<template v-if="hitRule">
|
||||
@@ -78,7 +78,7 @@
|
||||
<t-cell title="规则备注" :note="Text.display(hitRule.remark)" />
|
||||
<t-cell title="查看规则详情" :arrow="canReadRule" :hover="canReadRule" @click="toPointRuleDetail" />
|
||||
</template>
|
||||
<div v-else class="empty" v-text="getRuleEmptyText()" />
|
||||
<center-tips v-else :content="getRuleEmptyText()" />
|
||||
</t-cell-group>
|
||||
</template>
|
||||
<t-empty v-else :description="isLoading ? '正在加载积分流水' : '积分流水快照不存在,请从积分流水列表进入'" />
|
||||
@@ -381,13 +381,6 @@ watch(() => [route.params.id, route.query.snapshot], async () => {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 1.5rem 1rem;
|
||||
color: #52607a;
|
||||
font-size: .875rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.payload-panel {
|
||||
.title {
|
||||
margin: 0 0 .5rem;
|
||||
@@ -398,9 +391,6 @@ watch(() => [route.params.id, route.query.snapshot], async () => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.point-ledger-detail {
|
||||
.empty {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.payload-panel .title {
|
||||
color: #e2e8f0;
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
</template>
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
<div class="center-tips" v-text="loadStateText" />
|
||||
<center-tips :content="loadStateText" />
|
||||
</div>
|
||||
</t-pull-down-refresh>
|
||||
</main>
|
||||
@@ -496,39 +496,6 @@ onUnmounted(() => {
|
||||
padding: var(--app-nav-height) 0 1rem;
|
||||
flex-direction: column;
|
||||
|
||||
.filters {
|
||||
top: var(--app-nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
padding: .75rem 1rem;
|
||||
position: sticky;
|
||||
flex-direction: column;
|
||||
|
||||
.customer {
|
||||
--td-button-border-radius: .75rem;
|
||||
--td-input-vertical-padding: .25rem 1rem;
|
||||
|
||||
width: 100%;
|
||||
border: 1px solid var(--td-component-border);
|
||||
z-index: 1;
|
||||
padding-right: .3rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.menus {
|
||||
--td-spacer-1: 6px;
|
||||
|
||||
width: 100%;
|
||||
border: 1px solid var(--td-component-border);
|
||||
overflow: hidden;
|
||||
margin-top: -1rem;
|
||||
border-top: none;
|
||||
padding-top: .8rem;
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.summary {
|
||||
overflow: hidden;
|
||||
@@ -607,20 +574,7 @@ onUnmounted(() => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.point-ledger-list {
|
||||
.filters {
|
||||
background: #10161f;
|
||||
|
||||
.menus {
|
||||
background: #1a2330;
|
||||
}
|
||||
|
||||
.customer {
|
||||
background: #10161f;
|
||||
}
|
||||
}
|
||||
|
||||
.customer-id,
|
||||
.empty {
|
||||
.customer-id {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
|
||||
@@ -251,23 +251,6 @@ onUnmounted(() => {
|
||||
padding: var(--app-nav-height) 0 5rem;
|
||||
flex-direction: column;
|
||||
|
||||
.filters {
|
||||
top: var(--app-nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
padding: .75rem 1rem;
|
||||
position: sticky;
|
||||
flex-direction: column;
|
||||
|
||||
.keyword {
|
||||
--td-input-vertical-padding: .25rem 1rem;
|
||||
|
||||
border: 1px solid var(--td-component-border);
|
||||
border-radius: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 10px;
|
||||
@@ -300,9 +283,6 @@ onUnmounted(() => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.redeem-sku-list {
|
||||
.filters {
|
||||
background: #10161f;
|
||||
}
|
||||
|
||||
.fallback {
|
||||
color: #ccfbf1;
|
||||
|
||||
@@ -473,46 +473,6 @@ onUnmounted(() => {
|
||||
.redemption-list {
|
||||
padding: var(--app-nav-height) 0 1rem;
|
||||
|
||||
.filters {
|
||||
top: var(--app-nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
padding: .75rem 1rem;
|
||||
position: sticky;
|
||||
flex-direction: column;
|
||||
|
||||
.keyword {
|
||||
--td-input-vertical-padding: .25rem 1rem;
|
||||
|
||||
flex: 1;
|
||||
border: 1px solid var(--td-component-border);
|
||||
z-index: 2;
|
||||
padding-right: .3rem;
|
||||
border-radius: 1rem;
|
||||
|
||||
.actions {
|
||||
--td-button-border-radius: .75rem;
|
||||
|
||||
gap: .25rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.menus {
|
||||
--td-spacer-1: 6px;
|
||||
|
||||
width: 100%;
|
||||
border: 1px solid var(--td-component-border);
|
||||
overflow: hidden;
|
||||
margin-top: -1rem;
|
||||
border-top: none;
|
||||
padding-top: .8rem;
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.list-wrap {
|
||||
gap: 1rem;
|
||||
@@ -548,13 +508,6 @@ onUnmounted(() => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.redemption-list {
|
||||
.filters {
|
||||
background: #10161f;
|
||||
|
||||
.menus {
|
||||
background: #1d2733;
|
||||
}
|
||||
}
|
||||
|
||||
.fallback {
|
||||
color: #ccfbf1;
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
line-numbers
|
||||
class="code"
|
||||
/>
|
||||
<div v-else class="center-tips" v-text="'暂无脚本代码'" />
|
||||
<center-tips v-else :content="'暂无脚本代码'" />
|
||||
</template>
|
||||
</t-cell>
|
||||
</template>
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
</template>
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
<div class="center-tips" v-text="loadStateText" />
|
||||
<center-tips :content="loadStateText" />
|
||||
</t-pull-down-refresh>
|
||||
</main>
|
||||
|
||||
@@ -420,9 +420,6 @@ onMounted(async () => {
|
||||
|
||||
:global(html.theme-dark) {
|
||||
.point-rule-list {
|
||||
.empty {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.list .priority {
|
||||
color: #bfdbfe;
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</t-cell>
|
||||
</vue-draggable-next>
|
||||
</t-cell-group>
|
||||
<div v-else class="empty-block" v-text="isLoading ? '正在加载启用规则' : '暂无启用规则'" />
|
||||
<center-tips v-else :content="isLoading ? '正在加载启用规则' : '暂无启用规则'" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -201,18 +201,12 @@ onUnmounted(() => clearPageNavBarRight());
|
||||
.point-rule-sort {
|
||||
padding: calc(var(--app-nav-height) + 1rem) 0 6rem;
|
||||
|
||||
.tip,
|
||||
.empty-block {
|
||||
.tip {
|
||||
color: #52607a;
|
||||
padding: 0 1rem .75rem;
|
||||
font-size: .8125rem;
|
||||
}
|
||||
|
||||
.empty-block {
|
||||
padding-top: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.draggable {
|
||||
.cell {
|
||||
.title { font-weight: 600; }
|
||||
@@ -233,7 +227,6 @@ onUnmounted(() => clearPageNavBarRight());
|
||||
:global(html.theme-dark) {
|
||||
.point-rule-sort {
|
||||
.tip,
|
||||
.empty-block,
|
||||
.handle { color: #94a3b8; }
|
||||
.draggable .cell { background: rgba(15, 23, 42, .88); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user