index.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!-- <cu-custom bgColor="bg-gradual-blue" isBack="{{true}}">
  2. <view slot="backText">返回</view>
  3. <view slot="content">背景颜色</view>
  4. </cu-custom> -->
  5. <van-dialog id="van-dialog" />
  6. <cu-custom bgColor="bg-white" isNotice="{{true}}">
  7. <view slot="content">
  8. 操作条
  9. </view>
  10. </cu-custom>
  11. <view class="bigcontainer">
  12. <van-search value="{{ searchValue }}" bind:change="onChange" use-action-slot shape="round" background="#4fc08d" placeholder="请输入搜索关键词">
  13. <view slot="action" bind:tap="changeSearch">搜索</view>
  14. </van-search>
  15. <view class="content0">
  16. <view>aa</view>
  17. <view>aa</view>
  18. </view>
  19. <view class="content1">
  20. <view class="left">撒旦撒旦撒</view>
  21. <view class="left">反反复复</view>
  22. </view>
  23. <view>
  24. <button class="cu-btn bg-green shadow" bindtap="showModal" data-target="DrawerModalR">右边</button>
  25. </view>
  26. <!-- 侧边抽屉 -->
  27. <view class="cu-modal drawer-modal justify-end {{modalName=='DrawerModalR'?'show':''}}" bindtap="hideModal">
  28. <view class="cu-dialog basis-xl" catchtap style="top:{{CustomBar}}px;height:calc(100vh - {{CustomBar}}px)">
  29. <!-- <view class="cu-list menu text-left">
  30. <view class="cu-item arrow" wx:for="{{5}}" wx:key="index">
  31. <view class="content">
  32. <view>Item {{index +1}}</view>
  33. </view>
  34. </view>
  35. </view> -->
  36. <view>
  37. ssssss
  38. </view>
  39. </view>
  40. </view>
  41. <view>
  42. <van-dropdown-menu>
  43. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" />
  44. <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" />
  45. </van-dropdown-menu>
  46. </view>
  47. <view>
  48. <van-button type="danger" bind:click="clickdialog">确认dialog</van-button>
  49. </view>
  50. <view class='echarts'>
  51. <ec-canvas id="mychart" canvas-id="mychart-bar" ec="{{ ec }}" force-use-old-canvas="true"></ec-canvas>
  52. </view>
  53. </view>