优雅的动画实现方案SVGA、Lottie

前言

在开发APP的过程中,需要在APP中实现设计同学的UE效果动画,一般都是通过代码实现的,当对于较复杂的动画时,例如直播中刷礼物时的动画,这时利用代码实现会比较复杂。而且AndroidiOS两端不好统一效果,如果用gif图片来实现的话,在图片大小和动画帧数之间很难权衡。而且会导致内存吃紧。为了解决这样的问题,今天来介绍两款实现复杂动画的开源库:LottieSVGA

Lottie

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with bodymovin and renders the vector animations natively on mobile and through React Native!

大致意思是:Lottie是一个可以解析使用【bodymovin】插件从 Adobe After Effects 中导出的格式为json的文件,并在iOSAndroidmacOSReact Native中进行解析使用的开源库。

官方链接

部分效果:

优点&&缺点

优点:

  • 开发成本低,设计师导出json后,开发同学只需引用文件即可。
  • 支持服务端URL创建,服务端可以配置json文件,随时替换动画。
  • 性能提升,替换原使用帧图完成的动画,节省客户端空间和内存。
  • 跨平台,iOSAndroid使用一套方案,效果统一。
  • 支持转场动画

缺点:

  • 对某些AE属性不支持。
  • 对平台有限制,iOS 8.0 以上,Android API 14 以上。
  • 交互动画不可行,主要是播放类型动画。

集成Lottie

官方地址:https://github.com/airbnb/lottie-ios,github 中有 Demo 提供学习。

集成方法可以使用Cocoapods,或手动集成。

Cocoapods集成

一、在podfile中添加:

pod 'lottie-ios'

二、运行

pod install

假如你的项目之前集成过其他三方,比如Masonry,这个时候你编译项目,可能会报code1错误,当然没报错最好。稍安勿躁,人家官方文档说了,还得安装Carthage

安装Carthage

brew install carthage

使用Carthage安装依赖

1、前往文件夹

cd ~/路径/项目文件夹

2、创建一个空的 Carthage 文件 Cartfile

touch Cartfile

3、使用 Xcode 打开 Cartfile 文件

open -a Xcode Cartfile

4、在cartfile里面加一行代码

github "airbnb/lottie-ios" "master"

5、终端执行更新命令

carthage update --platform iOS

手动集成Lottie

demo中的lottie-ios文件夹拖入项目中即可

Lottie的使用

Lottie头文件:

LOTAnimationView.h

//创建视图的几个方法
+ (instancetype)animationNamed:(NSString *)animationName NS_SWIFT_NAME(init(name:));
+ (instancetype)animationNamed:(NSString *)animationName inBundle:(NSBundle *)bundle NS_SWIFT_NAME(init(name:bundle:));
+ (instancetype)animationFromJSON:(NSDictionary *)animationJSON NS_SWIFT_NAME(init(json:));
- (instancetype)initWithContentsOfURL:(NSURL *)url;

//可用属性
@property(nonatomic,readonly)BOOLisAnimationPlaying;   //是否正在动画
@property(nonatomic,assign)BOOLloopAnimation;          //是否循环播放动画
@property(nonatomic,assign)CGFloatanimationProgress;   //动画执行进度
@property(nonatomic,assign)CGFloatanimationSpeed;      //动画速度
@property(nonatomic,readonly)CGFloatanimationDuration; //动画时间

//实例方法
- (void)playWithCompletion:(LOTAnimationCompletionBlock)completion;//动画结束后可以执行一个block
- (void)play;    //播放
- (void)pause;   //暂停
- (void)addSubview:(LOTView *)view toLayerNamed:(NSString *)layer;

#if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR
@property(nonatomic) LOTViewContentMode contentMode;//非iOS的contentMode
#endif

最简单粗暴的方式就是LOTAnimationView来进行初始化,也是比较常用的方式:

LOTAnimationView *animation = [LOTAnimationView animationNamed:@"Lottie"];
[self.view addSubview:animation];
[animation playWithCompletion:^(BOOL animationFinished) {
  // Do Something
}];

