first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
node_modules
.idea

View File

@@ -0,0 +1,3 @@
node_modules
.idea
.history

View File

@@ -0,0 +1,3 @@
node_modules
.idea
.history

View File

@@ -0,0 +1,3 @@
node_modules
.idea
.history

View File

@@ -0,0 +1,3 @@
node_modules
.idea
.history

View File

@@ -0,0 +1,76 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: './',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

View File

@@ -0,0 +1,87 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api': {
target:'改成我们接口的请求基地址', // 代理目标
changeOrigin:true, //是否跨域
pathRewrite:{
'^/api': '/' //重写路径
}
}
————————————————
版权声明:本文为CSDN博主「Rum chen」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Chen_RuiMin/article/details/105326099
},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: './',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

View File

@@ -0,0 +1,84 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api': {
target:'改成我们接口的请求基地址', // 代理目标
changeOrigin:true, //是否跨域
pathRewrite:{
'^/api': '/' //重写路径
}
}
},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: './',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

View File

@@ -0,0 +1,84 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api': {
target:'改成我们接口的请求基地址', // 代理目标
changeOrigin:true, //是否跨域
pathRewrite:{
'^/api': '/' //重写路径
}
}
},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: './',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

View File

@@ -0,0 +1,84 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api': {
target:'https://zbhapi.ahtv.cn/h5', // 代理目标
changeOrigin:true, //是否跨域
pathRewrite:{
'^/api': '/' //重写路径
}
}
},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: './',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

View File

@@ -0,0 +1,84 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/api': {
target:'https://zbhapi.ahtv.cn/h5', // 代理目标
changeOrigin:true, //是否跨域
pathRewrite:{
'^/api': '/' //重写路径
}
}
},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: './',
/**
* Source Maps
*/
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

View File

@@ -0,0 +1,40 @@
import Vant from 'vant'
import 'vant/lib/index.css'
import VueVideoPlayer from 'vue-video-player'
import "videojs-contrib-hls"
import 'video.js/dist/video-js.css'
import service from '../service/_'
import utils from '../utils/index'
export default {
devBaseUrl: 'https://zbhapi.ahtv.cn/h5', // 开发阶段地址
testBaseUrl: 'http://192.168.31.100:3000/api/json/test', // 测试阶段地址
prodBaseUrl: 'https://zbhapi.ahtv.cn/h5', // 上线后的地址
urlList: {
radio: "/radio",
channelList: "channelList"
},
vuePlugins: [ Vant, VueVideoPlayer ], // vue插件
noVuePlugins: [
{ name: '$http', value: service },
{ name: '$utils', value: utils }
],
checkBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
}
}
}

View File

@@ -0,0 +1,40 @@
import Vant from 'vant'
import 'vant/lib/index.css'
import VueVideoPlayer from 'vue-video-player'
import "videojs-contrib-hls"
import 'video.js/dist/video-js.css'
import service from '../service/_'
import utils from '../utils/index'
export default {
devBaseUrl: '/api', // 开发阶段地址
testBaseUrl: 'http://192.168.31.100:3000/api/json/test', // 测试阶段地址
prodBaseUrl: 'https://zbhapi.ahtv.cn/h5', // 上线后的地址
urlList: {
radio: "/radio",
channelList: "channelList"
},
vuePlugins: [ Vant, VueVideoPlayer ], // vue插件
noVuePlugins: [
{ name: '$http', value: service },
{ name: '$utils', value: utils }
],
checkBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
}
}
}

View File

@@ -0,0 +1,40 @@
import Vant from 'vant'
import 'vant/lib/index.css'
import VueVideoPlayer from 'vue-video-player'
import "videojs-contrib-hls"
import 'video.js/dist/video-js.css'
import service from '../service/_'
import utils from '../utils/index'
export default {
devBaseUrl: '/api', // 开发阶段地址
testBaseUrl: 'http://192.168.31.100:3000/api/json/test', // 测试阶段地址
prodBaseUrl: 'https://zbhapi.ahtv.cn/h5', // 上线后的地址
urlList: {
radio: "/radio",
channelList: "channelList"
},
vuePlugins: [ Vant, VueVideoPlayer ], // vue插件
noVuePlugins: [
{ name: '$http', value: service },
{ name: '$utils', value: utils }
],
checkBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
}
}
}

View File

@@ -0,0 +1,40 @@
import Vant from 'vant'
import 'vant/lib/index.css'
import VueVideoPlayer from 'vue-video-player'
import "videojs-contrib-hls"
import 'video.js/dist/video-js.css'
import service from '../service/_'
import utils from '../utils/index'
export default {
devBaseUrl: '/api', // 开发阶段地址
testBaseUrl: 'http://192.168.31.100:3000/api/json/test', // 测试阶段地址
prodBaseUrl: 'https://zbhapi.ahtv.cn/h5', // 上线后的地址
urlList: {
radio: "/radio",
channelList: "channelList"
},
vuePlugins: [ Vant, VueVideoPlayer ], // vue插件
noVuePlugins: [
{ name: '$http', value: service },
{ name: '$utils', value: utils }
],
checkBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
}
}
}

