選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

192 行
3.7 KiB

  1. <template>
  2. <view class="box">
  3. <!-- 顾问选择 -->
  4. <view class="nextcon">
  5. 下一位接待顾问:毛丫丫
  6. </view>
  7. <view class="tab">
  8. <view class="tabbox">
  9. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">全部</view>
  10. </view>
  11. <view class="tabbox">
  12. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">正在接待</view>
  13. </view>
  14. <view class="tabbox">
  15. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">空闲顾问</view>
  16. </view>
  17. </view>
  18. <view class="content">
  19. <view class="content-tips">
  20. <view class="top">
  21. <view class="tit">
  22. <view class="img">
  23. </view>
  24. <view class="test">
  25. 宋幸运
  26. </view>
  27. </view>
  28. <view class="state">
  29. <view class="point"></view>
  30. 接待中
  31. </view>
  32. </view>
  33. <view class="reception">
  34. <view class="">
  35. 今日接待:<test class="num">4</test>
  36. </view>
  37. <view class="btn">
  38. 暂停
  39. </view>
  40. </view>
  41. </view>
  42. <view class="content-tips">
  43. <view class="top">
  44. <view class="tit">
  45. <view class="img">
  46. </view>
  47. <view class="test">
  48. 宋幸运
  49. </view>
  50. </view>
  51. <view class="state">
  52. <!-- <view class="point"></view> -->
  53. <text style="color: #666666;">暂停接待</text>
  54. </view>
  55. </view>
  56. <view class="reception">
  57. <view class="">
  58. 今日接待:<test class="num">4</test>
  59. </view>
  60. <view class="btn">
  61. 恢复
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. </template>
  68. <script>
  69. export default {
  70. data(){
  71. return{
  72. value:"",
  73. activeTotal: 0,
  74. }
  75. },
  76. methods:{
  77. tabtimetap(idx){
  78. console.log(idx)
  79. this.activeTotal=idx
  80. }
  81. }
  82. }
  83. </script>
  84. <style lang="scss" scoped>
  85. .box{
  86. background: #F8F8F8;
  87. width: 100%;
  88. height: 100%;
  89. font-size: 30rpx;
  90. font-weight: 400;
  91. // line-height: 30px;
  92. .tab{
  93. height: 88rpx;
  94. border-bottom: 1px solid #E0E0E0;
  95. background: #FFFFFF;
  96. display: flex;
  97. align-items: center;
  98. .tabbox {
  99. flex: 1;
  100. height: 100%;
  101. text-align: center;
  102. line-height: 92rpx;
  103. color: #666666;
  104. font-size: 28rpx;
  105. display: flex;
  106. justify-content: center;
  107. .activecllasscet {
  108. border-bottom: 2px solid #2671E2;
  109. color: #2671E2;
  110. font-weight: 600;
  111. }
  112. }
  113. }
  114. .nextcon{
  115. height: 78rpx;
  116. background: #F4F8FD;
  117. color: #2671E2;
  118. text-align: center;
  119. line-height: 78rpx;
  120. }
  121. .content-tips{
  122. background: #fff;
  123. padding: 0 30rpx;
  124. height: 168rpx;
  125. margin-bottom: 20rpx;
  126. overflow: hidden;
  127. .top{
  128. margin-top: 19rpx;
  129. display: flex;
  130. justify-content: space-between;
  131. .tit{
  132. height: 52rpx;
  133. display: flex;
  134. .img{
  135. width: 52rpx;
  136. height: 52rpx;
  137. border-radius: 50%;
  138. line-height: 47rpx;
  139. text-align: center;
  140. background: #FFFFFF;
  141. border: 1px solid #C9C9C9;
  142. margin-right: 20rpx;
  143. }
  144. .test{
  145. font-weight: 600;
  146. color: #333333;
  147. margin-top: 6rpx;
  148. }
  149. }
  150. .state{
  151. display: flex;
  152. .point{
  153. width: 12rpx;
  154. height: 12rpx;
  155. background: #2B6EFF;
  156. border-radius: 50%;
  157. margin-right: 9rpx;
  158. margin-top: 16rpx;
  159. }
  160. }
  161. }
  162. .reception{
  163. display: flex;
  164. font-weight: 400;
  165. width: 100%;
  166. margin-top: 28rpx;
  167. justify-content: space-between;
  168. color: #666666;
  169. line-height: 30rpx;
  170. .btn{
  171. width: 100rpx;
  172. height: 48rpx;
  173. background: #FFFFFF;
  174. border-radius: 4rpx;
  175. border: 1px solid #C9C9C9;
  176. text-align: center;
  177. line-height: 48rpx;
  178. color: #333333;
  179. font-size: 28rpx;
  180. }
  181. }
  182. }
  183. }
  184. </style>