- <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">
- <van-icon name="search" size="{{iconSize * 2}}rpx" color="{{iconColor}}" />
- <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;"
- model:value="{{value}}" type="text" placeholder="{{placeholder}}" placeholder-style="color:{{placeholderColor}}" />
- <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}}">
- 搜索
- </view>
- </view>
|