16a23e08bSopenharmony_ci<div> 26a23e08bSopenharmony_ci <!-- expression_Compiler_Test_001 --> 36a23e08bSopenharmony_ci <text> 46a23e08bSopenharmony_ci {{ti || subTitle}} 56a23e08bSopenharmony_ci </text> 66a23e08bSopenharmony_ci 76a23e08bSopenharmony_ci <!-- expression_Compiler_Test_002 --> 86a23e08bSopenharmony_ci <text> 96a23e08bSopenharmony_ci {{ti && subTitle}} 106a23e08bSopenharmony_ci </text> 116a23e08bSopenharmony_ci 126a23e08bSopenharmony_ci <!-- expression_Compiler_Test_003 --> 136a23e08bSopenharmony_ci <div> 146a23e08bSopenharmony_ci {{isArrived === 'arrived' && isTravel === false}} 156a23e08bSopenharmony_ci </div> 166a23e08bSopenharmony_ci 176a23e08bSopenharmony_ci <!-- expression_Compiler_Test_004 --> 186a23e08bSopenharmony_ci <div> 196a23e08bSopenharmony_ci {{isArrived === 'arrived' || isTravel === false}} 206a23e08bSopenharmony_ci </div> 216a23e08bSopenharmony_ci 226a23e08bSopenharmony_ci <!-- expression_Compiler_Test_005 --> 236a23e08bSopenharmony_ci <div> 246a23e08bSopenharmony_ci {{!flag}} 256a23e08bSopenharmony_ci </div> 266a23e08bSopenharmony_ci 276a23e08bSopenharmony_ci <!-- expression_Compiler_Test_006 --> 286a23e08bSopenharmony_ci <div> 296a23e08bSopenharmony_ci {{!!flag}} 306a23e08bSopenharmony_ci </div> 316a23e08bSopenharmony_ci 326a23e08bSopenharmony_ci <!-- expression_Compiler_Test_007 --> 336a23e08bSopenharmony_ci <div class="container"> 346a23e08bSopenharmony_ci <text class="text-text">{{1>2?3:4}}</text> 356a23e08bSopenharmony_ci <text class="text-text">{{a}}</text> 366a23e08bSopenharmony_ci <text class="text-text">{{1>2?a:b}}</text> 376a23e08bSopenharmony_ci <text class="text-text">{{1>2?true:null}}</text> 386a23e08bSopenharmony_ci <text class="{{this.a}}{{Math.PI}}"></text> 396a23e08bSopenharmony_ci <text class="text-text">{{1>b?(v>4?a:6):7}}</text> 406a23e08bSopenharmony_ci <text class="text-text">{{1>2?(3==4?"刘":"王"):7}}</text> 416a23e08bSopenharmony_ci <text class="text-text">{{3<3?(3>3?'刘':'王'):7}}</text> 426a23e08bSopenharmony_ci <text class="text-text">{{typeof 1}}</text> 436a23e08bSopenharmony_ci <text class="text-text">{{new RegExp('123')}}</text> 446a23e08bSopenharmony_ci <input value='{{"ABCDEFG".toLowerCase()}}'></input> 456a23e08bSopenharmony_ci <input value="{{ns[1]}}"></input> 466a23e08bSopenharmony_ci <input value="{{a.b.c.d}}"></input> 476a23e08bSopenharmony_ci <input value="{{a.b.c[1]}}"></input> 486a23e08bSopenharmony_ci <input value="{{(a.b.c)[1]}}"></input> 496a23e08bSopenharmony_ci <text class="tab-text" for="{{tabsContent}}">{{$t('strings.home.tabsData')[$item].name}}</text> 506a23e08bSopenharmony_ci <text if="{{showauto}}">a</text> 516a23e08bSopenharmony_ci <text if="{{!showauto}}">b</text> 526a23e08bSopenharmony_ci <button class="button_menu" value="go to demo ability" onclick="startAbility('com.example.showcases', 'ShowcasesAbility', {origin: 'showcases'})"></button> 536a23e08bSopenharmony_ci <div class="item-content"> 546a23e08bSopenharmony_ci <picker class="picker" type="multi-text" range="{{range1.arr}}" value="{{curDate}}" selected="{{lastSelected}}" onchange="getDate" 556a23e08bSopenharmony_ci oncancel="cancel" id="picker1"></picker> 566a23e08bSopenharmony_ci </div> 576a23e08bSopenharmony_ci <div class="content_for"> 586a23e08bSopenharmony_ci <text class="topic">测试show,if,for渲染属性</text> 596a23e08bSopenharmony_ci <text class="text_large" for="{{list}}" tid="id">{{$idx}}+{{$item.id}}</text> 606a23e08bSopenharmony_ci <text class="text_large" if="{{click}}" onclick="change_showon"> 点击显示的文本,点击此处显示show文本 </text> 616a23e08bSopenharmony_ci <text class="text_large" elif="{{longpress}}" onlongpress="change_showoff"> 长按显示的文本,点击此处隐藏show文本 </text> 626a23e08bSopenharmony_ci <text else> 默认显示的文本 </text> 636a23e08bSopenharmony_ci <text class="text" show="{{showTest}}"> show显示的文本 </text> 646a23e08bSopenharmony_ci </div> 656a23e08bSopenharmony_ci <text class="remain_day_number">{{ $t('strings.remain_days', {year: currentYear, day: countDownDays}) }}</text> 666a23e08bSopenharmony_ci </div> 676a23e08bSopenharmony_ci</div> 68