SurfaceView的簡單實用

public class EatrthWorkSurfaceView extends SurfaceView implements SurfaceHolder.Callback, Runnable {
    private SurfaceHolder mHolder;
    private Canvas mCanvas;
    private boolean mIsDrawing; // 子線程標(biāo)志位
    public EatrthWorkSurfaceView(Context context) {
        super(context);
        init();
    }
    public EatrthWorkSurfaceView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }
    public EatrthWorkSurfaceView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    /**
     * 初始化數(shù)據(jù)
     */
    private void init() {
        mHolder = getHolder();
        mHolder.addCallback(this);
        setFocusable(true);
        setFocusableInTouchMode(true);
        setKeepScreenOn(true);
    }

    /**
     * 創(chuàng)建啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
     * @param holder
     */
    @Override
    public void surfaceCreated(SurfaceHolder holder) {
        mIsDrawing = true;
        new Thread(this).start();
    }

    /**
     * 視圖方向改變啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
     * @param holder
     * @param format
     * @param width
     * @param height
     */
    @Override
    public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
    }

    /**
     * 銷毀啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
     * @param holder
     */
    @Override
    public void surfaceDestroyed(SurfaceHolder holder) {
        mIsDrawing = false;
    }

    @Override
    public void run() {
        while (mIsDrawing){
            draw();
        }
    }

    private void draw(){
        try {
            mCanvas = mHolder.lockCanvas();
            // 繪制的內(nèi)容
        }catch (Exception e){
        }finally {
            if (mCanvas!=null){
                // 提交繪畫內(nèi)容
                mHolder.unlockCanvasAndPost(mCanvas);
            }
        }
    }
}

手勢縮放平移

image.png

這是繪制兩個TEXT的代碼:

