guide.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view class="home">
  6. <!-- 我是新人指南页面 -->
  7. <image :src="picture.h5" style="width: 100%;" mode="widthFix"></image>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. import mvBar from "@/components/mys_navBar/mysNavBar";
  13. export default {
  14. components: {
  15. mvBar,
  16. },
  17. data() {
  18. return {
  19. picture: {
  20. h5: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/h5.png'
  21. },
  22. mysNavConfig: {
  23. /* 占位开启 */
  24. // navPadding: true,
  25. /* 背景 */
  26. // bgColor: "#f8f8f8",
  27. /* 开启单页显示首页图标 */
  28. isHome: true,
  29. /* 固定导航 */
  30. navFixed: true,
  31. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  32. navTitle: {
  33. text: "新人指南",
  34. color: "",
  35. fontSize: "32rpx", // px upx rpx
  36. fontWeight: "", // 100 - 700
  37. },
  38. btnType: "type2",
  39. onLeftClick: '',
  40. /* type2 按钮 */
  41. type2Config: {
  42. // 左图标
  43. leftPath: "/static/img/png2.png",
  44. // 右图标
  45. rightPath: "/static/img/png4.png",
  46. // 圆角
  47. radius: "40rpx",
  48. },
  49. /* 定义右侧图标 */
  50. // rightIconPath: "/static/s.png",
  51. },
  52. };
  53. },
  54. methods: {
  55. }
  56. };
  57. </script>
  58. <style>
  59. </style>
  60. <style lang="scss" scoped>
  61. .butto {
  62. text-align: center;
  63. }
  64. .option {
  65. padding: 20rpx;
  66. }
  67. .uni-margin-wrap {
  68. width: 690rpx;
  69. width: 100%;
  70. ;
  71. }
  72. .swiper {
  73. height: 300rpx;
  74. }
  75. .swiper-item {
  76. display: block;
  77. height: 300rpx;
  78. line-height: 300rpx;
  79. text-align: center;
  80. }
  81. .swiper-list {
  82. margin-top: 40rpx;
  83. margin-bottom: 0;
  84. }
  85. .uni-common-mt {
  86. margin-top: 60rpx;
  87. position: relative;
  88. }
  89. .info {
  90. position: absolute;
  91. right: 20rpx;
  92. }
  93. .uni-padding-wrap {
  94. width: 550rpx;
  95. padding: 0 100rpx;
  96. }
  97. </style>