Commit 6a03dd2e8e62ca81853c212164acb31771a0d20d

Authored by shaoshuai
1 parent dbf9fae7ad
Exists in master

两癌筛查

Showing 12 changed files with 322 additions and 27 deletions

woman/app.json View file @ 6a03dd2
1 1 {
2 2 "pages": [
3   - "pages/home/home",
  3 + "pages/home/home",
4 4 "pages/index/index",
5 5 "pages/fnSubscribeDocument/fnSubscribeDocument",
6 6 "pages/doctorList/doctorList",
... ... @@ -8,8 +8,9 @@
8 8 "pages/articleDetail/articleDetail",
9 9 "pages/hospitalDetail/hospitalDetail",
10 10 "pages/login/login",
11   - "pages/logs/logs"
12   -
  11 + "pages/logs/logs",
  12 + "pages/folicAcid/folicAcid",
  13 + "pages/cancerCheck/cancerCheck"
13 14 ],
14 15 "window": {
15 16 "backgroundTextStyle": "light",
... ... @@ -20,25 +21,24 @@
20 21 "style": "v2",
21 22 "sitemapLocation": "sitemap.json",
22 23 "tabBar": {
23   - "color": "#999",
24   - "selectedColor": "#3D98FF",
25   - "backgroundColor": "#fff",
26   - "borderStyle": "white",
27   - "list": [
28   - {
29   - "selectedIconPath": "/source/imageSource/doctorIcon.png",
30   - "iconPath": "/source/imageSource/doctorIcon.png",
31   - "pagePath": "pages/home/home",
32   - "text": "首页"
33   - },
34   - {
35   - "selectedIconPath": "/source/imageSource/doctorIcon.png",
36   - "iconPath": "/source/imageSource/doctorIcon.png",
37   - "pagePath": "pages/index/index",
38   - "text": "通讯录"
39   - }
40   -
41   - ]
42   - }
  24 + "color": "#999",
  25 + "selectedColor": "#3D98FF",
  26 + "backgroundColor": "#fff",
  27 + "borderStyle": "white",
  28 + "list": [
  29 + {
  30 + "selectedIconPath": "/source/imageSource/doctorIcon.png",
  31 + "iconPath": "/source/imageSource/doctorIcon.png",
  32 + "pagePath": "pages/home/home",
  33 + "text": "首页"
  34 + },
  35 + {
  36 + "selectedIconPath": "/source/imageSource/doctorIcon.png",
  37 + "iconPath": "/source/imageSource/doctorIcon.png",
  38 + "pagePath": "pages/index/index",
  39 + "text": "通讯录"
  40 + }
  41 + ]
  42 + }
43 43 }
woman/app.wxss View file @ 6a03dd2
... ... @@ -19,6 +19,9 @@
19 19 .margin-t12{
20 20 margin-top: 12rpx;
21 21 }
  22 +.margin-r12{
  23 + margin-right: 12rpx;
  24 +}
22 25 .margin-l5 {
23 26 margin-left: 5rpx;
24 27 }
... ... @@ -95,6 +98,9 @@
95 98 .margin-l32 {
96 99 margin-left: 30rpx;
97 100 }
  101 +.margin-l34 {
  102 + margin-left: 34rpx;
  103 +}
98 104 .margin-t35 {
99 105 margin-top: 35rpx;
100 106 }
... ... @@ -114,7 +120,10 @@
114 120 .margin-t38 {
115 121 margin-top: 38rpx;
116 122 }
117   -
  123 +.margin-tb38 {
  124 + margin-top: 38rpx;
  125 + margin-bottom: 38rpx;
  126 +}
118 127 .margin-r38 {
119 128 margin-right: 38rpx;
120 129 }
... ... @@ -296,6 +305,9 @@
296 305 .margin-t42 {
297 306 margin-top: 42rpx;
298 307 }
  308 +.margin-t50 {
  309 + margin-top: 50rpx;
  310 +}
299 311  
300 312 .margin-t53 {
301 313 margin-top: 53rpx;
... ... @@ -400,7 +412,20 @@
400 412 color: #FFFFFF;
401 413 line-height: 24rpx;
402 414 }
403   -
  415 +.font-white-30 {
  416 + height: 30rpx;
  417 + font-size: 30rpx;
  418 + font-weight: 400;
  419 + color: #FFFFFF;
  420 + line-height: 30rpx;
  421 +}
  422 +.font-white-40{
  423 + height: 40rpx;
  424 + font-size: 40rpx;
  425 + font-weight: 400;
  426 + color: #FFFFFF;
  427 + line-height: 40rpx;
  428 +}
