vue自定義實現icon選擇器

<template>

? <div>

? ? <span class="iconStyle" @click="selectIcon">

? ? ? <i :class="value" />

? ? </span>

? ? <div class="iconTitle">選擇圖標</div>

? ? <el-dialog

? ? ? title=""

? ? ? :visible.sync="dialogVisible"

? ? ? width="40%"

? ? ? :close-on-click-modal="false"

? ? ? :modal="false"

? ? ? :show-close="false"

? ? >

? ? ? <div class="iconList">

? ? ? ? <el-tabs v-model="activeName">

? ? ? ? ? <el-tab-pane

? ? ? ? ? ? v-for="item in list"

? ? ? ? ? ? :key="item.label"

? ? ? ? ? ? :name="item.label"

? ? ? ? ? ? :label="item.label"

? ? ? ? ? >

? ? ? ? ? ? <el-scrollbar wrap-class="scrollbar-wrapper">

? ? ? ? ? ? ? <span class="icon" v-for="(item, index) in item.list" :key="item">

? ? ? ? ? ? ? ? <i

? ? ? ? ? ? ? ? ? :key="item"

? ? ? ? ? ? ? ? ? :class="[item]"

? ? ? ? ? ? ? ? ? :style="{ color: showIndex == index ? '#3a84ff' : '' }"

? ? ? ? ? ? ? ? ? @click="setIcon(item, index)"

? ? ? ? ? ? ? ? ></i>

? ? ? ? ? ? ? </span>

? ? ? ? ? ? </el-scrollbar>

? ? ? ? ? </el-tab-pane>

? ? ? ? </el-tabs>

? ? ? </div>

? ? ? <span slot="footer" class="dialog-footer">

? ? ? ? <el-button type="primary" @click="dialogVisible = false"

? ? ? ? ? >確定</el-button

? ? ? ? >

? ? ? ? <el-button @click="cancel">取消</el-button>

? ? ? </span>

? ? </el-dialog>

? </div>

</template>

? <script>

