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

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

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

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

Loading…
Cancel
Save