404 429 .fontb-070707-62 {
405 430 height: 62rpx;
406 431 font-weight: bold;
woman/pages/cancerCheck/cancerCheck.js View file @ 6a03dd2
  1 +// pages/cancerCheck/cancerCheck.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad(options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady() {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow() {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide() {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload() {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh() {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom() {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage() {
  64 +
  65 + }
  66 +})
woman/pages/cancerCheck/cancerCheck.json View file @ 6a03dd2
  1 +{
  2 + "navigationBarBackgroundColor": "#ffffff",
  3 + "navigationBarTitleText": "两癌筛查",
  4 + "navigationBarTextStyle": "black"
  5 +
  6 +}
woman/pages/cancerCheck/cancerCheck.wxml View file @ 6a03dd2
  1 +<!--pages/cancerCheck/cancerCheck.wxml-->
  2 +<view>
  3 + <view>
  4 + <view class = "menuList_title margin-lr40 margin-tb38">宫颈癌筛查</view>
  5 + <view class="menuList_bg margin-l40 i-column">
  6 + <view class="font-white-40 font-weight-500 margin-l26 margin-t30">宫颈癌筛查报告</view>
  7 + <view class="i-row i-between i-align-center margin-l34 margin-r12 margin-t50">
  8 + <view class="font-white-30">未见异常</view>
  9 + <view class="i-row i-align-center">
  10 + <view class="menuList_text">详细报告</view>
  11 + <view class="menuList_next margin-l5 margin-r12"></view>
  12 + </view>
  13 + </view>
  14 + </view>
  15 + </view>
  16 + <view>
  17 + <view class = "menuList_title margin-lr40 margin-tb38">乳腺癌筛查</view>
  18 + <view class="menuList_bg margin-l40 i-column">
  19 + <view class="font-white-40 font-weight-500 margin-l26 margin-t30">乳腺癌筛查报告</view>
  20 + <view class="i-row i-between i-align-center margin-l34 margin-r12 margin-t50">
  21 + <view class="font-white-30">未见异常</view>
  22 + <view class="i-row i-align-center">
  23 + <view class="menuList_text">详细报告</view>
  24 + <view class="menuList_next margin-l5 margin-r12"></view>
  25 + </view>
  26 + </view>
  27 + </view>
  28 + </view>
  29 +</view>
woman/pages/cancerCheck/cancerCheck.wxss View file @ 6a03dd2
  1 +/* pages/cancerCheck/cancerCheck.wxss */
  2 +/* pages/folicAcid/folicAcid.wxss */
  3 +.menuList_title {
  4 + font-size: 34rpx;
  5 + font-family: PingFang SC-Medium, PingFang SC;
  6 + font-weight: 600;
  7 + line-height: 34rpx;
  8 + background: linear-gradient(135deg, #FFB4B4 0%, #FF8EA9 100%);
  9 + -webkit-background-clip: text;
  10 + -webkit-text-fill-color: transparent;
  11 +}
  12 +
  13 +.menuList_bg{
  14 + width: 670rpx;
  15 + height: 180rpx;
  16 + background: linear-gradient(134deg, rgba(255,150,171,0.61) 0%, rgba(255,174,178,0.07) 100%);
  17 + box-shadow: 0rpx 4rpx 8rpx 5rpx rgba(245,33,84,0.1);
  18 + border-radius: 20rpx 20rpx 20rpx 20rpx;
  19 + opacity: 1;
  20 +}
  21 +
  22 +.menuList_text {
  23 + font-size: 26rpx;
  24 + font-family: PingFang SC-Medium, PingFang SC;
  25 + font-weight: 500;
  26 + background: linear-gradient(135deg, #FFB4B4 0%, #FF8EA9 100%);
  27 + -webkit-background-clip: text;
  28 + -webkit-text-fill-color: transparent;
  29 + line-height: 26rpx;
  30 +}
  31 +.menuList_next{
  32 + width: 20rpx;
  33 + height: 20rpx;
  34 +
  35 + opacity: 1;
  36 + border: 2rpx solid #FF8EA9;
  37 + display: inline-block;
  38 + width: 18rpx;
  39 + height: 18rpx;
  40 + border-bottom: none;
  41 + border-left: none;
  42 + transform: rotate(45deg);
  43 +}
woman/pages/folicAcid/folicAcid.js View file @ 6a03dd2
  1 +// pages/folicAcid/folicAcid.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad(options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady() {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow() {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide() {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload() {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh() {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom() {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage() {
  64 +
  65 + }
  66 +})