当你使用了多个bundle文件时,可以使用以下方法:

LOTAnimationView *animation = [LOTAnimationView animationNamed:@"Lottie" inBundle:[NSBundle YOUR_BUNDLE]];
[self.view addSubview:animation];
[animation playWithCompletion:^(BOOL animationFinished) {
  // Do Something
}];

或者使用URL进行动态加载,注意这里json文件的图片则需要使用网络图片:

LOTAnimationView *animation = [[LOTAnimationView alloc] initWithContentsOfURL:[NSURL URLWithString:URL]];
[self.view addSubview:animation];

效果:

感谢老铁的火山!

image

SVGA

官方链接

SVGAConverter 可以将 Flash 以及 After Effects 动画导出成 .SVGA 文件(实际上是 ZIP 包),供 SVGAPlayer 在各平台播放,SVGAPlayer 支持在 iOS / Android / Web / ReactNative / LayaBox 等平台、游戏引擎播放。

SVGA 做的事情,实际上,非常简单,Converter 会负责从 Flash 或 AE 源文件中提取所有动画元素(位图、矢量),并将其在时间轴中的每帧表现(位移、缩放、旋转、透明度)导出。 Player 会负责将这些信息还原至画布上。

因此,你会发现,SVGA 既有序列帧的特点,又有元素动画的特点。Player 逻辑极度简单,她只负责粗暴地将每一个元素,丝毫不差地渲染到屏幕上,而无须任何插值计算。(我们认为,任何插件计算的逻辑都是复杂的)

也因此,你会发现,SVGA 不同于 Lottie,Lottie 需要在 Player 一层完整地将 After Effects 所有逻辑实现,而 SVGA 则将这些逻辑免去。也因此,SVGA 可以同时支持 Flash,我们相信 Flash 以及其继承者 Animate CC 仍然有强大的生命力,以及完善的设计生态。

SVGA 最初的目标是为降低序列帧动画开销而生的,因此,性能问题一直是 SVGA 关注的焦点。如果你可以深入地探究 SVGA 的实现方式,你会发现,SVGA 实质上做了一件非常重要的事情。她会在动画播放前,一次性地上传所有纹理到 GPU,接着,在播放的过程中,这些纹理会被重复使用。CPU 与 GPU 交换的次数大大减少,同时,纹理的数目也在可控范围。内存、CPU、GPU 占用能达到最优状态。

SVGA的集成

官方 GitHub:https://github.com/yyued/SVGAPlayer-iOS, GitHub 中有 Demo 提供学习。

一、在podfile中添加:

pod 'SVGAPlayer'

二、运行

pod install

手动集成踩雷

因为项目中未使用 Cocoapods ,所以要求手动集成 SVGA 到项目中,但是官方仅提供了 pods 的集成方法,下面来说下手动集成的问题:

1、在 GitHub中下载项目工程,将以下文件夹导入工程:

Protobuf,SSZipArchive,SVGAPlayer

此时 build 可能会报错头文件不存在,采用以下方法:

Targets -> Build Settings -> Header Search Pahts 添加路径

"$(SRCROOT)/JFAnimationDemo/Libs/Protobuf/objectivec"
"$(SRCROOT)/JFAnimationDemo/Libs/SSZipArchive"

注意:这里根据项目中具体类的位置进行相应的修改。

解决头文件不存在问题之后,下面可能会出现内存管理方法不可调用的问题。这是因为代码库中的部分类使用的是非ARC,所以需要对部分类进行配置:

Targets -> Build Phrases -> Compile Sources 修改以下类的 Compiler Flags

设置 Compiler Flags 为 -fno-objc-arc

