index.wxml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <view style="height: 14rpx;"></view>
  2. <My_NavTabs tabsList="{{tabsList}}" tabsIndex="{{tabsIndex}}" bindsetIndex="setIndex" liveDownload="{{true}}" />
  3. <view class="msgBox">
  4. <!-- 标题和按钮 -->
  5. <view class="msgBox-title-and-but">
  6. <view class="msgBox-title">直播账号信息</view>
  7. <view class="msgBox-but">
  8. <van-button custom-class="custom-class-msgBox-but">一键开播</van-button>
  9. </view>
  10. </view>
  11. <!-- 直播信息 -->
  12. <view wx:if="{{accountStatus==1}}" class="account-information">
  13. <view class="account-information-row">
  14. <view>
  15. <view class="title" style="margin-right: 8rpx;">密码</view>{{accountMsg.channelpasswd}}
  16. </view>
  17. <view>
  18. <view class="title">直播间地址</view>
  19. <view class="chained-address u-line-1">{{accountMsg.fliveshowurl}}</view>
  20. <view data-url="{{accountMsg.fliveshowurl}}" class="chained-address-copy" bindtap="copyTheAddress">复制</view>
  21. </view>
  22. </view>
  23. <view class="account-information-row">
  24. <view>
  25. <view class="title">助教地址</view>
  26. <view class="chained-address u-line-1">{{accountMsg.fassistanturl}}</view>
  27. <view data-url="{{accountMsg.fassistanturl}}" class="chained-address-copy" bindtap="copyTheAddress">复制</view>
  28. </view>
  29. </view>
  30. <view class="account-information-row">
  31. <view>
  32. <view class="title">客户端开播地址</view>
  33. <view class="chained-address u-line-1">{{accountMsg.fliveurl_client}}</view>
  34. <view data-url="{{accountMsg.fliveurl_client}}" class="chained-address-copy" bindtap="copyTheAddress">复制</view>
  35. </view>
  36. </view>
  37. <view class="account-information-row">
  38. <view>
  39. <view class="title">web端开播地址</view>
  40. <view class="chained-address u-line-1">{{accountMsg.fliveurl_web}}</view>
  41. <view data-url="{{accountMsg.fliveurl_web}}" class="chained-address-copy" bindtap="copyTheAddress">复制</view>
  42. </view>
  43. </view>
  44. </view>
  45. <view wx:else class="go-to-apply-for" catchtap="applyForLive">
  46. {{accountStatus==3?'暂无账号 点击申请 ':'直播申请中'}}<image wx:if="{{accountStatus==3}}" style="width: 20rpx; height: 22rpx; margin-left: 8rpx;" src="/static/icon-07.png"></image>
  47. </view>
  48. </view>
  49. <!-- 数据 -->
  50. <view wx:if="{{accountStatus==1}}" class="msgBox" style="white-space:nowrap;">
  51. <!-- 标题和按钮 -->
  52. <view class="msgBox-title-and-but">
  53. <view class="msgBox-title">直播数据</view>
  54. </view>
  55. <!-- 数据宫格 -->
  56. <view class="data-grid">
  57. <view>
  58. <view class="title">观看次数(次)</view>
  59. <view class="number">123</view>
  60. </view>
  61. <view>
  62. <view class="title">观看人数(人)</view>
  63. <view class="number">123</view>
  64. </view>
  65. <view>
  66. <view class="title">观看时长(分钟)</view>
  67. <view class="number">123</view>
  68. </view>
  69. <view>
  70. <view class="title">人均观看次数(次)</view>
  71. <view class="number">123</view>
  72. </view>
  73. <view>
  74. <view class="title">人均观看时长(分钟)</view>
  75. <view class="number">123</view>
  76. </view>
  77. </view>
  78. <!-- 数据表格 -->
  79. <scroll-view scroll-x="{{true}}" class="data-formlist">
  80. <!-- 表头 -->
  81. <view class="data-formlist-header">
  82. <view class="the-first-column">用户名称</view>
  83. <view class="the-second-series">用户id</view>
  84. <view class="the-second-series">观看时长</view>
  85. <view class="the-fourth-column">进入时间</view>
  86. <view class="the-word">地区</view>
  87. <view class="the-word">城市</view>
  88. <view class="the-first-column">观众IP</view>
  89. <view class="the-second-series">观看终端</view>
  90. <view class="the-second-series">场次</view>
  91. <view class="the-second-series">观看类型</view>
  92. </view>
  93. <!-- 表格 -->
  94. <view wx:for="{{3}}" class="data-formlist-row">
  95. <view class="the-first-column">好吃的薯片</view>
  96. <view class="the-second-series">1234533</view>
  97. <view class="the-second-series">6小时</view>
  98. <view class="the-fourth-column">2021-12-23 17:00:34</view>
  99. <view class="the-word">浙江</view>
  100. <view class="the-word">嘉兴</view>
  101. <view class="the-first-column">192.168.0.1</view>
  102. <view class="the-second-series">终端1</view>
  103. <view class="the-second-series">10场</view>
  104. <view class="the-second-series">直播</view>
  105. </view>
  106. </scroll-view>
  107. </view>