Android的:你如何建立TabHost [英] Android: How do you set up the TabHost

查看:128
本文介绍了Android的:你如何建立TabHost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,当我把它添加到我的XML不看使用权tabhost,我相信有一些需要在Java做的,我想建立三个选项卡提供三种不同级别这可能吗?

下面是我的XML:

 <?XML版本=1.0编码=UTF-8&GT?;
< LinearLayout中的xmlns:机器人=htt​​p://schemas.android.com/apk/res/android
    机器人:layout_width =FILL_PARENT
    机器人:layout_height =FILL_PARENT
    机器人:方向=垂直>    <的LinearLayout
        机器人:layout_width =match_parent
        机器人:layout_height =match_parent>        < TabHost
            机器人:ID =@机器人:ID / tabhost
            机器人:layout_width =match_parent
            机器人:layout_height =match_parent
            机器人:layout_weight =1>            <的LinearLayout
                机器人:layout_width =match_parent
                机器人:layout_height =match_parent
                机器人:方向=垂直>                < TabWidget
                    机器人:ID =@机器人:ID /标签
                    机器人:layout_width =match_parent
                    机器人:layout_height =WRAP_CONTENT>
                < / TabWidget>                <的FrameLayout
                    机器人:ID =@机器人:ID / tabcontent
                    机器人:layout_width =match_parent
                    机器人:layout_height =match_parent>                    <的LinearLayout
                        机器人:ID =@ + ID / TAB1
                        机器人:layout_width =match_parent
                        机器人:layout_height =match_parent>                        <的TextView
                            机器人:ID =@ + ID / textView1
                            机器人:layout_width =WRAP_CONTENT
                            机器人:layout_height =WRAP_CONTENT
                            机器人:文字=浏览器历史记录:
                            机器人:textAppearance =:/>中的Andr​​oid ATTR / textAppearanceLarge?                        <的TextView
                            机器人:ID =@ + ID /你好
                            机器人:layout_width =WRAP_CONTENT
                            机器人:layout_height =WRAP_CONTENT/>
                    < / LinearLayout中>                    <的LinearLayout
                        机器人:ID =@ + ID / TAB2
                        机器人:layout_width =match_parent
                        机器人:layout_height =match_parent>                        <的TextView
                            机器人:ID =@ + ID / textView2
                            机器人:layout_width =WRAP_CONTENT
                            机器人:layout_height =WRAP_CONTENT
                            机器人:文字=通话记录
                            机器人:textAppearance =:/>中的Andr​​oid ATTR / textAppearanceLarge?                        <的TextView
                            机器人:ID =@ +用户ID /呼叫
                            机器人:layout_width =WRAP_CONTENT
                            机器人:layout_height =WRAP_CONTENT/>
                    < / LinearLayout中>                    <的LinearLayout
                        机器人:ID =@ + ID / TAB3
                        机器人:layout_width =match_parent
                        机器人:layout_height =match_parent>                        <的TextView
                            机器人:ID =@ + ID / textView3
                            机器人:layout_width =WRAP_CONTENT
                            机器人:layout_height =WRAP_CONTENT
                            机器人:文字=短信
                            机器人:textAppearance =:/>中的Andr​​oid ATTR / textAppearanceLarge?                        <的TextView
                            机器人:ID =@ + ID / tvSms
                            机器人:layout_width =WRAP_CONTENT
                            机器人:layout_height =WRAP_CONTENT/>
                    < / LinearLayout中>
                < /&的FrameLayout GT;
            < / LinearLayout中>
        < / TabHost>
    < / LinearLayout中>< / LinearLayout中>

和我有三个不同的类别,因为我试图用每个选项卡中打开每个活动。

下面是类

 包com.johnnydicamillo.spybeta;进口android.app.Activity;
进口android.app.TabActivity;
进口android.content.Intent;
进口android.content.res.Resources;
进口android.database.Cursor;
进口android.os.Bundle;
进口android.provider.Browser;
进口android.widget.TabHost;
进口android.widget.TextView;公共类AndroidSpybetaActivity扩展TabActivity {
    / **当第一次创建活动调用。 * /
    资源资源;
    TabHost tabHost;
    意图意图;    @覆盖
    公共无效的onCreate(捆绑savedInstanceState){
        super.onCreate(savedInstanceState);
        的setContentView(R.layout.main);        RES = getResources();
        tabHost = getTabHost();
        TabHost.TabSpec规范;        意图=新意图()setClass(这一点,Messaging.class)。
        规格= tabHost.newTabSpec(信息)setIndicator。(信息)
                .setContent(意向);
        tabHost.addTab(规范);        意图=新意图()setClass(这一点,TestingData.class)。
        规格= tabHost.newTabSpec(呼叫)。setIndicator(调用)
                .setContent(意向);
        tabHost.addTab(规范);
        tabHost.setCurrentTab(0);        TextView的视图=(的TextView)findViewById(R.id.hello);
        光标mCur = managedQuery(android.provider.Browser.BOOKMARKS_URI,
                NULL,NULL,NULL,NULL);
        mCur.moveToFirst();
        INT指数= mCur.getColumnIndex(Browser.BookmarkColumns.TITLE);
        而(mCur.isAfterLast()== FALSE){
            view.append(简称网站+ mCur.getString(指数));
            mCur.moveToNext();
        }
    }
}

 包com.johnnydicamillo.spybeta;进口android.app.Activity;
