|
|
@@ -0,0 +1,31 @@
|
|
|
+// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
+
|
|
|
+exports[`basic usage 1`] = `
|
|
|
+"<view class=\\"nut-searchbar\\">
|
|
|
+ <!--v-if-->
|
|
|
+ <view class=\\"nut-searchbar__search-input\\">
|
|
|
+ <!--v-if-->
|
|
|
+ <view class=\\"nut-searchbar__input-inner\\">
|
|
|
+ <form action=\\"#\\"><input class=\\"nut-searchbar__input-bar\\" type=\\"text\\" maxlength=\\"9999\\" placeholder=\\"请输入\\"></form>
|
|
|
+ <view class=\\"nut-searchbar__input-clear\\" style=\\"display: none;\\"><i class=\\"nutui-iconfont nut-icon nut-icon-circle-close\\" style=\\"color: rgb(85, 85, 85); font-size: 12px; width: 12px; height: 12px;\\" src=\\"\\"></i></view>
|
|
|
+ </view>
|
|
|
+ <!--v-if-->
|
|
|
+ </view>
|
|
|
+ <!--v-if-->
|
|
|
+</view>"
|
|
|
+`;
|
|
|
+
|
|
|
+exports[`slot test 1`] = `
|
|
|
+"<view class=\\"nut-searchbar\\">
|
|
|
+ <!--v-if-->
|
|
|
+ <view class=\\"nut-searchbar__search-input\\">
|
|
|
+ <!--v-if-->
|
|
|
+ <view class=\\"nut-searchbar__input-inner\\">
|
|
|
+ <form action=\\"#\\"><input class=\\"nut-searchbar__input-bar\\" type=\\"text\\" maxlength=\\"9999\\" placeholder=\\"请输入\\"></form>
|
|
|
+ <view class=\\"nut-searchbar__input-clear\\" style=\\"display: none;\\"><i class=\\"nutui-iconfont nut-icon nut-icon-circle-close\\" style=\\"color: rgb(85, 85, 85); font-size: 12px; width: 12px; height: 12px;\\" src=\\"\\"></i></view>
|
|
|
+ </view>
|
|
|
+ <!--v-if-->
|
|
|
+ </view>
|
|
|
+ <!--v-if-->
|
|
|
+</view>"
|
|
|
+`;
|