1 Star 0 Fork 0

lqs / lqsblog-frontend-uniapp

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

lqsblog-frontend-uniapp

它(GithubGitee)是一个手机端展示前台,它基于 uni-app实现。

快速体验

微信小程序 支付宝小程序 字节跳动小程序
微信小程序 支付宝小程序 字节跳动小程序

你可以打开对应平台扫描对应平台小程序码体验效果,以上只做了 微信、支付宝、字节跳动 的小程序生产展示,你如果需要体验其他平台小程序,可以自己下载到本地参照开发文档进行生成。

开发文档

功能

- 随笔
- 作品
- 搜索
- 专题
- 关于

目录结构

本项目基于 uni-app 生成,下面是整个项目的目录结构。大部分主体目录结构说明请参照uniapp目录结构

├── common                     # 公共资源
│   │── config                 # 配置
│   │── css                    # 公共css
│   │── request                # 自定义封装 ajax 组件
│   └── utils                  # 工具函数目录
├── components                 # 组件目录
├── pages                      # 页面目录
│   ├── about                  # 关于
│   ├── articles               # 随笔
│   ├── search                 # 搜索
│   ├── topics                 # 专题
│   └── works                  # 作品
├── static                     # 静态资源
├── store                      # 全局 Store(Vuex)
├── .gitignore                 # Git忽略文件配置
├── App.vue                    # 页面入口文件
├── main.js                    # uni-app 入口
├── manifest.json              # 应用配置文件
├── package.json               # package.json
├── pages.json                 # uni-app 全局配置
└── uni.scss                   # 全局scss变量预置(也可以书写全局样式,最好不要,会多次打包)

安装

# 克隆项目
git clone https://github.com/lqsong/lqsblog-frontend-uniapp.git

# 进入项目目录
cd lqsblog-frontend-uniapp

# 安装依赖
npm install

uni-app 开发工具导入项目

然后按照 uni-app官方文档 进行项目开发。

配置

配置主体内容你可以参考 uni-app官方文档。以下只做扩展内容的说明:

修改配置文件 '/common/config/index.js' 对应参数


/**
 * ajax请求接口域名
 */
export const ajaxBaseUrl = 'https://springboot.api.liqingsong.cc/pc/v1';

/**
 * 暂无图片图片地址
 */
export const nopicUrl = 'http://liqingsong.cc/images/nopic.png';

捐赠

如果你觉得这个项目帮助到了你,你可以请作者喝咖啡表示鼓励.

ALIPAY WECHAT
Alipay Wechat
MIT License Copyright (c) 2020 LiQingSong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

是一个手机端展示前台,它基于 uni-app实现。 expand collapse
Vue and 3 more languages
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/lqsong/lqsblog-frontend-uniapp.git
git@gitee.com:lqsong/lqsblog-frontend-uniapp.git
lqsong
lqsblog-frontend-uniapp
lqsblog-frontend-uniapp
main

Search