generated from thzxcx/vue3
refactor(样式): View Text
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* @Author: peerless_hero peerless_hero@outlook.com
|
||||
* @Date: 2023-07-08 01:44:46
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-07-10 19:07:56
|
||||
* @LastEditTime: 2023-07-13 12:11:08
|
||||
* @FilePath: \uni\packages\card-text\index.vue
|
||||
* @Description:
|
||||
*
|
||||
@ -16,20 +16,20 @@
|
||||
:
|
||||
</template>
|
||||
</slot>
|
||||
</View>
|
||||
<View color="#3a3a3a" flex-grow>
|
||||
</view>
|
||||
<view color="#3a3a3a" flex-grow>
|
||||
<slot name="text">
|
||||
<Text>
|
||||
<text>
|
||||
{{ text }}
|
||||
</Text>
|
||||
</text>
|
||||
</slot>
|
||||
</View>
|
||||
<View>
|
||||
</view>
|
||||
<view>
|
||||
<View h-48rpx w-128rpx rounded-8rpx border-solid color="#f3a73f" border="#f6ddb8" bg="#fff6e8" border-2rpx fs-24 leh-48 text-center>
|
||||
试试
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="CardText">
|
||||
|
@ -10,7 +10,7 @@
|
||||
<template>
|
||||
<View fs-30 font-500 leh-42 mx-24rpx mt-24rpx mb-12rpx color="#3A3A3A">
|
||||
<slot>{{ title }}</slot>
|
||||
</View>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="CardTitle">
|
||||
|
@ -2,16 +2,16 @@
|
||||
* @Author: peerless_hero peerless_hero@outlook.com
|
||||
* @Date: 2023-07-08 01:36:19
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-07-13 10:22:18
|
||||
* @LastEditTime: 2023-07-13 12:06:10
|
||||
* @FilePath: \uni\packages\card\index.vue
|
||||
* @Description:
|
||||
*
|
||||
-->
|
||||
<template>
|
||||
<View class="th-card" bg-white rounded-16rpx m-24rpx max-w-702rpx overflow-hidden>
|
||||
<view class="th-card" bg-white rounded-16rpx m-24rpx max-w-702rpx overflow-hidden>
|
||||
<slot />
|
||||
<View v-if="noCardActions" h-16rpx />
|
||||
</View>
|
||||
<view v-if="noCardActions" h-16rpx />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="Card">
|
||||
|
@ -12,7 +12,7 @@
|
||||
<View rounded-t-48rpx w-750rpx absolute bottom-0 bg-white z-1001>
|
||||
<View mt-32rpx mb-24rpx mx-48rpx fs-30 font-400>
|
||||
{{ title }}
|
||||
</View>
|
||||
</view>
|
||||
<View text-center mx-48rpx>
|
||||
<textarea
|
||||
v-model="value"
|
||||
@ -38,9 +38,9 @@
|
||||
>
|
||||
{{ confirmText }}
|
||||
</button>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="Prompt">
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
-->
|
||||
<template>
|
||||
<Text
|
||||
<text
|
||||
class="th-tag"
|
||||
:class="className"
|
||||
text-center
|
||||
@ -23,7 +23,7 @@
|
||||
rounded-16rpx
|
||||
>
|
||||
{{ text }}
|
||||
</Text>
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="Tag">
|
||||
|
Reference in New Issue
Block a user