App.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view>
  3. <login-pop-up ref='loginpopup' :content='"手机登录后才能查看我的哦~"'></login-pop-up>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. onLaunch: function() {
  9. console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
  10. console.log('App Launch')
  11. },
  12. onShow: function() {
  13. console.log('App Show')
  14. },
  15. onHide: function() {
  16. console.log('App Hide')
  17. }
  18. }
  19. </script>
  20. <style lang="scss">
  21. /*每个页面公共css */
  22. @import "@/uni_modules/uview-ui/index.scss";
  23. @import '@/uni_modules/uni-scss/index.scss';
  24. @import "colorui/main.css";
  25. @import '@/static/styles/index.scss';
  26. @import '@/style/icons/iconfont.css';
  27. @import '@/style/icons/iconfont-colors.css';
  28. @import '@/style/mercharts_icon/iconfont.css';
  29. @import '@/style/mercharts_icon/iconfont_colors.css';
  30. // 设置整个项目的背景色
  31. page {
  32. background-color: #F2F6F9;
  33. }
  34. .content{
  35. // padding-bottom:0rpx;
  36. }
  37. .wrap{
  38. background:#fff;
  39. border-radius:20rpx;
  40. margin:20rpx;
  41. padding:20rpx;
  42. }
  43. .caution{
  44. color:red;
  45. }
  46. .footer,.mercharts_footer{
  47. position:fixed;
  48. bottom:0;
  49. left:0;
  50. background:#fff;
  51. width:100%;
  52. z-index:10;
  53. padding:30rpx 0;
  54. .submit{
  55. background:#f8bc31;
  56. color:#fff;
  57. width:90%;
  58. }
  59. }
  60. .mercharts_footer{
  61. .submit{
  62. background:#5F7DE9;
  63. }
  64. }
  65. .flex{
  66. display:flex;
  67. }
  68. .justify-space-between{
  69. justify-content: space-between;
  70. }
  71. .align-item-center{
  72. align-items: center;
  73. }
  74. .detailedAddress{
  75. width:600rpx;
  76. text-align:center;
  77. }
  78. .merchants_button,.merchants_unable_button,.merchants_default_button,.merchants_caution_button{
  79. background:#5F7DE9;
  80. color:#fff;
  81. padding:5rpx 20rpx;
  82. border-radius: 10rpx;
  83. }
  84. .merchants_default_button{
  85. background:#fff;
  86. color:#000;
  87. border:2rpx solid #5F7DE9;
  88. }
  89. .merchants_default_button_text,
  90. .merchants_caution_button_text,
  91. .merchants_unable_button_text{
  92. padding:5rpx 10rpx;
  93. }
  94. .merchants_default_button_text{
  95. color:#5F7DE9;
  96. }
  97. .merchants_caution_button_text{
  98. color:red;
  99. }
  100. .merchants_unable_button_text{
  101. color:#999;
  102. }
  103. .merchants_caution_button{
  104. background:red;
  105. }
  106. .merchants_unable_button{
  107. background:#999;
  108. }
  109. </style>