类似如下效果

只需要在代码编写的时候把标签行代码写在前面
<view class="label">第3期</view>
<image class="goodsimg" src=""></image>
然后在view的style中设置为
z-index: 1;
类似如下效果
只需要在代码编写的时候把标签行代码写在前面
<view class="label">第3期</view>
<image class="goodsimg" src=""></image>
然后在view的style中设置为
z-index: 1;
本文标题:在image上添加标签
本文链接:https://www.haomeiwen.com/subject/qvrkhrtx.html
网友评论