noowner.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <cover-view class="div no-owner">
  3. <cover-view class="div avatar-wraper">
  4. <cover-image mode="aspectFit" src="@/static/image/live/shimian.png" class="img avatar" />
  5. </cover-view>
  6. <text class="div tips other">
  7. 主播不在线,再逛逛吧
  8. </text>
  9. </cover-view>
  10. </template>
  11. <script>
  12. export default {
  13. props: {
  14. },
  15. data () {
  16. return {}
  17. },
  18. methods: {
  19. },
  20. computed: {}
  21. }
  22. </script>
  23. <style lang="scss" scoped>
  24. .no-owner {
  25. position:absolute;
  26. top:0;
  27. left:0;
  28. right:0;
  29. bottom: 0;
  30. background-color: #494949;
  31. /* #ifndef APP-PLUS-NVUE */
  32. display: flex;
  33. /* #endif */;
  34. flex-direction: column;
  35. align-items: center;
  36. }
  37. .avatar {
  38. width: 166rpx;
  39. height: 166rpx;
  40. overflow: hidden;
  41. }
  42. .avatar-wraper {
  43. padding-top: 280rpx;
  44. text-align: center
  45. }
  46. .tips {
  47. font-family: PingFangSC-Regular;
  48. font-size:12px;
  49. color: #FFFFFF;
  50. /* #ifndef APP-PLUS-NVUE */
  51. letter-spacing: 0;
  52. /* #endif */
  53. text-align: center;
  54. }
  55. .nick{
  56. padding-top: 30rpx;
  57. line-height: 37rpx;
  58. }
  59. .other{
  60. margin-top: 20rpx;
  61. }
  62. </style>