Commit 55bc1348d4166529a66696af3ffa01dd8a37736e

Authored by shaoshuai
1 parent 1309f9d8ca
Exists in master

报告

Showing 8 changed files with 44 additions and 2 deletions

woman/app.json View file @ 55bc134
... ... @@ -18,7 +18,8 @@
18 18 "pages/mine/mine",
19 19 "pages/mineInfo/mineInfo",
20 20 "pages/message/message",
21   - "pages/document/document"
  21 + "pages/document/document",
  22 + "pages/report/report"
22 23 ],
23 24 "window": {
24 25 "backgroundTextStyle": "light",
woman/pages/premaritalCheckup/premaritalCheckup.js View file @ 55bc134
... ... @@ -153,6 +153,11 @@
153 153 url: '../premaritalReport/premaritalReport?index='+item,
154 154 })
155 155 },
  156 + goReport(){
  157 + wx.navigateTo({
  158 + url: '../report/report',
  159 + })
  160 + }
156 161  
157 162 })
woman/pages/premaritalCheckup/premaritalCheckup.wxml View file @ 55bc134
... ... @@ -7,7 +7,7 @@
7 7 <view class="i-row i-between i-align-center margin-l34 margin-r12 margin-t50">
8 8 <view class="font-white-30"></view>
9 9 <view class="i-row i-align-center">
10   - <view class="menuList_text">详细报告</view>
  10 + <view class="menuList_text" bindtap="goReport">详细报告</view>
11 11 <view class="menuList_next margin-l5 margin-r12"></view>
12 12 </view>
13 13 </view>
woman/pages/report/report.js View file @ 55bc134
  1 +// pages/report.js
  2 +Component({
  3 + /**
  4 + * 组件的属性列表
  5 + */
  6 + properties: {
  7 +
  8 + },
  9 +
  10 + /**
  11 + * 组件的初始数据
  12 + */
  13 + data: {
  14 +
  15 + },
  16 +
  17 + /**
  18 + * 组件的方法列表
  19 + */
  20 + methods: {
  21 +
  22 + }
  23 +})
woman/pages/report/report.json View file @ 55bc134
  1 +{
  2 + "navigationBarBackgroundColor": "#ffffff",
  3 + "navigationBarTitleText": "婚前报告",
  4 + "navigationBarTextStyle": "black"
  5 +
  6 +}
woman/pages/report/report.wxml View file @ 55bc134
  1 +<!--pages/report.wxml-->
  2 +<image class="bg" src="../../source/imageSource/bg/report.png" mode="aspectFit"></image>
woman/pages/report/report.wxss View file @ 55bc134
  1 +/* pages/report.wxss */
  2 +.bg{
  3 + width: 750rpx;
  4 + height: 1100rpx;
  5 +}
woman/source/imageSource/bg/report.png View file @ 55bc134

135 KB