进口android.os.Bundle;
进口android.widget.TextView;公共类消息扩展TabActivity {
    静态TextView的消息框;
    @覆盖
    保护无效的onCreate(捆绑savedInstanceState){
        // TODO自动生成方法存根
        super.onCreate(savedInstanceState);
        的setContentView(R.layout.main);
        消息框=(的TextView)findViewById(R.id.tvSms);    }
    公共静态无效updateMessageBox(弦乐味精){
        messageBox.append(MSG);
    }}

和第三

 包com.johnnydicamillo.spybeta;进口android.app.Activity;
进口android.database.Cursor;
进口android.os.Bundle;
进口android.provider.CallLog;
进口android.provider.CallLog.Calls;
进口android.widget.TextView;公共类TestingData扩展TabActivity {
    / **当第一次创建活动调用。 * /
    @覆盖
    公共无效的onCreate(捆绑savedInstanceState){
        super.onCreate(savedInstanceState);
        的setContentView(R.layout.main);
        TextView的视图=(的TextView)findViewById(R.id.call);
        的String [] =投影新的String [] {        Calls.NUMBER        };
        光标mCur = managedQuery(CallLog.Calls.CONTENT_URI,投影,
                Calls.DURATION +&LT ;?,新的String [] {60},Calls.DURATION
                        +ASC);
        mCur.moveToFirst();        而(mCur.isAfterLast()== FALSE){
            的for(int i = 0; I< mCur.getColumnCount();我++){
                view.append(号码+ mCur.getString(ⅰ));
            }
            mCur.moveToNext();
        }
    }
}

下面是我的logcat的:

  15 08-12:19:16.368:D / AndroidRuntime(280):关闭VM
08-12 15:19:16.368:W / dalvikvm(280):主题ID = 1:螺纹未捕获的异常退出(组= 0x4001d800)
08-12 15:19:16.628:E / AndroidRuntime(280):致命异常:主要
08-12 15:19:16.628:E / AndroidRuntime(280):了java.lang.RuntimeException:无法启动活动ComponentInfo {com.johnnydicamillo.spybeta / com.johnnydicamillo.spybeta.AndroidSpybetaActivity}:android.content.ActivityNotFoundException:无法找到明确的活动类{com.johnnydicamillo.spybeta / com.johnnydicamillo.spybeta.Messaging};有你宣布你的Andr​​oidManifest.xml这个活动?
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread.access $ 2300(ActivityThread.java:125)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:2033)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.os.Handler.dispatchMessage(Handler.java:99)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.os.Looper.loop(Looper.java:123)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread.main(ActivityThread.java:4627)
08-12 15:19:16.628:E / AndroidRuntime(280):在java.lang.reflect.Method.invokeNative(本机方法)
08-12 15:19:16.628:E / AndroidRuntime(280):在java.lang.reflect.Method.invoke(Method.java:521)
08-12 15:19:16.628:E / AndroidRuntime(280):在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:868)
08-12 15:19:16.628:E / AndroidRuntime(280):在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
08-12 15:19:16.628:E / AndroidRuntime(280):在dalvik.system.NativeStart.main(本机方法)
08-12 15:19:16.628:E / AndroidRuntime(280):android.content.ActivityNotFoundException:产生的原因无法找到明确的活动类{com.johnnydicamillo.spybeta / com.johnnydicamillo.spybeta.Messaging};有你宣布你的Andr​​oidManifest.xml这个活动?
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1404)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread.resolveActivityInfo(ActivityThread.java:2473)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.LocalActivityManager.startActivity(LocalActivityManager.java:277)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.widget.TabHost $ IntentContentStrategy.getContentView(TabHost.java:651)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.widget.TabHost.setCurrentTab(TabHost.java:323)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.widget.TabHost.addTab(TabHost.java:213)
08-12 15:19:16.628:E / AndroidRuntime(280):在com.johnnydicamillo.spybeta.AndroidSpybetaActivity.onCreate(AndroidSpybetaActivity.java:31)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
08-12 15:19:16.628:E / AndroidRuntime(280):在android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
08-12 15:19:16.628:E / AndroidRuntime(280):11 ...更多
08-12 15:19:21.929:I /流程(280):发送信号。 PID:280 SIG:9


