自定义收起动画的Button

一个自定义收起展开动画的Button

animator_button.gif
下边那个绿色的是一个可拖拽的悬浮按钮:https://www.jianshu.com/p/286acc503268

CustomAnimatorButton.java

package com.xc.myexercise.widget;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.GradientDrawable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
import android.view.animation.AnticipateInterpolator;

import androidx.annotation.Nullable;

import com.xc.myexercise.R;

/**
 * author: roc
 * time: 1/13/21 12:30 PM
 * explain:带动画的按钮
 */
public class CustomAnimatorButton extends View {

    private Context mContext;

    //view的宽度
    private int width;
    //view的高度
    private int height;

    //圆角矩形Paint
    private Paint rectPaint;
    private GradientDrawable mDrawable;
    //矩形背景颜色
    private int rectBackColor;
    //矩形的渐变颜色
    private int backStartColor;
    private int backEndColor;
    //渐变颜色方向
    private int colorDirection;
    //默认圆角半径
    private final int DEFAULTANGLE = 100;
    //矩形圆角半径
    private int circleAngle;
    //文字Paint
    private Paint textPaint;
    private int textColor;
    private int btnTextSize;
    private String buttonText;
    //图片资源
    private int imageDrable;
    //图片与文字的间距
    private int imagePadding;

    private Bitmap imgBitmap;

    private RectF rectf = new RectF();
    private Rect rect2 = new Rect();
    private Rect rect3 = new Rect();

    private Rect textRect = new Rect();

    //底部标签绘制的drawable
    private GradientDrawable tagDrawable;
    //底部标签的文字Paint
    private Paint tagTextPaint;
    //底部标签的背景颜色
    private int tagBackColor;
    //底部标签的文字颜色
    private int tagTextColor;
    //底部标签的文字大小
    private int tagTextSize;
    //底部标签的背景弧度
    private int tagBackAngle;
    //底部标签的文字
    private String tagtext;
    //底部标签的宽度
    private int tagBackWidth;
    //底部标签的高度
    private int tagBackHeight;


    //进入动画
    private AnimatorSet entryAnimatorSet = new AnimatorSet();
    //矩形到圆形形过度的动画
    private ValueAnimator animatorRectToCircle;
    //view右移的动画
    private ObjectAnimator animatorMoveToRight;

    //退出动画
    private AnimatorSet exitAnimatorSet = new AnimatorSet();
    //圆形过度到矩形的动画
    private ValueAnimator animatorCircleToRect;
    //view左移的动画
    private ObjectAnimator animatorMoveToLeft;

    //动画执行时间
    private int animatorDuration = 200;
    //移动距离
    private int moveDistance = 50;

    //默认两圆圆心之间的距离=需要移动的距离
    private int defaultTwoCircleDistance;
    //两圆圆心之间的距离
    private int twoCircleDistance;

    //是否显示文字
    private boolean isShowText = true;

    private AnimatorButtonListener animatorButtonListener;
    private AnimatorButtonClickListener animatorButtonClickListener;
    //动画是否正在执行中
    private boolean isAnimatorExecution = false;
    //是否收起状态
    private boolean isCloseState = false;

    public CustomAnimatorButton(Context context) {
        this(context, null);
    }

