Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 15a1e636
authored
Aug 31, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
页面创建
1 parent
38d0be18
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
203 additions
and
16 deletions
app.json
pages/applicationAccount/applicationAccount.js
pages/applicationAccount/applicationAccount.json
pages/applicationAccount/applicationAccount.wxml
pages/applicationAccount/applicationAccount.wxss
pages/applicationPartener/applicationPartener.js
pages/applicationPartener/applicationPartener.json
pages/applicationPartener/applicationPartener.wxml
pages/applicationPartener/applicationPartener.wxss
pages/tab/index/index.js
project.config.json
utils/WxValidate.js
app.json
View file @
15a1e63
{
{
"pages"
:
[
"pages"
:
[
"pages/tab/index/index"
,
"pages/tab/index/index"
,
"pages/application/application"
"pages/applicationAccount/applicationAccount"
,
"pages/applicationPartener/applicationPartener"
],
],
"window"
:
{
"window"
:
{
"backgroundTextStyle"
:
"light"
,
"backgroundTextStyle"
:
"light"
,
...
...
pages/applicationAccount/applicationAccount.js
0 → 100644
View file @
15a1e63
import
WxValidate
from
"../../utils/WxValidate"
// pages/applicationAccount/applicationAccount.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
accountForm
:
{
applyName
:
''
,
telphone
:
''
,
enterpriseName
:
''
,
concerContent
:
''
}
},
// 表单验证规则
initValidate
()
{
const
rules
=
{
nickName
:
{
required
:
true
,
minlength
:
2
}
}
const
messages
=
{
nickName
:
{
required
:
'请填写姓名'
,
minlength
:
'请输入正确的名称'
}
}
this
.
WxValidate
=
new
WxValidate
(
rules
,
messages
)
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
// 初始化验证规则函数
this
.
initValidate
()
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
:
function
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
:
function
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
:
function
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
:
function
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
})
\ No newline at end of file
\ No newline at end of file
pages/applicationAccount/applicationAccount.json
0 → 100644
View file @
15a1e63
{
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
pages/applicationAccount/applicationAccount.wxml
0 → 100644
View file @
15a1e63
<!--pages/applicationAccount/applicationAccount.wxml-->
<view class="apply-account">
<view>
top
</view>
<view>
</view>
</view>
pages/applicationAccount/applicationAccount.wxss
0 → 100644
View file @
15a1e63
/* pages/applicationAccount/applicationAccount.wxss */
\ No newline at end of file
\ No newline at end of file
pages/applicationPartener/applicationPartener.js
0 → 100644
View file @
15a1e63
// pages/applicationPartener/applicationPartener.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
:
function
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
:
function
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
:
function
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
:
function
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
})
\ No newline at end of file
\ No newline at end of file
pages/applicationPartener/applicationPartener.json
0 → 100644
View file @
15a1e63
{
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
pages/applicationPartener/applicationPartener.wxml
0 → 100644
View file @
15a1e63
<!--pages/applicationPartener/applicationPartener.wxml-->
<text>pages/applicationPartener/applicationPartener.wxml</text>
pages/applicationPartener/applicationPartener.wxss
0 → 100644
View file @
15a1e63
/* pages/applicationPartener/applicationPartener.wxss */
\ No newline at end of file
\ No newline at end of file
pages/tab/index/index.js
View file @
15a1e63
...
@@ -13,7 +13,7 @@ Page({
...
@@ -13,7 +13,7 @@ Page({
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
wx
.
$router
.
go
(
'application'
)
wx
.
$router
.
go
(
'application
Account
'
)
},
2
e3
)
},
2
e3
)
},
},
...
...
project.config.json
View file @
15a1e63
...
@@ -22,35 +22,36 @@
...
@@ -22,35 +22,36 @@
"checkSiteMap"
:
true
,
"checkSiteMap"
:
true
,
"uploadWithSourceMap"
:
true
,
"uploadWithSourceMap"
:
true
,
"compileHotReLoad"
:
false
,
"compileHotReLoad"
:
false
,
"lazyloadPlaceholderEnable"
:
false
,
"useMultiFrameRuntime"
:
true
,
"useMultiFrameRuntime"
:
true
,
"useApiHook"
:
true
,
"useApiHook"
:
true
,
"useApiHostProcess"
:
true
,
"babelSetting"
:
{
"babelSetting"
:
{
"ignore"
:
[],
"ignore"
:
[],
"disablePlugins"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
"outputPath"
:
""
},
},
"bundle"
:
false
,
"useIsolateContext"
:
false
,
"useIsolateContext"
:
true
,
"useCompilerModule"
:
false
,
"userConfirmedUseCompilerModuleSwitch"
:
false
,
"userConfirmedBundleSwitch"
:
false
,
"userConfirmedBundleSwitch"
:
false
,
"packNpmManually"
:
false
,
"packNpmManually"
:
false
,
"packNpmRelationList"
:
[],
"packNpmRelationList"
:
[],
"minifyWXSS"
:
true
,
"minifyWXSS"
:
true
,
"useApiHostProcess"
:
false
,
"lazyloadPlaceholderEnable"
:
false
,
"useStaticServer"
:
true
,
"showES6CompileOption"
:
false
,
"disableUseStrict"
:
false
,
"disableUseStrict"
:
false
,
"minifyWXML"
:
true
,
"showES6CompileOption"
:
false
,
"useCompilerPlugins"
:
false
,
"useCompilerPlugins"
:
false
,
"
minifyWXML
"
:
true
"
ignoreUploadUnusedFiles
"
:
true
},
},
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.15.0"
,
"libVersion"
:
"2.15.0"
,
"appid"
:
"wxfe82b8d65d07808f"
,
"appid"
:
"wxfe82b8d65d07808f"
,
"projectname"
:
"
%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88
"
,
"projectname"
:
"
ai-card
"
,
"simulatorType"
:
"wechat"
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
"simulatorPluginLibVersion"
:
{},
"editorSetting"
:
{
"tabIndent"
:
"insertSpaces"
,
"tabSize"
:
2
},
"condition"
:
{
"condition"
:
{
"miniprogram"
:
{
"miniprogram"
:
{
"list"
:
[
"list"
:
[
...
@@ -86,9 +87,5 @@
...
@@ -86,9 +87,5 @@
}
}
]
]
}
}
},
"editorSetting"
:
{
"tabIndent"
:
"insertSpaces"
,
"tabSize"
:
2
}
}
}
}
\ No newline at end of file
\ No newline at end of file
utils/WxValidate.js
0 → 100644
View file @
15a1e63
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment