Flutter GetX系列教程---Cli使用以及常用命令

GetX Cli安裝

視頻教程地址

零基礎(chǔ)視頻教程地址

第一步:安裝Cli腳手架

我們通過(guò)命令flutter pub global activate get_cli 進(jìn)行腳手架的全局安裝铐尚,本文以Mac OS為例。

JMdeMacBook-Pro:~ jm$ flutter pub global activate get_cli

Resolving dependencies...
+ _fe_analyzer_shared 25.0.0
+ analyzer 2.2.0
+ ansicolor 2.0.1
+ archive 3.1.2
+ args 2.2.0
+ async 2.8.2
+ charcode 1.3.1
+ cli_dialog 0.5.0
+ cli_menu 0.3.0-nullsafety.0
+ cli_util 0.3.3
+ clock 1.1.0
+ collection 1.15.0
+ convert 3.0.1
+ crypto 3.0.1
+ dart_console 1.0.0
+ dart_style 2.0.3
+ ffi 1.1.2
+ file 6.1.2
+ get_cli 1.6.0
+ glob 2.0.1
+ http 0.13.3
+ http_parser 4.0.0
+ intl 0.17.0
+ matcher 0.12.11
+ meta 1.7.0
+ package_config 2.0.0
+ path 1.8.0
+ pedantic 1.11.1
+ process_run 0.12.1+1
+ pub_semver 2.0.0
+ pubspec 2.0.1
+ quiver 3.0.1
+ recase 4.0.0
+ source_span 1.8.1
+ stack_trace 1.10.0
+ string_scanner 1.1.0
+ synchronized 3.0.0
+ term_glyph 1.2.0
+ typed_data 1.3.0
+ uri 1.0.0
+ version 2.0.0
+ watcher 1.0.0
+ win32 2.2.9
+ yaml 3.1.0
Downloading get_cli 1.6.0...
Downloading version 2.0.0...
Downloading recase 4.0.0...
Downloading pubspec 2.0.1...
Downloading cli_menu 0.3.0-nullsafety.0...
Downloading cli_dialog 0.5.0...
Downloading ansicolor 2.0.1...
Downloading uri 1.0.0...
Downloading process_run 0.12.1+1...
Downloading synchronized 3.0.0...
Downloading dart_console 1.0.0...
Downloading quiver 3.0.1...
Downloading dart_style 2.0.3...
Downloading analyzer 2.2.0...
Downloading _fe_analyzer_shared 25.0.0...
Downloading win32 2.2.9...
Building package executables...
Built get_cli:get.
Installed executables get and getx.
Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):

export PATH="$PATH":"$HOME/.pub-cache/bin"

Activated get_cli 1.6.0.

第二步:設(shè)置環(huán)境變量

一般Mac的環(huán)境變量都是通過(guò)根目錄的.bash_profile進(jìn)行環(huán)境變量設(shè)置则剃。

#getX
export PATH="$PATH":"$HOME/.pub-cache/bin"

第三步:使設(shè)置的環(huán)境變量生效

我們可以通過(guò)source 加上路徑蒜魄,對(duì)環(huán)境變量生效酗电。

JMdeMacBook-Pro:~ jm$ source "/Users/jm/.bash_profile"

第四步:校驗(yàn)是否成功安裝

我們通過(guò)get命令,看能不能打印如下,如果有晒喷,那么恭喜你安裝成功了愚争。

JMdeMacBook-Pro:~ jm$ get

List available commands:

  create:  
    controller:  Generate controller
    page:  Use to generate pages
    project:  Use to generate new project
    provider:  Create a new Provider
    screen:  Generate new screen
    view:  Generate view
  generate:  
    locales:  Generate translation file from json files
    model:  generate Class model from json
  help:  Show this help
  init:  generate the chosen structure on an existing project:
  install:  Use to install a package in your project (dependencies):
  remove:  Use to remove a package in your project (dependencies):
  sort:  Sort imports and format dart files
  update:  To update GET_CLI
  --version:  Shows the current CLI version'

Time: 1814 Milliseconds

Cli創(chuàng)建工程

