小程序下划线和删除线的操作。
在对应的标签中添加css样式即可:
text-decoration:underline; //下划线
text-decoration:line-through;//删除线
微信小程序更改行内for循环item的办法
<view wx:for="{{array}}" wx:for-index="myIndex" wx:for-item="myItem">
{{myIndex}}: {{myItem}}
</view>
小程序下划线和删除线的操作。
在对应的标签中添加css样式即可:
text-decoration:underline; //下划线
text-decoration:line-through;//删除线
微信小程序更改行内for循环item的办法
<view wx:for="{{array}}" wx:for-index="myIndex" wx:for-item="myItem">
{{myIndex}}: {{myItem}}
</view>