index.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <template>
  2. <view class="web-foot">
  3. <view
  4. v-show="bottom"
  5. class="r_flex_zy home_lianxi"
  6. style="text-align: left"
  7. >
  8. <view style="width: 329rpx">
  9. <view
  10. style="color: #333; font-size: 13rpx; margin-bottom: 14rpx"
  11. class="r_wzjc"
  12. >联系我们
  13. </view>
  14. <view style="color: #65676a; font-size: 12rpx" class=""
  15. >欢迎任何形式的媒体与商务合作<br />
  16. 企业邮箱:cs@hninfornet.com<br />
  17. 联系地址:海南省海口市美兰区国兴大道5号海南大厦46层
  18. </view>
  19. </view>
  20. <view style="width: 177rpx">
  21. <view
  22. style="color: #333; font-size: 12rpx; margin-bottom: 14rpx"
  23. class="r_wzjc"
  24. >增值电信业务经营许可证
  25. </view>
  26. <view style="color: #65676a; font-size: 12rpx" class="">
  27. <view class="r_flex_align"><i></i> 编号:A2.B1.B2-20235652</view>
  28. <view class="r_flex_align"><i></i> 编号:A2.B1.B2-20235652</view>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- 尾部 -->
  33. <div class="web-footer r_flex_space">
  34. <img
  35. class=""
  36. src="/static/web/Slice 11@2x.png"
  37. style="width: 100%; height: auto; margin: 0rpx; margin-top: -1rpx"
  38. />
  39. </div>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. /**
  45. * 组件的属性列表
  46. * 用于组件自定义设置
  47. */
  48. props: {
  49. right: {
  50. type: Number,
  51. default: 30,
  52. },
  53. bottom: {
  54. type: Boolean,
  55. default: true,
  56. },
  57. },
  58. data() {
  59. return {
  60. // 弹窗显示控制
  61. isShow: false,
  62. transparent: true,
  63. };
  64. },
  65. computed: {
  66. rightPx() {
  67. return uni.upx2px(this.right);
  68. },
  69. bottomPx() {
  70. return uni.upx2px(this.bottom);
  71. },
  72. },
  73. methods: {
  74. /**
  75. * 导航菜单切换事件
  76. */
  77. onToggleShow() {
  78. const app = this;
  79. app.isShow = !app.isShow;
  80. app.transparent = false;
  81. },
  82. /**
  83. * 导航页面跳转
  84. */
  85. onTargetPage(index = 0) {
  86. const tabLinks = getTabBarLinks();
  87. this.$navTo(tabLinks[index]);
  88. },
  89. },
  90. };
  91. </script>
  92. <style lang="scss" scoped>
  93. /* 快捷导航 */
  94. .web-footer {
  95. width: 100%;
  96. }
  97. .home_lianxi {
  98. width: 750rpx;
  99. height: 178rpx;
  100. text-align: left;
  101. padding: 0rpx 75rpx;
  102. padding-bottom: 120rpx;
  103. padding-top: 40rpx;
  104. position: relative;
  105. font-size: 26rpx;
  106. background-image: url("/static/web/Slice 10@2x.png");
  107. background-size: cover; /* 或 contain */
  108. // background-position-x: 50rpx;
  109. i {
  110. display: block;
  111. margin-right: 6rpx;
  112. margin-top: 2rpx;
  113. width: 3rpx;
  114. height: 3rpx;
  115. border-radius: 100%;
  116. background: #65676a;
  117. }
  118. }
  119. </style>