我們可以通過(guò)get create project來(lái)進(jìn)行創(chuàng)建工程映皆,

JMdeMacBook-Pro:getx jm$ get create project

然后出現(xiàn)如下提示,我們選擇創(chuàng)建Flutter Project

-->   1) Flutter Project
      2) Get Server

選擇之后需要輸入工程名稱(chēng)轰枝、公司域名捅彻、選擇iOS語(yǔ)言選擇Android語(yǔ)言鞍陨、是否空安全步淹、是否校驗(yàn),選完知道就會(huì)為我們開(kāi)始創(chuàng)建工程诚撵。

JMdeMacBook-Pro:getx jm$ get create project
-->   1) Flutter Project
      2) Get Server
? what is the name of the project? getx_example
? What is your company's domain?  Example: com.yourcompany  com.jimi

what language do you want to use on ios?

      1) Swift
-->   2) Objective-C

what language do you want to use on android?

      1) Kotlin
-->   2) Java

Do you want to use null safe?

-->   1) Yes!
      2) No

do you want to use some linter?

      1) no
      2) Pedantic [Deprecated]
      3) Effective Dart [Deprecated]
-->   4) Dart Recommended

Running `flutter create /Users/jm/Desktop/Project/getx/getx_example` …

$ flutter create --no-pub -i objc -a java --org com.jimi /Users/jm/Desktop/Project/getx/getx_example
Creating project ....
  test/widget_test.dart (created)
  pubspec.yaml (created)
  README.md (created)
  lib/main.dart (created)
  windows/runner/flutter_window.cpp (created)
  windows/runner/utils.h (created)
  windows/runner/utils.cpp (created)
  windows/runner/runner.exe.manifest (created)
  windows/runner/CMakeLists.txt (created)
  windows/runner/win32_window.h (created)
  windows/runner/Runner.rc (created)
  windows/runner/win32_window.cpp (created)
  windows/runner/resources/app_icon.ico (created)
  windows/runner/main.cpp (created)
  windows/runner/resource.h (created)
  windows/runner/flutter_window.h (created)
  windows/flutter/CMakeLists.txt (created)
  windows/.gitignore (created)
  windows/CMakeLists.txt (created)
  ios/Runner.xcworkspace/contents.xcworkspacedata (created)
  ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (created)
  ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (created)
  ios/Runner/Info.plist (created)
  ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (created)
  ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (created)
  ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (created)
  ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (created)
  ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (created)
  ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (created)
  ios/Runner/Base.lproj/LaunchScreen.storyboard (created)
  ios/Runner/Base.lproj/Main.storyboard (created)
  ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (created)
  ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (created)
  ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (created)
  ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (created)
  ios/Flutter/Debug.xcconfig (created)
  ios/Flutter/Release.xcconfig (created)
  ios/Flutter/AppFrameworkInfo.plist (created)
  ios/.gitignore (created)
  getx_example.iml (created)
  .gitignore (created)
  web/favicon.png (created)
  web/index.html (created)
  web/manifest.json (created)
  web/icons/Icon-maskable-512.png (created)
  web/icons/Icon-192.png (created)
  web/icons/Icon-maskable-192.png (created)
  web/icons/Icon-512.png (created)
  .metadata (created)
  macos/Runner.xcworkspace/contents.xcworkspacedata (created)
  macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (created)
  macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (created)
  macos/Runner/DebugProfile.entitlements (created)
  macos/Runner/Base.lproj/MainMenu.xib (created)
  macos/Runner/MainFlutterWindow.swift (created)
  macos/Runner/Configs/Debug.xcconfig (created)
  macos/Runner/Configs/Release.xcconfig (created)
  macos/Runner/Configs/Warnings.xcconfig (created)
  macos/Runner/Configs/AppInfo.xcconfig (created)
  macos/Runner/AppDelegate.swift (created)
  macos/Runner/Info.plist (created)
  macos/Runner/Release.entitlements (created)
  macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (created)
  macos/Runner.xcodeproj/project.pbxproj (created)
  macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (created)
  macos/Flutter/Flutter-Debug.xcconfig (created)
  macos/Flutter/Flutter-Release.xcconfig (created)
  macos/.gitignore (created)
  ios/Runner/AppDelegate.h (created)
  ios/Runner/main.m (created)
  ios/Runner/AppDelegate.m (created)
  ios/Runner.xcodeproj/project.pbxproj (created)
  android/app/src/profile/AndroidManifest.xml (created)
  android/app/src/main/res/mipmap-mdpi/ic_launcher.png (created)
  android/app/src/main/res/mipmap-hdpi/ic_launcher.png (created)
  android/app/src/main/res/drawable/launch_background.xml (created)
  android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (created)
  android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (created)
  android/app/src/main/res/values-night/styles.xml (created)
  android/app/src/main/res/values/styles.xml (created)
  android/app/src/main/res/drawable-v21/launch_background.xml (created)
  android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (created)
  android/app/src/main/AndroidManifest.xml (created)
  android/app/src/debug/AndroidManifest.xml (created)
  android/gradle/wrapper/gradle-wrapper.properties (created)
  android/gradle.properties (created)
  android/.gitignore (created)
  android/settings.gradle (created)
  android/app/build.gradle (created)
  android/app/src/main/java/com/jimi/getx_example/MainActivity.java (created)
  android/build.gradle (created)
  android/getx_example_android.iml (created)
  analysis_options.yaml (created)
  .idea/runConfigurations/main_dart.xml (created)
  .idea/libraries/Dart_SDK.xml (created)
  .idea/libraries/KotlinJavaRuntime.xml (created)
  .idea/modules.xml (created)
  .idea/workspace.xml (created)
  linux/main.cc (created)
  linux/my_application.h (created)
  linux/my_application.cc (created)
  linux/flutter/CMakeLists.txt (created)
  linux/.gitignore (created)
  linux/CMakeLists.txt (created)
