commit
1fb735ebcd
Binary file not shown.
Binary file not shown.
@ -1,40 +1,41 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/MainTest/MainTest",
|
||||
"pages/Msg/msg",
|
||||
"pages/Profile/profile",
|
||||
"pages/Tprofile/Tprofile",
|
||||
"pages/Comments/Comments"
|
||||
],
|
||||
"window": {
|
||||
"backgroundColor": "#FFF",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#FFF",
|
||||
"navigationBarTitleText": "家教帮",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/MainTest/MainTest",
|
||||
"text": "main",
|
||||
"iconPath": "images/main.png",
|
||||
"selectedIconPath": "images/main_on.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/Msg/msg",
|
||||
"text": "msg",
|
||||
"iconPath": "images/msg.png",
|
||||
"selectedIconPath": "images/msg_on.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/Profile/profile",
|
||||
"text": "profile",
|
||||
"iconPath": "images/profile.png",
|
||||
"selectedIconPath": "images/profile_on.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"style": "v2"
|
||||
{
|
||||
"pages": [
|
||||
"pages/Main/main",
|
||||
"pages/Msg/msg",
|
||||
"pages/Profile/profile",
|
||||
"pages/Tprofile/Tprofile",
|
||||
"pages/Comments/Comments",
|
||||
"pages/Order/order"
|
||||
],
|
||||
"window": {
|
||||
"backgroundColor": "#FFF",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#FFF",
|
||||
"navigationBarTitleText": "家教帮",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/Main/main",
|
||||
"text": "main",
|
||||
"iconPath": "images/main.png",
|
||||
"selectedIconPath": "images/main_on.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/Order/order",
|
||||
"text": "msg",
|
||||
"iconPath": "images/msg.png",
|
||||
"selectedIconPath": "images/msg_on.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/Profile/profile",
|
||||
"text": "profile",
|
||||
"iconPath": "images/profile.png",
|
||||
"selectedIconPath": "images/profile_on.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"style": "v2"
|
||||
}
|
Before Width: | Height: | Size: 328 KiB |
Before Width: | Height: | Size: 181 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 8.4 KiB |
@ -0,0 +1,66 @@
|
||||
// pages/Detailed/detailed.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<!--pages/Detailed/detailed.wxml-->
|
||||
<text>pages/Detailed/detailed.wxml</text>
|
@ -0,0 +1 @@
|
||||
/* pages/Detailed/detailed.wxss */
|
@ -0,0 +1,71 @@
|
||||
// pages/Order/order.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
},
|
||||
changeTab(e) {
|
||||
const index = e.currentTarget.dataset.index;
|
||||
this.setData({
|
||||
currentTab: parseInt(index)
|
||||
});
|
||||
},
|
||||
})
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
/* pages/Order/order.wxss */
|
||||
|
||||
.tab{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background-color: #838d9e;
|
||||
height: 45px;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.tab-item{
|
||||
font-size: 25px;
|
||||
}
|
||||
.content-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border: rgb(151, 68, 68);
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.image{
|
||||
width: 50%;
|
||||
height: 300rpx;
|
||||
object-fit: cover;
|
||||
border-radius: 10rpx 0 0 10rpx;
|
||||
border: 2rpx solid #ccc; /* 添加框线样式 */
|
||||
}
|
||||
|
||||
.reserved {
|
||||
width: 90%;
|
||||
/* height: 10%; */
|
||||
margin: 10rpx auto;
|
||||
padding: 25rpx;
|
||||
background-color: #83acc4;
|
||||
border-radius: 10rpx;
|
||||
box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
Loading…
Reference in new issue