Browse Source

移动端 组件

master
yxq 3 months ago
parent
commit
847519aded
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      monitorMobile/components/selectRadio.vue
  2. +2
    -1
      monitorMobile/components/selectSearch.vue

+ 2
- 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-if="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,7 @@
default: "", default: "",
type: String type: String
}, },
cellVisible:true,
}, },
data() { data() {
return { return {


+ 2
- 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-if="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,7 @@
default: "", default: "",
type: String type: String
}, },
cellVisible:true,
}, },
data() { data() {
return { return {


Loading…
Cancel
Save