export default {

? name: "selectIcon",

? model: {

? ? prop: "value",

? ? event: "input",

? },

? props: {

? ? value: {

? ? ? type: String,

? ? ? default: "",

? ? },

? },

? data() {

? ? return {

? ? ? dialogVisible: false,

? ? ? activeName: "系統圖標",

? ? ? showIndex: 0,

? ? ? list: [

? ? ? ? // {

? ? ? ? // ? label: "線框",

? ? ? ? // ? list: [

? ? ? ? // ? ? "el-icon-eleme",

? ? ? ? // ? ? "el-icon-delete",

? ? ? ? // ? ? "el-icon-setting",

? ? ? ? // ? ? "el-icon-user",

? ? ? ? // ? ? "el-icon-phone-outline",

? ? ? ? // ? ? "el-icon-more-outline",

? ? ? ? // ? ? "el-icon-star-off",

? ? ? ? // ? ? "el-icon-goods",

? ? ? ? // ? ? "el-icon-warning-outline",

? ? ? ? // ? ? "el-icon-zoom-in",

? ? ? ? // ? ? "el-icon-zoom-out",

? ? ? ? // ? ? "el-icon-remove-outline",

? ? ? ? // ? ? "el-icon-circle-plus-outline",

? ? ? ? // ? ? "el-icon-circle-check",

? ? ? ? // ? ? "el-icon-circle-close",

? ? ? ? // ? ? "el-icon-help",

? ? ? ? // ? ? "el-icon-minus",

? ? ? ? // ? ? "el-icon-plus",

? ? ? ? // ? ? "el-icon-check",

? ? ? ? // ? ? "el-icon-close",

? ? ? ? // ? ? "el-icon-picture-outline",

? ? ? ? // ? ? "el-icon-picture-outline-round",

? ? ? ? // ? ? "el-icon-upload2",

? ? ? ? // ? ? "el-icon-download",

? ? ? ? // ? ? "el-icon-camera",

? ? ? ? // ? ? "el-icon-video-camera",

? ? ? ? // ? ? "el-icon-bell",

? ? ? ? // ? ? "el-icon-bottom-left",

? ? ? ? // ? ? "el-icon-bottom-right",

? ? ? ? // ? ? "el-icon-back",

? ? ? ? // ? ? "el-icon-right",

? ? ? ? // ? ? "el-icon-bottom",

? ? ? ? // ? ? "el-icon-top",

? ? ? ? // ? ? "el-icon-top-left",

? ? ? ? // ? ? "el-icon-top-right",

? ? ? ? // ? ? "el-icon-arrow-left",

? ? ? ? // ? ? "el-icon-arrow-right",

? ? ? ? // ? ? "el-icon-arrow-down",

? ? ? ? // ? ? "el-icon-arrow-up",

? ? ? ? // ? ? "el-icon-d-arrow-left",

? ? ? ? // ? ? "el-icon-d-arrow-right",

? ? ? ? // ? ? "el-icon-video-pause",

? ? ? ? // ? ? "el-icon-video-play",

? ? ? ? // ? ? "el-icon-refresh",

? ? ? ? // ? ? "el-icon-refresh-right",

? ? ? ? // ? ? "el-icon-refresh-left",

? ? ? ? // ? ? "el-icon-finished",

? ? ? ? // ? ? "el-icon-sort",

? ? ? ? // ? ? "el-icon-sort-up",

? ? ? ? // ? ? "el-icon-sort-down",

? ? ? ? // ? ? "el-icon-rank",

? ? ? ? // ? ? "el-icon-loading",

? ? ? ? // ? ? "el-icon-view",

? ? ? ? // ? ? "el-icon-c-scale-to-original",

? ? ? ? // ? ? "el-icon-date",

? ? ? ? // ? ? "el-icon-edit",

? ? ? ? // ? ? "el-icon-edit-outline",

? ? ? ? // ? ? "el-icon-folder",

? ? ? ? // ? ? "el-icon-folder-opened",

? ? ? ? // ? ? "el-icon-folder-add",

? ? ? ? // ? ? "el-icon-folder-remove",

? ? ? ? // ? ? "el-icon-folder-delete",

? ? ? ? // ? ? "el-icon-folder-checked",

? ? ? ? // ? ? "el-icon-tickets",

? ? ? ? // ? ? "el-icon-document-remove",

? ? ? ? // ? ? "el-icon-document-delete",

? ? ? ? // ? ? "el-icon-document-copy",

? ? ? ? // ? ? "el-icon-document-checked",

? ? ? ? // ? ? "el-icon-document",

? ? ? ? // ? ? "el-icon-document-add",

? ? ? ? // ? ? "el-icon-printer",

? ? ? ? // ? ? "el-icon-paperclip",

? ? ? ? // ? ? "el-icon-takeaway-box",

? ? ? ? // ? ? "el-icon-search",

? ? ? ? // ? ? "el-icon-monitor",

? ? ? ? // ? ? "el-icon-attract",

? ? ? ? // ? ? "el-icon-mobile",

? ? ? ? // ? ? "el-icon-scissors",

? ? ? ? // ? ? "el-icon-umbrella",

? ? ? ? // ? ? "el-icon-headset",

? ? ? ? // ? ? "el-icon-brush",

? ? ? ? // ? ? "el-icon-mouse",

? ? ? ? // ? ? "el-icon-coordinate",

? ? ? ? // ? ? "el-icon-magic-stick",

? ? ? ? // ? ? "el-icon-reading",

? ? ? ? // ? ? "el-icon-data-line",

? ? ? ? // ? ? "el-icon-data-board",

? ? ? ? // ? ? "el-icon-pie-chart",

? ? ? ? // ? ? "el-icon-data-analysis",

? ? ? ? // ? ? "el-icon-collection-tag",

? ? ? ? // ? ? "el-icon-film",

? ? ? ? // ? ? "el-icon-suitcase",

? ? ? ? // ? ? "el-icon-suitcase-1",

? ? ? ? // ? ? "el-icon-receiving",

? ? ? ? // ? ? "el-icon-collection",

? ? ? ? // ? ? "el-icon-files",

? ? ? ? // ? ? "el-icon-notebook-1",

? ? ? ? // ? ? "el-icon-notebook-2",

? ? ? ? // ? ? "el-icon-toilet-paper",

? ? ? ? // ? ? "el-icon-office-building",

? ? ? ? // ? ? "el-icon-school",

? ? ? ? // ? ? "el-icon-table-lamp",

? ? ? ? // ? ? "el-icon-house",

? ? ? ? // ? ? "el-icon-no-smoking",

? ? ? ? // ? ? "el-icon-smoking",

? ? ? ? // ? ? "el-icon-shopping-cart-full",

? ? ? ? // ? ? "el-icon-shopping-cart-1",

? ? ? ? // ? ? "el-icon-shopping-cart-2",

? ? ? ? // ? ? "el-icon-shopping-bag-1",

? ? ? ? // ? ? "el-icon-shopping-bag-2",

? ? ? ? // ? ? "el-icon-sold-out",

? ? ? ? // ? ? "el-icon-sell",

? ? ? ? // ? ? "el-icon-present",

? ? ? ? // ? ? "el-icon-box",

? ? ? ? // ? ? "el-icon-bank-card",

? ? ? ? // ? ? "el-icon-money",

? ? ? ? // ? ? "el-icon-coin",

? ? ? ? // ? ? "el-icon-wallet",

? ? ? ? // ? ? "el-icon-discount",

? ? ? ? // ? ? "el-icon-price-tag",

? ? ? ? // ? ? "el-icon-news",

? ? ? ? // ? ? "el-icon-guide",

? ? ? ? // ? ? "el-icon-male",

? ? ? ? // ? ? "el-icon-female",

? ? ? ? // ? ? "el-icon-thumb",

? ? ? ? // ? ? "el-icon-cpu",

? ? ? ? // ? ? "el-icon-link",

? ? ? ? // ? ? "el-icon-connection",

? ? ? ? // ? ? "el-icon-open",

? ? ? ? // ? ? "el-icon-turn-off",

? ? ? ? // ? ? "el-icon-set-up",

? ? ? ? // ? ? "el-icon-chat-round",

? ? ? ? // ? ? "el-icon-chat-line-round",

? ? ? ? // ? ? "el-icon-chat-square",

? ? ? ? // ? ? "el-icon-chat-dot-round",

? ? ? ? // ? ? "el-icon-chat-dot-square",

? ? ? ? // ? ? "el-icon-chat-line-square",

? ? ? ? // ? ? "el-icon-message",

? ? ? ? // ? ? "el-icon-postcard",

? ? ? ? // ? ? "el-icon-position",

? ? ? ? // ? ? "el-icon-turn-off-microphone",

? ? ? ? // ? ? "el-icon-microphone",

? ? ? ? // ? ? "el-icon-close-notification",

? ? ? ? // ? ? "el-icon-bangzhu",

? ? ? ? // ? ? "el-icon-time",

? ? ? ? // ? ? "el-icon-odometer",

? ? ? ? // ? ? "el-icon-crop",

? ? ? ? // ? ? "el-icon-aim",

? ? ? ? // ? ? "el-icon-switch-button",

? ? ? ? // ? ? "el-icon-full-screen",

? ? ? ? // ? ? "el-icon-copy-document",

? ? ? ? // ? ? "el-icon-mic",

? ? ? ? // ? ? "el-icon-stopwatch",

? ? ? ? // ? ? "el-icon-medal-1",

? ? ? ? // ? ? "el-icon-medal",

? ? ? ? // ? ? "el-icon-trophy",

? ? ? ? // ? ? "el-icon-trophy-1",

? ? ? ? // ? ? "el-icon-first-aid-kit",

? ? ? ? // ? ? "el-icon-discover",

? ? ? ? // ? ? "el-icon-place",

? ? ? ? // ? ? "el-icon-location",

? ? ? ? // ? ? "el-icon-location-outline",

? ? ? ? // ? ? "el-icon-location-information",

? ? ? ? // ? ? "el-icon-add-location",

? ? ? ? // ? ? "el-icon-delete-location",

? ? ? ? // ? ? "el-icon-map-location",

? ? ? ? // ? ? "el-icon-alarm-clock",

? ? ? ? // ? ? "el-icon-timer",

? ? ? ? // ? ? "el-icon-watch-1",

? ? ? ? // ? ? "el-icon-watch",

? ? ? ? // ? ? "el-icon-lock",

? ? ? ? // ? ? "el-icon-unlock",

? ? ? ? // ? ? "el-icon-key",

? ? ? ? // ? ? "el-icon-service",

? ? ? ? // ? ? "el-icon-mobile-phone",

? ? ? ? // ? ? "el-icon-bicycle",

? ? ? ? // ? ? "el-icon-truck",

? ? ? ? // ? ? "el-icon-ship",

? ? ? ? // ? ? "el-icon-basketball",

? ? ? ? // ? ? "el-icon-football",

? ? ? ? // ? ? "el-icon-soccer",

? ? ? ? // ? ? "el-icon-baseball",

? ? ? ? // ? ? "el-icon-wind-power",

? ? ? ? // ? ? "el-icon-light-rain",

? ? ? ? // ? ? "el-icon-lightning",

? ? ? ? // ? ? "el-icon-heavy-rain",

? ? ? ? // ? ? "el-icon-sunrise",

? ? ? ? // ? ? "el-icon-sunrise-1",

? ? ? ? // ? ? "el-icon-sunset",

? ? ? ? // ? ? "el-icon-sunny",

? ? ? ? // ? ? "el-icon-cloudy",

? ? ? ? // ? ? "el-icon-partly-cloudy",

? ? ? ? // ? ? "el-icon-cloudy-and-sunny",

? ? ? ? // ? ? "el-icon-moon",

? ? ? ? // ? ? "el-icon-moon-night",

? ? ? ? // ? ? "el-icon-dish",

? ? ? ? // ? ? "el-icon-dish-1",

? ? ? ? // ? ? "el-icon-food",

? ? ? ? // ? ? "el-icon-chicken",

? ? ? ? // ? ? "el-icon-fork-spoon",

? ? ? ? // ? ? "el-icon-knife-fork",

? ? ? ? // ? ? "el-icon-burger",

? ? ? ? // ? ? "el-icon-tableware",

? ? ? ? // ? ? "el-icon-sugar",

? ? ? ? // ? ? "el-icon-dessert",

? ? ? ? // ? ? "el-icon-ice-cream",

? ? ? ? // ? ? "el-icon-hot-water",

? ? ? ? // ? ? "el-icon-water-cup",

? ? ? ? // ? ? "el-icon-coffee-cup",

? ? ? ? // ? ? "el-icon-cold-drink",

? ? ? ? // ? ? "el-icon-goblet",

? ? ? ? // ? ? "el-icon-goblet-full",

? ? ? ? // ? ? "el-icon-goblet-square",

? ? ? ? // ? ? "el-icon-goblet-square-full",

? ? ? ? // ? ? "el-icon-refrigerator",

? ? ? ? // ? ? "el-icon-grape",

? ? ? ? // ? ? "el-icon-watermelon",

? ? ? ? // ? ? "el-icon-cherry",

? ? ? ? // ? ? "el-icon-apple",

? ? ? ? // ? ? "el-icon-pear",

? ? ? ? // ? ? "el-icon-orange",

? ? ? ? // ? ? "el-icon-coffee",

? ? ? ? // ? ? "el-icon-ice-tea",

? ? ? ? // ? ? "el-icon-ice-drink",

? ? ? ? // ? ? "el-icon-milk-tea",

? ? ? ? // ? ? "el-icon-potato-strips",

? ? ? ? // ? ? "el-icon-lollipop",

? ? ? ? // ? ? "el-icon-ice-cream-square",

? ? ? ? // ? ? "el-icon-ice-cream-round",

? ? ? ? // ? ],

? ? ? ? // },

? ? ? ? {

? ? ? ? ? label: "系統圖標",

? ? ? ? ? list: [

? ? ? ? ? ? "el-icon-question",

? ? ? ? ? ? "el-icon-platform-eleme",

? ? ? ? ? ? "el-icon-delete-solid",

? ? ? ? ? ? "el-icon-s-tools",

? ? ? ? ? ? "el-icon-user-solid",

? ? ? ? ? ? "el-icon-phone",

? ? ? ? ? ? "el-icon-more",

? ? ? ? ? ? "el-icon-star-on",

? ? ? ? ? ? "el-icon-s-goods",

? ? ? ? ? ? "el-icon-warning",

? ? ? ? ? ? "el-icon-info",

? ? ? ? ? ? "el-icon-remove",

? ? ? ? ? ? "el-icon-circle-plus",

? ? ? ? ? ? "el-icon-success",

? ? ? ? ? ? "el-icon-error",

? ? ? ? ? ? "el-icon-s-help",

? ? ? ? ? ? "el-icon-picture",

? ? ? ? ? ? "el-icon-upload",

? ? ? ? ? ? "el-icon-camera-solid",

? ? ? ? ? ? "el-icon-video-camera-solid",

? ? ? ? ? ? "el-icon-message-solid",

? ? ? ? ? ? "el-icon-s-cooperation",

? ? ? ? ? ? "el-icon-s-order",

? ? ? ? ? ? "el-icon-s-platform",

? ? ? ? ? ? "el-icon-s-fold",

? ? ? ? ? ? "el-icon-s-unfold",

? ? ? ? ? ? "el-icon-s-operation",

? ? ? ? ? ? "el-icon-s-promotion",

? ? ? ? ? ? "el-icon-s-home",

? ? ? ? ? ? "el-icon-s-release",

? ? ? ? ? ? "el-icon-s-ticket",

? ? ? ? ? ? "el-icon-s-management",

? ? ? ? ? ? "el-icon-s-open",

? ? ? ? ? ? "el-icon-s-shop",

? ? ? ? ? ? "el-icon-s-marketing",

? ? ? ? ? ? "el-icon-s-flag",

? ? ? ? ? ? "el-icon-s-comment",

? ? ? ? ? ? "el-icon-s-finance",

? ? ? ? ? ? "el-icon-s-claim",

? ? ? ? ? ? "el-icon-s-custom",

? ? ? ? ? ? "el-icon-s-opportunity",

? ? ? ? ? ? "el-icon-s-data",

? ? ? ? ? ? "el-icon-s-check",

? ? ? ? ? ? "el-icon-s-grid",

? ? ? ? ? ? "el-icon-menu",

? ? ? ? ? ? "el-icon-share",

? ? ? ? ? ? "el-icon-d-caret",

? ? ? ? ? ? "el-icon-caret-left",

? ? ? ? ? ? "el-icon-caret-right",

? ? ? ? ? ? "el-icon-caret-bottom",

? ? ? ? ? ? "el-icon-caret-top",

? ? ? ? ? ],

? ? ? ? },

? ? ? ],

? ? };

? },

? methods: {

? ? setIcon(row, index) {

? ? ? this.showIndex = index;

? ? ? this.$emit("input", row);

? ? },

? ? cancel() {

? ? ? ? this.dialogVisible = false

? ? ? ? this.showIndex = 0;

? ? ? ? this.$emit('cancelIcon')

? ? },

? ? selectIcon() {

? ? ? this.dialogVisible = true;

? ? },

? },

};

