123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <template>
- <div id="userTwo">
- <el-row>
- <el-col :span="24" class="userTwo">
- <el-col :span="12" class="left">
- <el-col :span="24" class="one">
- <el-image style="width:166px;height:166px;" :src="dynamic1"></el-image>
- <p>企业注册数量</p>
- <p>{{ detail.num1 }}</p>
- </el-col>
- <el-col :span="24" class="one two">
- <el-image style="width:166px;height:166px;" :src="dynamic2"></el-image>
- <p>个人注册数量</p>
- <p>{{ detail.num2 }}</p>
- </el-col>
- </el-col>
- <el-col :span="12" class="left right">
- <el-col :span="24" class="one">
- <el-image style="width:166px;height:166px;" :src="dynamic3"></el-image>
- <p>在线人数</p>
- <p>{{ detail.num3 }}</p>
- </el-col>
- <el-col :span="24" class="one two">
- <el-image style="width:166px;height:166px;" :src="dynamic4"></el-image>
- <p>企业项目数量</p>
- <p>{{ detail.num4 }}</p>
- </el-col>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- export default {
- name: 'userTwo',
- props: {},
- components: {},
- data: () => ({
- dynamic1: require('@/assets/dynamic1.png'),
- dynamic2: require('@/assets/dynamic2.png'),
- dynamic3: require('@/assets/dynamic3.png'),
- dynamic4: require('@/assets/dynamic4.png'),
- detail: {
- num1: 1,
- num2: 2,
- num3: 3,
- num4: 4,
- },
- }),
- created() {},
- computed: {},
- methods: {},
- };
- </script>
- <style lang="less" scoped>
- .userTwo {
- float: left;
- width: 100%;
- }
- .userTwo .left {
- width: 50%;
- }
- .userTwo .left .one {
- float: left;
- width: 212px;
- height: 212px;
- overflow: hidden;
- border-radius: 10px;
- box-shadow: 0 0 5px #ccc;
- text-align: center;
- padding: 20px 0;
- position: relative;
- margin: 40px 0 0 15px;
- }
- .userTwo .left .one p:nth-child(2) {
- position: absolute;
- top: 80px;
- font-size: 14px;
- color: #346da4;
- font-weight: bold;
- left: 60px;
- text-align: center;
- width: 86px;
- }
- .userTwo .left .one p:nth-child(3) {
- position: absolute;
- top: 110px;
- left: 60px;
- font-size: 14px;
- color: #346da4;
- font-weight: bold;
- text-align: center;
- width: 86px;
- }
- .userTwo .right {
- width: 50%;
- margin: 110px 0 0 0;
- }
- </style>
|