init
This commit is contained in:
1
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),t=require("../_constants/prefix.js");require("../_utils/env.js");const s=require("../_utils/style.js"),n={...require("../_utils/props.js").commonProps,title:String,desc:String},o=`${t.PREFIX}-cell-group`,r=e.defineComponent({name:o,options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}}),i=e.defineComponent({...r,props:n,setup(t){const n=t,r=e.useSlots(),i=e.computed((()=>s.getMainClass(n,o)));return(t,s)=>e.e({a:e.unref(r).title},e.unref(r).title?{}:e.e({b:n.title},n.title?{c:e.t(n.title)}:{}),{d:e.unref(r).desc},e.unref(r).desc?{}:e.e({e:n.desc},n.desc?{f:e.t(n.desc)}:{}),{g:e.n(i.value),h:e.s(n.customStyle)})}});wx.createComponent(i);
|
||||
4
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{g}}" style="{{h}}"><slot wx:if="{{a}}" name="title"/><block wx:else><view wx:if="{{b}}" class="nut-cell-group__title">{{c}}</view></block><slot wx:if="{{d}}" name="desc"/><block wx:else><view wx:if="{{e}}" class="nut-cell-group__desc">{{f}}</view></block><view class="nut-cell-group__wrap"><slot/></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/uni_modules/nutui-uni/components/cellgroup/cellgroup.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.nut-theme-dark .nut-cell-group__wrap{color:var(--nut-dark-color, var(--nut-white, #fff));background:var(--nut-dark-background3, #141414);box-shadow:none}.nut-cell-group{display:block}.nut-cell-group__title{display:inherit;padding:var(--nut-cell-group-title-padding, 0 10px);margin-top:30px;margin-bottom:10px;font-size:var(--nut-cell-group-title-font-size, var(--nut-font-size-2, 14px));line-height:var(--nut-cell-group-title-line-height, 20px);color:var(--nut-cell-group-title-color, #909ca4)}.nut-cell-group__desc{display:inherit;padding:var(--nut-cell-group-desc-padding, 0 10px);margin-top:10px;margin-bottom:10px;font-size:var(--nut-cell-group-desc-font-size, var(--nut-font-size-1, 12px));line-height:var(--nut-cell-group-desc-line-height, 16px);color:var(--nut-cell-group-desc-color, #909ca4)}.nut-cell-group__wrap{display:inherit;margin:10px 0;overflow:hidden;background-color:var(--nut-cell-group-background-color, var(--nut-white, #fff));border-radius:var(--nut-cell-border-radius, 6px);box-shadow:var(--nut-cell-box-shadow, 0 1px 7px 0 #edeef1)}.nut-cell-group__wrap .nut-cell{margin:0;border-radius:0;box-shadow:none}.nut-cell-group .nut-cell:after{border-bottom:var(--nut-cell-after-border-bottom, 1px solid #f5f6f7)}
|
||||
Reference in New Issue
Block a user