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 142cff07
authored
Sep 01, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'kuangyq_v2.10.0'
2 parents
901aa67a
a02403ba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
222 additions
and
35 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
utils/WxValidate.js
app.json
View file @
142cff0
{
"pages"
:
[
"pages/tab/index/index"
,
"pages/application
/application
"
,
"pages/
experience/experience
"
"pages/application
Account/applicationAccount
"
,
"pages/
applicationPartener/applicationPartener
"
],
"window"
:
{
"backgroundTextStyle"
:
"light"
,
...
...
pages/applicationAccount/applicationAccount.js
0 → 100644
View file @
142cff0
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
pages/applicationAccount/applicationAccount.json
0 → 100644
View file @
142cff0
{
"usingComponents"
:
{}
}
\ No newline at end of file
pages/applicationAccount/applicationAccount.wxml
0 → 100644
View file @
142cff0
<!--pages/applicationAccount/applicationAccount.wxml-->
<view class="apply-account">
<view>
top
</view>
<view>
</view>
<view class="contact-inline">
</view>
</view>
pages/applicationAccount/applicationAccount.wxss
0 → 100644
View file @
142cff0
/* pages/applicationAccount/applicationAccount.wxss */
.apply-account {
position: relative;
}
.contact-inline {
width: 50rpx;
height: 50rpx;
background-color: aqua;
position: absolute;
right: 10rpx;
top: 930rpx;
}
\ No newline at end of file
pages/applicationPartener/applicationPartener.js
0 → 100644
View file @
142cff0
// 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
pages/applicationPartener/applicationPartener.json
0 → 100644
View file @
142cff0
{
"usingComponents"
:
{}
}
\ No newline at end of file
pages/applicationPartener/applicationPartener.wxml
0 → 100644
View file @
142cff0
<!--pages/applicationPartener/applicationPartener.wxml-->
<text>pages/applicationPartener/applicationPartener.wxml</text>
pages/applicationPartener/applicationPartener.wxss
0 → 100644
View file @
142cff0
/* pages/applicationPartener/applicationPartener.wxss */
\ No newline at end of file
pages/tab/index/index.js
View file @
142cff0
// pages/tab/index/index.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
introduceName
:
''
introduceName
:
""
,
},
introduce
(
e
)
{
console
.
log
(
e
.
target
.
dataset
.
name
)
const
name
=
e
.
target
.
dataset
.
name
switch
(
name
){
case
'城市合伙人'
:
wx
.
$router
.
go
(
'application'
)
console
.
log
(
e
.
target
.
dataset
.
name
)
;
const
name
=
e
.
target
.
dataset
.
name
;
switch
(
name
)
{
case
"城市合伙人"
:
wx
.
$router
.
go
(
"application"
);
break
;
default
:
this
.
setData
({
introduceName
:
name
})
introduceName
:
name
,
})
;
}
},
jump
()
{
wx
.
$router
.
go
(
'experience'
)
wx
.
$router
.
go
(
"experience"
);
},
/**
* 生命周期函数--监听页面加载
...
...
@@ -36,49 +34,35 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{
},
onReady
()
{},
/**
* 生命周期函数--监听页面显示
*/
onShow
()
{
},
onShow
()
{},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
},
onHide
()
{},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{
},
onUnload
()
{},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{
},
onPullDownRefresh
()
{},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{
},
onReachBottom
()
{},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{
}
})
\ No newline at end of file
onShareAppMessage
()
{},
});
utils/WxValidate.js
0 → 100644
View file @
142cff0
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