Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c1c4afc1
authored
Apr 25, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
3a6b5de2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
tabDate/components/calendar/index.wxml
tabDate/components/calendar/index.wxss
tabDate/pages/apprManage/apprManage.js
tabDate/pages/index/index.wxss
tabDate/components/calendar/index.wxml
View file @
c1c4afc
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
</swiper> -->
</swiper> -->
<view class="flex-around flex-wrap calendar-main" style="height:{{swiperHeight}}rpx">
<view class="flex-around flex-wrap calendar-main" style="height:{{swiperHeight}}rpx">
<view wx:for="{{dateList1}}" wx:key="dateList" class="day">
<view wx:for="{{dateList1}}" wx:key="dateList" class="day">
<view class="bg {{item.full == today?'now':''}}
{{item.full == currentSelect ? 'select' : ''}} {{(item.year == selectDay.year && item.month == selectDay.month) ? (item.day === selectDay.day && oldCurrent === listIndex ?'select':''): 'other-month'}}
" catchtap="dayOnSelect" data-full="{{item.full}}" data-day="{{item.day}}" data-year="{{item.year}}" data-month="{{item.month}}">
<view class="bg {{item.full == today?'now':''}}" catchtap="dayOnSelect" data-full="{{item.full}}" data-day="{{item.day}}" data-year="{{item.year}}" data-month="{{item.month}}">
{{item.day}}
<view class="{{(item.year == selectDay.year && item.month == selectDay.month) ? (item.day === selectDay.day && oldCurrent === listIndex ?'select':''): 'other-month'}} {{item.full == currentSelect ? 'select' : ''}}">{{item.day}}</view>
<view wx:if="{{item.full == currentSelect}}" class="cur-txt">约{{item.inviteNum}}余{{item.remainNum}}</view>
<view wx:if="{{item.full == currentSelect}}" class="cur-txt">约{{item.inviteNum}}余{{item.remainNum}}</view>
<view wx:if="{{item.full != currentSelect && item.inviteNum > 0}}" class="invite-point">{{item.inviteNum}}</view>
<view wx:if="{{item.full != currentSelect && item.inviteNum > 0}}" class="invite-point">{{item.inviteNum}}</view>
</view>
</view>
...
...
tabDate/components/calendar/index.wxss
View file @
c1c4afc
...
@@ -166,9 +166,8 @@
...
@@ -166,9 +166,8 @@
}
}
.calendar .calendar-main .day .now {
.calendar .calendar-main .day .now {
width: 66rpx;
/* width: 66rpx; */
border-radius: 50%;
border-radius: 50%;
text-align: center;
color: #167FFF;
color: #167FFF;
margin: 0 auto;
margin: 0 auto;
}
}
...
@@ -182,8 +181,9 @@
...
@@ -182,8 +181,9 @@
margin: 0 auto;
margin: 0 auto;
}
}
.calendar .calendar-main .day .
select .
cur-txt {
.calendar .calendar-main .day .cur-txt {
display: flex;
display: flex;
justify-content: center;
height: 28rpx;
height: 28rpx;
align-items: center;
align-items: center;
font-size: 20rpx;
font-size: 20rpx;
...
...
tabDate/pages/apprManage/apprManage.js
View file @
c1c4afc
...
@@ -72,10 +72,10 @@ Page({
...
@@ -72,10 +72,10 @@ Page({
wx
.
hideLoading
()
wx
.
hideLoading
()
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
wx
.
$util
.
show
Loading
(
"预约成功"
)
wx
.
$util
.
show
Toast
(
"预约成功"
)
this
.
refresh
()
this
.
refresh
()
}
else
{
}
else
{
wx
.
$util
.
show
Loading
(
message
)
wx
.
$util
.
show
Toast
(
message
)
}
}
})
})
},
},
...
...
tabDate/pages/index/index.wxss
View file @
c1c4afc
...
@@ -24,11 +24,11 @@
...
@@ -24,11 +24,11 @@
height: 60rpx;
height: 60rpx;
}
}
.list .list-item {
/*
.list .list-item {
margin: 0 20rpx 20rpx;
margin: 0 20rpx 20rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx;
border-radius: 16rpx;
}
}
*/
.list .item .status {
.list .item .status {
background: none;
background: none;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment