Browse Source

尺寸适配

h5_css
蟑螂恶霸 3 years ago
parent
commit
60311799b7
  1. 2
      manifest.json
  2. 3
      pages/knowledge/knowledge.vue
  3. 21
      static/base_css.css
  4. BIN
      static/images/medal_1.png
  5. BIN
      static/images/medal_1g.png
  6. BIN
      static/images/medal_act1.png
  7. BIN
      static/images/medal_act1g.png
  8. BIN
      static/images/medal_act2.png
  9. BIN
      static/images/medal_act2g.png
  10. BIN
      static/images/medal_act3.png
  11. BIN
      static/images/medal_act3g.png
  12. BIN
      static/images/medal_act4.png
  13. BIN
      static/images/medal_act4g.png
  14. BIN
      static/images/medal_act5.png
  15. BIN
      static/images/medal_act5g.png
  16. BIN
      static/images/medal_act6.png
  17. BIN
      static/images/medal_act6g.png
  18. BIN
      static/images/medal_lv1.png
  19. BIN
      static/images/medal_lv1g.png
  20. BIN
      static/images/medal_lv2.png
  21. BIN
      static/images/medal_lv2g.png
  22. BIN
      static/images/medal_lv3.png
  23. BIN
      static/images/medal_lv3g.png
  24. BIN
      static/images/medal_lv4.png
  25. BIN
      static/images/medal_lv4g.png
  26. BIN
      static/images/medal_lv5.png
  27. BIN
      static/images/medal_lv5g.png
  28. BIN
      static/images/medal_lv6.png
  29. BIN
      static/images/medal_lv6g.png
  30. BIN
      static/images/medal_lv7.png
  31. BIN
      static/images/medal_lv7g.png
  32. BIN
      static/images/medal_un1.png
  33. BIN
      static/images/medal_un1g.png
  34. BIN
      static/images/medal_un2.png
  35. BIN
      static/images/medal_un2g.png
  36. BIN
      static/images/medal_un3.png
  37. BIN
      static/images/medal_un3g.png
  38. BIN
      static/images/medal_un4.png
  39. BIN
      static/images/medal_un4g.png
  40. BIN
      static/images/medal_un5.png
  41. BIN
      static/images/medal_un5g.png
  42. BIN
      static/images/medal_un6.png
  43. BIN
      static/images/medal_un6g.png
  44. BIN
      static/images/medal_un7.png
  45. BIN
      static/images/medal_un7g.png
  46. BIN
      static/images/medal_un8.png
  47. BIN
      static/images/medal_un8g.png
  48. BIN
      static/images/medal_un9.png
  49. BIN
      static/images/medal_un9g.png
  50. 4
      subpkg/address/address.vue
  51. 8
      subpkg/complete/complete.vue
  52. 2
      subpkg/feedback/feedback.vue
  53. 5
      subpkg/list/list.vue
  54. 4
      subpkg/medal/medal.vue
  55. 2
      subpkg/practice/practice.vue
  56. 2
      subpkg/role/role.vue

2
manifest.json

