quanyawei
2024-08-28 247dacca9784396eeaf17ef3e85c7ae646b786e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<template>
  <div>
    <av-page-header>
      <div slot="breadcrumb">
        <a-breadcrumb>
          <a-breadcrumb-item>
            <a >{{$t(`menu.home`)}}</a>
          </a-breadcrumb-item>
          <a-breadcrumb-item>{{$t(`menu.dashboard.workplace`)}}</a-breadcrumb-item>
        </a-breadcrumb>
      </div>
      <div slot="title">{{$t(`menu.dashboard.workplace`)}}</div>
      <div  slot="content" class="page-content">
        <div class="avatar">
          <a-avatar src="https://gw.alipayobjects.com/zos/rmsportal/lctvVCLfRpYCkYxAsiVQ.png"></a-avatar>
        </div>
        <div class="desc">
          <div class="desc-title">欢迎您来到七星瓢虫环境科技!</div>
          <div>七星瓢虫环境监测管理系统</div>
        </div>
      </div>
<!--      <div slot="extra" class="page-extra">-->
<!--        <div>-->
<!--          <p>项目数</p>-->
<!--          <p>56</p>-->
<!--        </div>-->
<!--        <div>-->
<!--          <p>团队内排名</p>-->
<!--          <p>8-->
<!--            <span> / 24</span>-->
<!--          </p>-->
<!--        </div>-->
<!--        <div>-->
<!--          <p>项目访问</p>-->
<!--          <p>2,223</p>-->
<!--        </div>-->
 
<!--      </div>-->
    </av-page-header>
 
 
 
  </div>
</template>
 
 
<script  lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import { State, Mutation, namespace } from 'vuex-class';
const appModule = namespace('app');
 
@Component({
    components: {
    },
})
export default class Workplace extends Vue {
 
    constructor() {
        super();
    }
 
    get notice() {
        return [
            {
                description: '那是一种内在的东西,他们到达不了,也无法触及的',
                href: '',
                id: 'xxx1',
                logo: 'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png',
                member: '科学搬砖组',
                memberLink: '',
                title: 'Alipay',
                updatedAt: '2018-09-16T13: 03: 20.729Z',
            },
            {
                description: '希望是一个好东西,也许是最好的,好东西是不会消亡的',
                href: '',
                id: 'xxx2',
                logo: 'https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png',
                member: '全组都是吴彦祖',
                memberLink: '',
                title: 'Angualr',
                updatedAt: '2018-09-16T13: 03: 20.729Z',
            },
            {
                description: '城镇中有那么多的酒馆,她却偏偏走进了我的酒馆',
                href: '',
                id: 'xxx3',
                logo: 'https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png',
                member: '中二少女团',
                memberLink: '',
                title: 'Antd',
                updatedAt: '2018-09-16T13: 03: 20.729Z',
            },
            {
                description: '那时候我只会想自己想要什么,从不想自己拥有什么',
                href: '',
                id: 'xxx4',
                logo: 'https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png',
                member: '程序员日常',
                memberLink: '',
                title: 'Antd Pro',
                updatedAt: '2018-09-16T13: 03: 20.729Z',
            },
            {
                description: '凛冬将至',
                href: '',
                id: 'xxx5',
                logo: 'https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png',
                member: '高逼格设计天团',
                memberLink: '',
                title: 'BootStrapper',
                updatedAt: '2018-09-16T13: 03: 20.729Z',
            },
            {
                description: '生命就像一盒巧克力,结果往往出人意料',
                href: '',
                id: 'xxx6',
                logo: 'https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png',
                member: '骗你来学计算机',
                memberLink: '',
                title: 'React',
                updatedAt: '2018-09-16T13:03:20.729Z',
            },
        ];
    }
}
</script>
 
 
<style lang="less">
.pageHeaderContent {
  display:flex;
}
 
 
.extraContent{
    margin-left: 88px;
    min-width: 242px;
}
 
@text-color-secondary:rgba(0,0,0,.45);
@font-size-base:14px;
@border-color-split:#e8e8e8;
@heading-color:rgba(0,0,0,.85);
@primary-color:#1890ff;
@disabled-color:rgba(0,0,0,.25);
@screen-xl: 1200px;
@screen-lg: 992px;
 
.page-content {
    display: flex;
    .avatar {
      flex: 0 1 72px;
      margin-bottom: 8px;
      .ant-avatar {
        border-radius: 72px;
        display: block;
        width: 72px;
        height: 72px;
      }
    }
    .desc {
      position: relative;
      top: 4px;
      margin-left: 24px;
      flex: 1 1 auto;
      color: @text-color-secondary;
      line-height: 22px;
      .desc-title {
        font-size: 20px;
        line-height: 28px;
        font-weight: 500;
        color: @heading-color;
        margin-bottom: 12px;
      }
    }
  }
 
.page-extra {
    //.clearfix();
    float: right;
    white-space: nowrap;
    & > div {
      padding: 0 32px;
      position: relative;
      display: inline-block;
      & > p:first-child {
        color: @text-color-secondary;
        font-size: @font-size-base;
        line-height: 22px;
        margin-bottom: 4px;
      }
      & > p {
        color: @heading-color;
        font-size: 30px;
        line-height: 38px;
        margin: 0;
        & > span {
          color: @text-color-secondary;
          font-size: 20px;
        }
      }
      &:after {
        background-color: @border-color-split;
        position: absolute;
        top: 8px;
        right: 0;
        width: 1px;
        height: 40px;
        content: '';
      }
    }
    & > div:last-child {
      padding-right: 0;
      &:after {
        display: none;
      }
    }
  }
 
 
 
 
  .project-list {
    .ant-card-meta-description {
      color: @text-color-secondary;
      height: 44px;
      line-height: 22px;
      overflow: hidden;
    }
    .card-title {
      font-size: 0;
      a {
        color: @heading-color;
        margin-left: 12px;
        line-height: 24px;
        height: 24px;
        display: inline-block;
        vertical-align: top;
        font-size: @font-size-base;
        &:hover {
          color: @primary-color;
        }
      }
    }
    .project-grid {
      width: 33.33%;
    }
    .project-item {
      display: flex;
      margin-top: 8px;
      overflow: hidden;
      font-size: 12px;
      height: 20px;
      line-height: 20px;
      //.textOverflow();
      a {
        color: @text-color-secondary;
        display: inline-block;
        flex: 1 1 0;
        //.textOverflow();
        &:hover {
          color: @primary-color;
        }
      }
      .datetime {
        color: @disabled-color;
        flex: 0 0 auto;
        float: right;
      }
    }
  }
 
.mb-lg {
    margin-bottom: 24px!important;
}
 
@media screen and (max-width: @screen-xl) and (min-width: @screen-lg) {
    .active-card {
      margin-bottom: 24px;
    }
    .members {
      margin-bottom: 0;
    }
    .page-extra {
      margin-left: -44px;
      & > div {
        padding: 0 16px;
      }
    }
  }
 
  @media screen and (max-width: @screen-lg) {
    .active-card {
      margin-bottom: 24px;
    }
    .members {
      margin-bottom: 0;
    }
    .page-extra {
      float: none;
      margin-right: 0;
      & > div {
        padding: 0 16px;
        text-align: left;
        &:after {
          display: none;
        }
      }
    }
  }
 
</style>