首页边框
This commit is contained in:
parent
14d9a50a62
commit
560f4eae91
|
@ -3,7 +3,7 @@
|
|||
<scroll-view scroll-x="true" class="scroll-box" style="height: 100%;">
|
||||
<view :class="'item-box'+' bg'+((index+'').slice(-1))" v-for="(item,index) in goodsList" :key="index"
|
||||
@click="chooseItem(item)">
|
||||
<image style="border-radius: 7px;border: 1px solid #019c88;" :src="item.artificerImg" :style="'width:'+imgWidth+'px;'+'height:'+imgHeight+'px;'" mode=""></image>
|
||||
<image style="border-radius: 7px;border: 2px solid #019c88;box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);" :src="item.artificerImg" :style="'width:'+imgWidth+'px;'+'height:'+imgHeight+'px;'" mode=""></image>
|
||||
<view class="item-name">{{item.artificerName}}</view>
|
||||
<view class="item-descr">{{item.content}}</view>
|
||||
<!-- <view class="xiangshi" v-if="item.bdxsl">相识度:{{item.bdxsl}}%</view> -->
|
||||
|
@ -86,6 +86,7 @@
|
|||
border-radius: 10px;
|
||||
margin-top: 10px;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.item-name {
|
||||
|
@ -118,4 +119,5 @@
|
|||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue