u-row 和 u-col在手机上会失效 改为view

main
zhangqun 11 months ago
parent facd64fb55
commit c9683c8226
  1. 2
      manifest.json
  2. 12
      pages/investigation/task.vue

@ -136,7 +136,7 @@
"proxy" : { "proxy" : {
"/HiatmpPro" : { "/HiatmpPro" : {
// "target" : "http://118.89.79.160:8800", // "target" : "http://118.89.79.160:8800",
"target" : "http://219.147.31.25:30001/tht-app-api", "target" : "http://219.147.31.25:30001/tht-app-api",
"changeOrigin" : true, "changeOrigin" : true,
"secure" : false, "secure" : false,
"pathRewrite" : { "pathRewrite" : {

@ -133,18 +133,18 @@
<view class="formBox form-step-3" v-if="active === 3"> <view class="formBox form-step-3" v-if="active === 3">
<view class="point"> <view class="point">
<view class="title">重点排查</view> <view class="title">重点排查</view>
<u-row :gutter="15" class='row'> <view class='row' style="display: flex; flex-wrap: wrap; justify-content: space-between;">
<u-col style="float: left;" :span="6" v-for="item in investigationSelectList" :key="item" <view style="width: 300rpx;" v-for="item in investigationSelectList" :key="item"
@click="showInvestigationTag(item)"> @click="showInvestigationTag(item)">
<view class="item">{{ item.name }}</view> <view class="item">{{ item.name }}</view>
</u-col> </view>
<u-col :span="6" style="float: left;"> <view style="width: 300rpx;">
<view class="item add" @click="showInvestigation = true"> <view class="item add" @click="showInvestigation = true">
<uni-icons type="plusempty" size="24" style="margin-right: 10rpx; color: #2663bf" /> <uni-icons type="plusempty" size="24" style="margin-right: 10rpx; color: #2663bf" />
新增排查 新增排查
</view> </view>
</u-col> </view>
</u-row> </view>
</view> </view>
<u-popup :show="showInvestigation" @close="showInvestigation = false"> <u-popup :show="showInvestigation" @close="showInvestigation = false">
<InvestigationItem @select="select2"></InvestigationItem> <InvestigationItem @select="select2"></InvestigationItem>

Loading…
Cancel
Save