-
zhangwei
2025-03-05 16213c0f85aa3ac8317797bf4a05fd12940e16d3
src/uni_modules/uview-plus/components/u-radio/u-radio.vue
@@ -11,7 +11,7 @@
          :class="iconClasses"
          :style="[iconWrapStyle]"
      >
         <slot name="icon">
         <slot name="icon" :elIconSize="elIconSize" :elIconColor="elIconColor">
            <u-icon
                class="u-radio__icon-wrap__icon"
                name="checkbox-mark"
@@ -20,15 +20,18 @@
            />
         </slot>
      </view>
      <view class="u-radio__label-wrap cursor-pointer" @tap.stop="labelClickHandler">
         <slot name="label" :label="label" :elDisabled="elDisabled">
      <text
         class="u-radio__text"
          @tap.stop="labelClickHandler"
          :style="{
            color: elDisabled ? elInactiveColor : elLabelColor,
            fontSize: elLabelSize,
            lineHeight: elLabelSize
         }"
      >{{label}}</text>
         </slot>
      </view>
   </view>
</template>