project init & fix ui
This commit is contained in:
25
miniprogram_npm/tdesign-miniprogram/skeleton/skeleton.wxml
Normal file
25
miniprogram_npm/tdesign-miniprogram/skeleton/skeleton.wxml
Normal file
@@ -0,0 +1,25 @@
|
||||
<wxs src="./skeleton.wxs" module="this" />
|
||||
|
||||
<view wx:if="{{ loading }}" style="{{ customStyle }}" class="{{classPrefix}} {{prefix}}-class ">
|
||||
<view wx:if="{{ parsedRowcols.length }}" class="{{classPrefix}}__content">
|
||||
<view
|
||||
wx:for="{{parsedRowcols}}"
|
||||
wx:for-index="index"
|
||||
wx:for-item="row"
|
||||
wx:key="index"
|
||||
class="{{classPrefix}}__row {{prefix}}-class-row"
|
||||
>
|
||||
<view
|
||||
wx:for="{{ row }}"
|
||||
wx:for-index="index"
|
||||
wx:for-item="col"
|
||||
wx:key="index"
|
||||
class="{{col.class}} {{prefix}}-class-col"
|
||||
style="{{this.getStyle(col.style)}}"
|
||||
></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:else class="{{classPrefix}}__content">
|
||||
<slot />
|
||||
</view>
|
||||
Reference in New Issue
Block a user