使用:
<city-picker p_city="{{0}}" p_province="{{0}}" p_region="{{[]}}" bind:emitSetCity="onGetCityData"></city-picker>
组件内部:
<picker mode="region" level="city" value="{{region}}" bindcancel="onCancelPicker" bindchange="onCityChange">
<view class="city-picker picker" bindtap="onClickCity">
<text>{{region[0]}} {{region[1]}}</text>
<image class="arrow {{arrowToTop ? 'arrow-icon-rotate' : ''}}" src="https://test116.1919game.net/storese/kesuReverse/public/arrow_down.png" mode=""/>
</view>
</picker>
设置level的 picker 在PC暂不支持。在排期支持
PC 端的 level 不支持 city