follow.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <template>
  2. <view class="content">
  3. <image class="qr" src="../../static/image/followTop.jpg" mode="scaleToFill"></image>
  4. <image class="pint" src="../../static/image/followCenter.png" mode="scaleToFill"></image>
  5. <view class="text">
  6. <!-- #ifdef H5 -->
  7. 长按二维码识别
  8. <!-- #endif -->
  9. <!-- #ifndef H5 -->
  10. 扫码识别公众号
  11. <!-- #endif -->
  12. </view>
  13. <image class="buttomImg" src="../../static/image/followButtom.png" mode="widthFix"></image>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {};
  20. },
  21. onLoad(options) {},
  22. methods: {}
  23. };
  24. </script>
  25. <style lang="scss">
  26. page,
  27. .content {
  28. height: 100%;
  29. }
  30. .content {
  31. padding-bottom: 150rpx;
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. align-content: center;
  36. flex-wrap: wrap;
  37. line-height: 1;
  38. background-color: $color-green;
  39. .qr {
  40. margin: 0 75rpx;
  41. width: 600rpx;
  42. height: 600rpx;
  43. }
  44. .pint {
  45. margin: 0 auto;
  46. margin-top: 50rpx;
  47. width: 200rpx;
  48. height: 200rpx;
  49. }
  50. .text{
  51. color: #FFFFFF;
  52. width: 100%;
  53. flex-shrink: 0;
  54. text-align: center;
  55. margin-top: 30rpx;
  56. }
  57. .buttomImg {
  58. position: absolute;
  59. left: 0;
  60. right: 0;
  61. bottom: 0;
  62. width: 100%;
  63. height: 50rpx;
  64. }
  65. }
  66. </style>