    public CustomAnimatorButton(Context context, @Nullable AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public CustomAnimatorButton(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        mContext = context;
        initAttrs(attrs);
        initPaint();

        this.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View v) {
                if (animatorButtonClickListener != null)
                    animatorButtonClickListener.onClickBtn();
            }
        });

        entryAnimatorSet.addListener(new Animator.AnimatorListener() {
            @Override
            public void onAnimationStart(Animator animation) {
                isAnimatorExecution = true;
                if (animatorButtonListener != null)
                    animatorButtonListener.entryStart();
            }

            @Override
            public void onAnimationEnd(Animator animation) {
                invalidate();
                isCloseState = true;

                isAnimatorExecution = false;

                if (animatorButtonListener != null)
                    animatorButtonListener.entryEnd();
            }

            @Override
            public void onAnimationCancel(Animator animation) {
                isAnimatorExecution = false;
            }

            @Override
            public void onAnimationRepeat(Animator animation) {

            }
        });

        exitAnimatorSet.addListener(new Animator.AnimatorListener() {
            @Override
            public void onAnimationStart(Animator animation) {
                isAnimatorExecution = true;
                if (animatorButtonListener != null)
                    animatorButtonListener.exitStart();
            }

            @Override
            public void onAnimationEnd(Animator animation) {

                isAnimatorExecution = false;
                isCloseState = false;

                isShowText = true;
                invalidate();

                if (animatorButtonListener != null)
                    animatorButtonListener.exitEnd();
            }

            @Override
            public void onAnimationCancel(Animator animation) {
                isAnimatorExecution = false;
            }

            @Override
            public void onAnimationRepeat(Animator animation) {

            }
        });
    }

    private void initAttrs(AttributeSet attrs) {
        TypedArray typedArray = mContext.obtainStyledAttributes(attrs, R.styleable.CustomAnimatorButton);
        if (typedArray == null) {
            return;
        }

        try {
            circleAngle = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_rect_angle, DEFAULTANGLE);
            rectBackColor = typedArray.getColor(R.styleable.CustomAnimatorButton_rect_back_color, Color.parseColor("#DDDDDD"));
            backStartColor = typedArray.getColor(R.styleable.CustomAnimatorButton_rect_back_start_color, -1);
            backEndColor = typedArray.getColor(R.styleable.CustomAnimatorButton_rect_back_end_color, -1);
            colorDirection = typedArray.getInteger(R.styleable.CustomAnimatorButton_color_direction, 1);
            textColor = typedArray.getColor(R.styleable.CustomAnimatorButton_text_color, Color.parseColor("#000000"));
            btnTextSize = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_btn_text_size, 20);
            buttonText = typedArray.getString(R.styleable.CustomAnimatorButton_btn_text);
            if (TextUtils.isEmpty(buttonText))
                buttonText = "我要提问";
            animatorDuration = typedArray.getInteger(R.styleable.CustomAnimatorButton_animator_duration, 200);
            moveDistance = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_move_distance, 100);
            imageDrable = typedArray.getResourceId(R.styleable.CustomAnimatorButton_image_drawable, R.mipmap.edit_pencil_icon);
            imagePadding = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_image_padding, 10);

            tagBackColor = typedArray.getColor(R.styleable.CustomAnimatorButton_tag_back_color, Color.parseColor("#FFDB9B"));
            tagTextColor = typedArray.getColor(R.styleable.CustomAnimatorButton_tag_text_color, Color.parseColor("#C68A36"));
            tagTextSize = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_tag_text_size, -1);
            tagBackAngle = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_tag_angle, DEFAULTANGLE);
            tagtext = typedArray.getString(R.styleable.CustomAnimatorButton_tag_text);
            tagBackWidth = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_tag_back_width, -1);
            tagBackHeight = typedArray.getDimensionPixelSize(R.styleable.CustomAnimatorButton_tag_back_height, -1);

        } finally {
            typedArray.recycle();
        }

    }

    /**
     * 初始化化Paint
     */
    private void initPaint() {

        if (backEndColor == -1 || backStartColor == -1) {
            rectPaint = new Paint();
            rectPaint.setStrokeWidth(4);
            rectPaint.setStyle(Paint.Style.FILL);
            rectPaint.setAntiAlias(true);
            rectPaint.setColor(rectBackColor);
        } else {
            //初始化柱状图drawable
            mDrawable = new GradientDrawable();
            if (colorDirection == 1) {//设置颜色渐变方向为纵向
                mDrawable.setOrientation(GradientDrawable.Orientation.TOP_BOTTOM);//设置渐变方向(从上到下)
            } else {
                mDrawable.setOrientation(GradientDrawable.Orientation.LEFT_RIGHT);//设置渐变方向(从左到右)
            }
            mDrawable.setShape(GradientDrawable.RECTANGLE);//设置形状为矩形
            mDrawable.setGradientType(GradientDrawable.LINEAR_GRADIENT);
            mDrawable.setCornerRadii(new float[]{circleAngle, circleAngle, circleAngle, circleAngle, circleAngle, circleAngle, circleAngle, circleAngle});//设置圆角
            mDrawable.setColors(new int[]{backStartColor, backEndColor});//设置渐变颜色
        }

        //初始化文字pain
        textPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
        textPaint.setTextSize(btnTextSize);
        textPaint.setColor(textColor);
        textPaint.setTextAlign(Paint.Align.CENTER);
        textPaint.setAntiAlias(true);

        //初始化图片bitMap
        imgBitmap = BitmapFactory.decodeResource(this.getResources(), imageDrable);

        //初始化底部标签的pain
        if (!TextUtils.isEmpty(tagtext)) {
            //初始化底部文字的paint
            tagTextPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
            if (tagTextSize == -1)
                tagTextSize = btnTextSize / 2;
            tagTextPaint.setTextSize(tagTextSize);
            tagTextPaint.setColor(tagTextColor);
            tagTextPaint.setTextAlign(Paint.Align.CENTER);
            tagTextPaint.setAntiAlias(true);

            //初始化柱状图drawable
            tagDrawable = new GradientDrawable();
            tagDrawable.setShape(GradientDrawable.RECTANGLE);//设置形状为矩形
            tagDrawable.setGradientType(GradientDrawable.LINEAR_GRADIENT);
            tagDrawable.setCornerRadii(new float[]{tagBackAngle, tagBackAngle, tagBackAngle, tagBackAngle, 0, 0, 0, 0});//设置圆角
            tagDrawable.setColors(new int[]{backStartColor, backEndColor});//
            tagDrawable.setColor(tagBackColor);//设置底部标签的背景颜色
        }
    }

    @Override
    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
        super.onSizeChanged(w, h, oldw, oldh);
        width = w;
        height = h;

        defaultTwoCircleDistance = (w - h) / 2;

        initAnimation();
    }

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);

        drawOvalToCircle(canvas);
        if (isShowText)
            drawTextAndImg(canvas);
        else
            drawImg(canvas);
    }

    /**
     * 绘制长方形变成圆形
     *
     * @param canvas 画布
     */
    private void drawOvalToCircle(Canvas canvas) {

        if (backStartColor == -1 || backEndColor == -1) {//如果不用颜色渐变,就绘制纯色的圆角矩形

            rectf.left = twoCircleDistance;
            rectf.top = 0;
            rectf.right = width - twoCircleDistance;
            rectf.bottom = height;

            //画圆角矩形
            canvas.drawRoundRect(rectf, circleAngle, circleAngle, rectPaint);

        } else {
            //绘制渐变颜色的圆角矩形
            rect2.left = twoCircleDistance;
            rect2.top = 0;
            rect2.right = width - twoCircleDistance;
            rect2.bottom = height;

            mDrawable.setBounds(rect2);//设置位置大小
            mDrawable.draw(canvas);//绘制到canvas上
        }
    }


    /**
     * 绘制图片与文字
     *
     * @param canvas 画布
     */
    private void drawTextAndImg(Canvas canvas) {
        textRect.left = 0;
        textRect.top = 0;
        textRect.right = width;
        textRect.bottom = height;

        int textWidth = (int) (textPaint.getTextSize() * buttonText.length());
        int imgWidth = imgBitmap.getWidth();
        int imgHeight = imgBitmap.getHeight();

        int imgStartX = (width - textWidth - imgWidth - imagePadding) / 2;
        int imgStartY = height / 2 - imgHeight / 2;
        int textStartX = imgStartX + imgWidth + textWidth / 2 + imagePadding;

        //绘制文字
        Paint.FontMetricsInt fontMetrics = textPaint.getFontMetricsInt();
        int baseline = (textRect.bottom + textRect.top - fontMetrics.bottom - fontMetrics.top) / 2;
//        canvas.drawText(buttonText, textRect.centerX(), baseline, textPaint);
        canvas.drawText(buttonText, textStartX, baseline, textPaint);
        //绘制图片
        canvas.drawBitmap(imgBitmap, imgStartX, imgStartY, null);

        drawBottomTag(canvas);
    }

    /**
     * 绘制底部标签
     */
    private void drawBottomTag(Canvas canvas) {
        if (TextUtils.isEmpty(tagtext))
            return;

        if (tagBackWidth == -1)
            tagBackWidth = defaultTwoCircleDistance * 2 + 30;

        if (tagBackHeight == -1)
            tagBackHeight = height / 4 - 5;

        //绘制底部标签的背景
        rect3.left = (width - tagBackWidth) / 2;
        rect3.top = height - tagBackHeight - 2;
        rect3.right = rect3.left + tagBackWidth;
        rect3.bottom = height - 2;
        tagDrawable.setBounds(rect3);//设置位置大小
        tagDrawable.draw(canvas);//绘制到canvas上

        //绘制文字
        Paint.FontMetricsInt fontMetrics = tagTextPaint.getFontMetricsInt();
        int baseline = (rect3.bottom + rect3.top - fontMetrics.bottom - fontMetrics.top) / 2;
        canvas.drawText(tagtext, rect3.centerX(), baseline, tagTextPaint);

    }


    /**
     * 绘制图片
     *
     * @param canvas
     */
    private void drawImg(Canvas canvas) {
        int imgWidth = imgBitmap.getWidth();
        int imgHeight = imgBitmap.getHeight();

        int imgStartX = (width - imgWidth) / 2;
        int imgStartY = height / 2 - imgHeight / 2;

        //绘制图片
        canvas.drawBitmap(imgBitmap, imgStartX, imgStartY, null);
    }


    /**
     * 初始化所有动画
     */
    private void initAnimation() {
        setRectToCircleAnimation();
        setMoveToRightAnimation();
        entryAnimatorSet
                .play(animatorMoveToRight)
                .after(animatorRectToCircle);


        setCircleToRectAnimation();
        setMoveToLeftAnimation();
        exitAnimatorSet
                .play(animatorCircleToRect)
                .after(animatorMoveToLeft);
    }


    /**
     * 设置圆角矩形过度到圆的动画
     */
    private void setRectToCircleAnimation() {
        animatorRectToCircle = ValueAnimator.ofInt(0, defaultTwoCircleDistance);
        animatorRectToCircle.setDuration(animatorDuration);
        animatorRectToCircle.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
            @Override
            public void onAnimationUpdate(ValueAnimator animation) {
                twoCircleDistance = (int) animation.getAnimatedValue();

                int alpha = 255 - (twoCircleDistance * 255) / defaultTwoCircleDistance;

                textPaint.setAlpha(alpha);

                isShowText = false;

                invalidate();
            }
        });
    }

    /**
     * 设置圆形过渡到圆角矩形的动画
     */
    private void setCircleToRectAnimation() {
        animatorCircleToRect = ValueAnimator.ofInt(defaultTwoCircleDistance, 0);
        animatorCircleToRect.setDuration(animatorDuration);
        animatorCircleToRect.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
            @Override
            public void onAnimationUpdate(ValueAnimator animation) {
                twoCircleDistance = (int) animation.getAnimatedValue();

                int alpha = 255 - (twoCircleDistance * 255) / defaultTwoCircleDistance;

                textPaint.setAlpha(alpha);

                invalidate();
            }
        });
    }


    /**
     * 设置view右移的动画
     */
    private void setMoveToRightAnimation() {
        final float curTranslationX = this.getTranslationX();
        animatorMoveToRight = ObjectAnimator.ofFloat(this, "translationX", curTranslationX, curTranslationX + moveDistance);
        animatorMoveToRight.setDuration(animatorDuration);
        animatorMoveToRight.setInterpolator(new AnticipateInterpolator());
    }

    /**
     * 设置view左移的动画
     */
    private void setMoveToLeftAnimation() {
        final float curTranslationX = this.getTranslationX();
        animatorMoveToLeft = ObjectAnimator.ofFloat(this, "translationX", curTranslationX + moveDistance, curTranslationX);
        animatorMoveToLeft.setDuration(animatorDuration);
        animatorMoveToLeft.setInterpolator(new AnticipateInterpolator());
    }

    /**
     * 启动动画
     */
    public void closeBtn() {
        entryAnimatorSet.start();
    }

    /**
     * 退出动画
     */
    public void unfoldBtn() {
        exitAnimatorSet.start();
    }


    public void setAnimatorButtonListener(AnimatorButtonListener animatorButtonListener) {
        this.animatorButtonListener = animatorButtonListener;
    }

    public void setAnimatorButtonClickListener(AnimatorButtonClickListener animatorButtonClickListener) {
        this.animatorButtonClickListener = animatorButtonClickListener;
    }

    /**
     * 动画是否正在执行中
     *
     * @return
     */
    public boolean isAnimatorExecution() {
        return isAnimatorExecution;
    }

    /**
     * 是否收起状态
     *
     * @return
     */
    public boolean isCloseState() {
        return isCloseState;
    }

    public interface AnimatorButtonListener {
        void entryStart();

        void entryEnd();

        void exitStart();

        void exitEnd();
    }

    public interface AnimatorButtonClickListener {
        void onClickBtn();
    }

    private void clearAnimator() {
        if (entryAnimatorSet != null) {
            entryAnimatorSet.cancel();
            entryAnimatorSet = null;
        }

        if (exitAnimatorSet != null) {
            exitAnimatorSet.cancel();
            exitAnimatorSet = null;
        }

        if (animatorRectToCircle != null) {
            animatorRectToCircle.cancel();
            animatorRectToCircle = null;
        }

        if (animatorMoveToRight != null) {
            animatorMoveToRight.cancel();
            animatorMoveToRight = null;
        }

        if (animatorCircleToRect != null) {
            animatorCircleToRect.cancel();
            animatorCircleToRect = null;
        }

        if (animatorMoveToLeft != null) {
            animatorMoveToLeft.cancel();
            animatorMoveToLeft = null;
        }
    }
}

