You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

consumerDetail.vue 43 KiB

2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674
  1. <template>
  2. <view class="box">
  3. <view class="content">
  4. <view class="content-tips" @click="goedit()">
  5. <view class="content-first">
  6. <view class="left">
  7. <view v-if="customerInfo.level.length==0"></view>
  8. <view class="img" v-else-if="customerInfo.level==1">A</view>
  9. <view class="img" v-else-if="customerInfo.level==2">B</view>
  10. <view class="img" v-else-if="customerInfo.level==3">C</view>
  11. <view class="img" v-else-if="customerInfo.level==4">D</view>
  12. <view class="test">{{customerInfo.name || '--'}}</view>
  13. <view class="edit" v-if="isEdit">
  14. <image class="screen-sel-img" src="../../../static/images/edit.png" mode=""></image>
  15. </view>
  16. </view>
  17. <view class="right">
  18. <view class="test">销讲执行:<text class="blue">{{ customerInfo.fraction || 0 }}%</text></view>
  19. </view>
  20. </view>
  21. <view class="content-sec">
  22. <view class="content-sec-lab">
  23. <view class="content-sec-lab1">
  24. 手机号码:{{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.length==11?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone:customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}
  25. </view>
  26. <view class="content-sec-lab1" style="width: 44%">到访次数:{{ customerInfo.visitRecord || 0 }}次/{{
  27. customerInfo.mm || 0
  28. }}min</view>
  29. </view>
  30. <view class="content-sec-lab">
  31. <view class="content-sec-lab1">挖掘执行:{{ customerInfo.wordFraction || 0 }}%</view>
  32. <view class="content-sec-lab1" style="width: 44%">
  33. 挖掘成功:{{ customerInfo.wordFinishFraction || 0 }}%</view>
  34. <!-- <view class="content-sec-lab1" @click.stop="tipupon" style="width: 44%">画像标签:<text
  35. class="look">{{
  36. customerInfo.demand.cusSemanticWordsList?customerInfo.demand.cusSemanticWordsList.length:0}}</text><text
  37. class="look1">查看</text></view> -->
  38. </view>
  39. <view class="content-sec-lab">
  40. <view class="content-sec-lab1">所属顾问:{{ customerInfo.agentName || "--" }}</view>
  41. <view class="content-sec-lab1" style="width: 44%">客户阶段:{{ customerInfo.stageName || "--" }}
  42. </view>
  43. </view>
  44. <view class="content-sec-lab">
  45. <view class="content-sec-lab1">上次到访:{{ customerInfo.createTime || "--" }}</view>
  46. </view>
  47. </view>
  48. <view class="content-last">
  49. <view class="content-last-con">
  50. 备注:{{customerInfo.remarks ? customerInfo.remarks : "暂无"}}
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="tab">
  56. <view class="tabbox">
  57. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">接待记录</view>
  58. </view>
  59. <view class="tabbox">
  60. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">跟进记录</view>
  61. </view>
  62. <view class="tabbox">
  63. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">销讲执行率</view>
  64. </view>
  65. <view class="tabbox">
  66. <view :class="{ activecllasscet: activeTotal == 3 }" @click="tabtimetap(3)">挖掘执行率</view>
  67. </view>
  68. </view>
  69. <view class="tabchange">
  70. <view style="min-height: 700rpx;">
  71. <!-- 接待记录 -->
  72. <view class="tabactive1" v-if="activeTotal==0">
  73. <view v-if="Thevisitingrecords.length==0"
  74. style="width: 100%;height: 100%;display: flex;align-items: center;">
  75. <view style="width: 100%;padding-top: 60rpx;">
  76. <view style="width: 100%;text-align: center;">
  77. <image style="width: 220rpx;height: 200rpx;"
  78. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  79. </view>
  80. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  81. </view>
  82. </view>
  83. <view v-if="Thevisitingrecords.length!=0" class="content-tips"
  84. v-for="(item,index) in Thevisitingrecords" :key="index" @click="tapThevisiting(item)">
  85. <view class="content-first">
  86. <view class="left">
  87. <view class="name">{{item.agentName}}</view>
  88. <view class="status" v-if="item.replaceReception==1">代接待</view>
  89. <view class="normal-status">{{item.receptionStatusName || ''}}
  90. </view>
  91. </view>
  92. <view class="right" v-if="item.recording!=0">
  93. <view style="margin-right: 6rpx;">{{item.validInvalidName||''}}</view>
  94. <view v-if="methodsisshow">
  95. <text style="color: red;" v-if="item.taboo==1">违禁接待</text>
  96. <text v-if="item.taboo==1"> |</text>
  97. </view>
  98. <view v-if="item.markAdvisor==0" class="">未标记</view>
  99. <view v-if="item.markAdvisor==1" class="">已标记</view>
  100. </view>
  101. <view class="right" v-else>
  102. <view class="">无录音</view>
  103. </view>
  104. </view>
  105. <view class="content-time">
  106. {{item.createTime}} | {{item.mm || '0'}}min
  107. </view>
  108. <view class="content-sec">
  109. <view class="left">客户:{{item.name || '--'}}</view>
  110. <view class="right">销讲业务:{{ item.marketingBusinessName || '--' }}</view>
  111. </view>
  112. <view class="content-last">
  113. <view class="cont-item">
  114. <view class="count">{{item.visitRecord|| 0}}</view>
  115. <view class="text">访问次数</view>
  116. </view>
  117. <view class="cont-item">
  118. <view class="count">{{item.wordFraction||0}}%</view>
  119. <view class="text">挖掘执行</view>
  120. </view>
  121. <view class="cont-item">
  122. <view class="count">{{item.wordFinishFraction|| 0}}%</view>
  123. <view class="text">挖掘成功</view>
  124. </view>
  125. <view class="cont-item">
  126. <view class="count" style="color: #2671E2;font-weight:600">{{item.fraction|| 0}}%</view>
  127. <view class="text">销讲执行率</view>
  128. </view>
  129. </view>
  130. </view>
  131. </view>
  132. <!-- 跟进记录 -->
  133. <view class="tabactive2" v-if="activeTotal==1" style="min-height: 600rpx;">
  134. <view v-if="fllowList.length==0"
  135. style="width: 100%;height:600rpx;display: flex;align-items: center;background-color: #FFFFFF;">
  136. <view style="width: 100%;padding-top: 60rpx;">
  137. <view style="width: 100%;text-align: center;">
  138. <image style="width: 220rpx;height: 200rpx;"
  139. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  140. </view>
  141. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  142. </view>
  143. </view>
  144. <view v-if="fllowList.length!=0" class="tab2-tips" v-for="(item,index) in fllowList" :key="index">
  145. <view class="tab2-first">
  146. <view class="tab2-first-1">
  147. <view class="tab2-first-left">
  148. <view class="img">{{item.agentName.slice(0,1) || '--'}}</view>
  149. <view class="name">{{item.agentName || '||'}}</view>
  150. </view>
  151. <view class="tab2-first-right">{{item.createTime}}</view>
  152. </view>
  153. <view class="tab2-first-foot">跟进内容:{{item.remarks || '暂无'}}</view>
  154. </view>
  155. <!-- <view class="tab2-sec">
  156. <view class="tab-sec-edit">编辑记录</view>
  157. </view> -->
  158. </view>
  159. </view>
  160. <!-- 销讲执行率 -->
  161. <view class="ratecenter" v-if="activeTotal==2">
  162. <view class="boxtittabs">
  163. <div class="items" @tap="showTemplate = true">销讲业务:{{ showBeText }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx"></u-icon></div>
  164. <div class="items">销讲执行:{{ totalRate||0 }}%</div>
  165. </view>
  166. <view
  167. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  168. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标
  169. </view>
  170. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
  171. </view>
  172. </view>
  173. <view v-if="ratelist.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;">
  174. <view style="width: 100%;padding-top: 60rpx;">
  175. <view style="width: 100%;text-align: center;">
  176. <image style="width: 220rpx;height: 200rpx;"
  177. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  178. </view>
  179. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  180. </view>
  181. </view>
  182. <view class="Level-box" v-if="ratelist.length!=0" v-for="(item,index) in ratelist" :key="index">
  183. <view class="Level1che" @click="changeshow(item,1)">
  184. <view class="title1">{{item.name}}</view>
  185. <view class="leve1-jindu">
  186. <view class="jindutiao">
  187. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  188. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%
  189. </view>
  190. </view>
  191. </view>
  192. <view class="jiantobox">
  193. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
  194. mode="" />
  195. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  196. </view>
  197. </view>
  198. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  199. <view class="Level2che" @click="changeshow2(subitem,1)">
  200. <view class="title1 u-line-1">{{subitem.name}}</view>
  201. <view class="leve1-jindu">
  202. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  203. <view class="zhixing2" v-else>未执行</view>
  204. </view>
  205. <view class="jiantobox">
  206. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  207. mode="" />
  208. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  209. </view>
  210. </view>
  211. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  212. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  213. v-for="(che,inc) in subitem.children" :key='inc'>
  214. <!-- che.selected==0 为本次接待-蓝色 ,viewFlag==1 为2次接待-黄色 未执行-灰色-->
  215. <view class="title1"
  216. :style="che.viewFlag==1?'color:#FF8C13':che.selected!=0?'color: #666':''">
  217. {{inc+1}}.{{che.name}}
  218. </view>
  219. <view class="jiantobox">
  220. <image v-if="che.selected==0&&che.viewFlag != 1" class="arrow"
  221. src="/static/images/rate-checked.png" mode="" />
  222. <image v-else-if="che.selected==0&&che.viewFlag == 1" class="arrow"
  223. src="/static/images/checked-yellow.png" mode="" />
  224. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  225. </view>
  226. </view>
  227. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  228. </view>
  229. </view>
  230. </view>
  231. <!-- 需求挖掘执行率 -->
  232. <view class="xuqiu" v-if="activeTotal==3">
  233. <!-- 暂无数据 -->
  234. <view v-if="KeyWordsfractionList.length==0"
  235. style="width: 100%;height: 100%;display: flex;align-items: center;">
  236. <view style="width: 100%;padding-top: 60rpx;">
  237. <view style="width: 100%;text-align: center;">
  238. <image style="width: 220rpx;height: 200rpx;"
  239. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  240. </view>
  241. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  242. </view>
  243. </view>
  244. <!-- 需求挖掘执行率 -->
  245. <view v-if="KeyWordsfractionList.length">
  246. <view class="top-box">
  247. <view style="width:50%;text-align:center">挖掘执行:{{customerInfo.wordFraction||0}}%</view>
  248. <view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
  249. </view>
  250. <view style="
  251. width: 100%;
  252. height: 80rpx;
  253. border-bottom: 1rpx solid #e0e0e0;
  254. display: flex;
  255. align-items: center;
  256. background: #fff;
  257. ">
  258. <view style="
  259. flex: 1;
  260. font-size: 28rpx;
  261. color: #333333;
  262. font-weight: 600;
  263. text-indent: 50rpx;
  264. ">指标</view>
  265. <view style="
  266. flex: 1;
  267. font-size: 28rpx;
  268. color: #333333;
  269. font-weight: 600;
  270. text-indent: 70rpx;
  271. ">执行率</view>
  272. <view style="
  273. flex: 1;
  274. font-size: 28rpx;
  275. color: #333333;
  276. font-weight: 600;
  277. text-indent: 70rpx;
  278. ">匹配标签</view>
  279. <view style="flex: 0 0 30rpx;"></view>
  280. </view>
  281. <!-- 暂无数据 -->
  282. <view v-if="KeyWordsfractionList.length == 0"
  283. style="width: 100%; height: 100%; display: flex; align-items: center">
  284. <view style="width: 100%; padding-top: 60rpx">
  285. <view style="width: 100%; text-align: center">
  286. <image style="width: 220rpx; height: 200rpx"
  287. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  288. </view>
  289. <view style="
  290. text-align: center;
  291. width: 100%;
  292. margin-top: 20rpx;
  293. color: #999999;
  294. ">暂无数据</view>
  295. </view>
  296. </view>
  297. <!-- 挖掘执行话术展示 -->
  298. <view class="Level-box" v-else v-for="(item, index) in KeyWordsfractionList" :key="index">
  299. <view class="Level1che" @click="changeshowlevel1(item, 1)">
  300. <view class="title1" style="flex: 1">{{ item.name }}</view>
  301. <view class="Level1-middle" style="flex: 2; display: flex">
  302. <view class="item" style="flex: 1; text-align: center">执行{{ item.fraction || 0 }}%
  303. </view>
  304. <view class="item" style="flex:1;text-align:center;color:#2671E2"
  305. v-if="item.keywordsList&&item.keywordsList.length">已匹配({{
  306. item.keywordsList.length
  307. }})</view>
  308. <view class="item" v-else style="flex:1;text-align:center;">未匹配</view>
  309. </view>
  310. <view class="jiantobox">
  311. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
  312. mode="" />
  313. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  314. </view>
  315. </view>
  316. <!-- 话术在一级下 -->
  317. <view v-if="item.children&&item.children.length==0">
  318. <view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
  319. <view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
  320. 客户标签:{{ getKeywordsList(item.keywordsList) }}</view>
  321. <view class="hsnrtest">话术内容:</view>
  322. <view v-if="item.modelList.length==0">暂无话术</view>
  323. <view class="Level3che" v-for="(che,inc) in item.modelList" :key='inc'>
  324. <view class="title1" @click="clickWajue(che)"
  325. :style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
  326. {{inc+1}}.{{che.showFormatExpression}}
  327. </view>
  328. <view class="jiantobox">
  329. <!-- 0本次选中 1未选中 2上次选中 -->
  330. <image v-if="che.isAskQuestions==0" class="arrow"
  331. src="/static/images/rate-checked.png" mode="" />
  332. <image v-else-if="che.isAskQuestions==2" class="arrow"
  333. src="/static/images/checked-yellow.png" mode="" />
  334. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  335. </view>
  336. </view>
  337. </view>
  338. </view>
  339. <!-- 话术在二级下 -->
  340. <view v-if="item.children&&item.children.length">
  341. <view class="hhhbox" v-if="item.show" v-for="(subitem, i) in item.children" :key="i">
  342. <view class="Level2che" @click="changeshow2(subitem, 1)">
  343. <view class="title1 u-line-1">{{ subitem.name }}</view>
  344. <view class="leve1-jindu">
  345. <view class="zhixing" v-if="subitem.isAskQuestions == 0">已执行</view>
  346. <view class="zhixing2" v-else>未执行</view>
  347. </view>
  348. <view class="leve1-jindu">
  349. <view class="zhixing" v-if="subitem.selected == 0">已匹配</view>
  350. <view class="zhixing2" v-else>未匹配</view>
  351. </view>
  352. <view class="jiantobox">
  353. <image v-if="!subitem.show" class="arrow rotatearrow"
  354. src="/static/images/down.png" mode="" />
  355. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  356. </view>
  357. </view>
  358. <view v-if="subitem.show" style="padding: 30rpx 0">
  359. <view class="hsnrtest" style="font-size: 30rpx;color: #333">
  360. 客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
  361. <view class="hsnrtest">话术内容:</view>
  362. <view v-if="subitem.modelList.length==0">暂无话术</view>
  363. <view class="Level3che" v-for="(che, inc) in subitem.modelList" :key="inc">
  364. <view class="title1" @click="clickWajue(che)" :style="
  365. che.isAskQuestions == 2
  366. ? 'color:#FF8C13'
  367. : che.isAskQuestions == 0
  368. ? ''
  369. : 'color: #666'
  370. ">{{ inc + 1 }}.{{
  371. che.showFormatExpression
  372. }}</view>
  373. <view class="jiantobox">
  374. <image v-if="che.isAskQuestions == 0" class="arrow"
  375. src="/static/images/rate-checked.png" mode="" />
  376. <image v-else-if="che.isAskQuestions == 2" class="arrow"
  377. src="/static/images/checked-yellow.png" mode="" />
  378. <image v-else class="arrow" src="/static/images/rate-nocheck.png"
  379. mode="" />
  380. </view>
  381. </view>
  382. </view>
  383. </view>
  384. </view>
  385. </view>
  386. </view>
  387. </view>
  388. </view>
  389. </view>
  390. <view class="pon-foot" v-if="buttonisshow">
  391. <!-- <view class="foot-tab" @click="goRemind">添加提醒</view> -->
  392. <view class="foot-tab" @click="followRecordAdd()">写跟进</view>
  393. </view>
  394. <!-- closeable -->
  395. <u-popup v-model="tipshow" mode="center" mask-close-able width="560rpx" border-radius="14">
  396. <scroll-view scroll-y="true" style="height: 440rpx;">
  397. <view style="display: flex; flex-wrap: wrap; padding:20rpx;">
  398. <view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWordsList"
  399. :key="index">
  400. {{item.name}}
  401. </view>
  402. </view>
  403. </scroll-view>
  404. </u-popup>
  405. <!-- 销讲业务 -->
  406. <u-select :mask-close-able="false" label-name="templateName" value-name="cusId" v-model="showTemplate"
  407. mode="single-column" :list="templateList" @cancel="templateCancel" @confirm="templateConfirm"></u-select>
  408. <!-- 加载组件 -->
  409. <loading v-model="LOADING"></loading>
  410. </view>
  411. </template>
  412. <script>
  413. import loading from "@/components/loading/index.vue"
  414. export default {
  415. components: {
  416. loading
  417. },
  418. data() {
  419. return {
  420. percent: 0,
  421. tabactive: 0,
  422. activeTotal: 0,
  423. customerId: '',
  424. tipshow: false,
  425. customerInfo: {
  426. name: '',
  427. createTime: '',
  428. agentName: ''
  429. },
  430. Thevisitingrecords: [],
  431. totalRate: "", // 销讲执行百分比
  432. ratelist: [],
  433. fllowList: [],
  434. KeyWordsfractionList: [], //需求挖掘话术list
  435. userInfo: {},
  436. buttonisshow: false,
  437. showBeText: '全部业务', //
  438. templateList: [], // 销讲业务
  439. showTemplate: false, // 展示选择销讲业务弹窗
  440. }
  441. },
  442. computed: {
  443. isEdit() {
  444. let arr = uni.getStorageSync('weapp_session_Menu_data')
  445. return arr.findIndex(item => {
  446. return item.name == '客户编辑'
  447. }) == -1 ? false : true
  448. }
  449. },
  450. onLoad(options) {
  451. this.LOADING = true
  452. this.customerId = options.id;
  453. },
  454. onShow() {
  455. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  456. if (this.userInfo.dataCode == 6) {
  457. this.buttonisshow = true;
  458. } else {
  459. this.buttonisshow = false
  460. }
  461. this.getCustomerInfo()
  462. this.tabtimetap(0)
  463. this.getMarketingBusiness()
  464. },
  465. methods: {
  466. // 销讲业务方法
  467. templateCancel() {
  468. this.showTemplate = false;
  469. },
  470. // 确认选择销讲业务
  471. templateConfirm(e) {
  472. this.showTemplate = false;
  473. this.customerId = e[0].value
  474. this.showBeText = e[0].label
  475. this.tabtimetap(2)
  476. },
  477. // 获取销讲业务
  478. getMarketingBusiness() {
  479. this.$u.get('/customer/marketingBusinessByCusId', {
  480. id: this.customerId,
  481. }).then(res => {
  482. if (res) {
  483. this.templateList = res
  484. this.customerId = res[0].cusId
  485. this.showBeText = res[0].templateName
  486. }
  487. })
  488. },
  489. clickWajue(item) {
  490. if (item.isAskQuestions == 0) {
  491. uni.navigateTo({
  492. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item
  493. .showFormatExpression +
  494. "&skpl=" + "2" + '&UpDateEvent='
  495. })
  496. }
  497. },
  498. // 计算挖掘执行的完成率
  499. getPercent() {
  500. let countArr = this.KeyWordsfractionList.filter(item => item.selected == 0)
  501. console.log(countArr)
  502. this.percent = (countArr.length / this.KeyWordsfractionList.length) * 100
  503. console.log(this.percent.toFixed(0))
  504. this.percent = this.percent.toFixed(0)
  505. },
  506. //挖掘率话术客户标签展示
  507. getKeywordsList(list) {
  508. let keywords = [];
  509. if (list && list.length) {
  510. keywords = list.map((item) => item.name);
  511. } else {
  512. return "--";
  513. }
  514. return keywords.join(",");
  515. },
  516. changeshowlevel1(item, type) {
  517. console.log(item)
  518. item.show = !item.show
  519. },
  520. max100(num) {
  521. if (num > 100) {
  522. return 100;
  523. } else if (!num) {
  524. return 0;
  525. } else {
  526. return num;
  527. }
  528. },
  529. // 客户详情需求挖掘话术
  530. getfindKeyWordsBycusId() {
  531. this.$u
  532. .get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId)
  533. .then((res) => {
  534. // console.log(res)
  535. if (res.length) {
  536. res.forEach((item, index) => {
  537. item.show = false;
  538. if (index == 0) {
  539. item.show = true;
  540. }
  541. if (item.children && item.children.length) {
  542. item.children.forEach((obj, i) => {
  543. obj.show = false;
  544. if (i == 0 && index == 0) {
  545. obj.show = true;
  546. }
  547. });
  548. }
  549. });
  550. this.KeyWordsfractionList = res;
  551. this.getPercent()
  552. } else {
  553. this.KeyWordsfractionList = [];
  554. }
  555. });
  556. },
  557. // 获取到访记录
  558. getVisitList() {
  559. this.$u.get("/customer/findByPhoneAndProject?id=" + this.customerId, ).then(res => {
  560. this.Thevisitingrecords = res
  561. })
  562. },
  563. // 获取客户信息
  564. getCustomerInfo() {
  565. const that = this;
  566. this.$u.get("/customer/findById", {
  567. id: this.customerId
  568. }).then(res => {
  569. this.LOADING = false
  570. if (res.fraction == null) {
  571. res.fraction = '0';
  572. }
  573. if (res.demand.cusSemanticWordsList != null) {
  574. res.demand.cusSemanticWords = res.demand.cusSemanticWordsList
  575. res.demand.cusSemanticWordsList.forEach(che => {
  576. if (che.isInterval == 0) {
  577. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  578. }
  579. })
  580. // res.demand.cusSemanticWordsList = res.demand.cusSemanticWordsList.slice(0, 3)
  581. }
  582. // console.log(res.demand.cusSemanticWords,'关键字')
  583. this.customerInfo = res;
  584. }).catch(e => {
  585. this.LOADING = false
  586. })
  587. },
  588. tabtimetap(idx) {
  589. this.activeTotal = idx
  590. if (idx == 0) {
  591. this.getVisitList()
  592. } else if (idx == 1) {
  593. this.getFollowList()
  594. } else {
  595. this.getRatelist()
  596. this.getfindKeyWordsBycusId()
  597. }
  598. },
  599. tapThevisiting(item) {
  600. uni.showLoading({
  601. title: '加载中',
  602. mask: true
  603. });
  604. if (item.yon != 0) {
  605. setTimeout(function() {
  606. uni.hideLoading();
  607. }, 2000);
  608. console.log(this.checkAuthority('设备日志'))
  609. if (this.checkAuthority('设备日志')) {
  610. uni.navigateTo({
  611. url: `/pages/mine/equipmentLog?id=${item.id}`
  612. })
  613. } else {
  614. uni.showToast({
  615. icon: "none",
  616. title: "暂无录音"
  617. })
  618. }
  619. return
  620. } else {
  621. const parames = {
  622. pageNum: 1,
  623. pageSize: 100,
  624. query: {
  625. customerId: item.id,
  626. }
  627. }
  628. var item = {
  629. bg: 0,
  630. customerId: item.id,
  631. id: ''
  632. }
  633. uni.setStorageSync("entrance", 1); //写入缓存
  634. uni.setStorageSync("searchobj", item); //写入缓存
  635. this.$u.post("/corpus/findByPage", parames).then(res => {
  636. setTimeout(function() {
  637. uni.hideLoading();
  638. }, 2000);
  639. if (res == null) {
  640. console.log(this.checkAuthority('设备日志'))
  641. if (this.checkAuthority('设备日志')) {
  642. uni.navigateTo({
  643. url: `/pages/mine/equipmentLog?id=${item.id}`
  644. })
  645. } else {
  646. uni.showToast({
  647. icon: "none",
  648. title: "暂无音频"
  649. })
  650. }
  651. return
  652. }
  653. if (res[0].merge == 0) {
  654. let newobj = res[0];
  655. uni.navigateTo({
  656. url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=2&wordFraction=${this.customerInfo.wordFraction}`
  657. })
  658. } else {
  659. let newobj = res[0];
  660. uni.navigateTo({
  661. url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=1&wordFraction=${this.customerInfo.wordFraction}`
  662. })
  663. }
  664. })
  665. }
  666. },
  667. // 获取跟进记录
  668. getFollowList() {
  669. this.fllowList = [];
  670. this.$u.post("/customer/getCusStage", {
  671. customerId: this.customerId
  672. }).then(res => {
  673. res.forEach(item => {
  674. item.agentName = this.customerInfo.agentName
  675. })
  676. this.fllowList = res;
  677. })
  678. },
  679. // 新增跟进
  680. followRecordAdd() {
  681. uni.navigateTo({
  682. url: `/pages/center/consumer/newFollowup/newFollowup?id=${this.customerId}&level=${this.customerInfo.level}&stageName=${this.customerInfo.stageName}`
  683. })
  684. },
  685. // 去编辑
  686. goedit() {
  687. // console.log('去编辑')
  688. if (!this.isEdit) return
  689. uni.navigateTo({
  690. url: `/pages/center/consumer/edit?id=${this.customerId}&projectId=${this.customerInfo.projectId}`
  691. })
  692. },
  693. // 去添加提醒
  694. goRemind() {
  695. uni.navigateTo({
  696. url: `/pages/center/consumer/remind?str=${this.customerInfo.name+'/'+this.customerInfo.phone}&customerId=${this.customerId}`
  697. })
  698. },
  699. //评分点击
  700. clickaudeopal(item) {
  701. if (item.selected == 0 && item.viewFlag != 1) {
  702. uni.navigateTo({
  703. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  704. .marketingId + '&type=0'
  705. })
  706. }
  707. },
  708. tipupon() {
  709. if (!this.customerInfo.demand.cusSemanticWordsList) return
  710. this.tipshow = true
  711. },
  712. changeshow(item, type) {
  713. item.show = !item.show
  714. },
  715. changeshow2(item, type) {
  716. item.show = !item.show
  717. },
  718. // 获取评分
  719. getRatelist() {
  720. this.$u.get("/customer/findzkMByCusId", {
  721. cusId: this.customerId
  722. }).then(res => {
  723. if (res.length) {
  724. let level1 = []
  725. let level2rate = 0
  726. res.forEach(item => {
  727. if (item.pid == 0) {
  728. level1.push({
  729. id: item.marketingId,
  730. rate: item.fraction,
  731. name: item.name,
  732. sort: item.sort,
  733. viewFlag: item.viewFlag,
  734. show: false,
  735. ratepercent: 0,
  736. children: []
  737. })
  738. } else {
  739. if (item.selected == 0) {
  740. level2rate += item.fraction
  741. }
  742. }
  743. })
  744. this.totalRate = level2rate;
  745. res.forEach(subitem => {
  746. let subitempid = subitem.pid
  747. level1.forEach(item => {
  748. if (subitempid == item.id) {
  749. if (subitem.selected == 0) {
  750. item.ratepercent += subitem.fraction
  751. }
  752. item.children.push({
  753. id: subitem.id,
  754. rate: subitem.fraction,
  755. selected: subitem.selected,
  756. name: subitem.name,
  757. viewFlag: subitem.viewFlag,
  758. show: false,
  759. marketingId: subitem.marketingId,
  760. children: []
  761. })
  762. }
  763. })
  764. })
  765. res.forEach(subitem => {
  766. let subitempid = subitem.pid
  767. level1.forEach(chen => {
  768. chen.children.forEach(zxc => {
  769. if (subitempid == zxc.marketingId) {
  770. zxc.children.push({
  771. id: subitem.id,
  772. rate: subitem.fraction,
  773. selected: subitem.selected,
  774. viewFlag: subitem.viewFlag,
  775. name: subitem.name,
  776. marketingId: subitem.marketingId,
  777. })
  778. }
  779. })
  780. })
  781. })
  782. level1[0].show = true;
  783. level1[0].children[0].show = true;
  784. this.ratelist = level1
  785. }
  786. })
  787. },
  788. }
  789. }
  790. </script>
  791. <style lang="scss" scoped>
  792. .boxtittabs {
  793. width: 100%;
  794. height: 92rpx;
  795. background: #FFFFFF;
  796. display: flex;
  797. align-items: center;
  798. .items {
  799. padding: 0 24rpx;
  800. width: 50%;
  801. height: 100%;
  802. display: flex;
  803. align-items: center;
  804. justify-content: center;
  805. overflow: hidden;
  806. white-space: nowrap;
  807. text-overflow: ellipsis;
  808. }
  809. }
  810. .rotatearrow {
  811. transform: rotate(270deg);
  812. }
  813. .top-box {
  814. height: 80rpx;
  815. line-height: 80rpx;
  816. display: flex;
  817. color: #2671E2;
  818. border-bottom: 1rpx solid #ccc;
  819. }
  820. // 评分
  821. .rate-box {
  822. padding: 10rpx 20rpx;
  823. background-color: #FFFFFF;
  824. .date {
  825. width: 300rpx;
  826. height: 33rpx;
  827. font-size: 24rpx;
  828. font-weight: 400;
  829. color: #333333;
  830. line-height: 33rpx;
  831. letter-spacing: 1rpx;
  832. margin-bottom: 8rpx;
  833. }
  834. .title {
  835. width: 100%;
  836. height: 42rpx;
  837. font-size: 30rpx;
  838. font-weight: 500;
  839. color: #333333;
  840. line-height: 42rpx;
  841. letter-spacing: 2rpx;
  842. margin-bottom: 20rpx;
  843. }
  844. .level1 {
  845. display: flex;
  846. align-items: center;
  847. .level-name {
  848. width: 104rpx;
  849. height: 33rpx;
  850. font-size: 24rpx;
  851. font-weight: 500;
  852. color: #333333;
  853. line-height: 33rpx;
  854. letter-spacing: 1rpx;
  855. margin-right: 10rpx;
  856. }
  857. .level-progress {
  858. flex: 1;
  859. border-radius: 11rpx;
  860. height: 21rpx;
  861. background-color: #BEE4FF;
  862. position: relative;
  863. .color {
  864. width: 0;
  865. position: absolute;
  866. top: 0;
  867. left: 0;
  868. height: 21rpx;
  869. border-radius: 11rpx 0 0 11rpx;
  870. background-color: #008EF2;
  871. }
  872. }
  873. .level-rate {
  874. width: 65rpx;
  875. height: 33rpx;
  876. font-size: 24rpx;
  877. font-weight: 500;
  878. color: #333333;
  879. line-height: 33rpx;
  880. letter-spacing: 1rpx;
  881. margin: 0 20rpx 0 15rpx;
  882. }
  883. .arrow {
  884. width: 37rpx;
  885. height: 21rpx;
  886. padding: 5rpx 20rpx;
  887. }
  888. .rotatearrow {
  889. transform: rotate(270deg);
  890. }
  891. }
  892. .level1-subbox {
  893. display: flex;
  894. margin-top: 20rpx;
  895. flex-wrap: wrap;
  896. .sub-name {
  897. width: 50%;
  898. display: flex;
  899. margin-bottom: 18rpx;
  900. .subitem-name {
  901. width: 104rpx;
  902. height: 33rpx;
  903. font-size: 24rpx;
  904. font-weight: 400;
  905. color: #999999;
  906. line-height: 33rpx;
  907. letter-spacing: 1rpx;
  908. margin-right: 12rpx;
  909. }
  910. .checkimg {
  911. width: 27rpx;
  912. height: 27rpx;
  913. }
  914. }
  915. }
  916. }
  917. .Level-box {
  918. padding-bottom: 2rpx;
  919. .hhhbox {
  920. width: 100%;
  921. padding-left: 30rpx;
  922. padding-right: 30rpx;
  923. border-bottom: 1rpx solid #E0E0E0;
  924. background: #FFFFFF;
  925. .hsnrtest {
  926. font-size: 28rpx;
  927. font-weight: 400;
  928. color: #666666;
  929. line-height: 30rpx;
  930. margin-bottom: 20rpx;
  931. }
  932. .Level3che {
  933. width: 100%;
  934. height: 30rpx;
  935. display: flex;
  936. line-height: 30rpx;
  937. align-items: center;
  938. margin-top: 30rpx;
  939. .title1 {
  940. flex: 1;
  941. font-size: 30rpx;
  942. color: #2671E2;
  943. font-weight: 400;
  944. }
  945. .jiantobox {
  946. width: 30rpx;
  947. height: 30rpx;
  948. display: flex;
  949. align-items: center;
  950. .arrow {
  951. width: 28rpx;
  952. height: 28rpx;
  953. }
  954. }
  955. }
  956. }
  957. .Level2che {
  958. width: 100%;
  959. height: 88rpx;
  960. display: flex;
  961. line-height: 88rpx;
  962. align-items: center;
  963. .title1 {
  964. flex: 3;
  965. font-size: 30rpx;
  966. color: #333333;
  967. font-weight: 400;
  968. }
  969. .leve1-jindu {
  970. flex: 3;
  971. display: flex;
  972. justify-content: center;
  973. align-items: center;
  974. .zhixing {
  975. width: 108rpx;
  976. height: 44rpx;
  977. background: #2671E2;
  978. border-radius: 4rpx;
  979. font-size: 28rpx;
  980. text-align: center;
  981. line-height: 44rpx;
  982. color: #FFFFFF;
  983. }
  984. .zhixing2 {
  985. width: 108rpx;
  986. height: 44rpx;
  987. background: #F8F8F8;
  988. border-radius: 4rpx;
  989. font-size: 28rpx;
  990. text-align: center;
  991. line-height: 44rpx;
  992. color: #999999;
  993. }
  994. }
  995. .jiantobox {
  996. width: 30rpx;
  997. height: 30rpx;
  998. display: flex;
  999. align-items: center;
  1000. .arrow {
  1001. width: 30rpx;
  1002. height: 18rpx;
  1003. }
  1004. }
  1005. }
  1006. .Level1che {
  1007. width: 100%;
  1008. height: 94rpx;
  1009. background: #F5F5F5;
  1010. display: flex;
  1011. line-height: 94rpx;
  1012. align-items: center;
  1013. padding-left: 30rpx;
  1014. padding-right: 30rpx;
  1015. .title1 {
  1016. flex: 2;
  1017. font-size: 30rpx;
  1018. color: #333333;
  1019. font-weight: 400;
  1020. }
  1021. .leve1-jindu {
  1022. flex: 3;
  1023. .jindutiao {
  1024. width: 96%;
  1025. height: 28rpx;
  1026. background: #D5EEE2;
  1027. line-height: 28rpx;
  1028. border-radius: 14rpx;
  1029. position: relative;
  1030. .huanxing {
  1031. height: 100%;
  1032. background: #4FC78F;
  1033. border-radius: 14rpx;
  1034. }
  1035. .text {
  1036. position: absolute;
  1037. top: 0rpx;
  1038. right: 0rpx;
  1039. font-size: 28rpx;
  1040. font-weight: 400;
  1041. color: #333333;
  1042. }
  1043. }
  1044. }
  1045. .jiantobox {
  1046. width: 30rpx;
  1047. height: 30rpx;
  1048. display: flex;
  1049. align-items: center;
  1050. .arrow {
  1051. width: 30rpx;
  1052. height: 18rpx;
  1053. }
  1054. }
  1055. }
  1056. }
  1057. .cccccc {
  1058. text-align: center;
  1059. height: 140rpx;
  1060. line-height: 140rpx;
  1061. font-size: 30rpx;
  1062. }
  1063. .ratecenter {
  1064. background-color: #FFFFFF;
  1065. padding-bottom: 30rpx;
  1066. width: 100%;
  1067. .my-tab {
  1068. padding: 20rpx 0;
  1069. display: flex;
  1070. justify-content: space-around;
  1071. align-items: center;
  1072. border-bottom: 1px solid #E0E0E0;
  1073. .tab-item {
  1074. padding: 0 30rpx;
  1075. height: 56rpx;
  1076. font-size: 28rpx;
  1077. font-family: PingFangSC-Regular, PingFang SC;
  1078. font-weight: 400;
  1079. color: #666666;
  1080. line-height: 56rpx;
  1081. text-shadow: 0px 1px 0px #E0E0E0;
  1082. }
  1083. .tabactive {
  1084. height: 56rpx;
  1085. background: rgba(38, 113, 226, 0.1);
  1086. box-shadow: 0px 1px 0px 0px #E0E0E0;
  1087. border-radius: 28rpx;
  1088. font-weight: 600;
  1089. color: #2671E2;
  1090. }
  1091. }
  1092. .ratetetle {
  1093. padding: 30rpx;
  1094. font-size: 30rpx;
  1095. font-weight: 400;
  1096. color: #333333;
  1097. padding-bottom: 6rpx;
  1098. }
  1099. .rateyuanbox {
  1100. width: 100%;
  1101. height: 210rpx;
  1102. padding-bottom: 30rpx;
  1103. border-bottom: 1rpx solid #E0E0E0;
  1104. display: flex;
  1105. padding-left: 80rpx;
  1106. padding-right: 80rpx;
  1107. .rateyuanboxzuo {
  1108. width: 30%;
  1109. height: 100%;
  1110. }
  1111. .rateyuanboxyou {
  1112. width: 40%;
  1113. height: 100%;
  1114. }
  1115. .boxzuoview {
  1116. width: 100%;
  1117. height: 140rpx;
  1118. }
  1119. }
  1120. }
  1121. .box {
  1122. width: 100%;
  1123. height: 100%;
  1124. background: #F8F8F8;
  1125. }
  1126. .tab {
  1127. position: sticky;
  1128. top: 0;
  1129. height: 88rpx;
  1130. z-index: 999;
  1131. background: #FFFFFF;
  1132. display: flex;
  1133. align-items: center;
  1134. .tabbox {
  1135. flex: 1;
  1136. height: 100%;
  1137. text-align: center;
  1138. line-height: 92rpx;
  1139. color: #666666;
  1140. font-size: 28rpx;
  1141. display: flex;
  1142. justify-content: center;
  1143. .activecllasscet {
  1144. border-bottom: 2px solid #2671E2;
  1145. color: #2671E2;
  1146. font-weight: 600;
  1147. }
  1148. }
  1149. }
  1150. .content {
  1151. // height: 1000rpx;/
  1152. overflow: hidden;
  1153. border-top: 1px solid #E0E0E0;
  1154. .content-tips {
  1155. background: #fff;
  1156. // box-sizing: border-box;
  1157. margin-bottom: 20rpx;
  1158. overflow: hidden;
  1159. .content-first {
  1160. padding: 19rpx 30rpx;
  1161. display: flex;
  1162. justify-content: space-between;
  1163. box-sizing: border-box;
  1164. font-weight: 400;
  1165. color: #292929;
  1166. height: 90rpx;
  1167. font-size: 30rpx;
  1168. line-height: 30rpx;
  1169. .left {
  1170. display: flex;
  1171. .img {
  1172. width: 52rpx;
  1173. height: 52rpx;
  1174. border-radius: 50%;
  1175. text-align: center;
  1176. line-height: 50rpx;
  1177. margin-right: 20rpx;
  1178. color: #fff;
  1179. font-size: 30rpx;
  1180. background: #9f61c8;
  1181. }
  1182. .test {
  1183. margin-top: 11rpx;
  1184. font-weight: 500;
  1185. color: #333333;
  1186. }
  1187. .edit {
  1188. height: 30rpx;
  1189. width: 30rpx;
  1190. margin-left: 30rpx;
  1191. margin-top: 11rpx;
  1192. image {
  1193. width: 100%;
  1194. height: 100%;
  1195. }
  1196. }
  1197. }
  1198. .right {
  1199. display: flex;
  1200. .test {
  1201. margin-top: 11rpx;
  1202. .blue {
  1203. font-size: 32rpx;
  1204. font-family: PingFangSC-Medium, PingFang SC;
  1205. font-weight: 500;
  1206. color: #2671e2;
  1207. }
  1208. }
  1209. }
  1210. }
  1211. .content-sec {
  1212. border-top: 1px solid #E0E0E0;
  1213. padding: 0 30rpx;
  1214. position: relative;
  1215. .content-sec-lab {
  1216. margin-top: 28rpx;
  1217. display: flex;
  1218. justify-content: space-between;
  1219. font-size: 30rpx;
  1220. font-weight: 400;
  1221. color: #666666;
  1222. line-height: 46rpx;
  1223. .content-sec-lab1 {
  1224. color: #333333;
  1225. .look {
  1226. font-size: 32rpx;
  1227. font-family: PingFangSC-Semibold, PingFang SC;
  1228. font-weight: 600;
  1229. color: #2671E2;
  1230. }
  1231. .look1 {
  1232. height: 42rpx;
  1233. font-size: 30rpx;
  1234. font-family: PingFangSC-Regular, PingFang SC;
  1235. font-weight: 400;
  1236. color: #2671E2;
  1237. line-height: 42rpx;
  1238. margin-left: 60rpx;
  1239. }
  1240. }
  1241. .content-sec-tips {
  1242. max-width: 120rpx;
  1243. height: 46rpx;
  1244. background: #F2F2F2;
  1245. border-radius: 6rpx;
  1246. text-align: center;
  1247. line-height: 26rpx;
  1248. overflow: hidden;
  1249. text-overflow: ellipsis;
  1250. white-space: nowrap;
  1251. font-size: 26rpx;
  1252. font-weight: 400;
  1253. color: #333333;
  1254. margin-right: 20rpx;
  1255. box-sizing: border-box;
  1256. padding: 10rpx 24rpx;
  1257. }
  1258. }
  1259. .content-sec-num {
  1260. position: absolute;
  1261. width: 200rpx;
  1262. height: 90rpx;
  1263. background: #F4F8FD;
  1264. border-radius: 12rpx;
  1265. font-weight: 400;
  1266. color: #2671E2;
  1267. line-height: 45rpx;
  1268. bottom: 100rpx;
  1269. right: 30rpx;
  1270. text-align: center;
  1271. }
  1272. }
  1273. .content-last {
  1274. padding: 30rpx;
  1275. .content-last-con {
  1276. width: 690rpx;
  1277. min-height: 108rpx;
  1278. background: #F8F8F8;
  1279. border-radius: 8rpx;
  1280. padding: 14rpx 20rpx;
  1281. font-size: 28rpx;
  1282. font-weight: 400;
  1283. color: #333333;
  1284. line-height: 40rpx;
  1285. }
  1286. }
  1287. }
  1288. }
  1289. .tabchange {
  1290. background: #fff;
  1291. .tabactive1 {
  1292. padding-bottom: 100rpx;
  1293. .content-tips {
  1294. background: #fff;
  1295. box-sizing: border-box;
  1296. overflow: hidden;
  1297. margin: 0 0 20rpx 0;
  1298. padding: 30rpx;
  1299. .content-first {
  1300. display: flex;
  1301. justify-content: space-between;
  1302. .left {
  1303. display: flex;
  1304. align-items: center;
  1305. .img {
  1306. width: 52rpx;
  1307. height: 52rpx;
  1308. background: #FFFFFF;
  1309. border: 1px solid #C9C9C9;
  1310. border-radius: 50%;
  1311. text-align: center;
  1312. line-height: 52rpx;
  1313. }
  1314. .name {
  1315. font-weight: 600;
  1316. color: #333333;
  1317. margin-right: 10rpx;
  1318. font-size: 30rpx;
  1319. }
  1320. .status {
  1321. width: 110rpx;
  1322. height: 42rpx;
  1323. background: #FFF9F5;
  1324. border-radius: 4rpx;
  1325. font-size: 26rpx;
  1326. font-weight: 400;
  1327. color: #EC8D49;
  1328. line-height: 42rpx;
  1329. text-align: center;
  1330. margin: 0 10rpx;
  1331. }
  1332. .normal-status {
  1333. color: red;
  1334. }
  1335. }
  1336. .right {
  1337. display: flex;
  1338. margin-top: 11rpx;
  1339. .point {
  1340. width: 12rpx;
  1341. height: 12rpx;
  1342. background: #2B6EFF;
  1343. border-radius: 50%;
  1344. margin-right: 9rpx;
  1345. margin-top: 16rpx;
  1346. }
  1347. }
  1348. }
  1349. .content-sec {
  1350. display: flex;
  1351. justify-content: space-between;
  1352. margin: 24rpx 0;
  1353. .left {
  1354. flex-grow: 1;
  1355. height: 40rpx;
  1356. font-size: 28rpx;
  1357. font-family: PingFangSC-Medium, PingFang SC;
  1358. font-weight: 500;
  1359. color: #333333;
  1360. line-height: 40rpx;
  1361. }
  1362. .right {
  1363. flex-shrink: 0;
  1364. width: 340rpx;
  1365. height: 40rpx;
  1366. font-size: 28rpx;
  1367. font-family: PingFangSC-Regular, PingFang SC;
  1368. font-weight: 400;
  1369. color: #333333;
  1370. line-height: 40rpx;
  1371. text-align: right;
  1372. overflow: hidden;
  1373. white-space: nowrap;
  1374. text-overflow: ellipsis;
  1375. }
  1376. }
  1377. .content-time {
  1378. font-size: 28rpx;
  1379. font-family: PingFangSC-Regular, PingFang SC;
  1380. font-weight: 400;
  1381. color: #333333;
  1382. line-height: 40rpx;
  1383. padding: 20rpx 0 24rpx;
  1384. border-bottom: 1px solid #E0E0E0;
  1385. }
  1386. .content-last {
  1387. display: flex;
  1388. justify-content: space-around;
  1389. .cont-item {
  1390. display: flex;
  1391. flex-direction: column;
  1392. align-items: center;
  1393. justify-content: center;
  1394. .count {
  1395. height: 42rpx;
  1396. font-size: 30rpx;
  1397. font-family: PingFangSC-Regular, PingFang SC;
  1398. font-weight: 400;
  1399. color: #000000;
  1400. line-height: 42rpx;
  1401. margin-bottom: 16rpx;
  1402. }
  1403. .text {
  1404. height: 32rpx;
  1405. font-size: 24rpx;
  1406. font-family: PingFangSC-Regular, PingFang SC;
  1407. font-weight: 400;
  1408. color: #666666;
  1409. line-height: 32rpx;
  1410. }
  1411. }
  1412. }
  1413. }
  1414. }
  1415. .tabactive2 {
  1416. .tab2-tips {
  1417. background: #fff;
  1418. // height: 270rpx;
  1419. overflow: auto;
  1420. margin-bottom: 20rpx;
  1421. .tab2-first {
  1422. // height: 150rpx;
  1423. border-bottom: 1px solid #E0E0E0;
  1424. padding: 0 30rpx;
  1425. margin-top: 19rpx;
  1426. box-sizing: border-box;
  1427. .tab2-first-1 {
  1428. display: flex;
  1429. justify-content: space-between;
  1430. // height: 75rpx;
  1431. .tab2-first-left {
  1432. display: flex;
  1433. .img {
  1434. width: 52rpx;
  1435. height: 52rpx;
  1436. background: #FFFFFF;
  1437. border: 1px solid #C9C9C9;
  1438. border-radius: 50%;
  1439. text-align: center;
  1440. line-height: 52rpx;
  1441. }
  1442. .name {
  1443. font-weight: 600;
  1444. color: #333333;
  1445. margin-left: 20rpx;
  1446. margin-top: 11rpx;
  1447. }
  1448. }
  1449. .tab2-first-right {
  1450. font-size: 30rpx;
  1451. font-weight: 400;
  1452. color: #666666;
  1453. margin-top: 11rpx;
  1454. }
  1455. }
  1456. .tab2-first-foot {
  1457. margin-top: 19rpx;
  1458. margin-bottom: 30rpx;
  1459. font-size: 30rpx;
  1460. font-weight: 400;
  1461. color: #666666;
  1462. line-height: 30rpx;
  1463. }
  1464. }
  1465. .tab2-sec {
  1466. height: 120rpx;
  1467. padding: 30rpx;
  1468. float: right;
  1469. .tab-sec-edit {
  1470. width: 156rpx;
  1471. height: 60rpx;
  1472. background: #FFFFFF;
  1473. border-radius: 4px;
  1474. border: 1px solid #2671E2;
  1475. text-align: center;
  1476. line-height: 60rpx;
  1477. font-weight: 400;
  1478. color: #2671E2;
  1479. }
  1480. }
  1481. }
  1482. }
  1483. }
  1484. .pon-foot {
  1485. position: sticky;
  1486. bottom: 0;
  1487. width: 750rpx;
  1488. height: 100rpx;
  1489. background: #FFFFFF;
  1490. box-shadow: 0px -2rpx 8rpx 0rpx rgba(224, 224, 224, 0.5);
  1491. display: flex;
  1492. justify-content: space-around;
  1493. align-items: center;
  1494. // padding-top: 24rpx;
  1495. box-sizing: border-box;
  1496. // padding: ;
  1497. .foot-tab {
  1498. text-align: center;
  1499. width: 270rpx;
  1500. height: 70rpx;
  1501. line-height: 70rpx;
  1502. background: #2671E2;
  1503. box-shadow: 0px -2rpx 8rpx 0px rgba(224, 224, 224, 0.5);
  1504. border-radius: 6rpx;
  1505. font-size: 30rpx;
  1506. font-weight: 400;
  1507. color: #FFFFFF;
  1508. }
  1509. }
  1510. .upon-sec-tips {
  1511. min-width: 96rpx;
  1512. height: 46rpx;
  1513. background: #F2F2F2;
  1514. border-radius: 6rpx;
  1515. text-align: center;
  1516. line-height: 46rpx;
  1517. // overflow: hidden;
  1518. // text-overflow: ellipsis;
  1519. // white-space: nowrap;
  1520. font-size: 26rpx;
  1521. font-weight: 400;
  1522. color: #333333;
  1523. margin: 0 20rpx 20rpx 0;
  1524. padding: 0 10rpx;
  1525. box-sizing: border-box;
  1526. }
  1527. .conmsg-msg-lab-img {
  1528. width: 14rpx;
  1529. height: 30rpx;
  1530. margin-top: 6rpx;
  1531. margin-left: auto;
  1532. image {
  1533. width: 100%;
  1534. height: 100%;
  1535. }
  1536. }
  1537. </style>