cooperation.vue 2.0 KB

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