<divclass="Fishqc-tap"> <div ms-class="[@codePic! = ' && @codeInfo! = '? ') Taphome ': ' Changetothree ']"> <a href="javascript:;"onclick="javascript:;"ms-class="@currentSelect. Key = = ' safety ' && ' active '"ms-click="Sortclick (@setting. Safety)"> Safety Charts </a> </div> <div ms-class="[@codePic! = ' && @codeInfo! = '? ') Taphome ': ' Changetothree ']"> <a href="javascript:;"onclick="javascript:;"ms-class="@currentSelect. Key = = ' recommend ' && ' active '"ms-click="Sortclick (@setting. Recommend)"> Recommended Products </a> </div> <!--<a href="javascript:;"onclick="javascript:;"ms-class="@currentSelect. Key = = ' report ' && ' active '"ms-click="Sortclick (@setting. Report)"> Coming online </a>-<div ms-visible="@codePic! = "&& @codeInfo! ="" class="Taphome"> <a href="javascript:;"onclick="javascript:;"ms-class="@currentSelect. Key = = ' secret ' && ' active '"ms-click="Sortclick (@setting. Secret)"> select cheats </a> </div> <!--<a href="javascript:;"onclick="javascript:;"ms-class="@currentSelect. Key = = ' Beforetry ' && ' active '"ms-click="Sortclick (@setting. Beforetry)"> Trial report </a> <div ms-class="[@codePic! = ' && @codeInfo! = '? ') Taphome ': ' Changetothree ']"> <a href="javascript:;"onclick="javascript:;"ms-class="@currentSelect. Key = = ' report ' && ' active '"ms-click="Sortclick (@setting. Report)"> Trial reports </a> </div> </div>
<div ms-if="@currentSelect. Key = = ' safety '"> 11111 </div> <!--</div>--<div ms-if="@currentSelect. Key = = ' recommend '"> 222222 </div> <divclass="Award_bottom"ms-if="@currentSelect. Key = = ' Secret '"> 3333 </div> <div ms-if="@currentSelect. Key = = ' Report '"style="margin-top:0.2rem;border-bottom:1px Solid #f8f8f8"> 44444 </div>
setting: {safety: {key: " safety " ", recommend: {key: "
recommend
"
}, Secret: {key:
"
secret< /span> " }, Report: { Key: report " }},
sortclick:function (item) {Vm.currentselect=Itemif(Item.key = ='Safety') {vm.safetylist ()}Else if(Item.key = ='recommend') {vm.productrecommend ()}Else if(Item.key = =' Report') {vm.tryreport ()} console.log (55555, Item)},
VM. $watch ('onready', function () { = vmi.setting.currenttry; })
Avalon with native JS tab toggle