mine.vue 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <template>
  2. <view class="main">
  3. <view class="pr">
  4. <view class="header-content">
  5. <image src="http://file.supermm.me/miniProgram/images/personal/bg.png" style="width:100%;height:260rpx;"></image>
  6. </view>
  7. <view class="pr pt20" style="z-index:2">
  8. <view class="plr15">
  9. <view class="m-bg-white bdr4 pb20 header-box">
  10. <view class="plr20 pt20 m-dpflex m-justify-start m-align-center">
  11. <image binderror="_binderror" mode="scaleToFill" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg"
  12. style="width: 60px;height: 60px;border-radius: 50%;"></image>
  13. <text class="line1 f20 fb plr15">落雨桐</text>
  14. <navigator hoverClass="none">
  15. <image class="header-img" src="http://file.supermm.me/miniProgram/images/personal/edit.png"></image>
  16. </navigator>
  17. <view class="pr tr m-flex">
  18. <view class="tip msg" v-if="true"></view>
  19. <navigator hoverClass="none">
  20. <image class="header-img" src="http://file.supermm.me/miniProgram/images/personal/info.png"></image>
  21. </navigator>
  22. </view>
  23. </view>
  24. <view class="pr m-bottom-line mt15 mb10"></view>
  25. <view class="pr m-xcenter mt30 plr20">
  26. <navigator class="m-flex tl f14 m-ycenter dpb" hoverClass="none">
  27. <view class="m-gray-big f20 fb pr10">0</view>
  28. <view class="m-gray-letter mt5 f12">代币(个)</view>
  29. </navigator>
  30. <view bindtap="" class="m-flex tl f14 m-ycenter">
  31. <view class="m-gray-big f20 fb">0</view>
  32. <view class="m-gray-letter mt5 f12">优惠券(张)</view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="fb f18 plr20 pt40">我的订单</view>
  39. <view class="plr10 m-dpflex m-justify-start m-align-center overflow pt40">
  40. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  41. <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_1.png"
  42. mode=""></image>
  43. <view class="tip"></view>
  44. <view class="f14 m-gray-small mt10 line1">我的咨询</view>
  45. </navigator>
  46. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  47. <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_2.png"
  48. mode=""></image>
  49. <view class="tip"></view>
  50. <view class="f14 m-gray-small mt10 line1">我的预约</view>
  51. </navigator>
  52. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  53. <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_3.png"
  54. mode=""></image>
  55. <view class="tip"></view>
  56. <view class="f14 m-gray-small mt10 line1">我的意见单</view>
  57. </navigator>
  58. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  59. <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_4.png"
  60. mode=""></image>
  61. <view class="tip"></view>
  62. <view class="f14 m-gray-small mt10 line1">服务包订单</view>
  63. </navigator>
  64. </view>
  65. <navigator class="pr m-xcenter plr20 pt40" hoverClass="none">
  66. <view class="fb f18 pr m-flex tl">健康档案</view>
  67. <view class="pr m-gray-small">档案列表</view>
  68. <label class="m-gray-letter iconfont icon-arrow-right f18 dpb"></label>
  69. </navigator>
  70. <!-- <view class="mt20 pr pb40">
  71. <swiper bindchange="swiperChange" :current="{{swiperCurrent}}" duration="500" :indicatorDots="{{indicatorDots}}"
  72. interval="5000" nextMargin="20rpx" previousMargin="20rpx">
  73. <swiper-item class="swiper-wrapper" wx:for="{{childList}}" wx:key="{{item.childId}}">
  74. <view class="swiper-item br-gray bdr4">
  75. <navigator class="m-ycenter pt40" hoverClass="none" url="/pages/add-child/add-child" wx:if="{{item.add}}">
  76. <view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">新增健康档案</view>
  77. <view class="pt20 f12 m-gray-letter">点击添加新的健康档案</view>
  78. </navigator>
  79. <navigator class="m-ycenter pt40" hoverClass="none" url="/pages/personal/childList/childList" wx:if="{{item.more}}">
  80. <view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">更多</view>
  81. <view class="pt20 f12 m-gray-letter">点击查看更多健康档案</view>
  82. </navigator>
  83. <view bindtap="_goInfo" data-item="{{item}}" wx:if="{{!item.add&&!item.more}}">
  84. <view class="tc fb f18 pt20">{{item.childName}}</view>
  85. <view class="tc f14 m-gray-letter pt5">{{item.childAgeStr}}</view>
  86. <view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30 pt15">
  87. <view class="width33 m-ycenter overflow pr">
  88. <view class="fb f18">{{item.childMedicalRecordNumber}}</view>
  89. <view class="f12 m-gray-small mt6 line1">专属病历</view>
  90. </view>
  91. <view class="width33 m-ycenter overflow pr">
  92. <view class="fb f18">{{item.childFamilyDoctorTeamIdList.length}}</view>
  93. <view class="f12 m-gray-small mt6 line1">家庭医生</view>
  94. </view>
  95. <view class="width33 m-ycenter overflow pr">
  96. <view class="fb f18">{{item.childPersonalDataInformation}}</view>
  97. <view class="f12 m-gray-small mt6 line1">个人资料</view>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. </swiper-item>
  103. </swiper>
  104. <view class="dots">
  105. <view class="dot{{index==swiperCurrent?' active':''}}" wx:for="{{childList}}" wx:key="unique"></view>
  106. </view>
  107. </view> -->
  108. <view class="fb f18 plr20 pt40">常用工具</view>
  109. <view class="plr10 m-dpflex m-justify-start m-align-center overflow pt30 pb30">
  110. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  111. <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_1.png"></image>
  112. <view class="f14 m-gray-small mt10 line1">家庭医生</view>
  113. </navigator>
  114. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  115. <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_2.png"></image>
  116. <view class="f14 m-gray-small mt10 line1">我的关注</view>
  117. </navigator>
  118. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  119. <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/personal/my-class/my_class.png"></image>
  120. <view class="f14 m-gray-small mt10 line1">我的课程</view>
  121. </navigator>
  122. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  123. <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/personal/my-class/my_class.png"></image>
  124. <view class="tip"></view>
  125. <view class="f14 m-gray-small mt10 line1">我的保单</view>
  126. </navigator>
  127. </view>
  128. <view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30">
  129. <view bindtap="" class="width25 m-ycenter overflow pr">
  130. <image style="width: 42rpx;height: 42rpx;" src="https://file.supermm.me/h5/wechat-h5/personal/kf.png"></image>
  131. <view class="f14 m-gray-small mt10 line1">我的客服</view>
  132. </view>
  133. <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
  134. <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_5.png"></image>
  135. <view class="f14 m-gray-small mt10 line1">帮助反馈</view>
  136. </navigator>
  137. </view>
  138. </view>
  139. </view>
  140. </template>
  141. <script>
  142. </script>
  143. <style scoped>
  144. @import url("./mine.css");
  145. .header-content {
  146. position: absolute;
  147. top: 0;
  148. right: 0;
  149. bottom: 0;
  150. left: 0;
  151. width: 100%;
  152. z-index: -1;
  153. overflow: hidden;
  154. box-sizing: border-box;
  155. }
  156. .header-box {
  157. box-shadow: 0px 8rpx 34rpx -6rpx rgba(248, 151, 164, 0.13);
  158. }
  159. .header-img {
  160. width: 36rpx;
  161. height: 36rpx;
  162. }
  163. .tip {
  164. position: absolute;
  165. top: 0;
  166. right: 20%;
  167. bottom: 0;
  168. background-color: red;
  169. width: 12rpx;
  170. height: 12rpx;
  171. border-radius: 50%;
  172. }
  173. .msg {
  174. top: -3rpx;
  175. right: -9rpx;
  176. }
  177. swiper {
  178. height: 320rpx;
  179. }
  180. .swiper-wrapper {
  181. padding: 0 10rpx;
  182. box-sizing: border-box;
  183. }
  184. .swiper-item {
  185. width: 100%;
  186. height: 300rpx;
  187. box-shadow: 0 26rpx 40rpx 0 rgba(255, 255, 255, 0.31);
  188. background: url("http://file.supermm.me/miniProgram/images/personal/bg_doc.png") no-repeat bottom center;
  189. }
  190. .dots {
  191. position: absolute;
  192. left: 0;
  193. right: 0;
  194. bottom: -40rpx;
  195. display: flex;
  196. justify-content: center;
  197. }
  198. .dots .dot {
  199. margin: 0 8rpx;
  200. width: 14rpx;
  201. height: 14rpx;
  202. background: #E4E4E4;
  203. border-radius: 8rpx;
  204. transition: all .6s;
  205. }
  206. .dots .dot.active {
  207. width: 24rpx;
  208. background: #FF7B72;
  209. }
  210. .game-wrap {
  211. position: relative;
  212. width: 100%;
  213. height: 100%;
  214. overflow: hidden;
  215. box-sizing: border-box;
  216. }
  217. .game-item {
  218. height: 100%;
  219. background: url("https://file.supermm.me/h5/wechat-h5/integral/personeBg001.jpg") no-repeat;
  220. background-size: 100% 100%;
  221. background-position: center center;
  222. border-radius: 100rpx;
  223. }
  224. </style>