LDYtianXie.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view>
  3. <view class="box2">
  4. <view class="XianT">
  5. <!-- 模拟上边框 -->
  6. </view>
  7. <!-- 正文部分 -->
  8. <view class="box1s">
  9. <view class="tex">
  10. <span style="width: 60rpx;display: inline-block;"></span>一年有24个节气,每个生命在娘胎里孕育40周、280天,经历18个节气,缺失6个节气,与之对应的脏腑先天不足,能量较弱,后天容易出问健康问题。
  11. </view>
  12. <view class="tex" style="text-align: center;text-align-last: center;">
  13. 请建立正确生活方式,补足先天缺失!
  14. </view>
  15. <view class="" style="font-size: 0;margin-top: 20rpx;">
  16. <image class="imgWSM" src="@/static/LDY/wsm.png" mode=""></image>
  17. </view>
  18. <view class="tex1">
  19. 输入生日 请出花神
  20. </view>
  21. </view>
  22. <view class="XianB">
  23. <!-- 模拟下边框 -->
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script setup>
  29. import {
  30. ref,
  31. reactive
  32. } from 'vue'
  33. import {
  34. HTTP
  35. } from '@/api/http.js'
  36. import {
  37. onShow,
  38. onLoad
  39. } from '@dcloudio/uni-app'
  40. import {
  41. jieqiFn
  42. } from '@/config' //返回节气样式(a,b),a是节气名称,b是类型,1是返回背景颜色,2是返回边框颜色,3是返回字体颜色
  43. </script>
  44. <style lang="scss" scoped>
  45. page {
  46. background: #B71515;
  47. }
  48. .box2 {
  49. width: 686rpx;
  50. height: 1320rpx;
  51. background: #F09455;
  52. border-radius: 8rpx;
  53. margin: 0 auto;
  54. padding-top: 8rpx;
  55. margin-top: 32rpx;
  56. .XianT {
  57. width: 654rpx;
  58. height: 10rpx;
  59. background: #FFEFC2;
  60. margin: 0 auto;
  61. border-radius: 4rpx 4rpx 0 0;
  62. }
  63. // 正文部分
  64. .box1s {
  65. width: 670rpx;
  66. height: 1282rpx;
  67. background: #FFEFC2;
  68. margin: 0 auto;
  69. border-radius: 4rpx;
  70. text-align: center;
  71. padding: 32rpx;
  72. .tex {
  73. text-align: justify;
  74. text-align-last: left;
  75. line-height: 50rpx;
  76. }
  77. .imgWSM{
  78. width: 622rpx;
  79. height: 272rpx;
  80. }
  81. .tex1{
  82. font-weight: 600;
  83. font-size: 32rpx;
  84. color: #E45050;
  85. margin-top: 32rpx;
  86. }
  87. }
  88. .XianB {
  89. width: 654rpx;
  90. height: 10rpx;
  91. background: #FFEFC2;
  92. margin: 0 auto;
  93. border-radius: 0 0 4rpx 4rpx;
  94. }
  95. }
  96. </style>