mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat: 当前组件引入wxs文件 (#5650)
Co-authored-by: mobai <chenyuehan@youzan.com>
This commit is contained in:
parent
f98cf75027
commit
eeea4a8434
@ -1,3 +1,5 @@
|
|||||||
|
<wxs src="./index.wxs" module="computed" />
|
||||||
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||||
<view class="van-calendar">
|
<view class="van-calendar">
|
||||||
<header
|
<header
|
||||||
title="{{ title }}"
|
title="{{ title }}"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||||
<input
|
<input
|
||||||
id="{{ name }}"
|
id="{{ name }}"
|
||||||
class="{{ utils.bem('field__control', [inputAlign, { disabled, error }]) }} input-class"
|
class="{{ utils.bem('field__control', [inputAlign, { disabled, error }]) }} input-class"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||||
|
<wxs src="./index.wxs" module="computed" />
|
||||||
<textarea
|
<textarea
|
||||||
id="{{ name }}"
|
id="{{ name }}"
|
||||||
class="{{ utils.bem('field__control', [inputAlign, type, { disabled, error }]) }} input-class"
|
class="{{ utils.bem('field__control', [inputAlign, type, { disabled, error }]) }} input-class"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||||
|
<wxs src="./index.wxs" module="computed" />
|
||||||
<view
|
<view
|
||||||
wx:if="{{ inited }}"
|
wx:if="{{ inited }}"
|
||||||
class="custom-class {{ classes }} {{ utils.bem('popup', [position, { round, safe: safeAreaInsetBottom, safeTop: safeAreaInsetTop, safeTabBar: safeAreaTabBar }]) }}"
|
class="custom-class {{ classes }} {{ utils.bem('popup', [position, { round, safe: safeAreaInsetBottom, safeTop: safeAreaInsetTop, safeTabBar: safeAreaTabBar }]) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user