View File

@@ -0,0 +1,40 @@
import Vant from 'vant'
import 'vant/lib/index.css'
import VueVideoPlayer from 'vue-video-player'
import "videojs-contrib-hls"
import 'video.js/dist/video-js.css'
import service from '../service/_'
import utils from '../utils/index'
export default {
devBaseUrl: '/api', // 开发阶段地址
testBaseUrl: 'http://192.168.31.100:3000/api/json/test', // 测试阶段地址
prodBaseUrl: 'https://zbhapi.ahtv.cn/h5', // 上线后的地址
urlList: {
radio: "/radio",
channelList: "channelList"
},
vuePlugins: [ Vant, VueVideoPlayer ], // vue插件
noVuePlugins: [
{ name: '$http', value: service },
{ name: '$utils', value: utils }
],
checkBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
}
}
}

View File

@@ -0,0 +1,81 @@
webpack 项目的总管家 (项目的打包构建工具)
build : 项目打包上线的时候使用到的一些配置文件
config:项目配置文件
node_modules : 依赖文件
src:项目真正源代码
assets 存放静态资源的,css,图标(较小的)
components 存放公共组件的地方
config 存放应用配置的地方(接口地址)
http axios请求的封装
service 请求中检测
utils 公共方法
router vue-router 的配置文件
App.vue 网站最外层最顶级的 父组件
main.js 是整个项目的入口(启动文件) 做插件的初始化,全局组件,全局混入
page 存放路由能访问的页面
static 存放静态(万年不变的,体积较大的资源)资源的,css,js,图片,字体
.babelrc 是插件 babel 的配置文件
babel 帮我们帮高版本的js语法转化为低版本的js es5 es6 7 8 9
.editorconfig 编辑器的格式配置文件
都是eslint的配置文件
.eslintignore eslint的忽略文件,规定了哪些文件不进行语法检查
.eslintrc.js eslint的真正配置文件
.gitignore git忽略文件,规定哪些文件不上传仓库
.postcssrc.js 插件 postcss 的配置文件
index.html 项目唯一的一个html文件
package.json nodejs的项目配置文件
README.md 项目的帮助文档 https://www.jianshu.com/p/191d1e21f7ed
css 预处理器
让我们通过编程的方式来写css
hls 视频切片技术
1000MB mp4
100 个小视频
10MB
m3u8 是一个txt文本文件 eee.m3u8
1.ts
2.ts
...
100.ts
作业:
页面:
【李康】1: 新闻页面 图 1 2
https://zbhh5.ahtv.cn/newInfo?id=625
参数:id 625
接口:
【缪虎】2: 视频页面 图 3 4
https://zbhh5.ahtv.cn/dibbling?id=147
参数:id 147
【陆旗】3:帖子页面 图 7
https://zbhh5.ahtv.cn/postInfo?id=218
参数:id 218
组件:
【李康】1 评论组件 data数组 v-if data 有数据显示评论列表 没有数据 显示暂无数据 打开app查看全部评论
【缪虎】2 相关推荐 data数组 theme 1(横向布局) 2(垂直布局)
【陆旗】3 头部组件 不需要 props

View File

@@ -0,0 +1,81 @@
webpack 项目的总管家 (项目的打包构建工具)
build : 项目打包上线的时候使用到的一些配置文件
config:项目配置文件
node_modules : 依赖文件
src:项目真正源代码
assets 存放静态资源的,css,图标(较小的)
components 存放公共组件的地方
config 存放应用配置的地方(接口地址)
http axios请求的封装
service 请求中检测
utils 公共方法
router vue-router 的配置文件
App.vue 网站最外层最顶级的 父组件
main.js 是整个项目的入口(启动文件) 做插件的初始化,全局组件,全局混入
page 存放路由能访问的页面
static 存放静态(万年不变的,体积较大的资源)资源的,css,js,图片,字体
.babelrc 是插件 babel 的配置文件
babel 帮我们帮高版本的js语法转化为低版本的js es5 es6 7 8 9
.editorconfig 编辑器的格式配置文件
都是eslint的配置文件
.eslintignore eslint的忽略文件,规定了哪些文件不进行语法检查
.eslintrc.js eslint的真正配置文件
.gitignore git忽略文件,规定哪些文件不上传仓库
.postcssrc.js 插件 postcss 的配置文件
index.html 项目唯一的一个html文件
package.json nodejs的项目配置文件
README.md 项目的帮助文档 https://www.jianshu.com/p/191d1e21f7ed
css 预处理器
让我们通过编程的方式来写css
hls 视频切片技术
1000MB mp4
100 个小视频
10MB
m3u8 是一个txt文本文件 eee.m3u8
1.ts
2.ts
...
100.ts
作业:
页面:
【李康】1: 新闻页面 图 1 2
https://zbhh5.ahtv.cn/newInfo?id=625
参数:id 625
接口:
【缪虎】2: 视频页面 图 3 4
https://zbhh5.ahtv.cn/dibbling?id=147
参数:id 147
【陆旗】3:帖子页面 图 7
https://zbhh5.ahtv.cn/postInfo?id=218
参数:id 218
组件:
【李康】1 评论组件 data数组 v-if data 有数据显示评论列表 没有数据 显示暂无数据 打开app查看全部评论
【缪虎】2 相关推荐 data数组 theme 1(横向布局) 2(垂直布局)
【陆旗】3 头部组件 不需要 props

