index.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <view class="swiper-cont container-fill">
  2. <!-- <view class="scroll-fullpage" bindtouchstart="scrollTouchstart" bindtouchend="scrollTouchend" style="transform:translateY(-{{scrollindex*100}}%);margin-top: {{margintop}}px">
  3. <view class="section section01 {{scrollindex==0?'active':''}}" style='background:red'>
  4. <view class='cont'>
  5. <image src="../../images/active_bar1.png" class='cont-body'></image>
  6. </view>
  7. </view>
  8. <view class="section section02 {{scrollindex==1?'active':''}}" style='background:pink'>
  9. <view class='cont'>
  10. <view class='cont-body'>
  11. <view>two</view>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="section section03 {{scrollindex==2?'active':''}}" style='background:blue'>
  16. <view class='cont'>
  17. <view class='cont-body'>
  18. <view>three</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="section section04 {{scrollindex==3?'active':''}}" style='background:green'>
  23. <view class='cont'>
  24. <view class='cont-body'>
  25. <view>foure</view>
  26. </view>
  27. </view>
  28. </view>
  29. </view> -->
  30. <view class="tabbar">
  31. <view class="tab1" bindtap="goIndex">
  32. <image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  33. <view style="color:#a342ff">首页</view>
  34. </view>
  35. <view class="tab1">
  36. <image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  37. <button id="red" type="primary" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}" open-type="contact">红娘</button>
  38. </view>
  39. <view class="tab1" bindtap="goMy">
  40. <image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  41. <view>我的</view>
  42. </view>
  43. </view>
  44. </view>