Browse Source

新增内容

master
向顺璞 4 years ago
parent
commit
59c54230db
  1. 3
      app.json
  2. 66
      pages/auth/auth.js
  3. 3
      pages/auth/auth.json
  4. 25
      pages/auth/auth.wxml
  5. 19
      pages/auth/auth.wxss
  6. 2
      pages/look-list/look-list.wxss
  7. 6
      project.private.config.json

3
app.json

@ -9,7 +9,8 @@
"pages/look-list/look-list",
"pages/look-detail/look-detail",
"pages/history/history",
"pages/air-report/air-report"
"pages/air-report/air-report",
"pages/auth/auth"
],
"permission": {
"scope.userLocation": {

66
pages/auth/auth.js

@ -0,0 +1,66 @@
// pages/auth/auth.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/auth/auth.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

25
pages/auth/auth.wxml

@ -0,0 +1,25 @@
<!--pages/auth/auth.wxml-->
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="艾尔" back="{{false}}"></mp-navigation-bar>
<view class="main">
<view class="top">
<image class="log" src="../../assets/images/tabIcon/air.png"></image>
<view class="msg">
<view class="tag">
<view class="tag-icon">
<image class="tag-yes"></image>
</view>
<view class="tag-text">
已阅读并同意
<text class="text">《法律条款及隐私政策》</text>
</view>
</view>
</view>
<button class="login">
<image class="wx-log"></image>
<text class="wx-text">微信用户一键登录</text>
</button>
</view>
<view class="bottom">输入手机号码登录/注册</view>
</view>
</view>

19
pages/auth/auth.wxss

@ -0,0 +1,19 @@
/* pages/auth/auth.wxss */
.main{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 220rpx 0 40rpx 0;
}
.top{
display: flex;
flex-direction: column;
align-items: center;
}
.log{
width: 150rpx;
height: 150rpx;
}

2
pages/look-list/look-list.wxss

@ -23,6 +23,7 @@
display: flex;
padding: 30rpx 30rpx 35rpx 30rpx;
justify-content: space-between;
border: none;
}
.table-active .table-icon {
@ -33,6 +34,7 @@
font-size: 30rpx;
font-weight: bold;
color: #262936;
border: none;
}
.table-icon {

6
project.private.config.json

@ -65,6 +65,12 @@
"pathName": "pages/air-report/air-report",
"query": "",
"scene": null
},
{
"name": "微信授权",
"pathName": "pages/auth/auth",
"query": "",
"scene": null
}
]
}

Loading…
Cancel
Save