nomore.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <template>
  2. <view class="page-box">
  3. <view class="centre">
  4. <image :class="size" src="../static/images/nomore.svg" mode="widthFix"></image>
  5. <view class="tips">
  6. {{content}}
  7. </view>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. props: {
  14. content: {
  15. type: String,
  16. default: '因你看见,才有底线'
  17. },
  18. size:{
  19. type: String,
  20. default: 'medium'
  21. },
  22. isShow:{
  23. type:Boolean,
  24. default:true
  25. }
  26. }
  27. }
  28. </script>
  29. <style lang="scss" scoped>
  30. .page-box {
  31. position: relative;
  32. left: 0;
  33. // height: 50vh;
  34. }
  35. .centre {
  36. padding: 80rpx 0;
  37. display: flex;
  38. flex-flow: column nowrap;
  39. justify-content: space-around;
  40. align-items: center;
  41. image {
  42. // width: 387rpx;
  43. // height: 341rpx;
  44. display: block;
  45. width:200rpx;
  46. height: auto;
  47. // margin-bottom: 20rpx;
  48. // border: 1px dotted #000000;
  49. }
  50. .large{
  51. width:200rpx;
  52. height: auto;
  53. }
  54. .medium{
  55. width:100rpx;
  56. height: auto;
  57. }
  58. .mini{
  59. width:50rpx;
  60. height: auto;
  61. }
  62. .tips {
  63. margin-top: 30rpx;
  64. color: rgba(200, 201, 204, 1);
  65. font-family: DM Sans;
  66. font-size: 28rpx;
  67. font-weight: 400;
  68. line-height: 20px;
  69. letter-spacing: 0px;
  70. text-align: center;
  71. }
  72. .btn {
  73. margin: 80rpx auto;
  74. width: 600rpx;
  75. border-radius: 32rpx;
  76. line-height: 90rpx;
  77. color: #ffffff;
  78. font-size: 34rpx;
  79. background: #5074FF;
  80. }
  81. }
  82. </style>