作者 刘晓艳

李七庄静态页

{
"pages": [
"pages/my/approveInfo/approveInfo",
"pages/my/approve/approve",
"pages/matrix/article/article",
"pages/matrix/matrix",
"pages/interact/interactPost/interactPost",
... ...
// pages/my/approve/approve.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
... ...
{
"usingComponents": {},
"navigationBarTitleText": "企业认证"
}
\ No newline at end of file
... ...
<!--pages/my/approve/approve.wxml-->
<view class="content_box">
<view class="item_list">
<view class="list_title">公司名称</view>
<view class="list_content">
<input type="text" placeholder='输入公司名称' placeholder-class='pl_style' value="{{username?username:''}}" class="input_item" bindinput='userName'></input>
</view>
</view>
<view class="item_list">
<view class="list_title">法人代表</view>
<view class="list_content">
<input type="text" placeholder='输入公法人姓名' placeholder-class='pl_style' value="{{work}}" class="input_item" bindinput='work'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>公司类型</view>
<view class='list_content'>
<input placeholder='输入公司类型' placeholder-class='pl_style' class='input_item'></input>
</view>
</view>
<view class="item_list">
<view class="list_title">注册号</view>
<view class="list_content">
<input type="text" placeholder='输入公司注册号' placeholder-class='pl_style' value="{{city}}" class="input_item" bindinput='city'></input>
</view>
</view>
<view class="item_list">
<view class="list_title">成立时间</view>
<view class="list_content">
<input type="text" placeholder='输入公司成立时间' placeholder-class='pl_style' value="{{mobile}}" class="input_item" bindinput='getPhone'></input>
</view>
</view>
<view class="item_list">
<view class="list_title">注册资本</view>
<view class="list_content">
<input type="text" placeholder='输入注册资本' placeholder-class='pl_style' value="{{city}}" class="input_item" bindinput='city'></input>
</view>
</view>
<view class="item_list">
<view class="list_title">联系电话</view>
<view class="list_content">
<input type="number" placeholder='输入联系电话' placeholder-class='pl_style' value="{{mobile}}" class="input_item" bindinput='getPhone'></input>
</view>
</view>
<view class="item_list" style=' align-items: flex-start;'>
<view class="list_title">公司地址</view>
<view class="list_content">
<textarea placeholder='输入公司详细地址' placeholder-class='pl_style' value="{{honor}}" class="area_item" bindinput='honor'></textarea>
</view>
</view>
</view>
<view class='bottom_btn'>认证</view>
\ No newline at end of file
... ...
/* pages/my/approve/approve.wxss */
.item_list {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 20rpx 32rpx;
border-bottom: 1rpx solid #f5f5fa;
position: relative;
background-color: #fff;
}
.list_title {
width: 140rpx;
font-size: 32rpx;
color: #333;
margin-right: 26rpx;
}
.pl_style {
font-size: 32rpx;
color: #ccc;
}
.list_input {
width: 60%;
font-size: 30rpx;
}
.list_content {
font-size: 30rpx;
color: #000;
min-width: 75%;
}
.input_item {
border: 0;
outline: none;
}
.area_item {
width: 80%;
height: 120rpx;
}
.bottom_btn {
width: 352rpx;
height: 80rpx;
background: linear-gradient(319deg, rgba(22, 155, 213, 1) 0%, rgba(0, 211, 255, 1) 100%);
border-radius: 8rpx;
font-size: 32rpx;
color: #fff;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
margin: 100rpx auto 0 auto;
}
... ...
// pages/my/approveInfo/approveInfo.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
... ...
{
"usingComponents": {},
"navigationBarTitleText": "认证成功"
}
\ No newline at end of file
... ...
<!--pages/my/approveInfo/approveInfo.wxml-->
<view class='content_box'>
<view class='icon_box'>
<view class='iconfont icon-fanhui1' bindtap='goHome'></view>
</view>
<view class='list_img'>
<image src='/images/tijiaochenggong@3x.png'></image>
</view>
<view class='list_content'>
<view class='list_info'>提交成功!</view>
<view>您已成功提交企业资料,待平台审核...</view>
<view class='list_btn list_active' bindtap='myInfo'>发表帖子</view>
<view class='list_btn ' bindtap='goHome'>返回首页</view>
</view>
</view>
\ No newline at end of file
... ...
/* pages/my/approveInfo/approveInfo.wxss */
.list_img {
width: 190rpx;
height: 190rpx;
border-radius: 50%;
overflow: hidden;
margin-top: 144rpx;
}
.list_img image {
width: 100%;
height: 100%;
}
.content_box {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.list_content {
font-size: 30rpx;
color: #999;
/* padding: 140rpx 0rpx; */
text-align: center;
box-sizing: border-box;
line-height: 70rpx;
margin-top: 50rpx;
}
.list_info {
font-size: 34rpx;
color: #333;
font-weight: bold;
text-align: center;
}
.list_btn {
width: 464rpx;
height: 96rpx;
border: 1rpx solid #e6e6e6;
border-radius: 8rpx;
font-size: 34rpx;
color: #333;
line-height: 96rpx;
text-align: center;
margin-top: 50rpx;
}
.list_active {
background: linear-gradient(333deg, rgba(22, 155, 213, 1) 0%, rgba(0, 211, 255, 1) 100%);
box-shadow: 0rpx 6rpx 20rpx rgba(29, 89, 254, 0.17);
border: 0;
color: #fff;
}
... ...