</script>

? <style scoped lang="scss">

.iconList {

? .el-tab-pane {

? ? .el-scrollbar {

? ? ? width: 600px;

? ? ? height: 388px;

? ? ? overflow-x: hidden !important;

? ? ? .icon {

? ? ? ? display: inline-block;

? ? ? ? width: calc((100% - 60px) / 6);

? ? ? ? height: 40px;

? ? ? ? border: 1px solid #ededed;

? ? ? ? text-align: center;

? ? ? ? box-sizing: border-box;

? ? ? ? line-height: 38px;

? ? ? ? margin-right: 10px;

? ? ? ? border-radius: 3px;

? ? ? ? margin-top: 10px;

? ? ? ? cursor: pointer;

? ? ? ? &:nth-child(-n + 6) {

? ? ? ? ? margin-top: 0;

? ? ? ? }

? ? ? ? i {

? ? ? ? ? font-size: 16px;

? ? ? ? ? color: #303133;

? ? ? ? ? transition: all 100ms;

? ? ? ? }

? ? ? ? &:hover {

? ? ? ? ? box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);

? ? ? ? ? i {

? ? ? ? ? ? transform: scale(1.5);

? ? ? ? ? }

? ? ? ? }

? ? ? }

? ? }

? }

}

.iconStyle {

? display: inline-block;

? width: 85px;

? height: 85px;

? border-radius: 50%;

? border: 1px solid #ccc;

? text-align: center;

? line-height: 116px;

? cursor: pointer;

? i {

? ? font-size: 60px;

? ? color: #3a84ff;

? }

}