View File

@@ -0,0 +1,81 @@
webpack 项目的总管家 (项目的打包构建工具)
build : 项目打包上线的时候使用到的一些配置文件
config:项目配置文件
node_modules : 依赖文件
src:项目真正源代码
assets 存放静态资源的,css,图标(较小的)
components 存放公共组件的地方
config 存放应用配置的地方(接口地址)
http axios请求的封装
service 请求中检测
utils 公共方法
router vue-router 的配置文件
App.vue 网站最外层最顶级的 父组件
main.js 是整个项目的入口(启动文件) 做插件的初始化,全局组件,全局混入
page 存放路由能访问的页面
static 存放静态(万年不变的,体积较大的资源)资源的,css,js,图片,字体
.babelrc 是插件 babel 的配置文件
babel 帮我们帮高版本的js语法转化为低版本的js es5 es6 7 8 9
.editorconfig 编辑器的格式配置文件
都是eslint的配置文件
.eslintignore eslint的忽略文件,规定了哪些文件不进行语法检查
.eslintrc.js eslint的真正配置文件
.gitignore git忽略文件,规定哪些文件不上传仓库
.postcssrc.js 插件 postcss 的配置文件
index.html 项目唯一的一个html文件
package.json nodejs的项目配置文件
README.md 项目的帮助文档 https://www.jianshu.com/p/191d1e21f7ed
css 预处理器
让我们通过编程的方式来写css
hls 视频切片技术
1000MB mp4
100 个小视频
10MB
m3u8 是一个txt文本文件 eee.m3u8
1.ts
2.ts
...
100.ts
作业:
页面:
【李康】1: 新闻页面 图 1 2
https://zbhh5.ahtv.cn/newInfo?id=625
参数:id 625
接口:
【缪虎】2: 视频页面 图 3 4
https://zbhh5.ahtv.cn/dibbling?id=147
参数:id 147
【陆旗】3:帖子页面 图 7
https://zbhh5.ahtv.cn/postInfo?id=218
参数:id 218
组件:
【李康】1 评论组件 data数组 v-if data 有数据显示评论列表 没有数据 显示暂无数据 打开app查看全部评论
【缪虎】2 相关推荐 data数组 theme 1(横向布局) 2(垂直布局)
【陆旗】3 头部组件 不需要 props

View File

@@ -0,0 +1,81 @@
webpack 项目的总管家 (项目的打包构建工具)
build : 项目打包上线的时候使用到的一些配置文件
config:项目配置文件
node_modules : 依赖文件
src:项目真正源代码
assets 存放静态资源的,css,图标(较小的)
components 存放公共组件的地方
config 存放应用配置的地方(接口地址)
http axios请求的封装
service 请求中检测
utils 公共方法
router vue-router 的配置文件
App.vue 网站最外层最顶级的 父组件
main.js 是整个项目的入口(启动文件) 做插件的初始化,全局组件,全局混入
page 存放路由能访问的页面
static 存放静态(万年不变的,体积较大的资源)资源的,css,js,图片,字体
.babelrc 是插件 babel 的配置文件
babel 帮我们帮高版本的js语法转化为低版本的js es5 es6 7 8 9
.editorconfig 编辑器的格式配置文件
都是eslint的配置文件
.eslintignore eslint的忽略文件,规定了哪些文件不进行语法检查
.eslintrc.js eslint的真正配置文件
.gitignore git忽略文件,规定哪些文件不上传仓库
.postcssrc.js 插件 postcss 的配置文件
index.html 项目唯一的一个html文件
package.json nodejs的项目配置文件
README.md 项目的帮助文档 https://www.jianshu.com/p/191d1e21f7ed
css 预处理器
让我们通过编程的方式来写css
hls 视频切片技术
1000MB mp4
100 个小视频
10MB
m3u8 是一个txt文本文件 eee.m3u8
1.ts
2.ts
...
100.ts
作业:
页面:
【李康】1: 新闻页面 图 1 2
https://zbhh5.ahtv.cn/newInfo?id=625
参数:id 625
接口:
【缪虎】2: 视频页面 图 3 4
https://zbhh5.ahtv.cn/dibbling?id=147
参数:id 147
【陆旗】3:帖子页面 图 7
https://zbhh5.ahtv.cn/postInfo?id=218
参数:id 218
组件:
【李康】1 评论组件 data数组 v-if data 有数据显示评论列表 没有数据 显示暂无数据 打开app查看全部评论
【缪虎】2 相关推荐 data数组 theme 1(横向布局) 2(垂直布局)
【陆旗】3 头部组件 不需要 props