Wrote 129 files.

All done!
In order to run your application, type:

  $ cd .
  $ flutter run

Your application code is in ./lib/main.dart.


Running `flutter pub get` …

$ flutter pub get
Running "flutter pub get" in getx_example...                       898ms
$ dart migrate --apply-changes --skip-import-check
Migrating /Users/jm/Desktop/Project/getx/getx_example

See https://dart.dev/go/null-safety-migration for a migration guide.

Analyzing project...
All sources appear to be already migrated.  Nothing to do.
?  + HandshakeException: Connection terminated during handshake

?  File: analysis_options.yaml created successfully at path: analysis_options.yaml
-->   1) GetX Pattern (by Kauê)
      2) CLEAN (by Arktekko)

Your lib folder is not empty. Are you sure you want to overwrite your application? 
 WARNING: This action is irreversible

-->   1) Yes!
      2) No
?  'Package: get installed!
?  File: main.dart created successfully at path: lib/main.dart
?  File: home_controller.dart created successfully at path: ./lib/app/modules/home/controllers/home_controller.dart
?  File: home_view.dart created successfully at path: ./lib/app/modules/home/views/home_view.dart
?  File: home_binding.dart created successfully at path: ./lib/app/modules/home/bindings/home_binding.dart
?  File: app_routes.dart created successfully at path: lib/app/routes/app_routes.dart
?  File: app_pages.dart created successfully at path: lib/app/routes/app_pages.dart
?  home route created successfully.
?  Home page created successfully.
?  GetX Pattern structure successfully generated.

Running `flutter pub get` …

$ flutter pub get
Running "flutter pub get" in getx_example...                       968ms

Time: 53925 Milliseconds

如果能看到如上就證明通過(guò)Cli創(chuàng)建工程成功了缭裆。

image

Cli創(chuàng)建頁(yè)面

第一種:Getx_pattern

我們可以通過(guò)get create page:login來(lái)快速創(chuàng)建一個(gè)頁(yè)面,這個(gè)頁(yè)面有controller寿烟、view澈驼、bindingroutes等配置筛武,結(jié)構(gòu)是Getx_pattern

JMdeMacBook-Pro:getx_example jm$ get create page:login
?  File: login_controller.dart created successfully at path: ./lib/app/modules/login/controllers/login_controller.dart
?  File: login_view.dart created successfully at path: ./lib/app/modules/login/views/login_view.dart
?  File: login_binding.dart created successfully at path: ./lib/app/modules/login/bindings/login_binding.dart
?  login route created successfully.
?  Login page created successfully.

Time: 453 Milliseconds

JMdeMacBook-Pro:getx_example jm$ 

第二種:CLEAN

我們可以通過(guò)get create page:login來(lái)快速創(chuàng)建一個(gè)頁(yè)面缝其,這個(gè)頁(yè)面有controllerview徘六、binding内边、routes等配置,結(jié)構(gòu)是CLEAN硕噩。

JMdeMacBook-Pro:getx_example jm$ get create screen:name
?  File: name.controller.dart created successfully at path: ./lib/presentation/name/controllers/name.controller.dart
?  File: name.screen.dart created successfully at path: ./lib/presentation/name/name.screen.dart
?  File: name.controller.binding.dart created successfully at path: lib/infrastructure/navigation/bindings/controllers/name.controller.binding.dart
?  File: routes.dart created successfully at path: lib/infrastructure/navigation/routes.dart
?  File: routes.dart created successfully at path: lib/infrastructure/navigation/routes.dart
?  name route created successfully.
?  File: navigation.dart created successfully at path: lib/infrastructure/navigation/navigation.dart
?  Name navigation added successfully.

Time: 482 Milliseconds

Cli創(chuàng)建控制器

我們可以通過(guò)get create controller:login來(lái)快速為已存在的page進(jìn)行創(chuàng)建controller假残,并且他還重新了controller的生命周期以及初始化方法。

get create controller:another on home
?  File: another_controller.dart created successfully at path: ./lib/app/modules/home/controllers/another_controller.dart
?  The Another has been added to binding at path: lib/app/modules/home/bindings/home_binding.dart'

Time: 387 Milliseconds

JMdeMacBook-Pro:getx_example jm$ 

Cli創(chuàng)建View

如果我們只是想單獨(dú)創(chuàng)建一個(gè)View炉擅,那我們可以通過(guò)get create view:alogin on login來(lái)進(jìn)行創(chuàng)建辉懒。

 get create view:alogin on login 
?  File: alogin_view.dart created successfully at path: ./lib/app/modules/login/views/alogin_view.dart

Time: 378 Milliseconds

JMdeMacBook-Pro:getx_example jm$ 

Cli創(chuàng)建Provider

如果我們需要?jiǎng)?chuàng)建GetConnect,那我們可以通過(guò)get create provider:blogin on login來(lái)進(jìn)行創(chuàng)建谍失。

JMdeMacBook-Pro:getx_example jm$ get create provider:blogin on login
?  File: blogin_provider.dart created successfully at path: ./lib/app/modules/login/providers/blogin_provider.dart

Time: 357 Milliseconds

JMdeMacBook-Pro:getx_example jm$ 

Cli創(chuàng)建國(guó)際化

如果我們需要對(duì)應(yīng)用進(jìn)行國(guó)際化配置眶俩,那我們可以通過(guò)get generate locales assets/locales來(lái)進(jìn)行創(chuàng)建。

JMdeMacBook-Pro:getx_example jm$ get generate locales assets/locales
?  File: locales.g.dart created successfully at path: lib/generated/locales.g.dart
?  locale files generated successfully.

Time: 416 Milliseconds

JMdeMacBook-Pro:getx_example jm$ 

Cli通過(guò)json生成模型

第一種:不僅創(chuàng)建模型類(lèi)快鱼,還會(huì)提供Provider

如果我們需要對(duì)某個(gè)json文件生成模型颠印,那我們可以通過(guò)get generate model on home with assets/models/user.json來(lái)進(jìn)行生成

JMdeMacBook-Pro:getx_example jm$ get generate model on home with assets/models/user.json
?  File: user_model.dart created successfully at path: ./lib/app/modules/home/user_model.dart
?  File: user_provider.dart created successfully at path: ./lib/app/modules/home/providers/user_provider.dart

Time: 499 Milliseconds