.iconTitle {

? ? margin-left: 15px;

? ? margin-top: 3px;

}

</style>

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/712311.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/712311.shtml
英文地址,請注明出處:http://en.pswp.cn/news/712311.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

springboot + nacos + aws secretmanager 做賬號密碼隱私處理

方式一&#xff1a; #nacos配置文件data.yml: spring:cloud:nacos:discovery:ip: ****.comport: 80datasource:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://*********/database?useUnicodetrue&characterEncodingUTF-8&autoReconnecttrue&fail…

java 商機管理系統Myeclipse開發mysql數據庫web結構jsp編程計算機網頁項目

一、源碼特點 java 商機管理系統是一套完善的java web信息管理系統&#xff0c;對理解JSP java編程開發語言有幫助&#xff0c;系統具有完整的源代碼和數據庫&#xff0c;系統主要采用B/S模式開發。開發環境為 TOMCAT7.0,Myeclipse8.5開發&#xff0c;數據庫為Mysql5.0&…

LeetCode142. 環形鏈表 II刷題詳解

今天力扣刷到了一個特別有意思的題目&#xff0c;于是就寫了下面的題解來加深以下理解。 142. 環形鏈表 II - 力扣&#xff08;LeetCode&#xff09; 這個可以分為兩大步去寫&#xff0c;首先要判斷鏈表是否有環&#xff0c;然后如果有環就去找到環的入口&#xff0c;沒有環返…

