Commit bd70ca8e0b3376ce150e8f1db8b796e1ed71c2f6
1 parent
3f9430be79
Exists in
master
and in
2 other branches
问诊检查4个页面
Showing 6 changed files with 550 additions and 4 deletions
littleApp_child/app.json
View file @
bd70ca8
1 | 1 | { |
2 | 2 | "pages": [ |
3 | - | |
3 | + "pages/home/home", | |
4 | + | |
5 | + "pages/checkTabList/checkTabList", | |
4 | 6 | |
5 | - "pages/articleDetail/articleDetail", | |
6 | - "pages/home/home", | |
7 | 7 | |
8 | 8 | "pages/articleLists/articleLists", |
9 | 9 | "pages/hospitalList/hospitalList", |
... | ... | @@ -16,7 +16,6 @@ |
16 | 16 | |
17 | 17 | "pages/doctorList/doctorList", |
18 | 18 | "pages/doctor/doctor", |
19 | - | |
20 | 19 | "pages/hospitalDetail/hospitalDetail", |
21 | 20 | |
22 | 21 | "pages/chatroom/chatroom", |
littleApp_child/pages/checkTabList/checkTabList.js
View file @
bd70ca8
1 | +//articleLists.js 文章列表 | |
2 | +// 网络请求工具类 | |
3 | +var networkUtil = require('../../utils/network_util.js') | |
4 | +var api = require('../../utils/apiFile.js') | |
5 | +// 事件监听 | |
6 | +var event = require('../../utils/event.js') | |
7 | + | |
8 | +// 获取应用实例 | |
9 | +var app = getApp() | |
10 | +var patientId, checkTime | |
11 | + | |
12 | +Page({ | |
13 | + data: { | |
14 | + list: [ | |
15 | + // { likeCount: 12, title: "title1", introduction: "content1content1content1content1content1content1content1content1content1content1content1ds到场定损", image: "http://img02.tooopen.com/images/20150928/tooopen_sy_143912755726.jpg" } | |
16 | + // , { likeCount: 12, title: "title2", introduction: "content2", image: "http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg" } | |
17 | + // , { likeCount: 12, title: "title2", introduction: "content2", image: "http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg" } | |
18 | + // , { likeCount: 12, title: "title1", introduction: "content1", image: "http://img02.tooopen.com/images/20150928/tooopen_sy_143912755726.jpg" } | |
19 | + // , { likeCount: 12, title: "title2", introduction: "content2", image: "http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg" } | |
20 | + // , { likeCount: 12, title: "title2", introduction: "content2", image: "http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg" } | |
21 | + ], | |
22 | + | |
23 | + titles: ["问诊检查", "儿科检查", "一般检查", "辅助检查"], | |
24 | + current_index:0, | |
25 | + //问诊检查 | |
26 | + main_foster:"", | |
27 | + feed_type: "", | |
28 | + pee: "", | |
29 | + excrement: "", | |
30 | + sleep: "", | |
31 | + activity: "", | |
32 | + vitamin_d: "", | |
33 | + assist_food: "", | |
34 | + home_measure: "", | |
35 | + drug_gllergic: "", | |
36 | + morbidity: "", | |
37 | + other_text_wz: "", | |
38 | + | |
39 | + }, | |
40 | + onLoad: function (e) { | |
41 | + patientId = app.globalData.userId[0] | |
42 | + checkTime="2017-08-10" | |
43 | + // 数据初始化 | |
44 | + var self=this | |
45 | + this.setData({ | |
46 | + current_index: e.option.current_index | |
47 | + | |
48 | + }) | |
49 | + if (this.data.current_index==0){ | |
50 | + this.requestDataWZ() | |
51 | + } | |
52 | + | |
53 | + | |
54 | + | |
55 | + }, | |
56 | + onUnload: function() { | |
57 | + | |
58 | + }, | |
59 | + /*---------事件处理函数--------*/ | |
60 | + showMoreContent: function(e) { | |
61 | + var content = e.currentTarget.dataset.content | |
62 | + var title = e.currentTarget.dataset.title | |
63 | + wx.showModal({ | |
64 | + title: title, | |
65 | + content: content, | |
66 | + showCancel:false, | |
67 | + confirmText:'知道了', | |
68 | + confirmColor:'#48C17B' | |
69 | + }) | |
70 | + }, | |
71 | + | |
72 | + | |
73 | + titleClick:function(e){ | |
74 | + // console.log(e) | |
75 | + var self=this | |
76 | + var current_index = e.currentTarget.dataset.index | |
77 | + this.setData({ | |
78 | + current_index: current_index, | |
79 | + | |
80 | + }) | |
81 | + | |
82 | + // this.requestData() | |
83 | + }, | |
84 | + | |
85 | + /*---------自定义函数--------*/ | |
86 | + requestDataWZ(){ | |
87 | + var self = this | |
88 | + isRefresh = true | |
89 | + networkUtil.showLoading() | |
90 | + var param = { page: 10, limit: 100, patientId: patientId, checkTime: checkTime} | |
91 | + // console.log(param) | |
92 | + networkUtil._get(api.checkwz,param,function(res){ | |
93 | + console.log(res) | |
94 | + isRefresh = false | |
95 | + var arr = [] | |
96 | + if(page > 1) {// 加载更多模式 | |
97 | + arr = self.data.list | |
98 | + } | |
99 | + if (res.data.list.length < pageLimit){ | |
100 | + hasMore = false | |
101 | + }else{ | |
102 | + hasMore = true | |
103 | + } | |
104 | + arr = arr.concat(res.data.list) | |
105 | + self.setData({ | |
106 | + list:arr, | |
107 | + hasMore: hasMore | |
108 | + }) | |
109 | + },function(res){ | |
110 | + isRefresh = false | |
111 | + }) | |
112 | + }, | |
113 | +}) |
littleApp_child/pages/checkTabList/checkTabList.json
View file @
bd70ca8
littleApp_child/pages/checkTabList/checkTabList.wxml
View file @
bd70ca8
1 | +<!--articleLists.wxml 文章列表--> | |
2 | +<view style="height:100%;background:#eee"> | |
3 | + <view class=""> | |
4 | + <view class="title_top_view"> | |
5 | + | |
6 | + <label class="scroll_title_label " wx:for="{{titles}}"> | |
7 | + <label style="{{current_index == index? 'border-bottom: 2px solid #48C17B;' : 'border-bottom:0px solid #f4879b;'}}" class="title_text" bindtap="titleClick" data-index="{{index}}">{{item}}</label> | |
8 | + </label> | |
9 | + | |
10 | + </view> | |
11 | + <view wx:if="{{current_index==0}}" class="content1" style="margin-top:50px;"> | |
12 | + <view class="" style="background:#ffffff;padding-bottom: 10px;"> | |
13 | + <view class="content_line"> | |
14 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="主要抚养人" data-content="主要抚养人"> | |
15 | + <view class="content_front" style="min-width: 75px;">主要抚养人:</view> | |
16 | + <view class="content_after">1111主要1111主要1111主要1111主要</view> | |
17 | + </view> | |
18 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="喂养" data-content="{{}}"> | |
19 | + <label class="content_front" style="min-width: 35px;">喂养:</label> | |
20 | + <label class="content_after">2主要抚养2主要抚养2主要抚养</label> | |
21 | + </view> | |
22 | + | |
23 | + </view> | |
24 | + <view class="content_line"> | |
25 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="小便" data-content="{{}}"> | |
26 | + <label class="content_front" style="min-width: 35px;">小便:</label> | |
27 | + <label class="content_after">1111主要</label> | |
28 | + </view> | |
29 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="大便" data-content="{{}}"> | |
30 | + <label class="content_front" style="min-width: 35px;">大便:</label> | |
31 | + <label class="content_after">2主要抚养</label> | |
32 | + </view> | |
33 | + | |
34 | + </view> | |
35 | + <view class="content_line"> | |
36 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="睡眠" data-content="{{}}"> | |
37 | + <label class="content_front" style="min-width: 35px;">睡眠:</label> | |
38 | + <label class="content_after">1111主要</label> | |
39 | + </view> | |
40 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="户外运动" data-content="{{}}"> | |
41 | + <label class="content_front" style="min-width: 60px;">户外运动:</label> | |
42 | + <label class="content_after">2主要抚养</label> | |
43 | + </view> | |
44 | + | |
45 | + </view> | |
46 | + </view> | |
47 | + | |
48 | + <view class="" style="background:#ffffff;margin-top:10px;padding-bottom: 10px;"> | |
49 | + <view class="content_line"> | |
50 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="维生素D" data-content="{{}}"> | |
51 | + <label class="content_front" style="min-width: 50px;">维生素D:</label> | |
52 | + <label class="content_after">1111主要</label> | |
53 | + </view> | |
54 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="辅食添加" data-content="{{}}"> | |
55 | + <label class="content_front" style="min-width: 60px;">辅食添加:</label> | |
56 | + <label class="content_after">2主要抚养</label> | |
57 | + </view> | |
58 | + | |
59 | + </view> | |
60 | + <view class="content_line"> | |
61 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="家庭举措" data-content="{{}}"> | |
62 | + <label class="content_front" style="min-width: 60px;">家庭举措:</label> | |
63 | + <label class="content_after">1111主要</label> | |
64 | + </view> | |
65 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="过敏史" data-content="{{}}"> | |
66 | + <label class="content_front" style="min-width: 50px;">过敏史:</label> | |
67 | + <label class="content_after">1111主要</label> | |
68 | + | |
69 | + </view> | |
70 | + | |
71 | + </view> | |
72 | + <view class="content_line" bindtap="showMoreContent" data-title="两次随访患病情况" data-content="{{}}"> | |
73 | + <label class="content_front" style="min-width: 120px;">两次随访患病情况:</label> | |
74 | + <label class="content_after">2主要抚养两次随访患病情况两次随访患病情况</label> | |
75 | + | |
76 | + </view> | |
77 | + <view class="other_line"> | |
78 | + <label class="content_front" style="min-width: 35px;">其他:</label> | |
79 | + <label class="other_text">1111主要1111主2主要抚养两次随访患病情况两次随访患病情况2主要抚养两次随访患病情况两次随访患病情况要1111主要1111主要</label> | |
80 | + </view> | |
81 | + </view> | |
82 | + | |
83 | + | |
84 | + </view> | |
85 | + <view wx:if="{{current_index==1}}" class="content2" style="margin-top:50px;"> | |
86 | + <view class="" style="background:#ffffff;padding-bottom: 10px;"> | |
87 | + <view class="content_line"> | |
88 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="牙齿" data-content="{{}}"> | |
89 | + <view class="content_front" style="min-width: 35px;">牙齿:</view> | |
90 | + <view class="content_after">1111主要1111主要1111主要1111主要</view> | |
91 | + </view> | |
92 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="面色" data-content="{{}}"> | |
93 | + <label class="content_front" style="min-width: 35px;">面色:</label> | |
94 | + <label class="content_after">2主要抚养2主要抚养2主要抚养</label> | |
95 | + </view> | |
96 | + | |
97 | + </view> | |
98 | + <view class="content_line"> | |
99 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="皮肤" data-content="{{}}"> | |
100 | + <label class="content_front" style="min-width: 35px;">皮肤:</label> | |
101 | + <label class="content_after">1111主要</label> | |
102 | + </view> | |
103 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="视力" data-content="{{}}"> | |
104 | + <label class="content_front" style="min-width: 35px;">视力:</label> | |
105 | + <label class="content_after">2主要抚养</label> | |
106 | + </view> | |
107 | + | |
108 | + </view> | |
109 | + <view class="content_line"> | |
110 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="听力" data-content="{{}}"> | |
111 | + <label class="content_front" style="min-width: 35px;">听力:</label> | |
112 | + <label class="content_after">1111主要</label> | |
113 | + </view> | |
114 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="胸部" data-content="{{}}"> | |
115 | + <label class="content_front" style="min-width: 35px;">胸部:</label> | |
116 | + <label class="content_after">2主要抚养</label> | |
117 | + </view> | |
118 | + | |
119 | + </view> | |
120 | + </view> | |
121 | + | |
122 | + <view class="" style="background:#ffffff;margin-top:10px;padding-bottom: 10px;"> | |
123 | + <view class="content_line"> | |
124 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="颈部" data-content="{{}}"> | |
125 | + <label class="content_front" style="min-width: 35px;">颈部:</label> | |
126 | + <label class="content_after">1111主要</label> | |
127 | + </view> | |
128 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="腹部" data-content="{{}}"> | |
129 | + <label class="content_front" style="min-width: 35px;">腹部:</label> | |
130 | + <label class="content_after">2主要抚养</label> | |
131 | + </view> | |
132 | + | |
133 | + </view> | |
134 | + <view class="content_line"> | |
135 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="脐部" data-content="{{}}"> | |
136 | + <label class="content_front" style="min-width: 35px;">脐部:</label> | |
137 | + <label class="content_after">1111主要</label> | |
138 | + </view> | |
139 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="步态" data-content="{{}}"> | |
140 | + <label class="content_front" style="min-width: 35px;">步态:</label> | |
141 | + <label class="content_after">1111主要</label> | |
142 | + | |
143 | + </view> | |
144 | + | |
145 | + </view> | |
146 | + <view class="content_line"> | |
147 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="眼外观" data-content="{{}}"> | |
148 | + <label class="content_front" style="min-width: 50px;">眼外观:</label> | |
149 | + <label class="content_after">1111主要</label> | |
150 | + </view> | |
151 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="耳外观" data-content="{{}}"> | |
152 | + <label class="content_front" style="min-width: 50px;">耳外观:</label> | |
153 | + <label class="content_after">1111主要</label> | |
154 | + | |
155 | + </view> | |
156 | + | |
157 | + </view> | |
158 | + <view class="content_line"> | |
159 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="脊柱四肢" data-content="{{}}"> | |
160 | + <label class="content_front" style="min-width: 60px;">脊柱四肢:</label> | |
161 | + <label class="content_after">1111主要</label> | |
162 | + </view> | |
163 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="肛门/外生殖器" data-content="{{}}"> | |
164 | + <label class="content_front" style="min-width: 70px;">肛门/外生殖器:</label> | |
165 | + <label class="content_after">1111主要</label> | |
166 | + | |
167 | + </view> | |
168 | + | |
169 | + </view> | |
170 | + <view class="other_line"> | |
171 | + <label class="content_front" style="min-width: 35px;">其他:</label> | |
172 | + <label class="other_text">1111主要1111主2主要抚养两次随访患病情况两次随访患病情况2主要抚养两次随访患病情况两次随访患病情况要1111主要1111主要</label> | |
173 | + </view> | |
174 | + </view> | |
175 | + | |
176 | + | |
177 | + </view> | |
178 | + <view wx:if="{{current_index==2}}" class="content3" style="margin-top:50px;"> | |
179 | + <view class="" style="background:#ffffff;padding-bottom: 10px;"> | |
180 | + <view class="content_line"> | |
181 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="体温" data-content="{{}}"> | |
182 | + <view class="content_front" style="min-width: 35px;">体温:</view> | |
183 | + <view class="content_after">1111主要1111主要1111主要1111主要</view> | |
184 | + </view> | |
185 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="身高" data-content="{{}}"> | |
186 | + <label class="content_front" style="min-width: 35px;">身高:</label> | |
187 | + <label class="content_after">2主要抚养2主要抚养2主要抚养</label> | |
188 | + </view> | |
189 | + | |
190 | + </view> | |
191 | + <view class="content_line"> | |
192 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="体重" data-content="{{}}"> | |
193 | + <label class="content_front" style="min-width: 35px;">体重:</label> | |
194 | + <label class="content_after">1111主要</label> | |
195 | + </view> | |
196 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="头围" data-content="{{}}"> | |
197 | + <label class="content_front" style="min-width: 35px;">头围:</label> | |
198 | + <label class="content_after">2主要抚养</label> | |
199 | + </view> | |
200 | + | |
201 | + </view> | |
202 | + <view class="content_line"> | |
203 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="胸围" data-content="{{}}"> | |
204 | + <label class="content_front" style="min-width: 35px;">胸围:</label> | |
205 | + <label class="content_after">1111主要</label> | |
206 | + </view> | |
207 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="喂养" data-content="{{}}"> | |
208 | + <label class="content_front" style="min-width: 35px;">喂养:</label> | |
209 | + <label class="content_after">2主要抚养</label> | |
210 | + </view> | |
211 | + | |
212 | + </view> | |
213 | + <view class="content_line" bindtap="showMoreContent" data-title="体格发育评价" data-content="{{}}"> | |
214 | + <label class="content_front" style="min-width: 120px;">体格发育评价:</label> | |
215 | + <label class="content_after">2主要抚养两次随访患病情况两次随访患病情况</label> | |
216 | + | |
217 | + </view> | |
218 | + </view> | |
219 | + | |
220 | + </view> | |
221 | + <view wx:if="{{current_index==3}}" class="content4" style="margin-top:40px;"> | |
222 | + <view class="fuzhu_check">发育检查</view> | |
223 | + <view class="" style="background:#ffffff;padding-bottom: 10px;"> | |
224 | + <view class="content_line"> | |
225 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="骨密度Z值" data-content="{{}}"> | |
226 | + <view class="content_front" style="min-width: 65px;">骨密度Z值:</view> | |
227 | + <view class="content_after">1111主要1111主要1111主要1111主要</view> | |
228 | + </view> | |
229 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="运动测评" data-content="{{}}"> | |
230 | + <label class="content_front" style="min-width: 60px;">运动测评:</label> | |
231 | + <label class="content_after">2主要抚养2主要抚养2主要抚养</label> | |
232 | + </view> | |
233 | + | |
234 | + </view> | |
235 | + <view class="content_line"> | |
236 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="髋关节筛查" data-content="{{}}"> | |
237 | + <label class="content_front" style="min-width: 75px;">髋关节筛查:</label> | |
238 | + <label class="content_after">1111主要</label> | |
239 | + </view> | |
240 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="心理行为测评" data-content="{{}}"> | |
241 | + <label class="content_front" style="min-width: 80px;">心理行为测评:</label> | |
242 | + <label class="content_after">2主要抚养</label> | |
243 | + </view> | |
244 | + | |
245 | + </view> | |
246 | + | |
247 | + </view> | |
248 | + <view class="fuzhu_check">血常规</view> | |
249 | + <view class="" style="background:#ffffff;padding-bottom: 10px;"> | |
250 | + <view class="content_line"> | |
251 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="血红蛋白" data-content="{{}}"> | |
252 | + <view class="content_front" style="min-width: 60px;">血红蛋白:</view> | |
253 | + <view class="content_after">1111主要1111主要1111主要1111主要</view> | |
254 | + </view> | |
255 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="白细胞计数" data-content="{{}}"> | |
256 | + <label class="content_front" style="min-width: 75px;">白细胞计数:</label> | |
257 | + <label class="content_after">2主要抚养2主要抚养2主要抚养</label> | |
258 | + </view> | |
259 | + | |
260 | + </view> | |
261 | + <view class="content_line"> | |
262 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="血小板计数" data-content="{{}}"> | |
263 | + <label class="content_front" style="min-width: 75px;">血小板计数:</label> | |
264 | + <label class="content_after">1111主要</label> | |
265 | + </view> | |
266 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="其他" data-content="{{}}"> | |
267 | + <label class="content_front" style="min-width: 35px;">其他:</label> | |
268 | + <label class="content_after">2主要抚养</label> | |
269 | + </view> | |
270 | + | |
271 | + </view> | |
272 | + | |
273 | + </view> | |
274 | + <view class="fuzhu_check">发育检查</view> | |
275 | + <view class="" style="background:#ffffff;padding-bottom: 10px;"> | |
276 | + <view class="content_line"> | |
277 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="尿蛋白" data-content="{{}}"> | |
278 | + <view class="content_front" style="min-width: 50px;">尿蛋白:</view> | |
279 | + <view class="content_after">1111主要1111主要1111主要1111主要</view> | |
280 | + </view> | |
281 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="尿糖" data-content="{{}}"> | |
282 | + <label class="content_front" style="min-width: 35px;">尿糖:</label> | |
283 | + <label class="content_after">2主要抚养2主要抚养2主要抚养</label> | |
284 | + </view> | |
285 | + | |
286 | + </view> | |
287 | + <view class="content_line"> | |
288 | + <view style="display:flex;width:50%" bindtap="showMoreContent" data-title="尿酮体" data-content="{{}}"> | |
289 | + <label class="content_front" style="min-width: 50px;">尿酮体:</label> | |
290 | + <label class="content_after">1111主要</label> | |
291 | + </view> | |
292 | + <view style="display:flex;width:50%;" bindtap="showMoreContent" data-title="尿潜血" data-content="{{}}"> | |
293 | + <label class="content_front" style="min-width: 50px;">尿潜血:</label> | |
294 | + <label class="content_after">2主要抚养</label> | |
295 | + </view> | |
296 | + | |
297 | + </view> | |
298 | + | |
299 | + </view> | |
300 | + <view class="fuzhu_check">其他</view> | |
301 | + <view class="fuzhu_other_text"> | |
302 | + 尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体尿酮体 | |
303 | + </view> | |
304 | + </view> | |
305 | + </view> | |
306 | + | |
307 | +</view> |
littleApp_child/pages/checkTabList/checkTabList.wxss
View file @
bd70ca8
1 | +.main { | |
2 | + background: #fff; | |
3 | + width: 100%; | |
4 | + margin-top: 40px; | |
5 | +} | |
6 | + | |
7 | +.title_top_view { | |
8 | + width: 100%; | |
9 | + display: flex; | |
10 | + background: white; | |
11 | + position: fixed; | |
12 | + height: 40px; | |
13 | + top: 0px; | |
14 | + z-index: 1; | |
15 | +} | |
16 | + | |
17 | +.title_scroll { | |
18 | + width: 100%; | |
19 | + /*可以滚动 */ | |
20 | + white-space: nowrap; | |
21 | + display: inline-block; | |
22 | +} | |
23 | + | |
24 | +/*隐藏Scrollview滚动条 */ | |
25 | + | |
26 | +::-webkit-scrollbar { | |
27 | + width: 0; | |
28 | + height: 0; | |
29 | + color: transparent; | |
30 | +} | |
31 | + | |
32 | +.scroll_title_label { | |
33 | + height: 40px; | |
34 | + width: 25%; | |
35 | + text-align: center; | |
36 | + line-height: 40px; | |
37 | + border: 1px; | |
38 | + font-size: 13px; | |
39 | + color: #494949; | |
40 | + border-bottom: 2px; | |
41 | + border-color: #ff5e5e; | |
42 | +} | |
43 | + | |
44 | +.title_text { | |
45 | + font-size: 13px; | |
46 | + padding-top: 10px; | |
47 | + padding-bottom: 7px; | |
48 | +} | |
49 | + | |
50 | +.content_line { | |
51 | + display: flex; | |
52 | + padding-top: 10px; | |
53 | + padding-right: 10px; | |
54 | + padding-left: 10px; | |
55 | +} | |
56 | + | |
57 | +.content_front { | |
58 | + font-size: 13px; | |
59 | + color: #222; | |
60 | + word-wrap: break-word; | |
61 | + margin-left: 5px; | |
62 | +} | |
63 | + | |
64 | +.content_after { | |
65 | + font-size: 13px; | |
66 | + color: #666; | |
67 | + margin-left: 5px; | |
68 | + height: 20px; | |
69 | + display: -webkit-box; | |
70 | + overflow: hidden; | |
71 | + text-overflow: ellipsis; | |
72 | + word-break: break-all; | |
73 | + -webkit-box-orient: vertical; | |
74 | + -webkit-line-clamp: 1; | |
75 | +} | |
76 | + | |
77 | +.other_line { | |
78 | + display: flex; | |
79 | + width: calc(100%-20); | |
80 | + background: #f5f5f5; | |
81 | + margin-top: 10px; | |
82 | + border-radius: 4px; | |
83 | + padding-top: 5px; | |
84 | + padding-bottom: 5px; | |
85 | + margin-left: 10px; | |
86 | + padding-left: 10px; | |
87 | + padding-right: 10px; | |
88 | + min-height: 57px; | |
89 | + margin-right: 10px; | |
90 | +} | |
91 | + | |
92 | +.other_text { | |
93 | + font-size: 13px; | |
94 | + margin-left: 5px; | |
95 | + color: #666; | |
96 | +} | |
97 | + | |
98 | +.fuzhu_check { | |
99 | + font-size: 12px; | |
100 | + color: #999; | |
101 | + background: #f5f5f5; | |
102 | + padding-left: 15px; | |
103 | + height: 30px; | |
104 | + line-height: 30px; | |
105 | +} | |
106 | +.fuzhu_other_text { | |
107 | + font-size: 13px; | |
108 | + color: #666; | |
109 | + background:#fff; | |
110 | + padding-left: 10px; | |
111 | + padding-right: 10px; | |
112 | + padding-top: 5px; | |
113 | + padding-bottom: 5px; | |
114 | + min-height:30px; | |
115 | +} |
littleApp_child/utils/apiFile.js
View file @
bd70ca8