JMdeMacBook-Pro:getx_example jm$ 

第二種:只生成模型類(lèi)

JMdeMacBook-Pro:getx_example jm$ get generate model on login with assets/models/user.json --skipProvider
?  File: user_model.dart created successfully at path: ./lib/app/modules/login/user_model.dart

Time: 408 Milliseconds

第三種:通過(guò)連接生成模型類(lèi)

JMdeMacBook-Pro:getx_example jm$ get generate model on home from "https://api.github.com/users/CpdnCristiano"
? Could not set the model name automatically, which name do you want to use? githubHome
?  File: github_home_model.dart created successfully at path: ./lib/app/modules/home/github_home_model.dart
?  File: github_home_provider.dart created successfully at path: ./lib/app/modules/home/providers/github_home_provider.dart

Time: 14033 Milliseconds

Cli安裝包(dependencies)

第一種:直接安裝最新版本

JMdeMacBook-Pro:getx_example jm$ get install dio

Installing package "dio" …

?  'Package: dio installed!

Running `flutter pub get` …

$ flutter pub get
Running "flutter pub get" in getx_example...                     2,656ms

Time: 5815 Milliseconds

第二種:同時(shí)安裝多個(gè)包

JMdeMacBook-Pro:getx_example jm$ get install path dio

Installing package "path" …

?  'Package: path installed!

Installing package "dio" …

?  'Package: dio installed!

Running `flutter pub get` …

$ flutter pub get
Running "flutter pub get" in getx_example...                       732ms

Time: 7146 Milliseconds

第三種:安裝自定版本的包

JMdeMacBook-Pro:getx_example jm$ get install prodiver:5.0.0

Installing package "prodiver" …

?  'Package: prodiver installed!

Cli安裝包(dev_dependencies)

我們可以通過(guò)get install flutter_launcher_icons --dev安裝開(kāi)發(fā)時(shí)所依賴(lài)的包

JMdeMacBook-Pro:getx_example jm$ get install flutter_launcher_icons --dev


The [--dev] is not necessary


Installing package "flutter_launcher_icons" …

?  'Package: flutter_launcher_icons installed!

Cli卸載包

第一種:卸載某個(gè)安裝包

JMdeMacBook-Pro:getx_example jm$ get remove http

Removing package: "http"


Package: http is not installed in this application


Running `flutter pub get` …

$ flutter pub get
Running "flutter pub get" in getx_example...                       772ms

Time: 2641 Milliseconds

第二種:同時(shí)卸載多個(gè)包

JMdeMacBook-Pro:getx_example jm$ get remove dio path

Removing package: "dio"

?  Package: dio removed!

Removing package: "path"

?  Package: path removed!

Running `flutter pub get` …

$ flutter pub get
Running "flutter pub get" in getx_example...                     1,085ms

Time: 3142 Milliseconds

Cli更新腳手架

我們可以通過(guò)get update對(duì)腳手架進(jìn)行更新

JMdeMacBook-Pro:getx_example jm$ get update

Latest version of get_cli already installed


Time: 3315 Milliseconds

Cli查看版本號(hào)

我們可以通過(guò)get -v 查看當(dāng)前腳手架的版本號(hào)

JMdeMacBook-Pro:getx_example jm$ get -v
?██████╗?███████╗████████╗?? ?█████╗?██╗??????██╗
██╔════╝?██╔════╝╚══██╔══╝? ?██╔══██╗██║??????██║
██║??██╗?█████╗?????██║???? ?██║??╚═╝██║??????██║
██║??╚██╗██╔══╝?????██║???? ?██║??██╗██║??????██║
╚██████╔╝███████╗???██║???? ?╚█████╔╝███████╗ ██║
?╚═════╝?╚══════╝???╚═╝???? ??╚════╝?╚══════╝ ╚═╝

Version: 1.6.0

Time: 148 Milliseconds

Cli幫助

當(dāng)我們忘記了命令的使用方式纲岭,我們可以通過(guò)get help進(jìn)行查看幫助。

JMdeMacBook-Pro:getx_example jm$ get help

