fix:radio修复

This commit is contained in:
kele
2023-03-13 17:42:11 +08:00
parent 0dd5fde92c
commit 497d4e295f
10 changed files with 186 additions and 176 deletions
+22 -16
View File
@@ -58,23 +58,29 @@
</uni-forms-item>
</view>
</uni-forms>
<label class="ss-flex ss-m-t-20" @tap="onChange" v-if="state.protocol?.status == 1">
<radio :checked="state.isAgree" color="var(--ui-BG-Main)" style="transform: scale(0.6)" />
<view class="agreement-text ss-flex">
<view class="ss-m-r-4">勾选代表同意</view>
<view
class="tcp-text"
@tap.stop="
sheep.$router.go('/pages/public/richtext', {
id: state.protocol.id,
title: state.protocol.title,
})
"
>
{{ state.protocol.title }}
<radio-group @change="onChange" v-if="state.protocol?.status == 1">
<label class="ss-flex ss-m-t-20">
<radio
:checked="state.isAgree"
color="var(--ui-BG-Main)"
style="transform: scale(0.6)"
/>
<view class="agreement-text ss-flex">
<view class="ss-m-r-4">勾选代表同意</view>
<view
class="tcp-text"
@tap.stop="
sheep.$router.go('/pages/public/richtext', {
id: state.protocol.id,
title: state.protocol.title,
})
"
>
{{ state.protocol.title }}
</view>
</view>
</view>
</label>
</label>
</radio-group>
<su-fixed bottom placeholder>
<view class="submit-box ss-flex ss-row-center ss-p-30">
<button class="submit-btn ss-reset-button ui-BG-Main ui-Shadow-Main" @tap="submit">