GPBCodedOutputStream.m,
GPBCodedInputStream.m,
GPBUnknownFieldSet.m,
GPBUtilities.m,
GPBExtensionInternals.m,
GPBArray.m,
GPBRootObject.m,
GPBExtensionRegistry.m,
GPBDescriptor.m,
Struct.pbobjc.m,
GPBWellKnownTypes.m,
Svga.pbobjc.m,
GPBDictionary.m,
Type.pbobjc.m,
GPBMessage.m,
GPBUnknownField.m

SVGA的使用

首先初始化 SVGAPlayer 对象:

- (SVGAPlayer *)svgaPlayer
{
    if (!_svgaPlayer)
    {
        _svgaPlayer = [[SVGAPlayer alloc] init];
        _svgaPlayer.frame = self.bounds;
        _svgaPlayer.loops = 1;
        _svgaPlayer.clearsAfterStop = YES;
        _svgaPlayer.delegate = self;
    }
    
    return _svgaPlayer;
}

然后初始化 SVGAParser 对象:

- (SVGAParser *)svgaParser
{
    if (!_svgaParser)
    {
        _svgaParser = [[SVGAParser alloc] init];
    }
    
    return _svgaParser;
}

加载动画,主要有三种方式:

  • URL、Request
  • Data
  • Name

SVGAParser.h 头文件中有如下方法:

- (void)parseWithURL:(nonnull NSURL *)URL
     completionBlock:(void ( ^ _Nonnull )(SVGAVideoEntity * _Nullable videoItem))completionBlock
        failureBlock:(void ( ^ _Nullable)(NSError * _Nullable error))failureBlock;

- (void)parseWithURLRequest:(nonnull NSURLRequest *)URLRequest
            completionBlock:(void ( ^ _Nonnull )(SVGAVideoEntity * _Nullable videoItem))completionBlock
               failureBlock:(void ( ^ _Nullable)(NSError * _Nullable error))failureBlock;

- (void)parseWithData:(nonnull NSData *)data
             cacheKey:(nonnull NSString *)cacheKey
      completionBlock:(void ( ^ _Nullable)(SVGAVideoEntity * _Nonnull videoItem))completionBlock
         failureBlock:(void ( ^ _Nullable)(NSError * _Nonnull error))failureBlock;

- (void)parseWithNamed:(nonnull NSString *)named
              inBundle:(nullable NSBundle *)inBundle
       completionBlock:(void ( ^ _Nullable)(SVGAVideoEntity * _Nonnull videoItem))completionBlock
          failureBlock:(void ( ^ _Nullable)(NSError * _Nonnull error))failureBlock;

调用此方法后,将返回的 videoItem 对象赋值,然后开始加载动画:

__weak __typeof(&*self)weakSelf = self;

[self.svgaParser parseWithNamed:self.animationName inBundle:nil completionBlock:^(SVGAVideoEntity * _Nonnull videoItem) {
                
    __strong __typeof(self)strongSelf = weakSelf;
    strongSelf.svgaPlayer.videoItem = videoItem;
    [strongSelf.svgaPlayer startAnimation];
                
} failureBlock:^(NSError * _Nonnull error) {
                
    NSLog(@"Error: %@",error);
                
}];

效果:

感谢老铁的香吻!

image

One More Thing

SVGA 的官方库中提供了替换图层的 API ,什么意思呢?

可能我们会有这样的需求:我们所需要的动画中,部分图层是需要可配置的,例如以下效果:

image

需求要求配对双方的头像可配置,而且需配置他们的用户名,这时我们可以调用以下方法进行实现。

#pragma mark - Dynamic Object

- (void)setImage:(UIImage *)image forKey:(NSString *)aKey;
- (void)setImageWithURL:(NSURL *)URL forKey:(NSString *)aKey;
- (void)setImage:(UIImage *)image forKey:(NSString *)aKey referenceLayer:(CALayer *)referenceLayer; // deprecated from 2.0.1
- (void)setAttributedText:(NSAttributedString *)attributedText forKey:(NSString *)aKey;

这里的 key 是事先和设计同学商定的,也可以拿到 SVGA 文件后进行解析,这里官网提供了一个在线的解析网址:http://svga.io/svga-preview.html,