public class DemoSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
    private Context mContext;
    private List<NEZ> mNEZList;
    private ScheduledFuture mFuture;
    private ScheduledExecutorService mExecutorService;
    private SurfaceHolder mHolder; // SurfaceHolder對象
    private Canvas mCanvas;
    private boolean mIsDrawing; // 子線程標(biāo)志位
    private Paint mPaint; // 畫筆對象
    private TextPaint mTextPaint; // 畫筆對象

    //----------------------------------------------------

    // 手勢的狀態(tài)
    private static final int NONE_FLAG = 0;
    private static final int DRAG_FLAG = 1;
    private static final int ZOOM_FLAG = 2;
    private int mTouchMode = NONE_FLAG;
    // 記錄距離
    private float mDistance;
    // 雙指滑動的距離
    private float mPreDistance;
    // 兩指中點
    private PointF mid = new PointF();
    // 手指點下去的開始點
    private float mStartX, mStartY;
    // 縮放比例
    private double scaleX = 1.0f;
    private double scaleY = 1.0f;
    // 當(dāng)前正在發(fā)生修改的矩陣
    private Matrix mCurrentMatrix = new Matrix();
    // 保存上一次修改后的矩陣
    private Matrix mSavedMatrix = new Matrix();

    //----------------------------------------------------

    public DemoSurfaceView(Context context) {
        super(context);
        this.mContext = context;
        init();
    }
    public DemoSurfaceView(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.mContext = context;
        init();
    }
    public DemoSurfaceView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        this.mContext = context;
        init();
    }
    private void init() {
        mPaint = new Paint();
        mPaint.setColor(Color.RED);
        mPaint.setStyle(Paint.Style.STROKE);
        mPaint.setStrokeWidth(10);
        mTextPaint = new TextPaint();
        mTextPaint.setTextSize(12);
        mTextPaint.setColor(Color.GREEN);
        mTextPaint.setAntiAlias(true);
        mTextPaint.setStrokeWidth(1);
        mHolder = getHolder();
        mHolder.addCallback(this);
    }
    @Override
    public void surfaceCreated(SurfaceHolder surfaceHolder) {
        // 在 surface 創(chuàng)建時初始化畫布并開始繪制
        mIsDrawing = true;
        mExecutorService = Executors.newScheduledThreadPool(1);
        mFuture = mExecutorService.scheduleAtFixedRate(new Runnable() {
            @Override
            public void run() {
                drawData();
            }
        }, 0, 16, TimeUnit.MILLISECONDS);
    }
    @Override
    public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) {
        // 在 surface 尺寸改變時重新繪制
    }
    @Override
    public void surfaceDestroyed(SurfaceHolder surfaceHolder) {
        mIsDrawing = false;
        // 釋放畫布資源
        mFuture.cancel(true);
    }
    /**
     * 繪畫數(shù)據(jù)
     */
    private void drawData() {
        try {
            mCanvas = mHolder.lockCanvas();
            mCanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);
            mCanvas.save();
            Matrix drawMatrix = new Matrix();
            float dx = calTransX(mCurrentMatrix);
            float dy = calTransY(mCurrentMatrix);
            drawMatrix.postTranslate(dx, dy);
            mCanvas.setMatrix(drawMatrix);
            mCanvas.drawText("100", transectY(10), transectX(20), mTextPaint);
            mCanvas.drawText("100", transectY(20), transectX(30), mTextPaint);
            mCanvas.restore();
        } catch (Exception e) {
        } finally {
            if (mCanvas != null) {
                // 提交繪畫內(nèi)容
                mHolder.unlockCanvasAndPost(mCanvas);
            }
        }
    }
    /**
     * 設(shè)置數(shù)據(jù)
     */
    public void setData(Bounds bounds, int surfaceWidth, int surfaceHeight) {
        // 已知View的高寬塘砸,求圖的高寬來計算縮放比
        double scalew, scaleh;
        scalew = surfaceWidth / bounds.getWidth();
        scaleh = surfaceHeight / bounds.getHeight();
        // 取最小倍數(shù)作為縮放
        scaleX = scaleY = Math.min(scalew, scaleh);
    }
    @Override
    public boolean onTouchEvent(MotionEvent event) {
        switch (event.getAction() & MotionEvent.ACTION_MASK) {
            case MotionEvent.ACTION_DOWN: // 按下
                mTouchMode = DRAG_FLAG;
                mStartX = event.getX();
                mStartY = event.getY();
                mSavedMatrix.set(mCurrentMatrix); // 保存矩陣狀態(tài)
                break;
            case MotionEvent.ACTION_POINTER_DOWN: // 多指按下
                mPreDistance = getDoubleDistance(event);
                if (mPreDistance > 10f) {
                    Logg.v("SONGSONG", "ACTION_POINTER_DOWN");
                    mid = getMid(event);
                    mSavedMatrix.set(mCurrentMatrix);
                    mTouchMode = ZOOM_FLAG;
                }
                break;
            case MotionEvent.ACTION_MOVE: // 移動or縮放
                if (mTouchMode == ZOOM_FLAG) {
                    Logg.v("SONGSONG", "ZOOM_FLAG");
                    mDistance = getDoubleDistance(event);
                    if (mDistance > 10) {
                        mCurrentMatrix.set(mSavedMatrix);
                        float scale = mDistance / mPreDistance;
                        mCurrentMatrix.postScale(scale, scale, mid.x, mid.y);//根據(jù)中心進行縮放
                    }
                } else {
                    // 判斷拖拽的距離
                    mDistance = getSingeDistance(event);
                    Logg.v("SONGSONG", "DRAG_FLAG");
                    if (mDistance > 10) {
                        // 恢復(fù)原來的矩陣
                        mCurrentMatrix.set(mSavedMatrix);
                        // 計算出移動的距離
                        float tempX = event.getX();
                        float tempY = event.getY();
                        float dx = tempX - mStartX;
                        float dy = tempY - mStartY;
                        // 給矩陣設(shè)置平移
                        mCurrentMatrix.postTranslate(dx, dy);
                    }
                }
                break;
            case MotionEvent.ACTION_UP: // 松開
                mTouchMode = NONE_FLAG;
                break;
            case MotionEvent.ACTION_POINTER_UP: // 多指放開
                mSavedMatrix.set(mCurrentMatrix);
                if (event.getActionIndex() == 0) {
                    mStartX = event.getX(1);
                    mStartY = event.getY(1);
                }
                if (event.getActionIndex() == 1) {
                    mStartX = event.getX(0);
                    mStartY = event.getY(0);
                }
                mTouchMode = DRAG_FLAG;
                break;
        }
        return true;
    }

    /**
     * 計算單指滑動的距離
     *
     * @param event
     * @return
     */
    private float getSingeDistance(MotionEvent event) {
        float x = mStartX - event.getX(0);
        float y = mStartY - event.getY(0);
        return (float) Math.sqrt(x * x + y * y);//兩點之間的距離
    }
    /**
     * 計算雙指滑動距離
     *
     * @param event
     */
    private float getDoubleDistance(MotionEvent event) {
        float x = event.getX(1) - event.getX(0);
        float y = event.getY(1) - event.getY(0);
        return (float) Math.sqrt(x * x + y * y);//兩點之間的距離
    }
    /**
     * 計算X方向平移
     *
     * @param matrix 矩陣
     * @return X方向平移
     */
    protected static float calTransX(Matrix matrix) {
        float data[] = new float[9];
        matrix.getValues(data);
        return data[Matrix.MTRANS_X];
    }

    /**
     * 計算Y方向平移
     *
     * @param matrix 矩陣
     * @return Y方向平移
     */
    protected static float calTransY(Matrix matrix) {
        float data[] = new float[9];
        matrix.getValues(data);
        return data[Matrix.MTRANS_Y];
    }

    /**
     * 去兩指的中心點坐標(biāo)
     *
     * @param event
     * @return
     */
    private PointF getMid(MotionEvent event) {
        float midX = (event.getX(1) + event.getX(0)) / 2;
        float midY = (event.getY(1) - event.getY(0)) / 2;
        return new PointF(midX, midY);
    }

    /**
     * 計算縮放倍數(shù)
     * 由于x方向縮放和y方向縮放目前是一樣的,所以只返回x方向縮放
     *
     * @param matrix 矩陣
     * @return 縮放倍數(shù)
     */
    protected static float calScale(Matrix matrix) {
        float data[] = new float[9];
        matrix.getValues(data);
        return data[Matrix.MSCALE_X];
    }

    /**
     * 在繪制過程凸郑,將x點轉(zhuǎn)換屏幕坐標(biāo)
     *
     * @param num
     * @return
     */
    private float transectX(float num) {
        return -(num) * (float) scaleY * calScale(mCurrentMatrix);
    }

    /**
     * 在繪制過程,將x點轉(zhuǎn)換屏幕坐標(biāo)
     *
     * @param num
     * @return
     */
    private float transectY(float num) {
        return num * (float) scaleX * calScale(mCurrentMatrix);
    }
}

