完成第一部分
This commit is contained in:
66
pages/personCenter/contactSuper/contactSuper.js
Normal file
66
pages/personCenter/contactSuper/contactSuper.js
Normal file
@ -0,0 +1,66 @@
|
||||
// pages/personCenter/contactSuper/contactSuper.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
3
pages/personCenter/contactSuper/contactSuper.json
Normal file
3
pages/personCenter/contactSuper/contactSuper.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
19
pages/personCenter/contactSuper/contactSuper.wxml
Normal file
19
pages/personCenter/contactSuper/contactSuper.wxml
Normal file
@ -0,0 +1,19 @@
|
||||
<view class="flex-col justify-start page">
|
||||
<view class="flex-row justify-between items-center section">
|
||||
<view class="flex-row items-end">
|
||||
<view class="flex-col shrink-0 group">
|
||||
<text class="self-start font text">cy</text>
|
||||
<text class="mt-16 self-start font text_2">微信号</text>
|
||||
<text class="mt-16 self-stretch font text_3">联系电话 15123967648</text>
|
||||
</view>
|
||||
<image
|
||||
class="shrink-0 image_2 ml-21"
|
||||
src="https://ide.code.fun/api/image?token=682eba294ae84d00123031c1&name=7a4d8e9d3ca535fbc208a7a4a1a3d82c.png"
|
||||
/>
|
||||
</view>
|
||||
<image
|
||||
class="image"
|
||||
src="https://ide.code.fun/api/image?token=682eba294ae84d00123031c1&name=0366154f820ca1234f392aee462ac535.png"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
43
pages/personCenter/contactSuper/contactSuper.wxss
Normal file
43
pages/personCenter/contactSuper/contactSuper.wxss
Normal file
@ -0,0 +1,43 @@
|
||||
.ml-21 {
|
||||
margin-left: 39.38rpx;
|
||||
}
|
||||
.page {
|
||||
padding: 43.13rpx 0 1346.25rpx;
|
||||
background-image: linear-gradient(180deg, #ff8d1a -7.3%, #ffffff00 33.5%);
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
.section {
|
||||
margin: 0 41.25rpx;
|
||||
padding: 33.75rpx 30rpx 60rpx;
|
||||
background-color: #ffead4;
|
||||
border-radius: 14.1rpx;
|
||||
}
|
||||
.group {
|
||||
width: 248.04rpx;
|
||||
}
|
||||
.font {
|
||||
font-size: 26.25rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
color: #000000;
|
||||
}
|
||||
.text {
|
||||
line-height: 20.76rpx;
|
||||
}
|
||||
.text_2 {
|
||||
line-height: 24.23rpx;
|
||||
}
|
||||
.text_3 {
|
||||
line-height: 31.88rpx;
|
||||
}
|
||||
.image_2 {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
.image {
|
||||
margin-right: 11.25rpx;
|
||||
width: 121.88rpx;
|
||||
height: 121.88rpx;
|
||||
}
|
Reference in New Issue
Block a user