可以解析 SVGA 文件中用户头像的图层名称为 “user1” 调用相应方法进行替换即可。

image

替换图层之后的效果:

image

The Last

项目中同时集成了 SVGA、Lottie 两套代码库,为了平时更高效的进行开发,将其封装为同一工具类,暴露出共有部分,方便使用。写的不好的地方,大家多提意见😉

JFAnimationView.h

//
//  JFAnimationView.h
//  AnimationDemo
//
//  Created by Japho on 2018/10/31.
//  Copyright © 2018 Japho. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class JFAnimationView;

typedef NS_ENUM(NSUInteger, JFAnimationType) {
    AnimationTypeSVGA = 0,
    AnimationTypeLottie
};

typedef void (^JFAnimationCompletionBlock)(void);

@protocol JFAnimationViewDelegate <NSObject>


/**
 动画结束回调代理

 @param animationView 动画视图
 */
- (void)animationViewDidFinishedAnimation:(JFAnimationView *)animationView;

@end

@interface JFAnimationView : UIView

@property (nonatomic, assign) BOOL loopAnimation;   //动画是否循环
@property (nonatomic, assign) id<JFAnimationViewDelegate> delegate;
@property (nonatomic, copy) JFAnimationCompletionBlock completionBlock; //动画完成回调block


/**
 类初始化方法

 @param frame frame
 @param animationType 动画类型
 @param animationName 动画文件名称
 @return 动画视图
 */
+ (instancetype)animationViewWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationName:(NSString *)animationName;


/**
 类初始化方法

 @param frame frame
 @param animationType 动画类型
 @param animationURL 动画网络地址URL
 @return 动画视图
 */
+ (instancetype)animationViewWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationURL:(NSURL *)animationURL;


/**
 对象初始化方法

 @param frame frame
 @param animationType 动画类型
 @param animationName 动画文件名称
 @return 动画视图
 */
- (instancetype)initWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationName:(NSString *)animationName;


/**
 对象初始化方法

 @param frame frame
 @param animationType 动画类型
 @param animationURL 动画网络地址URL
 @return 动画视图
 */
- (instancetype)initWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationURL:(NSURL *)animationURL;


/**
 开始动画
 */
- (void)startAnimating;


/**
 结束动画
 */
- (void)stopAnimating;


/**
 开始动画

 @param completion 动画完成后回调
 */
- (void)startAnimatingWithCompletion:(JFAnimationCompletionBlock)completion;


/**
 替换SGVA动画中的图片

 解析SVGA资源文件:http://svga.io/svga-preview.html
 
 @param image 将要替换的资源图片
 @param key SVGA动画中被替换资源图片的key
 */
- (void)setImage:(UIImage *)image forSVGAAnimationWithKey:(NSString *)key;


/**
 设置SVGA动画中图片上方文字

 解析SVGA资源文件:http://svga.io/svga-preview.html
 
 @param attributedText attributedText
 @param key SVGA动画中添加文字于资源图片的key
 */
- (void)setAttributedText:(NSAttributedString *)attributedText forSVGAAnimationWithKey:(NSString *)key;

@end

NS_ASSUME_NONNULL_END

JFAnimationView.m

//
//  JFAnimationView.m
//  AnimationDemo
//
//  Created by Japho on 2018/10/31.
//  Copyright © 2018 Japho. All rights reserved.
//

#import "JFAnimationView.h"
#import "SVGA.h"
#import "LOTAnimationView.h"

@interface JFAnimationView () <SVGAPlayerDelegate>

@property (nonatomic, assign) JFAnimationType animationType;
@property (nonatomic, strong) SVGAPlayer *svgaPlayer;
@property (nonatomic, strong) SVGAParser *svgaParser;
@property (nonatomic, strong) LOTAnimationView *lotAnimationView;
@property (nonatomic, strong) NSString *animationName;
@property (nonatomic, strong) NSURL *animationUrl;