為了加載業(yè)務(wù)代碼,繼續(xù)調(diào)整繪制位置:


image.png
public class GridPreviewSurfaceView extends SurfaceView implements SurfaceHolder.Callback {

    private Context mContext;

    private ScheduledFuture mFuture;
    private ScheduledExecutorService mExecutorService;
    private SurfaceHolder mHolder; // SurfaceHolder對象
    private boolean mIsDrawing; // 子線程標(biāo)志位

    private Canvas mCanvas;
    private Paint mPaint; // 畫筆對象
    private TextPaint mTextPaint; // 畫筆對象
    private Path mBoundsPath;

    //----------------------------------------------------
    private List<NEZ> mNEZList;
    private Bounds mBoundsData;
    private float mMidpointX;
    private float mMidpointY;
    private float mOffsetX;
    private float mOffsetY;

    //----------------------------------------------------

    // 手勢的狀態(tài)
    private static final int NONE_FLAG = 0;
    private static final int DRAG_FLAG = 1;
    private static final int ZOOM_FLAG = 2;
    private int mTouchMode = NONE_FLAG;

    // 記錄距離
    private float mDistance;
    // 雙指滑動的距離
    private float mPreDistance;
    // 兩指中點
    private PointF mid = new PointF();
    // 手指點下去的開始點
    private float mStartX, mStartY;
    // 縮放比例
    private double scaleX = 1.0f;
    private double scaleY = 1.0f;
    // 當(dāng)前正在發(fā)生修改的矩陣
    private Matrix mCurrentMatrix = new Matrix();
    // 保存上一次修改后的矩陣
    private Matrix mSavedMatrix = new Matrix();

    //----------------------------------------------------

