����λ�ã���ҳ > �����̳� > �̳� > Vue3����Ŀ���̷���������������ҳ
Vue3����Ŀ���̷���������������ҳ �㡢д����ǰ ��������Ŀ��ص�һЩ���ӣ� Դ����GitHub�ֿ⣨��Ҫħ�����������ֿ� ��ҳʾ������Ҫħ������������ҳʾ�� UIͼ����Դ@���ʦ��أ���MasterGo��ҳ ���䣺����ʱ���ϵ������ҳû�������ֻ��ˣ����չʾЧ��Ϊ��ҳ��1440p���ȡ� �����
��������Ŀ��ص�һЩ���ӣ�
���䣺����ʱ���ϵ������ҳû�������ֻ��ˣ����չʾЧ��Ϊ��ҳ��1440p���ȡ�
�������Ҫ����Դ���룺
cd your_path
git clone https://github.com/YellowSeaa/studio_page.git
npm install
npm run dev
�γ���ҵҪ��Ҫʹ��HTML+CSS+JSP�������������˽⵽JSP�ڿ�������Vue���൱����Vueдģ�壬Ȼ��������һ��JSPģ�弴�ɣ���
���վ���ʹ��Vue��ʵ��ǰ�ˣ�����ʹ��element Plus���ּܣ���˲��ֳ���ʹ��JSP��ûѧ������֪���ܲ���Ū�������������ʵ�ڲ��о���Django��ǰ��˷��뿪����
���ݿⷽ��Ļ�������Mysql����sqlite3��
����֮ǰ�Ѿ���װ��Vue�����Բ���¼�ˡ�
JSP��Tomcat�ο��������漸ƪ���£�ֱ��ʹ��homebrew��װ�ģ�
ֵ��ע������������� Tomcat����
brew services start tomcat
����ն���ʾ
Successfully started 'tomcat' (label: homebrew.mxcl.tomcat)
��˵�������ɹ������������
http://localhost:8080
���ɿ��� Tomcat ��ҳ�档
ʹ���նˣ������봴�����ļ���λ�ã�Ȼ��������������
npm create vue@latest
Ȼ�������������Ŀ���ƺͽ���һЩѡ��ڴ���ֻѡ���� ���� Vue Router ���е�ҳ��Ӧ�ÿ��� ������ѡ���ѡ���˷�
��������ʾ������Ŀ�ļ����ڣ���װ���������м��ɡ�
cd
npm install #��װ����
npm run dev #������Ŀ
��������д򿪶�Ӧ��ַ����
����Ŀ�Ǽ򵥵���Ŀ��ֻ��һ����ҳ�棬ҳ�������ϵ����Ų�����顣
����ֻ��Ҫ�޸�
src/App.vue
��
src/router/index.js
�е����ݣ���һ��ʼ��ҳ��ָ���Զ�����ļ�
src/components/home.vue
���ɣ������Ǿ������ݣ�
// index.js
import { createRouter, createWebHistory } from 'vue-router'
import home from '../components/home.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: home
},
]
})
export default router
This is home
����UIͼ���Կ�������ҳ���ɶ��������ɣ����ϵ����Ų���
����Ŀ�н�ÿ�����ֱַ�д��һ������ļ���Ȼ����
home.vue
�м��ɡ�
home.vue
ֻ��Ҫ��ע������ּ���Ű漴�ɡ�
�ȷֱ𴴽��ø��������Ӧ���ļ���
Ȼ���޸�
home.vue
���յõ�Ч�����£�
������ֻ��Ҫ�ڶ�Ӧ������ļ��У����ǰ�˵Ļ��Ƽ��ɡ�
���ȿ�һ��UIͼ���������£�
ʹ��flex���֣���ɫ����ʹ��
space-between
�����˶��룬��Ŀ֮��ļ������ȣ���ɫ����ʹ��
space-around
��ÿ����Ŀ����ļ����ȡ�
�������£�
��������
��������Ҫ����
�����ǩ��������Ӧλ�ã� �ο�����
UIͼ��
���к�ɫ����ʹ��flex��Ϊ���������֣����ʹ��flex��Ϊ���������֣��ұ�����һ��ͼ��
�������£�
A Digital Product Agency
Leading digital agency with solid design and development expertise. We build readymade
websites, mobile applications, and elaborate online business services.
��������
�������������������еĵ�һ����UIͼ���£�
������ͼ��ʾ��
�������£�
Our Client
Several selected clients, who already believe in our service.
Ч�����£�
UIͼ���£�
�����е㸴�ӣ�����������ɫ����ͨ��������ͬ��margin-top��ʵ�ִ�λ��Ч����
�����ļ������β�̫��ֱ��ͨ��������ƣ�ֱ�ӵ���һ��ͼƬ�������������С�
�������£�
How can we help your Business ?
We build readymade websites, mobile applications, and elaborate online business services.
Business Idea Planning
We present you a proposal and discuss niffty-gritty like
Financial Planning System
Protocols apart from aengage models, pricing billing
Development Website and App
Communication protocols apart from engagement models
Market Analysis Project
Protocols apart from aengage models, pricing billing
Ч�����£�
ʵ���з��֣�ʹ�ñ���ͼƬ��ʵ����Щ���Σ��е����Կ��ƣ�Ч�����ѡ������Ҽ���һЩԪ�أ���ǿ�ܿ���
���Ҫ�ﵽ��õ�Ч�������ǵ�ͨ������ʵ�־��εĻ��ơ�
UIͼ��
����IJ��ֱȽϼ򵥣��Ͳ�����׸���ˡ�
�Ƚ��ر���Ǵ˴�ʹ����һ����Ƶ��������
����Ŀǰ��ʱû��ʵ�֣�������һЩbug���������IJ����������װ��import��ʾ�Ҳ�������ͳ��video���Ų��ˡ���
��ʹ��img���棬�����������bug��
ѡ��
vue3VideoPlay
��������ֵ��ע����ǣ���������һ�����⣬��Ĭ��package.json����һ��·���Ǵ��ģ�Ҫ��д�����������
���⣬�ò���ٷ����ĵ�Ҳ�е����⣬mp4�ļ���֪��Ϊʲô���Ų��ˣ������ļ�Ҳ���Ų��ˡ���
�������ԣ�����m3u8�ļ����Բ��ţ���������ʹ�ô˸�ʽ���в��š�����λ��m3u8���ӣ�д���˲��䲿�֣�
���룺
https://cdn.jsdelivr.net/gh/xdlumia/files/video-play/ironMan.jpg" :src="options.src"
:type="options.type" :autoPlay="false" />
�˴�ֵ��ע��IJ����ǣ��������ij��Ϳ���������д������Ч��д��css��Ч�����⣬Բ��Ҳֻ��ͨ�����ø�����
overflow: hidden;
ʵ�֡�
poster
�����Ƿ��档
���룺
Great Digital Product Agency since 2016
Our Business Plan is a written document describing a company's core business activites,
Objectives, and how it plans to achieve its goals. Our goal is to provide our client high quality
Product with modern idea accordingly their budgets and according thir reuirements.
����
UIͼ��
����ͼ���ж�Ч�ģ��м����ɫԲȦ����ѡ��ͬ��������ܡ�
�ڴ������þ�̬����ۣ���Ч�����ٲ�ȫ��
�������£�
What our happy client say
Several selected clients, who already believe in our service.
Matthew Paul
Perfect, very good job! Thank you for the amazing design and work. Really
impressed with the high quality and quick turnaround time. Highly recommend.
��ʵ�ϣ������ͼƬ��ѡ�д���������Ժܲ���Ҳ�������Ч�������ʹ��v-for�ȷ��������޸ġ�
Ч�����£���Ϊû���ҵ����ʵ�ͼƬ�����������һ��ͼƬ����
UI����ͼ��
��һ���ֵIJ��ֺ�����������಻ͬ����һ���ֵIJ��ֲ���ʹ��flexʵ�֣�������Ժ;���λ��
relative
��
absolute
��ʵ���ص�����ͼ�еĺ�ɫ���ұߵ���ɫ���֡�
����������£�
Subscribe Newsletter
I will update good news and promotion service not spam
Ч�����£�
UI���£�
���ֱȽϼ򵥣��Ͳ�����׸����
�������£�
����
ǰ��д��̬ҳ��ʱ����һ���ֱ���ͼ����ֱ��ʹ��ͼƬ����������Ч�����ã����Բ���ʹ��div�������Σ�����Ӧ��ͬ���ȵ��������
������headline������������
��right_part�м�������div���������λ�ú;���λ�ù̶���
// template
//style
.right_part {
min-width: 817px;
height: 100%;
overflow: auto;
position: relative;
/* background-color: red; */
}
.right_part img {
height: 512px;
width: 754px;
/* min-width: 754px; */
border-radius: 0px 0px 0px 200px;
position: absolute;
top: 0px;
right: 0px;
/* margin-left: 64.5px;
margin-bottom: 89px; */
}
.rectangle1{
position: absolute;
top: 0px;
left: 0px;
width: 129px;
height: 129px;
background: #DAE9FF;
border-radius: 500px 500px 500px 500px;
}
.rectangle2{
position: absolute;
bottom: 0px;
right: 120px;
width: 178px;
height: 178px;
background: #FFF5DB;
border-radius: 0px 0px 100px 0px;
}
�����ᵽ�����Ǹ���Ƶ���Ų���޷����ű�����Ƶ��������Ҫ����Ƶ�ϴ��������ϣ�ͨ���������ӻ�ȡ��
�ڴ�ʹ�ð����Ƶ�ý�崦��MPS�Ͷ���洢OSSʵ�֡�
ý�崦��MPS
����洢
֮ǰ�ڲ���ʱ����ʹ��flex���֣����Ը����������������Ӧ���֣���һ���Ŀ���������Ч���������������������̫�󣬻ᵼ���������ߵ����֮����һ���޴�Ŀհף����ѿ���������Ҫ����һ�����Ŀ��ȣ��������������ʱ��������ʹ�ÿհ���䡣
ֻ��Ҫ��
home.vue
��
style
��������������롣
max-width: 1440px;
/* ���������� */
margin-left: auto;
/* ����Զ���� */
margin-right: auto;
/* �Ҳ��Զ���� */
Ч�����£�
��Ƶ��������һ��bug����һ��ʼ��ҳ���ʱ�򣬻Ὺʼ���壬����ʱĬ�ϰ�ҳ����������������ڵ�λ�á�
����������Ҫ��ʱĬ���ڶ�����
�Թ�ʹ��
mounted
���Ӻ���ǿ�ƹ��������������ǻ����ں󣬽���Dz���Ч��
����鿴����Ƶ���������ĵ��󣬷���ͨ�����¼����ڻ��忪ʼʱ�������������������߾ȹ���
const onloadstart = (ev) => {
console.log("��ʼ����");
window.scroll(0, 0);
};
���ϣ�ǰ�˾�̬���ֵ����в��ֶ������ˣ�������Ҫ����ʵ������������޸ij������Լ��ġ�
���������Ҫ���������ǿ�����һ��app�Ľ��ܣ����Խ�ҳ��ij������¡�������ֻ��Ҫ�޸����ݣ����Դ���Ͳ�չʾ�ˣ�
���������õ�ͼ���滻��
public/favicon.ico
�޸ĸ�Ŀ¼�µ�
index.html
���
�Ծ�������רע��Ч��ѧϰ����
����ϸ��ϲ����Ƕ�̬���֣�����ֱ��ͨ��css��������ʵ�֣�ֻ������ǰ���������ˣ����ڴ˲����ϡ�
home.vue
�ļ������ò���
TopBar.vue
����css
.bar {
display: flex;
justify-content: space-between;
/* marginҪ�ij�padding */
padding-top: 42px;
padding-left: 120px;
padding-right: 120px;
padding-bottom: 10px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* ���ϵײ���Ӱ�ÿ�һЩ*/
/* margin-top: 42px;
margin-left: 120px;
margin-right: 120px; */
}
���ڸ�������ĸ߶��ǹ̶�����ģ�����ֱ��ʹ��
document.documentElement.scrollTop
����ʵ�֡�
��������ť���������½�����ťֻ��Ҫ��һ���������Ӽ��ɣ��������ӿ���ʹ�ð�����oss����ȡ�����巽����֮ǰ��Ƶm3u8���ӻ�ȡ��࣬�Ͳ�����׸����
���ύ����ť��Ҫ��һ�����ݿ�����Ľӿڣ���������е����ݼ��뵽���ݿ��С�
����Ŀǰû�п������صĶ��������ݿ�����Ľӿڣ����Ծͼ򵥰���һ������������Ϣ�򡣴���Ͳ�չʾ�ˡ�
��Ա���ܲ��֣���Ҫ�������Ե�������ѡ��ť���л�����Ӧ�ij�Ա��Ϣȥ��
template
���֣�
{{ selectedMember.name }}
{{ selectedMember.description }}
script
���֣�
���ϣ�webҳ�������ɣ����������ǽ��䲿��GitHub�ϡ�
�ο��̳̣� �ο�
����Ŀ�е� vite.config.js ���ҵ��������飬����Ϊ��Ӧ�� github �ֿ�����
export default defineConfig({
base: '/your_repositories_name/', // github�ֿ�����
plugins: [],
})
npm run build
��Ҫ��
.gitignore
�ļ��н�dist�ļ��еĺ��Ը�ע�͵���
Ȼ����git�����ļ����ϴ���ָ����֧��
git add dist
git commit -m "Your commit message"
git subtree split --prefix dist -b dist-branch
git push your_repositories_name dist-branch:gh-pages # ����Ҫ�ijɾ���IJֿ���
git branch -d dist-branch
����ڲֿ�������д�github page���ɡ�
ʹ��Blender���ɳ���ģ��
�Ķ�ȫ����������ERA5�����ط���
�Ķ�Xpath���������﷨
�Ķ�����ѧϰ�������繹�����£�
�Ķ���ΪMateƷ��ʢ�䣺HarmonyOS NEXT�ӳ�����Ϸ���ܵõ�����ͷ�
�Ķ�ʵ�ֶ��󼯺���DataTable���໥ת��
�Ķ�Ӳ�̵Ļ���֪ʶ��ѡ��ָ��
�Ķ�������й��ƶ��ı�ͼ��ײ�
�Ķ�����NEXTԪ�����������ѿ����ϼ���Ʒ
�Ķ��ᳲ���С������������Ƽ��رշ���
�Ķ������ArcMap�����н���դ��ͼ���ز�������
�Ķ��㷨�����ݽṹ 1 - ģ��
�Ķ���Ѷ�����߿ͷ���Ӫ��ϵͳ����
�Ķ���Ѷ��Ƶҹ��ģʽ���ý̳�
�Ķ����ں���NEXT��Ѫ���Ŵ���������������
�Ķ�5. Spring Cloud OpenFeign ����ʽ WebService �ͻ��˵ij���ϸʹ��
�Ķ�Java����ģʽ����̬�����Ͷ�̬�����ĶԱȷ���
�Ķ�Win11�ʼDZ����Զ�����Ӧ�õ���ɫ����ʾ����
�Ķ�˼�� V1.5.6 ��׿��
��ս�귨 V7.5.0 ��׿��
У��������������׵������� V1.0 ��׿��
��˸֮�� V1.9.7 ��׿��
������Ե����� v1.0.4 ��׿��
������֮ŠV5.2.3 ��׿��
��������������Դ V1.0 ��׿��
���֮Ϣ V1.0 ��׿��
��ħ������������䣩 V1.0 ��׿��
���ں�������ϵ�����������������վ�����������������Ƽ�����
Ƶ�� ����Ƶ��������ר������������׿�������app����
�Ƽ� ��Ô���������°��������ܿ������ز���
���� ����ɫ������������ ���������ս������������
ɨ��ά�����������ֻ��汾��
ɨ��ά����������΢�Ź��ںţ�
��վ�������������������ϴ��������ַ���İ�Ȩ���뷢�ʼ�[email protected]
��ICP��2022002427��-10 �湫��������43070202000427��© 2013~2025 haote.com ������