wwp 3 weeks ago
parent
commit
f61974704d
2 changed files with 8 additions and 2 deletions
  1. +4
    -1
      monitorMobile/components/selectRadio.vue
  2. +4
    -1
      monitorMobile/components/selectSearch.vue

+ 4
- 1
monitorMobile/components/selectRadio.vue View File

@@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<myCell :title="title_" isLink :border="false" @click="show = true"></myCell>
<myCell v-show="cellVisible" :title="title_" isLink :border="false" @click="show = true"></myCell>
<u-popup :show="show" mode="center" :round="10" @close="close" @open="open"> <u-popup :show="show" mode="center" :round="10" @close="close" @open="open">
<u-radio-group v-model="value_" iconPlacement="right" placement="column" @change="change" borderBottom> <u-radio-group v-model="value_" iconPlacement="right" placement="column" @change="change" borderBottom>
<u-radio v-for="(item,index) in options" :key="index" :label="item.label" :name="item.value"></u-radio> <u-radio v-for="(item,index) in options" :key="index" :label="item.label" :name="item.value"></u-radio>
@@ -29,6 +29,9 @@
default: "", default: "",
type: String type: String
}, },
cellVisible: {
default: true,
},
}, },
data() { data() {
return { return {


+ 4
- 1
monitorMobile/components/selectSearch.vue View File

@@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<myCell :title="title_" isLink :border="false" @click="show = true"></myCell>
<myCell v-show="cellVisible" :title="title_" isLink :border="false" @click="show = true"></myCell>
<u-popup :show="show" mode="bottom" :closeable="true" :round="10" @close="close" @open="open"> <u-popup :show="show" mode="bottom" :closeable="true" :round="10" @close="close" @open="open">
<view> <view>
<view class="title"> <view class="title">
@@ -51,6 +51,9 @@
default: "", default: "",
type: String type: String
}, },
cellVisible: {
default: true,
},
}, },
data() { data() {
return { return {


Loading…
Cancel
Save