Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 23bc7baa
authored
Oct 14, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交申请活动
1 parent
1aa93c6c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
309 additions
and
1 deletions
app.json
packageActivity/pages/applyActivity/index.js
packageActivity/pages/applyActivity/index.json
packageActivity/pages/applyActivity/index.scss
packageActivity/pages/applyActivity/index.wxml
app.json
View file @
23bc7ba
...
...
@@ -50,7 +50,8 @@
"pages/visitor/visitor"
,
"pages/order/order"
,
"pages/taskDetail/taskDetail"
,
"pages/warReport/warReport"
"pages/warReport/warReport"
,
"pages/applyActivity/index"
]
},
{
...
...
packageActivity/pages/applyActivity/index.js
0 → 100644
View file @
23bc7ba
Page
({
data
:
{
list
:
[
{
name
:
'新车洽谈场景'
,
tip
:
'1.0 新车权益销售'
,
},
{
name
:
'新车交付场景'
,
tip
:
'1.1 新车精品升级'
,
},
{
name
:
'0-12个月'
,
tip
:
'1.2 新车线上转化'
,
},
{
name
:
'12个月以上'
,
tip
:
'1.3 存量用户众筹'
,
},
],
currentIndex
:
0
,
product
:
[
{
id
:
0
,
name
:
'360全景导航'
,
isSelect
:
false
},
{
id
:
0
,
name
:
'360全景导航'
,
isSelect
:
false
},
{
id
:
0
,
name
:
'360全景导航'
,
isSelect
:
false
},
{
id
:
0
,
name
:
'360全景导航'
,
isSelect
:
false
},
{
id
:
0
,
name
:
'360全景导航'
,
isSelect
:
false
}
]
},
select
(
e
)
{
const
{
index
}
=
e
.
currentTarget
.
dataset
this
.
setData
({
currentIndex
:
index
})
},
selectProduct
(
e
)
{
const
{
item
,
index
}
=
e
.
currentTarget
.
dataset
let
name
=
`product[
${
index
}
].isSelect`
this
.
setData
({
[
name
]:
!
item
.
isSelect
})
}
})
\ No newline at end of file
packageActivity/pages/applyActivity/index.json
0 → 100644
View file @
23bc7ba
{
"usingComponents"
:
{},
"navigationBarTitleText"
:
"申请活动"
}
\ No newline at end of file
packageActivity/pages/applyActivity/index.scss
0 → 100644
View file @
23bc7ba
page
{
background
:
white
;
}
.container
{
position
:
relative
;
}
.pos_wrap
{
position
:
absolute
;
left
:
24rpx
;
top
:
336rpx
;
}
.wrapper
{
width
:
calc
(
100%
-
48rpx
);
background
:
#FFFFFF
;
box-shadow
:
0
12rpx
24rpx
0
rgba
(
106
,
126
,
204
,
0
.12
);
border-radius
:
24rpx
;
padding
:
32rpx
0
;
.title
{
box-sizing
:
border-box
;
padding
:
0
32rpx
32rpx
32rpx
;
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#9E9EA8
;
.txt
{
color
:
#1B233D
;
}
}
.titleSign
{
box-sizing
:
border-box
;
padding
:
0
32rpx
;
.lineTip
{
width
:
6rpx
;
height
:
28rpx
;
transform
:
rotate
(
-180deg
);
background
:
#4466F0
;
border-radius
:
8rpx
8rpx
0
0
;
margin-right
:
18rpx
;
}
.label
{
font-weight
:
500
;
font-size
:
32rpx
;
color
:
#1B233D
;
line-height
:
56rpx
;
}
}
.sinceTitle
{
font-weight
:
500
;
font-size
:
28rpx
;
color
:
#323436
;
margin-top
:
24rpx
;
margin-bottom
:
32rpx
;
box-sizing
:
border-box
;
padding-left
:
32rpx
;
}
.widget
{
box-sizing
:
border-box
;
padding
:
0
16rpx
;
.element
{
width
:
154rpx
;
height
:
180rpx
;
background
:
#F7F8FA
;
border-radius
:
16rpx
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
border
:
2rpx
solid
#F7F8FA
;
.icon
{
width
:
56rpx
;
height
:
56rpx
;
margin-top
:
20rpx
;
}
.name
{
font-size
:
24rpx
;
color
:
#323436
;
line-height
:
44rpx
;
font-weight
:
500
;
}
.tip
{
font-size
:
18rpx
;
color
:
#8A8C90
;
line-height
:
24rpx
;
}
.active_color
{
color
:
#4466F0
;
}
}
.active
{
background-image
:
linear-gradient
(
145deg
,
#E6E6FF
0%
,
#FFFFFF
73%
);
border
:
2rpx
solid
#4466F0
;
.triangle-down
{
width
:
0
;
height
:
0
;
border-left
:
18rpx
solid
transparent
;
border-right
:
18rpx
solid
transparent
;
border-top
:
15rpx
solid
#4466F0
;
position
:
absolute
;
left
:
50%
;
bottom
:
-14rpx
;
transform
:
translateX
(
-50%
);
}
// .triangle-down_temp {
// width: 0;
// height: 0;
// border-left: 15rpx solid transparent;
// border-right: 15rpx solid transparent;
// border-top: 13rpx solid white;
// position: absolute;
// left: 50%;
// bottom: -13rpx;
// transform: translateX(-50%);
// }
}
}
.title_tip
{
font-weight
:
500
;
font-size
:
28rpx
;
color
:
#323436
;
margin
:
48rpx
0
32rpx
32rpx
;
.tips
{
font-weight
:
400
;
font-size
:
22rpx
;
color
:
#323436
;
}
}
.product_wrap
{
box-sizing
:
border-box
;
padding
:
0
32rpx
;
flex-wrap
:
wrap
;
.box
{
width
:
33
.33%
;
box-sizing
:
border-box
;
padding-right
:
12rpx
;
}
.element
{
width
:
100%
;
height
:
60rpx
;
background
:
#F5F6FA
;
border-radius
:
12rpx
;
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#323436
;
line-height
:
44rpx
;
margin-bottom
:
20rpx
;
border
:
1rpx
solid
#F5F6FA
;
}
.active
{
background
:
rgba
(
71
,
106
,
250
,
0
.09
);
border
:
1rpx
solid
#6A84F0
;
border-radius
:
12rpx
;
color
:
#4466F0
;
font-weight
:
500
;
}
}
}
.btn
{
width
:
622rpx
;
height
:
88rpx
;
background-image
:
linear-gradient
(
-60deg
,
#556AF5
0%
,
#7197FF
100%
);
border-radius
:
20rpx
;
font-weight
:
500
;
font-size
:
32rpx
;
color
:
#FFFFFF
;
margin
:
64rpx
0
64rpx
40rpx
;
}
\ No newline at end of file
packageActivity/pages/applyActivity/index.wxml
0 → 100644
View file @
23bc7ba
<view class="container">
<image mode="widthFix" class="topBg" src="{{IMGURL}}apply_active_bg.png" />
<view class="pos_wrap">
<view class="wrapper">
<view class="title">
<text>开通门店:</text>
<text class="txt">嘀加辉鹏奥迪4s店</text>
</view>
<view class="titleSign flex_sc">
<view class="lineTip"></view>
<view class="label">开通门店活动产品/活动</view>
</view>
<view class="sinceTitle">业务场景</view>
<view class="widget flex_scb">
<block wx:for="{{list}}" wx:key="index">
<view bind:tap="select" data-index="{{index}}" class="element {{currentIndex==index?'active':''}}">
<image mode="widthFix" class="icon" src="{{IMGURL}}apply_activity_icon_{{index+1}}.png" />
<view class="name {{currentIndex==index?'active_color':''}}">
{{item.name}}
</view>
<view class="tip {{currentIndex==index?'active_color':''}}">
{{item.tip}}
</view>
<view class="triangle-down"></view>
<!-- <view class="triangle-down_temp"></view> -->
</view>
</block>
</view>
<view class="title_tip">
产品/活动
<text class="tips">(可多选)</text>
</view>
<view class="product_wrap flex_sc">
<block wx:for="{{product}}" wx:key="index">
<view class="box">
<view bind:tap="selectProduct" data-index="{{index}}" data-item="{{item}}" class="element flex_cc {{item.isSelect?'active':''}}">
{{item.name}}
</view>
</view>
</block>
</view>
</view>
<view class="btn flex_cc">申请开通</view>
</view>
</view>
\ No newline at end of file
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