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