引入Wot UI组件库

This commit is contained in:
2026-09-23 17:47:57 +08:00
parent 9a22980071
commit 08d8231671
12 changed files with 44 additions and 43 deletions
+3 -2
View File
@@ -51,8 +51,8 @@
<view class="box"><textarea v-model="comment" placeholder="选填" /></view>
</view>
<view class="btns">
<view class="btn no" @click="audit('reject')">驳回</view>
<view class="btn-primary yes" @click="audit('approve')">通过</view>
<wd-button plain type="error" @click="audit('reject')">驳回</wd-button>
<wd-button type="primary" custom-class="yes" @click="audit('approve')">通过</wd-button>
</view>
</view>
</view>
@@ -186,6 +186,7 @@ export default {
border-top: 1rpx solid #E8ECF2; padding: 16rpx 28rpx calc(16rpx + env(safe-area-inset-bottom));
}
.btns { display: flex; gap: 16rpx; }
.btns :deep(.wd-button) { flex: 1; }
.btn { flex: 1; height: 88rpx; border-radius: 16rpx; display: flex; align-items: center; justify-content: center; font-size: 30rpx; font-weight: 600; }
.no { background: #fff; color: #DC2626; border: 1rpx solid #FECACA; }
.yes { flex: 1.4; }