index.wxml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <view>
  2. <view>
  3. <swiper indicator-dots="false" autoplay="true" interval="5000" duration="1000">
  4. <swiper-item>
  5. <image src="/assets/carousel/1.jpg" class="slide-image" mode="aspectFill" />
  6. </swiper-item>
  7. <swiper-item>
  8. <image src="/assets/carousel/2.jpg" class="slide-image" mode="aspectFill"/>
  9. </swiper-item>
  10. <swiper-item>
  11. <image src="/assets/carousel/3.jpg" class="slide-image" mode="aspectFill"/>
  12. </swiper-item>
  13. </swiper>
  14. </view>
  15. <view class="login-form">
  16. <form bindsubmit="doIdentify" >
  17. <i-input name="phone" title="用户" class="p20" maxlength="20" />
  18. <i-input name="passwd" title="密码" class="p50" type="password" maxlength="100" />
  19. <button class="i-btn i-btn-primary i-btn-square mt40" form-type="submit">绑定账号</button>
  20. </form>
  21. </view>
  22. <view class="tc">
  23. <view><text> 已经绑定过可以快捷登入 </text></view>
  24. <button class="mt20" type="primary" bindgetuserinfo="wxLogin" size="mini" open-type="getUserInfo">
  25. 快捷登入
  26. </button>
  27. </view>
  28. </view>