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

details2.vue 53 KiB

3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968
  1. <template>
  2. <view class="box">
  3. <view class="headbox">
  4. <!-- 顶部时间 -->
  5. <view class="headboxhead">
  6. <view class="boxhead1">{{date}}</view>
  7. <view class="boxhead2" v-if="jiaoseshow">
  8. <image v-if="status==1" @click="tappick()" src="../../static/images/pike.png" mode=""></image>
  9. <image v-if="status==0" @click="notappick()" src="../../static/images/nopike.png" mode=""></image>
  10. </view>
  11. </view>
  12. <!-- <view class="inputbox" v-if="guanjianciishow">
  13. <view class="thisinput" @click="toKeywordsearch()">
  14. 请输入或选择
  15. </view>
  16. </view> -->
  17. <!-- 标记顾问 -->
  18. <view class="headboxbott">
  19. <view class="headovfu">
  20. <u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="roleindex" @change="tapspagek()"
  21. inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist" :is-scroll="true">
  22. </u-tabs-swiper>
  23. </view>
  24. <view class="headpade">
  25. <view class="biaoji" @tap="tagtap()">标记</view>
  26. </view>
  27. </view>
  28. </view>
  29. <scroll-view :scroll-top="scrollTop" lower-threshold='100px' @scrolltolower="ltolower()"
  30. upper-threshold='40px' @scrolltoupper="rolltoupper()"
  31. :scroll-into-view="scrollId" scroll-y="true" class="zhuti text scroll-Y">
  32. <!-- 聊天记录-->
  33. <view class="dialog-block" v-for="(dialog,i) in dialogList" :key="i">
  34. <view :id="'dialog'+i" class="fileName">录音文件</view>
  35. <view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
  36. :class="{active: item.bg < playNow && item.ed > playNow && i==0}"
  37. v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
  38. <view class="avatar">
  39. <view v-if="item.speaker == 1" style="color: #60CBEC;">
  40. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  41. <text v-else>A</text>
  42. </view>
  43. <view v-if="item.speaker == 2" style="color: #EC8B47;">
  44. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  45. <text v-else>B</text>
  46. </view>
  47. <view v-if="item.speaker == 3" style="color: #4F861E;">
  48. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  49. <text v-else>C</text>
  50. </view>
  51. <view v-if="item.speaker == 4" style="color: #9F61C8;">
  52. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  53. <text v-else>D</text>
  54. </view>
  55. <view v-if="item.speaker == 5" style="color: #4980C8;">
  56. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  57. <text v-else>E</text>
  58. </view>
  59. <view v-if="item.speaker == 6" style="color: #60CBEC;">
  60. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  61. <text v-else>F</text>
  62. </view>
  63. <view v-if="item.speaker == 7" style="color: #EC8B47;">
  64. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  65. <text v-else>G</text>
  66. </view>
  67. <view v-if="item.speaker == 8" style="color: #4F861E;">
  68. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  69. <text v-else>H</text>
  70. </view>
  71. <view v-if="item.speaker == 9" style="color: #9F61C8;">
  72. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image>
  73. <text v-else>I</text>
  74. </view>
  75. </view>
  76. <view class="content">
  77. <view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
  78. <view class="tankuangcss" v-if="item.isshow">
  79. <view @click="clickcopy()"
  80. style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制
  81. </view>
  82. <view @click="Oftenthewrongword()"
  83. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
  84. </view>
  85. <view v-if="jiaoseshow" @click="Addtheessence()"
  86. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华
  87. </view>
  88. <view @click="clickbofang(dialog.backindex,item)"
  89. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. </scroll-view>
  96. <view class="bottombox">
  97. <!-- 播放块 -->
  98. <view class="bottomhead">
  99. <view class="audio-play" @tap="changePlayState">
  100. <image class="image" mode="widthFix"
  101. :src="audioPlay ? 'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/pause.png' : 'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/play.png'">
  102. </image>
  103. </view>
  104. <view class="audio-slider">
  105. <view class="audio-time">
  106. <text>{{currentTimeStr}}</text>
  107. </view>
  108. <slider class="slider" min="0" :max="sliderMax"
  109. @change="sliderChangeComplate" block-size="14" :value="sliderValue" activeColor="blue"></slider>
  110. <view class="audio-time">
  111. <text>{{timeStr}}</text>
  112. </view>
  113. </view>
  114. </view>
  115. <!-- 底部弹框 -->
  116. <view class="botbotmm">
  117. <view class="tmmchen" @click="guanjiancishifo()">
  118. <image src="../../static/images/audioinfo1.png" mode=""></image>
  119. <view>关键词</view>
  120. </view>
  121. <view class="fill"></view>
  122. <view class="tmmchen" @click="Receivedetailsabouttab('intention')">
  123. <image src="../../static/images/audioinfo3.png" mode=""></image>
  124. <view>客户意向</view>
  125. </view>
  126. <view class="fill"></view>
  127. <view class="tmmchen" @click="Receivedetailsabouttab('Pinspeak')">
  128. <image src="../../static/images/audioinfo4.png" mode=""></image>
  129. <view>销讲执行</view>
  130. </view>
  131. <view class="fill"></view>
  132. <view class="tmmchen" @click="Receivedetailsabouttab('Receivedetailsabout')">
  133. <image src="../../static/images/audioinfo2.png" mode=""></image>
  134. <view>接待信息</view>
  135. </view>
  136. </view>
  137. </view>
  138. <!-- 标记 -->
  139. <view class="zhezhoa" v-if="biojiisshow" @tap="unmarktap()"></view>
  140. <view class="bounced" v-if="biojiisshow">
  141. <view class="jiajinghuatit">标记为顾问</view>
  142. <view style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  143. <view class="viewclace" :class="roleindexbiaoji == index ? 'bosdttom' : ''"
  144. @click="biaojixuanze(index)" v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
  145. <view>{{item.name}}</view>
  146. </view>
  147. </view>
  148. <view class="bounced3" style="margin-top: 20rpx;">
  149. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  150. <view class="bounced3-2" @tap="Confirmthetag()">确认</view>
  151. </view>
  152. </view>
  153. <!-- 加入常错词 -->
  154. <view class="zhezhoa" v-if="isshow2" @tap="Cancelout"></view>
  155. <view class="bounced" v-if="isshow2">
  156. <view class="tian-view">
  157. <viwe class="tian-view-t1"></viwe>
  158. <viwe class="tian-view-t2">常错词:</viwe>
  159. <viwe class="tian-view-t3">
  160. <input type="text" v-model="thewrongword" class="tian-input" placeholder="请输入" />
  161. </viwe>
  162. </view>
  163. <view class="tian-view">
  164. <viwe class="tian-view-t1"></viwe>
  165. <viwe class="tian-view-t2">正确词:</viwe>
  166. <viwe class="tian-view-t3">
  167. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  168. </viwe>
  169. </view>
  170. <view class="bounced3">
  171. <view class="bounced3-1" @tap="Cancelout">取消</view>
  172. <view class="bounced3-2" @tap="Confirmtheexit">确认</view>
  173. </view>
  174. </view>
  175. <!-- 加精华 -->
  176. <view class="zhezhoa" v-if="isshow3" @tap="Cancelout2"></view>
  177. <view class="bounced" v-if="isshow3">
  178. <view class="jiajinghuatit">加精华</view>
  179. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  180. <view class="jiajinghuaview">
  181. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  182. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  183. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  184. </view>
  185. </view>
  186. <view class="bounced3">
  187. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  188. <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
  189. </view>
  190. </view>
  191. <!-- 接待详情 -->
  192. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="Receivedetailsabout"></view>
  193. <view class="followingpop-up" v-if="Receivedetailsabout">
  194. <view class="guanbibox">
  195. <view class="guanbixen">
  196. <image @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png" mode=""></image>
  197. </view>
  198. <view class="cenisboxtab">
  199. <view class="cenisboxtabview">
  200. <view>接待详情</view>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="cenisbox">
  205. <view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  206. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待顾问</view>
  207. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
  208. </view>
  209. <view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  210. <view style="width: 25%;color: #666666;font-size: 26rpx;">意向楼盘</view>
  211. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
  212. </view>
  213. <view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  214. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待开始时间</view>
  215. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.staTime}}</view>
  216. </view>
  217. <view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  218. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待结束时间</view>
  219. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.endTime1}}</view>
  220. </view>
  221. <view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  222. <view style="width: 25%;color: #666666;font-size: 26rpx;">录音时长</view>
  223. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.mm}}分钟</view>
  224. </view>
  225. </view>
  226. </view>
  227. <!-- 销讲执行 -->
  228. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="Pinspeak"></view>
  229. <view class="followingpop-up" v-if="Pinspeak">
  230. <view class="guanbibox">
  231. <view class="guanbixen">
  232. <image @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png" mode=""></image>
  233. </view>
  234. <view class="cenisboxtab">
  235. <view class="cenisboxtabview">
  236. <view>销讲执行</view>
  237. </view>
  238. </view>
  239. </view>
  240. <view class="cenisbox">
  241. <!-- 评分模块 -->
  242. <view class="rate-box">
  243. <view class="title">总执行率 {{totalRate}}%</view>
  244. <view v-for="(item,index) in ratelist" :key="index" class="u-m-b-14" style="margin-top: 30rpx;">
  245. <view class="level1">
  246. <view class="level-name u-line-1">
  247. {{item.name}}
  248. </view>
  249. <view class="level-progress">
  250. <view class="color" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  251. </view>
  252. <view class="level-rate">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  253. <image v-if="!item.show" class="arrow rotatearrow" @click="changeshow(item,1)"
  254. src="/static/images/down.png" mode="" />
  255. <image v-else class="arrow" @click="changeshow(item,0)" src="/static/images/up.png"
  256. mode="" />
  257. </view>
  258. <view class="level1-subbox" v-if="item.show">
  259. <view class="sub-name" v-for="(subitem,i) in item.children" :key="i">
  260. <view class="subitem-name u-line-1" @tap="clickaudeopal(subitem)">{{subitem.name}}</view>
  261. <image class="checkimg" v-if="!subitem.selected"
  262. src="/static/images/rate-checked.png" mode="" />
  263. <image class="checkimg" v-else src="/static/images/rate-nocheck.png" mode="" />
  264. </view>
  265. </view>
  266. </view>
  267. </view>
  268. </view>
  269. </view>
  270. <!-- 客户意向 -->
  271. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="intention"></view>
  272. <view class="followingpop-up" v-if="intention">
  273. <view class="guanbibox">
  274. <view class="guanbixen">
  275. <image @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png" mode=""></image>
  276. </view>
  277. <view class="cenisboxtab">
  278. <view class="cenisboxtabview">
  279. <view>客户意向</view>
  280. </view>
  281. </view>
  282. </view>
  283. <view class="cenisbox">
  284. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;" v-if="Acquirecustomerintentlist.length==0">
  285. 暂无数据
  286. </view>
  287. <view class="jianbox" v-if="Acquirecustomerintentlist.length!=0" v-for="(item,index) in Acquirecustomerintentlist" :key='index'>
  288. <view class="jianbox-cen">
  289. <view class="jianboxtext">{{item.name}}</view>
  290. <view class="jianboxjian" @click="Acquishow(index)">
  291. <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png" mode=""></image>
  292. <image v-if="item.isshow==true" class="jiantop1" src="../../static/images/jianbutton.png" mode=""></image>
  293. </view>
  294. </view>
  295. <view class="bioqianwayl" v-if="item.isshow==true">
  296. <view :class="chend.selected == 0 ? 'jiangshang' : ''"
  297. v-for="(chend,i) in item.children" :key='i' @click="Edittag(item,chend,index,i)">{{chend.text}}</view>
  298. </view>
  299. </view>
  300. </view>
  301. </view>
  302. </view>
  303. </template>
  304. <script>
  305. var util = require("../../utils/util.js");
  306. var config = require("../../config");
  307. export default {
  308. data() {
  309. return {
  310. guanjianciishow:false,
  311. Aimg: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACqVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9/f3////9/f39/f3////////9/f3////////////9/f3////9/f39/f3////9/f3////////9/f3////9/f3////////////////9/f39/f3////////9/f39/f3////9/f39/f3////////9/f39/f3////////9/f39/f39/f3////////////////+/v7+/v7////+/v7////+/v7////+/v7+/v7////////+/v7+/v7////+/v7////+/v7////////////////////////////+/v7////+/v7////+/v7+/v7////////////+/v7////+/v7////+/v7+/v7////////+/v7////+/v7////////+/v7////////+/v7////+/v7+/v7+/v7////////+/v7+/v7////+/v7+/v7////+/v7////+/v7////+/v7////+/v7+/v7////+/v7+/v7////+/v7////+/v7////+/v7+/v7////+/v5jdC9iAAAA4nRSTlMAAQIDBAUGBwgLDA0ODxARExQVFhgbHB4fICEiIyQmJygpKy4wMTIzNDY3ODk6Oz0+P0BBQkRGR0lKTE5PUFFTVFVXWFlcXV9gYWJjZWZnaGlqa2xtbm9wcXJzdHV2d3h6e319foGBgoODh4mKiouMjI2QkZKSk5OUlpeYmZmam5ycnZ+foKGio6SmqKmpq6yur7CwsbGytba5uru8wMDBwcLCw8XGx8jJysrLzM7P0dLT1dXW1tfY2drc3N7f4OHh5Obm5+jp6uvs7vDx8vLz8/T09fX29/f4+fn6+vz8/f7+RVDt+wAAA55JREFUGBntwf9/1HMAB/DX7XYbuXWV1cyMoixfugrRGNXytW33pbVdJ83XkiMLSb4LJd/zZUi0SKT5FmGS77HUVaixnHP2+kt8vt3Zbp/3+7P3XR5+8XziP1E4uiYcrh1bjMNi6NzXumnoeX3eSOSrpHUv+zi0ogJ5qd3JLN1XuJGzwqW0sW4oclT0Im19XIqcuNdQ4D0vcnEDhdYgB2f+SbFZUHbEdkrsLYeqFko9CEVH7qJUohxqLqODO6BmLR18XwAVRQfpZDxUnExHjVBRR0eroGIZHX0AFe10tA8qdtNZIRR00VEPVLxLRzuh4jk62gIVy+joSaiI0tECqPDT0blQ4f6RDpI+KHmYDjZBzWQ6aIaibZSK+6BoOqViUOXqoER8BJSdlqJYFDm4h0LveJAD7+cUiFciJ1U/01aiGjk65zfaSF6EnE3azQEO1iAPFZuZZes45MUT3cM+emLFyNfwK3fQ8k1sFA6L0cElTzx9d1OVC/8bNG/gzY+GQaKk461gCQZr8iMHSNZD4nySv6wYj0EYFv2UhqcgcTsN70ePhtzER3+lJe6BxXP9jTctvrl1yS1jkLaNlkTbBR6IlF3dyT78sHh+oqkSlrJe/uOH1jGw4apem2I/1yLtGRo6kRZiP73t57mQxb+Z2dqRdikNtyLtBWb78Cz05bomyQH+KIGljIYaWNxxDtC72ouMgsdpZzosHhqqYDmFdraOQNpttHUfLKU0TITlKtra6IZpCu3tgMVPQx0sG2ivDqaVFDgOppk0LIbJm6C9DTB1UCAMU4SGZ2GqocAumL6jQBtMMRq2wLScAik3dMV/UWB/EQwrafgSpk6KlEJ3LIXOgGE9DQdgqKDQSdBNoNAiGL6i6SjowhSaAt1UCm2CzpOk6QTonqfQJdBdSKGkD5pKWqZCU7iHQtdB10KxWmjOpqUJmtMp9gB091LsIWiCtCyFZiHFXoZuHcW+hiZGy0vQvE2xT6DbTolKAI/R8hmA4SmKdUG3jxIhAG/QkigAZlAi6QJQTJk2AF1MGwXcRRkfgJGU2V8EHzP8wBeUqQQwllKTcCozpuFESk0AMJNSC3AxM8KYT6lpAFootRGLmLEQ6ynVCCBAqcSQ1cy4f8ghSs0HcMzvlKp+lRmvVFMqNQ6aaIoyd3Yy49vllOmuh+H4WZFIpFnTpJmjadTM1oQ1oVAgFNQENA0N9f01BIKh8OzGOU3NkbmXzwuV41/wNztgHKhu7WKTAAAAAElFTkSuQmCC",
  312. tablist:[],
  313. roleindex:0,
  314. roleindexbiaoji:0,
  315. audioPlay: false, //当前的播放状态控制
  316. sliderValue: 0, //进度条最小值
  317. sliderMax: 0, //进度条最大值
  318. innerAudioContext: "", //播放实例
  319. currentTimeStr: "00:00", //当前进度的时间
  320. timeStr: "00:00", //总的时间
  321. recordPath: "",
  322. customerId: "",
  323. luyinList: [], //录音文件
  324. newluyinList:[],
  325. dialogList: [], //录音识别列表
  326. csdFileindex: 0,
  327. date: "", //年月日
  328. tab: 0, // 默认是音频识别
  329. scrollTop: 0,
  330. scrollId: "",
  331. playNow: 0,
  332. alltimeStr: "00:00:00",
  333. ratelist: [], //评分列表
  334. totalRate: "",
  335. thewrongword: "", //错误词
  336. reswrongword: "", //正确词
  337. isshow2: false,
  338. messagelisy: [],
  339. isshow3: false,
  340. biaoqianlist: [],
  341. biaoqianindex: 0,
  342. changanitem: {},
  343. duihuawenjianid: "",
  344. biaoqianid: "",
  345. status: 0,
  346. userInfo: {},
  347. jiaoseshow: true,
  348. itemobj:{},
  349. textindex:0,//下拉 转写文件下标
  350. toptextindex:0,//上拉 转写文件下标
  351. biojiisshow:false,
  352. speaker:'',
  353. dshfkjsdkksodofydwfkhwdfkjh:0,
  354. userlistobj:{},
  355. Acquirecustomerintentlist:[],
  356. options1:[],
  357. Receivedetailsabout:false,
  358. Pinspeak:false,
  359. intention:false,
  360. yixingindex:0,//意向,统计切换
  361. buildingID:''
  362. };
  363. },
  364. onLoad: function(options) {
  365. this.status = options.status;
  366. this.customerId = options.customerId;
  367. this.itemobj=JSON.parse(options.itemobj);
  368. this.stateisshow=options.stateisshow;
  369. },
  370. onShow() {
  371. this.buildingID = uni.getStorageSync('buildingID').id;
  372. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  373. if (this.userInfo.dataCode == 6) {
  374. this.jiaoseshow = false
  375. }
  376. this.roleindex=0;
  377. if(this.stateisshow==2){
  378. var info =this.itemobj;
  379. }else{
  380. var pages = getCurrentPages();
  381. var currPage = pages[pages.length - 1]; //当前页面
  382. var info = currPage.data.info;
  383. }
  384. this.innerAudioContext = uni.createInnerAudioContext();
  385. this.innerAudioContext.autoplay = false;
  386. this.innerAudioContext.title = '音频';
  387. this.onPlay()
  388. this.onPause()
  389. this.onCanplay()
  390. this.onEnded()
  391. this.onSeeking()
  392. this.onSeeked()
  393. this.TimeUpdate()
  394. this.init(info)
  395. },
  396. // 在组件实例被从页面节点树移除时执行
  397. destroyed: function() {
  398. if (this.innerAudioContext) {
  399. this.innerAudioContext.destroy();
  400. }
  401. },
  402. // 销毁实例
  403. onUnload: function() {
  404. this.innerAudioContext.destroy();
  405. },
  406. methods: {
  407. //评分点击
  408. clickaudeopal(item){
  409. this.innerAudioContext.destroy();
  410. if(item.selected==0){
  411. console.log(item)
  412. uni.navigateTo({
  413. url: '/pages/mine/ScoringPlaylist?customerId='+this.customerId +"&id="+item.marketingId
  414. })
  415. }
  416. },
  417. //获取用户信息
  418. gituserlist(){
  419. this.$u.get("/matchKeywords/personalReceptionRecord", {
  420. customerId: this.customerId
  421. }).then(res => {
  422. res.endTime1=res.endTime.substring(0, 19);
  423. this.userlistobj=res;
  424. })
  425. },
  426. //获取意向信息
  427. Acquirecustomerintent(){
  428. this.$u.get("/matchKeywords/findPersonalMatchData", {
  429. customerId: this.customerId
  430. }).then(res => {
  431. res.forEach(item=>{
  432. item.isshow=true;
  433. item.children.forEach(chend=>{
  434. if(item.name=='意向面积'){
  435. chend.text=chend.name+'m²'+'-'+chend.endName+'m²'
  436. }else if(item.name=='购房预算'){
  437. chend.text=chend.name+'万'+'-'+chend.endName+'万'
  438. }else{
  439. chend.text=chend.name
  440. }
  441. })
  442. })
  443. this.Acquirecustomerintentlist=res;
  444. })
  445. },
  446. Acquishow(i){
  447. this.Acquirecustomerintentlist[i].isshow=!this.Acquirecustomerintentlist[i].isshow;
  448. },
  449. Edittag(item,chend,index,i){
  450. var selected='';
  451. if(chend.selected==0){
  452. selected=1;
  453. this.Acquirecustomerintentlist[index].children[i].selected=1;
  454. }else{
  455. selected=0;
  456. this.Acquirecustomerintentlist[index].children[i].selected=0;
  457. }
  458. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  459. carId: this.customerId,
  460. selected:selected,
  461. name:chend.name,
  462. pid:chend.pid,
  463. level:chend.level,
  464. endName:chend.endName,
  465. keywordsId:chend.keywordsId
  466. }).then(res => {
  467. })
  468. },
  469. //取消接待详情
  470. clenReceivedetailsabout(){
  471. this.Receivedetailsabout=false;
  472. this.Pinspeak=false;
  473. this.intention=false;
  474. },
  475. //意向统计切换
  476. Intentiontoswitch(i){
  477. this.yixingindex=i;
  478. if(i==1){
  479. this.statistical()
  480. }
  481. },
  482. statistical(){
  483. this.$u.get("/matchKeywords/findCARKeywords", {
  484. customerId: this.customerId
  485. }).then(res => {
  486. res.forEach(item=>{
  487. if(item.isInterval==0){
  488. item.name=item.name+item.unit+ '-'+ item.endName+item.unit;
  489. }
  490. })
  491. this.options1=res;
  492. })
  493. },
  494. //接待详情点击
  495. Receivedetailsabouttab(stringa){
  496. if(stringa=='Receivedetailsabout'){
  497. this.gituserlist()
  498. this.Receivedetailsabout=true;
  499. }else if(stringa=='Pinspeak'){
  500. this.getRatelist()
  501. this.Pinspeak=true;
  502. }else{
  503. this.Acquirecustomerintent()
  504. this.intention=true;
  505. }
  506. },
  507. guanjiancishifo(){
  508. // this.guanjianciishow=!this.guanjianciishow;
  509. this.innerAudioContext.destroy();
  510. this.stateisshow=1;
  511. uni.navigateTo({
  512. url: '/pages/learning/Keywordsearch?customerId='+this.customerId +"&status="+this.status +"&skpl="+"1"
  513. })
  514. },
  515. //标记选择角色
  516. biaojixuanze(index){
  517. this.roleindexbiaoji=index;
  518. },
  519. //标记顾问
  520. tagtap(){
  521. this.biojiisshow=!this.biojiisshow;
  522. },
  523. //取消标记
  524. unmarktap(){
  525. this.biojiisshow=false;
  526. this.roleindexbiaoji=this.dshfkjsdkksodofydwfkhwdfkjh;
  527. },
  528. //确认标记
  529. Confirmthetag(){
  530. var num=this.roleindexbiaoji+1;
  531. uni.request({
  532. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id+"&speaker="+num+'&customerId='+this.customerId, //仅为示例,并非真实接口地址。
  533. method: "GET",
  534. header: {
  535. 'content-type': 'application/json',
  536. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  537. },
  538. success: (data) => {
  539. this.biojiisshow=false;
  540. this.biaojiyuyi()
  541. this.fenjiaoseunfo()
  542. uni.showToast({
  543. title: '标记成功',
  544. duration: 2000
  545. });
  546. },
  547. })
  548. },
  549. //标记语义词
  550. biaojiyuyi(){
  551. let parames={
  552. carId:this.customerId
  553. }
  554. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  555. console.log(res)
  556. })
  557. },
  558. //分角色
  559. tapspagek(index){
  560. this.roleindex=index;
  561. this.newluyinList=[];
  562. this.fenjiaoseunfo()
  563. },
  564. //分角色标记刷新
  565. fenjiaoseunfo(){
  566. var bgcd=this.sliderValue*1000;
  567. this.newluyinList=[];
  568. this.dialogList = [];
  569. uni.request({
  570. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id+"&bg="+bgcd+"&speaker="+this.roleindex, //仅为示例,并非真实接口地址。
  571. method: "GET",
  572. header: {
  573. 'content-type': 'application/json',
  574. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  575. },
  576. success: (data) => {
  577. this.tablist=[];
  578. let jsonInfo = JSON.parse(data.data.data.audioContent);
  579. for(var i=0;i<=data.data.data.speakerNum;i++){
  580. if(i==0){
  581. this.tablist.push({
  582. name:'全部'
  583. })
  584. }else if(i==1){
  585. this.tablist.push({
  586. name:'A'
  587. })
  588. }else if(i==2){
  589. this.tablist.push({
  590. name:'B'
  591. })
  592. }else if(i==3){
  593. this.tablist.push({
  594. name:'C'
  595. })
  596. }else if(i==4){
  597. this.tablist.push({
  598. name:'D'
  599. })
  600. }else if(i==5){
  601. this.tablist.push({
  602. name:'E'
  603. })
  604. }else if(i==6){
  605. this.tablist.push({
  606. name:'F'
  607. })
  608. }else if(i==7){
  609. this.tablist.push({
  610. name:'G'
  611. })
  612. }else if(i==8){
  613. this.tablist.push({
  614. name:'H'
  615. })
  616. }else{
  617. this.tablist.push({
  618. name:'I'
  619. })
  620. }
  621. }
  622. if(data.data.data.speaker==null){
  623. this.roleindexbiaoji=0;
  624. this.dshfkjsdkksodofydwfkhwdfkjh=0;
  625. }else{
  626. this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问";
  627. this.roleindexbiaoji=data.data.data.speaker-1;
  628. this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1;
  629. }
  630. this.speaker=data.data.data.speaker;
  631. //上拉标记点
  632. this.textindex=data.data.data.index;
  633. //下拉标记点
  634. this.toptextindex=data.data.data.index;
  635. jsonInfo.forEach(item=>{
  636. item.message=JSON.parse(item.onebest)
  637. item.backindex=this.csdFileindex
  638. })
  639. console.log(jsonInfo)
  640. this.newluyinList=jsonInfo;
  641. if(this.textindex==null){
  642. return
  643. }else{
  644. this.dialogList.push(jsonInfo[this.textindex]);
  645. }
  646. }
  647. })
  648. },
  649. toKeywordsearch(){
  650. this.innerAudioContext.destroy();
  651. this.stateisshow=1;
  652. uni.navigateTo({
  653. url: '/pages/learning/Keywordsearch?customerId='+this.customerId +"&status="+this.status +"&skpl="+"1"
  654. })
  655. },
  656. onPlay(){
  657. this.innerAudioContext.onPlay(() => {
  658. // 播放监听
  659. console.log('播放!');
  660. this.audioPlay = true;
  661. });
  662. },
  663. onPause(){
  664. this.innerAudioContext.onPause(() => {
  665. // 暂停监听
  666. console.log('暂停播放!');
  667. this.audioPlay = false
  668. });
  669. },
  670. onCanplay() {
  671. this.innerAudioContext.onCanplay((callback) => {
  672. console.log("缓冲回调",this.innerAudioContext.duration);
  673. })
  674. },
  675. onEnded(){
  676. this.innerAudioContext.onEnded(() => {
  677. // 结束播放监听
  678. console.log('播放结束!');
  679. this.audioPlay = false;
  680. });
  681. },
  682. onSeeking(){
  683. this.innerAudioContext.onSeeking((res) => {
  684. console.log("进行跳转", res);
  685. })
  686. },
  687. onSeeked(){
  688. this.innerAudioContext.onSeeked((res) => {
  689. console.log("结束跳转", res);
  690. this.$forceUpdate()
  691. });
  692. },
  693. TimeUpdate(){
  694. this.innerAudioContext.onTimeUpdate(() => {
  695. const {
  696. currentTime,
  697. duration
  698. } = this.innerAudioContext;
  699. this.playNow = parseInt(currentTime * 1000)
  700. if (this.dialogList.length == 0) {
  701. return
  702. } else {
  703. const message = this.dialogList[0].message;
  704. for (let i = 0; i < message.length; i++) {
  705. if (Number(message[i].bg) < this.playNow && Number(message[i].ed) > this.playNow) {
  706. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  707. break;
  708. }
  709. }
  710. }
  711. const currTimeStr = this.formatTime(currentTime);
  712. this.sliderValue = parseInt(currentTime);
  713. // 变动的时间
  714. this.currentTimeStr = currTimeStr;
  715. //进度条最大值
  716. this.sliderMax = this.luyinList[this.csdFileindex].recordDuration;
  717. this.$forceUpdate()
  718. });
  719. },
  720. init(info) {
  721. this.sliderMax = 0; //进度条最大值
  722. this.timeStr = "00:00"; //总的时间
  723. const parames = {
  724. pageNum: 1,
  725. pageSize: 100,
  726. query: {
  727. customerId: this.customerId
  728. }
  729. }
  730. this.$u.post("/corpus/findByPage", parames).then(res => {
  731. if (res && res.length) {
  732. let alltime = 1+res[0].recordDuration;
  733. this.alltimeStr = this.getTime(alltime)
  734. if(info.bg!=0){
  735. this.luyinList = res;
  736. this.recordPath = res[0].recordPath
  737. this.sliderMax = this.getTime(res[0].recordDuration)
  738. this.timeStr = this.getTime(res[0].recordDuration)
  739. this.date = res[0].receptionTime;
  740. this.getCorpusAnalysis(info);
  741. this.creatAudio()
  742. }else{
  743. this.luyinList = res;
  744. this.recordPath = res[0].recordPath
  745. this.sliderMax = this.getTime(res[0].recordDuration)
  746. this.timeStr = this.getTime(res[0].recordDuration)
  747. this.date = res[0].receptionTime;
  748. this.getCorpusAnalysis(info);
  749. this.creatAudio()
  750. }
  751. }
  752. })
  753. },
  754. //搜索跳转
  755. adasdasdasd(e) {
  756. const currTimeStr = this.formatTime(e)
  757. this.currentTimeStr = currTimeStr
  758. this.innerAudioContext.seek(e);
  759. this.innerAudioContext.play();
  760. },
  761. //下一页
  762. ltolower() {
  763. var lengthcz=this.newluyinList.length-1;
  764. if (this.textindex >= lengthcz) {
  765. uni.showToast({
  766. title: '到底了',
  767. duration: 2000
  768. });
  769. return
  770. }else {
  771. this.textindex=this.textindex+1;
  772. this.newluyinList[this.textindex].message.forEach(item=>{
  773. this.dialogList[0].message.push(item)
  774. })
  775. }
  776. console.log("下一页",this.textindex)
  777. },
  778. //上一页
  779. rolltoupper() {
  780. if(this.toptextindex == 0){
  781. // uni.showToast({
  782. // title: '到头了',
  783. // duration: 2000
  784. // });
  785. return
  786. }else {
  787. if(this.dialogList[0]==undefined ){
  788. return
  789. }else{
  790. this.toptextindex=this.toptextindex-1;
  791. let reverselist=this.newluyinList[this.toptextindex].message;
  792. let runlist=reverselist.reverse();
  793. runlist.forEach(item=>{
  794. this.dialogList[0].message.unshift(item)
  795. })
  796. }
  797. }
  798. console.log("上一页",this.toptextindex)
  799. },
  800. // 取消全部加精
  801. notappick() {
  802. var that = this;
  803. uni.showModal({
  804. title: '提示',
  805. content: '确认取消加精?',
  806. success: function(res) {
  807. if (res.confirm) {
  808. console.log('用户点击确定');
  809. uni.request({
  810. url: config.service.delATD + "?carId=" + that.customerId+'&itemId='+that.buildingID,
  811. method: "GET",
  812. header: {
  813. 'content-type': 'application/json',
  814. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  815. .token
  816. },
  817. success: (data) => {
  818. if (data.data.code == 10000) {
  819. that.status = 1
  820. uni.showToast({
  821. title: '取消成功',
  822. duration: 2000
  823. });
  824. } else {
  825. uni.showToast({
  826. title: data.data.message,
  827. duration: 2000
  828. });
  829. }
  830. }
  831. })
  832. } else if (res.cancel) {
  833. console.log('用户点击取消');
  834. }
  835. }
  836. });
  837. },
  838. //全部加精
  839. tappick(i) {
  840. var that = this;
  841. uni.showModal({
  842. title: '提示',
  843. content: '确认加精?',
  844. success: function(res) {
  845. if (res.confirm) {
  846. console.log('用户点击确定');
  847. let objdata = {
  848. "carId": that.customerId, //客户id
  849. "status": 0,
  850. "itemId":that.buildingID,
  851. }
  852. uni.request({
  853. url: config.service.addATD,
  854. method: "POST",
  855. header: {
  856. 'content-type': 'application/json',
  857. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  858. .token
  859. },
  860. data: objdata,
  861. success: (data) => {
  862. if (data.data.code == 10000) {
  863. that.status = 0
  864. uni.showToast({
  865. title: '加精成功',
  866. duration: 2000
  867. });
  868. } else {
  869. uni.showToast({
  870. title: data.data.message,
  871. duration: 2000
  872. });
  873. }
  874. }
  875. })
  876. } else if (res.cancel) {
  877. console.log('用户点击取消');
  878. }
  879. }
  880. });
  881. },
  882. //标签选择
  883. tapbiaoqianclisck(index) {
  884. this.biaoqianindex = index;
  885. this.biaoqianid = this.biaoqianlist[index].id
  886. },
  887. //复制
  888. clickcopy() {
  889. var that = this;
  890. uni.setClipboardData({
  891. data: that.thewrongword,
  892. success: function() {
  893. that.dialogList.forEach(res => {
  894. res.message.forEach(asd => {
  895. asd.isshow = false;
  896. })
  897. })
  898. that.$forceUpdate();
  899. console.log('success');
  900. }
  901. });
  902. },
  903. //确认加入常错词
  904. Confirmtheexit() {
  905. if (this.thewrongword) {
  906. if (this.reswrongword) {
  907. let parames = {
  908. customerId:this.customerId,
  909. cupid: this.luyinList[this.csdFileindex].id,
  910. wrongWord: this.thewrongword, //错误词
  911. correctWord: this.reswrongword, //正确词
  912. translateHtmlContent: this.messagelisy,
  913. }
  914. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  915. this.isshow2 = false;
  916. this.dialogList.forEach(res => {
  917. res.message.forEach(asd => {
  918. asd.isshow = false;
  919. })
  920. })
  921. this.thewrongword = "";
  922. this.reswrongword = "";
  923. })
  924. } else {
  925. uni.showToast({
  926. title: '正确值不能为空',
  927. duration: 2000
  928. });
  929. return
  930. }
  931. } else {
  932. uni.showToast({
  933. title: '错误词不能为空',
  934. duration: 2000
  935. });
  936. return
  937. }
  938. },
  939. //取消加入常错词
  940. Cancelout() {
  941. this.isshow2 = false;
  942. this.dialogList.forEach(res => {
  943. res.message.forEach(asd => {
  944. asd.isshow = false;
  945. })
  946. })
  947. },
  948. //加入长错词
  949. Oftenthewrongword() {
  950. this.reswrongword = "";
  951. this.isshow2 = true;
  952. },
  953. //加精华
  954. Addtheessence() {
  955. this.isshow3 = true;
  956. this.biaoqianlist = []
  957. let parames={
  958. "itemId":this.buildingID
  959. }
  960. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  961. this.biaoqianlist = data
  962. this.biaoqianlist.unshift({
  963. name: "逼单话术",
  964. id: 0
  965. })
  966. })
  967. // util.getRequestPromise(config.service.findAllYi, {"itemId":this.buildingID}, false).then(data => {
  968. // this.biaoqianlist = data
  969. // this.biaoqianlist.unshift({
  970. // name: "逼单话术",
  971. // id: 0
  972. // })
  973. // });
  974. },
  975. // 取消加精
  976. Cancelout2() {
  977. this.isshow3 = false;
  978. this.dialogList.forEach(res => {
  979. res.message.forEach(asd => {
  980. asd.isshow = false;
  981. })
  982. })
  983. },
  984. // 确认加精
  985. Confirmtheexit2() {
  986. if (this.biaoqianid) {
  987. this.biaoqianid = this.biaoqianid
  988. } else {
  989. this.biaoqianid = 0
  990. }
  991. this.isshow3 = false;
  992. this.dialogList.forEach(res => {
  993. res.message.forEach(asd => {
  994. asd.isshow = false;
  995. })
  996. })
  997. let objdata = {
  998. "itemId":this.buildingID,
  999. "carId": this.customerId, //客户id
  1000. "startTime": this.changanitem.bg, //开始时间
  1001. "startFile": this.duihuawenjianid, //对话所在录音文件id
  1002. "endTime": this.changanitem.ed, //结束时间
  1003. "marketingId": this.biaoqianid, //对应一级父id
  1004. "jjTransfer": this.changanitem.onebest, //选中对话
  1005. "status": 1
  1006. }
  1007. uni.request({
  1008. url: config.service.addATD,
  1009. method: "POST",
  1010. header: {
  1011. 'content-type': 'application/json',
  1012. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1013. },
  1014. data: objdata,
  1015. success: (data) => {
  1016. if (data.data.code == 10000) {
  1017. uni.showToast({
  1018. title: '加精成功',
  1019. duration: 2000
  1020. });
  1021. } else {
  1022. uni.showToast({
  1023. title: data.data.message,
  1024. duration: 2000
  1025. });
  1026. }
  1027. }
  1028. })
  1029. },
  1030. //长按对话
  1031. changanxiaoguo(item, index, i) {
  1032. this.messagelisy = [];
  1033. this.changanitem = {};
  1034. this.duihuawenjianid = "",
  1035. this.dialogList.forEach(res => {
  1036. res.message.forEach(asd => {
  1037. asd.isshow = false;
  1038. })
  1039. })
  1040. this.changanitem = item;
  1041. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1042. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow
  1043. this.thewrongword = item.onebest;
  1044. this.messagelisy = this.dialogList[i].message
  1045. console.log(this.dialogList[i], "长按触发")
  1046. },
  1047. //回到顶部
  1048. gotoTop() {
  1049. this.scrollId = null;
  1050. this.$nextTick(() => {
  1051. this.scrollId = "top";
  1052. })
  1053. },
  1054. //切换tab
  1055. changeTab(type) {
  1056. if (type == 0) {
  1057. this.tab = 0
  1058. } else {
  1059. this.tab = 1;
  1060. this.getRatelist();
  1061. }
  1062. },
  1063. //评分上下显隐
  1064. changeshow(item, type) {
  1065. if (type == 1) {
  1066. item.show = true
  1067. } else {
  1068. item.show = false
  1069. }
  1070. },
  1071. // 获取评分
  1072. getRatelist() {
  1073. if (this.ratelist.length == 0) {
  1074. uni.showLoading({
  1075. title: '加载中'
  1076. });
  1077. this.$u.get("/customer/findzkMByCusId", {
  1078. cusId: this.customerId
  1079. }).then(res => {
  1080. if (res.length) {
  1081. let level1 = []
  1082. let level2rate = 0
  1083. res.forEach(item => {
  1084. if (item.pid == 0) {
  1085. level1.push({
  1086. id: item.marketingId,
  1087. rate: item.fraction,
  1088. name: item.name,
  1089. sort: item.sort,
  1090. show: false,
  1091. ratepercent: 0,
  1092. children: []
  1093. })
  1094. } else {
  1095. if (item.selected == 0) {
  1096. level2rate += item.fraction
  1097. }
  1098. }
  1099. })
  1100. this.totalRate = level2rate
  1101. res.forEach(subitem => {
  1102. let subitempid = subitem.pid
  1103. level1.forEach(item => {
  1104. if (subitempid == item.id) {
  1105. if (subitem.selected == 0) {
  1106. item.ratepercent += subitem.fraction
  1107. }
  1108. item.children.push({
  1109. id: subitem.id,
  1110. rate: subitem.fraction,
  1111. selected: subitem.selected,
  1112. name: subitem.name,
  1113. marketingId:subitem.marketingId
  1114. })
  1115. }
  1116. })
  1117. })
  1118. level1[0].show = true;
  1119. this.ratelist = level1
  1120. }
  1121. setTimeout(function() {
  1122. uni.hideLoading();
  1123. }, 1000);
  1124. })
  1125. }
  1126. },
  1127. // 获取转义后的对话结果
  1128. getCorpusAnalysis(info) {
  1129. this.dialogList = [];
  1130. this.newluyinList=[]
  1131. uni.request({
  1132. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id+"&bg="+info.bg+"&speaker="+this.roleindex, //仅为示例,并非真实接口地址。
  1133. method: "GET",
  1134. header: {
  1135. 'content-type': 'application/json',
  1136. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1137. },
  1138. success: (data) => {
  1139. this.tablist=[];
  1140. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1141. for(var i=0;i<=data.data.data.speakerNum;i++){
  1142. if(i==0){
  1143. this.tablist.push({
  1144. name:'全部'
  1145. })
  1146. }else if(i==1){
  1147. this.tablist.push({
  1148. name:'A'
  1149. })
  1150. }else if(i==2){
  1151. this.tablist.push({
  1152. name:'B'
  1153. })
  1154. }else if(i==3){
  1155. this.tablist.push({
  1156. name:'C'
  1157. })
  1158. }else if(i==4){
  1159. this.tablist.push({
  1160. name:'D'
  1161. })
  1162. }else if(i==5){
  1163. this.tablist.push({
  1164. name:'E'
  1165. })
  1166. }else if(i==6){
  1167. this.tablist.push({
  1168. name:'F'
  1169. })
  1170. }else if(i==7){
  1171. this.tablist.push({
  1172. name:'G'
  1173. })
  1174. }else if(i==8){
  1175. this.tablist.push({
  1176. name:'H'
  1177. })
  1178. }else{
  1179. this.tablist.push({
  1180. name:'I'
  1181. })
  1182. }
  1183. }
  1184. if(data.data.data.speaker==null){
  1185. this.roleindexbiaoji=0;
  1186. this.dshfkjsdkksodofydwfkhwdfkjh=0;
  1187. }else{
  1188. this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问";
  1189. this.roleindexbiaoji=data.data.data.speaker-1;
  1190. this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1;
  1191. }
  1192. this.speaker=data.data.data.speaker;
  1193. //上拉标记点
  1194. this.textindex=data.data.data.index;
  1195. //下拉标记点
  1196. this.toptextindex=data.data.data.index;
  1197. jsonInfo.forEach(item=>{
  1198. item.message=JSON.parse(item.onebest)
  1199. item.backindex=this.csdFileindex
  1200. })
  1201. console.log(jsonInfo)
  1202. this.newluyinList=jsonInfo;
  1203. this.dialogList.push(jsonInfo[this.textindex]);
  1204. var itc=parseInt(info.bg/1000)
  1205. this.adasdasdasd(itc)
  1206. }
  1207. })
  1208. },
  1209. getTime(time) {
  1210. return util.formatSecond(time)
  1211. },
  1212. // 录音暂停播放
  1213. changePlayState() {
  1214. if (this.audioPlay == false) {
  1215. this.innerAudioContext.play();
  1216. } else {
  1217. this.innerAudioContext.pause()
  1218. }
  1219. },
  1220. //音频前进回退
  1221. sliderChangeComplate(e) {
  1222. let platetime=e.detail.value*1000;
  1223. this.dialogList=[]
  1224. uni.request({
  1225. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id+"&bg="+platetime, //仅为示例,并非真实接口地址。
  1226. method: "GET",
  1227. header: {
  1228. 'content-type': 'application/json',
  1229. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1230. },
  1231. success: (data) => {
  1232. this.textindex=data.data.data.index;
  1233. this.toptextindex=data.data.data.index;
  1234. if(data.data.data.index>this.newluyinList.length){
  1235. this.dialogList.push(this.newluyinList[0])
  1236. }else{
  1237. this.dialogList.push(this.newluyinList[data.data.data.index])
  1238. }
  1239. const currTimeStr = this.formatTime(e.detail.value)
  1240. this.currentTimeStr = currTimeStr
  1241. this.innerAudioContext.seek(e.detail.value);
  1242. this.innerAudioContext.play();
  1243. }
  1244. })
  1245. },
  1246. //长按点击播放
  1247. clickbofang(dialog,item) {
  1248. this.innerAudioContext.pause()
  1249. this.dialogList.forEach(res => {
  1250. res.message.forEach(asd => {
  1251. asd.isshow = false;
  1252. })
  1253. })
  1254. this.$forceUpdate()
  1255. let platetime=item.bg;
  1256. let newtime=item.bg/1000;
  1257. this.dialogList=[]
  1258. uni.request({
  1259. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id+"&bg="+platetime, //仅为示例,并非真实接口地址。
  1260. method: "GET",
  1261. header: {
  1262. 'content-type': 'application/json',
  1263. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1264. },
  1265. success: (data) => {
  1266. this.textindex=data.data.data.index;
  1267. this.toptextindex=data.data.data.index;
  1268. this.dialogList.push(this.newluyinList[data.data.data.index])
  1269. const currTimeStr = this.formatTime(newtime)
  1270. this.currentTimeStr = currTimeStr
  1271. this.innerAudioContext.seek(newtime);
  1272. this.innerAudioContext.play();
  1273. }
  1274. })
  1275. },
  1276. //录音实例
  1277. creatAudio() {
  1278. this.innerAudioContext = uni.createInnerAudioContext();
  1279. this.innerAudioContext.autoplay = true;
  1280. this.innerAudioContext.src = this.recordPath;
  1281. this.innerAudioContext.title = '音频';
  1282. this.onPlay()
  1283. this.onPause()
  1284. this.onCanplay()
  1285. this.onEnded()
  1286. this.onSeeking()
  1287. this.onSeeked()
  1288. this.TimeUpdate()
  1289. },
  1290. formatTime(num) {
  1291. //格式化时间格式
  1292. num = num.toFixed(0);
  1293. let second = num % 60;
  1294. if (second < 10) second = '0' + second;
  1295. let min = Math.floor(num / 60);
  1296. if (min < 10) min = '0' + min;
  1297. return min + ":" + second;
  1298. },
  1299. changeEditing() {
  1300. this.dialogListres[0].message.forEach(asd => {
  1301. asd.isshow = false;
  1302. })
  1303. }
  1304. },
  1305. }
  1306. </script>
  1307. <style lang="scss" scoped>
  1308. .box{
  1309. width: 100%;
  1310. height: 100vh;
  1311. display:flex;
  1312. flex-direction:column;
  1313. .headbox{
  1314. width: 100%;
  1315. min-height: 173rpx;
  1316. border-bottom: 1px solid #E0E0E0;
  1317. }
  1318. .zhuti{
  1319. flex:1;
  1320. overflow:auto;
  1321. }
  1322. .bottombox{
  1323. width: 100%;
  1324. height: 150rpx;
  1325. border-top: 1px solid #E0E0E0;
  1326. .bottomhead{
  1327. width: 100%;
  1328. height: 61rpx;
  1329. border-bottom: 1px solid #E0E0E0;
  1330. display: flex;
  1331. justify-content: space-between;
  1332. align-items: center;
  1333. .audio-slider {
  1334. width: 87%;
  1335. display: flex;
  1336. justify-content: space-between;
  1337. align-items: center;
  1338. padding-right: 30rpx;
  1339. }
  1340. .audio-slider .slider {
  1341. width: 100%;
  1342. padding: 0px 15rpx;
  1343. box-sizing: border-box;
  1344. }
  1345. .audio-time {
  1346. width: 110rpx;
  1347. text-align: right;
  1348. font-size: 24rpx;
  1349. line-height: 28rpx;
  1350. color: #70798D;
  1351. display: flex;
  1352. justify-content: space-between;
  1353. }
  1354. .audio-play {
  1355. width: 40rpx;
  1356. height: 40rpx;
  1357. flex-shrink: 0;
  1358. }
  1359. .audio-play .image {
  1360. width: 100%;
  1361. height: 100%;
  1362. margin-left: 30rpx;
  1363. }
  1364. }
  1365. .botbotmm{
  1366. width: 100%;
  1367. height: 88rpx;
  1368. display: flex;
  1369. align-items: center;
  1370. }
  1371. }
  1372. }
  1373. .headboxhead{
  1374. width: 100%;
  1375. height: 84rpx;
  1376. border-bottom: 1px solid #E0E0E0;
  1377. display: flex;
  1378. .boxhead1{
  1379. width: 50%;
  1380. color: #303030;
  1381. height: 84rpx;
  1382. line-height: 84rpx;
  1383. font-size: 28rpx;
  1384. text-indent: 30rpx;
  1385. }
  1386. .boxhead2{
  1387. width: 46%;
  1388. height: 84rpx;
  1389. text-align: right;
  1390. }
  1391. }
  1392. .boxhead2 image{
  1393. width: 36rpx;
  1394. height: 36rpx;
  1395. margin-top: 24rpx;
  1396. }
  1397. .headboxbott{
  1398. width: 100%;
  1399. height:88rpx;
  1400. display: flex;
  1401. align-items: center;
  1402. .headovfu{
  1403. flex: 1;
  1404. height: 88rpx;
  1405. overflow: hidden;
  1406. }
  1407. .headpade{
  1408. width: 160rpx;
  1409. height: 60rpx;
  1410. display: flex;
  1411. justify-content: center;
  1412. align-items: center;
  1413. border-left: 1px solid #D6D6D6;
  1414. .biaoji{
  1415. width: 100rpx;
  1416. height: 48rpx;
  1417. background: #E6625B;
  1418. border-radius: 24rpx;
  1419. text-align: center;
  1420. line-height: 48rpx;
  1421. color: #FFFFFF;
  1422. font-size: 26rpx;
  1423. }
  1424. }
  1425. }
  1426. .fill{
  1427. width: 2rpx;
  1428. height: 41rpx;
  1429. background: #E0E0E0;
  1430. }
  1431. .tmmchen{
  1432. width: 25%;
  1433. height: 88rpx;
  1434. text-align: center;
  1435. color: #666666;
  1436. font-size: 18rpx;
  1437. }
  1438. .tmmchen image{
  1439. width: 40rpx;
  1440. height: 40rpx;
  1441. margin-top: 10rpx;
  1442. margin-bottom: 2rpx;
  1443. }
  1444. .zhezhoa {
  1445. position: fixed;
  1446. top: 0;
  1447. left: 0;
  1448. z-index: 999;
  1449. width: 100%;
  1450. height: 100vh;
  1451. opacity: 0.5;
  1452. background-color: #666666;
  1453. }
  1454. .followingpop-up{
  1455. width: 100%;
  1456. height: 700rpx;
  1457. background: #FFFFFF;
  1458. position: fixed;
  1459. background: #FFFFFF;
  1460. left: 0px;
  1461. bottom: 0px;
  1462. z-index: 1000;
  1463. display:flex;
  1464. flex-direction:column;
  1465. .guanbibox{
  1466. width: 100%;
  1467. padding-bottom: 20rpx;
  1468. border-bottom: 1px solid #E0E0E0;
  1469. .guanbixen{
  1470. width: 95%;
  1471. text-align: right;
  1472. padding-top: 24rpx;
  1473. }
  1474. .guanbixen image{
  1475. width:30rpx;
  1476. height:30rpx;
  1477. }
  1478. .cenisboxtab{
  1479. width: 100%;
  1480. display: flex;
  1481. .cenisboxtabview{
  1482. flex: 1;
  1483. display: flex;
  1484. align-items: center;
  1485. justify-content: center;
  1486. color: #333333;
  1487. font-size: 30rpx;
  1488. font-weight: 600;
  1489. }
  1490. }
  1491. }
  1492. .cenisbox{
  1493. flex:1;
  1494. overflow:auto;
  1495. .jianbox{
  1496. width: 100%;
  1497. border-bottom: 1px solid #E0E0E0;
  1498. padding-top: 24rpx;
  1499. padding-bottom: 24rpx;
  1500. .jianbox-cen{
  1501. width: 100%;
  1502. height: 78rpx;
  1503. border-bottom: 1px solid #E0E0E0;
  1504. display: flex;
  1505. .jianboxtext{
  1506. flex: 1;
  1507. height: 100%;
  1508. font-size: 30rpx;
  1509. font-weight: 600;
  1510. line-height: 78rpx;
  1511. color: #333333;
  1512. text-indent: 30rpx;
  1513. }
  1514. .jianboxjian{
  1515. width: 80rpx;
  1516. height: 100%;
  1517. line-height: 78rpx;
  1518. text-align: center;
  1519. }
  1520. }
  1521. .bioqianwayl{
  1522. width: 690rpx;
  1523. margin: 0 auto;
  1524. display: flex;
  1525. flex-wrap: wrap;
  1526. }
  1527. .bioqianwayl view{
  1528. padding-left: 24rpx;
  1529. padding-right: 24rpx;
  1530. padding-top: 10rpx;
  1531. padding-bottom: 10rpx;
  1532. margin-right: 24rpx;
  1533. margin-top: 20rpx;
  1534. border-radius: 8rpx;
  1535. font-size: 26rpx;
  1536. }
  1537. }
  1538. }
  1539. }
  1540. .jiantop{
  1541. width: 14rpx;
  1542. height: 24rpx;
  1543. }
  1544. .jiantop1{
  1545. width: 20rpx;
  1546. height: 14rpx;
  1547. }
  1548. .yixingindexclass{
  1549. border-bottom: 3px solid #2671E2;
  1550. }
  1551. .cenisboxdspl{
  1552. width: 94%;
  1553. margin: 0 auto;
  1554. padding-bottom: 24rpx;
  1555. display: flex;
  1556. flex-wrap: wrap;
  1557. .cenisboxdsplview{
  1558. padding-left: 24rpx;
  1559. padding-right: 24rpx;
  1560. padding-top: 10rpx;
  1561. padding-bottom: 10rpx;
  1562. background: #F4F8FD;
  1563. color: #2671E2;
  1564. font-size: 26rpx;
  1565. margin-right: 24rpx;
  1566. margin-top: 24rpx;
  1567. }
  1568. }
  1569. .bounced {
  1570. width: 570upx;
  1571. background: #FFFFFF;
  1572. z-index: 1000;
  1573. border-radius: 10upx;
  1574. position: fixed;
  1575. left: 50%;
  1576. top: 50%;
  1577. transform: translate(-50%, -50%);
  1578. /* 50%为自身尺寸的一半 */
  1579. .jiajinghuatit {
  1580. width: 100%;
  1581. height: 68rpx;
  1582. font-size: 30rpx;
  1583. text-align: center;
  1584. line-height: 68rpx;
  1585. }
  1586. .jiajinghuaview {
  1587. padding: 18rpx 18rpx 18rpx 18rpx;
  1588. display: flex;
  1589. flex-wrap: wrap;
  1590. .jiajinghuaview1 {
  1591. padding: 8rpx 8rpx 8rpx 8rpx;
  1592. font-size: 26rpx;
  1593. border-radius: 12rpx;
  1594. border: 1px solid #979797;
  1595. margin-left: 8rpx;
  1596. }
  1597. .jighuaview2 {
  1598. padding: 8rpx 18rpx 8rpx 18rpx;
  1599. font-size: 26rpx;
  1600. border-radius: 12rpx;
  1601. border: 1px solid #979797;
  1602. margin-left: 20rpx;
  1603. margin-top: 10rpx;
  1604. display: flex;
  1605. .view1-text {
  1606. text-align: center;
  1607. }
  1608. .view1-img {
  1609. width: 50rpx;
  1610. }
  1611. }
  1612. }
  1613. .bounced3 {
  1614. height: 100upx;
  1615. width: 100%;
  1616. margin-top: 40upx;
  1617. border-top: 1px solid #dddddd;
  1618. display: flex;
  1619. }
  1620. .bounced3-1 {
  1621. width: 50%;
  1622. height: 100%;
  1623. text-align: center;
  1624. line-height: 100upx;
  1625. border-right: 1px solid #dddddd;
  1626. font-size: 36upx;
  1627. color: #999999;
  1628. }
  1629. .bounced3-2 {
  1630. width: 50%;
  1631. height: 100%;
  1632. text-align: center;
  1633. line-height: 100upx;
  1634. font-size: 36upx;
  1635. color: #108ee9;
  1636. }
  1637. }
  1638. .viewclace{
  1639. width: 100rpx;
  1640. height: 40rpx;
  1641. text-align: center;
  1642. line-height: 40rpx;
  1643. border-radius: 14rpx;
  1644. margin-right: 34rpx;
  1645. margin-top: 16rpx;
  1646. font-size: 24rpx;
  1647. }
  1648. .bosdttom{
  1649. color: #FFFFFF;
  1650. background-color: #2671E2;
  1651. }
  1652. .dialog-block {
  1653. margin: 20rpx 0;
  1654. border-bottom: 1px solid #ccc;
  1655. .fileName {
  1656. text-align: center;
  1657. margin: 10rpx auto;
  1658. width: 115rpx;
  1659. height: 42rpx;
  1660. line-height: 42rpx;
  1661. background: #EFEFEF;
  1662. border-radius: 4rpx;
  1663. font-size: 20rpx;
  1664. font-weight: 400;
  1665. color: #333333;
  1666. }
  1667. }
  1668. .scroll-Y {
  1669. font-size: 36upx;
  1670. color: #999999;
  1671. background: #FFFFFF;
  1672. margin-top: 30upx;
  1673. flex: 1;
  1674. overflow-y: scroll;
  1675. width: 100%;
  1676. }
  1677. .scroll-Y .text {
  1678. margin: 50upx 30upx;
  1679. line-height: 80upx;
  1680. display: flex;
  1681. align-items: center;
  1682. }
  1683. .scroll-Y .text[data-speaker="2"],
  1684. .scroll-Y .text[data-speaker="4"],
  1685. .scroll-Y .text[data-speaker="6"] {
  1686. flex-direction: row-reverse;
  1687. text-align: right;
  1688. .content {
  1689. margin-left: 0;
  1690. margin-right: 30upx;
  1691. background: #F6F6F6;
  1692. color: #999999;
  1693. }
  1694. }
  1695. .scroll-Y .text .avatar {
  1696. width: 64upx;
  1697. height: 64upx;
  1698. line-height: 64upx;
  1699. text-align: center;
  1700. // border: 1rpx solid red;
  1701. font-size: 36rpx;
  1702. border-radius: 50%;
  1703. background: #F2F2F2;
  1704. color: #008EF2;
  1705. // display: flex;
  1706. // justify-content: center;
  1707. // align-items: center;
  1708. image {
  1709. width: 40upx;
  1710. }
  1711. }
  1712. .scroll-Y .text .content {
  1713. margin-left: 30upx;
  1714. line-height: 60rpx;
  1715. text-align: left;
  1716. padding: 0 5px;
  1717. background: #2BC805;
  1718. border-radius: 8upx;
  1719. max-width: 442rpx;
  1720. color: #FFFFFF;
  1721. position: relative;
  1722. .tankuangcss {
  1723. position: absolute;
  1724. top: -140rpx;
  1725. left: -120rpx;
  1726. width: 308rpx;
  1727. height: 130rpx;
  1728. background-color: #333333;
  1729. font-size: 24rpx;
  1730. color: #FFFFFF;
  1731. padding-top: 4rpx;
  1732. padding-bottom: 4rpx;
  1733. display: flex;
  1734. flex-wrap: wrap;
  1735. border-radius: 15rpx;
  1736. z-index: 1000;
  1737. }
  1738. }
  1739. .scroll-Y .text.active .content {
  1740. color: #38FFF1;
  1741. position: relative;
  1742. }
  1743. .scroll-Y .text.active[data-speaker="2"] .content,
  1744. .scroll-Y .text.active[data-speaker="4"] .content,
  1745. .scroll-Y .text.active[data-speaker="6"] .content {
  1746. color: #FF7538;
  1747. position: relative;
  1748. }
  1749. .backTop {
  1750. width: 60upx;
  1751. height: 60upx;
  1752. background: rgba(211, 235, 253, 1);
  1753. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  1754. border-radius: 50%;
  1755. position: fixed;
  1756. bottom: 200upx;
  1757. right: 8upx;
  1758. display: flex;
  1759. justify-content: center;
  1760. align-items: center;
  1761. image {
  1762. width: 26upx;
  1763. height: 34upx;
  1764. }
  1765. }
  1766. // 评分
  1767. .rate-box {
  1768. padding: 10rpx 20rpx;
  1769. .date {
  1770. width: 300rpx;
  1771. height: 33rpx;
  1772. font-size: 24rpx;
  1773. font-weight: 400;
  1774. color: #333333;
  1775. line-height: 33rpx;
  1776. letter-spacing: 1rpx;
  1777. margin-bottom: 8rpx;
  1778. }
  1779. .title {
  1780. width: 100%;
  1781. height: 42rpx;
  1782. font-size: 30rpx;
  1783. font-weight: 500;
  1784. color: #333333;
  1785. line-height: 42rpx;
  1786. letter-spacing: 2rpx;
  1787. margin-bottom: 20rpx;
  1788. }
  1789. .level1 {
  1790. display: flex;
  1791. align-items: center;
  1792. .level-name {
  1793. width: 104rpx;
  1794. height: 33rpx;
  1795. font-size: 24rpx;
  1796. font-weight: 500;
  1797. color: #333333;
  1798. line-height: 33rpx;
  1799. letter-spacing: 1rpx;
  1800. margin-right: 10rpx;
  1801. }
  1802. .level-progress {
  1803. flex: 1;
  1804. border-radius: 11rpx;
  1805. height: 21rpx;
  1806. background-color: #F2F2F2;
  1807. position: relative;
  1808. .color {
  1809. width: 0;
  1810. position: absolute;
  1811. top: 0;
  1812. left: 0;
  1813. height: 21rpx;
  1814. border-radius: 11rpx 0 0 11rpx;
  1815. background-color: #60D7A0;
  1816. }
  1817. }
  1818. .level-rate {
  1819. width: 65rpx;
  1820. height: 33rpx;
  1821. font-size: 24rpx;
  1822. font-weight: 500;
  1823. color: #333333;
  1824. line-height: 33rpx;
  1825. letter-spacing: 1rpx;
  1826. margin: 0 20rpx 0 15rpx;
  1827. }
  1828. .arrow {
  1829. width: 34rpx;
  1830. height:26rpx;
  1831. padding: 5rpx 20rpx;
  1832. }
  1833. .rotatearrow {
  1834. transform: rotate(270deg);
  1835. }
  1836. }
  1837. .level1-subbox {
  1838. display: flex;
  1839. margin-top: 20rpx;
  1840. flex-wrap: wrap;
  1841. .sub-name {
  1842. width: 50%;
  1843. display: flex;
  1844. margin-bottom: 18rpx;
  1845. .subitem-name {
  1846. width: 104rpx;
  1847. height: 33rpx;
  1848. font-size: 24rpx;
  1849. font-weight: 400;
  1850. color: #999999;
  1851. line-height: 33rpx;
  1852. letter-spacing: 1rpx;
  1853. margin-right: 12rpx;
  1854. }
  1855. .checkimg {
  1856. width: 27rpx;
  1857. height: 27rpx;
  1858. }
  1859. }
  1860. }
  1861. }
  1862. .jiangshang{
  1863. color: #2671E2;
  1864. background: #F4F8FD;
  1865. }
  1866. // 表单
  1867. .tian-view {
  1868. width: 570upx;
  1869. background-color: #FFFFFF;
  1870. border-bottom: 1px solid #ededee;
  1871. display: flex;
  1872. min-height: 96rpx;
  1873. .tian-view-t1 {
  1874. width: 20rpx;
  1875. font-size: 34rpx;
  1876. height: 34rpx;
  1877. line-height: 110rpx;
  1878. letter-spacing: 0px;
  1879. color: red;
  1880. }
  1881. .tian-view-t2 {
  1882. width: 30%;
  1883. min-height: 96rpx;
  1884. line-height: 96rpx;
  1885. font-size: 34rpx;
  1886. color: #333;
  1887. }
  1888. .tian-view-t3 {
  1889. width: 61%;
  1890. padding-top: 31rpx;
  1891. padding-bottom: 31rpx;
  1892. display: flex;
  1893. .tian-input {
  1894. width: 98%;
  1895. font-size: 34rpx;
  1896. border: none;
  1897. }
  1898. }
  1899. }
  1900. .inputbox{
  1901. width: 100%;
  1902. height: 100rpx;
  1903. display: flex;
  1904. align-items: center;
  1905. justify-content: center;
  1906. border-bottom: 1px solid #E0E0E0;
  1907. .thisinput{
  1908. width:94%;
  1909. height: 52rpx;
  1910. background: #FFFFFF;
  1911. border-radius: 8rpx;
  1912. border: 1px solid #C9C9C9;
  1913. color: #333333;
  1914. font-size: 26rpx;
  1915. text-indent: 26rpx;
  1916. line-height: 52rpx;
  1917. }
  1918. }
  1919. .biaoqiantom {
  1920. background-color: #008EF2;
  1921. color: #FFFFFF;
  1922. border: none;
  1923. }
  1924. </style>