Commit 92040f2cba0865fd0738916fe83a31984f5f5d1e
1 parent
d4518966
顶部距离
Showing
2 changed files
with
1 additions
and
2 deletions
src/pages/index/index.less
src/pages/index/index.vue
| ... | ... | @@ -66,7 +66,7 @@ |
| 66 | 66 | |
| 67 | 67 | </div> |
| 68 | 68 | <!--头部返回和分享--> |
| 69 | - <div v-show="isCNLive.value" class="top_box"> | |
| 69 | + <div v-show="isCNLive.value" :style= "'top:'+ $parent.top.value + 'px'" class="top_box"> | |
| 70 | 70 | <img @click="$parent.back()" src="../../../static/img/back.jpg" alt=""/> |
| 71 | 71 | <img @click="$parent.toShare('22','1')" src="../../../static/img/share.jpg" alt=""/> |
| 72 | 72 | </div> | ... | ... |