如标题
代码:
<view class="list-row">
<view class="form-text">内容:</view>
<view class="form-picker" @click="clickStation">
{{station[currentStation].gwno}}
<view class="row-right">></view>
</view>
</view>
<uni-popup ref="showStation" type="bottom" @change="change">
<view class="popup-show">
<view class="popup-title">选择内容</view>
<view v-for="(item,index) in station" :key="item.id" class="popup-list">
<view class="list-text" @click="choiceStation(index)"> {{item == null ? '' : item.gwno}} </view>
</view>
<view class="popup-bottom" @click="cancel('Station')">取消</view>
</view>
</uni-popup>
cancel(type) {
this.$refs['show' + type].close();
},
change(e) {
console.log('是否打开:' + e.show)
},
clickStation: function (e) {
console.log(e);
this.$nextTick(() => {
this.$refs['showStation'].open()
});
},
手机型号小米mix 3 android版本10,系统miui11.0.1
手机型号NX563J android版本7.1.1
都不好用
峰业昳 (作者)
什么错没报
2020-02-07 16:23