@end

@implementation JFAnimationView

+ (instancetype)animationViewWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationName:(NSString *)animationName
{
    return [[JFAnimationView alloc] initWithFrame:frame animationType:animationType animationName:animationName];
}

+ (instancetype)animationViewWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationURL:(NSURL *)animationURL
{
    return [[JFAnimationView alloc] initWithFrame:frame animationType:animationType animationURL:animationURL];
}

- (instancetype)initWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationName:(NSString *)animationName
{
    self = [super initWithFrame:frame];
    
    if (self)
    {
        _animationType = animationType;
        
        NSArray *components = [animationName componentsSeparatedByString:@"."];
        animationName = components.firstObject;
        
        [self setupUIWithAnimationName:animationName];
    }
    
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame animationType:(JFAnimationType)animationType animationURL:(NSURL *)animationURL
{
    self = [super initWithFrame:frame];
    
    if (self)
    {
        _animationType = animationType;
        
        [self setupUIWithAnimationURL:animationURL];
    }
    
    return self;
}

- (void)setupUIWithAnimationName:(NSString *)animationName
{
    if (self.animationType == AnimationTypeSVGA)
    {
        self.animationName = animationName;
        [self addSubview:self.svgaPlayer];
    }
    else if (self.animationType == AnimationTypeLottie)
    {
        self.lotAnimationView = [LOTAnimationView animationNamed:animationName];
        self.lotAnimationView.frame = self.bounds;
        
        [self addSubview:self.lotAnimationView];
    }
}

- (void)setupUIWithAnimationURL:(NSURL *)animationURL
{
    if (self.animationType == AnimationTypeSVGA)
    {
        self.animationUrl = animationURL;
        [self addSubview:self.svgaPlayer];
    }
    else if (self.animationType == AnimationTypeLottie)
    {
        self.lotAnimationView = [[LOTAnimationView alloc] initWithContentsOfURL:animationURL];
        self.lotAnimationView.frame = self.bounds;
        
        [self addSubview:self.lotAnimationView];
    }
}

- (void)startAnimating
{
    if (self.animationType == AnimationTypeSVGA)
    {
        if (self.animationName)
        {
            __weak __typeof(&*self)weakSelf = self;
            
            [self.svgaParser parseWithNamed:self.animationName inBundle:nil completionBlock:^(SVGAVideoEntity * _Nonnull videoItem) {
                
                __strong __typeof(self)strongSelf = weakSelf;
                strongSelf.svgaPlayer.videoItem = videoItem;
                [strongSelf.svgaPlayer startAnimation];
                
            } failureBlock:^(NSError * _Nonnull error) {
                
                NSLog(@"Error: %@",error);
                
            }];
        }
        else if (self.animationUrl)
        {
            __weak __typeof(&*self)weakSelf = self;
            
            [self.svgaParser parseWithURL:self.animationUrl completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {
                
                __strong __typeof(self)strongSelf = weakSelf;
                strongSelf.svgaPlayer.videoItem = videoItem;
                [strongSelf.svgaPlayer startAnimation];
                
            } failureBlock:^(NSError * _Nullable error) {
                
                NSLog(@"Error: %@",error);
                
            }];
        }
    }
    else if (self.animationType == AnimationTypeLottie)
    {
        [self.lotAnimationView playWithCompletion:^(BOOL animationFinished) {
            
            if (self.delegate && [self.delegate respondsToSelector:@selector(animationViewDidFinishedAnimation:)])
            {
                [self.delegate animationViewDidFinishedAnimation:self];
            }
            
        }];
    }
}

- (void)startAnimatingWithCompletion:(JFAnimationCompletionBlock)completion
{
    if (self.animationType == AnimationTypeSVGA)
    {
        if (self.animationName)
        {
            __weak __typeof(&*self)weakSelf = self;
            
            [self.svgaParser parseWithNamed:self.animationName inBundle:nil completionBlock:^(SVGAVideoEntity * _Nonnull videoItem) {
                
                __strong __typeof(self)strongSelf = weakSelf;
                strongSelf.svgaPlayer.videoItem = videoItem;
                [strongSelf.svgaPlayer startAnimation];
                strongSelf.completionBlock = completion;
                
            } failureBlock:^(NSError * _Nonnull error) {
                
                NSLog(@"Error: %@",error);
                
            }];
        }
        else if (self.animationUrl)
        {
            __weak __typeof(&*self)weakSelf = self;
            
            [self.svgaParser parseWithURL:self.animationUrl completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {
                
                __strong __typeof(self)strongSelf = weakSelf;
                strongSelf.svgaPlayer.videoItem = videoItem;
                [strongSelf.svgaPlayer startAnimation];
                strongSelf.completionBlock = completion;
                
            } failureBlock:^(NSError * _Nullable error) {
                
                NSLog(@"Error: %@",error);
                
            }];
        }
    }
    else if (self.animationType == AnimationTypeLottie)
    {
        [self.lotAnimationView playWithCompletion:^(BOOL animationFinished) {
            
            completion();
            
        }];
    }
}

- (void)stopAnimating
{
    if (self.animationType == AnimationTypeSVGA)
    {
        [self.svgaPlayer stopAnimation];
        
        if (self.delegate && [self.delegate respondsToSelector:@selector(animationViewDidFinishedAnimation:)])
        {
            [self.delegate animationViewDidFinishedAnimation:self];
        }
    }
    else if (self.animationType == AnimationTypeLottie)
    {
        [self.lotAnimationView stop];
    }
    
    [self removeFromSuperview];
}

- (void)setImage:(UIImage *)image forSVGAAnimationWithKey:(NSString *)key
{
    if (self.animationType == AnimationTypeSVGA)
    {
        [self.svgaPlayer setImage:image forKey:key];
    }
}

- (void)setAttributedText:(NSAttributedString *)attributedText forSVGAAnimationWithKey:(NSString *)key
{
    if (self.animationType == AnimationTypeSVGA)
    {
        [self.svgaPlayer setAttributedText:attributedText forKey:key];
    }
}

#pragma mark - --- SVGAPlayer Delegate ---

- (void)svgaPlayerDidFinishedAnimation:(SVGAPlayer *)player
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(animationViewDidFinishedAnimation:)])
    {
        [self.delegate animationViewDidFinishedAnimation:self];
    }
    
    if (self.completionBlock)
    {
        self.completionBlock();
    }
}

