WeChat Mini Programs's two view are interpreted as a view.

developed WeChat Mini Programs,
used wx:if wx;else,
, then two view tags, finally interpreted as a tag

            <view wx:if="item.TITLE_CODE!=="GRANT_SALARY"">{{item.TITLE_NAME}}</view>
            <view wx:else>
                <view>
                    <view class="salary-title"></view>
                    <view class="unit">()</view>
                </view>
            </view>

above is the code, using a judgment.
then, in the structure, the two view tags of "paid wages" and"(yuan) "are interpreted as a
I want to separate to control the style of the two

clipboard.png

seek the Great Theism


does CSS have a code? When I copy your code, it shows two view

on my computer.
Menu