Просмотр исходного кода

民生银行使用webview注入js来提交数据给服务器

zengjiebin лет назад: 8
Родитель
Сommit
80d5f47fe9

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
app/src/main/java/com/kfzs/duanduan/fragment/FgtCreditCard.java


+ 4 - 6
app/src/main/java/com/sheep/gamegroup/util/Jump2View.java

@@ -244,14 +244,12 @@ public class Jump2View {
     /**
      * 跳到民生银行web页面
      * @param context
-     * @param o
+     * @param url
      */
-    public void goMingShengWeb(Context context, Object o){
+    public void goMingShengWeb(Context context, String url){
         Intent intent = new Intent(context, ActMingShengWeb.class);
-//        extraUrl = getIntent().getStringExtra(KFIntentKeys.EXTRA_WEBVIEW_URL);
-//        extraTitle = getIntent().getStringExtra(KFIntentKeys.EXTRA_WEBVIEW_TITLE);
-        intent.putExtra(KFIntentKeys.EXTRA_WEBVIEW_URL, "https://qiniu.kuaifazs.com/jiefeng.html");
-        intent.putExtra(KFIntentKeys.EXTRA_WEBVIEW_TITLE, "解封引导");
+        intent.putExtra(KFIntentKeys.EXTRA_WEBVIEW_URL, url);
+        intent.putExtra(KFIntentKeys.EXTRA_WEBVIEW_TITLE, "中国民生银行信用卡申请");
         context.startActivity(intent);
     }
     /**

Разница между файлами не показана из-за своего большого размера
+ 1016 - 14
app/src/main/java/com/sheep/gamegroup/view/activity/ActMingShengWeb.java


+ 12 - 11
app/src/main/res/layout/changge_tel_layout.xml

@@ -21,7 +21,7 @@
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:orientation="vertical"
-                android:visibility="visible">
+                android:visibility="gone">
 
                 <ImageView
                     android:id="@+id/phone_show_iv"
@@ -88,9 +88,7 @@
                 </LinearLayout>
                 <TextView
                     android:id="@+id/sure_change_tv"
-                    android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
-                    style="@style/txt_big_btn_style"
+                    style="@style/style_button"
                     android:text="更换手机号"/>
 
             </LinearLayout>
@@ -133,7 +131,8 @@
                     android:layout_height="wrap_content"
                     android:layout_marginLeft="12dp"
                     android:layout_marginRight="12dp"
-                    android:layout_marginTop="40dp"
+                    android:layout_marginTop="@dimen/content_padding_13"
+                    android:layout_marginBottom="@dimen/content_padding_20"
                     android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
                     android:orientation="vertical">
                     <android.support.v7.widget.AppCompatEditText
@@ -148,6 +147,13 @@
                         android:paddingLeft="@dimen/content_padding_big"
                         android:maxLength="11"/>
 
+                    <View
+                        android:layout_width="match_parent"
+                        android:layout_height="1px"
+                        android:background="@color/white_bg_line"
+                        android:layout_marginLeft="15dp"
+                        android:layout_marginRight="15dp"
+                        />
                     <LinearLayout
                         android:id="@+id/ll_code"
                         android:layout_width="match_parent"
@@ -186,13 +192,8 @@
 
                 <TextView
                     android:id="@+id/phone_sure_tv"
-                    android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="@dimen/layout_heigh_default"
-                    android:gravity="center"
-                    android:layout_gravity="center_horizontal"
                     android:text="确 定"
-                    style="@style/txt_big_btn_style"/>
+                    style="@style/style_button"/>
 
             </LinearLayout>
         </LinearLayout>