优化页面
This commit is contained in:
1
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../common/assets.js");Math||o();const o=()=>"../Icon.js",t=e.defineComponent({__name:"index",props:{isSelected:{type:Boolean}},emits:["onChange"],setup(o,{emit:t}){const s=t,c=o;function i(){s("onChange",!c.isSelected)}return(o,t)=>e.e({a:!c.isSelected},c.isSelected?{b:e.p({file:e.unref(n.radioIcon),size:"20px"})}:{},{c:e.o$1(i)})}}),s=e._export_sfc(t,[["__scopeId","data-v-70b6652d"]]);wx.createComponent(s);
|
||||
6
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../Icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="radio-select data-v-70b6652d" bindtap="{{c}}"><view wx:if="{{a}}" class="radio-no-select data-v-70b6652d"/><icon wx:else class="data-v-70b6652d" u-i="70b6652d-0" bind:__l="__l" u-p="{{b||''}}"/></view>
|
||||
1
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/TUIKit/components/common/RadioSelect/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.data-v-70b6652d:not(not){display:flex;flex-direction:column;min-width:0;box-sizing:border-box}.radio-select.data-v-70b6652d{flex:1;flex-direction:column;cursor:pointer;-webkit-tap-highlight-color:transparent;justify-content:center}.radio-select .radio-no-select.data-v-70b6652d{height:20px;width:20px;border-radius:50%;border:2px solid #ddd}
|
||||
Reference in New Issue
Block a user