Merge branch 'develop' of github.com:Tencent/tdesign-vue-next-starter into develop

This commit is contained in:
94dreamer 2022-03-18 18:00:17 +08:00
commit 9a2f2c1198
4 changed files with 19 additions and 12 deletions

View File

@ -4,6 +4,7 @@
"scripts": { "scripts": {
"dev:mock": "vite --open --mode mock", "dev:mock": "vite --open --mode mock",
"dev": "vite --open --mode development", "dev": "vite --open --mode development",
"dev:linux": "vite --mode development",
"build:test": "vite build --mode test", "build:test": "vite build --mode test",
"build": "vue-tsc --noEmit && vite build --mode release", "build": "vue-tsc --noEmit && vite build --mode release",
"preview": "vite preview", "preview": "vite preview",
@ -24,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.9.4", "tdesign-vue-next": "0.10.2",
"tvision-color": "^1.3.1", "tvision-color": "^1.3.1",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-color-kit": "^1.0.5", "vue-color-kit": "^1.0.5",

View File

@ -45,7 +45,9 @@
<t-radio value="2"> 付款 </t-radio> <t-radio value="2"> 付款 </t-radio>
</t-radio-group> </t-radio-group>
<span class="space-item" /> <span class="space-item" />
<t-input placeholder="请输入金额" :style="{ width: '160px' }" /> <div>
<t-input placeholder="请输入金额" :style="{ width: '160px' }" />
</div>
</t-form-item> </t-form-item>
</t-col> </t-col>

View File

@ -7,11 +7,13 @@
<t-button variant="base" theme="default" :disabled="!selectedRowKeys.length"> 导出合同 </t-button> <t-button variant="base" theme="default" :disabled="!selectedRowKeys.length"> 导出合同 </t-button>
<p v-if="!!selectedRowKeys.length" class="selected-count">已选{{ selectedRowKeys.length }}</p> <p v-if="!!selectedRowKeys.length" class="selected-count">已选{{ selectedRowKeys.length }}</p>
</div> </div>
<t-input v-model="searchValue" class="search-input" placeholder="请输入你需要搜索的内容" clearable> <div class="search-input">
<template #suffix-icon> <t-input v-model="searchValue" placeholder="请输入你需要搜索的内容" clearable>
<search-icon size="20px" /> <template #suffix-icon>
</template> <search-icon size="20px" />
</t-input> </template>
</t-input>
</div>
</t-row> </t-row>
<t-table <t-table

View File

@ -2,11 +2,13 @@
<div> <div>
<div class="list-card-operation"> <div class="list-card-operation">
<t-button @click="formDialogVisible = true"> 新建产品 </t-button> <t-button @click="formDialogVisible = true"> 新建产品 </t-button>
<t-input v-model="searchValue" class="search-input" placeholder="请输入你需要搜索的内容" clearable> <div class="search-input">
<template #suffix-icon> <t-input v-model="searchValue" placeholder="请输入你需要搜索的内容" clearable>
<search-icon v-if="searchValue === ''" size="20px" /> <template #suffix-icon>
</template> <search-icon v-if="searchValue === ''" size="20px" />
</t-input> </template>
</t-input>
</div>
</div> </div>
<dialog-form v-model:visible="formDialogVisible" :data="formData" /> <dialog-form v-model:visible="formDialogVisible" :data="formData" />