python3.x的在線與離線安裝純凈版

由于計劃搭建一套使用python自動分析日志的流程&#xff0c;發現我們的測試環境CentOS 7仍然沒有安裝python3&#xff0c;無法使用這些新的庫。Python 3在設計上著重提升了語言的一致性和易用性&#xff0c;它引入了許多關鍵改進&#xff0c;此外&#xff0c;Python 3環境擁有豐…

基于springboot+html實現的衣物捐贈平臺

一、系統架構 前端&#xff1a;html | layui | jquery | css 后端&#xff1a;springboot | thymeleaf | mybatis 環境&#xff1a;jdk1.8 | mysql | maven 二、代碼及數據庫 三、功能介紹 01. 登錄頁 02. 注冊 03. web頁-首頁 04. web頁-捐贈衣服 05. web頁-論壇交流…

C# 中的 IReadOnlyDictionary 和 IReadOnlyList

C# 中的 IReadOnlyDictionary 和 IReadOnlyList 是接口&#xff0c;用于表示只讀的字典和只讀的列表。這些接口提供了對集合的只讀訪問權限&#xff0c;即不允許對集合進行修改操作&#xff0c;例如添加、刪除或修改元素。這種只讀特性對于需要保護數據完整性或只需要進行讀取操…

MYSQL--鎖機制*

