细节修改
This commit is contained in:
@@ -52,6 +52,11 @@ watch(
|
||||
|
||||
<template>
|
||||
<view class="container">
|
||||
<image
|
||||
:src="isRed ? '../static/flag-red.png' : '../static/flag-blue.png'"
|
||||
class="flag"
|
||||
:style="{ [isRed ? 'left' : 'right']: '10rpx' }"
|
||||
/>
|
||||
<view
|
||||
v-for="(item, index) in team"
|
||||
:key="index"
|
||||
@@ -96,6 +101,7 @@ watch(
|
||||
position: relative;
|
||||
width: 20vw;
|
||||
height: 45px;
|
||||
margin: 0 20rpx;
|
||||
}
|
||||
.container > text {
|
||||
position: absolute;
|
||||
@@ -124,4 +130,10 @@ watch(
|
||||
bottom: 0px;
|
||||
color: #fff;
|
||||
}
|
||||
.flag {
|
||||
position: absolute;
|
||||
width: 45rpx;
|
||||
height: 45rpx;
|
||||
top: -30rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user