index.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <!-- 商城 -->
  3. <view class="">
  4. <view style="position: relative;">
  5. <!-- 自定义导航栏 -->
  6. <image src="../../static/images/index/back.png"
  7. style="width: 750rpx;height: 780rpx;position: absolute;top: -20rpx;z-index: -1;" mode=""></image>
  8. <u-navbar :safeAreaInsetTop="true" style="position: absolute;z-index: 110;background-color: rgba(0,0,0,0);">
  9. <view class="u-nav-slot" slot="left" style="display: flex;">
  10. <image src="../../static/images/index/xiaoxi.png" mode="" style="width: 40rpx;height: 40rpx;">
  11. </image>
  12. <image src="../../static/images/index/compile.png" mode=""
  13. style="width: 40rpx;height: 40rpx;margin-left: 22rpx;"></image>
  14. <image src="../../static/images/index/dianhua.png" mode=""
  15. style="width: 40rpx;height: 40rpx;margin-left: 22rpx;"></image>
  16. </view>
  17. <view class="u-nav-slot" slot="center" style="display: flex;">
  18. <u-subsection activeColor='#F83224' inactiveColor='#222' :list="list" :current="1"></u-subsection>
  19. </view>
  20. </u-navbar>
  21. </view>
  22. <kj-tabbar :value1=1></kj-tabbar>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. //顶部分段器
  30. list: ['跨境速递', '商城'],
  31. current: 1
  32. }
  33. },
  34. onLoad() {
  35. },
  36. methods: {
  37. }
  38. }
  39. </script>
  40. <style>
  41. ::v-deep .u-navbar__content.data-v-1194bf80 {
  42. background-color: rgba(0, 0, 0, 0) !important;
  43. }
  44. ::v-deep .u-status-bar.data-v-13f16680 {
  45. background-color: rgba(0, 0, 0, 0) !important;
  46. }
  47. </style>