feat: 仓库初始化
This commit is contained in:
parent
719243950a
commit
4d632a8da7
16
.hbuilderx/launch.json
Normal file
16
.hbuilderx/launch.json
Normal file
@ -0,0 +1,16 @@
|
||||
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
|
||||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
|
||||
"version": "0.0",
|
||||
"configurations": [{
|
||||
"app-plus" :
|
||||
{
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"default" :
|
||||
{
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"type" : "uniCloud"
|
||||
}
|
||||
]
|
||||
}
|
||||
125
App.vue
Normal file
125
App.vue
Normal file
@ -0,0 +1,125 @@
|
||||
<script>
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch')
|
||||
uni.showLoading({
|
||||
title: "加载中..."
|
||||
})
|
||||
window.msgFromUniapp = function(arg) {
|
||||
console.log(arg.token);
|
||||
if (arg.token) {
|
||||
uni.setStorageSync('wflow-token', arg.token)
|
||||
uni.setStorageSync('loginUser', arg.loginUser)
|
||||
|
||||
if (arg.page) {
|
||||
uni.reLaunch({
|
||||
url: arg.page
|
||||
})
|
||||
} else {
|
||||
uni.reLaunch({
|
||||
url: '/pages/submit/submit'
|
||||
})
|
||||
}
|
||||
}
|
||||
uni.hideLoading()
|
||||
}
|
||||
},
|
||||
onShow: function() {
|
||||
console.log('App Show')
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
||||
|
||||
page {
|
||||
background-color: #F4F5F7;
|
||||
}
|
||||
|
||||
.w-button {
|
||||
border-radius: 48rpx;
|
||||
font-size: 32rpx !important;
|
||||
border: none;
|
||||
|
||||
&::after {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.w-click-hover {
|
||||
background-color: #F7F7F7;
|
||||
}
|
||||
|
||||
//表单组件值只读样式
|
||||
.w-form-input-rv {
|
||||
font-size: 32rpx;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.over-tip {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
/* 设置文本溢出时显示省略号 */
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
//覆盖默认组件样式
|
||||
:deep(.w-form-input) {
|
||||
font-size: 32rpx;
|
||||
border: none;
|
||||
|
||||
.is-input-border,
|
||||
.input-value-border {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.uni-input-placeholder,
|
||||
.uni-input-wrapper,
|
||||
.placeholder,
|
||||
.input-value,
|
||||
.uni-date__x-input,
|
||||
.uni-textarea-placeholder,
|
||||
.uni-textarea-wrapper {
|
||||
font-size: 32rpx !important;
|
||||
}
|
||||
|
||||
.is-disabled {
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* #ifdef MP */
|
||||
.wflow-form .uni-forms-item {
|
||||
padding: 0 16rpx 32rpx 16rpx;
|
||||
background-color: white;
|
||||
margin-bottom: 16rpx;
|
||||
font-size: 32rpx !important;
|
||||
|
||||
.uni-forms-item__error {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
.uni-easyinput__content-input {
|
||||
height: 30px;
|
||||
font-size: 32rpx
|
||||
}
|
||||
|
||||
.uni-easyinput__placeholder-class,
|
||||
.uni-date__x-input {
|
||||
font-size: 32rpx
|
||||
}
|
||||
|
||||
.w-form-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 13rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* #endif */
|
||||
</style>
|
||||
14
README.md
14
README.md
@ -0,0 +1,14 @@
|
||||
## 本项目为 wflow-pro 移动端app项目
|
||||
|
||||
请遵循授权规则使用,严禁私下传播、倒卖等侵权行为
|
||||
|
||||
本项目内自带了uni_modules依赖,使用请先执行 `npm install` 按照npm依赖,然后使用uniapp官方 Hbuilderx 开发工具打开
|
||||
|
||||
项目正在开发中,请耐心等待。。。
|
||||
|
||||
导入的组件库`uni_modules`部分组件在默认基础上进行了修改,修改如下:
|
||||
|
||||
- uni-popup 弹层,open和close函数添加了自定义事件,用来防止点击穿透文件选择器
|
||||
- uni-easy-input 组件,_Blur 函数失焦时添加小数位数格式化
|
||||
- cc-selectDity 组件,area.js 最后一行去除返回城市编码
|
||||
- l-upload 图片上传组件,修复bug及根据wflow改造
|
||||
BIN
__MACOSX/._App.vue
Normal file
BIN
__MACOSX/._App.vue
Normal file
Binary file not shown.
BIN
__MACOSX/._README.md
Normal file
BIN
__MACOSX/._README.md
Normal file
Binary file not shown.
BIN
__MACOSX/._androidPrivacy.json
Normal file
BIN
__MACOSX/._androidPrivacy.json
Normal file
Binary file not shown.
BIN
__MACOSX/._api
Normal file
BIN
__MACOSX/._api
Normal file
Binary file not shown.
BIN
__MACOSX/._components
Normal file
BIN
__MACOSX/._components
Normal file
Binary file not shown.
BIN
__MACOSX/._index.html
Normal file
BIN
__MACOSX/._index.html
Normal file
Binary file not shown.
BIN
__MACOSX/._main.js
Normal file
BIN
__MACOSX/._main.js
Normal file
Binary file not shown.
BIN
__MACOSX/._manifest.json
Normal file
BIN
__MACOSX/._manifest.json
Normal file
Binary file not shown.
BIN
__MACOSX/._package-lock.json
generated
Normal file
BIN
__MACOSX/._package-lock.json
generated
Normal file
Binary file not shown.
BIN
__MACOSX/._package.json
Normal file
BIN
__MACOSX/._package.json
Normal file
Binary file not shown.
BIN
__MACOSX/._pages
Normal file
BIN
__MACOSX/._pages
Normal file
Binary file not shown.
BIN
__MACOSX/._pages.json
Normal file
BIN
__MACOSX/._pages.json
Normal file
Binary file not shown.
BIN
__MACOSX/._static
Normal file
BIN
__MACOSX/._static
Normal file
Binary file not shown.
BIN
__MACOSX/._theme.less
Normal file
BIN
__MACOSX/._theme.less
Normal file
Binary file not shown.
BIN
__MACOSX/._uni.promisify.adaptor.js
Normal file
BIN
__MACOSX/._uni.promisify.adaptor.js
Normal file
Binary file not shown.
BIN
__MACOSX/._uni.scss
Normal file
BIN
__MACOSX/._uni.scss
Normal file
Binary file not shown.
BIN
__MACOSX/._uni.webview.1.5.5.js
Normal file
BIN
__MACOSX/._uni.webview.1.5.5.js
Normal file
Binary file not shown.
BIN
__MACOSX/._uni_modules
Normal file
BIN
__MACOSX/._uni_modules
Normal file
Binary file not shown.
BIN
__MACOSX/._utils
Normal file
BIN
__MACOSX/._utils
Normal file
Binary file not shown.
BIN
__MACOSX/api/._model.js
Normal file
BIN
__MACOSX/api/._model.js
Normal file
Binary file not shown.
BIN
__MACOSX/api/._org.js
Normal file
BIN
__MACOSX/api/._org.js
Normal file
Binary file not shown.
BIN
__MACOSX/api/._process.js
Normal file
BIN
__MACOSX/api/._process.js
Normal file
Binary file not shown.
BIN
__MACOSX/api/._request.js
Normal file
BIN
__MACOSX/api/._request.js
Normal file
Binary file not shown.
BIN
__MACOSX/api/._resource.js
Normal file
BIN
__MACOSX/api/._resource.js
Normal file
Binary file not shown.
BIN
__MACOSX/api/._task.js
Normal file
BIN
__MACOSX/api/._task.js
Normal file
Binary file not shown.
BIN
__MACOSX/components/._Avatar.vue
Normal file
BIN
__MACOSX/components/._Avatar.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/._ClickInput.vue
Normal file
BIN
__MACOSX/components/._ClickInput.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/._FormRender.vue
Normal file
BIN
__MACOSX/components/._FormRender.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/._OrgPicker.vue
Normal file
BIN
__MACOSX/components/._OrgPicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/._UserCard.vue
Normal file
BIN
__MACOSX/components/._UserCard.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/._WFormItem.vue
Normal file
BIN
__MACOSX/components/._WFormItem.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/._common
Normal file
BIN
__MACOSX/components/._common
Normal file
Binary file not shown.
BIN
__MACOSX/components/._form
Normal file
BIN
__MACOSX/components/._form
Normal file
Binary file not shown.
BIN
__MACOSX/components/common/._MultiplePicker.vue
Normal file
BIN
__MACOSX/components/common/._MultiplePicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/common/._SelectPicker.vue
Normal file
BIN
__MACOSX/components/common/._SelectPicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/common/._TimeRangePicker.vue
Normal file
BIN
__MACOSX/components/common/._TimeRangePicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._AmountInput.vue
Normal file
BIN
__MACOSX/components/form/._AmountInput.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._CalcFormula.vue
Normal file
BIN
__MACOSX/components/form/._CalcFormula.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._ComponentsExport.js
Normal file
BIN
__MACOSX/components/form/._ComponentsExport.js
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._DateTime.vue
Normal file
BIN
__MACOSX/components/form/._DateTime.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._DateTimeRange.vue
Normal file
BIN
__MACOSX/components/form/._DateTimeRange.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._DeptPicker.vue
Normal file
BIN
__MACOSX/components/form/._DeptPicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._Description.vue
Normal file
BIN
__MACOSX/components/form/._Description.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._FileUpload.vue
Normal file
BIN
__MACOSX/components/form/._FileUpload.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._GroupPicker.vue
Normal file
BIN
__MACOSX/components/form/._GroupPicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._ImageUpload.vue
Normal file
BIN
__MACOSX/components/form/._ImageUpload.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._Location.vue
Normal file
BIN
__MACOSX/components/form/._Location.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._MultipleSelect.vue
Normal file
BIN
__MACOSX/components/form/._MultipleSelect.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._NumberInput.vue
Normal file
BIN
__MACOSX/components/form/._NumberInput.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._OuterForm.vue
Normal file
BIN
__MACOSX/components/form/._OuterForm.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._ProcessIndex.vue
Normal file
BIN
__MACOSX/components/form/._ProcessIndex.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._Provinces.vue
Normal file
BIN
__MACOSX/components/form/._Provinces.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._Score.vue
Normal file
BIN
__MACOSX/components/form/._Score.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._SelectInput.vue
Normal file
BIN
__MACOSX/components/form/._SelectInput.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._SelectPlus.vue
Normal file
BIN
__MACOSX/components/form/._SelectPlus.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._SignPanel.vue
Normal file
BIN
__MACOSX/components/form/._SignPanel.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._TableList.vue
Normal file
BIN
__MACOSX/components/form/._TableList.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._TextInput.vue
Normal file
BIN
__MACOSX/components/form/._TextInput.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._TextareaInput.vue
Normal file
BIN
__MACOSX/components/form/._TextareaInput.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._TimePicker.vue
Normal file
BIN
__MACOSX/components/form/._TimePicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._TimeRangePicker.vue
Normal file
BIN
__MACOSX/components/form/._TimeRangePicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._UserPicker.vue
Normal file
BIN
__MACOSX/components/form/._UserPicker.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._WebIframe.vue
Normal file
BIN
__MACOSX/components/form/._WebIframe.vue
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._hook
Normal file
BIN
__MACOSX/components/form/._hook
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/._sub
Normal file
BIN
__MACOSX/components/form/._sub
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/hook/._ComponentHook.js
Normal file
BIN
__MACOSX/components/form/hook/._ComponentHook.js
Normal file
Binary file not shown.
BIN
__MACOSX/components/form/sub/._ProcessSelect.vue
Normal file
BIN
__MACOSX/components/form/sub/._ProcessSelect.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/._contacts
Normal file
BIN
__MACOSX/pages/._contacts
Normal file
Binary file not shown.
BIN
__MACOSX/pages/._instance
Normal file
BIN
__MACOSX/pages/._instance
Normal file
Binary file not shown.
BIN
__MACOSX/pages/._login
Normal file
BIN
__MACOSX/pages/._login
Normal file
Binary file not shown.
BIN
__MACOSX/pages/._my
Normal file
BIN
__MACOSX/pages/._my
Normal file
Binary file not shown.
BIN
__MACOSX/pages/._submit
Normal file
BIN
__MACOSX/pages/._submit
Normal file
Binary file not shown.
BIN
__MACOSX/pages/._workspace
Normal file
BIN
__MACOSX/pages/._workspace
Normal file
Binary file not shown.
BIN
__MACOSX/pages/contacts/._contacts.vue
Normal file
BIN
__MACOSX/pages/contacts/._contacts.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/instance/._instancePreview.vue
Normal file
BIN
__MACOSX/pages/instance/._instancePreview.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/instance/._processProgress.vue
Normal file
BIN
__MACOSX/pages/instance/._processProgress.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/login/._login.vue
Normal file
BIN
__MACOSX/pages/login/._login.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/my/._UserAgent.vue
Normal file
BIN
__MACOSX/pages/my/._UserAgent.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/my/._my.vue
Normal file
BIN
__MACOSX/pages/my/._my.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/submit/._InitiateProcess.vue
Normal file
BIN
__MACOSX/pages/submit/._InitiateProcess.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/submit/._ProcessNodeRender.vue
Normal file
BIN
__MACOSX/pages/submit/._ProcessNodeRender.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/submit/._ProcessNodeRender2.vue
Normal file
BIN
__MACOSX/pages/submit/._ProcessNodeRender2.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/submit/._ProcessRender.vue
Normal file
BIN
__MACOSX/pages/submit/._ProcessRender.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/submit/._submit.vue
Normal file
BIN
__MACOSX/pages/submit/._submit.vue
Normal file
Binary file not shown.
BIN
__MACOSX/pages/workspace/._workspace.vue
Normal file
BIN
__MACOSX/pages/workspace/._workspace.vue
Normal file
Binary file not shown.
BIN
__MACOSX/static/._iconfont
Normal file
BIN
__MACOSX/static/._iconfont
Normal file
Binary file not shown.
BIN
__MACOSX/static/._image
Normal file
BIN
__MACOSX/static/._image
Normal file
Binary file not shown.
BIN
__MACOSX/static/._qqlogin.png
Normal file
BIN
__MACOSX/static/._qqlogin.png
Normal file
Binary file not shown.
BIN
__MACOSX/static/._tabs
Normal file
BIN
__MACOSX/static/._tabs
Normal file
Binary file not shown.
BIN
__MACOSX/static/._wxlogin.png
Normal file
BIN
__MACOSX/static/._wxlogin.png
Normal file
Binary file not shown.
BIN
__MACOSX/static/iconfont/._iconfont.css
Normal file
BIN
__MACOSX/static/iconfont/._iconfont.css
Normal file
Binary file not shown.
BIN
__MACOSX/static/iconfont/._iconfont.json
Normal file
BIN
__MACOSX/static/iconfont/._iconfont.json
Normal file
Binary file not shown.
BIN
__MACOSX/static/iconfont/._iconfont.ttf
Normal file
BIN
__MACOSX/static/iconfont/._iconfont.ttf
Normal file
Binary file not shown.
BIN
__MACOSX/static/iconfont/._iconfont.woff
Normal file
BIN
__MACOSX/static/iconfont/._iconfont.woff
Normal file
Binary file not shown.
BIN
__MACOSX/static/iconfont/._iconfont.woff2
Normal file
BIN
__MACOSX/static/iconfont/._iconfont.woff2
Normal file
Binary file not shown.
BIN
__MACOSX/static/image/._agent.png
Normal file
BIN
__MACOSX/static/image/._agent.png
Normal file
Binary file not shown.
BIN
__MACOSX/static/image/._agree.png
Normal file
BIN
__MACOSX/static/image/._agree.png
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user