提交代码

This commit is contained in:
zpc 2025-07-22 14:50:40 +08:00
parent 1021339161
commit e9ccd71781
43 changed files with 93 additions and 163 deletions

112
App.vue
View File

@ -1,106 +1,18 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
export default {
onLaunch: function () {
console.log('App Launch')
},
onShow: function () {
console.log('App Show')
},
onHide: function () {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@font-face {
font-family: 'JiangChengYuanTi-300W';
/* 定义字体家族名称 */
src: url('/static/fonts/JiangChengYuanTi-300W.ttf') format('truetype');
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'JiangChengYuanTi-400W';
/* 定义字体家族名称 */
src: url('/static/fonts/JiangChengYuanTi-300W.ttf') format('truetype');
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'JiangChengYuanTi-500W';
/* 定义字体家族名称 */
src: url('/static/fonts/JiangChengYuanTi-300W.ttf') format('truetype');
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'JiangChengYuanTi-600W';
/* 定义字体家族名称 */
src: url('/static/fonts/JiangChengYuanTi-300W.ttf') format('truetype');
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'JiangChengYuanTi-700W';
/* 定义字体家族名称 */
src: url('/static/fonts/JiangChengYuanTi-300W.ttf') format('truetype');
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
.myZt-300w {
font-family: 'JiangChengYuanTi-300W', sans-serif;
}
.myZt-400w {
font-family: 'JiangChengYuanTi-400W', sans-serif;
}
.myZt-500w {
font-family: 'JiangChengYuanTi-500W', sans-serif;
}
.myZt-600w {
font-family: 'JiangChengYuanTi-600W', sans-serif;
}
.myZt-700w {
font-family: 'JiangChengYuanTi-700W', sans-serif;
}
.bg {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.column {
display: flex;
flex-direction: column;
}
.row {
display: flex;
flex-direction: row;
}
.center {
display: flex;
align-items: center;
justify-content: center;
}
/*每个页面公共css */
@import './uni.scss';
</style>

View File

@ -50,9 +50,12 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "",
"appid" : "wx683d8a8a499d7ec6",
"setting" : {
"urlCheck" : false
"urlCheck" : false,
"minified" : true,
"es6" : false,
"postcss" : true
},
"usingComponents" : true
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

137
uni.scss
View File

@ -1,76 +1,91 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
全局css
*/
$baseurl: "https://guyu-1308826010.cos.ap-shanghai.myqcloud.com/static/";
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量同时无需 import 这个文件
*/
@font-face {
font-family: "JiangChengYuanTi-300W";
/* 定义字体家族名称 */
src: url($baseurl + "fonts/JiangChengYuanTi-300W.ttf") format("truetype");
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
/* 颜色变量 */
@font-face {
font-family: "JiangChengYuanTi-400W";
/* 定义字体家族名称 */
src: url($baseurl + "fonts/JiangChengYuanTi-400W.ttf") format("truetype");
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
@font-face {
font-family: "JiangChengYuanTi-500W";
/* 定义字体家族名称 */
src: url($baseurl + "fonts/JiangChengYuanTi-500W.ttf") format("truetype");
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
/* 文字基本颜色 */
$uni-text-color:#333;//基本色
$uni-text-color-inverse:#fff;//反色
$uni-text-color-grey:#999;//辅助灰色如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable:#c0c0c0;
@font-face {
font-family: "JiangChengYuanTi-600W";
/* 定义字体家族名称 */
src: url($baseurl + "fonts/JiangChengYuanTi-600W.ttf") format("truetype");
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
/* 背景颜色 */
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8;
$uni-bg-color-hover:#f1f1f1;//点击状态颜色
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
@font-face {
font-family: "JiangChengYuanTi-700W";
/* 定义字体家族名称 */
src: url($baseurl + "fonts/JiangChengYuanTi-700W.ttf") format("truetype");
/* 指定字体文件路径和格式 */
font-weight: normal;
font-style: normal;
}
/* 边框颜色 */
$uni-border-color:#c8c7cc;
.myZt-300w {
font-family: "JiangChengYuanTi-300W", sans-serif;
}
/* 尺寸变量 */
.myZt-400w {
font-family: "JiangChengYuanTi-400W", sans-serif;
}
/* 文字尺寸 */
$uni-font-size-sm:12px;
$uni-font-size-base:14px;
$uni-font-size-lg:16px;
.myZt-500w {
font-family: "JiangChengYuanTi-500W", sans-serif;
}
/* 图片尺寸 */
$uni-img-size-sm:20px;
$uni-img-size-base:26px;
$uni-img-size-lg:40px;
.myZt-600w {
font-family: "JiangChengYuanTi-600W", sans-serif;
}
/* Border Radius */
$uni-border-radius-sm: 2px;
$uni-border-radius-base: 3px;
$uni-border-radius-lg: 6px;
$uni-border-radius-circle: 50%;
.myZt-700w {
font-family: "JiangChengYuanTi-700W", sans-serif;
}
/* 水平间距 */
$uni-spacing-row-sm: 5px;
$uni-spacing-row-base: 10px;
$uni-spacing-row-lg: 15px;
.bg {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
/* 垂直间距 */
$uni-spacing-col-sm: 4px;
$uni-spacing-col-base: 8px;
$uni-spacing-col-lg: 12px;
.column {
display: flex;
flex-direction: column;
}
/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
.row {
display: flex;
flex-direction: row;
}
/* 文章场景相关 */
$uni-color-title: #2C405A; // 文章标题颜色
$uni-font-size-title:20px;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; // 文章段落颜色
$uni-font-size-paragraph:15px;
.center {
display: flex;
align-items: center;
justify-content: center;
}