searchbar.wxml 1.2 KB

12345678
  1. <view class="searchbar" style="margin:{{margin.top * 2}}rpx {{margin.right * 2}}rpx {{margin.bottom * 2}}rpx {{margin.left * 2}}rpx;padding:{{padding.top* 2 }}rpx {{padding.right* 2 }}rpx {{padding.bottom* 2 }}rpx {{padding.left* 2 }}rpx;height:{{height * 2}}rpx;width:{{width}}%;background:{{backgroundColor}};border-radius:{{borderRadius * 2}}rpx">
  2. <van-icon name="search" size="{{iconSize * 2}}rpx" color="{{iconColor}}" />
  3. <input style="background:{{inputBgColor}};height:{{inputHeight * 2}}rpx;width:{{inputWidth * 2}}rpx;border-radius:{{inputBorderRadius * 2}}rpx;margin:{{inputMargin.top * 2}}rpx {{inputMargin.right * 2}}rpx {{inputMargin.bottom * 2}}rpx {{inputMargin.left * 2}}rpx;padding:{{inputPadding.top* 2 }}rpx {{inputPadding.right* 2 }}rpx {{inputPadding.bottom* 2 }}rpx {{inputPadding.left* 2 }}rpx;font-size:30rpx;"
  4. model:value="{{value}}" type="text" placeholder="{{placeholder}}" placeholder-style="color:{{placeholderColor}}" />
  5. <view class="btn" bind:tap="goGoodsLitst" style="width:{{btnWidth * 2}}rpx;height:{{btnHeight * 2}}rpx;font-size:{{btnFontSize * 2}}rpx;border-radius:{{btnBorderRadius * 2}}rpx;background:{{btnBgColor}};color:{{btnColor}}">
  6. 搜索
  7. </view>
  8. </view>