    public GridPreviewSurfaceView(Context context) {
        super(context);
        this.mContext = context;
        init();
    }

    public GridPreviewSurfaceView(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.mContext = context;
        init();
    }

    public GridPreviewSurfaceView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        this.mContext = context;
        init();
    }

    private void init() {

        mPaint = new Paint();
        mPaint.setColor(Color.RED);
        mPaint.setStyle(Paint.Style.STROKE);
        mPaint.setStrokeWidth(3);

        mTextPaint = new TextPaint();
        mTextPaint.setTextSize(30);
        mTextPaint.setColor(Color.GREEN);
        mTextPaint.setAntiAlias(true);
        mTextPaint.setStrokeWidth(1);

        mHolder = getHolder();
        mHolder.addCallback(this);
    }

    @Override
    public void surfaceCreated(SurfaceHolder surfaceHolder) {
        // 在 surface 創(chuàng)建時初始化畫布并開始繪制
        mIsDrawing = true;
        mExecutorService = Executors.newScheduledThreadPool(1);
        mFuture = mExecutorService.scheduleAtFixedRate(new Runnable() {
            @Override
            public void run() {
                drawData();
            }
        }, 0, 16, TimeUnit.MILLISECONDS);
    }

    @Override
    public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) {
        // 在 surface 尺寸改變時重新繪制
    }

    @Override
    public void surfaceDestroyed(SurfaceHolder surfaceHolder) {
        mIsDrawing = false;
        // 釋放畫布資源
        mFuture.cancel(true);
    }

    /**
     * 繪畫數(shù)據(jù)
     */
    private void drawData() {
        try {
            mCanvas = mHolder.lockCanvas();
            mCanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);

            mCanvas.save();
            Matrix drawMatrix = new Matrix();
            float dx = calTransX(mCurrentMatrix);
            float dy = calTransY(mCurrentMatrix);
            drawMatrix.postTranslate(dx, dy);
            mCanvas.setMatrix(drawMatrix);

            drawBoundsLine();
            drawDataText();

            mCanvas.restore();
        } catch (Exception e) {

        } finally {
            if (mCanvas != null) {
                // 提交繪畫內(nèi)容
                mHolder.unlockCanvasAndPost(mCanvas);
            }
        }
    }

    private void drawBoundsLine() {

        mBoundsPath = new Path();
        mBoundsPath.moveTo(transectY((float) mBoundsData.getMinX() - mOffsetX), transectX((float) mBoundsData.getMinY() - mOffsetY));
        mBoundsPath.lineTo(transectY((float) mBoundsData.getMinX() - mOffsetX), transectX((float) mBoundsData.getMaxY() - mOffsetY));
        mBoundsPath.lineTo(transectY((float) mBoundsData.getMaxX() - mOffsetX), transectX((float) mBoundsData.getMaxY() - mOffsetY));
        mBoundsPath.lineTo(transectY((float) mBoundsData.getMaxX() - mOffsetX), transectX((float) mBoundsData.getMinY() - mOffsetY));
        mBoundsPath.close();
        mCanvas.drawPath(mBoundsPath, mPaint);
    }

    private void drawDataText() {

        if (mNEZList != null && mNEZList.size() > 0) {
            for (int i = 0; i < mNEZList.size(); i++) {
                NEZ nez = mNEZList.get(i);
                mCanvas.drawText(String.valueOf(nez.Z), transectY((float) nez.E - mOffsetX), transectX((float) nez.N - mOffsetY), mTextPaint);
            }
        }
    }

    /**
     * 設(shè)置數(shù)據(jù)
     */
    public void setData(List<NEZ> nezList, GridAltitudeMissionBean missionBean, int surfaceWidth, int surfaceHeight) {

        mNEZList = nezList;

        mBoundsData = new Bounds(missionBean.getMinX(), missionBean.getMinY(),
                missionBean.getMaxX(), missionBean.getMaxY());

        // 偏移量
        mOffsetX = missionBean.getMinX() - surfaceWidth / 2;
        mOffsetY = missionBean.getMinY() + surfaceHeight;

        // 偏移量和屏幕大小計算出的中點
        mMidpointX = (float) ((mBoundsData.getWidth() + surfaceWidth) / 2);
        mMidpointY = (float) ((mBoundsData.getHeight() + surfaceHeight) / 2);

        // 已知View的高寬芋齿,求圖的高寬來計算縮放比
        double scalew, scaleh;
        scalew = surfaceWidth / missionBean.getWidth();
        scaleh = surfaceHeight / missionBean.getHeight();
        // 取最小倍數(shù)作為縮放
        scaleX = scaleY = Math.min(scalew, scaleh);
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        switch (event.getAction() & MotionEvent.ACTION_MASK) {
            case MotionEvent.ACTION_DOWN: // 按下
                mTouchMode = DRAG_FLAG;
                mStartX = event.getX();
                mStartY = event.getY();
                mSavedMatrix.set(mCurrentMatrix); // 保存矩陣狀態(tài)
                break;
            case MotionEvent.ACTION_POINTER_DOWN: // 多指按下
                mPreDistance = getDoubleDistance(event);
                if (mPreDistance > 10f) {
                    Logg.v("SONGSONG", "ACTION_POINTER_DOWN");
                    mid = getMid(event);
                    mSavedMatrix.set(mCurrentMatrix);
                    mTouchMode = ZOOM_FLAG;
                }
                break;
            case MotionEvent.ACTION_MOVE: // 移動or縮放
                if (mTouchMode == ZOOM_FLAG) {
                    Logg.v("SONGSONG", "ZOOM_FLAG");

                    mDistance = getDoubleDistance(event);
                    if (mDistance > 10) {
                        mCurrentMatrix.set(mSavedMatrix);
                        float scale = mDistance / mPreDistance;
                        mCurrentMatrix.postScale(scale, scale, mid.x, mid.y);//根據(jù)中心進行縮放
                    }
                } else {
                    // 判斷拖拽的距離
                    mDistance = getSingeDistance(event);
                    Logg.v("SONGSONG", "DRAG_FLAG");
                    if (mDistance > 10) {
                        // 恢復(fù)原來的矩陣
                        mCurrentMatrix.set(mSavedMatrix);
                        // 計算出移動的距離
                        float tempX = event.getX();
                        float tempY = event.getY();
                        float dx = tempX - mStartX;
                        float dy = tempY - mStartY;
                        // 給矩陣設(shè)置平移
                        mCurrentMatrix.postTranslate(dx, dy);
                    }
                }
                break;
            case MotionEvent.ACTION_UP: // 松開
                mTouchMode = NONE_FLAG;
                break;
            case MotionEvent.ACTION_POINTER_UP: // 多指放開
                mSavedMatrix.set(mCurrentMatrix);
                if (event.getActionIndex() == 0) {
                    mStartX = event.getX(1);
                    mStartY = event.getY(1);
                }
                if (event.getActionIndex() == 1) {
                    mStartX = event.getX(0);
                    mStartY = event.getY(0);
                }
                mTouchMode = DRAG_FLAG;
                break;
        }
        return true;
    }

    /**
     * 計算單指滑動的距離
     *
     * @param event
     * @return
     */
    private float getSingeDistance(MotionEvent event) {
        float x = mStartX - event.getX(0);
        float y = mStartY - event.getY(0);
        return (float) Math.sqrt(x * x + y * y);//兩點之間的距離
    }

    /**
     * 計算雙指滑動距離
     *
     * @param event
     */
    private float getDoubleDistance(MotionEvent event) {
        float x = event.getX(1) - event.getX(0);
        float y = event.getY(1) - event.getY(0);
        return (float) Math.sqrt(x * x + y * y);//兩點之間的距離
    }

    /**
     * 計算X方向平移
     *
     * @param matrix 矩陣
     * @return X方向平移
     */
    protected static float calTransX(Matrix matrix) {
        float data[] = new float[9];
        matrix.getValues(data);
        return data[Matrix.MTRANS_X];
    }

    /**
     * 計算Y方向平移
     *
     * @param matrix 矩陣
     * @return Y方向平移
     */
    protected static float calTransY(Matrix matrix) {
        float data[] = new float[9];
        matrix.getValues(data);
        return data[Matrix.MTRANS_Y];
    }

    /**
     * 去兩指的中心點坐標(biāo)
     *
     * @param event
     * @return
     */
    private PointF getMid(MotionEvent event) {
        float midX = (event.getX(1) + event.getX(0)) / 2;
        float midY = (event.getY(1) - event.getY(0)) / 2;
        return new PointF(midX, midY);
    }

    /**
     * 計算縮放倍數(shù)
     * 由于x方向縮放和y方向縮放目前是一樣的才沧,所以只返回x方向縮放
     *
     * @param matrix 矩陣
     * @return 縮放倍數(shù)
     */
    protected static float calScale(Matrix matrix) {
        float data[] = new float[9];
        matrix.getValues(data);
        return data[Matrix.MSCALE_X];
    }

    /**
     * 在繪制過程,將x點轉(zhuǎn)換屏幕坐標(biāo)
     *
     * @param num
     * @return
     */
    private float transectX(float num) {
        return -(num) * (float) scaleY * calScale(mCurrentMatrix);
    }

    /**
     * 在繪制過程集歇,將x點轉(zhuǎn)換屏幕坐標(biāo)
     *
     * @param num
     * @return
     */
    private float transectY(float num) {
        return num * (float) scaleX * calScale(mCurrentMatrix);
    }
}
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末桶略,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子诲宇,更是在濱河造成了極大的恐慌际歼,老刑警劉巖,帶你破解...
    沈念sama閱讀 206,214評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件姑蓝,死亡現(xiàn)場離奇詭異鹅心,居然都是意外死亡,警方通過查閱死者的電腦和手機纺荧,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,307評論 2 382
  • 文/潘曉璐 我一進店門旭愧,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人宙暇,你說我怎么就攤上這事输枯。” “怎么了占贫?”我有些...
    開封第一講書人閱讀 152,543評論 0 341
  • 文/不壞的土叔 我叫張陵用押,是天一觀的道長。 經(jīng)常有香客問我靶剑,道長蜻拨,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 55,221評論 1 279
  • 正文 為了忘掉前任桩引,我火速辦了婚禮缎讼,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘坑匠。我一直安慰自己血崭,他們只是感情好,可當(dāng)我...
    茶點故事閱讀 64,224評論 5 371
  • 文/花漫 我一把揭開白布厘灼。 她就那樣靜靜地躺著夹纫,像睡著了一般。 火紅的嫁衣襯著肌膚如雪设凹。 梳的紋絲不亂的頭發(fā)上舰讹,一...
    開封第一講書人閱讀 49,007評論 1 284
  • 那天,我揣著相機與錄音闪朱,去河邊找鬼月匣。 笑死钻洒,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的锄开。 我是一名探鬼主播素标,決...
    沈念sama閱讀 38,313評論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼萍悴!你這毒婦竟也來了头遭?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 36,956評論 0 259
  • 序言:老撾萬榮一對情侶失蹤癣诱,失蹤者是張志新(化名)和其女友劉穎计维,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體狡刘,經(jīng)...
    沈念sama閱讀 43,441評論 1 300
  • 正文 獨居荒郊野嶺守林人離奇死亡享潜,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 35,925評論 2 323
  • 正文 我和宋清朗相戀三年困鸥,在試婚紗的時候發(fā)現(xiàn)自己被綠了嗅蔬。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 38,018評論 1 333
  • 序言:一個原本活蹦亂跳的男人離奇死亡疾就,死狀恐怖澜术,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情猬腰,我是刑警寧澤鸟废,帶...
    沈念sama閱讀 33,685評論 4 322
  • 正文 年R本政府宣布,位于F島的核電站姑荷,受9級特大地震影響盒延,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜鼠冕,卻給世界環(huán)境...
    茶點故事閱讀 39,234評論 3 307
  • 文/蒙蒙 一添寺、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧懈费,春花似錦计露、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,240評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至泞边,卻和暖如春该押,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背阵谚。 一陣腳步聲響...
    開封第一講書人閱讀 31,464評論 1 261
  • 我被黑心中介騙來泰國打工沈善, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留乡数,地道東北人。 一個月前我還...
    沈念sama閱讀 45,467評論 2 352
  • 正文 我出身青樓闻牡,卻偏偏與公主長得像净赴,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子罩润,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 42,762評論 2 345