generated from thzxcx/vue3
feat: 删除View和Text引用
This commit is contained in:
@ -1,12 +1,21 @@
|
||||
<!--
|
||||
* @Author: zhaojinfeng 121016171@qq.com
|
||||
* @Date: 2023-07-11 10:08:42
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-07-13 16:18:04
|
||||
* @FilePath: \uni\packages\alert\index.vue
|
||||
* @Description:
|
||||
*
|
||||
-->
|
||||
<template>
|
||||
<View v-show="modelValue" h-100vh w-full w-750rpx relative bg="#818181" overflow-hidden z-1000>
|
||||
<View class="th-prompt" w-400rpx text-center rounded-16rpx absolute top="1/3" left="1/2" ml="-200rpx" right-0 bg-white z-1001>
|
||||
<View color="#3a3a3a" fs-32 font-400 my-48rpx>
|
||||
<view v-show="modelValue" h-100vh w-full w-750rpx relative bg="#818181" overflow-hidden z-1000>
|
||||
<view class="th-prompt" w-400rpx text-center rounded-16rpx absolute top="1/3" left="1/2" ml="-200rpx" right-0 bg-white z-1001>
|
||||
<view color="#3a3a3a" fs-32 font-400 my-48rpx>
|
||||
{{ content }}
|
||||
</View>
|
||||
<View fs-32>
|
||||
<View bg="#f2f7ff" h-1rpx mx-32rpx />
|
||||
<View
|
||||
</view>
|
||||
<view fs-32>
|
||||
<view bg="#f2f7ff" h-1rpx mx-32rpx />
|
||||
<view
|
||||
active="bg-#f2f7ff"
|
||||
flex-grow
|
||||
color="#3b82f6"
|
||||
@ -17,10 +26,10 @@
|
||||
@click="confirm"
|
||||
>
|
||||
{{ confirmText }}
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="Alert">
|
||||
|
Reference in New Issue
Block a user