index.vue 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238
  1. <template>
  2. <view :data-theme="theme" class="bg">
  3. <view class="categorys">
  4. <view style="width:100%">
  5. <view class="categorys-item" v-for="item in categorys">
  6. <view :data-theme="theme" @click="() => {
  7. currentPoint = item.point
  8. }" :class="{
  9. 'categorys-item-text_selected': currentPoint == item.point
  10. }" class="categorys-item-text">{{ item.text }}</view>
  11. <view :data-theme="theme" :class="{
  12. 'categorys-item-mark_selected': currentPoint == item.point
  13. }" class="categorys-item-mark"></view>
  14. </view>
  15. <view class=""></view>
  16. </view>
  17. </view>
  18. <scroll-view :scroll-into-view="currentPoint" :scroll-with-animation="false" :scroll-y="true" class="content">
  19. <view id="bzmp" class="user">
  20. <view style="width:50%">
  21. <text>【姓 名】</text>
  22. <text>{{ userData.username }}</text>
  23. </view>
  24. <view style="width:50%">
  25. <text>【性 别】</text>
  26. <text>{{ userData.sex == 1 ? '男' : '女' }}</text>
  27. </view>
  28. <view style="width:100%">
  29. <text>【公 历】</text>
  30. <text>{{ userData.birthDay }}</text>
  31. </view>
  32. <view style="width:100%">
  33. <text>【农 历】</text>
  34. <text>{{ userData.nongDay }}</text>
  35. </view>
  36. </view>
  37. <view class="table">
  38. <view :data-theme="theme" class="header">
  39. <view class="row">
  40. 四柱
  41. </view>
  42. <view class="row">
  43. 年柱
  44. </view>
  45. <view class="row">
  46. 月柱
  47. </view>
  48. <view class="row">
  49. 日柱
  50. </view>
  51. <view style="border: none;" class="row">
  52. 时柱
  53. </view>
  54. </view>
  55. <view :data-theme="theme" class="shell">
  56. <view :data-theme="theme" style="color: #333;" class="body">
  57. <view :data-theme="theme" class="row">十神</view>
  58. <view :data-theme="theme" class="row">{{
  59. userData.ganZhiProRowVoList[0][0].shiShen1 || '' + userData.ganZhiProRowVoList[0][0].shiShen2 ||
  60. '' + userData.ganZhiProRowVoList[0][0].shiShen3 || ''
  61. }}</view>
  62. <view :data-theme="theme" class="row">{{
  63. userData.ganZhiProRowVoList[1][0].shiShen1 || '' + userData.ganZhiProRowVoList[1][0].shiShen2 ||
  64. '' + userData.ganZhiProRowVoList[1][0].shiShen3 || ''
  65. }}</view>
  66. <view :data-theme="theme" style="color: #006494;" class="row">{{
  67. userData.ganZhiProRowVoList[2][0].shiShen1 || '' +
  68. userData.ganZhiProRowVoList[2][0].shiShen2 || '' + userData.ganZhiProRowVoList[2][0].shiShen3 ||
  69. '' }}
  70. </view>
  71. <view :data-theme="theme" class="row">{{
  72. userData.ganZhiProRowVoList[3][0].shiShen1 || '' + userData.ganZhiProRowVoList[3][0].shiShen2 ||
  73. '' + userData.ganZhiProRowVoList[3][0].shiShen3 || ''
  74. }}</view>
  75. </view>
  76. <view :data-theme="theme" class="body">
  77. <view :data-theme="theme" class="row">天干</view>
  78. <view :style="{
  79. color: userData.ganZhiProRowVoList[0][0].hexColor
  80. }" :data-theme="theme" class="row">{{ userData.ganZhiProRowVoList[0][0].name }}</view>
  81. <view :style="{
  82. color: userData.ganZhiProRowVoList[1][0].hexColor
  83. }" :data-theme="theme" class="row">{{ userData.ganZhiProRowVoList[1][0].name }}</view>
  84. <view :style="{
  85. color: userData.ganZhiProRowVoList[2][0].hexColor
  86. }" :data-theme="theme" class="row">{{ userData.ganZhiProRowVoList[2][0].name }}</view>
  87. <view :style="{
  88. color: userData.ganZhiProRowVoList[3][0].hexColor
  89. }" :data-theme="theme" class="row">{{ userData.ganZhiProRowVoList[3][0].name }}</view>
  90. </view>
  91. <view :data-theme="theme" class="body">
  92. <view :data-theme="theme" class="row">地支</view>
  93. <view :data-theme="theme" :style="{
  94. color: userData.ganZhiProRowVoList[0][1].hexColor
  95. }" class="row">{{ userData.ganZhiProRowVoList[0][1].name }}</view>
  96. <view :data-theme="theme" :style="{
  97. color: userData.ganZhiProRowVoList[1][1].hexColor
  98. }" class="row">{{ userData.ganZhiProRowVoList[1][1].name }}</view>
  99. <view :data-theme="theme" :style="{
  100. color: userData.ganZhiProRowVoList[2][1].hexColor
  101. }" class="row">{{ userData.ganZhiProRowVoList[2][1].name }}</view>
  102. <view :data-theme="theme" :style="{
  103. color: userData.ganZhiProRowVoList[3][1].hexColor
  104. }" class="row">{{ userData.ganZhiProRowVoList[3][1].name }}</view>
  105. </view>
  106. <view :data-theme="theme" class="body">
  107. <view :data-theme="theme" style="line-height: 154rpx;" class="row">藏干</view>
  108. <view :data-theme="theme" style="font-size: 26rpx;height: 154rpx;" class="row">{{
  109. userData.ganZhiProRowVoList[0][1].shiShen1 }}</view>
  110. <view :data-theme="theme" style="font-size: 26rpx;height: 154rpx;" class="row">{{
  111. userData.ganZhiProRowVoList[1][1].shiShen1 }}</view>
  112. <view :data-theme="theme" style="font-size: 26rpx;height: 154rpx;" class="row">{{
  113. userData.ganZhiProRowVoList[2][1].shiShen1 }}</view>
  114. <view :data-theme="theme" style="font-size: 26rpx;height: 154rpx;" class="row">{{
  115. userData.ganZhiProRowVoList[3][1].shiShen1 }}</view>
  116. </view>
  117. <view :data-theme="theme" class="body">
  118. <view :data-theme="theme" class="row">纳音</view>
  119. <view :data-theme="theme" class="row">{{ userData.ganZhiNaYinVoList[0].naYin }}</view>
  120. <view :data-theme="theme" class="row">{{ userData.ganZhiNaYinVoList[1].naYin }}</view>
  121. <view :data-theme="theme" class="row">{{ userData.ganZhiNaYinVoList[2].naYin }}</view>
  122. <view :data-theme="theme" class="row">{{ userData.ganZhiNaYinVoList[3].naYin }}</view>
  123. </view>
  124. <view :data-theme="theme" class="body">
  125. <view :data-theme="theme" class="row">空亡</view>
  126. <view :data-theme="theme" class="row">{{ userData.ganZhiKongWangVoList[0].kongWang }}</view>
  127. <view :data-theme="theme" class="row">{{ userData.ganZhiKongWangVoList[1].kongWang }}</view>
  128. <view :data-theme="theme" class="row">{{ userData.ganZhiKongWangVoList[2].kongWang }}</view>
  129. <view :data-theme="theme" class="row">{{ userData.ganZhiKongWangVoList[3].kongWang }}</view>
  130. </view>
  131. </view>
  132. </view>
  133. <view id="grtd" class="result">
  134. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  135. <view :data-theme="theme" class="imgTitle"><text>个</text><text>人</text><text>特</text><text>点</text></view>
  136. <img mode="widthFix" class="imgHeader"
  137. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  138. <view class="result-content" :data-theme="theme">
  139. <view class="result-desc result-desc_limit">
  140. <div v-for="(item, index) in userData.guoGuanMap">{{ index }}.{{ item }}</div>
  141. </view>
  142. <!-- <view class="result-pay">开通会员立即查看</view> -->
  143. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  144. <!-- <view class="result-content-border1">
  145. <view class="result-content-border2">
  146. </view>
  147. </view> -->
  148. </view>
  149. <img mode="widthFix" class="imgFooter"
  150. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  151. </view>
  152. <view style="width: 100%;height: 35rpx;"></view>
  153. <view id="cyfx" class="result">
  154. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  155. <view :data-theme="theme" class="imgTitle"><text>财</text><text>运</text><text>分</text><text>析</text></view>
  156. <img mode="widthFix" class="imgHeader"
  157. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  158. <view class="result-content" :data-theme="theme">
  159. <view class="result-desc">
  160. {{ userData.reportMap['财运'] }}
  161. </view>
  162. <!-- <view class="result-pay">开通会员立即查看</view> -->
  163. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  164. <!-- <view class="result-content-border1">
  165. <view class="result-content-border2">
  166. </view>
  167. </view> -->
  168. </view>
  169. <img mode="widthFix" class="imgFooter"
  170. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  171. </view>
  172. <view style="width: 100%;height: 35rpx;"></view>
  173. <view id="hyqg" class="result">
  174. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  175. <view :data-theme="theme" class="imgTitle"><text>婚</text><text>姻</text><text>情</text><text>感</text></view>
  176. <img mode="widthFix" class="imgHeader"
  177. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  178. <view class="result-content" :data-theme="theme">
  179. <view class="result-desc">
  180. {{ userData.qingGan }}
  181. </view>
  182. <!-- <view class="result-pay">开通会员立即查看</view> -->
  183. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  184. <!-- <view class="result-content-border1">
  185. <view class="result-content-border2">
  186. </view>
  187. </view> -->
  188. </view>
  189. <img mode="widthFix" class="imgFooter"
  190. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  191. </view>
  192. <view style="width: 100%;height: 35rpx;"></view>
  193. <view id="wxpy" class="result">
  194. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  195. <view :data-theme="theme" class="imgTitle"><text>五</text><text>行</text><text>评</text><text>语</text></view>
  196. <img mode="widthFix" class="imgHeader"
  197. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  198. <view class="result-content" :data-theme="theme">
  199. <view class="result-desc">
  200. {{ userData.reportMap['缺失五行评语'] }}
  201. </view>
  202. <!-- <view class="result-pay">开通会员立即查看</view> -->
  203. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  204. <!-- <view class="result-content-border1">
  205. <view class="result-content-border2">
  206. </view>
  207. </view> -->
  208. </view>
  209. <img mode="widthFix" class="imgFooter"
  210. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  211. </view>
  212. <view style="width: 100%;height: 35rpx;"></view>
  213. <view id="csph" class="result">
  214. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  215. <view :data-theme="theme" class="imgTitle"><text>潮</text><text>湿</text><text>平</text><text>衡</text></view>
  216. <img mode="widthFix" class="imgHeader"
  217. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  218. <view class="result-content" :data-theme="theme">
  219. <view class="result-desc">
  220. {{ userData.reportMap['潮湿平衡'] }}
  221. </view>
  222. <!-- <view class="result-pay">开通会员立即查看</view> -->
  223. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  224. <!-- <view class="result-content-border1">
  225. <view class="result-content-border2">
  226. </view>
  227. </view> -->
  228. </view>
  229. <img mode="widthFix" class="imgFooter"
  230. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  231. </view>
  232. <view style="width: 100%;height: 35rpx;"></view>
  233. <view id="xysz" class="result">
  234. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  235. <view :data-theme="theme" class="imgTitle"><text>喜</text><text>用</text><text>数</text><text>字</text></view>
  236. <img mode="widthFix" class="imgHeader"
  237. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  238. <view class="result-content" :data-theme="theme">
  239. <view class="result-desc">
  240. <view v-for="item in userData.numberYunMap.numberYunList"
  241. style="position: relative;margin-bottom: 10px;" class="">
  242. <image class="result-desc-icon1" mode="widthFix"
  243. :src="'/static/icon/' + theme + '_xysz_rect@2x.png'" />
  244. <view class="result-desc-lucktext">数字{{ item.id }}</view>
  245. <text>
  246. {{ item.caiYun }}
  247. </text>
  248. <view>
  249. {{ item.taoHua }}
  250. </view>
  251. </view>
  252. <view>
  253. 选用{{ userData.numberYunMap.numberYuns }} 为电话号码,门牌号、车牌号等。
  254. </view>
  255. </view>
  256. <!-- <view class="result-pay">开通会员立即查看</view> -->
  257. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  258. <!-- <view class="result-content-border1">
  259. <view class="result-content-border2">
  260. </view>
  261. </view> -->
  262. </view>
  263. <img mode="widthFix" class="imgFooter"
  264. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  265. </view>
  266. <view style="width: 100%;height: 35rpx;"></view>
  267. <view id="gjpq" class="result">
  268. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  269. <view :data-theme="theme" class="imgTitle"><text>格</text><text>局</text><text>脾</text><text>气</text></view>
  270. <img mode="widthFix" class="imgHeader"
  271. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  272. <view class="result-content" :data-theme="theme">
  273. <view class="result-desc">
  274. <view>{{ userData.piQi }}</view>
  275. </view>
  276. <!-- <view class="result-pay">开通会员立即查看</view> -->
  277. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  278. <!-- <view class="result-content-border1">
  279. <view class="result-content-border2">
  280. </view>
  281. </view> -->
  282. </view>
  283. <img mode="widthFix" class="imgFooter"
  284. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  285. </view>
  286. <view style="width: 100%;height: 35rpx;"></view>
  287. <view id="cgpy" class="result">
  288. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  289. <view :data-theme="theme" class="imgTitle"><text>称</text><text>骨</text><text>评</text><text>语</text></view>
  290. <img mode="widthFix" class="imgHeader"
  291. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  292. <view class="result-content" :data-theme="theme">
  293. <view class="result-desc">
  294. <view style="text-align: left;">称骨重量:{{ userData.chenGuMap['称骨重量'] }}</view>
  295. <view>{{ userData.chenGuMap['称骨评语'] }}</view>
  296. </view>
  297. <!-- <view class="result-pay">开通会员立即查看</view> -->
  298. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  299. <!-- <view class="result-content-border1">
  300. <view class="result-content-border2">
  301. </view>
  302. </view> -->
  303. </view>
  304. <img mode="widthFix" class="imgFooter"
  305. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  306. </view>
  307. <view style="width: 100%;height: 35rpx;"></view>
  308. <view id="jkyf" class="result">
  309. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  310. <view :data-theme="theme" class="imgTitle"><text>健</text><text>康</text><text>预</text><text>防</text></view>
  311. <img mode="widthFix" class="imgHeader"
  312. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  313. <view class="result-content" :data-theme="theme">
  314. <view class="result-desc">
  315. <view class="result-disease">
  316. <view v-for="(item, index) in userData.diseasePartList" class="">
  317. <text> {{ item.part }}:</text>
  318. <text> {{ item.symp }}</text>
  319. </view>
  320. </view>
  321. </view>
  322. <!-- <view class="result-pay">开通会员立即查看</view> -->
  323. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  324. <!-- <view class="result-content-border1">
  325. <view class="result-content-border2">
  326. </view>
  327. </view> -->
  328. </view>
  329. <img mode="widthFix" class="imgFooter"
  330. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  331. </view>
  332. <view style="width: 100%;height: 35rpx;"></view>
  333. <view id="xyfw" class="result">
  334. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  335. <view :data-theme="theme" class="imgTitle"><text>喜</text><text>用</text><text>方</text><text>位</text></view>
  336. <img mode="widthFix" class="imgHeader"
  337. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  338. <view class="result-content" :data-theme="theme">
  339. <view class="result-desc">
  340. {{ userData.xiFangWei }}
  341. </view>
  342. </view>
  343. <!-- <view class="result-pay">开通会员立即查看</view> -->
  344. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  345. <!-- <view class="result-content-border1">
  346. <view class="result-content-border2">
  347. </view>
  348. </view> -->
  349. <img mode="widthFix" class="imgFooter"
  350. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  351. </view>
  352. <view style="width: 100%;height: 35rpx;"></view>
  353. <view id="mzgr" class="result">
  354. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  355. <view :data-theme="theme" class="imgTitle"><text>命</text><text>中</text><text>贵</text><text>人</text></view>
  356. <img mode="widthFix" class="imgHeader"
  357. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  358. <view class="result-content" :data-theme="theme">
  359. <view class="result-desc">
  360. {{ userData.guiren }}
  361. </view>
  362. </view>
  363. <!-- <view class="result-pay">开通会员立即查看</view> -->
  364. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  365. <!-- <view class="result-content-border1">
  366. <view class="result-content-border2">
  367. </view>
  368. </view> -->
  369. <img mode="widthFix" class="imgFooter"
  370. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  371. </view>
  372. <view style="width: 100%;height: 35rpx;"></view>
  373. <view id="tjhy" class="result">
  374. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  375. <view :data-theme="theme" class="imgTitle"><text>推</text><text>荐</text><text>行</text><text>业</text></view>
  376. <img mode="widthFix" class="imgHeader"
  377. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
  378. <view class="result-content" :data-theme="theme">
  379. <view class="result-desc">
  380. {{ userData.industry }}
  381. </view>
  382. </view>
  383. <!-- <view class="result-pay">开通会员立即查看</view> -->
  384. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  385. <!-- <view class="result-content-border1">
  386. <view class="result-content-border2">
  387. </view>
  388. </view> -->
  389. <img mode="widthFix" class="imgFooter"
  390. :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
  391. </view>
  392. <!-- <view class="result">
  393. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  394. <view :data-theme="theme" class="imgTitle"><text>十</text><text>神</text><text>评</text><text>语</text></view>
  395. <img mode="widthFix" class="imgHeader" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_top@2x.png'" />
  396. <view class="result-content ">
  397. <view class="result-desc">
  398. {{ userData.reportMap['缺失十神评语'] }}
  399. </view> -->
  400. <!-- <view class="result-disease">
  401. <view v-for="(item,index) in userData.diseasePartList" class="">
  402. <text style="color: #006494;"> {{ item.part }}:</text>
  403. <text>({{ item.degree }}) {{ item.symp }}</text>
  404. </view>
  405. </view> -->
  406. <!-- <view class="result-pay">开通会员立即查看</view> -->
  407. <!-- <view class="result-pay">开通会员立即查看</view> -->
  408. <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
  409. <!-- <view class="result-content-border1">
  410. <view class="result-content-border2">
  411. </view>
  412. </view> -->
  413. <!-- </view>
  414. <img mode="widthFix" class="imgFooter" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_bottom@2x.png'" />
  415. </view> -->
  416. <!-- <view style="width: 100%;height: 35rpx;"></view>
  417. <view class="result">
  418. <img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
  419. <view :data-theme="theme" class="imgTitle"><text>五</text><text>行</text><text>评</text><text>语</text></view>
  420. <img mode="widthFix" class="imgHeader" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_top@2x.png'" />
  421. <view class="result-content ">
  422. <view class="result-desc">
  423. 当我们关注身体健康时,了解各宫位的能量分布可以帮助我们判断可能出现的疾病。请特别留意以下身体部位可能存在的问题,并在早期进行检查,以便及时预防。
  424. </view>
  425. <view class="result-disease">
  426. <view v-for="(item, index) in userData.diseasePartList" class="">
  427. <text style="color: #006494;"> {{ item.part }}:</text>
  428. <text>({{ item.degree }}) {{ item.symp }}</text>
  429. </view>
  430. </view>
  431. </view>
  432. <img mode="widthFix" class="imgFooter" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_bottom@2x.png'" />
  433. </view> -->
  434. </scroll-view>
  435. </view>
  436. </template>
  437. <script lang="ts">
  438. import Vue from 'vue';
  439. import api from '@/api'
  440. import responseDecorator from '@/utils/responseDecorator'
  441. export default Vue.extend({
  442. data() {
  443. return {
  444. currentPoint: 'bzmp',
  445. theme: 'yellow',
  446. title: '国学',
  447. categorys: [{ text: '八字命盘', point: 'bzmp' },
  448. { text: '个人特点', point: 'grtd' },
  449. { text: '财运分析', point: 'cyfx' },
  450. { text: '婚姻情感', point: 'hyqg' },
  451. { text: '五行评语', point: 'wxpy' },
  452. { text: '潮湿平衡', point: 'csph' },
  453. { text: '喜用数字', point: 'xysz' },
  454. { text: '格局脾气', point: 'gjpq' },
  455. { text: '称骨评语', point: 'cgpy' },
  456. { text: '健康预防', point: 'jkyf' },
  457. { text: '喜用方位', point: 'xyfw' },
  458. { text: '命中贵人', point: 'mzgr' },
  459. { text: '推荐行业', point: 'tjhy' }],
  460. form: {
  461. birthDay: '2000-01-01 23:00:00',
  462. isSave: 0,
  463. sex: 1,
  464. username: '默认用户'
  465. },
  466. userData: {
  467. username: '',
  468. piQi: '',
  469. guiren: '',
  470. industry: '',
  471. xiFangWei: '',
  472. chenGuMap: {
  473. 称骨评语: "",
  474. 称骨重量: "",
  475. },
  476. sex: 1,
  477. birthDay: '',
  478. nongDay: '',
  479. qingGan: '',
  480. reportMap: {
  481. "潮湿平衡": "过于干燥,火特别多,性情比较暴躁,容易上火,内心上火容易产生无名火,容易被“点燃”生气,身体也容易上火。",
  482. "缺失五行评语": "五行缺金:放置一些金属质地的装饰品,如金色的花瓶、金属相框等;引入一些金属家具,如金属椅子、桌子等。",
  483. "缺失十神评语": "缺少正财,收入不稳定。",
  484. "财运": "无"
  485. },
  486. ganZhiProRowVoList: [[{
  487. "gongWei": "",
  488. "name": "",
  489. "color": "",
  490. "five": "",
  491. "xi": '',
  492. "ji": '',
  493. "shiShen1": "",
  494. "shiShen2": '',
  495. "shiShen3": '',
  496. "hexColor": '',
  497. "enColor": ''
  498. },
  499. {
  500. "gongWei": "",
  501. "name": "",
  502. "color": "",
  503. "five": "",
  504. "xi": '',
  505. "ji": '',
  506. "shiShen1": "",
  507. "shiShen2": "",
  508. "shiShen3": "",
  509. "hexColor": '',
  510. "enColor": ''
  511. }], [{
  512. "gongWei": "",
  513. "name": "",
  514. "color": "",
  515. "five": "",
  516. "xi": '',
  517. "ji": '',
  518. "shiShen1": "",
  519. "shiShen2": '',
  520. "shiShen3": '',
  521. "hexColor": '',
  522. "enColor": ''
  523. },
  524. {
  525. "gongWei": "",
  526. "name": "",
  527. "color": "",
  528. "five": "",
  529. "xi": '',
  530. "ji": '',
  531. "shiShen1": "",
  532. "shiShen2": "",
  533. "shiShen3": "",
  534. "hexColor": '',
  535. "enColor": ''
  536. }], [{
  537. "gongWei": "",
  538. "name": "",
  539. "color": "",
  540. "five": "",
  541. "xi": '',
  542. "ji": '',
  543. "shiShen1": "",
  544. "shiShen2": '',
  545. "shiShen3": '',
  546. "hexColor": '',
  547. "enColor": ''
  548. },
  549. {
  550. "gongWei": "",
  551. "name": "",
  552. "color": "",
  553. "five": "",
  554. "xi": '',
  555. "ji": '',
  556. "shiShen1": "",
  557. "shiShen2": "",
  558. "shiShen3": '',
  559. "hexColor": '',
  560. "enColor": ''
  561. }], [{
  562. "gongWei": "",
  563. "name": "",
  564. "color": "",
  565. "five": "",
  566. "xi": '',
  567. "ji": '',
  568. "shiShen1": "",
  569. "shiShen2": '',
  570. "shiShen3": '',
  571. "hexColor": '',
  572. "enColor": ''
  573. },
  574. {
  575. "gongWei": "",
  576. "name": "",
  577. "color": "",
  578. "five": "",
  579. "xi": '',
  580. "ji": '',
  581. "shiShen1": "",
  582. "shiShen2": "",
  583. "shiShen3": '',
  584. "hexColor": '',
  585. "enColor": ''
  586. }]],
  587. ganZhiRowVoList: [
  588. {
  589. "gongWei": "年干",
  590. "name": "丁",
  591. "color": "红",
  592. "five": "火",
  593. "xi": '',
  594. "ji": '',
  595. "shiShen1": "正印",
  596. "shiShen2": '',
  597. "shiShen3": ''
  598. },
  599. {
  600. "gongWei": "年支",
  601. "name": "丑",
  602. "color": "棕",
  603. "five": "土",
  604. "xi": '',
  605. "ji": '',
  606. "shiShen1": "己(劫财)",
  607. "shiShen2": "辛(伤官)",
  608. "shiShen3": "癸(正财)"
  609. },
  610. {
  611. "gongWei": "月干",
  612. "name": "乙",
  613. "color": "绿",
  614. "five": "木",
  615. "xi": '',
  616. "ji": '',
  617. "shiShen1": "正官",
  618. "shiShen2": '',
  619. "shiShen3": ''
  620. },
  621. {
  622. "gongWei": "月支",
  623. "name": "巳",
  624. "color": "红",
  625. "five": "火",
  626. "xi": '',
  627. "ji": '',
  628. "shiShen1": "丙(偏印)",
  629. "shiShen2": "戊(比肩)",
  630. "shiShen3": "庚(食神)"
  631. },
  632. {
  633. "gongWei": "日干",
  634. "name": "戊",
  635. "color": "棕",
  636. "five": "土",
  637. "xi": '',
  638. "ji": '',
  639. "shiShen1": "元男",
  640. "shiShen2": '',
  641. "shiShen3": ''
  642. },
  643. {
  644. "gongWei": "日支",
  645. "name": "午",
  646. "color": "红",
  647. "five": "火",
  648. "xi": '',
  649. "ji": '',
  650. "shiShen1": "丁(正印)",
  651. "shiShen2": "己(劫财)",
  652. "shiShen3": ''
  653. },
  654. {
  655. "gongWei": "时干",
  656. "name": "甲",
  657. "color": "绿",
  658. "five": "木",
  659. "xi": '',
  660. "ji": '',
  661. "shiShen1": "七杀",
  662. "shiShen2": '',
  663. "shiShen3": ''
  664. },
  665. {
  666. "gongWei": "时支",
  667. "name": "午",
  668. "color": "蓝",
  669. "five": "水",
  670. "xi": '',
  671. "ji": '',
  672. "shiShen1": "丁(正印)",
  673. "shiShen2": "己(劫财)",
  674. "shiShen3": ''
  675. }
  676. ],
  677. ganZhiNaYinVoList: [{
  678. naYin: '',
  679. zhu: ''
  680. }, {
  681. naYin: '',
  682. zhu: ''
  683. }, {
  684. naYin: '',
  685. zhu: ''
  686. }, {
  687. naYin: '',
  688. zhu: ''
  689. }],
  690. diseasePartList: [{
  691. degree: "轻症",
  692. id: 9,
  693. part: "腹部",
  694. sex: 3,
  695. symp: "腹部胀气、腹部痉挛"
  696. }],
  697. numberYunMap: {
  698. numberYuns: '',
  699. numberYunList: [{
  700. caiYun: "数字1 带来独立和领导力,启示您在财务决策中追求卓越。",
  701. id: "1",
  702. taoHua: "1的活力能量,可能吸引到与您个性契合的人。"
  703. }]
  704. },
  705. guoGuanMap: {
  706. "1": ""
  707. },
  708. ganZhiKongWangVoList: [{ kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }]
  709. }
  710. }
  711. },
  712. onLoad(query: any) {
  713. console.log('query', query)
  714. this.form.username = decodeURIComponent(query.username || this.form.username)
  715. this.form.sex = Number(query.sex) || this.form.sex
  716. this.form.birthDay = decodeURIComponent(query.birthDay || this.form.birthDay)
  717. api.openApi.openApiGanZhiGet8ziByDate(this.form).then(res => {
  718. this.userData = responseDecorator.get8ziByDateDecorator(res.data.data)
  719. this.theme = this.userData.ganZhiProRowVoList[2][0].enColor
  720. console.log(this.userData)
  721. })
  722. },
  723. methods: {
  724. }
  725. });
  726. </script>
  727. <style lang="less" scoped>
  728. .bg {
  729. width: 100vw;
  730. height: 100vh;
  731. }
  732. [data-theme=blue].bg {
  733. background-color: #BFE2F4;
  734. }
  735. [data-theme=yellow].bg {
  736. background-color: #FFEEBD;
  737. }
  738. [data-theme=red].bg {
  739. background-color: #FC6363;
  740. }
  741. [data-theme=green].bg {
  742. background-color: #95E9B3;
  743. }
  744. [data-theme=brown].bg {
  745. background-color: #996235;
  746. }
  747. .categorys::-webkit-scrollbar {
  748. display: none;
  749. }
  750. .categorys {
  751. padding-left: 60rpx;
  752. padding-right: 60rpx;
  753. width: 100%;
  754. font-size: 30rpx;
  755. font-weight: bold;
  756. display: inline-block;
  757. white-space: nowrap;
  758. overflow-x: scroll;
  759. padding-top: 30rpx;
  760. .categorys-item {
  761. display: inline-block;
  762. margin-right: 30rpx;
  763. [data-theme=green].categorys-item-text {
  764. color: #5D9673;
  765. }
  766. [data-theme=red].categorys-item-text {
  767. color: #AA3D1E;
  768. }
  769. [data-theme=brown].categorys-item-text {
  770. color: #653A17;
  771. }
  772. [data-theme=yellow].categorys-item-text {
  773. color: #EAC354;
  774. }
  775. [data-theme=blue].categorys-item-text {
  776. color: #3A97C2;
  777. }
  778. .categorys-item-text {}
  779. [data-theme=green].categorys-item-text_selected {
  780. font-size: 34rpx;
  781. color: #417954;
  782. }
  783. [data-theme=red].categorys-item-text_selected {
  784. color: #892104;
  785. font-size: 34rpx;
  786. }
  787. [data-theme=yellow].categorys-item-text_selected {
  788. color: #D19C03;
  789. font-size: 34rpx;
  790. }
  791. [data-theme=brown].categorys-item-text_selected {
  792. color: #411F04;
  793. font-size: 34rpx;
  794. }
  795. [data-theme=blue].categorys-item-text_selected {
  796. color: #006494;
  797. font-size: 34rpx;
  798. }
  799. [data-theme=green].categorys-item-mark_selected {
  800. background-color: #417954;
  801. }
  802. [data-theme=red].categorys-item-mark_selected {
  803. background-color: #892104;
  804. }
  805. [data-theme=yellow].categorys-item-mark_selected {
  806. background-color: #D19C03;
  807. }
  808. [data-theme=brown].categorys-item-mark_selected {
  809. background-color: #411F04;
  810. }
  811. [data-theme=blue].categorys-item-mark_selected {
  812. background-color: #006494;
  813. }
  814. .categorys-item-mark {
  815. width: 60rpx;
  816. height: 10rpx;
  817. margin: 0 auto;
  818. margin-top: 6rpx;
  819. border-radius: 10rpx;
  820. }
  821. .categorys-item-mark {}
  822. }
  823. }
  824. .content {
  825. padding: 50rpx 30rpx;
  826. font-weight: 600;
  827. box-sizing: border-box;
  828. height: calc(100vh - 92rpx);
  829. padding-top: 0rpx;
  830. .user {
  831. padding: 0 36rpx;
  832. display: flex;
  833. justify-content: space-between;
  834. flex-wrap: wrap;
  835. margin-bottom: 30rpx;
  836. padding-top: 15rpx;
  837. }
  838. .table {
  839. width: 608rpx;
  840. margin: 0 auto;
  841. margin-bottom: 35rpx;
  842. display: flex;
  843. flex-wrap: wrap;
  844. [data-theme=red].shell {
  845. border-left: 2rpx solid #A42705;
  846. border-right: 4rpx solid #A42705;
  847. }
  848. [data-theme=blue].shell {
  849. border-left: 2rpx solid #006494;
  850. border-right: 4rpx solid #006494;
  851. }
  852. [data-theme=green].shell {
  853. border-left: 2rpx solid #79AE8B;
  854. border-right: 4rpx solid #79AE8B;
  855. }
  856. [data-theme=yellow].shell {
  857. border-left: 2rpx solid #D19C03;
  858. border-right: 4rpx solid #D19C03;
  859. }
  860. [data-theme=brown].shell {
  861. border-left: 2rpx solid #70390D;
  862. border-right: 4rpx solid #70390D;
  863. }
  864. .shell {
  865. display: flex;
  866. flex-flow: row wrap;
  867. height: 576rpx;
  868. width: 100%;
  869. }
  870. [data-theme=blue].header {
  871. border: 4rpx solid #006494;
  872. background: #1293D0;
  873. color: #fff;
  874. }
  875. [data-theme=yellow].header {
  876. border: 4rpx solid #D19C03;
  877. background: #FFD65C;
  878. color: #333;
  879. }
  880. [data-theme=red].header {
  881. border: 4rpx solid #A42705;
  882. background: #CB2C00;
  883. color: #fff;
  884. }
  885. [data-theme=green].header {
  886. border: 4rpx solid #519669;
  887. background: #5BC781;
  888. color: #333;
  889. }
  890. [data-theme=brown].header {
  891. border: 4rpx solid #70390D;
  892. background: #9C4B08;
  893. color: #fff;
  894. }
  895. .header {
  896. width: 100%;
  897. line-height: 82rpx;
  898. border: 4rpx solid #006494;
  899. display: flex;
  900. text-align: center;
  901. background: #1293D0;
  902. .row {
  903. width: 20%;
  904. border-right: 2rpx solid #fff;
  905. }
  906. }
  907. [data-theme=blue].body {
  908. background-color: #A7DDF8;
  909. border-bottom: 2rpx solid #006494;
  910. }
  911. [data-theme=red].body {
  912. background-color: #FDCECE;
  913. border-bottom: 2rpx solid #A42705;
  914. }
  915. [data-theme=yellow].body {
  916. background-color: #FFF2CC;
  917. border-bottom: 2rpx solid #D19C03;
  918. }
  919. [data-theme=green].body {
  920. background-color: #C7FECA;
  921. border-bottom: 2rpx solid #519669;
  922. }
  923. [data-theme=brown].body {
  924. background-color: #E2CBB8;
  925. border-bottom: 2rpx solid #996235;
  926. }
  927. .body {
  928. width: 100%;
  929. min-height: 82rpx;
  930. display: flex;
  931. flex-wrap: wrap;
  932. flex-direction: row;
  933. text-align: center;
  934. background-color: #A7DDF8;
  935. border-top: none;
  936. align-items: center;
  937. align-content: center;
  938. border-bottom: 2rpx solid #006494;
  939. [data-theme=blue].row {
  940. border-left: 2rpx solid #006494;
  941. }
  942. [data-theme=red].row {
  943. border-left: 2rpx solid #A42705;
  944. }
  945. [data-theme=yellow].row {
  946. border-left: 2rpx solid #D19C03;
  947. }
  948. [data-theme=green].row {
  949. border-left: 2rpx solid #519669;
  950. }
  951. [data-theme=brown].row {
  952. border-left: 2rpx solid #70390D;
  953. }
  954. .row {
  955. min-height: 82rpx;
  956. width: 20%;
  957. // border-left: 2rpx solid #006494;
  958. display: flex;
  959. justify-content: center;
  960. align-items: center;
  961. align-content: center;
  962. font-weight: bold;
  963. }
  964. }
  965. }
  966. .result {
  967. width: 100%;
  968. height: auto;
  969. margin: 0 auto;
  970. display: flex;
  971. flex-wrap: wrap;
  972. position: relative;
  973. align-items: flex-start;
  974. align-content: flex-start;
  975. [data-theme=red].result-content {
  976. background-image: url('https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_red_middle@2x.png');
  977. }
  978. [data-theme=yellow].result-content {
  979. background-image: url('https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_yellow_middle@2x.png');
  980. }
  981. [data-theme=brown].result-content {
  982. background-image: url('https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_brown_middle@2x.png');
  983. }
  984. [data-theme=blue].result-content {
  985. background-image: url('https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_blue_middle@2x.png');
  986. }
  987. [data-theme=green].result-content {
  988. background-image: url('https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_green_middle@2x.png');
  989. }
  990. .result-content {
  991. width: 100%;
  992. min-height: 200rpx;
  993. // background-image: url("https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png");
  994. background-size: 100%;
  995. font-size: 30rpx;
  996. padding: 0 120rpx;
  997. .result-desc {
  998. width: 100%;
  999. text-align: left;
  1000. .result-desc-icon1 {
  1001. width: 119rpx;
  1002. display: inline-block;
  1003. margin-right: 15rpx;
  1004. }
  1005. .result-desc-lucktext {
  1006. text-align: center;
  1007. width: 119rpx;
  1008. line-height: 54rpx;
  1009. left: 0;
  1010. top: 0;
  1011. position: absolute;
  1012. }
  1013. }
  1014. .result-desc_limit {}
  1015. .result-pay {
  1016. margin: 0 auto;
  1017. margin-top: 40rpx;
  1018. width: 400rpx;
  1019. text-align: center;
  1020. height: 80rpx;
  1021. line-height: 80rpx;
  1022. color: #F5EC5A;
  1023. border-radius: 40px;
  1024. border: 4rpx solid #333333;
  1025. background: #E74D26;
  1026. }
  1027. .result-disease {
  1028. color: #000;
  1029. }
  1030. }
  1031. [data-theme=blue] .imgTitle {
  1032. color: #006494;
  1033. }
  1034. [data-theme=yellow].imgTitle {
  1035. color: #D19C03;
  1036. }
  1037. [data-theme=red].imgTitle {
  1038. color: #A42705;
  1039. }
  1040. [data-theme=brown].imgTitle {
  1041. color: #9C4B08;
  1042. }
  1043. [data-theme=green].imgTitle {
  1044. color: #53996B;
  1045. }
  1046. .imgTitle {
  1047. top: 126rpx;
  1048. position: absolute;
  1049. font-size: 48rpx;
  1050. color: #006494;
  1051. display: flex;
  1052. width: 384rpx;
  1053. justify-content: space-around;
  1054. left: 155rpx;
  1055. }
  1056. .imgHeader {
  1057. width: 100%;
  1058. }
  1059. .imgCircle {
  1060. width: 423rpx;
  1061. margin: 0 auto;
  1062. top: 95rpx;
  1063. position: absolute;
  1064. left: 134rpx;
  1065. }
  1066. .imgFooter {
  1067. width: 100%;
  1068. }
  1069. }
  1070. }</style>