解决方案

是的,这是可能的。

您可以指定以下方式每个标签页

每个活动(启动意图)

 公共无效的onCreate(捆绑savedInstanceState){
        super.onCreate(savedInstanceState);
        的setContentView(R.layout.main);        RES = getResources();
        tabHost = getTabHost();
        TabHost.TabSpec规范;
        意图=新意图()setClass(这一点,CalendarActivity.class)。
        规格= tabHost.newTabSpec(日历)setIndicator(日历,res.getDrawable(R.drawable.ic_tab_calendar))setContent(意向)。
        tabHost.addTab(规范);        意图=新意图()setClass(这一点,ProfileActivity.class)。
        规格= tabHost.newTabSpec(档案)setIndicator(档案,res.getDrawable(R.drawable.ic_tab_profile))setContent(意向)。
        tabHost.addTab(规范);        tabHost.setCurrentTab(0);
}

每个活动都会有自己的内容布局的看法,因此,没有必要担心,在主布局。

您主要XML布局将是小而简单

 <?XML版本=1.0编码=UTF-8&GT?;
< TabHost的xmlns:机器人=htt​​p://schemas.android.com/apk/res/android
    机器人:ID =@机器人:ID / tabhost
    机器人:layout_width =match_parent
    机器人:layout_height =match_parent>    <的LinearLayout
        机器人:layout_width =match_parent
        机器人:layout_height =match_parent
        机器人:方向=垂直
        机器人:填充=5DP>        < TabWidget
            机器人:ID =@机器人:ID /标签
            机器人:layout_width =WRAP_CONTENT
            机器人:layout_height =WRAP_CONTENT/>        <的FrameLayout
            机器人:ID =@机器人:ID / tabcontent
            机器人:layout_width =FILL_PARENT
            机器人:layout_height =FILL_PARENT
            机器人:填充=5DP/>
    < / LinearLayout中>< / TabHost>

我觉得这是你想要的。

I am trying to use the tabhost when I add it to my xml it doesn't look right, and I believe there is something that needs to be done in java, I am trying to set up three tabs with three different classes is this possible?

Here is my xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent" >

        <TabHost
            android:id="@android:id/tabhost"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical" >

                <TabWidget
                    android:id="@android:id/tabs"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content" >
                </TabWidget>

                <FrameLayout
                    android:id="@android:id/tabcontent"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent" >

                    <LinearLayout
                        android:id="@+id/tab1"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent" >

                        <TextView
                            android:id="@+id/textView1"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Browser History:"
                            android:textAppearance="?android:attr/textAppearanceLarge" />

                        <TextView
                            android:id="@+id/hello"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content" />
                    </LinearLayout>

                    <LinearLayout
                        android:id="@+id/tab2"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent" >

                        <TextView
                            android:id="@+id/textView2"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Call Log"
                            android:textAppearance="?android:attr/textAppearanceLarge" />

                        <TextView
                            android:id="@+id/call"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content" />
                    </LinearLayout>

                    <LinearLayout
                        android:id="@+id/tab3"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent" >

                        <TextView
                            android:id="@+id/textView3"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Text Messages"
                            android:textAppearance="?android:attr/textAppearanceLarge" />

                        <TextView
                            android:id="@+id/tvSms"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content" />
                    </LinearLayout>
                </FrameLayout>
            </LinearLayout>
        </TabHost>
    </LinearLayout>

</LinearLayout> 

And I have three different classes, because I am trying to use each tab to open each activity.

Here are the Classes

  package com.johnnydicamillo.spybeta;

import android.app.Activity;
import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Browser;
import android.widget.TabHost;
import android.widget.TextView;

public class AndroidSpybetaActivity extends TabActivity {
    /** Called when the activity is first created. */
    Resources res;
    TabHost tabHost;
    Intent intent;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        res = getResources();
        tabHost = getTabHost();
        TabHost.TabSpec spec;

        intent = new Intent().setClass(this, Messaging.class);
        spec = tabHost.newTabSpec("messaging").setIndicator("Messaging")
                .setContent(intent);
        tabHost.addTab(spec);

        intent = new Intent().setClass(this, TestingData.class);
        spec = tabHost.newTabSpec("Calls").setIndicator("Calls")
                .setContent(intent);
        tabHost.addTab(spec);
        tabHost.setCurrentTab(0);

