提交 951a246e 编写于 作者: W WOSHIMAHAIFENG

补充button示例文案

上级 475a2441
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
@touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap"
@longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''"
:hover-class="default_style ? 'is-hover' : 'button-hover'"> :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} type-default
</button> </button>
</view> </view>
<view class="container"> <view class="container">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
@touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap"
@longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''"
:hover-class="default_style ? 'is-hover' : 'button-hover'"> :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} type-primary
</button> </button>
</view> </view>
<view class="container"> <view class="container">
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
@touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap"
@longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''"
:hover-class="default_style ? 'is-hover' : 'button-hover'"> :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} type-warn
</button> </button>
</view> </view>
<!--size--> <!--size-->
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
@touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel"
@touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn"
:class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} size-default
</button> </button>
</view> </view>
<view class="container"> <view class="container">
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
@touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel"
@touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn"
:class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} size-mini
</button> </button>
</view> </view>
<!--plain--> <!--plain-->
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
@touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap"
@longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''"
:hover-class="default_style ? 'is-hover' : 'button-hover'"> :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} plain-true
</button> </button>
</view> </view>
<view class="container"> <view class="container">
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
@touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap"
@longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''"
:hover-class="default_style ? 'is-hover' : 'button-hover'"> :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} plain-false
</button> </button>
</view> </view>
<!--disable--> <!--disable-->
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
@touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel"
@touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn"
:class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} disable-false
</button> </button>
</view> </view>
<view class="container"> <view class="container">
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
@touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel"
@touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn"
:class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'">
{{ text }} disable-true
</button> </button>
</view> </view>
</view> </view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册