Trae Assistant commited on
Commit
4d8fa85
·
1 Parent(s): e850ec0

样式 h5 条件编译

Browse files
src/pages/function/function.vue CHANGED
@@ -78,8 +78,11 @@ const showModal = () => {
78
  .container {
79
  padding: 30rpx;
80
  background-color: #f8f8f8;
 
 
81
  padding-top: 50px;
82
  min-height: calc(100vh - 100px);
 
83
  }
84
 
85
  .card {
 
78
  .container {
79
  padding: 30rpx;
80
  background-color: #f8f8f8;
81
+ min-height: 100vh;
82
+ /* #ifdef H5 */
83
  padding-top: 50px;
84
  min-height: calc(100vh - 100px);
85
+ /* #endif */
86
  }
87
 
88
  .card {
src/pages/index/index.vue CHANGED
@@ -69,8 +69,11 @@ const navigateTo = (path: string) => {
69
  <style lang="scss">
70
  .container {
71
  background-color: #f8f8f8;
 
 
72
  padding-top: 50px;
73
  min-height: calc(100vh - 100px);
 
74
  }
75
 
76
  .banner {
 
69
  <style lang="scss">
70
  .container {
71
  background-color: #f8f8f8;
72
+ min-height: 100vh;
73
+ /* #ifdef H5 */
74
  padding-top: 50px;
75
  min-height: calc(100vh - 100px);
76
+ /* #endif */
77
  }
78
 
79
  .banner {
src/pages/profile/profile.vue CHANGED
@@ -80,8 +80,11 @@ const handleLogout = () => {
80
  <style lang="scss">
81
  .container {
82
  background-color: #f8f8f8;
 
 
83
  padding-top: 50px;
84
  min-height: calc(100vh - 100px);
 
85
  }
86
 
87
  .user-header {
 
80
  <style lang="scss">
81
  .container {
82
  background-color: #f8f8f8;
83
+ min-height: 100vh;
84
+ /* #ifdef H5 */
85
  padding-top: 50px;
86
  min-height: calc(100vh - 100px);
87
+ /* #endif */
88
  }
89
 
90
  .user-header {