first commit
This commit is contained in:
1
衣莎项目/源码/YiShaXiYi/pages/housekeeping/.pydio
Normal file
1
衣莎项目/源码/YiShaXiYi/pages/housekeeping/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
33329dff-62e3-464f-b36e-a773302fcd41
|
||||
74
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.js
Normal file
74
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.js
Normal file
@@ -0,0 +1,74 @@
|
||||
// pages/housekeeping/housekeeping.js
|
||||
const app = getApp();
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
system: app.globalData.system, //设备相关信息
|
||||
pageTitle: "家政服务", //头部标题
|
||||
isBack: true,//显示返回
|
||||
},
|
||||
// 电话
|
||||
tel(){
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: '4000551071'
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
3
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.json
Normal file
3
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
61
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.wxml
Normal file
61
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.wxml
Normal file
@@ -0,0 +1,61 @@
|
||||
<!-- 头部导航 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
<!-- pages/housekeeping/housekeeping.wxml -->
|
||||
<view class="housekeeping">
|
||||
<view class="housekeeping-tit-img mt5">
|
||||
<image mode="widthFix" src="http://cdn.yishaxiyi.com/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190904134322.png" />
|
||||
</view>
|
||||
<view class="housekeeping-cen mt30">
|
||||
<view class="housekeeping-tit flex-con3">
|
||||
<view class="housekeeping-tit-p">家电家居清洗</view>
|
||||
</view>
|
||||
<view class="housekeeping-list">
|
||||
<view class="housekeeping-list-l flex1">
|
||||
<view class="tit-p">服务项目</view>
|
||||
<view class="hou-list mt10">
|
||||
<view class="hou-list-p mb20">挂式空调</view>
|
||||
<view class="hou-list-p mb20">柜式空调</view>
|
||||
<view class="hou-list-p mb20">滚筒/波轮洗衣机</view>
|
||||
<view class="hou-list-p mb20">单/双门冰箱</view>
|
||||
<view class="hou-list-p mb20">油烟机</view>
|
||||
<view class="hou-list-p mb20">皮沙发护理</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="housekeeping-list-r flex1">
|
||||
<view class="tit-p">服务价格</view>
|
||||
<view class="hou-list mt10">
|
||||
<view class="hou-list-p mb20">145元/台</view>
|
||||
<view class="hou-list-p mb20">170元/台</view>
|
||||
<view class="hou-list-p mb20">160元/台</view>
|
||||
<view class="hou-list-p mb20">140元/台</view>
|
||||
<view class="hou-list-p mb20">180元/台</view>
|
||||
<view class="hou-list-p mb20">115元/座(三座起)</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="housekeeping-cen mt30">
|
||||
<view class="housekeeping-tit flex-con3">
|
||||
<view class="housekeeping-tit-p">保洁服务</view>
|
||||
</view>
|
||||
<view class="housekeeping-list">
|
||||
<view class="housekeeping-list-l flex1">
|
||||
<view class="tit-p">服务项目</view>
|
||||
<view class="hou-list mt10">
|
||||
<view class="hou-list-p mb20">日常保洁</view>
|
||||
<view class="hou-list-p mb20">单独厨房</view>
|
||||
<view class="hou-list-p mb20">三居室2卫</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="housekeeping-list-r flex1">
|
||||
<view class="tit-p">服务价格</view>
|
||||
<view class="hou-list mt10">
|
||||
<view class="hou-list-p mb20">35元/小时</view>
|
||||
<view class="hou-list-p mb20">380元(3-4小时)</view>
|
||||
<view class="hou-list-p mb20">1350元(5-6小时)</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="btn" bind:tap="tel">电话预约</view>
|
||||
</view>
|
||||
68
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.wxss
Normal file
68
衣莎项目/源码/YiShaXiYi/pages/housekeeping/housekeeping.wxss
Normal file
@@ -0,0 +1,68 @@
|
||||
/* pages/housekeeping/housekeeping.wxss */
|
||||
page{
|
||||
background: url("http://cdn.yishaxiyi.com/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190904110656.png");
|
||||
}
|
||||
.housekeeping{
|
||||
height: 600rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.housekeeping-tit-img{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
.housekeeping-tit-img image{
|
||||
flex: 1;
|
||||
}
|
||||
.housekeeping-tit{
|
||||
width: 100%;
|
||||
}
|
||||
.housekeeping-tit-p{
|
||||
margin: 0 auto;
|
||||
padding: 9rpx 40rpx;
|
||||
background-color: #ffffff;
|
||||
font-family: PingFang-SC-Bold;
|
||||
font-size: 30rpx;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
color: #3c72fa;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.housekeeping-list{
|
||||
width: 567rpx;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
}
|
||||
.housekeeping-list-l,.housekeeping-list-r{
|
||||
text-align: center;
|
||||
}
|
||||
.tit-p{
|
||||
padding: 18rpx 0;
|
||||
font-family: PingFang-SC-Bold;
|
||||
font-size: 28rpx;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
color: #ffd502;
|
||||
border-bottom: 2rpx solid #7396ed;
|
||||
}
|
||||
.hou-list-p{
|
||||
font-family: PingFang-SC-Medium;
|
||||
font-size: 26rpx;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn{
|
||||
margin: 50rpx auto;
|
||||
width: 685rpx;
|
||||
height: 88rpx;
|
||||
text-align: center;
|
||||
line-height: 88rpx;
|
||||
background-color: #ffd502;
|
||||
border-radius: 10rpx;
|
||||
font-family: PingFang-SC-Medium;
|
||||
font-size: 36rpx;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
color: #000000;
|
||||
}
|
||||
Reference in New Issue
Block a user