摘要:
文檔里的簡述 將窗體自上而下分成一行行, 并在每行中按從左至右的順序排放元素,即為文檔流.(自己的理解是從頭到尾按照文檔的順序,該在什么位置就在什么位置,也可以按照上面的意思理解,自上而下,自左到右的順序) 而浮動可以使元素脫離文檔流,浮動的框可以向左或向右移動,直到它的外邊緣 碰到包含框或另一個浮
閱讀全文
posted @ 2021-11-09 15:42
兮宇
閱讀(63)
推薦(0)
2023年12月20日
摘要:
1.使用SQL語言創建滿足以下要求的數據庫。(1)創建數據庫名稱為jwgl,字符集選擇utf8,排序規則選擇utf8_general_ci。create database jwgl character set utf8 collate utf8_general_ci;(2)查看數據庫。show da
閱讀全文
posted @ 2023-12-20 20:16
兮宇
閱讀(802)
推薦(0)
摘要:
2、視圖練習 (1)建立視圖v_xs_1,要求包含男生的學號,姓名,性別,出生日期,班級編號,專業名稱字段,并要求視圖操作數據時進行檢查。使用select命令查詢創建的視圖。 create view v_xs_1 as select xh,xm,xb,csrq,bjbh,zymc from xsjb
閱讀全文
posted @ 2023-12-20 20:14
兮宇
閱讀(699)
推薦(0)
2022年6月15日
摘要:
def save(s): f=open("test.txt","wt") f.write(s["name"]+"\n") f.write(s["sex"]+"\n") f.write(s["age"]+"\n") f.close() def read(): f=open("test.txt","rt
閱讀全文
posted @ 2022-06-15 12:50
兮宇
閱讀(1913)
推薦(0)
2022年5月11日
摘要:
開發步驟 創建一個空文件夾,取名students-system 方式一:右鍵新建 方式二:命令行新建(提倡) ##windows系統 md students-system##mac/linux mkdir students-system 初始化 npm init -y 執行結果:該文件夾下新增了一個
閱讀全文
posted @ 2022-05-11 20:38
兮宇
閱讀(682)
推薦(0)
摘要:
vue筆記 vue基礎 數據的頁面展示{{}} ,v-once,v-html 數據綁定屬性v-bind,簡寫用: 事件調用:v-on,簡寫:@ V-if與v-show,異同 v-for 用in和of都一樣,循環數組的時候,可以有兩個參數,循環對象時,可以有三個參數 style與class綁定 計算屬
閱讀全文
posted @ 2022-05-11 20:35
兮宇
閱讀(31)
推薦(0)
摘要:
成品效果 首先進入首頁點擊右下角個人中心,若狀態為登錄中則進入個人中心頁面,否則進入登錄頁 實現步驟 首先完成靜態的登錄頁與個人中心頁面 登錄頁 <template> <div class="login-bg"> <div class="anjian"> <div class="headerLeft
閱讀全文
posted @ 2022-05-11 16:45
兮宇
閱讀(289)
推薦(0)
摘要:
promise是什么: JavaScript中存在很多異步操作, Promise將異步操作隊列化,按照期望的順序執行,返回 符合預期的結果。可以通過鏈式調用多個 Promise達到我們的目的。 Promise 在各種開源庫中已經實現,現在標準化后被瀏覽器默認支持。 Promise 是一個擁有then
閱讀全文
posted @ 2022-05-11 15:22
兮宇
閱讀(74)
推薦(0)
2022年5月9日
摘要:
1.搭建項目框架 新建首頁主組件及其子組件并將子組件展示出來 2.封裝所需接口 3.編寫輪播圖組件 <template> <div id="swipercom"> <div class="swiper-container" id="swiperIndex"> <div class="swiper-w
閱讀全文
posted @ 2022-05-09 19:06
兮宇
閱讀(476)
推薦(0)
2022年5月8日
摘要:
前期硬件準備工作(電腦相關配置): 1、下載git軟件,傻瓜式安裝 https://git-scm.com/download/win 2、設置你的用戶名稱與郵件地址 git config --global user.name "zhangxh" git config --global user.em
閱讀全文
posted @ 2022-05-08 14:49
兮宇
閱讀(404)
推薦(0)
2022年5月6日
摘要:
vue3項目中如何配置路由 1、下載vue-router,在路由文件中引入相關依賴 import {createRouter,createWebHashHistory} from 'vue-router'; 2、創建路由信息對象數組 routes:[ {path:'/bar',component:B
閱讀全文
posted @ 2022-05-06 17:28
兮宇
閱讀(1703)
推薦(0)