report.vue 66 KB

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