        TextView view = (TextView) findViewById(R.id.hello);
        Cursor mCur = managedQuery(android.provider.Browser.BOOKMARKS_URI,
                null, null, null, null);
        mCur.moveToFirst();
        int index = mCur.getColumnIndex(Browser.BookmarkColumns.TITLE);
        while (mCur.isAfterLast() == false) {
            view.append(" WebSite " + mCur.getString(index));
            mCur.moveToNext();
        }
    }
}

Second

package com.johnnydicamillo.spybeta;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class Messaging extends TabActivity{
    static TextView messageBox;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        messageBox = (TextView) findViewById(R.id.tvSms);

    }
    public static void updateMessageBox(String msg) {
        messageBox.append(msg);
    }

}

and third

package com.johnnydicamillo.spybeta;

import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.CallLog;
import android.provider.CallLog.Calls;
import android.widget.TextView;

public class TestingData extends TabActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        TextView view = (TextView) findViewById(R.id.call);
        String[] projection = new String[] {

        Calls.NUMBER

        };
        Cursor mCur = managedQuery(CallLog.Calls.CONTENT_URI, projection,
                Calls.DURATION + "<?", new String[] { "60" }, Calls.DURATION
                        + " ASC");
        mCur.moveToFirst();

        while (mCur.isAfterLast() == false) {
            for (int i = 0; i < mCur.getColumnCount(); i++) {
                view.append(" Number " + mCur.getString(i));
            }
            mCur.moveToNext();
        }
    }
}

Here is my logcat:

08-12 15:19:16.368: D/AndroidRuntime(280): Shutting down VM
08-12 15:19:16.368: W/dalvikvm(280): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
08-12 15:19:16.628: E/AndroidRuntime(280): FATAL EXCEPTION: main
08-12 15:19:16.628: E/AndroidRuntime(280): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.johnnydicamillo.spybeta/com.johnnydicamillo.spybeta.AndroidSpybetaActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.johnnydicamillo.spybeta/com.johnnydicamillo.spybeta.Messaging}; have you declared this activity in your AndroidManifest.xml?
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread.access$2300(ActivityThread.java:125)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.os.Handler.dispatchMessage(Handler.java:99)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.os.Looper.loop(Looper.java:123)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread.main(ActivityThread.java:4627)
08-12 15:19:16.628: E/AndroidRuntime(280):  at java.lang.reflect.Method.invokeNative(Native Method)
08-12 15:19:16.628: E/AndroidRuntime(280):  at java.lang.reflect.Method.invoke(Method.java:521)
08-12 15:19:16.628: E/AndroidRuntime(280):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
08-12 15:19:16.628: E/AndroidRuntime(280):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
08-12 15:19:16.628: E/AndroidRuntime(280):  at dalvik.system.NativeStart.main(Native Method)
08-12 15:19:16.628: E/AndroidRuntime(280): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.johnnydicamillo.spybeta/com.johnnydicamillo.spybeta.Messaging}; have you declared this activity in your AndroidManifest.xml?
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1404)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread.resolveActivityInfo(ActivityThread.java:2473)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:277)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:651)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.widget.TabHost.setCurrentTab(TabHost.java:323)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.widget.TabHost.addTab(TabHost.java:213)
08-12 15:19:16.628: E/AndroidRuntime(280):  at com.johnnydicamillo.spybeta.AndroidSpybetaActivity.onCreate(AndroidSpybetaActivity.java:31)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
08-12 15:19:16.628: E/AndroidRuntime(280):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
08-12 15:19:16.628: E/AndroidRuntime(280):  ... 11 more
08-12 15:19:21.929: I/Process(280): Sending signal. PID: 280 SIG: 9

解决方案

Yes, it is possible.

You can specify each activity (Start an intent) for each tabs in the following manner

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        res = getResources();
        tabHost = getTabHost();
        TabHost.TabSpec spec;


        intent = new Intent().setClass(this, CalendarActivity.class);
        spec = tabHost.newTabSpec("calendar").setIndicator("Calendar", res.getDrawable(R.drawable.ic_tab_calendar)).setContent(intent);
        tabHost.addTab(spec);

        intent = new Intent().setClass(this, ProfileActivity.class);
        spec = tabHost.newTabSpec("profile").setIndicator("Profile", res.getDrawable(R.drawable.ic_tab_profile)).setContent(intent);
        tabHost.addTab(spec);

        tabHost.setCurrentTab(0);
}

Each activity will have their own content layout views, therefore no need to worry about that in the main layout.

Your main XML layout will be small and simple as

<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/tabhost"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:padding="5dp" >

        <TabWidget
            android:id="@android:id/tabs"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>

        <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:padding="5dp" />
    </LinearLayout>

</TabHost>

I think this is what you want.

这篇关于Android的:你如何建立TabHost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