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.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e47771-44c2b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e47771-44c2b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?