From 6a08b50e424c95e164e2187a6586f86664ec7c77 Mon Sep 17 00:00:00 2001 From: taiyuan Date: Sat, 22 May 2021 10:49:35 +0800 Subject: [PATCH] 预约表格 --- packageA/pages/user/my_service2/appment_main.js | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ packageA/pages/user/my_service2/appment_main.json | 3 +++ packageA/pages/user/my_service2/appment_main.wxml | 2 ++ packageA/pages/user/my_service2/appment_main.wxss | 1 + packageB/pages/user/buyDetails/buyDetails.wxml | 2 +- packageB/pages/user/buyDetails/buyDetails.wxss | 59 ----------------------------------------------------------- 6 files changed, 73 insertions(+), 60 deletions(-) create mode 100644 packageA/pages/user/my_service2/appment_main.js create mode 100644 packageA/pages/user/my_service2/appment_main.json create mode 100644 packageA/pages/user/my_service2/appment_main.wxml create mode 100644 packageA/pages/user/my_service2/appment_main.wxss diff --git a/packageA/pages/user/my_service2/appment_main.js b/packageA/pages/user/my_service2/appment_main.js new file mode 100644 index 0000000..0f3039e --- /dev/null +++ b/packageA/pages/user/my_service2/appment_main.js @@ -0,0 +1,66 @@ +// packageA//pages/user/my_service2/appment_main.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/packageA/pages/user/my_service2/appment_main.json b/packageA/pages/user/my_service2/appment_main.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/packageA/pages/user/my_service2/appment_main.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/packageA/pages/user/my_service2/appment_main.wxml b/packageA/pages/user/my_service2/appment_main.wxml new file mode 100644 index 0000000..3be22de --- /dev/null +++ b/packageA/pages/user/my_service2/appment_main.wxml @@ -0,0 +1,2 @@ + +packageA//pages/user/my_service2/appment_main.wxml diff --git a/packageA/pages/user/my_service2/appment_main.wxss b/packageA/pages/user/my_service2/appment_main.wxss new file mode 100644 index 0000000..af9c849 --- /dev/null +++ b/packageA/pages/user/my_service2/appment_main.wxss @@ -0,0 +1 @@ +/* packageA//pages/user/my_service2/appment_main.wxss */ \ No newline at end of file diff --git a/packageB/pages/user/buyDetails/buyDetails.wxml b/packageB/pages/user/buyDetails/buyDetails.wxml index 57d7f7d..b519d3e 100644 --- a/packageB/pages/user/buyDetails/buyDetails.wxml +++ b/packageB/pages/user/buyDetails/buyDetails.wxml @@ -7,7 +7,7 @@ PLUS卡名 - {{item.CardName}}名名名名名名名名名名名名名名 + {{item.CardName}} 有效期 diff --git a/packageB/pages/user/buyDetails/buyDetails.wxss b/packageB/pages/user/buyDetails/buyDetails.wxss index 56e15a1..fa8d22b 100644 --- a/packageB/pages/user/buyDetails/buyDetails.wxss +++ b/packageB/pages/user/buyDetails/buyDetails.wxss @@ -19,65 +19,6 @@ page { background-color: #f0f0f0; } -.tab-title { - display: flex; - position: sticky; - background-color: white; - top: 0; - font-size: 30rpx; - z-index: 999; -} - -.tab-title::after { - position: absolute; - content: ''; - width: 2rpx; - height: 40%; - background-color: #f0f0f0; - top: 0; - bottom: 0; - left: 0; - right: 0; - margin: auto; -} - -.tab-title-item { - flex: 1; - text-align: center; - padding-top: 20rpx; - padding-bottom: 20rpx; - position: relative; -} - -.tab-title-item.active { - color: #FF6768; - font-weight: bold; - -} - -.tab-title-item::after { - position: absolute; - content: ''; - left: 100%; - bottom: 0; - width: 0; - border-bottom: 2rpx solid #FF6768; - /* height: 3rpx; */ - transition: 0.2s all linear; -} - -.tab-title-item.active::after { - /* left: 100%; */ - width: 100%; - left: 0; - /* background-color: #FF6768; */ - /* transition-delay: 0.1s; */ -} - -.tab-title-item.active ~ .tab-title-item::after { - /* width: 100%; */ - left: 0; -} .list { padding: 20rpx 20rpx 0 20rpx; -- libgit2 0.21.4