Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
mini-shimao
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
be75e76d
authored
Aug 24, 2020
by
袁伟伦
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
2020-08-24
parent
63691b2e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
16 deletions
image/fail-icon.png
image/sh-icon.png
pages/activity-detail/activity-detail.wxml
pages/home/home.wxss
pages/mine/mine.js
pages/mine/mine.wxml
pages/mine/mine.wxss
image/fail-icon.png
0 → 100644
View file @
be75e76d
738 Bytes
image/sh-icon.png
0 → 100644
View file @
be75e76d
853 Bytes
pages/activity-detail/activity-detail.wxml
View file @
be75e76d
...
...
@@ -27,13 +27,13 @@
<text>活动时间</text>
<text>{{info.date}}</text>
</view>
<view
class="row align-c
">
<view
style="height:auto;" class="row
">
<text>活动地址</text>
<text>{{info.address}}</text>
<text
style="height:auto;"
>{{info.address}}</text>
</view>
<view class="row align-c">
<text>报名名额</text>
<text>{{info.quota}}</text>
<text>{{info.quota}}
人
</text>
</view>
</view>
<view class="detail-describe">
...
...
pages/home/home.wxss
View file @
be75e76d
...
...
@@ -253,13 +253,15 @@
}
.strategy-content .operation {
height: 320rpx;
/* height: 320rpx; */
margin: 0 40rpx;
padding-top: 230rpx;
/* padding-top: 230rpx; */
position: absolute;
bottom: 10rpx;
}
.strategy-content .operation text {
height: 40rpx;
/* height: 40rpx; */
font-size: 38rpx;
font-weight: 800;
color: #ffffff;
...
...
pages/mine/mine.js
View file @
be75e76d
...
...
@@ -199,9 +199,9 @@ Page({
let
state
=
res
.
data
.
state
*
1
// 0 待审核 1 审核通过 2 不通过
let
stateTest
=
'去认证'
switch
(
state
)
{
case
0
:
stateTest
=
'
待审核
'
;
break
;
case
0
:
stateTest
=
'
审核中
'
;
break
;
case
1
:
stateTest
=
'审核通过 '
;
break
;
case
2
:
stateTest
=
'
不通过
'
;
break
;
case
2
:
stateTest
=
'
审核失败
'
;
break
;
}
that
.
setData
({
type
:
state
==
1
?
1
:
0
,
...
...
pages/mine/mine.wxml
View file @
be75e76d
...
...
@@ -48,6 +48,8 @@
<text>享受业主尊贵特权,预定消费专属优惠</text>
</view>
<view class="status-operation row con-c align-c" bindtap="goApprove">
<image wx:if="{{stateTest == '审核失败'}}" src="/image/fail-icon.png"></image>
<image wx:if="{{stateTest == '审核中'}}" src="/image/sh-icon.png"></image>
<text>{{stateTest}}</text>
</view>
</view>
...
...
pages/mine/mine.wxss
View file @
be75e76d
...
...
@@ -33,27 +33,31 @@
width: 654rpx;
height: 130rpx;
padding: 24rpx 32rpx 24rpx 40rpx;
border-radius:
2
px;
background: linear-gradient(
#FBE9D0, #EBD3B2
);
border-radius:
4
px;
background: linear-gradient(
180deg,rgba(63,67,87,1) 0%,rgba(37,37,50,1) 100%
);
}
.status-symbol text:nth-child(1) {
font-size: 30rpx;
font-weight: bolder;
color:
#342512
;
color:
rgba(255,227,195,1)
;
}
.status-symbol text:nth-child(2) {
margin-top: 10rpx;
font-size: 22rpx;
color: #483522;
font-weight:300;
color: #F1DBBD;
}
.status-operation {
width: 1
10
rpx;
width: 1
76
rpx;
height: 52rpx;
border-radius: 2rpx;
border: 1px solid rgba(72, 53, 34, 1) !important;
border-radius: 4px;
/* border: 1px solid rgba(72, 53, 34, 1) !important; */
background:linear-gradient(180deg,rgba(255,243,227,1) 0%,rgba(255,227,195,1) 100%);
color: #282836;
font-size: 26rpx;
}
.status-operation text {
...
...
@@ -61,7 +65,11 @@
font-weight: bolder;
color: #483522;
}
.status-operation image{
width: 32rpx;
height: 32rpx;
margin-right: 8rpx;
}
.menu {
width: 750rpx;
margin-top: 38rpx;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment