diff --git a/src/code/grid.js b/src/code/grid.js
new file mode 100644
index 0000000..f17952b
--- /dev/null
+++ b/src/code/grid.js
@@ -0,0 +1,24 @@
+let code = {};
+
+code.import = `
+"usingComponents": {
+ "i-grid": "../../dist/grid/index",
+ "i-grid-item": "../../dist/grid-item/index",
+ "i-grid-icon": "../../dist/grid-icon/index",
+ "i-grid-label": "../../dist/grid-label/index"
+}
+`;
+code.usage = `
+
+
+
+
+
+ Grid
+
+ Grid
+ Grid
+
+`;
+
+export default code;
\ No newline at end of file
diff --git a/src/router.js b/src/router.js
index 545061e..dfd16fc 100755
--- a/src/router.js
+++ b/src/router.js
@@ -30,6 +30,13 @@ const routers = [
},
component: (resolve) => require(['./views/components/layout.vue'], resolve)
},
+ {
+ path: '/components/grid',
+ meta: {
+ title: '宫格 Grid'
+ },
+ component: (resolve) => require(['./views/components/grid.vue'], resolve)
+ },
{
path: '*',
redirect: '/'
diff --git a/src/views/components/grid.vue b/src/views/components/grid.vue
new file mode 100644
index 0000000..f259202
--- /dev/null
+++ b/src/views/components/grid.vue
@@ -0,0 +1,117 @@
+
+
+
+ Grid 宫格
+
+ 基础宫格布局。每行 3 个宫格使用最佳。
+ 宫格共包含 4 个组件:i-grid、i-grid-item、i-grid-icon、i-grid-label,其中,i-grid-icon 和 i-grid-label 默认定制好了样式,但在开发中也可不用这两个组件。
+
+ 在 .json 中引入组件
+ {{ code.import }}
+
+ {{ code.usage }}
+
+
+
+
+
+
+
+
+ 属性 |
+ 说明 |
+ 类型 |
+ 默认值 |
+
+
+
+
+ i-class |
+ 自定义 class 类名 |
+ String |
+ - |
+
+
+
+
+
+
+
+ 属性 |
+ 说明 |
+ 类型 |
+ 默认值 |
+
+
+
+
+ i-class |
+ 自定义 class 类名 |
+ String |
+ - |
+
+
+
+
+
+
+
+ 属性 |
+ 说明 |
+ 类型 |
+ 默认值 |
+
+
+
+
+ i-class |
+ 自定义 class 类名 |
+ String |
+ - |
+
+
+
+
+
+
+
+ 属性 |
+ 说明 |
+ 类型 |
+ 默认值 |
+
+
+
+
+ i-class |
+ 自定义 class 类名 |
+ String |
+ - |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/components/layout.vue b/src/views/components/layout.vue
index 2cbdd68..8bd532e 100644
--- a/src/views/components/layout.vue
+++ b/src/views/components/layout.vue
@@ -21,7 +21,7 @@
-
+
-
+
diff --git a/src/views/practice/case-en.vue b/src/views/practice/case-en.vue
deleted file mode 100644
index f2dc8d5..0000000
--- a/src/views/practice/case-en.vue
+++ /dev/null
@@ -1,164 +0,0 @@
-
-
-
-
- Practical Cases
- iView is a set of front-end solutions developed by TalkingData for intermediate and backend business, including engineering, theme customization, multi-language and other functions, greatly improving the development efficiency.
- Since late 2016, iView has been used in many new projects of TalkingData, and even gradually used in refactoring of some core projects.
- iView has gradually become the design and development specification for TalkingData.
-
-
-
-
- DMap is a data visualization platform that focuses on location-related big data. TalkingData's data assets and even the big data industry's data are mostly location-giving data. DMap takes geographical analysis of location data as the core, takes into account traditional data visualization methods such as chart analysis, and builds data reports based on this. The ability of large-screen applications can meet the data analysis and visualization requirements of data analysts and data scientists, and can improve the development efficiency of similar applications in the form of JS-SDK in the near future.
- Immediate access
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
- Smart Selection (SS) is a joint venture of Tencent Cloud and TalkingData. It combines the advantages of both parties, integrates classic models and prediction algorithms, and integrates massive data and machine learning. It is designed to address the location of entity stores and the operation of business districts. Problems, intelligence products for smart retail and diversified offline industries.
- Immediate access
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
- App analytics is the core product of TalkingData. Due to historical reasons, the project has been precipitated for a long time. Compared with the traditional development model of the previous version, AppAnalytics has fully been refactored based on iView, and its visual effects and interaction has been greatly improved.
- Immediate access
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
- Easy Mock is a persistent service that generates mock data quickly and provids visualization view. It based on iView and rendered by server (SSR).
- Immediate access
-
-
-
-
-
-

-
-
-
-
-
-
-
-
- Marketing Cloud is an integrated database marketing product, providing a 360-degree analysis service of customer characteristics and building a comprehensive user portrait based on big data.
- Immediate access
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/practice/case.vue b/src/views/practice/case.vue
deleted file mode 100644
index c1c91f0..0000000
--- a/src/views/practice/case.vue
+++ /dev/null
@@ -1,164 +0,0 @@
-
-
-
-
- 实践案例
- iView 是由 TalkingData 开发的,面向中后台业务的一整套前端解决方案,包含了工程构建、主题定制、多语言等功能,极大提升了开发效率。
- 从 2016 年下旬开始,TalkingData 的众多新项目开始使用 iView,部分核心项目已逐步开始使用 iView 重构。
- iView 已逐步成为 TalkingData 的设计和开发规范。
-
-
-
-
- DMap 是一个专注于位置相关大数据的数据可视化平台。TalkingData 的数据资产乃至大数据行业的数据大部分都是给予位置的数据,DMap 以给予位置的大数据的地理分析为核心,兼顾图表分析等传统数据可视化手段,并在此基础上构建数据报告、大屏应用的能力,可以满足数据分析师和数据科学家的数据分析及可视化需求,并能够在不久的将来以 JS-SDK 的形式提高相似应用的开发效率。
- 立即访问
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
- 智能选址(Smart Selection,SS)是腾讯云与 TalkingData 联合,依托双方优势,结合经典模型和预测算法,将海量数据与机器学习有机整合,旨在解决实体门店的选址、商圈经营等场景问题,为智慧零售及多元化线下产业助力的数据智能产品。
- 立即访问
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
- App 统计分析是 TalkingData 最核心的产品,因历史原因,项目已沉淀很久,开发模式也比较传统,现已全面基于 iView 进行重构,视觉和交互都有极大的提升。
- 立即访问
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
- Easy Mock 是由大搜车开发的一个可视化,并且能快速生成模拟数据的持久化服务。全站基于 iView 并且由服务端渲染(SSR)。
- 立即访问
-
-
-
-
-
-

-
-
-
-
-
-
-
-
- Marketing Cloud营销云是一体化数据营销产品,提供360度客群特征分析服务,用大数据全面构建人群画像。
- 立即访问
-
-
-
-
-
-

-
-
-
-
-

-
-
-
-
-

-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/practice/logo-en.vue b/src/views/practice/logo-en.vue
deleted file mode 100644
index 2d6d04d..0000000
--- a/src/views/practice/logo-en.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- iView Logo Design
-
-

-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/practice/logo.vue b/src/views/practice/logo.vue
deleted file mode 100644
index 4925604..0000000
--- a/src/views/practice/logo.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- iView Logo 设计思路
-
-

-
-
-
-
-
\ No newline at end of file