提交 f53c006a authored 作者: 刘旭's avatar 刘旭

优化样式

上级 c2112e93
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
</text> --> </text> -->
</view> </view>
</view> </view>
<view v-if="isCollection" <view v-if="isCollection" class="button">
style="width: 59%; height: 100%; display: flex; justify-content: flex-end; align-items: flex-end;">
<u-button size="mini" style="margin: 0;" @tap="tapCollection">删除</u-button> <u-button size="mini" style="margin: 0;" @tap="tapCollection">删除</u-button>
</view> </view>
</view> </view>
...@@ -102,5 +101,12 @@ let tapCollection = () => { ...@@ -102,5 +101,12 @@ let tapCollection = () => {
} }
} }
} }
.button {
width: 100rpx;
height: 100rpx;
text-align: center;
line-height: 120rpx;
}
} }
</style> </style>
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
} }
: togoods(item) : togoods(item)
"> ">
<!-- <view>{{ item.goodsName }}</view> -->
<view style="margin-bottom: 20rpx;">{{ item.productName ? item.productName : item.goodsName <view style="margin-bottom: 20rpx;">{{ item.productName ? item.productName : item.goodsName
}}</view> }}</view>
<view class="b-tag"> <view class="b-tag">
......
...@@ -154,4 +154,5 @@ init(); ...@@ -154,4 +154,5 @@ init();
align-items: center; align-items: center;
margin: 0 6rpx 4rpx 6rpx; margin: 0 6rpx 4rpx 6rpx;
} }
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论