功能完善
This commit is contained in:
@@ -20,13 +20,13 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="user-item" :style="customStyle">
|
||||
<view class="user-item" :style="customStyle" @click="onClick">
|
||||
<text>{{ title }}</text>
|
||||
<view>
|
||||
<slot></slot>
|
||||
<button v-if="onClick !== null" @click="onClick">
|
||||
<view v-if="onClick !== null">
|
||||
<image src="../static/enter.png" mode="widthFix" />
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user