uniapp uni-popup弹框组件里有picker组件在电脑小程序预览可以弹出,打包成app整个uni-popup弹框不显示。目前电脑微信开发者工具小程序可以,打包成apk手机安装包popup弹框不显示。请教大神指点。
<uni-popup ref="showpopup" :type="type" :class="ppp">
<view class="popup-content">
<view :class="ddn">
<view class="nng">
<text class="xxw">{{i18n.SBD_Sn_no}}</text>
<input class="m-input" type="text" v-model="serialNo"
:placeholder="i18n.SBD_Please_input"></input>
<view class="hxx"></view>
</view>
<view class="nnn">
<text class="xxw">{{i18n.SBD_Device_type}}</text>
<picker @change="bindPickerReg" :range="arraycurrenrg" range-key="name"
class="piq">
<view class="uni-input">{{arraycurrenrg[regindex].name}}</view>
</picker>
<image src="../../static/img/usr/j.png" class="jjj"></image>
<view class="hxx"></view>
</view>
<view class="nnn">
<text class="xxw">{{i18n.SBD_Device_model}}</text>
<picker @change="bindPickerRmb" :range="arraycurrency" range-key="name"
:class="pip">
<view class="uni-input">{{arraycurrency[rmbindex].name}}</view>
</picker>
<image src="../../static/img/usr/j.png" class="jjj"></image>
<view class="hxx"></view>
</view>
<view class="nnu" @click="onShowDatePicker('range')">
<text class="xxw">{{i18n.SBD_Binding_time}}</text>
<text class="sed" v-if="startTimess!=''">{{startTimess}}~{{endTimess}}</text>
<text class="sed" v-if="startTimess==''"></text>
<image src="../../static/img/usr/j.png" class="jjj"></image>
</view>
<view class="uni-tip-group-button">
<view class="uni-tic-button" @click="cancelpp('popup')">{{i18n.H_Tips_reset}}</view>
<view class="uni-tip-button" @click="searchpp()">{{i18n.H_Tips_query}}</view>
</view>
</view>
</view>
</uni-popup>
<mx-date-picker :show="showPicker" :type="type" :value="value" :show-tips="true" :begin-text="'开始时间'"
:end-text="'结束时间'" :show-seconds="true" @confirm="onSelected" @cancel="onSelected" />