attrs.xml

 <!-- 自定义收起动画Button -->
    <declare-styleable name="CustomAnimatorButton">
        <!-- 圆角矩形的背景颜色 -->
        <attr name="rect_back_color" format="color|reference" />
        <!-- 圆角矩形背景的开始颜色 -->
        <attr name="rect_back_start_color" format="color|reference" />
        <!-- 圆角矩形背景的结束颜色 -->
        <attr name="rect_back_end_color" format="color|reference" />
        <!-- 渐变颜色的方向 -->
        <attr name="color_direction" format="enum">
            <!-- 纵向 -->
            <enum name="vertical" value="1" />
            <!-- 横向 -->
            <enum name="horizontal" value="2" />
        </attr>
        <!-- 圆角矩形的弧度 -->
        <attr name="rect_angle" format="dimension" />
        <!-- 文字的颜色 -->
        <attr name="text_color" format="color|reference" />
        <!-- 按钮文字 -->
        <attr name="btn_text" format="string" />
        <!-- 按钮文字大小 -->
        <attr name="btn_text_size" format="dimension" />
        <!-- 动画执行时间 -->
        <attr name="animator_duration" format="integer" />
        <!-- 移动距离 -->
        <attr name="move_distance" format="dimension" />
        <!-- 图片资源 -->
        <attr name="image_drawable" format="reference" />
        <!-- 图片与文字的间距 -->
        <attr name="image_padding" format="dimension" />

        <!-- 底部标签文字颜色 -->
        <attr name="tag_text_color" format="color|reference" />
        <!-- 底部标签背景颜色 -->
        <attr name="tag_back_color" format="color|reference" />
        <!-- 底部标签背景弧度 -->
        <attr name="tag_angle" format="dimension" />
        <!-- 底部标签文字 -->
        <attr name="tag_text" format="string"/>
        <!-- 底部标签文字大小 -->
        <attr name="tag_text_size" format="dimension"/>
        <!-- 底部标签的宽度 -->
        <attr name="tag_back_width" format="dimension" />
        <!-- 底部标签的高度 -->
        <attr name="tag_back_height" format="dimension" />

    </declare-styleable>