一.對鎖機制的大概介紹: 1.大概的來說,MYSQL當中的鎖實際上就是合理的管理多個服務器對于同一個共享資源的使用,是計算機協調多個進程或者是線程并發訪問某一資源的機制(避免爭搶資源的現象發生) 2.在數據庫當中,數據是一種可以供許多的用戶進行共享使用的資源,如何保證數據并發…

軟考筆記--軟件開發模型

軟件開發模型給出了軟件開發活動各個階段之間的關系&#xff0c;它是軟件開發過程的概括&#xff0c;是軟件工程的重要內容。軟件開發模型為軟件工程管理提供了里程碑和進度表&#xff0c;為軟件開發過程提供了原則和方法。 一.軟件開發模型概述 軟件開發模型可分為三種類型&…

第十一屆藍橋杯省賽第一場C++ A組 / B組《整數拼接》(c++)

1.題目說明 給定一個長度為 n 的數組 A1,A2,???,An。 你可以從中選出兩個數 Ai 和 Aj(i 不等于 j)&#xff0c;然后將 Ai 和 Aj 一前一后拼成一個新的整數。 例如 12 和 345 可以拼成 12345 或 34512。 注意交換 Ai 和 Aj 的順序總是被視為 2 種拼法&#xff0c;即便是 …

考研倒計時半年:如何高效安排學習計劃?

距離考研還有半年的時間&#xff0c;這是一個既緊張又充滿希望的階段。如何利用好這段時間&#xff0c;制定一個高效的學習計劃&#xff0c;成為了每位考生關注的焦點。下面&#xff0c;我將為大家提供一些關于政治、英語和專業課的學習建議&#xff0c;希望能對大家有所幫助。…

