0e8191f277641dd6876b0e1c35350ebe34ffR200">200
+                android:layout_centerHorizontal="true"/>
201
+
202
+        </RelativeLayout>
203
+
204
+        <RelativeLayout
205
+            android:layout_width="0dp"
206
+            android:layout_weight="1"
207
+            android:layout_height="match_parent">
208
+
209
+            <TextView
210
+                android:id="@+id/tv_upload_photo"
211
+                android:layout_width="wrap_content"
212
+                android:layout_height="wrap_content"
213
+                android:layout_marginTop="20dp"
214
+                android:textColor="@color/_7B8088"
215
+                android:textSize="14sp"
216
+                android:drawablePadding="4dp"
217
+                android:layout_centerHorizontal="true"
218
+                android:drawableTop="@drawable/upload"
219
+                android:text="@string/photo_upload_count"/>
220
+
221
+            <TextView
222
+                android:id="@+id/tv_upload_photo_num"
223
+                android:layout_width="wrap_content"
224
+                android:layout_height="wrap_content"
225
+                android:layout_below="@id/tv_upload_photo"
226
+                android:layout_marginTop="12dp"
227
+                android:textColor="@color/_333333"
228
+                android:textSize="16sp"
229
+                android:layout_centerHorizontal="true"/>
230
+
231
+        </RelativeLayout>
232
+
233
+
234
+        <RelativeLayout
235
+            android:layout_width="0dp"
236
+            android:layout_weight="1"
237
+            android:layout_height="match_parent">
238
+
239
+            <TextView
240
+                android:id="@+id/tv_total_incoming"
241
+                android:layout_width="wrap_content"
242
+                android:layout_height="wrap_content"
243
+                android:layout_marginTop="20dp"
244
+                android:textColor="@color/_7B8088"
245
+                android:textSize="14sp"
246
+                android:drawablePadding="4dp"
247
+                android:layout_centerHorizontal="true"
248
+                android:drawableTop="@drawable/incoming_today"
249
+                android:text="@string/total_incoming"/>
250
+
251
+            <TextView
252
+                android:id="@+id/tv_total_incoming_account"
253
+                android:layout_width="wrap_content"
254
+                android:layout_height="wrap_content"
255
+                android:layout_below="@id/tv_total_incoming"
256
+                android:layout_marginTop="12dp"
257
+                android:textColor="@color/_333333"
258
+                android:textSize="16sp"
259
+                android:layout_centerHorizontal="true"/>
260
+
261
+        </RelativeLayout>
262
+
263
+    </LinearLayout>
264
+
265
+
266
+</LinearLayout>
62 267
 
63 268
 </RelativeLayout>

+ 4 - 0
app/src/main/res/values/colors.xml

@@ -22,4 +22,8 @@
22 22
     <color name="wx_login_btn_stroke">#25CA47</color>
23 23
     <color name="agree_protocol_text_gray_color">#B3B3B3</color>
24 24
 
25
+    <color name="_7B8088">#7B8088</color>
26
+    <color name="_EF4847">#EF4847</color>
27
+    <color name="_333333">#333333</color>
28
+
25 29
 </resources>

+ 12 - 0
app/src/main/res/values/strings.xml

@@ -40,4 +40,16 @@
40 40
     <string name="new_version_found">发现新版本,正在更新中</string>
41 41
 
42 42
     <string name="app_exit_hint">再按一次退出拍爱</string>
43
+
44
+    <string name="today_incoming">今日收入(元)</string>
45
+
46
+    <string name="today_capture">今日拍摄(张)</string>
47
+
48
+    <string name="average_money">平均每张</string>
49
+
50
+    <string name="today_capture_hour">今日拍摄</string>
51
+
52
+    <string name="photo_upload_count">累计上传</string>
53
+
54
+    <string name="total_incoming">累计收入</string>
43 55
 </resources>

kodo - Gogs: Go Git Service

No Description

basic_pure.html 4.4KB

    {% load staticfiles %} <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="format-detection" content="telephone=no,email=no,address=no"> <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="0" /> <title>{% block title %}{% endblock %}</title> <link href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.2/pure-min.css" rel="stylesheet"> {% block link %}{% endblock %} <style> body { font-family: Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif !important; background: #fff; } img { pointer-events: none; } .clickable { pointer-events: auto; } /* Input 自动填充后,移除 Chrome 默认黄色 */ input:-webkit-autofill { box-shadow: 0 0 0 1000px white inset !important; } .container { padding-bottom: 45px; } .text-center { text-align: center; } .empty { color: #999; padding: .9375rem 0; font-size: .625rem; } .text_ellipsis { overflow:hidden; white-space:nowrap; text-overflow: ellipsis; } .fl { float: left; } .fr { float: right; } .clearfix { zoom: 1; } .clearfix:after { content: "\200B"; display: block; height: 0; clear: both; } </style> {% block tohomecss %} <style> .tohome { width: 40px; height: 40px; background-color: rgba(139, 139, 139, 0.7); position: fixed; right: 10px; bottom: 20px; border-radius: 9999px; border-top-left-radius: 9999px; border-top-right-radius: 9999px; border-bottom-left-radius: 9999px; border-bottom-right-radius: 9999px; z-index: 99999999; } .tohome img { display: block; width: 18px; height: 13px; margin: 6px auto 2px; } .tohome p { color: #ffffff; } </style> {% endblock %} {% block css %}{% endblock %} <script> {% block rem %} //这段js的最后面有两个参数记得要设置,一个为设计稿实际宽度,一个为制作稿最大宽度,例如设计稿为750,最大宽度为750,则为(750,750) !function(e,t){function n(){var n=l.getBoundingClientRect().width;t=t||540,n>t&&(n=t);var i=100*n/e;r.innerHTML="html{font-size:"+i+"px;}"}var i,d=document,o=window,l=d.documentElement,r=document.createElement("style");if(l.firstElementChild)l.firstElementChild.appendChild(r);else{var a=d.createElement("div");a.appendChild(r),d.write(a.innerHTML),a=null}n(),o.addEventListener("resize",function(){clearTimeout(i),i=setTimeout(n,300)},!1),o.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(i),i=setTimeout(n,300))},!1),"complete"===d.readyState?d.body.style.fontSize="16px":d.addEventListener("DOMContentLoaded",function(e){d.body.style.fontSize="16px"},!1)}(750,750); {% endblock %} </script> </head> <body> {% block somehtml %}{% endblock %} <div class="container"> {% block container %}{% endblock %} </div> {% block somehtml2 %}{% endblock %} <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> {% block script %}{% endblock %} <script> {% block glbjs %}{% endblock %} $(function() { {% block js %}{% endblock %} }); </script> </body> </html>