report.vue 65 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177
  1. <template>
  2. <view class="report-container">
  3. <cu-custom bgColor="#000000"><view slot="content" style="color: #FFFFFF">UU睡眠</view></cu-custom>
  4. <view v-if="!isDeviceAdded" class="flex-col page">
  5. <view class="flex-col flex-auto image-wrapper_2">
  6. <view class="flex-row items-center self-center bottom-btns">
  7. <view class="btn_1 bottom-btn" @click="addBindDevice">立即体验</view>
  8. <view class="btn_2 bottom-btn" @click="addBindDevice">添加设备</view>
  9. </view>
  10. </view>
  11. </view>
  12. <view v-if="isDeviceAdded" class="flex-col justify-start page">
  13. <view class="flex-col report">
  14. <!-- report header -->
  15. <view class="flex-col justify-start report_header relative">
  16. <img class="report-header-img" src="../../static/report/reportIconLight.png" />
  17. <view class="flex-col report_score space-y-55">
  18. <view class="flex-row space-x-10 report_period">
  19. <view class="flex-row justify-between flex-auto section_3">
  20. <view class="flex-row items-center space-x-24" @click="calendarShow=true">
  21. <image class="shrink-0 image_4"
  22. src="../../static/report/reportIconLeft.png"
  23. />
  24. <!-- <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">-->
  25. <!-- <text class="font_2 text_2">{{date}}</text>-->
  26. <!-- </picker>-->
  27. <text class="margin-right text-white">{{ selectDay }}</text>
  28. <image class="image_4"
  29. src="../../static/report/reportIconRight.png"
  30. />
  31. </view>
  32. </view>
  33. <view class="flex-row items-center shrink-0 section_4 space-x-10">
  34. <!-- <text class="font_2 text_3">23:30~05:42</text>-->
  35. <picker v-if="todayTimeList.length > 0" @change="PickerChange" :value="index" :range="todayTimeList">
  36. <view class="picker text-white">
  37. {{ todayTimeList[index] }}
  38. </view>
  39. </picker>
  40. <image
  41. class="shrink-0 image_5"
  42. src="../../static/report/reportIconTop.png"
  43. />
  44. </view>
  45. </view>
  46. <view class="flex-col report_score_data items-center">
  47. <view class="flex-row justify-between items-center space-x-76-reverse">
  48. <text class="text_4">{{ sleepReportFrom.report_content.score.desc }}</text>
  49. </view>
  50. <!-- <view class="flex-row items-center self-end section_5 space-x-8">-->
  51. <!-- <image-->
  52. <!-- class="shrink-0 image_6"-->
  53. <!-- src="../../static/report/reportIconPower.png"-->
  54. <!-- />-->
  55. <!-- <text class="font_2 text_5">+25</text>-->
  56. <!-- </view>-->
  57. <text class="self-center text_6" :class="sleepReportFrom.report_content.score.state === 3 ?
  58. 'text-green' : sleepReportFrom.report_content.score.state === 2 ? 'text-yellow' : 'text-red'">{{ sleepReportFrom.report_content.score.value }}</text>
  59. <text class="self-center font_2 text_7">香睡指数</text>
  60. </view>
  61. <view class="flex-row report-data-sum justify-between">
  62. <view class="flex-row items-center">
  63. <image
  64. class="icon-data-sum"
  65. src="../../static/report/reportIconTime.png"
  66. />
  67. <view class="flex-col items-center text-data-sum">
  68. <view class="title-data-sum">睡眠总时长</view>
  69. <view class="flex-row justify-evenly items-baseline group_5">
  70. <text class="font_5">{{ formateSeconds(sleepReportFrom.total_duration) }}</text>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="flex-row items-center">
  75. <image
  76. class="icon-data-sum"
  77. src="../../static/report/reportIconClock.png"
  78. />
  79. <view class="flex-col items-center text-data-sum">
  80. <view class="title-data-sum">睡眠时间</view>
  81. <view class="flex-row justify-evenly items-baseline group_5">
  82. <text class="font_5">{{ sleepReportFrom.gobed_time + '~' + sleepReportFrom.outbed_time }}</text>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <!-- report analysis -->
  90. <view class="flex-col report_analysis space-y-4">
  91. <text class="self-start font_4 text_8">各项睡眠监测数据统计</text>
  92. <view class="flex-col justify-start items-center relative report_analysis_data">
  93. <view class="flex-row equal-division space-x-29 pos">
  94. <view class="flex-col equal-division-item">
  95. <view class="flex-col section_6 space-y-12">
  96. <view class="flex-row space-x-10">
  97. <image class="image_7" src="../../static/report/reportIconGreen.png"/>
  98. <text class="font_3">上床时间</text>
  99. </view>
  100. <text class="self-start font_4 text_9">{{ sleepReportFrom.gobed_time }}</text>
  101. </view>
  102. <view class="flex-col section_6 view space-y-12">
  103. <view class="flex-row items-center space-x-12">
  104. <image class="image_7" src="../../static/report/reportIconGreen.png"/>
  105. <text class="font_3">深睡时长</text>
  106. </view>
  107. <view class="flex-row items-baseline group_6 space-x-6">
  108. <text class="font_4">{{ formateSeconds(sleepReportFrom.deep_duration) }}</text>
  109. </view>
  110. </view>
  111. <view class="flex-col section_6 view space-y-12">
  112. <view class="flex-row items-center space-x-12">
  113. <image class="image_7" :src="sleepReportFrom.report_content.avg_hx.state === 3 ? '../../static/report/reportIconGreen.png' :
  114. sleepReportFrom.report_content.avg_hx.state === 2 ? '../../static/report/reportIconYellow.png' : '../../static/report/reportIconRed.png'"/>
  115. <text class="font_3">平均呼吸率</text>
  116. </view>
  117. <view class="flex-row items-baseline group_6 space-x-6">
  118. <text class="font_4">{{ sleepReportFrom.report_content.avg_hx.value }}</text>
  119. <text class="font_5">次/分</text>
  120. </view>
  121. </view>
  122. <view class="flex-col items-left group_7 space-x-10">
  123. <view>
  124. <image class="image_7" src="../../static/report/reportIconGreen.png"/>
  125. <text class="font_3">温馨提示</text>
  126. </view>
  127. <text class="font_2 text_10">本次睡眠,您有{{ errCount }}项指标不及格。</text>
  128. </view>
  129. </view>
  130. <view class="flex-col equal-division-item_2 space-y-10">
  131. <view class="flex-col section_7 space-y-12">
  132. <view class="flex-row space-x-10">
  133. <image
  134. class="image_7"
  135. src="../../static/report/reportIconGreen.png"
  136. />
  137. <text class="font_3">在床时间</text>
  138. </view>
  139. <view class="flex-row justify-evenly items-baseline group_5">
  140. <text class="font_4">{{ formateSeconds(sleepReportFrom.inbed_duration) }}</text>
  141. </view>
  142. </view>
  143. <view class="flex-col section_7 space-y-12">
  144. <view class="flex-row space-x-10">
  145. <image class="image_7" :src="sleepReportFrom.report_content.sleep_eff.state === 3 ? '../../static/report/reportIconGreen.png' :
  146. sleepReportFrom.report_content.sleep_eff.state === 2 ? '../../static/report/reportIconYellow.png' : '../../static/report/reportIconRed.png'"/>
  147. <text class="font_3">睡眠效率</text>
  148. </view>
  149. <view class="flex-row items-baseline group_5">
  150. <text class="font_4">{{ sleepReportFrom.report_content.sleep_eff.value }}</text>
  151. </view>
  152. </view>
  153. <view class="flex-col section_7 space-y-12">
  154. <view class="flex-row space-x-10">
  155. <image class="image_7" :src="sleepReportFrom.report_content.avg_rh.state === 3 ? '../../static/report/reportIconGreen.png' :
  156. sleepReportFrom.report_content.avg_rh.state === 2 ? '../../static/report/reportIconYellow.png' : '../../static/report/reportIconRed.png'"/>
  157. <text class="font_3">平均心率</text>
  158. </view>
  159. <view class="flex-row items-baseline group_6 space-x-4">
  160. <text class="font_4">{{ sleepReportFrom.report_content.avg_rh.value }}</text>
  161. <text class="font_5">次/分</text>
  162. </view>
  163. </view>
  164. <view class="flex-row shrink-0 justify-between section_8 space-x-34">
  165. <view class="flex-row items-center space-x-8">
  166. <image class="image_7" :src="sleepReportFrom.report_content.move_count.state === 3 ? '../../static/report/reportIconGreen.png' :
  167. sleepReportFrom.report_content.move_count.state === 2 ? '../../static/report/reportIconYellow.png' : '../../static/report/reportIconRed.png'"/>
  168. <text class="font_3">体动次数</text>
  169. </view>
  170. <view class="flex-row items-baseline space-x-6">
  171. <text class="font_4">{{ sleepReportFrom.report_content.move_count.value }}</text>
  172. <text class="font_5">次</text>
  173. </view>
  174. </view>
  175. <view class="flex-row shrink-0 justify-between section_8 space-x-34">
  176. <view class="flex-row items-center space-x-8">
  177. <image class="image_7" :src="sleepReportFrom.report_content.outbed_count.state === 3 ? '../../static/report/reportIconGreen.png' :
  178. sleepReportFrom.report_content.outbed_count.state === 2 ? '../../static/report/reportIconYellow.png' : '../../static/report/reportIconRed.png'"/>
  179. <text class="font_3">离床次数</text>
  180. </view>
  181. <view class="flex-row items-baseline space-x-6">
  182. <text class="font_4">{{ sleepReportFrom.report_content.outbed_count.value }}</text>
  183. <text class="font_5">次</text>
  184. </view>
  185. </view>
  186. <view class="flex-row justify-between section_8">
  187. <view class="flex-row items-center space-x-8">
  188. <image class="image_7" :src="sleepReportFrom.report_content.snoring_count.state === 3 ? '../../static/report/reportIconGreen.png' :
  189. sleepReportFrom.report_content.snoring_count.state === 2 ? '../../static/report/reportIconYellow.png' : '../../static/report/reportIconRed.png'"/>
  190. <text class="font_3">打鼾次数</text>
  191. </view>
  192. <view class="flex-row items-baseline space-x-6">
  193. <text class="font_4">{{ sleepReportFrom.report_content.snoring_count.value }}</text>
  194. <text class="font_5">次</text>
  195. </view>
  196. </view>
  197. </view>
  198. </view>
  199. </view>
  200. <view class="flex-row justify-between section_efficiency">
  201. <view class="flex-row items-center">
  202. <image
  203. class="shrink-0 image_7"
  204. src="../../static/report/reportIconWatch.png"
  205. />
  206. <text class="font_3">睡眠效率</text>
  207. </view>
  208. <view class="flex-row items-center space-x-6">
  209. <text class="font_4">{{ sleepReportFrom.report_content.sleep_eff.value }}</text>
  210. </view>
  211. </view>
  212. <view class="flex-col justify-start report_breath report-easy">
  213. <view class="flex-col justify-start">
  214. <view class="flex-row items-center group_11 space-x-10 pos_33">
  215. <image
  216. class="image_8"
  217. src="../../static/report/reportIconBreath.png"
  218. />
  219. <text class="font_3">安稳度</text>
  220. <image
  221. class="image_11"
  222. src="../../static/report/reportIconWhy.png"
  223. />
  224. </view>
  225. </view>
  226. <view class="flex-col pos_34">
  227. <!-- <view class="flex-col group_15">-->
  228. <!-- <view class="flex-row justify-between group_2">-->
  229. <!-- <text class="font_3 text_12">安稳度</text>-->
  230. <!-- <view class="flex-row items-center space-x-30">-->
  231. <!-- <text class="font_10">入睡时长</text>-->
  232. <!-- <view class="flex-row items-baseline shrink-0 space-x-6">-->
  233. <!-- <text class="font_5">{{ formateSeconds(sleepReportFrom.rs_duration) }}</text>-->
  234. <!-- </view>-->
  235. <!-- </view>-->
  236. <!-- </view>-->
  237. <!-- </view>-->
  238. <view class="list-divider"></view>
  239. <view class="flex-col group_15">
  240. <view class="flex-row justify-between group_2">
  241. <text class="font_3 text_12">离床次数</text>
  242. <view class="flex-row items-center space-x-30">
  243. <view class="flex-row items-baseline shrink-0 space-x-6">
  244. <text class="font_5">{{ sleepReportFrom.report_content.outbed_count.value }}</text>
  245. <text class="font_6">次</text>
  246. </view>
  247. </view>
  248. </view>
  249. <view class="report_breath_chart">
  250. <view class="echarts-wrap">
  251. <mpvue-echarts class="ec-canvas" canvasId="canvasChart-1" ref="refChart-1" @onInit="onInit1"></mpvue-echarts>
  252. </view>
  253. </view>
  254. </view>
  255. <view class="list-divider"></view>
  256. <view class="flex-col group_15">
  257. <view class="flex-row justify-between group_2">
  258. <text class="font_3 text_12">体动次数</text>
  259. <view class="flex-row items-center space-x-30">
  260. <view class="flex-row items-baseline shrink-0 space-x-6">
  261. <text class="font_5">{{ sleepReportFrom.report_content.move_count.value }}</text>
  262. <text class="font_6">次</text>
  263. </view>
  264. </view>
  265. </view>
  266. <view class="report_breath_chart">
  267. <view class="echarts-wrap">
  268. <mpvue-echarts class="ec-canvas" canvasId="canvasChart-2" ref="refChart-2" @onInit="onInit1"></mpvue-echarts>
  269. </view>
  270. </view>
  271. </view>
  272. </view>
  273. </view>
  274. </view>
  275. <view class="flex-col report-charts">
  276. <view class="flex-col justify-start flex-auto group">
  277. <view class="flex-col justify-start group_3">
  278. <view class="flex-col group_8 space-y-10">
  279. <view class="flex-col justify-start report_breath">
  280. <view class="flex-col justify-start">
  281. <view class="flex-row items-center group_11 space-x-10 pos_33">
  282. <image
  283. class="image_8"
  284. src="../../static/report/reportIconBeat.png"
  285. />
  286. <text class="font_3">心脏系统</text>
  287. <image
  288. class="image_11"
  289. src="../../static/report/reportIconWhy.png"
  290. />
  291. </view>
  292. </view>
  293. <view class="flex-col pos_34 report_heart">
  294. <view class="flex-col group_15">
  295. <view class="flex-row justify-between group_2">
  296. <text class="font_3 text_12">平均心率</text>
  297. <view class="flex-row items-center space-x-30">
  298. <view class="flex-row items-baseline shrink-0 space-x-6">
  299. <text class="font_5">{{ sleepReportFrom.report_content.avg_rh.value }}</text>
  300. <text class="font_6">次/分</text>
  301. </view>
  302. </view>
  303. </view>
  304. </view>
  305. <view class="report_breath_chart">
  306. <view class="echarts-wrap">
  307. <mpvue-echarts class="ec-canvas" canvasId="canvasChart-3" ref="refChart-3" @onInit="onInit1"></mpvue-echarts>
  308. </view>
  309. </view>
  310. </view>
  311. </view>
  312. <view class="flex-col justify-start report_breath">
  313. <view class="flex-col justify-start">
  314. <view class="flex-row justify-center items-center group_11 space-x-10 pos_33">
  315. <image
  316. class="image_8"
  317. src="../../static/report/reportIconBreath.png"
  318. />
  319. <text class="font_3">呼吸系统</text>
  320. <image
  321. class="image_11"
  322. src="../../static/report/reportIconWhy.png"
  323. />
  324. </view>
  325. </view>
  326. <view class="flex-col pos_34">
  327. <view class="flex-col group_15">
  328. <view class="flex-row justify-between group_2">
  329. <text class="font_3 text_12">平均呼吸率</text>
  330. <view class="flex-row items-center space-x-30">
  331. <view class="flex-row items-baseline shrink-0 space-x-6">
  332. <text class="font_5">{{ sleepReportFrom.report_content.avg_hx.value }}</text>
  333. <text class="font_6">次/分</text>
  334. </view>
  335. </view>
  336. </view>
  337. <view class="report_breath_chart">
  338. <view class="echarts-wrap">
  339. <mpvue-echarts class="ec-canvas" canvasId="canvasChart-4" ref="refChart-4" @onInit="onInit1"></mpvue-echarts>
  340. </view>
  341. </view>
  342. </view>
  343. <view class="list-divider"></view>
  344. <view class="flex-col group_15">
  345. <view class="flex-row justify-between group_2">
  346. <text class="font_3 text_12">打鼾</text>
  347. <view class="flex-row items-center space-x-30">
  348. <view class="flex-row items-baseline shrink-0 space-x-6">
  349. <text class="font_5">{{ sleepReportFrom.report_content.snoring_count.value }}</text>
  350. <text class="font_6">次</text>
  351. </view>
  352. </view>
  353. </view>
  354. <view class="report_breath_chart">
  355. <view class="echarts-wrap">
  356. <mpvue-echarts class="ec-canvas" canvasId="canvasChart-5" ref="refChart-5" @onInit="onInit1"></mpvue-echarts>
  357. </view>
  358. </view>
  359. </view>
  360. <view class="list-divider"></view>
  361. <view class="flex-col group_15">
  362. <view class="flex-row justify-between group_2">
  363. <text class="font_3 text_12">呼吸暂停</text>
  364. <!-- <view class="flex-row items-center space-x-30">-->
  365. <!-- <view class="flex-row items-baseline shrink-0 space-x-6">-->
  366. <!-- <text class="font_5">{{ sleepReportFrom.report_content.snoring_count.value }}</text>-->
  367. <!-- <text class="font_6">次</text>-->
  368. <!-- </view>-->
  369. <!-- </view>-->
  370. </view>
  371. <view class="report_breath_chart">
  372. <view class="echarts-wrap">
  373. <mpvue-echarts class="ec-canvas" canvasId="canvasChart-6" ref="refChart-6" @onInit="onInit1"></mpvue-echarts>
  374. </view>
  375. </view>
  376. </view>
  377. </view>
  378. </view>
  379. <!-- <view class="flex-col justify-start relative report_heart">-->
  380. <!-- <view class="section_25"></view>-->
  381. <!-- <view class="flex-row justify-center items-center group_11 space-x-9 pos_21">-->
  382. <!-- <image-->
  383. <!-- class="image_8"-->
  384. <!-- src="../../static/report/reportIconMoon.png"-->
  385. <!-- />-->
  386. <!-- <text class="font_3">深浅睡眠</text>-->
  387. <!-- <image-->
  388. <!-- class="image_11"-->
  389. <!-- src="../../static/report/reportIconWhy.png"-->
  390. <!-- />-->
  391. <!-- </view>-->
  392. <!-- -->
  393. <!-- <view class="flex-row justify-between report-sleep items-center">-->
  394. <!-- <view class="flex-col item-sleep">-->
  395. <!-- <text class="item-sleep-title">清醒</text>-->
  396. <!-- <text class="item-sleep-desc">2小时14分钟</text>-->
  397. <!-- </view>-->
  398. <!-- <view class="flex-col item-sleep">-->
  399. <!-- <text class="item-sleep-title">浅睡</text>-->
  400. <!-- <text class="item-sleep-desc">2小时14分钟</text>-->
  401. <!-- </view>-->
  402. <!-- <view class="flex-col item-sleep">-->
  403. <!-- <text class="item-sleep-title">深睡</text>-->
  404. <!-- <text class="item-sleep-desc">2小时14分钟</text>-->
  405. <!-- </view>-->
  406. <!-- </view>-->
  407. <!-- </view>-->
  408. </view>
  409. </view>
  410. </view>
  411. </view>
  412. </view>
  413. </view>
  414. <!-- <tab-bar currentPage="report" /> -->
  415. <view class="cu-modal bottom-modal" :class="calendarShow === true?'show':''" @tap="hideModal">
  416. <view class="cu-dialog">
  417. <uni-calendar
  418. @change="change"
  419. @monthSwitch="monthSwitch"
  420. :selected="selected"
  421. returnName="最新一次"
  422. ></uni-calendar>
  423. </view>
  424. </view>
  425. <view class="cu-modal" :class="bindShow?'show':''">
  426. <view class="cu-dialog">
  427. <view class="cu-bar bg-white justify-end">
  428. <view style="color: black" class="content">设备绑定</view>
  429. <view class="action" @tap="bindShow=false">
  430. <text class="cuIcon-close text-red"></text>
  431. </view>
  432. </view>
  433. <view class="">
  434. <form>
  435. <view class="cu-form-group solid-bottom">
  436. <view class="title">扫描二维码</view>
  437. <input type="text" v-model="bindSn" placeholder="输入或扫描IMEI" class="text-left"/>
  438. <text class="cuIcon-scan text-xxl text-green" style="font-size: 50rpx;"
  439. @click="scan"></text>
  440. </view>
  441. </form>
  442. </view>
  443. <view class="cu-bar bg-white justify-end">
  444. <view class="action">
  445. <button class="cu-btn bg-green margin-left" @tap="bindDevice">确定</button>
  446. </view>
  447. </view>
  448. </view>
  449. </view>
  450. <!-- <view class="cu-load load-modal" v-if="disabled">-->
  451. <!-- <view class="cuIcon-emojifill text-orange"></view>-->
  452. <!-- <view class="gray-text">正在获取</view>-->
  453. <!-- </view>-->
  454. </view>
  455. </template>
  456. <script>
  457. import echarts from '@/static/echarts.min.js'
  458. import mpvueEcharts from '@/components/mpvue-echarts/src/echarts.vue'
  459. import uniCalendar from '@/components/uni-calendar/uni-calendar.vue'
  460. import Storage from '@/utils/storage'
  461. import * as Foundation from '@/ui-utils/Foundation'
  462. import * as API_SLEEP_REPORT from '@/api/sleep_report'
  463. import * as API_deviceMemberBind from '@/api/device_member_bind'
  464. export default {
  465. components: {
  466. uniCalendar,mpvueEcharts
  467. },
  468. data() {
  469. return {
  470. isDeviceAdded: false,
  471. todayStr: Foundation.unixToDate(parseInt(new Date() / 1000), "yyyy-MM-dd"),
  472. selectDay: '',
  473. selectYearMonth: {
  474. year: Foundation.unixToDate(parseInt(new Date() / 1000), "yyyy"),
  475. month: Foundation.unixToDate(parseInt(new Date() / 1000), "M")
  476. },
  477. calendarShow: false,
  478. selected: [
  479. {
  480. // 打点日期
  481. "date": Foundation.unixToDate(parseInt(new Date() / 1000), "yyyy-MM-dd")
  482. }
  483. ],
  484. index: 0,
  485. todayTimeList: [],
  486. sleepReportFrom: {
  487. total_duration: 0,
  488. inbed_duration: 0,
  489. deep_duration: 0,
  490. rs_duration: 0
  491. },
  492. sleepReportList: [],
  493. chartObj1: null, // 离床次数图表
  494. chartObj2: null, // 体动次数图表
  495. myData1: [], // 离床次数数据
  496. myData2: [], // 体动次数数据
  497. params: {
  498. unionId: '',
  499. reportTime: -1
  500. },
  501. disabled: true,
  502. bindShow: false,
  503. bindSn: '',
  504. memberId: '',
  505. userInfo: null,
  506. errCount: 0
  507. }
  508. },
  509. // mounted() {
  510. // this.memberId = 50289
  511. // this.params.unionId = '6291d3bde21b840008ae7842' // 先写死
  512. // this.getNewSleepReport()
  513. // },
  514. onShow() {
  515. this.memberId = Storage.getItem('uid')
  516. if (this.memberId) {
  517. if (!this.isDeviceAdded) {
  518. this.user = Storage.getItem('userInfo')
  519. this.params.unionId = this.user.union_id
  520. console.log('user===', this.user, this.user.union_id)
  521. this.getNewSleepReport()
  522. } else {
  523. if (Storage.getItem('refreshSleepReport')) {
  524. Storage.removeItem('refreshSleepReport')
  525. this.getNewSleepReport()
  526. }
  527. }
  528. } else {
  529. this.isDeviceAdded = false
  530. }
  531. },
  532. methods: {
  533. // 获取睡眠报告
  534. getNewSleepReport() {
  535. const _this = this
  536. this.todayTimeList = []
  537. API_SLEEP_REPORT.getNewListByUnionId(this.params).then(res => {
  538. _this.disabled = false
  539. console.log(res)
  540. if (res.length > 0) {
  541. this.isDeviceAdded = true
  542. _this.sleepReportFrom = Object.assign({}, res[0])
  543. _this.sleepReportFrom.report_content = JSON.parse(_this.sleepReportFrom.report_content)
  544. console.log(_this.sleepReportFrom)
  545. _this.sleepReportList = res
  546. res.forEach(item => {
  547. _this.todayTimeList.push(item.gobed_time + '~' + item.outbed_time)
  548. })
  549. console.log('this.todayTimeList==', this.todayTimeList)
  550. _this.selectDay = Foundation.unixToDate(_this.sleepReportFrom.report_time, "yyyy-MM-dd")
  551. let str = _this.selectDay.split("-")
  552. _this.selectYearMonth.year = str[0]
  553. _this.selectYearMonth.month = str[1]
  554. console.log('this.selectYearMonth===', _this.selectYearMonth)
  555. if (_this.params.reportTime === -1) {
  556. _this.getDaysTag()
  557. }
  558. _this.qualifiedCount(_this.sleepReportFrom.report_content)
  559. _this.initAllChar(_this.sleepReportFrom)
  560. } else {
  561. this.isDeviceAdded = false
  562. }
  563. })
  564. },
  565. // 选中日历
  566. change(e) {
  567. console.log('change===', e)
  568. const date = this.selected.find(item=> item.date === e.extraInfo.date)
  569. if (date) {
  570. this.params.reportTime = date.report_time
  571. this.selectDay = e.fulldate
  572. this.calendarShow = false
  573. this.getNewSleepReport()
  574. } else {
  575. if (this.todayStr === e.fulldate && this.selectYearMonth.month !== e.month) {
  576. this.params.reportTime = -1
  577. this.calendarShow = false
  578. this.getNewSleepReport()
  579. } else {
  580. uni.showToast({
  581. title: e.fulldate + '无睡眠报告',
  582. icon: 'none'
  583. })
  584. }
  585. }
  586. // this.selected[0].date = e.fulldate
  587. },
  588. // 月份切换
  589. monthSwitch(e) {
  590. console.log('monthSwitch===', e)
  591. //{year: 2020, month: 5}
  592. this.selectYearMonth = e
  593. this.getDaysTag()
  594. },
  595. // 获取日期点
  596. getDaysTag() {
  597. this.selectYearMonth.unionId = this.params.unionId
  598. API_SLEEP_REPORT.getSleepReportDaysTag(this.selectYearMonth).then(res => {
  599. this.selected = []
  600. res.forEach(p => {
  601. this.selected.push({
  602. date: this.selectYearMonth.year + '-' + this.selectYearMonth.month + '-' + p.flog_time,
  603. report_time: p.report_time
  604. })
  605. })
  606. })
  607. },
  608. // 时间选择
  609. PickerChange(e) {
  610. this.index = e.detail.value
  611. this.sleepReportFrom = Object.assign({}, this.sleepReportList[this.index])
  612. this.sleepReportFrom.report_content = JSON.parse(this.sleepReportFrom.report_content)
  613. this.qualifiedCount(this.sleepReportFrom.report_content)
  614. this.initAllChar(this.sleepReportFrom)
  615. },
  616. qualifiedCount(data) {
  617. let count = 0
  618. if (data.avg_hx.state === 1) {
  619. count ++
  620. } else if (data.sleep_eff.state === 1) {
  621. count ++
  622. } else if (data.avg_rh.state === 1) {
  623. count ++
  624. } else if (data.move_count.state === 1) {
  625. count ++
  626. } else if (data.outbed_count.state === 1) {
  627. count ++
  628. } else if (data.snoring_count.state === 1) {
  629. count ++
  630. }
  631. this.errCount = count
  632. },
  633. initAllChar(data) {
  634. const _this = this
  635. setTimeout(() => {
  636. _this.nowChart("refChart-1", 1, data.report_content.dt_arr, data.report_content.outbed_arr)
  637. _this.nowChart("refChart-2", 2, data.report_content.dt_arr, data.report_content.move_arr)
  638. _this.nowChart("refChart-3", 3, data.report_content.dt_arr, data.report_content.rh_arr)
  639. _this.nowChart("refChart-4", 4, data.report_content.dt_arr, data.report_content.hx_arr)
  640. _this.nowChart("refChart-5", 0, data.report_content.dt_arr, data.report_content.snoring_arr)
  641. _this.nowChart("refChart-6", 6, data.report_content.dt_arr, data.report_content.hxstop_arr)
  642. }, 800)
  643. },
  644. // 将分转化为时分
  645. formateSeconds(endTime) {
  646. let secondTime = endTime//将传入的秒的值转化为Number
  647. let h = 0// 初始化小时
  648. if (secondTime > 60) {//如果秒数大于60,将秒数转换成整数
  649. h = parseInt(secondTime / 60)//获取小时,获取分钟除以60,得到整数小时
  650. secondTime = parseInt(secondTime % 60) //获取小时后取佘的分,获取分钟除以60取佘的分
  651. return h + '小时' + secondTime + '分钟'
  652. } else {
  653. return secondTime + '分钟'
  654. }
  655. },
  656. onInit1(e) {
  657. this.chartObj = e
  658. },
  659. // 组装图表
  660. nowChart(refChar, type, xData, yData) {
  661. this.onInit1(this.chartObj)
  662. let canvas = this.$refs[refChar].canvas
  663. echarts.setCanvasCreator(() => canvas)
  664. let myChart = echarts.init(canvas, 'halloween', {
  665. width: this.chartObj.width + 10,
  666. height: this.chartObj.height - 10
  667. })
  668. let options = Object.assign(this.getOptions(xData, yData), {})
  669. if (type <=2) {
  670. options.yAxis = this.getOptionsY1(type)
  671. } else {
  672. options.yAxis = this.getOptionsY2()
  673. }
  674. myChart.setOption(options)
  675. },
  676. getOptions(xData, yData) {
  677. return {
  678. visualMap: [
  679. {
  680. show: false,
  681. type: 'continuous',
  682. seriesIndex: 0,
  683. min: 0,
  684. max: 300,
  685. },
  686. ],
  687. color: '#FFFFFF',
  688. title: {
  689. left: 'left',
  690. // text: title,
  691. },
  692. tooltip: {
  693. trigger: 'axis',
  694. axisPointer: {
  695. animation: false,
  696. },
  697. },
  698. grid: {
  699. top: '15%',
  700. bottom: '10%',
  701. },
  702. xAxis: {
  703. type: 'category',
  704. boundaryGap: [0, '100%'],
  705. // show: false, // 不显示x轴
  706. splitLine: {
  707. show: false,
  708. },
  709. axisLine: {
  710. lineStyle:{
  711. color:'#FFFFFF',
  712. width:1, //x轴线的宽度
  713. }
  714. },
  715. triggerEvent: true,
  716. data: xData,
  717. },
  718. yAxis: {},
  719. series: [
  720. {
  721. type: 'line',
  722. lineStyle: {
  723. width: 0.8
  724. },
  725. showSymbol: false,
  726. hoverAnimation: false,
  727. data: yData,
  728. },
  729. ]
  730. }
  731. },
  732. getOptionsY1(type) {
  733. return {
  734. type: 'value',
  735. // boundaryGap: [0, '100%'],
  736. min: 0,
  737. max: 1, // dataMax取数据在该轴上的最大值作为最大刻度
  738. minInterval: 1,
  739. splitLine: {
  740. show: false, // 是否显示分隔线
  741. },
  742. axisLine: {
  743. show: true, // 是否显示坐标轴轴线
  744. lineStyle:{
  745. color:'#FFFFFF',
  746. width:1, //x轴线的宽度
  747. }
  748. },
  749. // axisLine: {
  750. // show: false // 是否显示坐标轴轴线
  751. // },
  752. axisLabel: {
  753. formatter: function (value, index) {
  754. switch (type) {
  755. case 0:
  756. return value === 0 ? '睡眠' : '打鼾'
  757. case 1:
  758. return value === 0 ? '离床' : '在床'
  759. case 2:
  760. return value === 0 ? '睡眠' : '体动'
  761. default:
  762. return value
  763. }
  764. }
  765. }
  766. }
  767. },
  768. getOptionsY2() {
  769. return {
  770. type: 'value',
  771. boundaryGap: [0, '100%'],
  772. min: 0,
  773. max: 'dataMax', // 取数据在该轴上的最大值作为最大刻度
  774. splitLine: {
  775. show: false, // 是否显示分隔线
  776. },
  777. axisLine: {
  778. show: false, // 是否显示坐标轴轴线
  779. lineStyle:{
  780. color:'#FFFFFF'
  781. }
  782. }
  783. }
  784. },
  785. // 扫描条码
  786. scan() {
  787. let _this = this
  788. uni.scanCode({
  789. success: function (res) {
  790. console.log(res, res.result.length)
  791. if (res.result.length > 20) {
  792. if (res.scanType === 'QR_CODE') {
  793. const urlStr = res.result
  794. const qs = Foundation.getQueryObject(urlStr)
  795. if (qs.mac) {
  796. _this.bindSn = qs.mac
  797. } else {
  798. uni.showToast({
  799. title: '请扫码正确的睡眠床垫二维码',
  800. icon: 'none'
  801. });
  802. }
  803. } else {
  804. _this.bindSn = res.result
  805. }
  806. } else {
  807. _this.bindSn = res.result
  808. }
  809. },
  810. fail: (err) => {
  811. console.log(err)
  812. // #ifdef MP
  813. uni.getSetting({
  814. success: (res) => {
  815. let authStatus = res.authSetting['scope.camera'];
  816. if (!authStatus) {
  817. uni.showModal({
  818. title: '授权失败',
  819. content: 'app需要使用您的相机,请在设置界面打开相关权限',
  820. success: (res) => {
  821. if (res.confirm) {
  822. uni.openSetting()
  823. }
  824. }
  825. })
  826. }
  827. }
  828. })
  829. // #endif
  830. }
  831. })
  832. },
  833. bindDevice() {
  834. const params = {
  835. imei: this.bindSn,
  836. memberId: this.memberId,
  837. dtype: '睡眠床垫'
  838. }
  839. this.bindShow = false
  840. let _this = this
  841. API_deviceMemberBind.bindDeviceByDtype(params).then(res => {
  842. if (res.success) {
  843. _this.bindSn = ''
  844. uni.showToast({
  845. title: '绑定成功',
  846. })
  847. _this.API_getDeviceList()
  848. } else {
  849. uni.showToast({
  850. title: res.message,
  851. icon: 'none'
  852. })
  853. }
  854. })
  855. },
  856. API_getDeviceList() {
  857. const _this = this
  858. API_deviceMemberBind.getDeviceByDtypeAndMemberId({dtype: '睡眠床垫', memberId: this.memberId}).then(res => {
  859. if (res.length === 0) {
  860. Storage.removeItem("nowChangeDevice")
  861. Storage.removeItem("myBindDevices")
  862. } else {
  863. Storage.setItem("nowChangeDevice", res[0].imei)
  864. Storage.setItem("myBindDevices", res)
  865. }
  866. })
  867. },
  868. addBindDevice() {
  869. if (this.memberId) {
  870. this.bindShow = 'show'
  871. } else {
  872. uni.showModal({
  873. title: '提示',
  874. content: "您还没有登录,是否前往登录?",
  875. confirmText: "确定",
  876. showCancel: true,
  877. success: function(res) {
  878. if (res.confirm) {
  879. uni.reLaunch({
  880. url:'/pages/auth/auth'
  881. })
  882. }
  883. }
  884. })
  885. }
  886. },
  887. hideModal(e) {
  888. this.calendarShow = null
  889. }
  890. }
  891. }
  892. </script>
  893. <style lang="scss">
  894. .report_heart {
  895. .section_25 {
  896. opacity: 0.8;
  897. //background: linear-gradient(90deg, rgba(86, 17, 247, 0.5) 0%, #4d9efa 100%);
  898. border-radius: 0.5rem;
  899. height: 11.19rem;
  900. }
  901. .space-x-9 {
  902. & > view:not(:first-child),
  903. & > text:not(:first-child),
  904. & > image:not(:first-child) {
  905. margin-left: 0.56rem;
  906. }
  907. }
  908. .pos_21 {
  909. position: absolute;
  910. left: 0.63rem;
  911. top: 0.63rem;
  912. }
  913. .group_12 {
  914. width: 17.88rem;
  915. .text_11 {
  916. color: #6b6b6b;
  917. }
  918. .space-x-48 {
  919. & > view:not(:first-child),
  920. & > text:not(:first-child),
  921. & > image:not(:first-child) {
  922. margin-left: 3rem;
  923. }
  924. }
  925. }
  926. .pos_22 {
  927. position: absolute;
  928. right: 0.59rem;
  929. top: 3.66rem;
  930. }
  931. }
  932. .report-easy {
  933. margin: 1rem 1.25rem 0 1.25rem;
  934. }
  935. .image_8 {
  936. border-radius: 50%;
  937. width: 2rem;
  938. height: 2rem;
  939. }
  940. .font_3 {
  941. font-size: 1rem;
  942. font-family: PingFangSC;
  943. line-height: 0.94rem;
  944. color: #ffffff;
  945. }
  946. .image_11 {
  947. width: 1rem;
  948. height: 1rem;
  949. }
  950. .report_breath {
  951. padding: 0.63rem;
  952. background-image: linear-gradient(180deg, #341a4b 0%, #167df2 100%);
  953. border-radius: 0.5rem;
  954. .report_breath_chart {
  955. position: relative;
  956. height: 7rem;
  957. }
  958. .pos_33 {
  959. }
  960. .pos_34 {
  961. .group_15 {
  962. padding: 1rem 0;
  963. .font_10 {
  964. font-size: 0.88rem;
  965. font-family: PingFangSC;
  966. line-height: 0.81rem;
  967. color: #ffffff;
  968. }
  969. .font_5 {
  970. font-size: 1.13rem;
  971. font-family: PingFangSC;
  972. line-height: 0.81rem;
  973. color: #ffffff;
  974. }
  975. .font_6 {
  976. font-size: 0.75rem;
  977. font-family: PingFangSC;
  978. line-height: 0.69rem;
  979. color: #ffffff;
  980. }
  981. .group_2 {
  982. padding-left: 1.25rem;
  983. .text_12 {
  984. color: #ffffff;
  985. }
  986. .space-x-30 {
  987. & > view:not(:first-child),
  988. & > text:not(:first-child),
  989. & > image:not(:first-child) {
  990. margin-left: 1.88rem;
  991. }
  992. }
  993. }
  994. .group_16 {
  995. margin-top: 0.63rem;
  996. .section_32 {
  997. width: 2.28rem;
  998. height: 5.53rem;
  999. border: solid 0.031rem #4a315e;
  1000. }
  1001. .section_34 {
  1002. width: 2.22rem;
  1003. height: 5.53rem;
  1004. border: solid 0.031rem #4a315e;
  1005. }
  1006. .view_7 {
  1007. margin-left: 2.13rem;
  1008. }
  1009. .section_36 {
  1010. margin-left: 2.31rem;
  1011. width: 2.34rem;
  1012. height: 5.53rem;
  1013. border: solid 0.031rem #4a315e;
  1014. }
  1015. .view_8 {
  1016. margin-left: 2.13rem;
  1017. }
  1018. .pos_36 {
  1019. position: absolute;
  1020. left: 2.25rem;
  1021. top: 0;
  1022. }
  1023. .pos_38 {
  1024. position: absolute;
  1025. right: 4.47rem;
  1026. top: 0;
  1027. }
  1028. .section_35 {
  1029. width: 2.41rem;
  1030. height: 5.53rem;
  1031. border: solid 0.031rem #4a315e;
  1032. }
  1033. .pos_37 {
  1034. position: absolute;
  1035. left: 6.63rem;
  1036. top: 0;
  1037. }
  1038. .pos_39 {
  1039. position: absolute;
  1040. right: 0;
  1041. top: 0;
  1042. }
  1043. .section_33 {
  1044. width: 17.97rem;
  1045. height: 1.41rem;
  1046. border: solid 0.031rem #4a315e;
  1047. }
  1048. .pos_41 {
  1049. position: absolute;
  1050. left: 0;
  1051. right: 0;
  1052. top: 2.75rem;
  1053. }
  1054. .pos_40 {
  1055. position: absolute;
  1056. left: 0;
  1057. right: 0;
  1058. top: 1.38rem;
  1059. }
  1060. .pos_35 {
  1061. position: absolute;
  1062. left: 0;
  1063. right: 0;
  1064. top: 0;
  1065. }
  1066. .pos_43 {
  1067. position: absolute;
  1068. left: 0;
  1069. right: 0;
  1070. top: 2.88rem;
  1071. }
  1072. .pos_42 {
  1073. position: absolute;
  1074. left: 0;
  1075. right: 0.13rem;
  1076. top: 50%;
  1077. transform: translateY(-50%);
  1078. }
  1079. }
  1080. .group_17 {
  1081. padding: 0.38rem 0 1rem 0.5rem;
  1082. }
  1083. }
  1084. .list-divider {
  1085. margin: 0 0.63rem;
  1086. background-color: #523c65;
  1087. height: 0.063rem;
  1088. }
  1089. }
  1090. }
  1091. .echarts-wrap {
  1092. width: 100%;
  1093. height: 7rem;
  1094. margin-bottom: 0.3rem;
  1095. position: absolute;
  1096. bottom: 0
  1097. }
  1098. .report-sleep {
  1099. position: absolute;
  1100. top: 3rem;
  1101. width: 100%;
  1102. padding: 0.3rem;
  1103. .item-sleep {
  1104. .item-sleep-title {
  1105. font-size: 14px;
  1106. font-weight: 400;
  1107. letter-spacing: 0px;
  1108. line-height: 14px;
  1109. color: rgba(155, 151, 188, 1);
  1110. text-align: left;
  1111. vertical-align: top;
  1112. }
  1113. .item-sleep-desc {
  1114. font-size: 12px;
  1115. font-weight: 400;
  1116. letter-spacing: 0px;
  1117. line-height: 12px;
  1118. color: rgba(255, 255, 255, 1);
  1119. text-align: left;
  1120. vertical-align: top;
  1121. margin-top: 5px;
  1122. }
  1123. }
  1124. }
  1125. .report-charts {
  1126. margin-top: 0.5rem;
  1127. }
  1128. .bottom-btns {
  1129. position: absolute;
  1130. bottom: 10px;
  1131. .bottom-btn {
  1132. font-size: 16px;
  1133. font-weight: 500;
  1134. letter-spacing: 0px;
  1135. line-height: 30px;
  1136. color: #ffffff;
  1137. text-align: center;
  1138. width: 98px;
  1139. height: 30px;
  1140. border-radius: 14.5px;
  1141. margin: 10px;
  1142. }
  1143. .btn_1 {
  1144. background: linear-gradient(90deg, rgba(44, 37, 247, 0.6) 0%, rgba(6, 21, 153, 1) 100%);
  1145. }
  1146. .btn_2 {
  1147. background: linear-gradient(90deg, rgba(5, 96, 232, 1) 0%, rgba(100, 158, 245, 1) 100%);
  1148. }
  1149. }
  1150. .report-container {
  1151. background-color: #000000;
  1152. padding-bottom: 50px;
  1153. height: 100%;
  1154. .image-wrapper_2 {
  1155. background: url("http://wdklmall.oss-cn-shenzhen.aliyuncs.com/mallgoods/goods/560AFD2D700A40F19029F9FA2FD4612E.png");
  1156. background-repeat: no-repeat;
  1157. background-size: cover;
  1158. height: 100%;
  1159. width: 100%;
  1160. }
  1161. }
  1162. .report-data-sum {
  1163. margin: 1rem;
  1164. padding-top: 2.5rem;
  1165. color: #ffffff;
  1166. .icon-data-sum {
  1167. width: 40px;
  1168. height: 40px;
  1169. }
  1170. .text-data-sum {
  1171. margin-left: 6px;
  1172. text-align: left;
  1173. .title-data-sum {
  1174. width: 100%;
  1175. font-size: 12px;
  1176. line-height: 12px;
  1177. font-weight: 400;
  1178. margin-bottom: 2px;
  1179. }
  1180. .font_4 {
  1181. font-size: 24px;
  1182. line-height: 24px;
  1183. height: 24px;
  1184. }
  1185. .font_5 {
  1186. font-size: 14px;
  1187. line-height: 24px;
  1188. }
  1189. }
  1190. }
  1191. .page {
  1192. background-color: #000000;
  1193. width: 100%;
  1194. overflow-y: auto;
  1195. overflow-x: hidden;
  1196. height: 100%;
  1197. .group {
  1198. overflow-y: auto;
  1199. .group_3 {
  1200. padding: 0rem 0 0.25rem;
  1201. .group_8 {
  1202. padding: 0 1.25rem;
  1203. .report_leave_bed {
  1204. .section_10 {
  1205. opacity: 0.8;
  1206. background: linear-gradient(90deg, rgba(86, 17, 247, 0.5) 0%, #4d9efa 100%);
  1207. border-radius: 0.5rem;
  1208. height: 9.91rem;
  1209. }
  1210. .pos_2 {
  1211. position: absolute;
  1212. left: 0.63rem;
  1213. right: 0.53rem;
  1214. top: 0.63rem;
  1215. .space-x-12 {
  1216. & > view:not(:first-child),
  1217. & > text:not(:first-child),
  1218. & > image:not(:first-child) {
  1219. margin-left: 0.75rem;
  1220. }
  1221. }
  1222. }
  1223. .pos_3 {
  1224. position: absolute;
  1225. left: 0.66rem;
  1226. right: 0.63rem;
  1227. top: 3.56rem;
  1228. }
  1229. .pos_10 {
  1230. position: absolute;
  1231. right: 0.66rem;
  1232. top: 6.69rem;
  1233. }
  1234. }
  1235. .report_move {
  1236. .section_20 {
  1237. opacity: 0.8;
  1238. background: linear-gradient(90deg, rgba(86, 17, 247, 0.5) 0%, #4d9efa 100%);
  1239. border-radius: 0.5rem;
  1240. height: 9.91rem;
  1241. }
  1242. .pos_11 {
  1243. position: absolute;
  1244. left: 0.63rem;
  1245. right: 0.53rem;
  1246. top: 0.63rem;
  1247. }
  1248. .space-x-2 {
  1249. & > view:not(:first-child),
  1250. & > text:not(:first-child),
  1251. & > image:not(:first-child) {
  1252. margin-left: 0.13rem;
  1253. }
  1254. .group_10 {
  1255. width: 1.34rem;
  1256. }
  1257. .section_21 {
  1258. width: 2.28rem;
  1259. height: 4.16rem;
  1260. border: solid 0.031rem #4a315e;
  1261. }
  1262. .section_23 {
  1263. width: 2.22rem;
  1264. height: 4.16rem;
  1265. border: solid 0.031rem #4a315e;
  1266. }
  1267. .view_4 {
  1268. margin-left: 2.13rem;
  1269. }
  1270. .section_24 {
  1271. width: 2.34rem;
  1272. height: 4.16rem;
  1273. border: solid 0.031rem #4a315e;
  1274. }
  1275. .view_5 {
  1276. margin-left: 2.25rem;
  1277. }
  1278. .view_6 {
  1279. margin-left: 2.13rem;
  1280. }
  1281. .pos_14 {
  1282. position: absolute;
  1283. left: 2.25rem;
  1284. top: 0;
  1285. }
  1286. .pos_16 {
  1287. position: absolute;
  1288. right: 4.44rem;
  1289. top: 0;
  1290. }
  1291. .pos_15 {
  1292. position: absolute;
  1293. left: 6.63rem;
  1294. top: 0;
  1295. }
  1296. .pos_17 {
  1297. position: absolute;
  1298. right: 0;
  1299. top: 0;
  1300. }
  1301. .pos_18 {
  1302. position: absolute;
  1303. left: 0;
  1304. right: 0;
  1305. top: 50%;
  1306. transform: translateY(-50%);
  1307. }
  1308. .pos_13 {
  1309. position: absolute;
  1310. left: 0;
  1311. right: 0;
  1312. top: 0;
  1313. }
  1314. .image_10 {
  1315. width: 17.88rem;
  1316. height: 2.75rem;
  1317. }
  1318. .pos_19 {
  1319. position: absolute;
  1320. left: 0;
  1321. right: 0;
  1322. bottom: 0;
  1323. }
  1324. }
  1325. .pos_12 {
  1326. position: absolute;
  1327. left: 0.91rem;
  1328. right: 0.63rem;
  1329. top: 3.56rem;
  1330. }
  1331. .pos_20 {
  1332. position: absolute;
  1333. right: 0.66rem;
  1334. top: 8.06rem;
  1335. }
  1336. }
  1337. .space-x-6 {
  1338. & > view:not(:first-child),
  1339. & > text:not(:first-child),
  1340. & > image:not(:first-child) {
  1341. margin-left: 0.38rem;
  1342. }
  1343. .font_5 {
  1344. font-size: 1.13rem;
  1345. font-family: PingFangSC;
  1346. line-height: 0.81rem;
  1347. color: #ffffff;
  1348. }
  1349. }
  1350. .space-y-12 {
  1351. & > view:not(:first-child),
  1352. & > text:not(:first-child),
  1353. & > image:not(:first-child) {
  1354. margin-top: 0.75rem;
  1355. }
  1356. }
  1357. .font_7 {
  1358. font-size: 0.75rem;
  1359. font-family: PingFangSC;
  1360. line-height: 0.69rem;
  1361. color: #9b97bc;
  1362. }
  1363. .group_9 {
  1364. width: 18.63rem;
  1365. .font_8 {
  1366. font-size: 0.56rem;
  1367. font-family: PingFangSC;
  1368. line-height: 0.41rem;
  1369. color: #a5b6ca;
  1370. }
  1371. }
  1372. .space-x-4 {
  1373. & > view:not(:first-child),
  1374. & > text:not(:first-child),
  1375. & > image:not(:first-child) {
  1376. margin-left: 0.25rem;
  1377. }
  1378. .section_11 {
  1379. width: 2.28rem;
  1380. height: 2.78rem;
  1381. border: solid 0.031rem #4a315e;
  1382. }
  1383. .section_14 {
  1384. width: 2.16rem;
  1385. height: 2.78rem;
  1386. border: solid 0.031rem #4a315e;
  1387. }
  1388. .view_2 {
  1389. margin-left: 2.13rem;
  1390. }
  1391. .image_9 {
  1392. margin-left: 2.38rem;
  1393. width: 2.34rem;
  1394. height: 2.78rem;
  1395. }
  1396. .section_13 {
  1397. width: 2.22rem;
  1398. height: 2.78rem;
  1399. border: solid 0.031rem #4a315e;
  1400. }
  1401. .view_3 {
  1402. margin-left: 2.06rem;
  1403. }
  1404. .pos_5 {
  1405. position: absolute;
  1406. left: 2.25rem;
  1407. top: 0;
  1408. }
  1409. .pos_7 {
  1410. position: absolute;
  1411. right: 4.44rem;
  1412. top: 0;
  1413. }
  1414. .section_15 {
  1415. width: 2.47rem;
  1416. height: 2.78rem;
  1417. border: solid 0.031rem #4a315e;
  1418. }
  1419. .pos_6 {
  1420. position: absolute;
  1421. left: 6.56rem;
  1422. top: 0;
  1423. }
  1424. .pos_8 {
  1425. position: absolute;
  1426. right: 0;
  1427. top: 0;
  1428. }
  1429. .section_19 {
  1430. background-color: #44d7b6;
  1431. width: 0.5rem;
  1432. height: 0.94rem;
  1433. }
  1434. .pos_9 {
  1435. position: absolute;
  1436. left: 6.47rem;
  1437. top: 1.59rem;
  1438. }
  1439. .section_12 {
  1440. padding: 0.25rem 0;
  1441. border: solid 0.031rem #4a315e;
  1442. .section_16 {
  1443. background-color: #73e182;
  1444. width: 6.44rem;
  1445. height: 0.94rem;
  1446. }
  1447. .section_17 {
  1448. background-color: #73e182;
  1449. width: 3.94rem;
  1450. height: 0.94rem;
  1451. }
  1452. .section_18 {
  1453. background-color: #73e182;
  1454. width: 6.69rem;
  1455. height: 0.94rem;
  1456. }
  1457. }
  1458. .pos_4 {
  1459. position: absolute;
  1460. left: 0;
  1461. right: 0;
  1462. top: 0;
  1463. }
  1464. .section_26 {
  1465. width: 2.59rem;
  1466. height: 5.53rem;
  1467. border: solid 0.031rem #4a315e;
  1468. }
  1469. .section_27 {
  1470. width: 2.53rem;
  1471. height: 5.53rem;
  1472. border: solid 0.031rem #4a315e;
  1473. }
  1474. .section_29 {
  1475. width: 2.66rem;
  1476. height: 5.53rem;
  1477. border: solid 0.031rem #4a315e;
  1478. }
  1479. .pos_25 {
  1480. position: absolute;
  1481. left: 2.56rem;
  1482. top: 0;
  1483. }
  1484. .pos_27 {
  1485. position: absolute;
  1486. right: 2.53rem;
  1487. top: 0;
  1488. }
  1489. .section_28 {
  1490. width: 2.72rem;
  1491. height: 5.53rem;
  1492. border: solid 0.031rem #4a315e;
  1493. }
  1494. .pos_26 {
  1495. position: absolute;
  1496. left: 50%;
  1497. top: 0;
  1498. transform: translateX(-50%);
  1499. }
  1500. .pos_29 {
  1501. position: absolute;
  1502. left: 0;
  1503. right: 0;
  1504. top: 2.75rem;
  1505. }
  1506. .pos_28 {
  1507. position: absolute;
  1508. left: 0;
  1509. right: 0;
  1510. top: 1.38rem;
  1511. }
  1512. .pos_24 {
  1513. position: absolute;
  1514. left: 0;
  1515. right: 0;
  1516. top: 0;
  1517. }
  1518. .pos_31 {
  1519. position: absolute;
  1520. left: 0;
  1521. right: 0;
  1522. top: 2.88rem;
  1523. }
  1524. .pos_30 {
  1525. position: absolute;
  1526. left: 0;
  1527. right: 0;
  1528. top: 50%;
  1529. transform: translateY(-50%);
  1530. }
  1531. }
  1532. .section_22 {
  1533. width: 17.91rem;
  1534. height: 1.41rem;
  1535. border: solid 0.031rem #4a315e;
  1536. }
  1537. .group_11 {
  1538. width: 8.25rem;
  1539. }
  1540. .space-x-10 {
  1541. & > view:not(:first-child),
  1542. & > text:not(:first-child),
  1543. & > image:not(:first-child) {
  1544. margin-left: 0.63rem;
  1545. }
  1546. }
  1547. .font_10 {
  1548. font-size: 0.88rem;
  1549. font-family: PingFangSC;
  1550. line-height: 0.81rem;
  1551. color: #ffffff;
  1552. }
  1553. .group_13 {
  1554. width: 0.97rem;
  1555. .font_11 {
  1556. font-size: 0.75rem;
  1557. font-family: PingFangSC;
  1558. line-height: 0.56rem;
  1559. color: #9b97bc;
  1560. }
  1561. }
  1562. .space-y-14 {
  1563. & > view:not(:first-child),
  1564. & > text:not(:first-child),
  1565. & > image:not(:first-child) {
  1566. margin-top: 0.88rem;
  1567. }
  1568. }
  1569. .divider {
  1570. background-image: repeating-linear-gradient(
  1571. 90deg,
  1572. #e02020,
  1573. #e02020 0.35%,
  1574. transparent 0.35%,
  1575. transparent 1.047%
  1576. );
  1577. background-position: -0.031rem 0px;
  1578. height: 0.063rem;
  1579. }
  1580. .font_9 {
  1581. font-size: 0.56rem;
  1582. font-family: PingFangSC;
  1583. line-height: 0.41rem;
  1584. color: #9b97bc;
  1585. }
  1586. }
  1587. .space-y-10 {
  1588. & > view:not(:first-child),
  1589. & > text:not(:first-child),
  1590. & > image:not(:first-child) {
  1591. margin-top: 0.63rem;
  1592. }
  1593. }
  1594. }
  1595. }
  1596. .tab-bar {
  1597. padding: 0.25rem 3.38rem;
  1598. background-color: #167df2;
  1599. backdrop-filter: blur(0.63rem);
  1600. .group_26 {
  1601. height: 2.47rem;
  1602. .text_17 {
  1603. font-size: 0.69rem;
  1604. line-height: 0.63rem;
  1605. }
  1606. }
  1607. .space-y-2 {
  1608. & > view:not(:first-child),
  1609. & > text:not(:first-child),
  1610. & > image:not(:first-child) {
  1611. margin-top: 0.13rem;
  1612. }
  1613. }
  1614. .group_27 {
  1615. height: 2.5rem;
  1616. .text_18 {
  1617. font-size: 0.69rem;
  1618. line-height: 0.63rem;
  1619. }
  1620. }
  1621. .image_15 {
  1622. width: 1.69rem;
  1623. height: 1.69rem;
  1624. }
  1625. .font_12 {
  1626. font-size: 0.75rem;
  1627. font-family: PingFangSC;
  1628. line-height: 0.69rem;
  1629. color: #ffffffb3;
  1630. }
  1631. }
  1632. .font_6 {
  1633. font-size: 0.75rem;
  1634. font-family: PingFangSC;
  1635. line-height: 0.69rem;
  1636. color: #ffffff;
  1637. }
  1638. }
  1639. .page {
  1640. background-color: #000000;
  1641. width: 100%;
  1642. overflow-y: auto;
  1643. overflow-x: hidden;
  1644. height: 100%;
  1645. margin-bottom: 1rem;
  1646. .report {
  1647. overflow-y: auto;
  1648. .report_header {
  1649. .report-header-img {
  1650. position: absolute;
  1651. top: -5rem;
  1652. left: 50%;
  1653. width: 22.5rem;
  1654. height: 28.5em;
  1655. margin-left: -11.25rem;
  1656. }
  1657. .report_score {
  1658. padding-top: 1rem;
  1659. z-index: 100;
  1660. .report_period {
  1661. margin-left: 1.2rem;
  1662. }
  1663. .report_score_data {
  1664. .section_5 {
  1665. padding: 0.38rem 0.88rem;
  1666. background-color: #7e5a9d4d;
  1667. border-radius: 1rem 0px 0px 1rem;
  1668. backdrop-filter: blur(0.31rem);
  1669. width: 5.25rem;
  1670. height: 2rem;
  1671. .image_6 {
  1672. width: 1.5rem;
  1673. height: 1.31rem;
  1674. }
  1675. .text_5 {
  1676. line-height: 0.72rem;
  1677. }
  1678. }
  1679. .space-x-76-reverse {
  1680. & > view:not(:last-child),
  1681. & > text:not(:last-child),
  1682. & > image:not(:last-child) {
  1683. margin-right: 4.75rem;
  1684. }
  1685. .text_4 {
  1686. color: #ffffff;
  1687. font-size: 1.5rem;
  1688. font-family: PingFangSC;
  1689. line-height: 1.38rem;
  1690. }
  1691. }
  1692. .text_6 {
  1693. margin-top: 1rem;
  1694. //color: #ffffff;
  1695. font-size: 3.38rem;
  1696. font-family: PingFangSC;
  1697. line-height: 2.47rem;
  1698. }
  1699. .text_7 {
  1700. margin-top: 1.38rem;
  1701. line-height: 0.94rem;
  1702. }
  1703. }
  1704. }
  1705. .space-y-55 {
  1706. & > view:not(:first-child),
  1707. & > text:not(:first-child),
  1708. & > image:not(:first-child) {
  1709. margin-top: 3.44rem;
  1710. }
  1711. }
  1712. }
  1713. .report_analysis {
  1714. padding-top: 0.63rem;
  1715. z-index: 100;
  1716. .font_4 {
  1717. font-size: 1.13rem;
  1718. font-family: PingFangSC;
  1719. line-height: 0.81rem;
  1720. color: #ffffff;
  1721. }
  1722. .text_8 {
  1723. margin-left: 1.25rem;
  1724. line-height: 1.06rem;
  1725. }
  1726. .section_easy {
  1727. margin: 0 1.25rem;
  1728. padding: 0 0.88rem;
  1729. height: 52px;
  1730. opacity: 0.8;
  1731. border-radius: 8px;
  1732. background: linear-gradient(180deg, rgba(22, 125, 242, 1) 0%, rgba(52, 26, 75, 1) 100%);
  1733. .image_7 {
  1734. width: 32px;
  1735. height: 32px;
  1736. }
  1737. .font_3 {
  1738. font-size: 16px;
  1739. color: #ffffff;
  1740. font-weight: 400;
  1741. margin-left: 9px;
  1742. }
  1743. .font_7 {
  1744. color: rgba(255, 255, 255, 0.6);
  1745. font-size: 16px;
  1746. margin-right: 10px;
  1747. }
  1748. .font_4 {
  1749. font-size: 18px;
  1750. color: #ffffff;
  1751. font-weight: 500;
  1752. }
  1753. }
  1754. .section_efficiency {
  1755. margin: 0 1.25rem;
  1756. padding: 0 0.88rem;
  1757. height: 52px;
  1758. opacity: 0.8;
  1759. border-radius: 8px;
  1760. background: linear-gradient(180deg, rgba(22, 125, 242, 1) 0%, rgba(52, 26, 75, 1) 100%);
  1761. .image_7 {
  1762. width: 32px;
  1763. height: 32px;
  1764. }
  1765. .font_3 {
  1766. font-size: 16px;
  1767. color: #ffffff;
  1768. font-weight: 400;
  1769. margin-left: 9px;
  1770. }
  1771. .font_4 {
  1772. font-size: 18px;
  1773. color: #ffffff;
  1774. font-weight: 500;
  1775. }
  1776. }
  1777. .report_analysis_data {
  1778. padding-top: 22.5rem;
  1779. .space-x-26 {
  1780. & > view:not(:first-child),
  1781. & > text:not(:first-child),
  1782. & > image:not(:first-child) {
  1783. margin-left: 1.63rem;
  1784. }
  1785. .text_10 {
  1786. line-height: 1.5rem;
  1787. width: 8.5rem;
  1788. }
  1789. .section_9 {
  1790. margin-top: 1.75rem;
  1791. padding: 1.19rem 0.5rem 0.5rem 0.81rem;
  1792. background-color: #1751e6cc;
  1793. border-radius: 0.5rem 0.5rem 0 0;
  1794. height: 2.63rem;
  1795. }
  1796. .space-x-34 {
  1797. & > view:not(:first-child),
  1798. & > text:not(:first-child),
  1799. & > image:not(:first-child) {
  1800. margin-left: 2.13rem;
  1801. }
  1802. }
  1803. }
  1804. .equal-division {
  1805. padding: 0 0.88rem;
  1806. .equal-division-item {
  1807. padding: 0.25rem 0.38rem 0;
  1808. flex: 1 1 10.81rem;
  1809. .section_6 {
  1810. padding: 0.63rem 0.63rem 0.75rem;
  1811. background-color: #1751e6cc;
  1812. border-radius: 0.5rem;
  1813. .text_9 {
  1814. margin-left: 1.5rem;
  1815. }
  1816. .space-x-12 {
  1817. & > view:not(:first-child),
  1818. & > text:not(:first-child),
  1819. & > image:not(:first-child) {
  1820. margin-left: 0.75rem;
  1821. }
  1822. }
  1823. }
  1824. .view {
  1825. margin-top: 0.63rem;
  1826. }
  1827. .group_7 {
  1828. margin-top: 0.63rem;
  1829. padding: 1.25rem 0.63rem 2rem;
  1830. background: url("http://wdklmall.oss-cn-shenzhen.aliyuncs.com/mallgoods/goods/BC26FBFE91F4495EAE8E403C73DCFBA7.png");
  1831. background-repeat: no-repeat;
  1832. background-size: cover;
  1833. border-radius: 0.5rem;
  1834. .text_10 {
  1835. line-height: 1.4rem;
  1836. margin-top: 0.2rem;
  1837. }
  1838. }
  1839. }
  1840. .equal-division-item_2 {
  1841. padding: 0.25rem 0.38rem;
  1842. flex: 1 1 10.81rem;
  1843. .section_7 {
  1844. padding: 0.63rem 0.75rem 0.75rem;
  1845. background-color: #1751e6cc;
  1846. border-radius: 0.5rem;
  1847. .group_5 {
  1848. padding: 0 1.5rem;
  1849. }
  1850. .space-x-4 {
  1851. & > view:not(:first-child),
  1852. & > text:not(:first-child),
  1853. & > image:not(:first-child) {
  1854. margin-left: 0.25rem;
  1855. }
  1856. }
  1857. }
  1858. .section_8 {
  1859. padding: 0.55rem 0.5rem 0.55rem 0.75rem;
  1860. background-color: #1751e6cc;
  1861. border-radius: 0.5rem;
  1862. }
  1863. }
  1864. .space-y-10 {
  1865. & > view:not(:first-child),
  1866. & > text:not(:first-child),
  1867. & > image:not(:first-child) {
  1868. margin-top: 0.63rem;
  1869. }
  1870. }
  1871. .space-y-12 {
  1872. & > view:not(:first-child),
  1873. & > text:not(:first-child),
  1874. & > image:not(:first-child) {
  1875. margin-top: 0.75rem;
  1876. }
  1877. }
  1878. .group_6 {
  1879. padding: 0 1.63rem;
  1880. }
  1881. }
  1882. .space-x-29 {
  1883. & > view:not(:first-child),
  1884. & > text:not(:first-child),
  1885. & > image:not(:first-child) {
  1886. margin-left: 0.1rem;
  1887. }
  1888. }
  1889. .pos {
  1890. position: absolute;
  1891. left: 0;
  1892. right: 0;
  1893. top: 0;
  1894. }
  1895. .space-x-6 {
  1896. & > view:not(:first-child),
  1897. & > text:not(:first-child),
  1898. & > image:not(:first-child) {
  1899. margin-left: 0.38rem;
  1900. }
  1901. }
  1902. .font_5 {
  1903. font-size: 0.75rem;
  1904. font-family: PingFangSC;
  1905. line-height: 0.69rem;
  1906. color: #ffffff;
  1907. }
  1908. }
  1909. }
  1910. .space-y-4 {
  1911. & > view:not(:first-child),
  1912. & > text:not(:first-child),
  1913. & > image:not(:first-child) {
  1914. margin-top: 0.5rem;
  1915. }
  1916. }
  1917. .font_2 {
  1918. font-size: 1rem;
  1919. font-family: PingFangSC;
  1920. line-height: 0.69rem;
  1921. color: #ffffff;
  1922. }
  1923. .space-x-8 {
  1924. & > view:not(:first-child),
  1925. & > text:not(:first-child),
  1926. & > image:not(:first-child) {
  1927. margin-left: 0.5rem;
  1928. }
  1929. }
  1930. .space-x-10 {
  1931. & > view:not(:first-child),
  1932. & > text:not(:first-child),
  1933. & > image:not(:first-child) {
  1934. margin-left: 0.63rem;
  1935. }
  1936. .section_3 {
  1937. padding: 0.5rem 0.63rem;
  1938. background-color: #7e5a9d4d;
  1939. border-radius: 1rem;
  1940. backdrop-filter: blur(0.31rem);
  1941. height: 2rem;
  1942. .space-x-24 {
  1943. & > view:not(:first-child),
  1944. & > text:not(:first-child),
  1945. & > image:not(:first-child) {
  1946. margin-left: 1.5rem;
  1947. }
  1948. .text_2 {
  1949. line-height: 0.72rem;
  1950. }
  1951. }
  1952. .image_4 {
  1953. width: 0.63rem;
  1954. height: 0.94rem;
  1955. }
  1956. }
  1957. .section_4 {
  1958. margin-right: 1.25rem;
  1959. padding: 0.75rem 0.63rem 0.5rem;
  1960. background-color: #7e5a9d4d;
  1961. border-radius: 1rem;
  1962. backdrop-filter: blur(0.31rem);
  1963. height: 2rem;
  1964. .text_3 {
  1965. line-height: 0.72rem;
  1966. }
  1967. .image_5 {
  1968. margin-right: 0.25rem;
  1969. width: 0.63rem;
  1970. height: 0.38rem;
  1971. }
  1972. }
  1973. }
  1974. .image_7 {
  1975. width: 0.88rem;
  1976. height: 0.88rem;
  1977. }
  1978. .font_3 {
  1979. font-size: 0.88rem;
  1980. font-family: PingFangSC;
  1981. line-height: 0.81rem;
  1982. color: #9b97bc;
  1983. }
  1984. }
  1985. }
  1986. .page {
  1987. background-color: #000000;
  1988. width: 100%;
  1989. overflow-y: auto;
  1990. overflow-x: hidden;
  1991. height: 100%;
  1992. .image-wrapper_2 {
  1993. padding-bottom: 0.38rem;
  1994. overflow-y: auto;
  1995. .header {
  1996. padding: 1rem 0.88rem 0.75rem;
  1997. background-color: #ffffff4d;
  1998. .space-x-6-reverse {
  1999. & > view:not(:last-child),
  2000. & > text:not(:last-child),
  2001. & > image:not(:last-child) {
  2002. margin-right: 0.38rem;
  2003. }
  2004. .image {
  2005. width: 1.06rem;
  2006. height: 0.69rem;
  2007. }
  2008. .image_2 {
  2009. width: 0.94rem;
  2010. height: 0.69rem;
  2011. }
  2012. .image_3 {
  2013. width: 1.5rem;
  2014. height: 0.72rem;
  2015. }
  2016. }
  2017. .text {
  2018. margin-top: 2rem;
  2019. color: #ffffff;
  2020. font-size: 1.16rem;
  2021. font-family: PingFangSC;
  2022. line-height: 1.06rem;
  2023. }
  2024. .section {
  2025. padding: 0.38rem 0.75rem;
  2026. background-color: #ffffff99;
  2027. border-radius: 1rem;
  2028. width: 5.44rem;
  2029. border: solid 0.031rem #00000014;
  2030. .image-wrapper {
  2031. width: 1.19rem;
  2032. .image_5 {
  2033. width: 1.19rem;
  2034. height: 0.44rem;
  2035. }
  2036. .image_4 {
  2037. width: 1.13rem;
  2038. height: 1.06rem;
  2039. }
  2040. }
  2041. .section_2 {
  2042. background-color: #00000033;
  2043. width: 0.063rem;
  2044. height: 1.16rem;
  2045. }
  2046. }
  2047. .space-x-11 {
  2048. & > view:not(:first-child),
  2049. & > text:not(:first-child),
  2050. & > image:not(:first-child) {
  2051. margin-left: 0.69rem;
  2052. }
  2053. }
  2054. .pos {
  2055. position: absolute;
  2056. right: 0.44rem;
  2057. top: 3.06rem;
  2058. }
  2059. }
  2060. .image_6 {
  2061. width: 23.44rem;
  2062. height: 41.69rem;
  2063. }
  2064. }
  2065. .tab-bar {
  2066. padding: 0.25rem 3.38rem;
  2067. background-color: #167df2;
  2068. backdrop-filter: blur(0.63rem);
  2069. .space-y-2 {
  2070. & > view:not(:first-child),
  2071. & > text:not(:first-child),
  2072. & > image:not(:first-child) {
  2073. margin-top: 0.13rem;
  2074. }
  2075. .image_7 {
  2076. width: 1.69rem;
  2077. height: 1.69rem;
  2078. }
  2079. }
  2080. .font_1 {
  2081. font-size: 0.69rem;
  2082. font-family: PingFangSC;
  2083. line-height: 0.63rem;
  2084. color: #ffffffb3;
  2085. }
  2086. .text_2 {
  2087. color: #cfcfcf;
  2088. }
  2089. }
  2090. }
  2091. @media screen and (max-width: 300px) {
  2092. .report-header-img {
  2093. top: -1.5rem;
  2094. }
  2095. }
  2096. </style>