mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 07:28:24 +08:00
feat: upgrade 0.16.0
This commit is contained in:
parent
5ed7b4ead5
commit
d5dc6912e4
|
@ -25,7 +25,7 @@
|
||||||
"pinia": "^2.0.11",
|
"pinia": "^2.0.11",
|
||||||
"qrcode.vue": "^3.2.2",
|
"qrcode.vue": "^3.2.2",
|
||||||
"tdesign-icons-vue-next": "^0.0.6",
|
"tdesign-icons-vue-next": "^0.0.6",
|
||||||
"tdesign-vue-next": "^0.15.4",
|
"tdesign-vue-next": "^0.16.0",
|
||||||
"tvision-color": "^1.3.1",
|
"tvision-color": "^1.3.1",
|
||||||
"vue": "^3.2.31",
|
"vue": "^3.2.31",
|
||||||
"vue-clipboard3": "^2.0.0",
|
"vue-clipboard3": "^2.0.0",
|
||||||
|
|
|
@ -4,11 +4,10 @@
|
||||||
<t-card title="统计数据" :subtitle="`(万元)${currentMonth}`" class="dashboard-chart-card">
|
<t-card title="统计数据" :subtitle="`(万元)${currentMonth}`" class="dashboard-chart-card">
|
||||||
<template #option>
|
<template #option>
|
||||||
<div class="dashboard-chart-title-container">
|
<div class="dashboard-chart-title-container">
|
||||||
<t-date-picker
|
<t-date-range-picker
|
||||||
class="card-date-picker-container"
|
class="card-date-picker-container"
|
||||||
theme="primary"
|
theme="primary"
|
||||||
mode="date"
|
mode="date"
|
||||||
range
|
|
||||||
:default-value="LAST_7_DAYS"
|
:default-value="LAST_7_DAYS"
|
||||||
@change="onCurrencyChange"
|
@change="onCurrencyChange"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -9,11 +9,10 @@
|
||||||
:class="{ 'dashboard-overview-card': true, 'overview-panel': true }"
|
:class="{ 'dashboard-overview-card': true, 'overview-panel': true }"
|
||||||
>
|
>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<t-date-picker
|
<t-date-range-picker
|
||||||
class="card-date-picker-container"
|
class="card-date-picker-container"
|
||||||
theme="primary"
|
theme="primary"
|
||||||
mode="date"
|
mode="date"
|
||||||
range
|
|
||||||
:default-value="LAST_7_DAYS"
|
:default-value="LAST_7_DAYS"
|
||||||
@change="onStokeDataChange"
|
@change="onStokeDataChange"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -20,12 +20,11 @@
|
||||||
<t-col :xs="12" :xl="9">
|
<t-col :xs="12" :xl="9">
|
||||||
<t-card class="dashboard-detail-card" title="采购商品申请趋势" subtitle="(件)">
|
<t-card class="dashboard-detail-card" title="采购商品申请趋势" subtitle="(件)">
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<t-date-picker
|
<t-date-range-picker
|
||||||
class="card-date-picker-container"
|
class="card-date-picker-container"
|
||||||
:default-value="LAST_7_DAYS"
|
:default-value="LAST_7_DAYS"
|
||||||
theme="primary"
|
theme="primary"
|
||||||
mode="date"
|
mode="date"
|
||||||
range
|
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
@change="onMaterialChange"
|
@change="onMaterialChange"
|
||||||
/>
|
/>
|
||||||
|
@ -44,12 +43,11 @@
|
||||||
</t-row>
|
</t-row>
|
||||||
<t-card :class="['dashboard-detail-card', 'row-margin']" title="采购商品满意度分布">
|
<t-card :class="['dashboard-detail-card', 'row-margin']" title="采购商品满意度分布">
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<t-date-picker
|
<t-date-range-picker
|
||||||
class="card-date-picker-container"
|
class="card-date-picker-container"
|
||||||
:default-value="LAST_7_DAYS"
|
:default-value="LAST_7_DAYS"
|
||||||
theme="primary"
|
theme="primary"
|
||||||
mode="date"
|
mode="date"
|
||||||
range
|
|
||||||
style="display: inline-block; margin-right: 8px; width: 240px"
|
style="display: inline-block; margin-right: 8px; width: 240px"
|
||||||
@change="onSatisfyChange"
|
@change="onSatisfyChange"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
<t-form-item label="合同类型" name="type">
|
<t-form-item label="合同类型" name="type">
|
||||||
<t-select
|
<t-select
|
||||||
v-model="formData.type"
|
v-model="formData.type"
|
||||||
|
style="display: inline-block"
|
||||||
class="form-item-content"
|
class="form-item-content"
|
||||||
:options="CONTRACT_TYPE_OPTIONS"
|
:options="CONTRACT_TYPE_OPTIONS"
|
||||||
placeholder="请选择合同类型"
|
placeholder="请选择合同类型"
|
||||||
|
|
|
@ -35,12 +35,11 @@
|
||||||
<t-tab-panel value="second" label="内容列表">
|
<t-tab-panel value="second" label="内容列表">
|
||||||
<t-card :bordered="false" class="card-padding-no" title="主页访问数据" describe="(次)">
|
<t-card :bordered="false" class="card-padding-no" title="主页访问数据" describe="(次)">
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<t-date-picker
|
<t-date-range-picker
|
||||||
class="card-date-picker-container"
|
class="card-date-picker-container"
|
||||||
:default-value="LAST_7_DAYS"
|
:default-value="LAST_7_DAYS"
|
||||||
theme="primary"
|
theme="primary"
|
||||||
mode="date"
|
mode="date"
|
||||||
range
|
|
||||||
@change="onLineChange"
|
@change="onLineChange"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -68,10 +68,6 @@ p {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.t-button + .t-button {
|
|
||||||
margin-left: var(--tdvns-spacer);
|
|
||||||
}
|
|
||||||
|
|
||||||
.container-base-margin-top {
|
.container-base-margin-top {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,10 +7,13 @@
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.t-button + .t-button {
|
.left-operation-container,.operation-container {
|
||||||
margin-left: var(--tdvns-spacer);
|
.t-button + .t-button {
|
||||||
|
margin-left: var(--tdvns-spacer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.t-layout.t-layout--with-sider {
|
.t-layout.t-layout--with-sider {
|
||||||
> .t-layout {
|
> .t-layout {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user