first commit
This commit is contained in:
1
衣莎项目/源码/YiShaXiYi/user/setUp/.pydio
Normal file
1
衣莎项目/源码/YiShaXiYi/user/setUp/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
fe9ae209-62aa-454d-a6e4-44278389a84e
|
||||
74
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.js
Normal file
74
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.js
Normal file
@@ -0,0 +1,74 @@
|
||||
// user/setUp/setUp.js
|
||||
const app = getApp();
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
system: app.globalData.system, //设备相关信息
|
||||
pageTitle: "设置", //头部标题
|
||||
isBack: true,//显示返回
|
||||
},
|
||||
jump(e) {
|
||||
let url = e.currentTarget.dataset.url
|
||||
wx.navigateTo({
|
||||
url: url
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
3
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.json
Normal file
3
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
33
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.wxml
Normal file
33
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.wxml
Normal file
@@ -0,0 +1,33 @@
|
||||
<!-- 头部 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
<!-- user/setUp/setUp.wxml -->
|
||||
<view class="setUp">
|
||||
<view class="user-list mt20">
|
||||
<view class="tit" data-url="/user/addList/addList?isAdd=true" bind:tap="jump">
|
||||
<view class="titl">地址管理</view>
|
||||
<view class="titr flex-con5">
|
||||
<image src="/static/img/icon/right-r.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="tit" data-url="/user/feedback/feedback" bind:tap="jump">
|
||||
<view class="titl">问题反馈</view>
|
||||
<view class="titr flex-con5">
|
||||
<image src="/static/img/icon/right-r.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="tit" data-url="/pages/contactUs/contactUs" bind:tap="jump">
|
||||
<view class="titl">联系我们</view>
|
||||
<view class="titr flex-con5">
|
||||
<image src="/static/img/icon/right-r.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="tit" data-url="/pages/userProtocol/userProtocol" bind:tap="jump">
|
||||
<view class="titl">用户协议</view>
|
||||
<view class="titr flex-con5">
|
||||
<image src="/static/img/icon/right-r.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
31
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.wxss
Normal file
31
衣莎项目/源码/YiShaXiYi/user/setUp/setUp.wxss
Normal file
@@ -0,0 +1,31 @@
|
||||
/* user/setUp/setUp.wxss */
|
||||
.user-list{
|
||||
padding: 0 38rpx;
|
||||
background: #ffffff;
|
||||
}
|
||||
.tit{
|
||||
height: 105rpx;
|
||||
line-height: 105rpx;
|
||||
border-bottom: 2rpx solid #ebebeb;
|
||||
display:flex;
|
||||
}
|
||||
.tit:last-child{
|
||||
border: 0;
|
||||
}
|
||||
.titl{
|
||||
font-family: PingFang-SC-Regular;
|
||||
font-size: 32rpx;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
letter-spacing: 0px;
|
||||
color: #333333;
|
||||
flex: 2;
|
||||
}
|
||||
.titr{
|
||||
flex: 2;
|
||||
text-align: right;
|
||||
}
|
||||
.titr image{
|
||||
width: 15rpx;
|
||||
height: 33rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user