Commit 2bf0f8cfd2f46d9c98fa1830184e7b7de30b51b8
1 parent
08f21804
优化提出的功能:车型只能选择公司所属车型,企业负责人只能选择用户选择的车型,首页样式修改、处置场所负责人不能修改地址
Showing
32 changed files
with
3687 additions
and
24 deletions
garbage-removal/src/pages/home-info/address/index.vue
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | {{ res.garUserAddress + res.garRemark }} |
| 17 | 17 | </view> |
| 18 | 18 | |
| 19 | - <u-icon name="edit-pen" @click="handleUpdateAddress(res)" :size="40" color="#999999"></u-icon> | |
| 19 | + <u-icon name="edit-pen" @click="handleUpdateAddress(res)" :size="40" color="#999999" v-if="updateFlag"></u-icon> | |
| 20 | 20 | </view> |
| 21 | 21 | </view> |
| 22 | 22 | |
| ... | ... | @@ -30,9 +30,13 @@ |
| 30 | 30 | <script setup> |
| 31 | 31 | import { queryAddress, updateAddress } from "@/apis/address.js"; |
| 32 | 32 | import { onShow } from '@dcloudio/uni-app'; |
| 33 | -import { ref } from 'vue'; | |
| 34 | -const siteList = ref([]); | |
| 33 | +import { useMainStore } from '@/stores/index.js'; | |
| 34 | +import { ref,computed } from 'vue'; | |
| 35 | +const store = useMainStore(); | |
| 36 | +const userType = computed(() => store.userType) | |
| 35 | 37 | |
| 38 | +const siteList = ref([]); | |
| 39 | +const updateFlag = ref(true); | |
| 36 | 40 | |
| 37 | 41 | /** |
| 38 | 42 | * 初始话数据 |
| ... | ... | @@ -78,7 +82,9 @@ const toAddSite = () => { |
| 78 | 82 | } |
| 79 | 83 | onShow(() => { |
| 80 | 84 | getData(); |
| 81 | - | |
| 85 | + if (userType.value == '处置场所负责人') { | |
| 86 | + updateFlag.value=false; | |
| 87 | + } | |
| 82 | 88 | }) |
| 83 | 89 | </script> |
| 84 | 90 | ... | ... |
garbage-removal/src/pages/home-info/car-guide/index.vue
| ... | ... | @@ -4,31 +4,29 @@ |
| 4 | 4 | :defaultTextStyle="{width:'48%'}" :duration="1500"> |
| 5 | 5 | <custom-tab-pane label="勾臂车" name="c1_1" > |
| 6 | 6 | <view class="content1"> |
| 7 | - <view> | |
| 7 | + <view style="text-align: center;"> | |
| 8 | 8 | <image :src="combinationImagePath('goubiche.png')" /> |
| 9 | 9 | </view> |
| 10 | 10 | <view> |
| 11 | 11 | <view class="title">勾臂车简介</view> |
| 12 | 12 | <view> </view> |
| 13 | - <view class="content">说起勾臂垃圾车,好多人都不懂勾臂垃圾车是什么?其实很简单,勾臂垃圾车是一个很普遍常用的垃圾车型,它由二类底盘、拉臂结构、液压系统、控制系统、箱体组成;因此勾臂垃圾车也叫拉臂垃圾车,主要适用于市政环卫、工厂矿区、物业小区等人口集中密集的居民区.实现一车配多个垃圾箱,一辆车就可以维持数个垃圾收集站的运转,效率高,操作稳定简单,结构简单,机械化程度高,且箱体为密封式设计,避免了环境的二次污染。</view> | |
| 14 | - <view> </view> | |
| 15 | - <view class="content">带钩臂式密闭式回收箱的新型环保装修垃圾运输车辆配备液压式勾臂系统,配套使用放置在小区及地下室的不同尺寸的密闭式装修垃圾回收箱,回收箱保证全封闭,无渗漏,箱内无死角,卸货干净;货厢外形平顺,无加强筋外露,车厢内板材料采用高强度钢板,保证足够厚度及强度,保证装运作业时不发生永久性变形。</view> | |
| 13 | + <view class="content"> 说起勾臂垃圾车,好多人都不懂勾臂垃圾车是什么?其实很简单,勾臂垃圾车是一个很普遍常用的垃圾车型,它由二类底盘、拉臂结构、液压系统、控制系统、箱体组成;因此勾臂垃圾车也叫拉臂垃圾车,主要适用于市政环卫、工厂矿区、物业小区等人口集中密集的居民区.实现一车配多个垃圾箱,一辆车就可以维持数个垃圾收集站的运转,效率高,操作稳定简单,结构简单,机械化程度高,且箱体为密封式设计,避免了环境的二次污染。</view> | |
| 14 | + <view class="content"> 带钩臂式密闭式回收箱的新型环保装修垃圾运输车辆配备液压式勾臂系统,配套使用放置在小区及地下室的不同尺寸的密闭式装修垃圾回收箱,回收箱保证全封闭,无渗漏,箱内无死角,卸货干净;货厢外形平顺,无加强筋外露,车厢内板材料采用高强度钢板,保证足够厚度及强度,保证装运作业时不发生永久性变形。</view> | |
| 16 | 15 | </view> |
| 17 | 16 | </view> |
| 18 | 17 | </custom-tab-pane> |
| 19 | 18 | <custom-tab-pane label="自卸车" name="c1_2"> |
| 20 | 19 | <view class="content1"> |
| 21 | - <view> | |
| 20 | + <view style="text-align: center;"> | |
| 22 | 21 | <image :src="combinationImagePath('zixieche.jpg')" /> |
| 23 | 22 | </view> |
| 24 | 23 | <view> |
| 25 | 24 | <view class="title">自卸车简介</view> |
| 26 | 25 | <view> </view> |
| 27 | - <view class="content">自卸车是指通过液压或机械举升而自行卸载货物的车辆。又称翻斗车。由汽车底盘、液压举升机构、货厢和取力装置等部件组成。</view> | |
| 28 | - <view class="content">自卸车的车厢分后向倾翻和侧向倾翻两种,通过操纵系统控制活塞杆运动,后向倾翻较普遍,推动活塞杆使车厢倾翻,少数双向倾翻。</view> | |
| 29 | - <view class="content">自卸车按其用途可分为两大类:一类属于非公路运输用的重型和超重型(额定载质量20吨以上)自卸车。主要承担大型矿山、工程等运输任务,通常与挖掘机配套使用。另一类属于公路运输用的轻、中、重型(额定载质量载2~20吨)普通自卸车。主要承担砂石、泥土、煤炭等松散货物运输,通常与装载机配套使用。</view> | |
| 30 | - <view> </view> | |
| 31 | - <view class="content">新型环保智能装修垃圾运输车使用自动开合全密闭式顶盖的U型货厢,货厢内无死角,卸货干净;货厢外形平顺,无加强筋外露,货厢外侧不易积土挂泥;货厢内板材料采用高强度钢板,保证装运作业时不发生永久性变形。</view> | |
| 26 | + <view class="content"> 自卸车是指通过液压或机械举升而自行卸载货物的车辆。又称翻斗车。由汽车底盘、液压举升机构、货厢和取力装置等部件组成。</view> | |
| 27 | + <view class="content"> 自卸车的车厢分后向倾翻和侧向倾翻两种,通过操纵系统控制活塞杆运动,后向倾翻较普遍,推动活塞杆使车厢倾翻,少数双向倾翻。</view> | |
| 28 | + <view class="content"> 自卸车按其用途可分为两大类:一类属于非公路运输用的重型和超重型(额定载质量20吨以上)自卸车。主要承担大型矿山、工程等运输任务,通常与挖掘机配套使用。另一类属于公路运输用的轻、中、重型(额定载质量载2~20吨)普通自卸车。主要承担砂石、泥土、煤炭等松散货物运输,通常与装载机配套使用。</view> | |
| 29 | + <view class="content"> 新型环保智能装修垃圾运输车使用自动开合全密闭式顶盖的U型货厢,货厢内无死角,卸货干净;货厢外形平顺,无加强筋外露,货厢外侧不易积土挂泥;货厢内板材料采用高强度钢板,保证装运作业时不发生永久性变形。</view> | |
| 32 | 30 | </view> |
| 33 | 31 | </view> |
| 34 | 32 | </custom-tab-pane> |
| ... | ... | @@ -53,11 +51,11 @@ const combinationImagePath=(imagePath)=>{ |
| 53 | 51 | color:black;font-size: 16px;font-weight: bold; |
| 54 | 52 | } |
| 55 | 53 | .content{ |
| 56 | - color:#909399;font-size: 15px;font-weight: lighter;font-family:"宋体" | |
| 54 | + color:black;font-size: 14px;font-weight: lighter;font-family:"宋体";padding: 5px 0px 35px 0px; | |
| 57 | 55 | } |
| 58 | 56 | .content1{ |
| 59 | 57 | background-color: #FFF; |
| 60 | - margin: 15px; | |
| 58 | + margin: 5px; | |
| 61 | 59 | border-radius:0.46875rem |
| 62 | 60 | } |
| 63 | 61 | </style> | ... | ... |
garbage-removal/src/pages/home-info/clean/index.vue
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | <view> |
| 43 | 43 | <swiper style="height: 588rpx;" @change="onChangeSwiper" indicator-dots circular > |
| 44 | 44 | <swiper-item v-for="(car,index) in garCarInfoList" :key="index" > |
| 45 | - <view><image :src="combinationImagePath(car)" mode ="heightFix"></image></view> | |
| 45 | + <view><image :src="combinationImagePath(car)" mode ="widthFix"></image></view> | |
| 46 | 46 | <view><text style="color:#909399;font-size: 14px;">{{car.remark}}</text></view> |
| 47 | 47 | </swiper-item> |
| 48 | 48 | </swiper> |
| ... | ... | @@ -146,12 +146,11 @@ |
| 146 | 146 | </view> |
| 147 | 147 | </view> |
| 148 | 148 | </view> |
| 149 | - <view v-if="!carPopupShowFlag" ref="movableAreaElement" class="movableArea"> | |
| 150 | - <view class="movableView" direction="all" @change="onChange"> | |
| 151 | - <view class="company-clean-call-box-container"> | |
| 152 | - <u-icon @click.stop="handleContactClick(tel)" name="phone-fill" color="#ffffff" size="50"></u-icon> | |
| 153 | - </view> | |
| 154 | - </view> | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + <view v-if="!carPopupShowFlag" ref="movableAreaElement"> | |
| 153 | + <uni-fab horizontal="right" vertical="bottom" popMenu="false" @fabClick="handleContactClick(tel)"></uni-fab> | |
| 155 | 154 | </view> |
| 156 | 155 | </view> |
| 157 | 156 | </template> |
| ... | ... | @@ -315,6 +314,11 @@ const handleContactClick = (val) => { |
| 315 | 314 | } |
| 316 | 315 | } |
| 317 | 316 | |
| 317 | +const handleContactClick111 = (val) => { | |
| 318 | + console.log("点击了电话---->handleContactClick111"); | |
| 319 | + | |
| 320 | +} | |
| 321 | + | |
| 318 | 322 | // 删除图片 |
| 319 | 323 | const deletePic = (event) => { |
| 320 | 324 | fileList.value.splice(event.index, 1); | ... | ... |
garbage-removal/src/pages/home/index.vue
| ... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 | <view class="company-list-item" v-for="(item) in companyList" :key="item.id"> |
| 47 | 47 | <view class="company-list-item-main"> |
| 48 | 48 | <view class="company-list-item-main-right"> |
| 49 | - <view class="company-list-item-main-right-name"> | |
| 49 | + <view class="company-list-item-main-right-name" style="padding-top: 2px;"> | |
| 50 | 50 | <view class="company-list-item-main-right-name-label-name"> |
| 51 | 51 | {{ item.name }} |
| 52 | 52 | </view> | ... | ... |
garbage-removal/src/uni_modules/uni-fab/changelog.md
0 → 100644
| 1 | +## 1.2.5(2023-03-29) | |
| 2 | +- 新增 pattern.icon 属性,可自定义图标 | |
| 3 | +## 1.2.4(2022-09-07) | |
| 4 | +小程序端由于 style 使用了对象导致报错,[详情](https://ask.dcloud.net.cn/question/152790?item_id=211778&rf=false) | |
| 5 | +## 1.2.3(2022-09-05) | |
| 6 | +- 修复 nvue 环境下,具有 tabBar 时,fab 组件下部位置无法正常获取 --window-bottom 的bug,详见:[https://ask.dcloud.net.cn/question/110638?notification_id=826310](https://ask.dcloud.net.cn/question/110638?notification_id=826310) | |
| 7 | +## 1.2.2(2021-12-29) | |
| 8 | +- 更新 组件依赖 | |
| 9 | +## 1.2.1(2021-11-19) | |
| 10 | +- 修复 阴影颜色不正确的bug | |
| 11 | +## 1.2.0(2021-11-19) | |
| 12 | +- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) | |
| 13 | +- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-fab](https://uniapp.dcloud.io/component/uniui/uni-fab) | |
| 14 | +## 1.1.1(2021-11-09) | |
| 15 | +- 新增 提供组件设计资源,组件样式调整 | |
| 16 | +## 1.1.0(2021-07-30) | |
| 17 | +- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) | |
| 18 | +## 1.0.7(2021-05-12) | |
| 19 | +- 新增 组件示例地址 | |
| 20 | +## 1.0.6(2021-02-05) | |
| 21 | +- 调整为uni_modules目录规范 | |
| 22 | +- 优化 按钮背景色调整 | |
| 23 | +- 优化 兼容pc端 | ... | ... |
garbage-removal/src/uni_modules/uni-fab/components/uni-fab/uni-fab.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <view class="uni-cursor-point"> | |
| 3 | + <view v-if="popMenu && (leftBottom||rightBottom||leftTop||rightTop) && content.length > 0" :class="{ | |
| 4 | + 'uni-fab--leftBottom': leftBottom, | |
| 5 | + 'uni-fab--rightBottom': rightBottom, | |
| 6 | + 'uni-fab--leftTop': leftTop, | |
| 7 | + 'uni-fab--rightTop': rightTop | |
| 8 | + }" class="uni-fab" | |
| 9 | + :style="nvueBottom" | |
| 10 | + > | |
| 11 | + <view :class="{ | |
| 12 | + 'uni-fab__content--left': horizontal === 'left', | |
| 13 | + 'uni-fab__content--right': horizontal === 'right', | |
| 14 | + 'uni-fab__content--flexDirection': direction === 'vertical', | |
| 15 | + 'uni-fab__content--flexDirectionStart': flexDirectionStart, | |
| 16 | + 'uni-fab__content--flexDirectionEnd': flexDirectionEnd, | |
| 17 | + 'uni-fab__content--other-platform': !isAndroidNvue | |
| 18 | + }" :style="{ width: boxWidth, height: boxHeight, backgroundColor: styles.backgroundColor }" | |
| 19 | + class="uni-fab__content" elevation="5"> | |
| 20 | + <view v-if="flexDirectionStart || horizontalLeft" class="uni-fab__item uni-fab__item--first" /> | |
| 21 | + <view v-for="(item, index) in content" :key="index" :class="{ 'uni-fab__item--active': isShow }" | |
| 22 | + class="uni-fab__item" @click="_onItemClick(index, item)"> | |
| 23 | + <image :src="item.active ? item.selectedIconPath : item.iconPath" class="uni-fab__item-image" | |
| 24 | + mode="aspectFit" /> | |
| 25 | + <text class="uni-fab__item-text" | |
| 26 | + :style="{ color: item.active ? styles.selectedColor : styles.color }">{{ item.text }}</text> | |
| 27 | + </view> | |
| 28 | + <view v-if="flexDirectionEnd || horizontalRight" class="uni-fab__item uni-fab__item--first" /> | |
| 29 | + </view> | |
| 30 | + </view> | |
| 31 | + <view :class="{ | |
| 32 | + 'uni-fab__circle--leftBottom': leftBottom, | |
| 33 | + 'uni-fab__circle--rightBottom': rightBottom, | |
| 34 | + 'uni-fab__circle--leftTop': leftTop, | |
| 35 | + 'uni-fab__circle--rightTop': rightTop, | |
| 36 | + 'uni-fab__content--other-platform': !isAndroidNvue | |
| 37 | + }" class="uni-fab__circle uni-fab__plus" :style="{ 'background-color': '#19a97c', 'bottom': nvueBottom }" @click="_onClick"> | |
| 38 | + <uni-icons class="fab-circle-icon" :type="styles.icon" :color="styles.iconColor" size="32" | |
| 39 | + :class="{'uni-fab__plus--active': isShow && content.length > 0}"></uni-icons> | |
| 40 | + <!-- <view class="fab-circle-v" :class="{'uni-fab__plus--active': isShow && content.length > 0}"></view> | |
| 41 | + <view class="fab-circle-h" :class="{'uni-fab__plus--active': isShow && content.length > 0}"></view> --> | |
| 42 | + </view> | |
| 43 | + </view> | |
| 44 | +</template> | |
| 45 | + | |
| 46 | +<script> | |
| 47 | + let platform = 'other' | |
| 48 | + // #ifdef APP-NVUE | |
| 49 | + platform = uni.getSystemInfoSync().platform | |
| 50 | + // #endif | |
| 51 | + | |
| 52 | + /** | |
| 53 | + * Fab 悬浮按钮 | |
| 54 | + * @description 点击可展开一个图形按钮菜单 | |
| 55 | + * @tutorial https://ext.dcloud.net.cn/plugin?id=144 | |
| 56 | + * @property {Object} pattern 可选样式配置项 | |
| 57 | + * @property {Object} horizontal = [left | right] 水平对齐方式 | |
| 58 | + * @value left 左对齐 | |
| 59 | + * @value right 右对齐 | |
| 60 | + * @property {Object} vertical = [bottom | top] 垂直对齐方式 | |
| 61 | + * @value bottom 下对齐 | |
| 62 | + * @value top 上对齐 | |
| 63 | + * @property {Object} direction = [horizontal | vertical] 展开菜单显示方式 | |
| 64 | + * @value horizontal 水平显示 | |
| 65 | + * @value vertical 垂直显示 | |
| 66 | + * @property {Array} content 展开菜单内容配置项 | |
| 67 | + * @property {Boolean} popMenu 是否使用弹出菜单 | |
| 68 | + * @event {Function} trigger 展开菜单点击事件,返回点击信息 | |
| 69 | + * @event {Function} fabClick 悬浮按钮点击事件 | |
| 70 | + */ | |
| 71 | + export default { | |
| 72 | + name: 'UniFab', | |
| 73 | + emits: ['fabClick', 'trigger'], | |
| 74 | + props: { | |
| 75 | + pattern: { | |
| 76 | + type: Object, | |
| 77 | + default () { | |
| 78 | + return {} | |
| 79 | + } | |
| 80 | + }, | |
| 81 | + horizontal: { | |
| 82 | + type: String, | |
| 83 | + default: 'left' | |
| 84 | + }, | |
| 85 | + vertical: { | |
| 86 | + type: String, | |
| 87 | + default: 'bottom' | |
| 88 | + }, | |
| 89 | + direction: { | |
| 90 | + type: String, | |
| 91 | + default: 'horizontal' | |
| 92 | + }, | |
| 93 | + content: { | |
| 94 | + type: Array, | |
| 95 | + default () { | |
| 96 | + return [] | |
| 97 | + } | |
| 98 | + }, | |
| 99 | + show: { | |
| 100 | + type: Boolean, | |
| 101 | + default: false | |
| 102 | + }, | |
| 103 | + popMenu: { | |
| 104 | + type: Boolean, | |
| 105 | + default: true | |
| 106 | + } | |
| 107 | + }, | |
| 108 | + data() { | |
| 109 | + return { | |
| 110 | + fabShow: false, | |
| 111 | + isShow: false, | |
| 112 | + isAndroidNvue: platform === 'android', | |
| 113 | + styles: { | |
| 114 | + color: '#3c3e49', | |
| 115 | + selectedColor: '#007AFF', | |
| 116 | + backgroundColor: '#fff', | |
| 117 | + buttonColor: '#007AFF', | |
| 118 | + iconColor: '#fff', | |
| 119 | + icon: 'plusempty' | |
| 120 | + } | |
| 121 | + } | |
| 122 | + }, | |
| 123 | + computed: { | |
| 124 | + contentWidth(e) { | |
| 125 | + return (this.content.length + 1) * 55 + 15 + 'px' | |
| 126 | + }, | |
| 127 | + contentWidthMin() { | |
| 128 | + return '55px' | |
| 129 | + }, | |
| 130 | + // 动态计算宽度 | |
| 131 | + boxWidth() { | |
| 132 | + return this.getPosition(3, 'horizontal') | |
| 133 | + }, | |
| 134 | + // 动态计算高度 | |
| 135 | + boxHeight() { | |
| 136 | + return this.getPosition(3, 'vertical') | |
| 137 | + }, | |
| 138 | + // 计算左下位置 | |
| 139 | + leftBottom() { | |
| 140 | + return this.getPosition(0, 'left', 'bottom') | |
| 141 | + }, | |
| 142 | + // 计算右下位置 | |
| 143 | + rightBottom() { | |
| 144 | + return this.getPosition(0, 'right', 'bottom') | |
| 145 | + }, | |
| 146 | + // 计算左上位置 | |
| 147 | + leftTop() { | |
| 148 | + return this.getPosition(0, 'left', 'top') | |
| 149 | + }, | |
| 150 | + rightTop() { | |
| 151 | + return this.getPosition(0, 'right', 'top') | |
| 152 | + }, | |
| 153 | + flexDirectionStart() { | |
| 154 | + return this.getPosition(1, 'vertical', 'top') | |
| 155 | + }, | |
| 156 | + flexDirectionEnd() { | |
| 157 | + return this.getPosition(1, 'vertical', 'bottom') | |
| 158 | + }, | |
| 159 | + horizontalLeft() { | |
| 160 | + return this.getPosition(2, 'horizontal', 'left') | |
| 161 | + }, | |
| 162 | + horizontalRight() { | |
| 163 | + return this.getPosition(2, 'horizontal', 'right') | |
| 164 | + }, | |
| 165 | + // 计算 nvue bottom | |
| 166 | + nvueBottom() { | |
| 167 | + const safeBottom = uni.getSystemInfoSync().windowBottom; | |
| 168 | + // #ifdef APP-NVUE | |
| 169 | + return 30 + safeBottom | |
| 170 | + // #endif | |
| 171 | + // #ifndef APP-NVUE | |
| 172 | + return 30 | |
| 173 | + // #endif | |
| 174 | + } | |
| 175 | + }, | |
| 176 | + watch: { | |
| 177 | + pattern: { | |
| 178 | + handler(val, oldVal) { | |
| 179 | + this.styles = Object.assign({}, this.styles, val) | |
| 180 | + }, | |
| 181 | + deep: true | |
| 182 | + } | |
| 183 | + }, | |
| 184 | + created() { | |
| 185 | + this.isShow = this.show | |
| 186 | + if (this.top === 0) { | |
| 187 | + this.fabShow = true | |
| 188 | + } | |
| 189 | + // 初始化样式 | |
| 190 | + this.styles = Object.assign({}, this.styles, this.pattern) | |
| 191 | + }, | |
| 192 | + methods: { | |
| 193 | + _onClick() { | |
| 194 | + this.$emit('fabClick') | |
| 195 | + if (!this.popMenu) { | |
| 196 | + return | |
| 197 | + } | |
| 198 | + this.isShow = !this.isShow | |
| 199 | + }, | |
| 200 | + open() { | |
| 201 | + this.isShow = true | |
| 202 | + }, | |
| 203 | + close() { | |
| 204 | + this.isShow = false | |
| 205 | + }, | |
| 206 | + /** | |
| 207 | + * 按钮点击事件 | |
| 208 | + */ | |
| 209 | + _onItemClick(index, item) { | |
| 210 | + if (!this.isShow) { | |
| 211 | + return | |
| 212 | + } | |
| 213 | + this.$emit('trigger', { | |
| 214 | + index, | |
| 215 | + item | |
| 216 | + }) | |
| 217 | + }, | |
| 218 | + /** | |
| 219 | + * 获取 位置信息 | |
| 220 | + */ | |
| 221 | + getPosition(types, paramA, paramB) { | |
| 222 | + if (types === 0) { | |
| 223 | + return this.horizontal === paramA && this.vertical === paramB | |
| 224 | + } else if (types === 1) { | |
| 225 | + return this.direction === paramA && this.vertical === paramB | |
| 226 | + } else if (types === 2) { | |
| 227 | + return this.direction === paramA && this.horizontal === paramB | |
| 228 | + } else { | |
| 229 | + return this.isShow && this.direction === paramA ? this.contentWidth : this.contentWidthMin | |
| 230 | + } | |
| 231 | + } | |
| 232 | + } | |
| 233 | + } | |
| 234 | +</script> | |
| 235 | + | |
| 236 | +<style lang="scss" > | |
| 237 | + $uni-shadow-base:0 1px 5px 2px rgba($color: #000000, $alpha: 0.3) !default; | |
| 238 | + | |
| 239 | + .uni-fab { | |
| 240 | + position: fixed; | |
| 241 | + /* #ifndef APP-NVUE */ | |
| 242 | + display: flex; | |
| 243 | + /* #endif */ | |
| 244 | + justify-content: center; | |
| 245 | + align-items: center; | |
| 246 | + z-index: 10; | |
| 247 | + border-radius: 45px; | |
| 248 | + box-shadow: $uni-shadow-base; | |
| 249 | + } | |
| 250 | + | |
| 251 | + .uni-cursor-point { | |
| 252 | + /* #ifdef H5 */ | |
| 253 | + cursor: pointer; | |
| 254 | + /* #endif */ | |
| 255 | + } | |
| 256 | + | |
| 257 | + .uni-fab--active { | |
| 258 | + opacity: 1; | |
| 259 | + } | |
| 260 | + | |
| 261 | + .uni-fab--leftBottom { | |
| 262 | + left: 15px; | |
| 263 | + bottom: 30px; | |
| 264 | + /* #ifdef H5 */ | |
| 265 | + left: calc(15px + var(--window-left)); | |
| 266 | + bottom: calc(30px + var(--window-bottom)); | |
| 267 | + /* #endif */ | |
| 268 | + // padding: 10px; | |
| 269 | + } | |
| 270 | + | |
| 271 | + .uni-fab--leftTop { | |
| 272 | + left: 15px; | |
| 273 | + top: 30px; | |
| 274 | + /* #ifdef H5 */ | |
| 275 | + left: calc(15px + var(--window-left)); | |
| 276 | + top: calc(30px + var(--window-top)); | |
| 277 | + /* #endif */ | |
| 278 | + // padding: 10px; | |
| 279 | + } | |
| 280 | + | |
| 281 | + .uni-fab--rightBottom { | |
| 282 | + right: 15px; | |
| 283 | + bottom: 30px; | |
| 284 | + /* #ifdef H5 */ | |
| 285 | + right: calc(15px + var(--window-right)); | |
| 286 | + bottom: calc(30px + var(--window-bottom)); | |
| 287 | + /* #endif */ | |
| 288 | + // padding: 10px; | |
| 289 | + } | |
| 290 | + | |
| 291 | + .uni-fab--rightTop { | |
| 292 | + right: 15px; | |
| 293 | + top: 30px; | |
| 294 | + /* #ifdef H5 */ | |
| 295 | + right: calc(15px + var(--window-right)); | |
| 296 | + top: calc(30px + var(--window-top)); | |
| 297 | + /* #endif */ | |
| 298 | + // padding: 10px; | |
| 299 | + } | |
| 300 | + | |
| 301 | + .uni-fab__circle { | |
| 302 | + position: fixed; | |
| 303 | + /* #ifndef APP-NVUE */ | |
| 304 | + display: flex; | |
| 305 | + /* #endif */ | |
| 306 | + justify-content: center; | |
| 307 | + align-items: center; | |
| 308 | + width: 55px; | |
| 309 | + height: 55px; | |
| 310 | + background-color: #3c3e49; | |
| 311 | + border-radius: 45px; | |
| 312 | + z-index: 11; | |
| 313 | + // box-shadow: $uni-shadow-base; | |
| 314 | + } | |
| 315 | + | |
| 316 | + .uni-fab__circle--leftBottom { | |
| 317 | + left: 15px; | |
| 318 | + bottom: 30px; | |
| 319 | + /* #ifdef H5 */ | |
| 320 | + left: calc(15px + var(--window-left)); | |
| 321 | + bottom: calc(30px + var(--window-bottom)); | |
| 322 | + /* #endif */ | |
| 323 | + } | |
| 324 | + | |
| 325 | + .uni-fab__circle--leftTop { | |
| 326 | + left: 15px; | |
| 327 | + top: 30px; | |
| 328 | + /* #ifdef H5 */ | |
| 329 | + left: calc(15px + var(--window-left)); | |
| 330 | + top: calc(30px + var(--window-top)); | |
| 331 | + /* #endif */ | |
| 332 | + } | |
| 333 | + | |
| 334 | + .uni-fab__circle--rightBottom { | |
| 335 | + right: 15px; | |
| 336 | + bottom: 630px; | |
| 337 | + /* #ifdef H5 */ | |
| 338 | + right: calc(15px + var(--window-right)); | |
| 339 | + bottom: calc(130px + var(--window-bottom)); | |
| 340 | + /* #endif */ | |
| 341 | + } | |
| 342 | + | |
| 343 | + .uni-fab__circle--rightTop { | |
| 344 | + right: 15px; | |
| 345 | + top: 30px; | |
| 346 | + /* #ifdef H5 */ | |
| 347 | + right: calc(15px + var(--window-right)); | |
| 348 | + top: calc(30px + var(--window-top)); | |
| 349 | + /* #endif */ | |
| 350 | + } | |
| 351 | + | |
| 352 | + .uni-fab__circle--left { | |
| 353 | + left: 0; | |
| 354 | + } | |
| 355 | + | |
| 356 | + .uni-fab__circle--right { | |
| 357 | + right: 0; | |
| 358 | + } | |
| 359 | + | |
| 360 | + .uni-fab__circle--top { | |
| 361 | + top: 0; | |
| 362 | + } | |
| 363 | + | |
| 364 | + .uni-fab__circle--bottom { | |
| 365 | + bottom: 0; | |
| 366 | + } | |
| 367 | + | |
| 368 | + .uni-fab__plus { | |
| 369 | + font-weight: bold; | |
| 370 | + } | |
| 371 | + | |
| 372 | + // .fab-circle-v { | |
| 373 | + // position: absolute; | |
| 374 | + // width: 2px; | |
| 375 | + // height: 24px; | |
| 376 | + // left: 0; | |
| 377 | + // top: 0; | |
| 378 | + // right: 0; | |
| 379 | + // bottom: 0; | |
| 380 | + // /* #ifndef APP-NVUE */ | |
| 381 | + // margin: auto; | |
| 382 | + // /* #endif */ | |
| 383 | + // background-color: white; | |
| 384 | + // transform: rotate(0deg); | |
| 385 | + // transition: transform 0.3s; | |
| 386 | + // } | |
| 387 | + | |
| 388 | + // .fab-circle-h { | |
| 389 | + // position: absolute; | |
| 390 | + // width: 24px; | |
| 391 | + // height: 2px; | |
| 392 | + // left: 0; | |
| 393 | + // top: 0; | |
| 394 | + // right: 0; | |
| 395 | + // bottom: 0; | |
| 396 | + // /* #ifndef APP-NVUE */ | |
| 397 | + // margin: auto; | |
| 398 | + // /* #endif */ | |
| 399 | + // background-color: white; | |
| 400 | + // transform: rotate(0deg); | |
| 401 | + // transition: transform 0.3s; | |
| 402 | + // } | |
| 403 | + | |
| 404 | + .fab-circle-icon { | |
| 405 | + transform: rotate(0deg); | |
| 406 | + transition: transform 0.3s; | |
| 407 | + font-weight: 200; | |
| 408 | + } | |
| 409 | + | |
| 410 | + .uni-fab__plus--active { | |
| 411 | + transform: rotate(135deg); | |
| 412 | + } | |
| 413 | + | |
| 414 | + .uni-fab__content { | |
| 415 | + /* #ifndef APP-NVUE */ | |
| 416 | + box-sizing: border-box; | |
| 417 | + display: flex; | |
| 418 | + /* #endif */ | |
| 419 | + flex-direction: row; | |
| 420 | + border-radius: 55px; | |
| 421 | + overflow: hidden; | |
| 422 | + transition-property: width, height; | |
| 423 | + transition-duration: 0.2s; | |
| 424 | + width: 55px; | |
| 425 | + border-color: #DDDDDD; | |
| 426 | + border-width: 1rpx; | |
| 427 | + border-style: solid; | |
| 428 | + } | |
| 429 | + | |
| 430 | + .uni-fab__content--other-platform { | |
| 431 | + border-width: 0px; | |
| 432 | + box-shadow: $uni-shadow-base; | |
| 433 | + } | |
| 434 | + | |
| 435 | + .uni-fab__content--left { | |
| 436 | + justify-content: flex-start; | |
| 437 | + } | |
| 438 | + | |
| 439 | + .uni-fab__content--right { | |
| 440 | + justify-content: flex-end; | |
| 441 | + } | |
| 442 | + | |
| 443 | + .uni-fab__content--flexDirection { | |
| 444 | + flex-direction: column; | |
| 445 | + justify-content: flex-end; | |
| 446 | + } | |
| 447 | + | |
| 448 | + .uni-fab__content--flexDirectionStart { | |
| 449 | + flex-direction: column; | |
| 450 | + justify-content: flex-start; | |
| 451 | + } | |
| 452 | + | |
| 453 | + .uni-fab__content--flexDirectionEnd { | |
| 454 | + flex-direction: column; | |
| 455 | + justify-content: flex-end; | |
| 456 | + } | |
| 457 | + | |
| 458 | + .uni-fab__item { | |
| 459 | + /* #ifndef APP-NVUE */ | |
| 460 | + display: flex; | |
| 461 | + /* #endif */ | |
| 462 | + flex-direction: column; | |
| 463 | + justify-content: center; | |
| 464 | + align-items: center; | |
| 465 | + width: 55px; | |
| 466 | + height: 55px; | |
| 467 | + opacity: 0; | |
| 468 | + transition: opacity 0.2s; | |
| 469 | + } | |
| 470 | + | |
| 471 | + .uni-fab__item--active { | |
| 472 | + opacity: 1; | |
| 473 | + } | |
| 474 | + | |
| 475 | + .uni-fab__item-image { | |
| 476 | + width: 20px; | |
| 477 | + height: 20px; | |
| 478 | + margin-bottom: 4px; | |
| 479 | + } | |
| 480 | + | |
| 481 | + .uni-fab__item-text { | |
| 482 | + color: #FFFFFF; | |
| 483 | + font-size: 12px; | |
| 484 | + line-height: 12px; | |
| 485 | + margin-top: 2px; | |
| 486 | + } | |
| 487 | + | |
| 488 | + .uni-fab__item--first { | |
| 489 | + width: 55px; | |
| 490 | + } | |
| 491 | +</style> | ... | ... |
garbage-removal/src/uni_modules/uni-fab/package.json
0 → 100644
| 1 | +{ | |
| 2 | + "id": "uni-fab", | |
| 3 | + "displayName": "uni-fab 悬浮按钮", | |
| 4 | + "version": "1.2.5", | |
| 5 | + "description": "悬浮按钮 fab button ,点击可展开一个图标按钮菜单。", | |
| 6 | + "keywords": [ | |
| 7 | + "uni-ui", | |
| 8 | + "uniui", | |
| 9 | + "按钮", | |
| 10 | + "悬浮按钮", | |
| 11 | + "fab" | |
| 12 | +], | |
| 13 | + "repository": "https://github.com/dcloudio/uni-ui", | |
| 14 | + "engines": { | |
| 15 | + "HBuilderX": "" | |
| 16 | + }, | |
| 17 | + "directories": { | |
| 18 | + "example": "../../temps/example_temps" | |
| 19 | + }, | |
| 20 | +"dcloudext": { | |
| 21 | + "sale": { | |
| 22 | + "regular": { | |
| 23 | + "price": "0.00" | |
| 24 | + }, | |
| 25 | + "sourcecode": { | |
| 26 | + "price": "0.00" | |
| 27 | + } | |
| 28 | + }, | |
| 29 | + "contact": { | |
| 30 | + "qq": "" | |
| 31 | + }, | |
| 32 | + "declaration": { | |
| 33 | + "ads": "无", | |
| 34 | + "data": "无", | |
| 35 | + "permissions": "无" | |
| 36 | + }, | |
| 37 | + "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", | |
| 38 | + "type": "component-vue" | |
| 39 | + }, | |
| 40 | + "uni_modules": { | |
| 41 | + "dependencies": ["uni-scss","uni-icons"], | |
| 42 | + "encrypt": [], | |
| 43 | + "platforms": { | |
| 44 | + "cloud": { | |
| 45 | + "tcb": "y", | |
| 46 | + "aliyun": "y" | |
| 47 | + }, | |
| 48 | + "client": { | |
| 49 | + "App": { | |
| 50 | + "app-vue": "y", | |
| 51 | + "app-nvue": "y" | |
| 52 | + }, | |
| 53 | + "H5-mobile": { | |
| 54 | + "Safari": "y", | |
| 55 | + "Android Browser": "y", | |
| 56 | + "微信浏览器(Android)": "y", | |
| 57 | + "QQ浏览器(Android)": "y" | |
| 58 | + }, | |
| 59 | + "H5-pc": { | |
| 60 | + "Chrome": "y", | |
| 61 | + "IE": "y", | |
| 62 | + "Edge": "y", | |
| 63 | + "Firefox": "y", | |
| 64 | + "Safari": "y" | |
| 65 | + }, | |
| 66 | + "小程序": { | |
| 67 | + "微信": "y", | |
| 68 | + "阿里": "y", | |
| 69 | + "百度": "y", | |
| 70 | + "字节跳动": "y", | |
| 71 | + "QQ": "y" | |
| 72 | + }, | |
| 73 | + "快应用": { | |
| 74 | + "华为": "u", | |
| 75 | + "联盟": "u" | |
| 76 | + }, | |
| 77 | + "Vue": { | |
| 78 | + "vue2": "y", | |
| 79 | + "vue3": "y" | |
| 80 | + } | |
| 81 | + } | |
| 82 | + } | |
| 83 | + } | |
| 84 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-fab/readme.md
0 → 100644
garbage-removal/src/uni_modules/uni-icons/changelog.md
0 → 100644
| 1 | +## 2.0.10(2024-06-07) | |
| 2 | +- 优化 uni-app x 中,size 属性的类型 | |
| 3 | +## 2.0.9(2024-01-12) | |
| 4 | +fix: 修复图标大小默认值错误的问题 | |
| 5 | +## 2.0.8(2023-12-14) | |
| 6 | +- 修复 项目未使用 ts 情况下,打包报错的bug | |
| 7 | +## 2.0.7(2023-12-14) | |
| 8 | +- 修复 size 属性为 string 时,不加单位导致尺寸异常的bug | |
| 9 | +## 2.0.6(2023-12-11) | |
| 10 | +- 优化 兼容老版本icon类型,如 top ,bottom 等 | |
| 11 | +## 2.0.5(2023-12-11) | |
| 12 | +- 优化 兼容老版本icon类型,如 top ,bottom 等 | |
| 13 | +## 2.0.4(2023-12-06) | |
| 14 | +- 优化 uni-app x 下示例项目图标排序 | |
| 15 | +## 2.0.3(2023-12-06) | |
| 16 | +- 修复 nvue下引入组件报错的bug | |
| 17 | +## 2.0.2(2023-12-05) | |
| 18 | +-优化 size 属性支持单位 | |
| 19 | +## 2.0.1(2023-12-05) | |
| 20 | +- 新增 uni-app x 支持定义图标 | |
| 21 | +## 1.3.5(2022-01-24) | |
| 22 | +- 优化 size 属性可以传入不带单位的字符串数值 | |
| 23 | +## 1.3.4(2022-01-24) | |
| 24 | +- 优化 size 支持其他单位 | |
| 25 | +## 1.3.3(2022-01-17) | |
| 26 | +- 修复 nvue 有些图标不显示的bug,兼容老版本图标 | |
| 27 | +## 1.3.2(2021-12-01) | |
| 28 | +- 优化 示例可复制图标名称 | |
| 29 | +## 1.3.1(2021-11-23) | |
| 30 | +- 优化 兼容旧组件 type 值 | |
| 31 | +## 1.3.0(2021-11-19) | |
| 32 | +- 新增 更多图标 | |
| 33 | +- 优化 自定义图标使用方式 | |
| 34 | +- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) | |
| 35 | +- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-icons](https://uniapp.dcloud.io/component/uniui/uni-icons) | |
| 36 | +## 1.1.7(2021-11-08) | |
| 37 | +## 1.2.0(2021-07-30) | |
| 38 | +- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) | |
| 39 | +## 1.1.5(2021-05-12) | |
| 40 | +- 新增 组件示例地址 | |
| 41 | +## 1.1.4(2021-02-05) | |
| 42 | +- 调整为uni_modules目录规范 | ... | ... |
garbage-removal/src/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue
0 → 100644
| 1 | +<template> | |
| 2 | + <text class="uni-icons" :style="styleObj"> | |
| 3 | + <slot>{{unicode}}</slot> | |
| 4 | + </text> | |
| 5 | +</template> | |
| 6 | + | |
| 7 | +<script> | |
| 8 | + import { fontData, IconsDataItem } from './uniicons_file' | |
| 9 | + | |
| 10 | + /** | |
| 11 | + * Icons 图标 | |
| 12 | + * @description 用于展示 icon 图标 | |
| 13 | + * @tutorial https://ext.dcloud.net.cn/plugin?id=28 | |
| 14 | + * @property {Number,String} size 图标大小 | |
| 15 | + * @property {String} type 图标图案,参考示例 | |
| 16 | + * @property {String} color 图标颜色 | |
| 17 | + * @property {String} customPrefix 自定义图标 | |
| 18 | + * @event {Function} click 点击 Icon 触发事件 | |
| 19 | + */ | |
| 20 | + export default { | |
| 21 | + name: "uni-icons", | |
| 22 | + props: { | |
| 23 | + type: { | |
| 24 | + type: String, | |
| 25 | + default: '' | |
| 26 | + }, | |
| 27 | + color: { | |
| 28 | + type: String, | |
| 29 | + default: '#333333' | |
| 30 | + }, | |
| 31 | + size: { | |
| 32 | + type: [Number, String], | |
| 33 | + default: 16 | |
| 34 | + }, | |
| 35 | + fontFamily: { | |
| 36 | + type: String, | |
| 37 | + default: '' | |
| 38 | + } | |
| 39 | + }, | |
| 40 | + data() { | |
| 41 | + return {}; | |
| 42 | + }, | |
| 43 | + computed: { | |
| 44 | + unicode() : string { | |
| 45 | + let codes = fontData.find((item : IconsDataItem) : boolean => { return item.font_class == this.type }) | |
| 46 | + if (codes !== null) { | |
| 47 | + return codes.unicode | |
| 48 | + } | |
| 49 | + return '' | |
| 50 | + }, | |
| 51 | + iconSize() : string { | |
| 52 | + const size = this.size | |
| 53 | + if (typeof size == 'string') { | |
| 54 | + const reg = /^[0-9]*$/g | |
| 55 | + return reg.test(size as string) ? '' + size + 'px' : '' + size; | |
| 56 | + // return '' + this.size | |
| 57 | + } | |
| 58 | + return this.getFontSize(size as number) | |
| 59 | + }, | |
| 60 | + styleObj() : UTSJSONObject { | |
| 61 | + if (this.fontFamily !== '') { | |
| 62 | + return { color: this.color, fontSize: this.iconSize, fontFamily: this.fontFamily } | |
| 63 | + } | |
| 64 | + return { color: this.color, fontSize: this.iconSize } | |
| 65 | + } | |
| 66 | + }, | |
| 67 | + created() { }, | |
| 68 | + methods: { | |
| 69 | + /** | |
| 70 | + * 字体大小 | |
| 71 | + */ | |
| 72 | + getFontSize(size : number) : string { | |
| 73 | + return size + 'px'; | |
| 74 | + }, | |
| 75 | + }, | |
| 76 | + } | |
| 77 | +</script> | |
| 78 | + | |
| 79 | +<style scoped> | |
| 80 | + @font-face { | |
| 81 | + font-family: UniIconsFontFamily; | |
| 82 | + src: url('./uniicons.ttf'); | |
| 83 | + } | |
| 84 | + | |
| 85 | + .uni-icons { | |
| 86 | + font-family: UniIconsFontFamily; | |
| 87 | + font-size: 18px; | |
| 88 | + font-style: normal; | |
| 89 | + color: #333; | |
| 90 | + } | |
| 91 | +</style> | ... | ... |
garbage-removal/src/uni_modules/uni-icons/components/uni-icons/uni-icons.vue
0 → 100644
| 1 | +<template> | |
| 2 | + <!-- #ifdef APP-NVUE --> | |
| 3 | + <text :style="styleObj" class="uni-icons" @click="_onClick">{{unicode}}</text> | |
| 4 | + <!-- #endif --> | |
| 5 | + <!-- #ifndef APP-NVUE --> | |
| 6 | + <text :style="styleObj" class="uni-icons" :class="['uniui-'+type,customPrefix,customPrefix?type:'']" @click="_onClick"> | |
| 7 | + <slot></slot> | |
| 8 | + </text> | |
| 9 | + <!-- #endif --> | |
| 10 | +</template> | |
| 11 | + | |
| 12 | +<script> | |
| 13 | + import { fontData } from './uniicons_file_vue.js'; | |
| 14 | + | |
| 15 | + const getVal = (val) => { | |
| 16 | + const reg = /^[0-9]*$/g | |
| 17 | + return (typeof val === 'number' || reg.test(val)) ? val + 'px' : val; | |
| 18 | + } | |
| 19 | + | |
| 20 | + // #ifdef APP-NVUE | |
| 21 | + var domModule = weex.requireModule('dom'); | |
| 22 | + import iconUrl from './uniicons.ttf' | |
| 23 | + domModule.addRule('fontFace', { | |
| 24 | + 'fontFamily': "uniicons", | |
| 25 | + 'src': "url('" + iconUrl + "')" | |
| 26 | + }); | |
| 27 | + // #endif | |
| 28 | + | |
| 29 | + /** | |
| 30 | + * Icons 图标 | |
| 31 | + * @description 用于展示 icons 图标 | |
| 32 | + * @tutorial https://ext.dcloud.net.cn/plugin?id=28 | |
| 33 | + * @property {Number} size 图标大小 | |
| 34 | + * @property {String} type 图标图案,参考示例 | |
| 35 | + * @property {String} color 图标颜色 | |
| 36 | + * @property {String} customPrefix 自定义图标 | |
| 37 | + * @event {Function} click 点击 Icon 触发事件 | |
| 38 | + */ | |
| 39 | + export default { | |
| 40 | + name: 'UniIcons', | |
| 41 | + emits: ['click'], | |
| 42 | + props: { | |
| 43 | + type: { | |
| 44 | + type: String, | |
| 45 | + default: '' | |
| 46 | + }, | |
| 47 | + color: { | |
| 48 | + type: String, | |
| 49 | + default: '#333333' | |
| 50 | + }, | |
| 51 | + size: { | |
| 52 | + type: [Number, String], | |
| 53 | + default: 16 | |
| 54 | + }, | |
| 55 | + customPrefix: { | |
| 56 | + type: String, | |
| 57 | + default: '' | |
| 58 | + }, | |
| 59 | + fontFamily: { | |
| 60 | + type: String, | |
| 61 | + default: '' | |
| 62 | + } | |
| 63 | + }, | |
| 64 | + data() { | |
| 65 | + return { | |
| 66 | + icons: fontData | |
| 67 | + } | |
| 68 | + }, | |
| 69 | + computed: { | |
| 70 | + unicode() { | |
| 71 | + let code = this.icons.find(v => v.font_class === this.type) | |
| 72 | + if (code) { | |
| 73 | + return code.unicode | |
| 74 | + } | |
| 75 | + return '' | |
| 76 | + }, | |
| 77 | + iconSize() { | |
| 78 | + return getVal(this.size) | |
| 79 | + }, | |
| 80 | + styleObj() { | |
| 81 | + if (this.fontFamily !== '') { | |
| 82 | + return `color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};` | |
| 83 | + } | |
| 84 | + return `color: ${this.color}; font-size: ${this.iconSize};` | |
| 85 | + } | |
| 86 | + }, | |
| 87 | + methods: { | |
| 88 | + _onClick() { | |
| 89 | + this.$emit('click') | |
| 90 | + } | |
| 91 | + } | |
| 92 | + } | |
| 93 | +</script> | |
| 94 | + | |
| 95 | +<style lang="scss"> | |
| 96 | + /* #ifndef APP-NVUE */ | |
| 97 | + @import './uniicons.css'; | |
| 98 | + | |
| 99 | + @font-face { | |
| 100 | + font-family: uniicons; | |
| 101 | + src: url('./uniicons.ttf'); | |
| 102 | + } | |
| 103 | + | |
| 104 | + /* #endif */ | |
| 105 | + .uni-icons { | |
| 106 | + font-family: uniicons; | |
| 107 | + text-decoration: none; | |
| 108 | + text-align: center; | |
| 109 | + } | |
| 110 | +</style> | ... | ... |
garbage-removal/src/uni_modules/uni-icons/components/uni-icons/uniicons.css
0 → 100644
| 1 | + | |
| 2 | +.uniui-cart-filled:before { | |
| 3 | + content: "\e6d0"; | |
| 4 | +} | |
| 5 | + | |
| 6 | +.uniui-gift-filled:before { | |
| 7 | + content: "\e6c4"; | |
| 8 | +} | |
| 9 | + | |
| 10 | +.uniui-color:before { | |
| 11 | + content: "\e6cf"; | |
| 12 | +} | |
| 13 | + | |
| 14 | +.uniui-wallet:before { | |
| 15 | + content: "\e6b1"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +.uniui-settings-filled:before { | |
| 19 | + content: "\e6ce"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +.uniui-auth-filled:before { | |
| 23 | + content: "\e6cc"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +.uniui-shop-filled:before { | |
| 27 | + content: "\e6cd"; | |
| 28 | +} | |
| 29 | + | |
| 30 | +.uniui-staff-filled:before { | |
| 31 | + content: "\e6cb"; | |
| 32 | +} | |
| 33 | + | |
| 34 | +.uniui-vip-filled:before { | |
| 35 | + content: "\e6c6"; | |
| 36 | +} | |
| 37 | + | |
| 38 | +.uniui-plus-filled:before { | |
| 39 | + content: "\e6c7"; | |
| 40 | +} | |
| 41 | + | |
| 42 | +.uniui-folder-add-filled:before { | |
| 43 | + content: "\e6c8"; | |
| 44 | +} | |
| 45 | + | |
| 46 | +.uniui-color-filled:before { | |
| 47 | + content: "\e6c9"; | |
| 48 | +} | |
| 49 | + | |
| 50 | +.uniui-tune-filled:before { | |
| 51 | + content: "\e6ca"; | |
| 52 | +} | |
| 53 | + | |
| 54 | +.uniui-calendar-filled:before { | |
| 55 | + content: "\e6c0"; | |
| 56 | +} | |
| 57 | + | |
| 58 | +.uniui-notification-filled:before { | |
| 59 | + content: "\e6c1"; | |
| 60 | +} | |
| 61 | + | |
| 62 | +.uniui-wallet-filled:before { | |
| 63 | + content: "\e6c2"; | |
| 64 | +} | |
| 65 | + | |
| 66 | +.uniui-medal-filled:before { | |
| 67 | + content: "\e6c3"; | |
| 68 | +} | |
| 69 | + | |
| 70 | +.uniui-fire-filled:before { | |
| 71 | + content: "\e6c5"; | |
| 72 | +} | |
| 73 | + | |
| 74 | +.uniui-refreshempty:before { | |
| 75 | + content: "\e6bf"; | |
| 76 | +} | |
| 77 | + | |
| 78 | +.uniui-location-filled:before { | |
| 79 | + content: "\e6af"; | |
| 80 | +} | |
| 81 | + | |
| 82 | +.uniui-person-filled:before { | |
| 83 | + content: "\e69d"; | |
| 84 | +} | |
| 85 | + | |
| 86 | +.uniui-personadd-filled:before { | |
| 87 | + content: "\e698"; | |
| 88 | +} | |
| 89 | + | |
| 90 | +.uniui-arrowthinleft:before { | |
| 91 | + content: "\e6d2"; | |
| 92 | +} | |
| 93 | + | |
| 94 | +.uniui-arrowthinup:before { | |
| 95 | + content: "\e6d3"; | |
| 96 | +} | |
| 97 | + | |
| 98 | +.uniui-arrowthindown:before { | |
| 99 | + content: "\e6d4"; | |
| 100 | +} | |
| 101 | + | |
| 102 | +.uniui-back:before { | |
| 103 | + content: "\e6b9"; | |
| 104 | +} | |
| 105 | + | |
| 106 | +.uniui-forward:before { | |
| 107 | + content: "\e6ba"; | |
| 108 | +} | |
| 109 | + | |
| 110 | +.uniui-arrow-right:before { | |
| 111 | + content: "\e6bb"; | |
| 112 | +} | |
| 113 | + | |
| 114 | +.uniui-arrow-left:before { | |
| 115 | + content: "\e6bc"; | |
| 116 | +} | |
| 117 | + | |
| 118 | +.uniui-arrow-up:before { | |
| 119 | + content: "\e6bd"; | |
| 120 | +} | |
| 121 | + | |
| 122 | +.uniui-arrow-down:before { | |
| 123 | + content: "\e6be"; | |
| 124 | +} | |
| 125 | + | |
| 126 | +.uniui-arrowthinright:before { | |
| 127 | + content: "\e6d1"; | |
| 128 | +} | |
| 129 | + | |
| 130 | +.uniui-down:before { | |
| 131 | + content: "\e6b8"; | |
| 132 | +} | |
| 133 | + | |
| 134 | +.uniui-bottom:before { | |
| 135 | + content: "\e6b8"; | |
| 136 | +} | |
| 137 | + | |
| 138 | +.uniui-arrowright:before { | |
| 139 | + content: "\e6d5"; | |
| 140 | +} | |
| 141 | + | |
| 142 | +.uniui-right:before { | |
| 143 | + content: "\e6b5"; | |
| 144 | +} | |
| 145 | + | |
| 146 | +.uniui-up:before { | |
| 147 | + content: "\e6b6"; | |
| 148 | +} | |
| 149 | + | |
| 150 | +.uniui-top:before { | |
| 151 | + content: "\e6b6"; | |
| 152 | +} | |
| 153 | + | |
| 154 | +.uniui-left:before { | |
| 155 | + content: "\e6b7"; | |
| 156 | +} | |
| 157 | + | |
| 158 | +.uniui-arrowup:before { | |
| 159 | + content: "\e6d6"; | |
| 160 | +} | |
| 161 | + | |
| 162 | +.uniui-eye:before { | |
| 163 | + content: "\e651"; | |
| 164 | +} | |
| 165 | + | |
| 166 | +.uniui-eye-filled:before { | |
| 167 | + content: "\e66a"; | |
| 168 | +} | |
| 169 | + | |
| 170 | +.uniui-eye-slash:before { | |
| 171 | + content: "\e6b3"; | |
| 172 | +} | |
| 173 | + | |
| 174 | +.uniui-eye-slash-filled:before { | |
| 175 | + content: "\e6b4"; | |
| 176 | +} | |
| 177 | + | |
| 178 | +.uniui-info-filled:before { | |
| 179 | + content: "\e649"; | |
| 180 | +} | |
| 181 | + | |
| 182 | +.uniui-reload:before { | |
| 183 | + content: "\e6b2"; | |
| 184 | +} | |
| 185 | + | |
| 186 | +.uniui-micoff-filled:before { | |
| 187 | + content: "\e6b0"; | |
| 188 | +} | |
| 189 | + | |
| 190 | +.uniui-map-pin-ellipse:before { | |
| 191 | + content: "\e6ac"; | |
| 192 | +} | |
| 193 | + | |
| 194 | +.uniui-map-pin:before { | |
| 195 | + content: "\e6ad"; | |
| 196 | +} | |
| 197 | + | |
| 198 | +.uniui-location:before { | |
| 199 | + content: "\e6ae"; | |
| 200 | +} | |
| 201 | + | |
| 202 | +.uniui-starhalf:before { | |
| 203 | + content: "\e683"; | |
| 204 | +} | |
| 205 | + | |
| 206 | +.uniui-star:before { | |
| 207 | + content: "\e688"; | |
| 208 | +} | |
| 209 | + | |
| 210 | +.uniui-star-filled:before { | |
| 211 | + content: "\e68f"; | |
| 212 | +} | |
| 213 | + | |
| 214 | +.uniui-calendar:before { | |
| 215 | + content: "\e6a0"; | |
| 216 | +} | |
| 217 | + | |
| 218 | +.uniui-fire:before { | |
| 219 | + content: "\e6a1"; | |
| 220 | +} | |
| 221 | + | |
| 222 | +.uniui-medal:before { | |
| 223 | + content: "\e6a2"; | |
| 224 | +} | |
| 225 | + | |
| 226 | +.uniui-font:before { | |
| 227 | + content: "\e6a3"; | |
| 228 | +} | |
| 229 | + | |
| 230 | +.uniui-gift:before { | |
| 231 | + content: "\e6a4"; | |
| 232 | +} | |
| 233 | + | |
| 234 | +.uniui-link:before { | |
| 235 | + content: "\e6a5"; | |
| 236 | +} | |
| 237 | + | |
| 238 | +.uniui-notification:before { | |
| 239 | + content: "\e6a6"; | |
| 240 | +} | |
| 241 | + | |
| 242 | +.uniui-staff:before { | |
| 243 | + content: "\e6a7"; | |
| 244 | +} | |
| 245 | + | |
| 246 | +.uniui-vip:before { | |
| 247 | + content: "\e6a8"; | |
| 248 | +} | |
| 249 | + | |
| 250 | +.uniui-folder-add:before { | |
| 251 | + content: "\e6a9"; | |
| 252 | +} | |
| 253 | + | |
| 254 | +.uniui-tune:before { | |
| 255 | + content: "\e6aa"; | |
| 256 | +} | |
| 257 | + | |
| 258 | +.uniui-auth:before { | |
| 259 | + content: "\e6ab"; | |
| 260 | +} | |
| 261 | + | |
| 262 | +.uniui-person:before { | |
| 263 | + content: "\e699"; | |
| 264 | +} | |
| 265 | + | |
| 266 | +.uniui-email-filled:before { | |
| 267 | + content: "\e69a"; | |
| 268 | +} | |
| 269 | + | |
| 270 | +.uniui-phone-filled:before { | |
| 271 | + content: "\e69b"; | |
| 272 | +} | |
| 273 | + | |
| 274 | +.uniui-phone:before { | |
| 275 | + content: "\e69c"; | |
| 276 | +} | |
| 277 | + | |
| 278 | +.uniui-email:before { | |
| 279 | + content: "\e69e"; | |
| 280 | +} | |
| 281 | + | |
| 282 | +.uniui-personadd:before { | |
| 283 | + content: "\e69f"; | |
| 284 | +} | |
| 285 | + | |
| 286 | +.uniui-chatboxes-filled:before { | |
| 287 | + content: "\e692"; | |
| 288 | +} | |
| 289 | + | |
| 290 | +.uniui-contact:before { | |
| 291 | + content: "\e693"; | |
| 292 | +} | |
| 293 | + | |
| 294 | +.uniui-chatbubble-filled:before { | |
| 295 | + content: "\e694"; | |
| 296 | +} | |
| 297 | + | |
| 298 | +.uniui-contact-filled:before { | |
| 299 | + content: "\e695"; | |
| 300 | +} | |
| 301 | + | |
| 302 | +.uniui-chatboxes:before { | |
| 303 | + content: "\e696"; | |
| 304 | +} | |
| 305 | + | |
| 306 | +.uniui-chatbubble:before { | |
| 307 | + content: "\e697"; | |
| 308 | +} | |
| 309 | + | |
| 310 | +.uniui-upload-filled:before { | |
| 311 | + content: "\e68e"; | |
| 312 | +} | |
| 313 | + | |
| 314 | +.uniui-upload:before { | |
| 315 | + content: "\e690"; | |
| 316 | +} | |
| 317 | + | |
| 318 | +.uniui-weixin:before { | |
| 319 | + content: "\e691"; | |
| 320 | +} | |
| 321 | + | |
| 322 | +.uniui-compose:before { | |
| 323 | + content: "\e67f"; | |
| 324 | +} | |
| 325 | + | |
| 326 | +.uniui-qq:before { | |
| 327 | + content: "\e680"; | |
| 328 | +} | |
| 329 | + | |
| 330 | +.uniui-download-filled:before { | |
| 331 | + content: "\e681"; | |
| 332 | +} | |
| 333 | + | |
| 334 | +.uniui-pyq:before { | |
| 335 | + content: "\e682"; | |
| 336 | +} | |
| 337 | + | |
| 338 | +.uniui-sound:before { | |
| 339 | + content: "\e684"; | |
| 340 | +} | |
| 341 | + | |
| 342 | +.uniui-trash-filled:before { | |
| 343 | + content: "\e685"; | |
| 344 | +} | |
| 345 | + | |
| 346 | +.uniui-sound-filled:before { | |
| 347 | + content: "\e686"; | |
| 348 | +} | |
| 349 | + | |
| 350 | +.uniui-trash:before { | |
| 351 | + content: "\e687"; | |
| 352 | +} | |
| 353 | + | |
| 354 | +.uniui-videocam-filled:before { | |
| 355 | + content: "\e689"; | |
| 356 | +} | |
| 357 | + | |
| 358 | +.uniui-spinner-cycle:before { | |
| 359 | + content: "\e68a"; | |
| 360 | +} | |
| 361 | + | |
| 362 | +.uniui-weibo:before { | |
| 363 | + content: "\e68b"; | |
| 364 | +} | |
| 365 | + | |
| 366 | +.uniui-videocam:before { | |
| 367 | + content: "\e68c"; | |
| 368 | +} | |
| 369 | + | |
| 370 | +.uniui-download:before { | |
| 371 | + content: "\e68d"; | |
| 372 | +} | |
| 373 | + | |
| 374 | +.uniui-help:before { | |
| 375 | + content: "\e679"; | |
| 376 | +} | |
| 377 | + | |
| 378 | +.uniui-navigate-filled:before { | |
| 379 | + content: "\e6bf"; | |
| 380 | +} | |
| 381 | + | |
| 382 | +.uniui-plusempty:before { | |
| 383 | + content: "\e69b"; | |
| 384 | +} | |
| 385 | + | |
| 386 | +.uniui-smallcircle:before { | |
| 387 | + content: "\e67c"; | |
| 388 | +} | |
| 389 | + | |
| 390 | +.uniui-minus-filled:before { | |
| 391 | + content: "\e67d"; | |
| 392 | +} | |
| 393 | + | |
| 394 | +.uniui-micoff:before { | |
| 395 | + content: "\e67e"; | |
| 396 | +} | |
| 397 | + | |
| 398 | +.uniui-closeempty:before { | |
| 399 | + content: "\e66c"; | |
| 400 | +} | |
| 401 | + | |
| 402 | +.uniui-clear:before { | |
| 403 | + content: "\e66d"; | |
| 404 | +} | |
| 405 | + | |
| 406 | +.uniui-navigate:before { | |
| 407 | + content: "\e66e"; | |
| 408 | +} | |
| 409 | + | |
| 410 | +.uniui-minus:before { | |
| 411 | + content: "\e66f"; | |
| 412 | +} | |
| 413 | + | |
| 414 | +.uniui-image:before { | |
| 415 | + content: "\e670"; | |
| 416 | +} | |
| 417 | + | |
| 418 | +.uniui-mic:before { | |
| 419 | + content: "\e671"; | |
| 420 | +} | |
| 421 | + | |
| 422 | +.uniui-paperplane:before { | |
| 423 | + content: "\e672"; | |
| 424 | +} | |
| 425 | + | |
| 426 | +.uniui-close:before { | |
| 427 | + content: "\e673"; | |
| 428 | +} | |
| 429 | + | |
| 430 | +.uniui-help-filled:before { | |
| 431 | + content: "\e674"; | |
| 432 | +} | |
| 433 | + | |
| 434 | +.uniui-paperplane-filled:before { | |
| 435 | + content: "\e675"; | |
| 436 | +} | |
| 437 | + | |
| 438 | +.uniui-plus:before { | |
| 439 | + content: "\e676"; | |
| 440 | +} | |
| 441 | + | |
| 442 | +.uniui-mic-filled:before { | |
| 443 | + content: "\e677"; | |
| 444 | +} | |
| 445 | + | |
| 446 | +.uniui-image-filled:before { | |
| 447 | + content: "\e678"; | |
| 448 | +} | |
| 449 | + | |
| 450 | +.uniui-locked-filled:before { | |
| 451 | + content: "\e668"; | |
| 452 | +} | |
| 453 | + | |
| 454 | +.uniui-info:before { | |
| 455 | + content: "\e669"; | |
| 456 | +} | |
| 457 | + | |
| 458 | +.uniui-locked:before { | |
| 459 | + content: "\e66b"; | |
| 460 | +} | |
| 461 | + | |
| 462 | +.uniui-camera-filled:before { | |
| 463 | + content: "\e658"; | |
| 464 | +} | |
| 465 | + | |
| 466 | +.uniui-chat-filled:before { | |
| 467 | + content: "\e659"; | |
| 468 | +} | |
| 469 | + | |
| 470 | +.uniui-camera:before { | |
| 471 | + content: "\e65a"; | |
| 472 | +} | |
| 473 | + | |
| 474 | +.uniui-circle:before { | |
| 475 | + content: "\e65b"; | |
| 476 | +} | |
| 477 | + | |
| 478 | +.uniui-checkmarkempty:before { | |
| 479 | + content: "\e65c"; | |
| 480 | +} | |
| 481 | + | |
| 482 | +.uniui-chat:before { | |
| 483 | + content: "\e65d"; | |
| 484 | +} | |
| 485 | + | |
| 486 | +.uniui-circle-filled:before { | |
| 487 | + content: "\e65e"; | |
| 488 | +} | |
| 489 | + | |
| 490 | +.uniui-flag:before { | |
| 491 | + content: "\e65f"; | |
| 492 | +} | |
| 493 | + | |
| 494 | +.uniui-flag-filled:before { | |
| 495 | + content: "\e660"; | |
| 496 | +} | |
| 497 | + | |
| 498 | +.uniui-gear-filled:before { | |
| 499 | + content: "\e661"; | |
| 500 | +} | |
| 501 | + | |
| 502 | +.uniui-home:before { | |
| 503 | + content: "\e662"; | |
| 504 | +} | |
| 505 | + | |
| 506 | +.uniui-home-filled:before { | |
| 507 | + content: "\e663"; | |
| 508 | +} | |
| 509 | + | |
| 510 | +.uniui-gear:before { | |
| 511 | + content: "\e664"; | |
| 512 | +} | |
| 513 | + | |
| 514 | +.uniui-smallcircle-filled:before { | |
| 515 | + content: "\e665"; | |
| 516 | +} | |
| 517 | + | |
| 518 | +.uniui-map-filled:before { | |
| 519 | + content: "\e666"; | |
| 520 | +} | |
| 521 | + | |
| 522 | +.uniui-map:before { | |
| 523 | + content: "\e667"; | |
| 524 | +} | |
| 525 | + | |
| 526 | +.uniui-refresh-filled:before { | |
| 527 | + content: "\e656"; | |
| 528 | +} | |
| 529 | + | |
| 530 | +.uniui-refresh:before { | |
| 531 | + content: "\e657"; | |
| 532 | +} | |
| 533 | + | |
| 534 | +.uniui-cloud-upload:before { | |
| 535 | + content: "\e645"; | |
| 536 | +} | |
| 537 | + | |
| 538 | +.uniui-cloud-download-filled:before { | |
| 539 | + content: "\e646"; | |
| 540 | +} | |
| 541 | + | |
| 542 | +.uniui-cloud-download:before { | |
| 543 | + content: "\e647"; | |
| 544 | +} | |
| 545 | + | |
| 546 | +.uniui-cloud-upload-filled:before { | |
| 547 | + content: "\e648"; | |
| 548 | +} | |
| 549 | + | |
| 550 | +.uniui-redo:before { | |
| 551 | + content: "\e64a"; | |
| 552 | +} | |
| 553 | + | |
| 554 | +.uniui-images-filled:before { | |
| 555 | + content: "\e64b"; | |
| 556 | +} | |
| 557 | + | |
| 558 | +.uniui-undo-filled:before { | |
| 559 | + content: "\e64c"; | |
| 560 | +} | |
| 561 | + | |
| 562 | +.uniui-more:before { | |
| 563 | + content: "\e64d"; | |
| 564 | +} | |
| 565 | + | |
| 566 | +.uniui-more-filled:before { | |
| 567 | + content: "\e64e"; | |
| 568 | +} | |
| 569 | + | |
| 570 | +.uniui-undo:before { | |
| 571 | + content: "\e64f"; | |
| 572 | +} | |
| 573 | + | |
| 574 | +.uniui-images:before { | |
| 575 | + content: "\e650"; | |
| 576 | +} | |
| 577 | + | |
| 578 | +.uniui-paperclip:before { | |
| 579 | + content: "\e652"; | |
| 580 | +} | |
| 581 | + | |
| 582 | +.uniui-settings:before { | |
| 583 | + content: "\e653"; | |
| 584 | +} | |
| 585 | + | |
| 586 | +.uniui-search:before { | |
| 587 | + content: "\e654"; | |
| 588 | +} | |
| 589 | + | |
| 590 | +.uniui-redo-filled:before { | |
| 591 | + content: "\e655"; | |
| 592 | +} | |
| 593 | + | |
| 594 | +.uniui-list:before { | |
| 595 | + content: "\e644"; | |
| 596 | +} | |
| 597 | + | |
| 598 | +.uniui-mail-open-filled:before { | |
| 599 | + content: "\e63a"; | |
| 600 | +} | |
| 601 | + | |
| 602 | +.uniui-hand-down-filled:before { | |
| 603 | + content: "\e63c"; | |
| 604 | +} | |
| 605 | + | |
| 606 | +.uniui-hand-down:before { | |
| 607 | + content: "\e63d"; | |
| 608 | +} | |
| 609 | + | |
| 610 | +.uniui-hand-up-filled:before { | |
| 611 | + content: "\e63e"; | |
| 612 | +} | |
| 613 | + | |
| 614 | +.uniui-hand-up:before { | |
| 615 | + content: "\e63f"; | |
| 616 | +} | |
| 617 | + | |
| 618 | +.uniui-heart-filled:before { | |
| 619 | + content: "\e641"; | |
| 620 | +} | |
| 621 | + | |
| 622 | +.uniui-mail-open:before { | |
| 623 | + content: "\e643"; | |
| 624 | +} | |
| 625 | + | |
| 626 | +.uniui-heart:before { | |
| 627 | + content: "\e639"; | |
| 628 | +} | |
| 629 | + | |
| 630 | +.uniui-loop:before { | |
| 631 | + content: "\e633"; | |
| 632 | +} | |
| 633 | + | |
| 634 | +.uniui-pulldown:before { | |
| 635 | + content: "\e632"; | |
| 636 | +} | |
| 637 | + | |
| 638 | +.uniui-scan:before { | |
| 639 | + content: "\e62a"; | |
| 640 | +} | |
| 641 | + | |
| 642 | +.uniui-bars:before { | |
| 643 | + content: "\e627"; | |
| 644 | +} | |
| 645 | + | |
| 646 | +.uniui-checkbox:before { | |
| 647 | + content: "\e62b"; | |
| 648 | +} | |
| 649 | + | |
| 650 | +.uniui-checkbox-filled:before { | |
| 651 | + content: "\e62c"; | |
| 652 | +} | |
| 653 | + | |
| 654 | +.uniui-shop:before { | |
| 655 | + content: "\e62f"; | |
| 656 | +} | |
| 657 | + | |
| 658 | +.uniui-headphones:before { | |
| 659 | + content: "\e630"; | |
| 660 | +} | |
| 661 | + | |
| 662 | +.uniui-cart:before { | |
| 663 | + content: "\e631"; | |
| 664 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-icons/components/uni-icons/uniicons.ttf
0 → 100644
No preview for this file type
garbage-removal/src/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts
0 → 100644
| 1 | + | |
| 2 | +export type IconsData = { | |
| 3 | + id : string | |
| 4 | + name : string | |
| 5 | + font_family : string | |
| 6 | + css_prefix_text : string | |
| 7 | + description : string | |
| 8 | + glyphs : Array<IconsDataItem> | |
| 9 | +} | |
| 10 | + | |
| 11 | +export type IconsDataItem = { | |
| 12 | + font_class : string | |
| 13 | + unicode : string | |
| 14 | +} | |
| 15 | + | |
| 16 | + | |
| 17 | +export const fontData = [ | |
| 18 | + { | |
| 19 | + "font_class": "arrow-down", | |
| 20 | + "unicode": "\ue6be" | |
| 21 | + }, | |
| 22 | + { | |
| 23 | + "font_class": "arrow-left", | |
| 24 | + "unicode": "\ue6bc" | |
| 25 | + }, | |
| 26 | + { | |
| 27 | + "font_class": "arrow-right", | |
| 28 | + "unicode": "\ue6bb" | |
| 29 | + }, | |
| 30 | + { | |
| 31 | + "font_class": "arrow-up", | |
| 32 | + "unicode": "\ue6bd" | |
| 33 | + }, | |
| 34 | + { | |
| 35 | + "font_class": "auth", | |
| 36 | + "unicode": "\ue6ab" | |
| 37 | + }, | |
| 38 | + { | |
| 39 | + "font_class": "auth-filled", | |
| 40 | + "unicode": "\ue6cc" | |
| 41 | + }, | |
| 42 | + { | |
| 43 | + "font_class": "back", | |
| 44 | + "unicode": "\ue6b9" | |
| 45 | + }, | |
| 46 | + { | |
| 47 | + "font_class": "bars", | |
| 48 | + "unicode": "\ue627" | |
| 49 | + }, | |
| 50 | + { | |
| 51 | + "font_class": "calendar", | |
| 52 | + "unicode": "\ue6a0" | |
| 53 | + }, | |
| 54 | + { | |
| 55 | + "font_class": "calendar-filled", | |
| 56 | + "unicode": "\ue6c0" | |
| 57 | + }, | |
| 58 | + { | |
| 59 | + "font_class": "camera", | |
| 60 | + "unicode": "\ue65a" | |
| 61 | + }, | |
| 62 | + { | |
| 63 | + "font_class": "camera-filled", | |
| 64 | + "unicode": "\ue658" | |
| 65 | + }, | |
| 66 | + { | |
| 67 | + "font_class": "cart", | |
| 68 | + "unicode": "\ue631" | |
| 69 | + }, | |
| 70 | + { | |
| 71 | + "font_class": "cart-filled", | |
| 72 | + "unicode": "\ue6d0" | |
| 73 | + }, | |
| 74 | + { | |
| 75 | + "font_class": "chat", | |
| 76 | + "unicode": "\ue65d" | |
| 77 | + }, | |
| 78 | + { | |
| 79 | + "font_class": "chat-filled", | |
| 80 | + "unicode": "\ue659" | |
| 81 | + }, | |
| 82 | + { | |
| 83 | + "font_class": "chatboxes", | |
| 84 | + "unicode": "\ue696" | |
| 85 | + }, | |
| 86 | + { | |
| 87 | + "font_class": "chatboxes-filled", | |
| 88 | + "unicode": "\ue692" | |
| 89 | + }, | |
| 90 | + { | |
| 91 | + "font_class": "chatbubble", | |
| 92 | + "unicode": "\ue697" | |
| 93 | + }, | |
| 94 | + { | |
| 95 | + "font_class": "chatbubble-filled", | |
| 96 | + "unicode": "\ue694" | |
| 97 | + }, | |
| 98 | + { | |
| 99 | + "font_class": "checkbox", | |
| 100 | + "unicode": "\ue62b" | |
| 101 | + }, | |
| 102 | + { | |
| 103 | + "font_class": "checkbox-filled", | |
| 104 | + "unicode": "\ue62c" | |
| 105 | + }, | |
| 106 | + { | |
| 107 | + "font_class": "checkmarkempty", | |
| 108 | + "unicode": "\ue65c" | |
| 109 | + }, | |
| 110 | + { | |
| 111 | + "font_class": "circle", | |
| 112 | + "unicode": "\ue65b" | |
| 113 | + }, | |
| 114 | + { | |
| 115 | + "font_class": "circle-filled", | |
| 116 | + "unicode": "\ue65e" | |
| 117 | + }, | |
| 118 | + { | |
| 119 | + "font_class": "clear", | |
| 120 | + "unicode": "\ue66d" | |
| 121 | + }, | |
| 122 | + { | |
| 123 | + "font_class": "close", | |
| 124 | + "unicode": "\ue673" | |
| 125 | + }, | |
| 126 | + { | |
| 127 | + "font_class": "closeempty", | |
| 128 | + "unicode": "\ue66c" | |
| 129 | + }, | |
| 130 | + { | |
| 131 | + "font_class": "cloud-download", | |
| 132 | + "unicode": "\ue647" | |
| 133 | + }, | |
| 134 | + { | |
| 135 | + "font_class": "cloud-download-filled", | |
| 136 | + "unicode": "\ue646" | |
| 137 | + }, | |
| 138 | + { | |
| 139 | + "font_class": "cloud-upload", | |
| 140 | + "unicode": "\ue645" | |
| 141 | + }, | |
| 142 | + { | |
| 143 | + "font_class": "cloud-upload-filled", | |
| 144 | + "unicode": "\ue648" | |
| 145 | + }, | |
| 146 | + { | |
| 147 | + "font_class": "color", | |
| 148 | + "unicode": "\ue6cf" | |
| 149 | + }, | |
| 150 | + { | |
| 151 | + "font_class": "color-filled", | |
| 152 | + "unicode": "\ue6c9" | |
| 153 | + }, | |
| 154 | + { | |
| 155 | + "font_class": "compose", | |
| 156 | + "unicode": "\ue67f" | |
| 157 | + }, | |
| 158 | + { | |
| 159 | + "font_class": "contact", | |
| 160 | + "unicode": "\ue693" | |
| 161 | + }, | |
| 162 | + { | |
| 163 | + "font_class": "contact-filled", | |
| 164 | + "unicode": "\ue695" | |
| 165 | + }, | |
| 166 | + { | |
| 167 | + "font_class": "down", | |
| 168 | + "unicode": "\ue6b8" | |
| 169 | + }, | |
| 170 | + { | |
| 171 | + "font_class": "bottom", | |
| 172 | + "unicode": "\ue6b8" | |
| 173 | + }, | |
| 174 | + { | |
| 175 | + "font_class": "download", | |
| 176 | + "unicode": "\ue68d" | |
| 177 | + }, | |
| 178 | + { | |
| 179 | + "font_class": "download-filled", | |
| 180 | + "unicode": "\ue681" | |
| 181 | + }, | |
| 182 | + { | |
| 183 | + "font_class": "email", | |
| 184 | + "unicode": "\ue69e" | |
| 185 | + }, | |
| 186 | + { | |
| 187 | + "font_class": "email-filled", | |
| 188 | + "unicode": "\ue69a" | |
| 189 | + }, | |
| 190 | + { | |
| 191 | + "font_class": "eye", | |
| 192 | + "unicode": "\ue651" | |
| 193 | + }, | |
| 194 | + { | |
| 195 | + "font_class": "eye-filled", | |
| 196 | + "unicode": "\ue66a" | |
| 197 | + }, | |
| 198 | + { | |
| 199 | + "font_class": "eye-slash", | |
| 200 | + "unicode": "\ue6b3" | |
| 201 | + }, | |
| 202 | + { | |
| 203 | + "font_class": "eye-slash-filled", | |
| 204 | + "unicode": "\ue6b4" | |
| 205 | + }, | |
| 206 | + { | |
| 207 | + "font_class": "fire", | |
| 208 | + "unicode": "\ue6a1" | |
| 209 | + }, | |
| 210 | + { | |
| 211 | + "font_class": "fire-filled", | |
| 212 | + "unicode": "\ue6c5" | |
| 213 | + }, | |
| 214 | + { | |
| 215 | + "font_class": "flag", | |
| 216 | + "unicode": "\ue65f" | |
| 217 | + }, | |
| 218 | + { | |
| 219 | + "font_class": "flag-filled", | |
| 220 | + "unicode": "\ue660" | |
| 221 | + }, | |
| 222 | + { | |
| 223 | + "font_class": "folder-add", | |
| 224 | + "unicode": "\ue6a9" | |
| 225 | + }, | |
| 226 | + { | |
| 227 | + "font_class": "folder-add-filled", | |
| 228 | + "unicode": "\ue6c8" | |
| 229 | + }, | |
| 230 | + { | |
| 231 | + "font_class": "font", | |
| 232 | + "unicode": "\ue6a3" | |
| 233 | + }, | |
| 234 | + { | |
| 235 | + "font_class": "forward", | |
| 236 | + "unicode": "\ue6ba" | |
| 237 | + }, | |
| 238 | + { | |
| 239 | + "font_class": "gear", | |
| 240 | + "unicode": "\ue664" | |
| 241 | + }, | |
| 242 | + { | |
| 243 | + "font_class": "gear-filled", | |
| 244 | + "unicode": "\ue661" | |
| 245 | + }, | |
| 246 | + { | |
| 247 | + "font_class": "gift", | |
| 248 | + "unicode": "\ue6a4" | |
| 249 | + }, | |
| 250 | + { | |
| 251 | + "font_class": "gift-filled", | |
| 252 | + "unicode": "\ue6c4" | |
| 253 | + }, | |
| 254 | + { | |
| 255 | + "font_class": "hand-down", | |
| 256 | + "unicode": "\ue63d" | |
| 257 | + }, | |
| 258 | + { | |
| 259 | + "font_class": "hand-down-filled", | |
| 260 | + "unicode": "\ue63c" | |
| 261 | + }, | |
| 262 | + { | |
| 263 | + "font_class": "hand-up", | |
| 264 | + "unicode": "\ue63f" | |
| 265 | + }, | |
| 266 | + { | |
| 267 | + "font_class": "hand-up-filled", | |
| 268 | + "unicode": "\ue63e" | |
| 269 | + }, | |
| 270 | + { | |
| 271 | + "font_class": "headphones", | |
| 272 | + "unicode": "\ue630" | |
| 273 | + }, | |
| 274 | + { | |
| 275 | + "font_class": "heart", | |
| 276 | + "unicode": "\ue639" | |
| 277 | + }, | |
| 278 | + { | |
| 279 | + "font_class": "heart-filled", | |
| 280 | + "unicode": "\ue641" | |
| 281 | + }, | |
| 282 | + { | |
| 283 | + "font_class": "help", | |
| 284 | + "unicode": "\ue679" | |
| 285 | + }, | |
| 286 | + { | |
| 287 | + "font_class": "help-filled", | |
| 288 | + "unicode": "\ue674" | |
| 289 | + }, | |
| 290 | + { | |
| 291 | + "font_class": "home", | |
| 292 | + "unicode": "\ue662" | |
| 293 | + }, | |
| 294 | + { | |
| 295 | + "font_class": "home-filled", | |
| 296 | + "unicode": "\ue663" | |
| 297 | + }, | |
| 298 | + { | |
| 299 | + "font_class": "image", | |
| 300 | + "unicode": "\ue670" | |
| 301 | + }, | |
| 302 | + { | |
| 303 | + "font_class": "image-filled", | |
| 304 | + "unicode": "\ue678" | |
| 305 | + }, | |
| 306 | + { | |
| 307 | + "font_class": "images", | |
| 308 | + "unicode": "\ue650" | |
| 309 | + }, | |
| 310 | + { | |
| 311 | + "font_class": "images-filled", | |
| 312 | + "unicode": "\ue64b" | |
| 313 | + }, | |
| 314 | + { | |
| 315 | + "font_class": "info", | |
| 316 | + "unicode": "\ue669" | |
| 317 | + }, | |
| 318 | + { | |
| 319 | + "font_class": "info-filled", | |
| 320 | + "unicode": "\ue649" | |
| 321 | + }, | |
| 322 | + { | |
| 323 | + "font_class": "left", | |
| 324 | + "unicode": "\ue6b7" | |
| 325 | + }, | |
| 326 | + { | |
| 327 | + "font_class": "link", | |
| 328 | + "unicode": "\ue6a5" | |
| 329 | + }, | |
| 330 | + { | |
| 331 | + "font_class": "list", | |
| 332 | + "unicode": "\ue644" | |
| 333 | + }, | |
| 334 | + { | |
| 335 | + "font_class": "location", | |
| 336 | + "unicode": "\ue6ae" | |
| 337 | + }, | |
| 338 | + { | |
| 339 | + "font_class": "location-filled", | |
| 340 | + "unicode": "\ue6af" | |
| 341 | + }, | |
| 342 | + { | |
| 343 | + "font_class": "locked", | |
| 344 | + "unicode": "\ue66b" | |
| 345 | + }, | |
| 346 | + { | |
| 347 | + "font_class": "locked-filled", | |
| 348 | + "unicode": "\ue668" | |
| 349 | + }, | |
| 350 | + { | |
| 351 | + "font_class": "loop", | |
| 352 | + "unicode": "\ue633" | |
| 353 | + }, | |
| 354 | + { | |
| 355 | + "font_class": "mail-open", | |
| 356 | + "unicode": "\ue643" | |
| 357 | + }, | |
| 358 | + { | |
| 359 | + "font_class": "mail-open-filled", | |
| 360 | + "unicode": "\ue63a" | |
| 361 | + }, | |
| 362 | + { | |
| 363 | + "font_class": "map", | |
| 364 | + "unicode": "\ue667" | |
| 365 | + }, | |
| 366 | + { | |
| 367 | + "font_class": "map-filled", | |
| 368 | + "unicode": "\ue666" | |
| 369 | + }, | |
| 370 | + { | |
| 371 | + "font_class": "map-pin", | |
| 372 | + "unicode": "\ue6ad" | |
| 373 | + }, | |
| 374 | + { | |
| 375 | + "font_class": "map-pin-ellipse", | |
| 376 | + "unicode": "\ue6ac" | |
| 377 | + }, | |
| 378 | + { | |
| 379 | + "font_class": "medal", | |
| 380 | + "unicode": "\ue6a2" | |
| 381 | + }, | |
| 382 | + { | |
| 383 | + "font_class": "medal-filled", | |
| 384 | + "unicode": "\ue6c3" | |
| 385 | + }, | |
| 386 | + { | |
| 387 | + "font_class": "mic", | |
| 388 | + "unicode": "\ue671" | |
| 389 | + }, | |
| 390 | + { | |
| 391 | + "font_class": "mic-filled", | |
| 392 | + "unicode": "\ue677" | |
| 393 | + }, | |
| 394 | + { | |
| 395 | + "font_class": "micoff", | |
| 396 | + "unicode": "\ue67e" | |
| 397 | + }, | |
| 398 | + { | |
| 399 | + "font_class": "micoff-filled", | |
| 400 | + "unicode": "\ue6b0" | |
| 401 | + }, | |
| 402 | + { | |
| 403 | + "font_class": "minus", | |
| 404 | + "unicode": "\ue66f" | |
| 405 | + }, | |
| 406 | + { | |
| 407 | + "font_class": "minus-filled", | |
| 408 | + "unicode": "\ue67d" | |
| 409 | + }, | |
| 410 | + { | |
| 411 | + "font_class": "more", | |
| 412 | + "unicode": "\ue64d" | |
| 413 | + }, | |
| 414 | + { | |
| 415 | + "font_class": "more-filled", | |
| 416 | + "unicode": "\ue64e" | |
| 417 | + }, | |
| 418 | + { | |
| 419 | + "font_class": "navigate", | |
| 420 | + "unicode": "\ue66e" | |
| 421 | + }, | |
| 422 | + { | |
| 423 | + "font_class": "navigate-filled", | |
| 424 | + "unicode": "\ue67a" | |
| 425 | + }, | |
| 426 | + { | |
| 427 | + "font_class": "notification", | |
| 428 | + "unicode": "\ue6a6" | |
| 429 | + }, | |
| 430 | + { | |
| 431 | + "font_class": "notification-filled", | |
| 432 | + "unicode": "\ue6c1" | |
| 433 | + }, | |
| 434 | + { | |
| 435 | + "font_class": "paperclip", | |
| 436 | + "unicode": "\ue652" | |
| 437 | + }, | |
| 438 | + { | |
| 439 | + "font_class": "paperplane", | |
| 440 | + "unicode": "\ue672" | |
| 441 | + }, | |
| 442 | + { | |
| 443 | + "font_class": "paperplane-filled", | |
| 444 | + "unicode": "\ue675" | |
| 445 | + }, | |
| 446 | + { | |
| 447 | + "font_class": "person", | |
| 448 | + "unicode": "\ue699" | |
| 449 | + }, | |
| 450 | + { | |
| 451 | + "font_class": "person-filled", | |
| 452 | + "unicode": "\ue69d" | |
| 453 | + }, | |
| 454 | + { | |
| 455 | + "font_class": "personadd", | |
| 456 | + "unicode": "\ue69f" | |
| 457 | + }, | |
| 458 | + { | |
| 459 | + "font_class": "personadd-filled", | |
| 460 | + "unicode": "\ue698" | |
| 461 | + }, | |
| 462 | + { | |
| 463 | + "font_class": "personadd-filled-copy", | |
| 464 | + "unicode": "\ue6d1" | |
| 465 | + }, | |
| 466 | + { | |
| 467 | + "font_class": "phone", | |
| 468 | + "unicode": "\ue69c" | |
| 469 | + }, | |
| 470 | + { | |
| 471 | + "font_class": "phone-filled", | |
| 472 | + "unicode": "\ue69b" | |
| 473 | + }, | |
| 474 | + { | |
| 475 | + "font_class": "plus", | |
| 476 | + "unicode": "\ue676" | |
| 477 | + }, | |
| 478 | + { | |
| 479 | + "font_class": "plus-filled", | |
| 480 | + "unicode": "\ue6c7" | |
| 481 | + }, | |
| 482 | + { | |
| 483 | + "font_class": "plusempty", | |
| 484 | + "unicode": "\ue67b" | |
| 485 | + }, | |
| 486 | + { | |
| 487 | + "font_class": "pulldown", | |
| 488 | + "unicode": "\ue632" | |
| 489 | + }, | |
| 490 | + { | |
| 491 | + "font_class": "pyq", | |
| 492 | + "unicode": "\ue682" | |
| 493 | + }, | |
| 494 | + { | |
| 495 | + "font_class": "qq", | |
| 496 | + "unicode": "\ue680" | |
| 497 | + }, | |
| 498 | + { | |
| 499 | + "font_class": "redo", | |
| 500 | + "unicode": "\ue64a" | |
| 501 | + }, | |
| 502 | + { | |
| 503 | + "font_class": "redo-filled", | |
| 504 | + "unicode": "\ue655" | |
| 505 | + }, | |
| 506 | + { | |
| 507 | + "font_class": "refresh", | |
| 508 | + "unicode": "\ue657" | |
| 509 | + }, | |
| 510 | + { | |
| 511 | + "font_class": "refresh-filled", | |
| 512 | + "unicode": "\ue656" | |
| 513 | + }, | |
| 514 | + { | |
| 515 | + "font_class": "refreshempty", | |
| 516 | + "unicode": "\ue6bf" | |
| 517 | + }, | |
| 518 | + { | |
| 519 | + "font_class": "reload", | |
| 520 | + "unicode": "\ue6b2" | |
| 521 | + }, | |
| 522 | + { | |
| 523 | + "font_class": "right", | |
| 524 | + "unicode": "\ue6b5" | |
| 525 | + }, | |
| 526 | + { | |
| 527 | + "font_class": "scan", | |
| 528 | + "unicode": "\ue62a" | |
| 529 | + }, | |
| 530 | + { | |
| 531 | + "font_class": "search", | |
| 532 | + "unicode": "\ue654" | |
| 533 | + }, | |
| 534 | + { | |
| 535 | + "font_class": "settings", | |
| 536 | + "unicode": "\ue653" | |
| 537 | + }, | |
| 538 | + { | |
| 539 | + "font_class": "settings-filled", | |
| 540 | + "unicode": "\ue6ce" | |
| 541 | + }, | |
| 542 | + { | |
| 543 | + "font_class": "shop", | |
| 544 | + "unicode": "\ue62f" | |
| 545 | + }, | |
| 546 | + { | |
| 547 | + "font_class": "shop-filled", | |
| 548 | + "unicode": "\ue6cd" | |
| 549 | + }, | |
| 550 | + { | |
| 551 | + "font_class": "smallcircle", | |
| 552 | + "unicode": "\ue67c" | |
| 553 | + }, | |
| 554 | + { | |
| 555 | + "font_class": "smallcircle-filled", | |
| 556 | + "unicode": "\ue665" | |
| 557 | + }, | |
| 558 | + { | |
| 559 | + "font_class": "sound", | |
| 560 | + "unicode": "\ue684" | |
| 561 | + }, | |
| 562 | + { | |
| 563 | + "font_class": "sound-filled", | |
| 564 | + "unicode": "\ue686" | |
| 565 | + }, | |
| 566 | + { | |
| 567 | + "font_class": "spinner-cycle", | |
| 568 | + "unicode": "\ue68a" | |
| 569 | + }, | |
| 570 | + { | |
| 571 | + "font_class": "staff", | |
| 572 | + "unicode": "\ue6a7" | |
| 573 | + }, | |
| 574 | + { | |
| 575 | + "font_class": "staff-filled", | |
| 576 | + "unicode": "\ue6cb" | |
| 577 | + }, | |
| 578 | + { | |
| 579 | + "font_class": "star", | |
| 580 | + "unicode": "\ue688" | |
| 581 | + }, | |
| 582 | + { | |
| 583 | + "font_class": "star-filled", | |
| 584 | + "unicode": "\ue68f" | |
| 585 | + }, | |
| 586 | + { | |
| 587 | + "font_class": "starhalf", | |
| 588 | + "unicode": "\ue683" | |
| 589 | + }, | |
| 590 | + { | |
| 591 | + "font_class": "trash", | |
| 592 | + "unicode": "\ue687" | |
| 593 | + }, | |
| 594 | + { | |
| 595 | + "font_class": "trash-filled", | |
| 596 | + "unicode": "\ue685" | |
| 597 | + }, | |
| 598 | + { | |
| 599 | + "font_class": "tune", | |
| 600 | + "unicode": "\ue6aa" | |
| 601 | + }, | |
| 602 | + { | |
| 603 | + "font_class": "tune-filled", | |
| 604 | + "unicode": "\ue6ca" | |
| 605 | + }, | |
| 606 | + { | |
| 607 | + "font_class": "undo", | |
| 608 | + "unicode": "\ue64f" | |
| 609 | + }, | |
| 610 | + { | |
| 611 | + "font_class": "undo-filled", | |
| 612 | + "unicode": "\ue64c" | |
| 613 | + }, | |
| 614 | + { | |
| 615 | + "font_class": "up", | |
| 616 | + "unicode": "\ue6b6" | |
| 617 | + }, | |
| 618 | + { | |
| 619 | + "font_class": "top", | |
| 620 | + "unicode": "\ue6b6" | |
| 621 | + }, | |
| 622 | + { | |
| 623 | + "font_class": "upload", | |
| 624 | + "unicode": "\ue690" | |
| 625 | + }, | |
| 626 | + { | |
| 627 | + "font_class": "upload-filled", | |
| 628 | + "unicode": "\ue68e" | |
| 629 | + }, | |
| 630 | + { | |
| 631 | + "font_class": "videocam", | |
| 632 | + "unicode": "\ue68c" | |
| 633 | + }, | |
| 634 | + { | |
| 635 | + "font_class": "videocam-filled", | |
| 636 | + "unicode": "\ue689" | |
| 637 | + }, | |
| 638 | + { | |
| 639 | + "font_class": "vip", | |
| 640 | + "unicode": "\ue6a8" | |
| 641 | + }, | |
| 642 | + { | |
| 643 | + "font_class": "vip-filled", | |
| 644 | + "unicode": "\ue6c6" | |
| 645 | + }, | |
| 646 | + { | |
| 647 | + "font_class": "wallet", | |
| 648 | + "unicode": "\ue6b1" | |
| 649 | + }, | |
| 650 | + { | |
| 651 | + "font_class": "wallet-filled", | |
| 652 | + "unicode": "\ue6c2" | |
| 653 | + }, | |
| 654 | + { | |
| 655 | + "font_class": "weibo", | |
| 656 | + "unicode": "\ue68b" | |
| 657 | + }, | |
| 658 | + { | |
| 659 | + "font_class": "weixin", | |
| 660 | + "unicode": "\ue691" | |
| 661 | + } | |
| 662 | +] as IconsDataItem[] | |
| 663 | + | |
| 664 | +// export const fontData = JSON.parse<IconsDataItem>(fontDataJson) | ... | ... |
garbage-removal/src/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js
0 → 100644
| 1 | + | |
| 2 | +export const fontData = [ | |
| 3 | + { | |
| 4 | + "font_class": "arrow-down", | |
| 5 | + "unicode": "\ue6be" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "font_class": "arrow-left", | |
| 9 | + "unicode": "\ue6bc" | |
| 10 | + }, | |
| 11 | + { | |
| 12 | + "font_class": "arrow-right", | |
| 13 | + "unicode": "\ue6bb" | |
| 14 | + }, | |
| 15 | + { | |
| 16 | + "font_class": "arrow-up", | |
| 17 | + "unicode": "\ue6bd" | |
| 18 | + }, | |
| 19 | + { | |
| 20 | + "font_class": "auth", | |
| 21 | + "unicode": "\ue6ab" | |
| 22 | + }, | |
| 23 | + { | |
| 24 | + "font_class": "auth-filled", | |
| 25 | + "unicode": "\ue6cc" | |
| 26 | + }, | |
| 27 | + { | |
| 28 | + "font_class": "back", | |
| 29 | + "unicode": "\ue6b9" | |
| 30 | + }, | |
| 31 | + { | |
| 32 | + "font_class": "bars", | |
| 33 | + "unicode": "\ue627" | |
| 34 | + }, | |
| 35 | + { | |
| 36 | + "font_class": "calendar", | |
| 37 | + "unicode": "\ue6a0" | |
| 38 | + }, | |
| 39 | + { | |
| 40 | + "font_class": "calendar-filled", | |
| 41 | + "unicode": "\ue6c0" | |
| 42 | + }, | |
| 43 | + { | |
| 44 | + "font_class": "camera", | |
| 45 | + "unicode": "\ue65a" | |
| 46 | + }, | |
| 47 | + { | |
| 48 | + "font_class": "camera-filled", | |
| 49 | + "unicode": "\ue658" | |
| 50 | + }, | |
| 51 | + { | |
| 52 | + "font_class": "cart", | |
| 53 | + "unicode": "\ue631" | |
| 54 | + }, | |
| 55 | + { | |
| 56 | + "font_class": "cart-filled", | |
| 57 | + "unicode": "\ue6d0" | |
| 58 | + }, | |
| 59 | + { | |
| 60 | + "font_class": "chat", | |
| 61 | + "unicode": "\ue65d" | |
| 62 | + }, | |
| 63 | + { | |
| 64 | + "font_class": "chat-filled", | |
| 65 | + "unicode": "\ue659" | |
| 66 | + }, | |
| 67 | + { | |
| 68 | + "font_class": "chatboxes", | |
| 69 | + "unicode": "\ue696" | |
| 70 | + }, | |
| 71 | + { | |
| 72 | + "font_class": "chatboxes-filled", | |
| 73 | + "unicode": "\ue692" | |
| 74 | + }, | |
| 75 | + { | |
| 76 | + "font_class": "chatbubble", | |
| 77 | + "unicode": "\ue697" | |
| 78 | + }, | |
| 79 | + { | |
| 80 | + "font_class": "chatbubble-filled", | |
| 81 | + "unicode": "\ue694" | |
| 82 | + }, | |
| 83 | + { | |
| 84 | + "font_class": "checkbox", | |
| 85 | + "unicode": "\ue62b" | |
| 86 | + }, | |
| 87 | + { | |
| 88 | + "font_class": "checkbox-filled", | |
| 89 | + "unicode": "\ue62c" | |
| 90 | + }, | |
| 91 | + { | |
| 92 | + "font_class": "checkmarkempty", | |
| 93 | + "unicode": "\ue65c" | |
| 94 | + }, | |
| 95 | + { | |
| 96 | + "font_class": "circle", | |
| 97 | + "unicode": "\ue65b" | |
| 98 | + }, | |
| 99 | + { | |
| 100 | + "font_class": "circle-filled", | |
| 101 | + "unicode": "\ue65e" | |
| 102 | + }, | |
| 103 | + { | |
| 104 | + "font_class": "clear", | |
| 105 | + "unicode": "\ue66d" | |
| 106 | + }, | |
| 107 | + { | |
| 108 | + "font_class": "close", | |
| 109 | + "unicode": "\ue673" | |
| 110 | + }, | |
| 111 | + { | |
| 112 | + "font_class": "closeempty", | |
| 113 | + "unicode": "\ue66c" | |
| 114 | + }, | |
| 115 | + { | |
| 116 | + "font_class": "cloud-download", | |
| 117 | + "unicode": "\ue647" | |
| 118 | + }, | |
| 119 | + { | |
| 120 | + "font_class": "cloud-download-filled", | |
| 121 | + "unicode": "\ue646" | |
| 122 | + }, | |
| 123 | + { | |
| 124 | + "font_class": "cloud-upload", | |
| 125 | + "unicode": "\ue645" | |
| 126 | + }, | |
| 127 | + { | |
| 128 | + "font_class": "cloud-upload-filled", | |
| 129 | + "unicode": "\ue648" | |
| 130 | + }, | |
| 131 | + { | |
| 132 | + "font_class": "color", | |
| 133 | + "unicode": "\ue6cf" | |
| 134 | + }, | |
| 135 | + { | |
| 136 | + "font_class": "color-filled", | |
| 137 | + "unicode": "\ue6c9" | |
| 138 | + }, | |
| 139 | + { | |
| 140 | + "font_class": "compose", | |
| 141 | + "unicode": "\ue67f" | |
| 142 | + }, | |
| 143 | + { | |
| 144 | + "font_class": "contact", | |
| 145 | + "unicode": "\ue693" | |
| 146 | + }, | |
| 147 | + { | |
| 148 | + "font_class": "contact-filled", | |
| 149 | + "unicode": "\ue695" | |
| 150 | + }, | |
| 151 | + { | |
| 152 | + "font_class": "down", | |
| 153 | + "unicode": "\ue6b8" | |
| 154 | + }, | |
| 155 | + { | |
| 156 | + "font_class": "bottom", | |
| 157 | + "unicode": "\ue6b8" | |
| 158 | + }, | |
| 159 | + { | |
| 160 | + "font_class": "download", | |
| 161 | + "unicode": "\ue68d" | |
| 162 | + }, | |
| 163 | + { | |
| 164 | + "font_class": "download-filled", | |
| 165 | + "unicode": "\ue681" | |
| 166 | + }, | |
| 167 | + { | |
| 168 | + "font_class": "email", | |
| 169 | + "unicode": "\ue69e" | |
| 170 | + }, | |
| 171 | + { | |
| 172 | + "font_class": "email-filled", | |
| 173 | + "unicode": "\ue69a" | |
| 174 | + }, | |
| 175 | + { | |
| 176 | + "font_class": "eye", | |
| 177 | + "unicode": "\ue651" | |
| 178 | + }, | |
| 179 | + { | |
| 180 | + "font_class": "eye-filled", | |
| 181 | + "unicode": "\ue66a" | |
| 182 | + }, | |
| 183 | + { | |
| 184 | + "font_class": "eye-slash", | |
| 185 | + "unicode": "\ue6b3" | |
| 186 | + }, | |
| 187 | + { | |
| 188 | + "font_class": "eye-slash-filled", | |
| 189 | + "unicode": "\ue6b4" | |
| 190 | + }, | |
| 191 | + { | |
| 192 | + "font_class": "fire", | |
| 193 | + "unicode": "\ue6a1" | |
| 194 | + }, | |
| 195 | + { | |
| 196 | + "font_class": "fire-filled", | |
| 197 | + "unicode": "\ue6c5" | |
| 198 | + }, | |
| 199 | + { | |
| 200 | + "font_class": "flag", | |
| 201 | + "unicode": "\ue65f" | |
| 202 | + }, | |
| 203 | + { | |
| 204 | + "font_class": "flag-filled", | |
| 205 | + "unicode": "\ue660" | |
| 206 | + }, | |
| 207 | + { | |
| 208 | + "font_class": "folder-add", | |
| 209 | + "unicode": "\ue6a9" | |
| 210 | + }, | |
| 211 | + { | |
| 212 | + "font_class": "folder-add-filled", | |
| 213 | + "unicode": "\ue6c8" | |
| 214 | + }, | |
| 215 | + { | |
| 216 | + "font_class": "font", | |
| 217 | + "unicode": "\ue6a3" | |
| 218 | + }, | |
| 219 | + { | |
| 220 | + "font_class": "forward", | |
| 221 | + "unicode": "\ue6ba" | |
| 222 | + }, | |
| 223 | + { | |
| 224 | + "font_class": "gear", | |
| 225 | + "unicode": "\ue664" | |
| 226 | + }, | |
| 227 | + { | |
| 228 | + "font_class": "gear-filled", | |
| 229 | + "unicode": "\ue661" | |
| 230 | + }, | |
| 231 | + { | |
| 232 | + "font_class": "gift", | |
| 233 | + "unicode": "\ue6a4" | |
| 234 | + }, | |
| 235 | + { | |
| 236 | + "font_class": "gift-filled", | |
| 237 | + "unicode": "\ue6c4" | |
| 238 | + }, | |
| 239 | + { | |
| 240 | + "font_class": "hand-down", | |
| 241 | + "unicode": "\ue63d" | |
| 242 | + }, | |
| 243 | + { | |
| 244 | + "font_class": "hand-down-filled", | |
| 245 | + "unicode": "\ue63c" | |
| 246 | + }, | |
| 247 | + { | |
| 248 | + "font_class": "hand-up", | |
| 249 | + "unicode": "\ue63f" | |
| 250 | + }, | |
| 251 | + { | |
| 252 | + "font_class": "hand-up-filled", | |
| 253 | + "unicode": "\ue63e" | |
| 254 | + }, | |
| 255 | + { | |
| 256 | + "font_class": "headphones", | |
| 257 | + "unicode": "\ue630" | |
| 258 | + }, | |
| 259 | + { | |
| 260 | + "font_class": "heart", | |
| 261 | + "unicode": "\ue639" | |
| 262 | + }, | |
| 263 | + { | |
| 264 | + "font_class": "heart-filled", | |
| 265 | + "unicode": "\ue641" | |
| 266 | + }, | |
| 267 | + { | |
| 268 | + "font_class": "help", | |
| 269 | + "unicode": "\ue679" | |
| 270 | + }, | |
| 271 | + { | |
| 272 | + "font_class": "help-filled", | |
| 273 | + "unicode": "\ue674" | |
| 274 | + }, | |
| 275 | + { | |
| 276 | + "font_class": "home", | |
| 277 | + "unicode": "\ue662" | |
| 278 | + }, | |
| 279 | + { | |
| 280 | + "font_class": "home-filled", | |
| 281 | + "unicode": "\ue663" | |
| 282 | + }, | |
| 283 | + { | |
| 284 | + "font_class": "image", | |
| 285 | + "unicode": "\ue670" | |
| 286 | + }, | |
| 287 | + { | |
| 288 | + "font_class": "image-filled", | |
| 289 | + "unicode": "\ue678" | |
| 290 | + }, | |
| 291 | + { | |
| 292 | + "font_class": "images", | |
| 293 | + "unicode": "\ue650" | |
| 294 | + }, | |
| 295 | + { | |
| 296 | + "font_class": "images-filled", | |
| 297 | + "unicode": "\ue64b" | |
| 298 | + }, | |
| 299 | + { | |
| 300 | + "font_class": "info", | |
| 301 | + "unicode": "\ue669" | |
| 302 | + }, | |
| 303 | + { | |
| 304 | + "font_class": "info-filled", | |
| 305 | + "unicode": "\ue649" | |
| 306 | + }, | |
| 307 | + { | |
| 308 | + "font_class": "left", | |
| 309 | + "unicode": "\ue6b7" | |
| 310 | + }, | |
| 311 | + { | |
| 312 | + "font_class": "link", | |
| 313 | + "unicode": "\ue6a5" | |
| 314 | + }, | |
| 315 | + { | |
| 316 | + "font_class": "list", | |
| 317 | + "unicode": "\ue644" | |
| 318 | + }, | |
| 319 | + { | |
| 320 | + "font_class": "location", | |
| 321 | + "unicode": "\ue6ae" | |
| 322 | + }, | |
| 323 | + { | |
| 324 | + "font_class": "location-filled", | |
| 325 | + "unicode": "\ue6af" | |
| 326 | + }, | |
| 327 | + { | |
| 328 | + "font_class": "locked", | |
| 329 | + "unicode": "\ue66b" | |
| 330 | + }, | |
| 331 | + { | |
| 332 | + "font_class": "locked-filled", | |
| 333 | + "unicode": "\ue668" | |
| 334 | + }, | |
| 335 | + { | |
| 336 | + "font_class": "loop", | |
| 337 | + "unicode": "\ue633" | |
| 338 | + }, | |
| 339 | + { | |
| 340 | + "font_class": "mail-open", | |
| 341 | + "unicode": "\ue643" | |
| 342 | + }, | |
| 343 | + { | |
| 344 | + "font_class": "mail-open-filled", | |
| 345 | + "unicode": "\ue63a" | |
| 346 | + }, | |
| 347 | + { | |
| 348 | + "font_class": "map", | |
| 349 | + "unicode": "\ue667" | |
| 350 | + }, | |
| 351 | + { | |
| 352 | + "font_class": "map-filled", | |
| 353 | + "unicode": "\ue666" | |
| 354 | + }, | |
| 355 | + { | |
| 356 | + "font_class": "map-pin", | |
| 357 | + "unicode": "\ue6ad" | |
| 358 | + }, | |
| 359 | + { | |
| 360 | + "font_class": "map-pin-ellipse", | |
| 361 | + "unicode": "\ue6ac" | |
| 362 | + }, | |
| 363 | + { | |
| 364 | + "font_class": "medal", | |
| 365 | + "unicode": "\ue6a2" | |
| 366 | + }, | |
| 367 | + { | |
| 368 | + "font_class": "medal-filled", | |
| 369 | + "unicode": "\ue6c3" | |
| 370 | + }, | |
| 371 | + { | |
| 372 | + "font_class": "mic", | |
| 373 | + "unicode": "\ue671" | |
| 374 | + }, | |
| 375 | + { | |
| 376 | + "font_class": "mic-filled", | |
| 377 | + "unicode": "\ue677" | |
| 378 | + }, | |
| 379 | + { | |
| 380 | + "font_class": "micoff", | |
| 381 | + "unicode": "\ue67e" | |
| 382 | + }, | |
| 383 | + { | |
| 384 | + "font_class": "micoff-filled", | |
| 385 | + "unicode": "\ue6b0" | |
| 386 | + }, | |
| 387 | + { | |
| 388 | + "font_class": "minus", | |
| 389 | + "unicode": "\ue66f" | |
| 390 | + }, | |
| 391 | + { | |
| 392 | + "font_class": "minus-filled", | |
| 393 | + "unicode": "\ue67d" | |
| 394 | + }, | |
| 395 | + { | |
| 396 | + "font_class": "more", | |
| 397 | + "unicode": "\ue64d" | |
| 398 | + }, | |
| 399 | + { | |
| 400 | + "font_class": "more-filled", | |
| 401 | + "unicode": "\ue64e" | |
| 402 | + }, | |
| 403 | + { | |
| 404 | + "font_class": "navigate", | |
| 405 | + "unicode": "\ue66e" | |
| 406 | + }, | |
| 407 | + { | |
| 408 | + "font_class": "navigate-filled", | |
| 409 | + "unicode": "\ue67a" | |
| 410 | + }, | |
| 411 | + { | |
| 412 | + "font_class": "notification", | |
| 413 | + "unicode": "\ue6a6" | |
| 414 | + }, | |
| 415 | + { | |
| 416 | + "font_class": "notification-filled", | |
| 417 | + "unicode": "\ue6c1" | |
| 418 | + }, | |
| 419 | + { | |
| 420 | + "font_class": "paperclip", | |
| 421 | + "unicode": "\ue652" | |
| 422 | + }, | |
| 423 | + { | |
| 424 | + "font_class": "paperplane", | |
| 425 | + "unicode": "\ue672" | |
| 426 | + }, | |
| 427 | + { | |
| 428 | + "font_class": "paperplane-filled", | |
| 429 | + "unicode": "\ue675" | |
| 430 | + }, | |
| 431 | + { | |
| 432 | + "font_class": "person", | |
| 433 | + "unicode": "\ue699" | |
| 434 | + }, | |
| 435 | + { | |
| 436 | + "font_class": "person-filled", | |
| 437 | + "unicode": "\ue69d" | |
| 438 | + }, | |
| 439 | + { | |
| 440 | + "font_class": "personadd", | |
| 441 | + "unicode": "\ue69f" | |
| 442 | + }, | |
| 443 | + { | |
| 444 | + "font_class": "personadd-filled", | |
| 445 | + "unicode": "\ue698" | |
| 446 | + }, | |
| 447 | + { | |
| 448 | + "font_class": "personadd-filled-copy", | |
| 449 | + "unicode": "\ue6d1" | |
| 450 | + }, | |
| 451 | + { | |
| 452 | + "font_class": "phone", | |
| 453 | + "unicode": "\ue69c" | |
| 454 | + }, | |
| 455 | + { | |
| 456 | + "font_class": "phone-filled", | |
| 457 | + "unicode": "\ue69b" | |
| 458 | + }, | |
| 459 | + { | |
| 460 | + "font_class": "plus", | |
| 461 | + "unicode": "\ue676" | |
| 462 | + }, | |
| 463 | + { | |
| 464 | + "font_class": "plus-filled", | |
| 465 | + "unicode": "\ue6c7" | |
| 466 | + }, | |
| 467 | + { | |
| 468 | + "font_class": "plusempty", | |
| 469 | + "unicode": "\ue67b" | |
| 470 | + }, | |
| 471 | + { | |
| 472 | + "font_class": "pulldown", | |
| 473 | + "unicode": "\ue632" | |
| 474 | + }, | |
| 475 | + { | |
| 476 | + "font_class": "pyq", | |
| 477 | + "unicode": "\ue682" | |
| 478 | + }, | |
| 479 | + { | |
| 480 | + "font_class": "qq", | |
| 481 | + "unicode": "\ue680" | |
| 482 | + }, | |
| 483 | + { | |
| 484 | + "font_class": "redo", | |
| 485 | + "unicode": "\ue64a" | |
| 486 | + }, | |
| 487 | + { | |
| 488 | + "font_class": "redo-filled", | |
| 489 | + "unicode": "\ue655" | |
| 490 | + }, | |
| 491 | + { | |
| 492 | + "font_class": "refresh", | |
| 493 | + "unicode": "\ue657" | |
| 494 | + }, | |
| 495 | + { | |
| 496 | + "font_class": "refresh-filled", | |
| 497 | + "unicode": "\ue656" | |
| 498 | + }, | |
| 499 | + { | |
| 500 | + "font_class": "refreshempty", | |
| 501 | + "unicode": "\ue6bf" | |
| 502 | + }, | |
| 503 | + { | |
| 504 | + "font_class": "reload", | |
| 505 | + "unicode": "\ue6b2" | |
| 506 | + }, | |
| 507 | + { | |
| 508 | + "font_class": "right", | |
| 509 | + "unicode": "\ue6b5" | |
| 510 | + }, | |
| 511 | + { | |
| 512 | + "font_class": "scan", | |
| 513 | + "unicode": "\ue62a" | |
| 514 | + }, | |
| 515 | + { | |
| 516 | + "font_class": "search", | |
| 517 | + "unicode": "\ue654" | |
| 518 | + }, | |
| 519 | + { | |
| 520 | + "font_class": "settings", | |
| 521 | + "unicode": "\ue653" | |
| 522 | + }, | |
| 523 | + { | |
| 524 | + "font_class": "settings-filled", | |
| 525 | + "unicode": "\ue6ce" | |
| 526 | + }, | |
| 527 | + { | |
| 528 | + "font_class": "shop", | |
| 529 | + "unicode": "\ue62f" | |
| 530 | + }, | |
| 531 | + { | |
| 532 | + "font_class": "shop-filled", | |
| 533 | + "unicode": "\ue6cd" | |
| 534 | + }, | |
| 535 | + { | |
| 536 | + "font_class": "smallcircle", | |
| 537 | + "unicode": "\ue67c" | |
| 538 | + }, | |
| 539 | + { | |
| 540 | + "font_class": "smallcircle-filled", | |
| 541 | + "unicode": "\ue665" | |
| 542 | + }, | |
| 543 | + { | |
| 544 | + "font_class": "sound", | |
| 545 | + "unicode": "\ue684" | |
| 546 | + }, | |
| 547 | + { | |
| 548 | + "font_class": "sound-filled", | |
| 549 | + "unicode": "\ue686" | |
| 550 | + }, | |
| 551 | + { | |
| 552 | + "font_class": "spinner-cycle", | |
| 553 | + "unicode": "\ue68a" | |
| 554 | + }, | |
| 555 | + { | |
| 556 | + "font_class": "staff", | |
| 557 | + "unicode": "\ue6a7" | |
| 558 | + }, | |
| 559 | + { | |
| 560 | + "font_class": "staff-filled", | |
| 561 | + "unicode": "\ue6cb" | |
| 562 | + }, | |
| 563 | + { | |
| 564 | + "font_class": "star", | |
| 565 | + "unicode": "\ue688" | |
| 566 | + }, | |
| 567 | + { | |
| 568 | + "font_class": "star-filled", | |
| 569 | + "unicode": "\ue68f" | |
| 570 | + }, | |
| 571 | + { | |
| 572 | + "font_class": "starhalf", | |
| 573 | + "unicode": "\ue683" | |
| 574 | + }, | |
| 575 | + { | |
| 576 | + "font_class": "trash", | |
| 577 | + "unicode": "\ue687" | |
| 578 | + }, | |
| 579 | + { | |
| 580 | + "font_class": "trash-filled", | |
| 581 | + "unicode": "\ue685" | |
| 582 | + }, | |
| 583 | + { | |
| 584 | + "font_class": "tune", | |
| 585 | + "unicode": "\ue6aa" | |
| 586 | + }, | |
| 587 | + { | |
| 588 | + "font_class": "tune-filled", | |
| 589 | + "unicode": "\ue6ca" | |
| 590 | + }, | |
| 591 | + { | |
| 592 | + "font_class": "undo", | |
| 593 | + "unicode": "\ue64f" | |
| 594 | + }, | |
| 595 | + { | |
| 596 | + "font_class": "undo-filled", | |
| 597 | + "unicode": "\ue64c" | |
| 598 | + }, | |
| 599 | + { | |
| 600 | + "font_class": "up", | |
| 601 | + "unicode": "\ue6b6" | |
| 602 | + }, | |
| 603 | + { | |
| 604 | + "font_class": "top", | |
| 605 | + "unicode": "\ue6b6" | |
| 606 | + }, | |
| 607 | + { | |
| 608 | + "font_class": "upload", | |
| 609 | + "unicode": "\ue690" | |
| 610 | + }, | |
| 611 | + { | |
| 612 | + "font_class": "upload-filled", | |
| 613 | + "unicode": "\ue68e" | |
| 614 | + }, | |
| 615 | + { | |
| 616 | + "font_class": "videocam", | |
| 617 | + "unicode": "\ue68c" | |
| 618 | + }, | |
| 619 | + { | |
| 620 | + "font_class": "videocam-filled", | |
| 621 | + "unicode": "\ue689" | |
| 622 | + }, | |
| 623 | + { | |
| 624 | + "font_class": "vip", | |
| 625 | + "unicode": "\ue6a8" | |
| 626 | + }, | |
| 627 | + { | |
| 628 | + "font_class": "vip-filled", | |
| 629 | + "unicode": "\ue6c6" | |
| 630 | + }, | |
| 631 | + { | |
| 632 | + "font_class": "wallet", | |
| 633 | + "unicode": "\ue6b1" | |
| 634 | + }, | |
| 635 | + { | |
| 636 | + "font_class": "wallet-filled", | |
| 637 | + "unicode": "\ue6c2" | |
| 638 | + }, | |
| 639 | + { | |
| 640 | + "font_class": "weibo", | |
| 641 | + "unicode": "\ue68b" | |
| 642 | + }, | |
| 643 | + { | |
| 644 | + "font_class": "weixin", | |
| 645 | + "unicode": "\ue691" | |
| 646 | + } | |
| 647 | +] | |
| 648 | + | |
| 649 | +// export const fontData = JSON.parse<IconsDataItem>(fontDataJson) | ... | ... |
garbage-removal/src/uni_modules/uni-icons/package.json
0 → 100644
| 1 | +{ | |
| 2 | + "id": "uni-icons", | |
| 3 | + "displayName": "uni-icons 图标", | |
| 4 | + "version": "2.0.10", | |
| 5 | + "description": "图标组件,用于展示移动端常见的图标,可自定义颜色、大小。", | |
| 6 | + "keywords": [ | |
| 7 | + "uni-ui", | |
| 8 | + "uniui", | |
| 9 | + "icon", | |
| 10 | + "图标" | |
| 11 | +], | |
| 12 | + "repository": "https://github.com/dcloudio/uni-ui", | |
| 13 | + "engines": { | |
| 14 | + "HBuilderX": "^3.2.14" | |
| 15 | + }, | |
| 16 | + "directories": { | |
| 17 | + "example": "../../temps/example_temps" | |
| 18 | + }, | |
| 19 | +"dcloudext": { | |
| 20 | + "sale": { | |
| 21 | + "regular": { | |
| 22 | + "price": "0.00" | |
| 23 | + }, | |
| 24 | + "sourcecode": { | |
| 25 | + "price": "0.00" | |
| 26 | + } | |
| 27 | + }, | |
| 28 | + "contact": { | |
| 29 | + "qq": "" | |
| 30 | + }, | |
| 31 | + "declaration": { | |
| 32 | + "ads": "无", | |
| 33 | + "data": "无", | |
| 34 | + "permissions": "无" | |
| 35 | + }, | |
| 36 | + "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", | |
| 37 | + "type": "component-vue" | |
| 38 | + }, | |
| 39 | + "uni_modules": { | |
| 40 | + "dependencies": ["uni-scss"], | |
| 41 | + "encrypt": [], | |
| 42 | + "platforms": { | |
| 43 | + "cloud": { | |
| 44 | + "tcb": "y", | |
| 45 | + "aliyun": "y", | |
| 46 | + "alipay": "n" | |
| 47 | + }, | |
| 48 | + "client": { | |
| 49 | + "App": { | |
| 50 | + "app-vue": "y", | |
| 51 | + "app-nvue": "y", | |
| 52 | + "app-uvue": "y" | |
| 53 | + }, | |
| 54 | + "H5-mobile": { | |
| 55 | + "Safari": "y", | |
| 56 | + "Android Browser": "y", | |
| 57 | + "微信浏览器(Android)": "y", | |
| 58 | + "QQ浏览器(Android)": "y" | |
| 59 | + }, | |
| 60 | + "H5-pc": { | |
| 61 | + "Chrome": "y", | |
| 62 | + "IE": "y", | |
| 63 | + "Edge": "y", | |
| 64 | + "Firefox": "y", | |
| 65 | + "Safari": "y" | |
| 66 | + }, | |
| 67 | + "小程序": { | |
| 68 | + "微信": "y", | |
| 69 | + "阿里": "y", | |
| 70 | + "百度": "y", | |
| 71 | + "字节跳动": "y", | |
| 72 | + "QQ": "y", | |
| 73 | + "钉钉": "y", | |
| 74 | + "快手": "y", | |
| 75 | + "飞书": "y", | |
| 76 | + "京东": "y" | |
| 77 | + }, | |
| 78 | + "快应用": { | |
| 79 | + "华为": "y", | |
| 80 | + "联盟": "y" | |
| 81 | + }, | |
| 82 | + "Vue": { | |
| 83 | + "vue2": "y", | |
| 84 | + "vue3": "y" | |
| 85 | + } | |
| 86 | + } | |
| 87 | + } | |
| 88 | + } | |
| 89 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-icons/readme.md
0 → 100644
garbage-removal/src/uni_modules/uni-scss/changelog.md
0 → 100644
garbage-removal/src/uni_modules/uni-scss/index.scss
0 → 100644
| 1 | +@import './styles/index.scss'; | ... | ... |
garbage-removal/src/uni_modules/uni-scss/package.json
0 → 100644
| 1 | +{ | |
| 2 | + "id": "uni-scss", | |
| 3 | + "displayName": "uni-scss 辅助样式", | |
| 4 | + "version": "1.0.3", | |
| 5 | + "description": "uni-sass是uni-ui提供的一套全局样式 ,通过一些简单的类名和sass变量,实现简单的页面布局操作,比如颜色、边距、圆角等。", | |
| 6 | + "keywords": [ | |
| 7 | + "uni-scss", | |
| 8 | + "uni-ui", | |
| 9 | + "辅助样式" | |
| 10 | +], | |
| 11 | + "repository": "https://github.com/dcloudio/uni-ui", | |
| 12 | + "engines": { | |
| 13 | + "HBuilderX": "^3.1.0" | |
| 14 | + }, | |
| 15 | + "dcloudext": { | |
| 16 | + "category": [ | |
| 17 | + "JS SDK", | |
| 18 | + "通用 SDK" | |
| 19 | + ], | |
| 20 | + "sale": { | |
| 21 | + "regular": { | |
| 22 | + "price": "0.00" | |
| 23 | + }, | |
| 24 | + "sourcecode": { | |
| 25 | + "price": "0.00" | |
| 26 | + } | |
| 27 | + }, | |
| 28 | + "contact": { | |
| 29 | + "qq": "" | |
| 30 | + }, | |
| 31 | + "declaration": { | |
| 32 | + "ads": "无", | |
| 33 | + "data": "无", | |
| 34 | + "permissions": "无" | |
| 35 | + }, | |
| 36 | + "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" | |
| 37 | + }, | |
| 38 | + "uni_modules": { | |
| 39 | + "dependencies": [], | |
| 40 | + "encrypt": [], | |
| 41 | + "platforms": { | |
| 42 | + "cloud": { | |
| 43 | + "tcb": "y", | |
| 44 | + "aliyun": "y" | |
| 45 | + }, | |
| 46 | + "client": { | |
| 47 | + "App": { | |
| 48 | + "app-vue": "y", | |
| 49 | + "app-nvue": "u" | |
| 50 | + }, | |
| 51 | + "H5-mobile": { | |
| 52 | + "Safari": "y", | |
| 53 | + "Android Browser": "y", | |
| 54 | + "微信浏览器(Android)": "y", | |
| 55 | + "QQ浏览器(Android)": "y" | |
| 56 | + }, | |
| 57 | + "H5-pc": { | |
| 58 | + "Chrome": "y", | |
| 59 | + "IE": "y", | |
| 60 | + "Edge": "y", | |
| 61 | + "Firefox": "y", | |
| 62 | + "Safari": "y" | |
| 63 | + }, | |
| 64 | + "小程序": { | |
| 65 | + "微信": "y", | |
| 66 | + "阿里": "y", | |
| 67 | + "百度": "y", | |
| 68 | + "字节跳动": "y", | |
| 69 | + "QQ": "y" | |
| 70 | + }, | |
| 71 | + "快应用": { | |
| 72 | + "华为": "n", | |
| 73 | + "联盟": "n" | |
| 74 | + }, | |
| 75 | + "Vue": { | |
| 76 | + "vue2": "y", | |
| 77 | + "vue3": "y" | |
| 78 | + } | |
| 79 | + } | |
| 80 | + } | |
| 81 | + } | |
| 82 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-scss/readme.md
0 → 100644
garbage-removal/src/uni_modules/uni-scss/styles/index.scss
0 → 100644
garbage-removal/src/uni_modules/uni-scss/styles/setting/_border.scss
0 → 100644
garbage-removal/src/uni_modules/uni-scss/styles/setting/_color.scss
0 → 100644
| 1 | + | |
| 2 | +// TODO 暂时不需要 class ,需要用户使用变量实现 ,如果使用类名其实并不推荐 | |
| 3 | +// @mixin get-styles($k,$c) { | |
| 4 | +// @if $k == size or $k == weight{ | |
| 5 | +// font-#{$k}:#{$c} | |
| 6 | +// }@else{ | |
| 7 | +// #{$k}:#{$c} | |
| 8 | +// } | |
| 9 | +// } | |
| 10 | +$uni-ui-color:( | |
| 11 | + // 主色 | |
| 12 | + primary: $uni-primary, | |
| 13 | + primary-disable: $uni-primary-disable, | |
| 14 | + primary-light: $uni-primary-light, | |
| 15 | + // 辅助色 | |
| 16 | + success: $uni-success, | |
| 17 | + success-disable: $uni-success-disable, | |
| 18 | + success-light: $uni-success-light, | |
| 19 | + warning: $uni-warning, | |
| 20 | + warning-disable: $uni-warning-disable, | |
| 21 | + warning-light: $uni-warning-light, | |
| 22 | + error: $uni-error, | |
| 23 | + error-disable: $uni-error-disable, | |
| 24 | + error-light: $uni-error-light, | |
| 25 | + info: $uni-info, | |
| 26 | + info-disable: $uni-info-disable, | |
| 27 | + info-light: $uni-info-light, | |
| 28 | + // 中性色 | |
| 29 | + main-color: $uni-main-color, | |
| 30 | + base-color: $uni-base-color, | |
| 31 | + secondary-color: $uni-secondary-color, | |
| 32 | + extra-color: $uni-extra-color, | |
| 33 | + // 背景色 | |
| 34 | + bg-color: $uni-bg-color, | |
| 35 | + // 边框颜色 | |
| 36 | + border-1: $uni-border-1, | |
| 37 | + border-2: $uni-border-2, | |
| 38 | + border-3: $uni-border-3, | |
| 39 | + border-4: $uni-border-4, | |
| 40 | + // 黑色 | |
| 41 | + black:$uni-black, | |
| 42 | + // 白色 | |
| 43 | + white:$uni-white, | |
| 44 | + // 透明 | |
| 45 | + transparent:$uni-transparent | |
| 46 | +) !default; | |
| 47 | +@each $key, $child in $uni-ui-color { | |
| 48 | + .uni-#{"" + $key} { | |
| 49 | + color: $child; | |
| 50 | + } | |
| 51 | + .uni-#{"" + $key}-bg { | |
| 52 | + background-color: $child; | |
| 53 | + } | |
| 54 | +} | |
| 55 | +.uni-shadow-sm { | |
| 56 | + box-shadow: $uni-shadow-sm; | |
| 57 | +} | |
| 58 | +.uni-shadow-base { | |
| 59 | + box-shadow: $uni-shadow-base; | |
| 60 | +} | |
| 61 | +.uni-shadow-lg { | |
| 62 | + box-shadow: $uni-shadow-lg; | |
| 63 | +} | |
| 64 | +.uni-mask { | |
| 65 | + background-color:$uni-mask; | |
| 66 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-scss/styles/setting/_radius.scss
0 → 100644
| 1 | +@mixin radius($r,$d:null ,$important: false){ | |
| 2 | + $radius-value:map-get($uni-radius, $r) if($important, !important, null); | |
| 3 | + // Key exists within the $uni-radius variable | |
| 4 | + @if (map-has-key($uni-radius, $r) and $d){ | |
| 5 | + @if $d == t { | |
| 6 | + border-top-left-radius:$radius-value; | |
| 7 | + border-top-right-radius:$radius-value; | |
| 8 | + }@else if $d == r { | |
| 9 | + border-top-right-radius:$radius-value; | |
| 10 | + border-bottom-right-radius:$radius-value; | |
| 11 | + }@else if $d == b { | |
| 12 | + border-bottom-left-radius:$radius-value; | |
| 13 | + border-bottom-right-radius:$radius-value; | |
| 14 | + }@else if $d == l { | |
| 15 | + border-top-left-radius:$radius-value; | |
| 16 | + border-bottom-left-radius:$radius-value; | |
| 17 | + }@else if $d == tl { | |
| 18 | + border-top-left-radius:$radius-value; | |
| 19 | + }@else if $d == tr { | |
| 20 | + border-top-right-radius:$radius-value; | |
| 21 | + }@else if $d == br { | |
| 22 | + border-bottom-right-radius:$radius-value; | |
| 23 | + }@else if $d == bl { | |
| 24 | + border-bottom-left-radius:$radius-value; | |
| 25 | + } | |
| 26 | + }@else{ | |
| 27 | + border-radius:$radius-value; | |
| 28 | + } | |
| 29 | +} | |
| 30 | + | |
| 31 | +@each $key, $child in $uni-radius { | |
| 32 | + @if($key){ | |
| 33 | + .uni-radius-#{"" + $key} { | |
| 34 | + @include radius($key) | |
| 35 | + } | |
| 36 | + }@else{ | |
| 37 | + .uni-radius { | |
| 38 | + @include radius($key) | |
| 39 | + } | |
| 40 | + } | |
| 41 | +} | |
| 42 | + | |
| 43 | +@each $direction in t, r, b, l,tl, tr, br, bl { | |
| 44 | + @each $key, $child in $uni-radius { | |
| 45 | + @if($key){ | |
| 46 | + .uni-radius-#{"" + $direction}-#{"" + $key} { | |
| 47 | + @include radius($key,$direction,false) | |
| 48 | + } | |
| 49 | + }@else{ | |
| 50 | + .uni-radius-#{$direction} { | |
| 51 | + @include radius($key,$direction,false) | |
| 52 | + } | |
| 53 | + } | |
| 54 | + } | |
| 55 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-scss/styles/setting/_space.scss
0 → 100644
| 1 | + | |
| 2 | +@mixin fn($space,$direction,$size,$n) { | |
| 3 | + @if $n { | |
| 4 | + #{$space}-#{$direction}: #{$size*$uni-space-root}px | |
| 5 | + } @else { | |
| 6 | + #{$space}-#{$direction}: #{-$size*$uni-space-root}px | |
| 7 | + } | |
| 8 | +} | |
| 9 | +@mixin get-styles($direction,$i,$space,$n){ | |
| 10 | + @if $direction == t { | |
| 11 | + @include fn($space, top,$i,$n); | |
| 12 | + } | |
| 13 | + @if $direction == r { | |
| 14 | + @include fn($space, right,$i,$n); | |
| 15 | + } | |
| 16 | + @if $direction == b { | |
| 17 | + @include fn($space, bottom,$i,$n); | |
| 18 | + } | |
| 19 | + @if $direction == l { | |
| 20 | + @include fn($space, left,$i,$n); | |
| 21 | + } | |
| 22 | + @if $direction == x { | |
| 23 | + @include fn($space, left,$i,$n); | |
| 24 | + @include fn($space, right,$i,$n); | |
| 25 | + } | |
| 26 | + @if $direction == y { | |
| 27 | + @include fn($space, top,$i,$n); | |
| 28 | + @include fn($space, bottom,$i,$n); | |
| 29 | + } | |
| 30 | + @if $direction == a { | |
| 31 | + @if $n { | |
| 32 | + #{$space}:#{$i*$uni-space-root}px; | |
| 33 | + } @else { | |
| 34 | + #{$space}:#{-$i*$uni-space-root}px; | |
| 35 | + } | |
| 36 | + } | |
| 37 | +} | |
| 38 | + | |
| 39 | +@each $orientation in m,p { | |
| 40 | + $space: margin; | |
| 41 | + @if $orientation == m { | |
| 42 | + $space: margin; | |
| 43 | + } @else { | |
| 44 | + $space: padding; | |
| 45 | + } | |
| 46 | + @for $i from 0 through 16 { | |
| 47 | + @each $direction in t, r, b, l, x, y, a { | |
| 48 | + .uni-#{$orientation}#{$direction}-#{$i} { | |
| 49 | + @include get-styles($direction,$i,$space,true); | |
| 50 | + } | |
| 51 | + .uni-#{$orientation}#{$direction}-n#{$i} { | |
| 52 | + @include get-styles($direction,$i,$space,false); | |
| 53 | + } | |
| 54 | + } | |
| 55 | + } | |
| 56 | +} | |
| 0 | 57 | \ No newline at end of file | ... | ... |
garbage-removal/src/uni_modules/uni-scss/styles/setting/_styles.scss
0 → 100644
| 1 | +/* #ifndef APP-NVUE */ | |
| 2 | + | |
| 3 | +$-color-white:#fff; | |
| 4 | +$-color-black:#000; | |
| 5 | +@mixin base-style($color) { | |
| 6 | + color: #fff; | |
| 7 | + background-color: $color; | |
| 8 | + border-color: mix($-color-black, $color, 8%); | |
| 9 | + &:not([hover-class]):active { | |
| 10 | + background: mix($-color-black, $color, 10%); | |
| 11 | + border-color: mix($-color-black, $color, 20%); | |
| 12 | + color: $-color-white; | |
| 13 | + outline: none; | |
| 14 | + } | |
| 15 | +} | |
| 16 | +@mixin is-color($color) { | |
| 17 | + @include base-style($color); | |
| 18 | + &[loading] { | |
| 19 | + @include base-style($color); | |
| 20 | + &::before { | |
| 21 | + margin-right:5px; | |
| 22 | + } | |
| 23 | + } | |
| 24 | + &[disabled] { | |
| 25 | + &, | |
| 26 | + &[loading], | |
| 27 | + &:not([hover-class]):active { | |
| 28 | + color: $-color-white; | |
| 29 | + border-color: mix(darken($color,10%), $-color-white); | |
| 30 | + background-color: mix($color, $-color-white); | |
| 31 | + } | |
| 32 | + } | |
| 33 | + | |
| 34 | +} | |
| 35 | +@mixin base-plain-style($color) { | |
| 36 | + color:$color; | |
| 37 | + background-color: mix($-color-white, $color, 90%); | |
| 38 | + border-color: mix($-color-white, $color, 70%); | |
| 39 | + &:not([hover-class]):active { | |
| 40 | + background: mix($-color-white, $color, 80%); | |
| 41 | + color: $color; | |
| 42 | + outline: none; | |
| 43 | + border-color: mix($-color-white, $color, 50%); | |
| 44 | + } | |
| 45 | +} | |
| 46 | +@mixin is-plain($color){ | |
| 47 | + &[plain] { | |
| 48 | + @include base-plain-style($color); | |
| 49 | + &[loading] { | |
| 50 | + @include base-plain-style($color); | |
| 51 | + &::before { | |
| 52 | + margin-right:5px; | |
| 53 | + } | |
| 54 | + } | |
| 55 | + &[disabled] { | |
| 56 | + &, | |
| 57 | + &:active { | |
| 58 | + color: mix($-color-white, $color, 40%); | |
| 59 | + background-color: mix($-color-white, $color, 90%); | |
| 60 | + border-color: mix($-color-white, $color, 80%); | |
| 61 | + } | |
| 62 | + } | |
| 63 | + } | |
| 64 | +} | |
| 65 | + | |
| 66 | + | |
| 67 | +.uni-btn { | |
| 68 | + margin: 5px; | |
| 69 | + color: #393939; | |
| 70 | + border:1px solid #ccc; | |
| 71 | + font-size: 16px; | |
| 72 | + font-weight: 200; | |
| 73 | + background-color: #19a97c; | |
| 74 | + // TODO 暂时处理边框隐藏一边的问题 | |
| 75 | + overflow: visible; | |
| 76 | + &::after{ | |
| 77 | + border: none; | |
| 78 | + } | |
| 79 | + | |
| 80 | + &:not([type]),&[type=default] { | |
| 81 | + color: #999; | |
| 82 | + &[loading] { | |
| 83 | + background: none; | |
| 84 | + &::before { | |
| 85 | + margin-right:5px; | |
| 86 | + } | |
| 87 | + } | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + &[disabled]{ | |
| 92 | + color: mix($-color-white, #999, 60%); | |
| 93 | + &, | |
| 94 | + &[loading], | |
| 95 | + &:active { | |
| 96 | + color: mix($-color-white, #999, 60%); | |
| 97 | + background-color: mix($-color-white,$-color-black , 98%); | |
| 98 | + border-color: mix($-color-white, #999, 85%); | |
| 99 | + } | |
| 100 | + } | |
| 101 | + | |
| 102 | + &[plain] { | |
| 103 | + color: #999; | |
| 104 | + background: none; | |
| 105 | + border-color: $uni-border-1; | |
| 106 | + &:not([hover-class]):active { | |
| 107 | + background: none; | |
| 108 | + color: mix($-color-white, $-color-black, 80%); | |
| 109 | + border-color: mix($-color-white, $-color-black, 90%); | |
| 110 | + outline: none; | |
| 111 | + } | |
| 112 | + &[disabled]{ | |
| 113 | + &, | |
| 114 | + &[loading], | |
| 115 | + &:active { | |
| 116 | + background: none; | |
| 117 | + color: mix($-color-white, #999, 60%); | |
| 118 | + border-color: mix($-color-white, #999, 85%); | |
| 119 | + } | |
| 120 | + } | |
| 121 | + } | |
| 122 | + } | |
| 123 | + | |
| 124 | + &:not([hover-class]):active { | |
| 125 | + color: mix($-color-white, $-color-black, 50%); | |
| 126 | + } | |
| 127 | + | |
| 128 | + &[size=mini] { | |
| 129 | + font-size: 16px; | |
| 130 | + font-weight: 200; | |
| 131 | + border-radius: 8px; | |
| 132 | + } | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + &.uni-btn-small { | |
| 137 | + font-size: 14px; | |
| 138 | + } | |
| 139 | + &.uni-btn-mini { | |
| 140 | + font-size: 12px; | |
| 141 | + } | |
| 142 | + | |
| 143 | + &.uni-btn-radius { | |
| 144 | + border-radius: 999px; | |
| 145 | + } | |
| 146 | + &[type=primary] { | |
| 147 | + @include is-color($uni-primary); | |
| 148 | + @include is-plain($uni-primary) | |
| 149 | + } | |
| 150 | + &[type=success] { | |
| 151 | + @include is-color($uni-success); | |
| 152 | + @include is-plain($uni-success) | |
| 153 | + } | |
| 154 | + &[type=error] { | |
| 155 | + @include is-color($uni-error); | |
| 156 | + @include is-plain($uni-error) | |
| 157 | + } | |
| 158 | + &[type=warning] { | |
| 159 | + @include is-color($uni-warning); | |
| 160 | + @include is-plain($uni-warning) | |
| 161 | + } | |
| 162 | + &[type=info] { | |
| 163 | + @include is-color($uni-info); | |
| 164 | + @include is-plain($uni-info) | |
| 165 | + } | |
| 166 | +} | |
| 167 | +/* #endif */ | ... | ... |
garbage-removal/src/uni_modules/uni-scss/styles/setting/_text.scss
0 → 100644
| 1 | +@mixin get-styles($k,$c) { | |
| 2 | + @if $k == size or $k == weight{ | |
| 3 | + font-#{$k}:#{$c} | |
| 4 | + }@else{ | |
| 5 | + #{$k}:#{$c} | |
| 6 | + } | |
| 7 | +} | |
| 8 | + | |
| 9 | +@each $key, $child in $uni-headings { | |
| 10 | + /* #ifndef APP-NVUE */ | |
| 11 | + .uni-#{$key} { | |
| 12 | + @each $k, $c in $child { | |
| 13 | + @include get-styles($k,$c) | |
| 14 | + } | |
| 15 | + } | |
| 16 | + /* #endif */ | |
| 17 | + /* #ifdef APP-NVUE */ | |
| 18 | + .container .uni-#{$key} { | |
| 19 | + @each $k, $c in $child { | |
| 20 | + @include get-styles($k,$c) | |
| 21 | + } | |
| 22 | + } | |
| 23 | + /* #endif */ | |
| 24 | +} | ... | ... |
garbage-removal/src/uni_modules/uni-scss/styles/setting/_variables.scss
0 → 100644
| 1 | +// @use "sass:math"; | |
| 2 | +@import '../tools/functions.scss'; | |
| 3 | +// 间距基础倍数 | |
| 4 | +$uni-space-root: 2 !default; | |
| 5 | +// 边框半径默认值 | |
| 6 | +$uni-radius-root:5px !default; | |
| 7 | +$uni-radius: () !default; | |
| 8 | +// 边框半径断点 | |
| 9 | +$uni-radius: map-deep-merge( | |
| 10 | + ( | |
| 11 | + 0: 0, | |
| 12 | + // TODO 当前版本暂时不支持 sm 属性 | |
| 13 | + // 'sm': math.div($uni-radius-root, 2), | |
| 14 | + null: $uni-radius-root, | |
| 15 | + 'lg': $uni-radius-root * 2, | |
| 16 | + 'xl': $uni-radius-root * 6, | |
| 17 | + 'pill': 9999px, | |
| 18 | + 'circle': 50% | |
| 19 | + ), | |
| 20 | + $uni-radius | |
| 21 | +); | |
| 22 | +// 字体家族 | |
| 23 | +$body-font-family: 'Roboto', sans-serif !default; | |
| 24 | +// 文本 | |
| 25 | +$heading-font-family: $body-font-family !default; | |
| 26 | +$uni-headings: () !default; | |
| 27 | +$letterSpacing: -0.01562em; | |
| 28 | +$uni-headings: map-deep-merge( | |
| 29 | + ( | |
| 30 | + 'h1': ( | |
| 31 | + size: 32px, | |
| 32 | + weight: 300, | |
| 33 | + line-height: 50px, | |
| 34 | + // letter-spacing:-0.01562em | |
| 35 | + ), | |
| 36 | + 'h2': ( | |
| 37 | + size: 28px, | |
| 38 | + weight: 300, | |
| 39 | + line-height: 40px, | |
| 40 | + // letter-spacing: -0.00833em | |
| 41 | + ), | |
| 42 | + 'h3': ( | |
| 43 | + size: 24px, | |
| 44 | + weight: 400, | |
| 45 | + line-height: 32px, | |
| 46 | + // letter-spacing: normal | |
| 47 | + ), | |
| 48 | + 'h4': ( | |
| 49 | + size: 20px, | |
| 50 | + weight: 400, | |
| 51 | + line-height: 30px, | |
| 52 | + // letter-spacing: 0.00735em | |
| 53 | + ), | |
| 54 | + 'h5': ( | |
| 55 | + size: 16px, | |
| 56 | + weight: 400, | |
| 57 | + line-height: 24px, | |
| 58 | + // letter-spacing: normal | |
| 59 | + ), | |
| 60 | + 'h6': ( | |
| 61 | + size: 14px, | |
| 62 | + weight: 500, | |
| 63 | + line-height: 18px, | |
| 64 | + // letter-spacing: 0.0125em | |
| 65 | + ), | |
| 66 | + 'subtitle': ( | |
| 67 | + size: 12px, | |
| 68 | + weight: 400, | |
| 69 | + line-height: 20px, | |
| 70 | + // letter-spacing: 0.00937em | |
| 71 | + ), | |
| 72 | + 'body': ( | |
| 73 | + font-size: 14px, | |
| 74 | + font-weight: 400, | |
| 75 | + line-height: 22px, | |
| 76 | + // letter-spacing: 0.03125em | |
| 77 | + ), | |
| 78 | + 'caption': ( | |
| 79 | + 'size': 12px, | |
| 80 | + 'weight': 400, | |
| 81 | + 'line-height': 20px, | |
| 82 | + // 'letter-spacing': 0.03333em, | |
| 83 | + // 'text-transform': false | |
| 84 | + ) | |
| 85 | + ), | |
| 86 | + $uni-headings | |
| 87 | +); | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | +// 主色 | |
| 92 | +$uni-primary: #2979ff !default; | |
| 93 | +$uni-primary-disable:lighten($uni-primary,20%) !default; | |
| 94 | +$uni-primary-light: lighten($uni-primary,25%) !default; | |
| 95 | + | |
| 96 | +// 辅助色 | |
| 97 | +// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 | |
| 98 | +$uni-success: #18bc37 !default; | |
| 99 | +$uni-success-disable:lighten($uni-success,20%) !default; | |
| 100 | +$uni-success-light: lighten($uni-success,25%) !default; | |
| 101 | + | |
| 102 | +$uni-warning: #f3a73f !default; | |
| 103 | +$uni-warning-disable:lighten($uni-warning,20%) !default; | |
| 104 | +$uni-warning-light: lighten($uni-warning,25%) !default; | |
| 105 | + | |
| 106 | +$uni-error: #e43d33 !default; | |
| 107 | +$uni-error-disable:lighten($uni-error,20%) !default; | |
| 108 | +$uni-error-light: lighten($uni-error,25%) !default; | |
| 109 | + | |
| 110 | +$uni-info: #8f939c !default; | |
| 111 | +$uni-info-disable:lighten($uni-info,20%) !default; | |
| 112 | +$uni-info-light: lighten($uni-info,25%) !default; | |
| 113 | + | |
| 114 | +// 中性色 | |
| 115 | +// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 | |
| 116 | +$uni-main-color: #3a3a3a !default; // 主要文字 | |
| 117 | +$uni-base-color: #6a6a6a !default; // 常规文字 | |
| 118 | +$uni-secondary-color: #909399 !default; // 次要文字 | |
| 119 | +$uni-extra-color: #c7c7c7 !default; // 辅助说明 | |
| 120 | + | |
| 121 | +// 边框颜色 | |
| 122 | +$uni-border-1: #F0F0F0 !default; | |
| 123 | +$uni-border-2: #EDEDED !default; | |
| 124 | +$uni-border-3: #DCDCDC !default; | |
| 125 | +$uni-border-4: #B9B9B9 !default; | |
| 126 | + | |
| 127 | +// 常规色 | |
| 128 | +$uni-black: #000000 !default; | |
| 129 | +$uni-white: #ffffff !default; | |
| 130 | +$uni-transparent: rgba($color: #000000, $alpha: 0) !default; | |
| 131 | + | |
| 132 | +// 背景色 | |
| 133 | +$uni-bg-color: #f7f7f7 !default; | |
| 134 | + | |
| 135 | +/* 水平间距 */ | |
| 136 | +$uni-spacing-sm: 8px !default; | |
| 137 | +$uni-spacing-base: 15px !default; | |
| 138 | +$uni-spacing-lg: 30px !default; | |
| 139 | + | |
| 140 | +// 阴影 | |
| 141 | +$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5) !default; | |
| 142 | +$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2) !default; | |
| 143 | +$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5) !default; | |
| 144 | + | |
| 145 | +// 蒙版 | |
| 146 | +$uni-mask: rgba($color: #000000, $alpha: 0.4) !default; | ... | ... |
garbage-removal/src/uni_modules/uni-scss/styles/tools/functions.scss
0 → 100644
| 1 | +// 合并 map | |
| 2 | +@function map-deep-merge($parent-map, $child-map){ | |
| 3 | + $result: $parent-map; | |
| 4 | + @each $key, $child in $child-map { | |
| 5 | + $parent-has-key: map-has-key($result, $key); | |
| 6 | + $parent-value: map-get($result, $key); | |
| 7 | + $parent-type: type-of($parent-value); | |
| 8 | + $child-type: type-of($child); | |
| 9 | + $parent-is-map: $parent-type == map; | |
| 10 | + $child-is-map: $child-type == map; | |
| 11 | + | |
| 12 | + @if (not $parent-has-key) or ($parent-type != $child-type) or (not ($parent-is-map and $child-is-map)){ | |
| 13 | + $result: map-merge($result, ( $key: $child )); | |
| 14 | + }@else { | |
| 15 | + $result: map-merge($result, ( $key: map-deep-merge($parent-value, $child) )); | |
| 16 | + } | |
| 17 | + } | |
| 18 | + @return $result; | |
| 19 | +}; | ... | ... |
garbage-removal/src/uni_modules/uni-scss/theme.scss
0 → 100644
| 1 | +// 间距基础倍数 | |
| 2 | +$uni-space-root: 2; | |
| 3 | +// 边框半径默认值 | |
| 4 | +$uni-radius-root:5px; | |
| 5 | +// 主色 | |
| 6 | +$uni-primary: #2979ff; | |
| 7 | +// 辅助色 | |
| 8 | +$uni-success: #4cd964; | |
| 9 | +// 警告色 | |
| 10 | +$uni-warning: #f0ad4e; | |
| 11 | +// 错误色 | |
| 12 | +$uni-error: #dd524d; | |
| 13 | +// 描述色 | |
| 14 | +$uni-info: #909399; | |
| 15 | +// 中性色 | |
| 16 | +$uni-main-color: #303133; | |
| 17 | +$uni-base-color: #606266; | |
| 18 | +$uni-secondary-color: #909399; | |
| 19 | +$uni-extra-color: #C0C4CC; | |
| 20 | +// 背景色 | |
| 21 | +$uni-bg-color: #f5f5f5; | |
| 22 | +// 边框颜色 | |
| 23 | +$uni-border-1: #DCDFE6; | |
| 24 | +$uni-border-2: #E4E7ED; | |
| 25 | +$uni-border-3: #EBEEF5; | |
| 26 | +$uni-border-4: #F2F6FC; | |
| 27 | + | |
| 28 | +// 常规色 | |
| 29 | +$uni-black: #000000; | |
| 30 | +$uni-white: #ffffff; | |
| 31 | +$uni-transparent: rgba($color: #000000, $alpha: 0); | ... | ... |
garbage-removal/src/uni_modules/uni-scss/variables.scss
0 → 100644
| 1 | +@import './styles/setting/_variables.scss'; | |
| 2 | +// 间距基础倍数 | |
| 3 | +$uni-space-root: 2; | |
| 4 | +// 边框半径默认值 | |
| 5 | +$uni-radius-root:5px; | |
| 6 | + | |
| 7 | +// 主色 | |
| 8 | +$uni-primary: #2979ff; | |
| 9 | +$uni-primary-disable:mix(#fff,$uni-primary,50%); | |
| 10 | +$uni-primary-light: mix(#fff,$uni-primary,80%); | |
| 11 | + | |
| 12 | +// 辅助色 | |
| 13 | +// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 | |
| 14 | +$uni-success: #18bc37; | |
| 15 | +$uni-success-disable:mix(#fff,$uni-success,50%); | |
| 16 | +$uni-success-light: mix(#fff,$uni-success,80%); | |
| 17 | + | |
| 18 | +$uni-warning: #f3a73f; | |
| 19 | +$uni-warning-disable:mix(#fff,$uni-warning,50%); | |
| 20 | +$uni-warning-light: mix(#fff,$uni-warning,80%); | |
| 21 | + | |
| 22 | +$uni-error: #e43d33; | |
| 23 | +$uni-error-disable:mix(#fff,$uni-error,50%); | |
| 24 | +$uni-error-light: mix(#fff,$uni-error,80%); | |
| 25 | + | |
| 26 | +$uni-info: #8f939c; | |
| 27 | +$uni-info-disable:mix(#fff,$uni-info,50%); | |
| 28 | +$uni-info-light: mix(#fff,$uni-info,80%); | |
| 29 | + | |
| 30 | +// 中性色 | |
| 31 | +// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 | |
| 32 | +$uni-main-color: #3a3a3a; // 主要文字 | |
| 33 | +$uni-base-color: #6a6a6a; // 常规文字 | |
| 34 | +$uni-secondary-color: #909399; // 次要文字 | |
| 35 | +$uni-extra-color: #c7c7c7; // 辅助说明 | |
| 36 | + | |
| 37 | +// 边框颜色 | |
| 38 | +$uni-border-1: #F0F0F0; | |
| 39 | +$uni-border-2: #EDEDED; | |
| 40 | +$uni-border-3: #DCDCDC; | |
| 41 | +$uni-border-4: #B9B9B9; | |
| 42 | + | |
| 43 | +// 常规色 | |
| 44 | +$uni-black: #000000; | |
| 45 | +$uni-white: #ffffff; | |
| 46 | +$uni-transparent: rgba($color: #000000, $alpha: 0); | |
| 47 | + | |
| 48 | +// 背景色 | |
| 49 | +$uni-bg-color: #f7f7f7; | |
| 50 | + | |
| 51 | +/* 水平间距 */ | |
| 52 | +$uni-spacing-sm: 8px; | |
| 53 | +$uni-spacing-base: 15px; | |
| 54 | +$uni-spacing-lg: 30px; | |
| 55 | + | |
| 56 | +// 阴影 | |
| 57 | +$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5); | |
| 58 | +$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2); | |
| 59 | +$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5); | |
| 60 | + | |
| 61 | +// 蒙版 | |
| 62 | +$uni-mask: rgba($color: #000000, $alpha: 0.4); | ... | ... |