@ -61,7 +61,7 @@
/* */
"mp-weixin" : {
/* */
"appid" : "wx93ec514a5c456507",
"appid" : "wx9cf00eac2731a25d",
"setting" : {
"urlCheck" : false
},

3
pages/knowledge/knowledge.vue

@ -76,8 +76,7 @@
@import url("@/static/base_css.css");
.mainwrap {
top: 5vh;
height: 80vh;
height: calc(100% - 330rpx);
}
.title {

21
static/base_css.css

@ -47,7 +47,7 @@ img {
z-index: 9999;
padding: 0 5%;
width: 100%;
height: 6vh;
height: 90rpx;
color: #fff;
line-height: 30px;
background-color: #bac6fc;
@ -59,8 +59,8 @@ img {
.mainwrap {
position: relative;
top: 6vh;
height: 84vh;
top: 90rpx;
height: calc(100% - 250rpx);
width: 100%;
background-image: linear-gradient(to bottom, #bac6fc, transparent 50%);
box-sizing: content-box;
@ -216,16 +216,16 @@ h3.contit span {
.secbar {
position: relative;
z-index: 99;
top: 6vh;
top: 90rpx;
width: 100%;
height: 6vh;
height: 90rpx;
background-color: #bac6fc;
}
.secbar label.back {
display: inline-block;
position: relative;
top: 12rpx;
top: 16rpx;
left: 4%;
padding-left: 1.25rem;
width: 60rpx;
@ -260,22 +260,21 @@ h3.contit span {
overflow-y: auto;
padding: 1% 3% 9%;
width: 94%;
height: 100%;
height: 94%;
}
.mainwrap2, .mainwrap3, .tabwrap {
position: relative;
top: 6vh;
top: 90rpx;
width: 100%;
height: 88vh;
height: calc(100% - 90rpx);
background-image: linear-gradient(to bottom, #bac6fc, transparent 40%);
box-sizing: content-box;
overflow: hidden;
}
.mainwrap3 {
top: 0;
height: 89vh;
top: 50rpx;
overflow-y: hidden;
}

BIN
static/images/medal_1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

BIN
static/images/medal_1g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

BIN
static/images/medal_act1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

BIN
static/images/medal_act1g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

BIN
static/images/medal_act2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

BIN
static/images/medal_act2g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

BIN
static/images/medal_act3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

BIN
static/images/medal_act3g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

BIN
static/images/medal_act4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

BIN
static/images/medal_act4g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

BIN
static/images/medal_act5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

BIN
static/images/medal_act5g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

BIN
static/images/medal_act6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

BIN
static/images/medal_act6g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

BIN
static/images/medal_lv1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

BIN
static/images/medal_lv1g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

BIN
static/images/medal_lv2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

BIN
static/images/medal_lv2g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

BIN
static/images/medal_lv3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

BIN
static/images/medal_lv3g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

BIN
static/images/medal_lv4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

BIN
static/images/medal_lv4g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

BIN
static/images/medal_lv5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

BIN
static/images/medal_lv5g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

BIN
static/images/medal_lv6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

BIN
static/images/medal_lv6g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

BIN
static/images/medal_lv7.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

BIN
static/images/medal_lv7g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

BIN
static/images/medal_un1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

BIN
static/images/medal_un1g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

BIN
static/images/medal_un2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

BIN
static/images/medal_un2g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

BIN
static/images/medal_un3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

BIN
static/images/medal_un3g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

BIN
static/images/medal_un4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

BIN
static/images/medal_un4g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

BIN
static/images/medal_un5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

BIN
static/images/medal_un5g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

BIN
static/images/medal_un6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

BIN
static/images/medal_un6g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

BIN
static/images/medal_un7.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

BIN
static/images/medal_un7g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

BIN
static/images/medal_un8.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

BIN
static/images/medal_un8g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

BIN
static/images/medal_un9.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

BIN
static/images/medal_un9g.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

4
subpkg/address/address.vue

@ -145,6 +145,10 @@
<style lang="scss">
@import url("@/static/base_css.css");
.mainwrap2, .mainwrap3, .tabwrap {
height: calc(100% - 330rpx);
}
.address-border {
display: block;

8
subpkg/complete/complete.vue

@ -451,17 +451,13 @@
text-align: center;
.title {
display: inline-block;
margin-top: 0;
margin-top: 1.75vh;
}
}
.mainwrap2 {
height: 90vh;
}
.question-wrap {
position: relative;
margin: 2vh 0;
width: 100%;
}

2
subpkg/feedback/feedback.vue

@ -70,7 +70,7 @@
<style scoped>
@import url("@/static/base_css.css");
.table_index {
margin: 0 3%;
margin: 3% 3% 0;
padding: 50rpx 30rpx;
width: 94%;
height: 82vh;

5
subpkg/list/list.vue

@ -131,11 +131,6 @@
<style lang="scss">
@import url("@/static/base_css.css");
.mainwrap3 {
top: 3.5vh;
height: 90.5vh;
}
swiper {
position: relative;
top: 3vh;

4
subpkg/medal/medal.vue

@ -143,10 +143,6 @@
<style lang="scss">
@import url("@/static/base_css.css");
.secbar {
background-color: transparent;
}
.mainwrap2 {
top: 0;
height: calc(100% - 90rpx);

2
subpkg/practice/practice.vue

@ -75,12 +75,12 @@
}
.mainwrap3 {
top: 0;
height: 100%;
background-color: #000;
}
.role_wrap {
position: relative;
/* top: -62rpx; */
margin: 0;
width: 100%;
height: 100%;

2
subpkg/role/role.vue

@ -138,7 +138,7 @@
}
.mainwrap3 {
top: 0;
height: 94vh;
height: 95vh;
overflow: hidden;
}

Loading…
Cancel
Save