使用方式:直接在布局文件中使用

<com.xc.myexercise.widget.CustomAnimatorButton
        android:id="@+id/find_topic_fragment_custom_btn"
        android:layout_width="100dp"
        android:layout_height="50dp"
        android:layout_above="@id/floating_btn"
        android:layout_alignParentEnd="true"
        android:layout_marginEnd="15dp"
        android:layout_marginBottom="20dp"
        app:btn_text="我要发帖"
        app:btn_text_size="15dp" />

在代码中调用closeBtn()unfoldBtn()来收起和展开按钮状态

private boolean isCloseState = false;

@Override
protected void initView(@Nullable Bundle savedInstanceState) {

        customBtn.setAnimatorButtonClickListener(new CustomAnimatorButton.AnimatorButtonClickListener() {
            @Override
            public void onClickBtn() {
                if (isCloseState) {
                    customBtn.unfoldBtn();
                } else {
                    customBtn.closeBtn();
                }
                isCloseState = !isCloseState;
            }
        });

}
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 213,616评论 6 492
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 91,020评论 3 387
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 159,078评论 0 349
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 57,040评论 1 285
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,154评论 6 385
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,265评论 1 292
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,298评论 3 412
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,072评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,491评论 1 306
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,795评论 2 328
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,970评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,654评论 4 337
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,272评论 3 318
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,985评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,223评论 1 267
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,815评论 2 365
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,852评论 2 351

推荐阅读更多精彩内容