Merge pull request 'xbx' (#6) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/6
This commit is contained in:
luyuan 2020-06-02 11:35:41 +08:00
commit 35799b3325
5 changed files with 37 additions and 4 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
.vscode .vscode
node_modules

View File

@ -1,11 +1,11 @@
import Vue from 'vue' import Vue from 'vue'
import App from './App' import App from './App'
import uView from "uview-ui";
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.use(uView);
App.mpType = 'app' App.mpType = 'app'
const app = new Vue({ const app = new Vue({
...App ...App
}) })
app.$mount() app.$mount()

13
package-lock.json generated Normal file
View File

@ -0,0 +1,13 @@
{
"name": "deming",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"uview-ui": {
"version": "1.2.9",
"resolved": "https://registry.npm.taobao.org/uview-ui/download/uview-ui-1.2.9.tgz",
"integrity": "sha1-PwC6ziaB/LXyMacGRkMfPrZfF2c="
}
}
}

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "deming",
"version": "1.0.0",
"description": "- scss - uniapp - 组建库 [uview](http://www.uviewui.com/) ## 目录结构 ```1= |-pages tabes 目录 |-pageA 前期注册用页面 |-pageB 首页类页面 |-pageC 商城下页面 |-pageD 我的页面 |-pageE 其余杂乱页面 |-components 组建目录 |-static 静态文件目录 |-|images 图片文件 |util js库文件 |App.js |main.js |pages.json |manifest.json |uni.scss ``` ## 开发规范 - 使用组建化 - 要使用scss - 命名尽量规范 可以语义化但不可以胡乱输入 - scss层级关系使用好 - 统一使用rpx - 组建目录需要根据页面或功能命名子目录 ## 分支开发规则 - master分支将开启保护 请使用gitea合并功能 - 每人各自工作分支 每天合并 - 合并请及时拉取处理冲突",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http://git.luyuan.tk/luyuan/deming.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"uview-ui": "^1.2.9"
}
}

View File

@ -1,3 +1,4 @@
@import 'node_modules/uview-ui/theme.scss';
/** /**
* 这里是uni-app内置的常用样式变量 * 这里是uni-app内置的常用样式变量
* *