uniapp写小程序picker组件问题
在手机端没问题,如果小程序在pc端的微信上显示则层级有问题
<view class="case-from-list"> <picker @change="changeSex" :value="pmodel.sex" range-key="label" :range="dict.sex"> <view class="input-wrapper" style="display: flex;justify-content: space-between;align-items: center;"> <view class="uni-input" style="color:#717171;font-family: UICTFontTextStyleBody;" v-if="pmodel.sex ===''">请选择</view> <view class="uni-input" v-else>{{dictMap.sex[pmodel.sex]}}</view> </view> </picker> <image src="http://39.98.186.67:9034/static/right-arrow.png"></image> </view>
picker里面放view盒子没问题,但是换成input就不行,在pc端点击的话不触发下拉
本文来自博客园,作者:prince11,转载请注明原文链接:https://www.cnblogs.com/prince11/p/18218591