mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 13:26:47 +08:00
个例手机样式问题
This commit is contained in:
@@ -26,14 +26,30 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background: #F0F6FC;display: flex;align-items: center;">
|
<tr style="background: #F0F6FC;display: flex;align-items: center;">
|
||||||
<th class="first" align="center"><view class="text">
|
<th style="display: block;text-align: center;" class="first" align="center">
|
||||||
</view></th>
|
<view style="width: 212rpx;border-collapse: collapse;" class="text"></view>
|
||||||
<th class="item1" v-for="item in titleList" align="center">{{ item.title }}</th>
|
</th>
|
||||||
|
<th style="width: 156rpx;
|
||||||
|
min-height: 100rpx;
|
||||||
|
text-align: center;
|
||||||
|
border: 2rpx solid #F0F6FC;
|
||||||
|
background: #F0F6FC;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #387DF7;
|
||||||
|
font-weight: bold;
|
||||||
|
border-collapse: collapse;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;" class="item1" v-for="item in titleList" align="center">{{ item.title }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="display: flex;align-items: center;" v-for="item,index in preparedData" :key="index">
|
<tr style="display: flex;align-items: center;" v-for="item,index in preparedData" :key="index">
|
||||||
<td class="first" align="center"><view class="text">{{ item.isOtherPosition == 1 ? item.positionName + '(' + item.organizationName + ')' : item.positionName }}</view></td>
|
<td style="display: block;text-align: center;" class="first" align="center">
|
||||||
|
<view class="text" style="width: 212rpx;border-collapse: collapse;">
|
||||||
|
{{ item.isOtherPosition == 1 ? item.positionName + '(' + item.organizationName + ')' : item.positionName }}
|
||||||
|
</view>
|
||||||
|
</td>
|
||||||
<td :style="{width: 158 * t.number + 'rpx'}" class="item" align="center" v-for="t,i in item.bandCodes">
|
<td :style="{width: 158 * t.number + 'rpx'}" class="item" align="center" v-for="t,i in item.bandCodes">
|
||||||
<image
|
<image
|
||||||
v-if="(t && t.isMajorPosition) "
|
v-if="(t && t.isMajorPosition) "
|
||||||
|
|||||||
Reference in New Issue
Block a user