Browse Source

ui优化

h5_css
蟑螂恶霸 2 years ago
parent
commit
337fc25022
  1. 4
      components/s-video/res-s-video.vue
  2. 6
      components/s-video/s-video.vue
  3. 2
      static/base_css.css
  4. 6
      subpkg/list/list.vue
  5. 1
      subpkg/medal/medal.vue

4
components/s-video/res-s-video.vue

@ -385,7 +385,7 @@
position: absolute;
top: 30%;
width: 100%;
font-size: 1.2rem;
font-size: 1.1rem;
}
.judd {
@ -421,7 +421,7 @@
left: 50%;
transform: translate(-50%, -50%);
width: 560rpx;
height: 400rpx;
height: 560rpx;
}
.failed-tip image {

6
components/s-video/s-video.vue

@ -6,7 +6,7 @@
<view style="position:relative;width:100%;" :style="{'height':videoHeight+'px'}">
<video id="video_play" @click="stopPlay" :src="videoObj.videoUrl" :controls="false" @ended="videoEnded()"
@loadedmetadata="onMetadataLoaded" :autoplay="auto" :show-fullscreen-btn="false" :loop="isLoop"
style="width: 100%;height: 100%;" object-fit="cover"></video>
style="width: 100%;height: 100%;" object-fit="none"></video>
<view class="question"></view>
<view class="popup-layer-back" v-if="!start" v-show="question">
<!-- <view class="popup-layer-close" @click="question=false">关闭</view> -->
@ -379,7 +379,7 @@
top: 45%;
left: 10%;
width: 100%;
font-size: 1.2rem;
font-size: 1.1rem;
}
.popup-layer .anitem {
@ -434,7 +434,7 @@
left: 50%;
transform: translate(-50%, -50%);
width: 560rpx;
height: 400rpx;
height: 560rpx;
}
.failed-tip image {

2
static/base_css.css

@ -454,7 +454,7 @@ h3.contit span {
position: relative;
width: 94%;
min-height: 30%;
height: calc(90% - 17rem);
height: calc(90% - 15rem);
margin: 0 3%;
overflow: auto;
}

6
subpkg/list/list.vue

@ -157,8 +157,8 @@
<style lang="scss">
@import url("@/static/base_css.css");
.wrap{
height: 101%;
.wrap {
height: 101%;
}
swiper {
position: relative;
@ -183,7 +183,7 @@
margin: 4% 3%;
padding: 0 0 8%;
width: 94%;
//height: 52vh;
height: 52vh;
overflow-y: auto;
.nav-item {

1
subpkg/medal/medal.vue

@ -148,7 +148,6 @@
@import url("@/static/base_css.css");
.mainwrap2 {
height: calc(100% - 90rpx);
background: #fff url("/static/images/bg_medal.jpg") no-repeat left top;
background-size: 110% auto;
}

Loading…
Cancel
Save