cart.vue 888 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view class="container">
  3. <view class="cart-empty">
  4. <u-empty mode="car" width="500rpx" height="500rpx" icon="/static/images/empty/cart.png"></u-empty>
  5. </view>
  6. <view class="login-tips-box">
  7. <view class="login-tips">
  8. <navigator url="/pages/login/login" open-type="navigate" hover-class="none">
  9. <text class="login-link">登录</text>
  10. </navigator>
  11. <text>查看购物车</text>
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. title: ''
  21. }
  22. },
  23. onLoad() {},
  24. methods: {}
  25. }
  26. </script>
  27. <style lang="scss" scoped>
  28. .cart-empty {
  29. padding-top: 100rpx;
  30. }
  31. .login-tips-box {
  32. padding-top: 100rpx;
  33. .login-tips {
  34. @include flex-center;
  35. color: #939393;
  36. font-size: 28rpx;
  37. letter-spacing: 5rpx;
  38. }
  39. .login-link {
  40. color: $u-primary;
  41. }
  42. }
  43. </style>