【类 型】:feat
【原 因】:再调用cell组件时候 方便控制cell内容简介的样式 比如控制字体颜色 【过 程】:cell组件 内容简介样式 通过参数暴露给 父级 【影 响】: # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
48c1e9f975
commit
3b13391c19
@ -5,7 +5,7 @@
|
||||
<view v-if="required===true" class="bg-m rad-c l-h-18 m-l-24 reqBox"></view>
|
||||
</view>
|
||||
<view class="fcb fz28 flex mac">
|
||||
<view class="fz24">{{cellCon}}</view>
|
||||
<view class="fz28" :class="conClass">{{cellCon}}</view>
|
||||
<u-icon name="arrow-right" size="28rpx"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
@ -28,6 +28,10 @@
|
||||
cellCon: {
|
||||
type: String
|
||||
},
|
||||
//cell内容标签的class
|
||||
conClass: {
|
||||
type: String
|
||||
},
|
||||
//是否显示 必填红点 默认不显示
|
||||
required: {
|
||||
type: Boolean,
|
||||
|
Loading…
Reference in New Issue
Block a user