List available commands:

  create:  
    controller:  Generate controller
    page:  Use to generate pages
    project:  Use to generate new project
    provider:  Create a new Provider
    screen:  Generate new screen
    view:  Generate view
  generate:  
    locales:  Generate translation file from json files
    model:  generate Class model from json
  help:  Show this help
  init:  generate the chosen structure on an existing project:
  install:  Use to install a package in your project (dependencies):
  remove:  Use to remove a package in your project (dependencies):
  sort:  Sort imports and format dart files
  update:  To update GET_CLI
  --version:  Shows the current CLI version'

Time: 94 Milliseconds

總結(jié)

以上就是對(duì)Cli的腳手架命令的一個(gè)實(shí)踐和總結(jié)线罕,相對(duì)于自己手動(dòng)創(chuàng)建結(jié)構(gòu)止潮,用Cli就可以很輕松的實(shí)現(xiàn)。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末钞楼,一起剝皮案震驚了整個(gè)濱河市喇闸,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌询件,老刑警劉巖燃乍,帶你破解...
    沈念sama閱讀 218,941評(píng)論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異宛琅,居然都是意外死亡刻蟹,警方通過(guò)查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,397評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門(mén)嘿辟,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)舆瘪,“玉大人,你說(shuō)我怎么就攤上這事仓洼〗樘眨” “怎么了?”我有些...
    開(kāi)封第一講書(shū)人閱讀 165,345評(píng)論 0 356
  • 文/不壞的土叔 我叫張陵色建,是天一觀的道長(zhǎng)哺呜。 經(jīng)常有香客問(wèn)我,道長(zhǎng)箕戳,這世上最難降的妖魔是什么某残? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 58,851評(píng)論 1 295
  • 正文 為了忘掉前任,我火速辦了婚禮陵吸,結(jié)果婚禮上玻墅,老公的妹妹穿的比我還像新娘。我一直安慰自己壮虫,他們只是感情好澳厢,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,868評(píng)論 6 392
  • 文/花漫 我一把揭開(kāi)白布。 她就那樣靜靜地躺著囚似,像睡著了一般剩拢。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上饶唤,一...
    開(kāi)封第一講書(shū)人閱讀 51,688評(píng)論 1 305
  • 那天徐伐,我揣著相機(jī)與錄音,去河邊找鬼募狂。 笑死办素,一個(gè)胖子當(dāng)著我的面吹牛角雷,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播性穿,決...
    沈念sama閱讀 40,414評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼勺三,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了季二?” 一聲冷哼從身側(cè)響起檩咱,我...
    開(kāi)封第一講書(shū)人閱讀 39,319評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤揭措,失蹤者是張志新(化名)和其女友劉穎胯舷,沒(méi)想到半個(gè)月后,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體绊含,經(jīng)...
    沈念sama閱讀 45,775評(píng)論 1 315
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡桑嘶,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,945評(píng)論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了躬充。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片逃顶。...
    茶點(diǎn)故事閱讀 40,096評(píng)論 1 350
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖充甚,靈堂內(nèi)的尸體忽然破棺而出以政,到底是詐尸還是另有隱情,我是刑警寧澤伴找,帶...
    沈念sama閱讀 35,789評(píng)論 5 346
  • 正文 年R本政府宣布盈蛮,位于F島的核電站,受9級(jí)特大地震影響技矮,放射性物質(zhì)發(fā)生泄漏抖誉。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,437評(píng)論 3 331
  • 文/蒙蒙 一衰倦、第九天 我趴在偏房一處隱蔽的房頂上張望袒炉。 院中可真熱鬧,春花似錦樊零、人聲如沸我磁。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 31,993評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)夺艰。三九已至,卻和暖如春塑悼,著一層夾襖步出監(jiān)牢的瞬間劲适,已是汗流浹背。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,107評(píng)論 1 271
  • 我被黑心中介騙來(lái)泰國(guó)打工厢蒜, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留霞势,地道東北人烹植。 一個(gè)月前我還...
    沈念sama閱讀 48,308評(píng)論 3 372
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像愕贡,于是被迫代替她去往敵國(guó)和親草雕。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,037評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容