WeChat Mini Programs cover-view set text-decoration: line-through; real machine has no effect

I need to set the effect of delete line to the text in cover-view, so I try to use the text-decoration: line-through; attribute. The simulator shows no problem, and the effect of delete line appears. However, I tried it on Android, and the code is as follows.

   

this is the effect on the simulator

I would like to ask, is it that Mini Program"s cover-view does not support this attribute? If so, is there any other solution?


there is a problem. Write another cover-view, inside and set its backgroud to a color, width 100%, height 2rpx, instead of line-through

by positioning.
Menu