index.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="main" style="height:{{infoHeight}}px;">
  3. <view class="one">
  4. <input value="{{shoopingtext}}" bindinput="shoppinginput" placeholder="请输入商户名称"></input>
  5. <text bindtap="search">搜索</text>
  6. </view>
  7. <view class="two">
  8. <view class="list" wx:key="item" wx:for="{{list}}">
  9. <view class="name">{{item.merchant_name}}</view>
  10. <view class="other">
  11. <view class="otherInfo">办案人员:<text>{{item.user_name||'暂无' }}</text></view>
  12. <view class="otherInfo textOver">纠错时间:<text>{{item.address||'暂无' }}</text></view>
  13. </view>
  14. <view class="btn">
  15. <button type="info" size="mini" bindtap="toView" data-id="{{item.id}}">详细信息</button>
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. </mobile-main>
  21. <van-dialog use-slot title="{{dialog.title}}" show="{{ dialog.show }}" confirmButtonText="返回">
  22. <view class="dialog">
  23. <view wx:if="{{dialog.type=='1'}}" class="dialog_1">
  24. <form>
  25. <view class="content">
  26. <view class="left"><text>商户名称:</text></view>
  27. <view class="right"><input name="merchant_name" value="{{info.merchant_name}}" disabled></input></view>
  28. </view>
  29. <view class="content">
  30. <view class="left"><text>办案人员:</text></view>
  31. <view class="right"><input name="user_name" value="{{info.user_name}}" disabled></input></view>
  32. </view>
  33. <view class="content">
  34. <view class="left"><text>纠错内容:</text></view>
  35. <view class="right"><input name="content" value="{{info.content}}" disabled></input></view>
  36. </view>
  37. </form>
  38. </view>
  39. </view>
  40. </van-dialog>