#pragma mark - --- Setter & Getter ---

- (SVGAPlayer *)svgaPlayer
{
    if (!_svgaPlayer)
    {
        _svgaPlayer = [[SVGAPlayer alloc] init];
        _svgaPlayer.frame = self.bounds;
        _svgaPlayer.loops = 1;
        _svgaPlayer.clearsAfterStop = YES;
        _svgaPlayer.delegate = self;
    }
    
    return _svgaPlayer;
}

- (SVGAParser *)svgaParser
{
    if (!_svgaParser)
    {
        _svgaParser = [[SVGAParser alloc] init];
    }
    
    return _svgaParser;
}

- (void)setLoopAnimation:(BOOL)loopAnimation
{
    _loopAnimation = loopAnimation;
    
    if (self.animationType == AnimationTypeSVGA)
    {
        self.svgaPlayer.loops = loopAnimation ? 0 : 1;
    }
    else if (self.animationType == AnimationTypeLottie)
    {
        self.lotAnimationView.loopAnimation = loopAnimation;
    }
}

@end

结语

大概简单的介绍了当前比较好用的两个动画加载库,希望大家对大家着手开发有所帮助,如果有问题也可以在评论区留言会这联系我的邮箱,收到后会及时回复。喜欢的老铁收藏下,双击666。好了,我们本期博客到此结束,我们下次再见。

博主个人博客:https://japho.top,欢迎来搞

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

推荐阅读更多精彩内容