first commit
This commit is contained in:
1
衣莎项目/源码/YiShaXiYi/pages/activity/.pydio
Normal file
1
衣莎项目/源码/YiShaXiYi/pages/activity/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
dcb6de4c-4acf-44f4-a3df-b431363897a4
|
||||
86
衣莎项目/源码/YiShaXiYi/pages/activity/activity.js
Normal file
86
衣莎项目/源码/YiShaXiYi/pages/activity/activity.js
Normal file
@@ -0,0 +1,86 @@
|
||||
// pages/activity/activity.js
|
||||
const app = getApp();
|
||||
const regeneratorRuntime = app.loadAsync()
|
||||
const model = app.loadModel("index")
|
||||
const http = app.loadHttp()
|
||||
const util = app.loadUtils('util')
|
||||
const { StorageSync } = app.loadModel("getSetting")
|
||||
const storage = new StorageSync()
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
system: app.globalData.system, //设备相关信息
|
||||
pageTitle: "伊莎洗衣", //头部标题
|
||||
isBack: true,//显示返回
|
||||
},
|
||||
|
||||
enterAppointment() {
|
||||
wx.navigateTo({
|
||||
url: '/user/appointment/appointment?from=2',
|
||||
})
|
||||
},
|
||||
LifeNet() {
|
||||
wx.navigateTo({
|
||||
url: '/user/appointment/appointment?from=3',
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
3
衣莎项目/源码/YiShaXiYi/pages/activity/activity.json
Normal file
3
衣莎项目/源码/YiShaXiYi/pages/activity/activity.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
16
衣莎项目/源码/YiShaXiYi/pages/activity/activity.wxml
Normal file
16
衣莎项目/源码/YiShaXiYi/pages/activity/activity.wxml
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- 头部导航 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
|
||||
<view class="content">
|
||||
<image class="header" src="/static/img/header_back.png" mode="widthFix"></image>
|
||||
<view class="list">
|
||||
<view class="list-item one">
|
||||
<text class="texts">万家热线预约</text>
|
||||
<view class="enter" bindtap="enterAppointment">点击进入</view>
|
||||
</view>
|
||||
<view class="list-item two">
|
||||
<text class="texts">生活网预约入口</text>
|
||||
<view class="enter" bindtap="LifeNet">点击进入</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
52
衣莎项目/源码/YiShaXiYi/pages/activity/activity.wxss
Normal file
52
衣莎项目/源码/YiShaXiYi/pages/activity/activity.wxss
Normal file
@@ -0,0 +1,52 @@
|
||||
/* pages/activity/activity.wxss */
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 135rpx;
|
||||
}
|
||||
.list-item {
|
||||
width: 670rpx;
|
||||
height: 280rpx;
|
||||
border-radius: 25rpx;
|
||||
margin: 0 auto;
|
||||
margin-top: 50rpx;
|
||||
position: relative;
|
||||
}
|
||||
.one {
|
||||
background-color: #e10606;
|
||||
}
|
||||
.two {
|
||||
background-color: #3286e7;
|
||||
}
|
||||
.line {
|
||||
position: absolute;
|
||||
left: 40rpx;
|
||||
top: 40rpx;
|
||||
width: 38rpx;
|
||||
height: 5rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.texts {
|
||||
position: absolute;
|
||||
font-family: SourceHanSansCN-Regular;
|
||||
font-size: 46rpx;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
letter-spacing: 0rpx;
|
||||
color: #ffffff;
|
||||
left: 40rpx;
|
||||
top: 64rpx;
|
||||
}
|
||||
.enter {
|
||||
width: 160rpx;
|
||||
height: 60rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
font-family: SourceHanSansCN-Regular;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
line-height: 60rpx;
|
||||
color: #000000;
|
||||
position: absolute;
|
||||
right: 40rpx;
|
||||
bottom: 40rpx
|
||||
}
|
||||
Reference in New Issue
Block a user