cook.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="container">
  3. <!-- 监控盒子 -->
  4. <view class="top">设备离线</view>
  5. <!-- 店铺信息区域 -->
  6. <view class="info">
  7. <view class="info_box">
  8. 店铺名 &nbsp;&nbsp;&nbsp;
  9. <text class="name">{{ shopName }}</text>
  10. </view>
  11. <view class="info_tips">因设备兼容性、网络信号或维护检修等因素,直播可能出现卡顿、加载失败等</view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. shopName: '未知'
  20. }
  21. },
  22. onLoad(options) {
  23. // console.log(options)
  24. if (options.shopName) {
  25. this.shopName = options.shopName
  26. }
  27. },
  28. methods: {}
  29. }
  30. </script>
  31. <style lang="scss" scoped>
  32. .container {
  33. height: 100vh;
  34. background-color: #ededed;
  35. .top {
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. width: 100%;
  40. height: 380rpx;
  41. color: #fff;
  42. background-color: #000;
  43. }
  44. .info {
  45. padding: 20rpx;
  46. margin-top: 20rpx;
  47. border-radius: 10rpx;
  48. background-color: #fff;
  49. .info_box {
  50. line-height: 70rpx;
  51. border-bottom: 2rpx solid #ccc;
  52. .name {
  53. color: #757575;
  54. }
  55. }
  56. .info_tips {
  57. margin-top: 10rpx;
  58. color: #757575;
  59. }
  60. }
  61. }
  62. </style>