首页 > 小程序教程 > 微信小程序家政清洁详细业务预约样式设计制作开发教程

微信小程序家政清洁详细业务预约样式设计制作开发教程

上一篇 下一篇
本文给大家带来的是微信小程序家政清洁详细业务预约样式设计制作开发教程,制作好以后效果图如下:
一、wxml页面代码如下:
<view class="containerbox">
  <image class="background" src="https://s1.ayibang.com/static/h5/6.4/css/img/cblimg1_782ac7b.jpg"></image>
  <view class="wrap">
  <view class="button flex-hor">
    <text class="price">130元起</text>
    <button bindtap="choose">立即预约</button>
  </view>
  <view class="kind bgc flex-hor">
    <text class="notvip">
      非会员价
    </text>
    <text class="vip">
      会员价
    </text>
  </view>
  <view class="kind area flex-hor">
    <text class="notvip">
      14.3元/平米,143元起
    </text>
    <text class="vip">
      13元/平米,130元起
    </text>
  </view>
  <view class="chongzhi" bindtap="chongzhi">立即充值享会员优惠>></view>
  <view class="warn">
    <text class="info">温馨提示:</text>
    <text class="info">1.10平米起,不足按10平米计,玻璃面积(含窗框)以实际测量为准;</text>
    <text class="info">2.此为个人家庭用户价格,企业用户请通过企业服务通道预约,切勿在此界面预约。</text>
  </view>
  <view class="introduce">
    <text class="info title">业务介绍</text>
    <text class="info">阿姨帮平台服务商使用专业工具配合清洁剂,为您提供安全、高效的擦玻璃服务。该服务包含窗框、窗槽、纱窗的清尘和除垢,以及内外玻璃擦拭。建议每季度预约1次擦玻璃服务,晴天效果更佳。</text>
    <image src="https://s1.ayibang.com/static/h5/6.4/css/img/cblnew1_e794d66.png"></image>
  </view>
  <view class="problems">
    <text class="look">常见问题</text>
    <text class="link">></text>
  </view>
  <view class="telephone">
    <text class="hot">全国客服热线</text>
    <text class="num">010-80697370</text>
  </view>
  </view>
</view>
 
二、wxss样式文件代码如下:
.containerbox{
  width: 100%;
  min-height: 100%;
}
.wrap{
  width: 95%;
  margin: 0 auto;
  box-sizing: border-box;
}
.background{
  width: 100%;
}
.button{
  width: 100%;
  height: 50px;
  color:#00beaf;
}
.flex-hor{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
}
.button .price{
  flex:1;
}
.button button{
  display: inline-block;
  width: 100px;
  color: #fff;
  background-color: #00beaf;
  border-radius: 4px;
}
.kind{
  width: 100%;
  color: #000;
  font-size: 16px;
  text-align: center;
}
.bgc{
  margin-top: 10px;
  background-color: #f8f8f8;
  padding-bottom: 15px;
  box-sizing: border-box;
}
.notvip,.vip{
  flex:1;
}
.chongzhi{
  width: 100%;
  text-align: center;
  color: #00beaf;
  margin-top: 20px;
  margin-bottom: 20px;
}
.warn{
  width: 100%;
  color: #999;
  font-size: 14px;
}
.warn .info{
  display: block;
  margin-bottom: 10px;
}
.introduce{
  width: 100%;
}
.introduce .info{
  display: block;
  font-size: 18px;
}
.introduce .title{
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f8f8f8;
  padding:10px 0;
  box-sizing: border-box;
}
.introduce image{
  width: 100%;
}
.problems{
  margin-top: 20px;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  color: #000;
  font-weight: 400;

}
.problems .look{
  flex: 1px;
}
.telephone{
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.telephone .hot{
  color:#999;
  font-size: 18px;
}
.telephone .num{
  font-size: 24px;
  color: #00beaf;
}
三、js页面代码如下:
var app=getApp();
Page({
  choose:function(e){
    wx.navigateTo({
      url:'../setting/index'
    })
  }
})

模板简介:该模板名称为【微信小程序家政清洁详细业务预约样式设计制作开发教程】,大小是,文档格式为.,推荐使用打开,作品中的图片,文字等数据均可修改,图片请在作品中选中图片替换即可,文字修改直接点击文字修改即可,您也可以新增或修改作品中的内容,该模板来自用户分享,如有侵权行为请联系网站客服处理。欢迎来懒人模板【小程序教程】栏目查找您需要的精美模板。

相关搜索
  • 下载密码 lanrenmb
  • 下载次数 18,961次
  • 使用软件
  • 文件格式
  • 文件大小
  • 上传时间 07-01
  • 作者 网友投稿
  • 肖像权 人物画像及字体仅供参考
栏目分类 更多 >
热门推荐 更多 >
微信模板 单页式简历模板 自适应 企业网站 微信公众平台 微信素材 html5 微信文章 微信图片 响应式
您可能会喜欢的其他模板