修改我的排版

master
chen 2021-10-25 11:03:54 +08:00
parent d96ead79df
commit b29671a6bd
1 changed files with 5 additions and 3 deletions

View File

@ -40,13 +40,15 @@
<!-- 员工功能 v-if="userInfo.is_staff && yuanList.length!=0" -->
<view v-if="userInfo.is_staff==1" class="bacf radius20 mar-s20 pad20">
<view class="mar-x30 fon28 bold col3">员工功能</view>
<view class="disac yuan-box">
<view @tap="chooseYitem(indexy)" style="width: 25%;display: flex;justify-content: center;align-items: center;position: relative;" v-for="(itemy,indexy) in yuanList" :key="indexy">
<view class="disja yuan-box">
<view @tap="chooseYitem(indexy)" style="display: flex;justify-content: center;align-items: center;position: relative;" v-for="(itemy,indexy) in yuanList" :key="indexy">
<view class="disac fc">
<image :src="itemy.src" style="width: 54rpx;height: 54rpx;" mode="aspectFill"></image>
<view class="fon28 mar-s20 mar-x10">{{itemy.title}}</view>
</view>
<view v-if="indexy<(yuanList.length-1)" style="height: 58rpx;border: 2rpx solid #E6E6E6;position: absolute;right: 0;"></view>
<view v-if="yuanList.length>=3" :style="{right:yuanList.length==3?'-60rpx':'-30rpx'}" style="position: absolute;">
<view v-if="indexy<(yuanList.length-1)" style="height: 58rpx;width: 2rpx;background: #E6E6E6;"></view>
</view>
</view>
</view>
</view>