|
26 | 26 | </Row> |
27 | 27 | <div class="line-gray"></div> |
28 | 28 | <Row class="margin-top-8"> |
29 | | - <Col span="8"><p class="notwrap">上次登录时间:</p></Col> |
| 29 | + <Col span="8"><p class="notwrap">Last login time:</p></Col> |
30 | 30 | <Col span="16" class="padding-left-8">2017.09.12-13:32:20</Col> |
31 | 31 | </Row> |
32 | 32 | <Row class="margin-top-8"> |
33 | | - <Col span="8"><p class="notwrap">上次登录地点:</p></Col> |
34 | | - <Col span="16" class="padding-left-8">北京</Col> |
| 33 | + <Col span="8"><p class="notwrap">Last login location:</p></Col> |
| 34 | + <Col span="16" class="padding-left-8">Beijing</Col> |
35 | 35 | </Row> |
36 | 36 | </Card> |
37 | 37 | </Col> |
38 | 38 | <Col :md="12" :lg="24" :style="{marginBottom: '10px'}"> |
39 | 39 | <Card> |
40 | 40 | <p slot="title" class="card-title"> |
41 | 41 | <Icon type="android-checkbox-outline"></Icon> |
42 | | - 待办事项 |
| 42 | + To do |
43 | 43 | </p> |
44 | 44 | <a type="text" slot="extra" @click.prevent="addNewToDoItem"> |
45 | 45 | <Icon type="plus-round"></Icon> |
46 | 46 | </a> |
47 | 47 | <Modal |
48 | 48 | v-model="showAddNewTodo" |
49 | | - title="添加新的待办事项" |
| 49 | + title="Add new to-do list" |
50 | 50 | @on-ok="addNew" |
51 | 51 | @on-cancel="cancelAdd"> |
52 | 52 | <Row type="flex" justify="center"> |
53 | | - <Input v-model="newToDoItemValue" icon="compose" placeholder="请输入..." style="width: 300px" /> |
| 53 | + <Input v-model="newToDoItemValue" icon="compose" placeholder="Please enter..." style="width: 300px" /> |
54 | 54 | </Row> |
55 | 55 | <Row slot="footer"> |
56 | | - <Button type="text" @click="cancelAdd">取消</Button> |
57 | | - <Button type="primary" @click="addNew">确定</Button> |
| 56 | + <Button type="text" @click="cancelAdd">{{'Cancel' | l}}</Button> |
| 57 | + <Button type="primary" @click="addNew">{{'Save' | l}}</Button> |
58 | 58 | </Row> |
59 | 59 | </Modal> |
60 | 60 | <div class="to-do-list-con"> |
|
74 | 74 | :end-val="count.createUser" |
75 | 75 | iconType="android-person-add" |
76 | 76 | color="#2d8cf0" |
77 | | - intro-text="今日新增用户" |
| 77 | + intro-text="New users" |
78 | 78 | ></infor-card> |
79 | 79 | </Col> |
80 | 80 | <Col :xs="24" :sm="12" :md="6" :style="{marginBottom: '10px'}"> |
|
84 | 84 | iconType="ios-eye" |
85 | 85 | color="#64d572" |
86 | 86 | :iconSize="50" |
87 | | - intro-text="今日浏览量" |
| 87 | + intro-text="Page views" |
88 | 88 | ></infor-card> |
89 | 89 | </Col> |
90 | 90 | <Col :xs="24" :sm="12" :md="6" :style="{marginBottom: '10px'}"> |
|
93 | 93 | :end-val="count.collection" |
94 | 94 | iconType="upload" |
95 | 95 | color="#ffd572" |
96 | | - intro-text="今日数据采集量" |
| 96 | + intro-text="Uploaded data" |
97 | 97 | ></infor-card> |
98 | 98 | </Col> |
99 | 99 | <Col :xs="24" :sm="12" :md="6" :style="{marginBottom: '10px'}"> |
|
102 | 102 | :end-val="count.transfer" |
103 | 103 | iconType="shuffle" |
104 | 104 | color="#f25e43" |
105 | | - intro-text="今日服务调用量" |
| 105 | + intro-text="Total calls" |
106 | 106 | ></infor-card> |
107 | 107 | </Col> |
108 | 108 | </Row> |
109 | 109 | <Row> |
110 | 110 | <Card :padding="0"> |
111 | 111 | <p slot="title" class="card-title"> |
112 | 112 | <Icon type="map"></Icon> |
113 | | - 今日服务调用地理分布 |
| 113 | + Call geography |
114 | 114 | </p> |
115 | 115 | <div class="map-con"> |
116 | 116 | <Col span="10"> |
|
131 | 131 | <Card> |
132 | 132 | <p slot="title" class="card-title"> |
133 | 133 | <Icon type="android-map"></Icon> |
134 | | - 上周每日来访量统计 |
| 134 | + Daily visit statistics |
135 | 135 | </p> |
136 | 136 | <div class="data-source-row"> |
137 | 137 | <visite-volume></visite-volume> |
|
142 | 142 | <Card> |
143 | 143 | <p slot="title" class="card-title"> |
144 | 144 | <Icon type="ios-pulse-strong"></Icon> |
145 | | - 数据来源统计 |
| 145 | + Data source statistics |
146 | 146 | </p> |
147 | 147 | <div class="data-source-row"> |
148 | 148 | <data-source-pie></data-source-pie> |
|
153 | 153 | <Card> |
154 | 154 | <p slot="title" class="card-title"> |
155 | 155 | <Icon type="android-wifi"></Icon> |
156 | | - 各类用户服务调用变化统计 |
| 156 | + WIFI Statistics |
157 | 157 | </p> |
158 | 158 | <div class="data-source-row"> |
159 | 159 | <user-flow></user-flow> |
|
165 | 165 | <Card> |
166 | 166 | <p slot="title" class="card-title"> |
167 | 167 | <Icon type="ios-shuffle-strong"></Icon> |
168 | | - 上周每日服务调用量(万) |
| 168 | + Daily service calls |
169 | 169 | </p> |
170 | 170 | <div class="line-chart-con"> |
171 | 171 | <service-requests></service-requests> |
@@ -204,19 +204,19 @@ export default { |
204 | 204 | return { |
205 | 205 | toDoList: [ |
206 | 206 | { |
207 | | - title: '去iView官网学习完整的iView组件' |
| 207 | + title: 'Todo item 1' |
208 | 208 | }, |
209 | 209 | { |
210 | | - title: '去iView官网学习完整的iView组件' |
| 210 | + title: 'Todo item 2' |
211 | 211 | }, |
212 | 212 | { |
213 | | - title: '去iView官网学习完整的iView组件' |
| 213 | + title: 'Todo item 3' |
214 | 214 | }, |
215 | 215 | { |
216 | | - title: '去iView官网学习完整的iView组件' |
| 216 | + title: 'Todo item 4' |
217 | 217 | }, |
218 | 218 | { |
219 | | - title: '去iView官网学习完整的iView组件' |
| 219 | + title: 'Todo item 5' |
220 | 220 | } |
221 | 221 | ], |
222 | 222 | count: { |
@@ -249,7 +249,7 @@ export default { |
249 | 249 | }, 200); |
250 | 250 | this.showAddNewTodo = false; |
251 | 251 | } else { |
252 | | - this.$Message.error('请输入待办事项内容'); |
| 252 | + this.$Message.error('Please enter the content of the to-do list'); |
253 | 253 | } |
254 | 254 | }, |
255 | 255 | cancelAdd () { |
|
0 commit comments