曲線的凹凸性與拐點【高數筆記】

1.什么是曲線的凹凸性 2.什么是曲線的拐點 3.拐點的特征 4.拐點與駐點有什么不同 5.拐點的表示方法與駐點有什么不一樣 6.拐點與凹凸區間怎么求

力扣121題: 買賣股票的最佳時機

【題目描述】 給定一個數組 prices &#xff0c;它的第 i 個元素 prices[i] 表示一支給定股票第 i 天的價格。你只能選擇 某一天 買入這只股票&#xff0c;并選擇在 未來的某一個不同的日子賣出該股票。設計一個算法來計算你所能獲取的最大利潤。返回你可以從這筆交易中獲取的最…

Mathtype安裝時word啟動顯示“文件未找到:MathPage.WLL”

背景 由于老板布置的臨時工作&#xff0c;需要安裝Mathtype&#xff0c;但嘗試了3個不同的版本后&#xff08;每次都卸載干凈了&#xff09;&#xff0c;均未能成功安裝&#xff0c;出現的報錯3個版本各不相同&#xff1a; ①解壓安裝過程中失敗&#xff08;這個版本不再嘗試…

GoFrame:如何簡單地搭建一個簡單地微服務

一切資料來源于GoFrame官網, 感興趣的, 可以直接去官網查閱相關資料。 首先下載框架工具, 下載地址:https://github.com/gogf/gf/releases 然后進入你想要放置的項目文件夾, 執行命令行 gf init {project_name} #project_name為你的項目名 執行完后項目結構如圖所示 然…

同等學力申碩專業介紹——教育學碩士

同等學力申碩的專業很多。 目前有十三大門類&#xff0c;分別是醫學、法學、管理學、工學、教育學、經濟學、藝術學、文學、歷史學、理學、哲學、農學、軍事學等&#xff0c;每個大門類中都有很多的細分專業。 今天為大家介紹同等學力申碩專業——教育學。 專業介紹 教育學該…

基于java+springboot動物檢疫信息管理系統設計和實現

基于java SSM springboot動物檢疫信息管理系統設計和實現 博主介紹&#xff1a;多年java開發經驗&#xff0c;專注Java開發、定制、遠程、文檔編寫指導等,csdn特邀作者、專注于Java技術領域 作者主頁 央順技術團隊 Java畢設項目精品實戰案例《1000套》 歡迎點贊 收藏 ?留言 文…

【寸鐵的刷題筆記】樹、dfs、bfs、回溯、遞歸(三)

【寸鐵的刷題筆記】樹、dfs、bfs、回溯、遞歸(三) 大家好 我是寸鐵&#x1f44a; 金三銀四&#xff0c;樹、dfs、bfs、回溯、遞歸是必考的知識點? 快跟著寸鐵刷起來&#xff01;面試順利上岸&#x1f44b; 喜歡的小伙伴可以點點關注 &#x1f49d; 530. 二叉搜索樹的最小絕對差…

考研政治這樣復習更高效

政治復習是考研備考中的重要一環&#xff0c;需要考生制定科學的復習計劃&#xff0c;注重知識點的掌握和解題技巧的提升。以下是一些政治復習的建議&#xff1a; 梳理知識框架&#xff1a;首先&#xff0c;需要梳理政治學科的知識框架&#xff0c;了解各個章節之間的內在聯系…

【Vue3】自定義 Vue3 插件(全局實現頁面加載動畫)

// main.ts import { createApp } from vue import App from ./App.vue import Loading from "./components/Loading/index.ts";const app createApp(App) type Lod {show: () > void,hide: () > void } //編寫ts loading 聲明文件放置報錯 和 智能提示 decl…

python實現常見一元隨機變量的概率分布

一. 隨機變量 隨機變量是一個從樣本空間 Ω \Omega Ω到實數空間 R R R的函數&#xff0c;比如隨機變量 X X X可以表示投骰子的點數。隨機變量一般可以分為兩類&#xff1a; 離散型隨機變量&#xff1a;隨機變量的取值為有限個。連續型隨機變量&#xff1a;隨機變量的取值是連…