woman/pages/folicAcid/folicAcid.json View file @ 6a03dd2
  1 +{
  2 + "navigationBarBackgroundColor": "#ffffff",
  3 + "navigationBarTitleText": "叶酸领取",
  4 + "navigationBarTextStyle": "black"
  5 +
  6 +}
woman/pages/folicAcid/folicAcid.wxml View file @ 6a03dd2
  1 +<!--pages/folicAcid/folicAcid.wxml-->
woman/pages/folicAcid/folicAcid.wxss View file @ 6a03dd2
  1 +/* pages/folicAcid/folicAcid.wxss */
  2 +.menuList_title {
  3 + font-size: 34rpx;
  4 + font-family: PingFang SC-Medium, PingFang SC;
  5 + font-weight: 600;
  6 + line-height: 34rpx;
  7 + background: linear-gradient(135deg, #FFB4B4 0%, #FF8EA9 100%);
  8 + -webkit-background-clip: text;
  9 + -webkit-text-fill-color: transparent;
  10 +}
  11 +
  12 +.menuList_bg{
  13 + width: 670rpx;
  14 + height: 180rpx;
  15 + background: linear-gradient(134deg, rgba(255,150,171,0.61) 0%, rgba(255,174,178,0.07) 100%);
  16 + box-shadow: 0rpx 4rpx 8rpx 5rpx rgba(245,33,84,0.1);
  17 + border-radius: 20rpx 20rpx 20rpx 20rpx;
  18 + opacity: 1;
  19 +}
  20 +
  21 +.menuList_text {
  22 + font-size: 26rpx;
  23 + font-family: PingFang SC-Medium, PingFang SC;
  24 + font-weight: 500;
  25 + background: linear-gradient(135deg, #FFB4B4 0%, #FF8EA9 100%);
  26 + -webkit-background-clip: text;
  27 + -webkit-text-fill-color: transparent;
  28 + line-height: 26rpx;
  29 +}
  30 +.menuList_next{
  31 + width: 20rpx;
  32 + height: 20rpx;
  33 +
  34 + opacity: 1;
  35 + border: 2rpx solid #FF8EA9;
  36 + display: inline-block;
  37 + width: 18rpx;
  38 + height: 18rpx;
  39 + border-bottom: none;
  40 + border-left: none;
  41 + transform: rotate(45deg);
  42 +}
woman/pages/home/home.js View file @ 6a03dd2
... ... @@ -945,6 +945,16 @@
945 945 index: swiperCurrent
946 946 })
947 947 },
  948 + goMenu3(e) {
  949 + wx.navigateTo({
  950 + url: '../cancerCheck/cancerCheck',
  951 + })
  952 + },
  953 + goMenu4(e) {
  954 + wx.navigateTo({
  955 + url: '../folicAcid/folicAcid',
  956 + })
  957 + },
948 958 /* 菜单栏*/
949 959 goMenu5(e) {
950 960 wx.navigateTo({
woman/pages/home/home.wxml View file @ 6a03dd2
... ... @@ -43,11 +43,11 @@
43 43 <image class="menu" src="../../source/imageSource/menu/yunqianyousheng.png" mode="aspectFill"></image>
44 44 <view class="font-333-26 margin-t12">孕前优生</view>
45 45 </view>
46   - <view class="i-column">
  46 + <view class="i-column" bindtap="goMenu3">
47 47 <image class="menu" src="../../source/imageSource/menu/liangaishaicha.png" mode="aspectFill"></image>
48 48 <view class="font-333-26 margin-t12">两癌筛查</view>
49 49 </view>
50   - <view class="i-column">
  50 + <view class="i-column" bindtap="goMenu4">
51 51 <image class="menu" src="../../source/imageSource/menu/yesuanlingqu.png" mode="aspectFill"></image>
52 52 <view class="font-333-26 margin-t12">叶酸领取</view>
53 53 </view>