//   height: 100%;
183
//   display: flex;
184
//   flex-direction: column;
185
//   overflow-y: auto;
186
187
//   .content {
188
//     background: #fff;
189
//     padding: 10px 16px;
190
//     margin-top: 16px;
191
//     flex-grow: 1;
192
//     display: flex;
193
//     flex-direction: column;
194
//     .aiot-content-btns {
195
//       height: 36px;
196
//     }
197
//   }
198
//   .search {
199
//     padding: 0px 16px;
200
//     background: #fff;
201
//   }
202
//   .table {
203
//     margin: 10px 0 4px 0;
204
//   }
205
//   .footer {
206
//     height: 40px;
207
//   }
208
// }
209 181
</style>

+ 19 - 2
common/vue/project/vue3-vite-ts-template/src/components/search/AiotSearch.vue

@ -6,6 +6,7 @@
6 6
      :model="formValues"
7 7
      :forms="searchParams"
8 8
      :form-type="'search'"
9
      :show-search="showSearch"
9 10
      @change-event="changeEvent"
10 11
      @blur-event="blurEvent"
11 12
    >
@ -13,6 +14,17 @@
13 14
        <div class="aiot-search-btns">
14 15
          <el-button type="primary" @click.stop="doSearch">查询</el-button>
15 16
          <el-button @click.stop="clearSearch">重置</el-button>
17
          <el-button
18
            v-show="searchParams.length > 3"
19
            @click.stop="() => (showSearch = !showSearch)"
20
          >
21
            {{ showSearch ? '收起' : '展开' }}
22
            <svg-icon
23
              class="icon"
24
              :size="12"
25
              :name="showSearch ? 'common-up' : 'common-down'"
26
            ></svg-icon>
27
          </el-button>
16 28
        </div>
17 29
      </template>
18 30
    </aiot-form>
@ -20,9 +32,11 @@
20 32
</template>
21 33
22 34
<script lang="ts" setup>
23
import { watch } from 'vue';
35
import { watch, ref } from 'vue';
24 36
import AiotForm from '../form/AiotForm.vue';
25 37
38
// 是否展开筛选项
39
const showSearch = ref<any>(false);
26 40
const emits = defineEmits([
27 41
  'doSearch',
28 42
  'clearSearch',
@ -180,8 +194,11 @@ doSearch();
180 194
    width: 100%;
181 195
    text-align: right;
182 196
    // margin-top: 18px;
183
    padding-right: 20px;
197
    // padding-right: 20px;
184 198
    box-sizing: border-box;
199
    .icon {
200
      margin-left: 5px;
201
    }
185 202
  }
186 203
}
187 204
</style>

+ 18 - 3
common/vue/project/vue3-vite-ts-template/src/views/Home.vue

@ -2,13 +2,28 @@
2 2
 * @Author: Devin
3 3
 * @Date: 2023-01-10 16:28:32
4 4
 * @LastEditors: Devin
5
 * @LastEditTime: 2023-01-10 16:28:36
5
 * @LastEditTime: 2023-01-10 18:02:35
6 6
 * @Description: 
7 7
-->
8 8
<template>
9
  <div class="home">我是主体部分</div>
9
  <div class="home">
10
    我是主体部分
11
    <div class="svg">
12
      <img src="../assets/icons/common/add-item.svg" class="svg-color" alt="" />
13
    </div>
14
  </div>
10 15
</template>
11 16
12 17
<script setup lang="ts"></script>
13 18
14
<style scoped></style>
19
<style scoped lang="scss">
20
.svg {
21
  width: 30px;
22
  height: 30px;
23
  overflow: hidden;
24
}
25
.svg-color {
26
  transform: translateX(30px);
27
  filter: drop-shadow(#ff0000 -30px 0px 0px);
28
}
29
</style>

+ 47 - 3
common/vue/project/vue3-vite-ts-template/src/views/_config.ts

@ -2,7 +2,7 @@
2 2
 * @Author: Devin
3 3
 * @Date: 2023-01-10 16:34:50
4 4
 * @LastEditors: Devin
5
 * @LastEditTime: 2023-01-10 16:41:07
5
 * @LastEditTime: 2023-01-11 09:55:33
6 6
 * @Description: 页面配置文件
7 7
 */
8 8
import { ref } from 'vue';
@ -21,10 +21,54 @@ export const searchConfig = ref<any>({
21 21
        }
22 22
      },
23 23
      {
24
        col: 6
24
        label: '名称1',
25
        name: 'name1',
26
        type: 'input',
27
        value: '',
28
        col: 6,
29
        attrs: {
30
          clearable: true
31
        }
32
      },
33
      {
34
        label: '名称2',
35
        name: 'name2',
36
        type: 'input',
37
        value: '',
38
        col: 6,
39
        attrs: {
40
          clearable: true
41
        }
42
      },
43
      {
44
        label: '名称3',
45
        name: 'name3',
46
        type: 'input',
47
        value: '',
48
        col: 6,
49
        attrs: {
50
          clearable: true
51
        }
52
      },
53
      {
54
        label: '名称4',
55
        name: 'name4',
56
        type: 'input',
57
        value: '',
58
        col: 6,
59
        attrs: {
60
          clearable: true
61
        }
25 62
      },
26 63
      {
27
        col: 6
64
        label: '名称5',
65
        name: 'name5',
66
        type: 'input',
67
        value: '',
68
        col: 6,
69
        attrs: {
70
          clearable: true
71
        }
28 72
      }
29 73
    ],
30 74

android-share - Nuosi Git Service

ipu的trunk版的android工程和服务端工程。

leijie 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
..
drawable-hdpi 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
drawable-mdpi 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
drawable-xhdpi 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
drawable-xxhdpi 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
layout 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
values 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
values-v11 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten
values-v14 37966b4adc 初始化能力开放平台Demo 8 vuotta sitten