Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
48b5d7a1
Commit
48b5d7a1
authored
Oct 21, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new pages
parent
ef16b869
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
887 additions
and
47 deletions
+887
-47
app.json
src/app.json
+3
-1
award.png
src/assets/imgs/shoppingGuide/award.png
+0
-0
project.config.json
src/project.config.json
+14
-1
enlistInfo.wxml
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.wxml
+76
-2
enlistInfo.wxss
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.wxss
+165
-2
guidCollegeInfo.json
...ppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.json
+2
-0
guidCollegeInfo.wxml
...ppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxml
+14
-1
guidCollegeInfo.wxss
...ppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxss
+38
-2
kpi.js
src/shoppingGuid/page/pages/kpi/kpi.js
+20
-1
kpi.wxml
src/shoppingGuid/page/pages/kpi/kpi.wxml
+2
-0
qrcode.js
src/shoppingGuid/page/pages/qrcode/qrcode.js
+67
-0
qrcode.json
src/shoppingGuid/page/pages/qrcode/qrcode.json
+4
-0
qrcode.wxml
src/shoppingGuid/page/pages/qrcode/qrcode.wxml
+2
-0
qrcode.wxss
src/shoppingGuid/page/pages/qrcode/qrcode.wxss
+2
-0
saleTaskInfo.js
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.js
+19
-20
saleTaskInfo.wxml
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml
+142
-1
saleTaskInfo.wxss
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss
+218
-2
userList.js
src/shoppingGuid/page/pages/userList/userList.js
+67
-0
userList.json
src/shoppingGuid/page/pages/userList/userList.json
+4
-0
userList.wxml
src/shoppingGuid/page/pages/userList/userList.wxml
+2
-0
userList.wxss
src/shoppingGuid/page/pages/userList/userList.wxss
+2
-0
welfare.js
src/shoppingGuid/page/pages/welfare/welfare.js
+22
-0
welfare.wxml
src/shoppingGuid/page/pages/welfare/welfare.wxml
+2
-14
No files found.
src/app.json
View file @
48b5d7a1
...
...
@@ -71,7 +71,9 @@
"pages/enlistInfo/enlistInfo"
,
"pages/guidCollegeInfo/guidCollegeInfo"
,
"pages/selectUsers/selectUsers"
,
"pages/userInfo/userInfo"
"pages/userInfo/userInfo"
,
"pages/qrcode/qrcode"
,
"pages/userList/userList"
]
}
],
...
...
src/assets/imgs/shoppingGuide/award.png
0 → 100644
View file @
48b5d7a1
289 Bytes
src/project.config.json
View file @
48b5d7a1
...
...
@@ -39,7 +39,7 @@
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
5
6
,
"current"
:
5
8
,
"list"
:
[
{
"id"
:
-1
,
...
...
@@ -415,7 +415,20 @@
"id"
:
-1
,
"name"
:
"扫码优惠页面"
,
"pathName"
:
"subPackage/page/pages/scanCoupon/scanCoupon"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"招募二维码"
,
"pathName"
:
"shoppingGuid/page/pages/qrcode/qrcode"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"标签下的会员列表"
,
"pathName"
:
"shoppingGuid/page/pages/userList/userList"
,
"query"
:
""
}
]
}
...
...
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.wxml
View file @
48b5d7a1
<!--shoppingGuid/page/pages/enlistInfo/enlistInfo.wxml-->
<text>shoppingGuid/page/pages/enlistInfo/enlistInfo.wxml</text>
<!--shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml-->
<view class='task-info-top-container'>
<view class='info-container'>
<view class='info-item'>
<view class='lf'>
<image src='/assets/imgs/shoppingGuide/kpi_task_time.png' mode='widthFix'></image>
<text>9月1日~10月1日</text>
</view>
<view class='rg'>活动说明?</view>
</view>
<view class='info-item'>
<view class='lf'>
<image src='/assets/imgs/shoppingGuide/kpi_task_name.png' mode='widthFix'></image>
<text class='bolder'>当月招募任务</text>
</view>
</view>
<view class='info-item'>
<view class='lf'>
<image src='/assets/imgs/shoppingGuide/award.png' mode='widthFix'></image>
<text class='bolder'>员工内部券*1,导购币100</text>
</view>
</view>
<!-- line -->
<view class='line'></view>
<!-- info-data -->
<view class='month'>
<view class='month-data'>
<view class='data-item'>
<text class='data-item-title'>当前完成(人)</text>
<text class='data-item-number'>113</text>
</view>
<view class='data-item'>
<text class='data-item-title'>当周目标(人)</text>
<text class='data-item-number'>100</text>
</view>
<view class='data-item'>
<text class='data-item-title'>完成率</text>
<text class='data-item-number'>100%</text>
</view>
</view>
</view>
</view>
</view>
<!-- 列表 -->
<view class='list'>
<view class='item'>
<view class='u-info'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/default_logo_icon.png' mode='aspectFit'></image>
<text>139xxxx2453</text>
</view>
<view class='item-btn'>立即回访</view>
</view>
<view class='item'>
<view class='u-info'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/default_logo_icon.png' mode='aspectFit'></image>
<text>139xxxx2453</text>
</view>
<view class='item-btn'>立即回访</view>
</view>
<view class='item'>
<view class='u-info'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/default_logo_icon.png' mode='aspectFit'></image>
<text>139xxxx2453</text>
</view>
<view class='item-btn'>立即回访</view>
</view>
</view>
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.wxss
View file @
48b5d7a1
/* shoppingGuid/page/pages/enlistInfo/enlistInfo.wxss */
\ No newline at end of file
/* shoppingGuid/page/pages/enlistInfo/enlistInfo.wxss */
/* shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss */
page{
background: #f2f2f2;
box-sizing: border-box;
-webkit-box-sizing: border-box;
font-size: 28rpx;
color: #333333;
}
view{
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.task-info-top-container{
width: 100%;
height: auto;
padding: 30rpx;
background: #ffffff;
padding-bottom: 0;
}
.task-info-top-container .info-container{
width: 100%;
height: auto;
box-shadow: 0 -4rpx 20rpx 2rpx rgba(0,0,0,0.1);
border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx;
padding: 30rpx;
}
.task-info-top-container .info-container .info-item{
width: 100%;
height: auto;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
}
.task-info-top-container .info-container .info-item .lf{
display: flex;
flex: 1;
align-items: center;
}
.task-info-top-container .info-container .info-item .lf image{
width: 24rpx;
margin-right: 10rpx;
}
.task-info-top-container .info-container .info-item .rg{
flex: 0;
min-width: 160rpx;
max-height: 160rpx;
height: 42rpx;
font-size: 20rpx;
color: #0091FF ;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
border: solid 2rpx #0091FF;
}
.task-info-top-container .info-container .info-item .rg:active{
background: #f2f2f2;
}
.bolder{
font-weight: bold;
}
.line{
width: 100%;
height: 2rpx;
background: #ddd;
margin: 20rpx 0;
}
/* 本月业绩 */
.month{
width: 100%;
background: #ffffff;
padding: 30rpx;
font-size: 28rpx;
padding-top: 20rpx;
}
.month .month-data{
display: flex;
}
.month .month-data .data-item{
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.month .month-data .data-item .data-item-title{
font-size: 24rpx;
color: #999999;
margin-bottom: 8rpx;
}
.month .month-data .data-item .data-item-number{
font-size: 40rpx;
color: #FA6400 ;
font-weight: 550;
}
/* list */
.list{
padding: 20rpx 30rpx;
width: 100%;
height: auto;
}
.list .item{
background: #ffffff;
padding: 20rpx 30rpx;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
/* border: solid 2rpx #ddd; */
border-radius: 10rpx;
box-shadow: 0 0 10rpx 4rpx rgba(0,0,0,0.1);
}
.list .item .u-info{
flex: 1;
display: flex;
align-items: center;
}
.list .item .u-info image{
width: 80rpx;
height: 80rpx;
border-radius: 50%;
margin-right: 10rpx;
}
.list .item .item-btn{
flex: 0;
min-width: 160rpx;
max-width: 160rpx;
height: 46rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 24rpx;
color: #333;
border: solid 2rpx #ddd;
border-radius: 23rpx;
}
.list .item .item-btn:active{
color: #0091FF;
border: solid 2rpx #0091FF;
}
src/shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.json
View file @
48b5d7a1
{
"navigationBarTitleText"
:
"导购学院详情"
,
"usingComponents"
:
{}
}
\ No newline at end of file
src/shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxml
View file @
48b5d7a1
<!--shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxml-->
<text>shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxml</text>
<view class='top-image'>
<!-- top image -->
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/daogou.jpg' mode='widthFix'></image>
</view>
<!-- 内容标题 -->
<view class='content-title'>商品陈列,还能这么玩?!</view>
<!-- 富文本内容展示区 -->
<view class='full-text'>
正文正文
从小丘向西走一百二十多步,隔着竹林,可以听到流水的声音,好像人身上佩带的珮环相互碰击发出的声音,心里十分高兴。砍倒竹子,开辟出一条道路(走过去),沿路走下去看见一个小潭,潭水格外清凉。小潭以整块石头为底,靠近岸边的地方,石底有些部分翻卷出来,露出水面,成为水中的高地,成为水中的小岛,成为水中的不平岩石,成为水中的悬崖。青翠的树木,翠绿的藤蔓,遮掩缠绕,摇动下垂,参差不齐,随风飘拂。潭中的鱼大约有一百来条,都好像在空中游动,什么依靠都没有,阳光直照(到水底),(鱼的)影子映在石头上。呆呆地(停在那里)一动不动,忽然间(又)向远处游去了,来来往往,轻快敏捷,好像和游玩的人互相取乐。向小石潭的西南方望去,看到溪水像北斗星那样曲折,水流像蛇那样蜿蜒前行,一段明的看得见,一段暗的看不见。
两岸的地势像狗的牙齿那样相互交错,不能知道溪水的源头。我坐在潭边,四下里竹林和树木包围着,寂静寥落,空无一人。使人感到心情凄凉,寒气入骨,幽静深远,弥漫着忧伤的气息。因为这里的环境太凄清,不可长久停留,于是记下了这里的情景就离开了。
一同去游览的人有:吴武陵,龚古,我的弟弟宗玄。跟着同去的有姓崔的两个年轻人:一个名叫恕己,一个名叫奉壹。
</view>
src/shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxss
View file @
48b5d7a1
/* shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxss */
\ No newline at end of file
/* shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo.wxss */
page{
background: #ffffff;
box-sizing: border-box;
-webkit-box-sizing: border-box;
padding-bottom: 30rpx;
font-size: 28rpx;
color: #333333;
}
.top-image{
width: 100%;
height: auto;
}
view{
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.top-image image{
width: 100%;
}
.content-title{
width: 100%;
padding: 0 30rpx;
font-size: 28rpx;
color: #333333;
font-weight: bold;
margin-top: 10rpx;
margin-bottom: 30rpx;
}
.full-text{
padding: 0 30rpx;
}
src/shoppingGuid/page/pages/kpi/kpi.js
View file @
48b5d7a1
...
...
@@ -13,7 +13,7 @@ wxService.page({
// { name: '维护任务', type: 4, isActive: false }
],
current
:
1
,
list
:
[{
},{},{},{},{},{},{},{
}]
list
:
[{
id
:
1
,},{
id
:
2
},{
id
:
3
},{
id
:
4
},{
id
:
5
},{
id
:
6
},{
id
:
7
},{
id
:
8
}]
},
/**
...
...
@@ -48,6 +48,25 @@ wxService.page({
current
:
this
.
data
.
current
});
},
//销售任务item点击事件
onTapToSaleTaskInfo
(
e
){
let
item
=
e
.
currentTarget
.
dataset
.
item
;
let
id
=
item
.
id
;
wx
.
navigateTo
({
url
:
'/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo?id='
+
id
,
});
},
//招募任务item点击事件
onTapToInviteTaskInfo
(
e
){
let
item
=
e
.
currentTarget
.
dataset
.
item
;
let
id
=
item
.
id
;
wx
.
navigateTo
({
url
:
'/shoppingGuid/page/pages/enlistInfo/enlistInfo?id='
+
id
,
});
},
/**
* 页面相关事件处理函数--监听用户下拉动作
...
...
src/shoppingGuid/page/pages/kpi/kpi.wxml
View file @
48b5d7a1
...
...
@@ -20,6 +20,7 @@
wx:for="{{list}}"
wx:for-index="idx"
wx:key="listItem"
bindtap='onTapToSaleTaskInfo'
data-item="{{item}}"
wx:for-item="item">
<view class='status-bar'>
...
...
@@ -48,6 +49,7 @@
wx:for="{{list}}"
wx:for-index="idx"
wx:key="listItem"
bindtap='onTapToInviteTaskInfo'
data-item="{{item}}"
wx:for-item="item">
<view class='status-bar'>
...
...
src/shoppingGuid/page/pages/qrcode/qrcode.js
0 → 100644
View file @
48b5d7a1
// shoppingGuid/page/pages/qrcode/qrcode.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
src/shoppingGuid/page/pages/qrcode/qrcode.json
0 → 100644
View file @
48b5d7a1
{
"usingComponents"
:
{}
}
\ No newline at end of file
src/shoppingGuid/page/pages/qrcode/qrcode.wxml
0 → 100644
View file @
48b5d7a1
<!--shoppingGuid/page/pages/qrcode/qrcode.wxml-->
<text>shoppingGuid/page/pages/qrcode/qrcode.wxml</text>
src/shoppingGuid/page/pages/qrcode/qrcode.wxss
0 → 100644
View file @
48b5d7a1
/* shoppingGuid/page/pages/qrcode/qrcode.wxss */
\ No newline at end of file
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.js
View file @
48b5d7a1
// shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.js
Page
({
const
wxService
=
require
(
'../../../../utils/wxService'
)
wxService
.
page
({
/**
* 页面的初始数据
*/
data
:
{
navBar
:
[{
name
:
'线上订单'
,
type
:
1
,
isActive
:
true
},
{
name
:
'线下订单'
,
type
:
2
,
isActive
:
false
}],
current
:
1
,
},
/**
...
...
@@ -16,32 +18,29 @@ Page({
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
:
function
()
{
// 点击事件
onTopBarTap
(
e
){
let
index
=
e
.
currentTarget
.
dataset
.
index
,
item
=
e
.
currentTarget
.
dataset
.
item
;
this
.
data
.
navBar
.
forEach
(
nav
=>
{
nav
.
isActive
=
false
;
});
this
.
data
.
navBar
[
index
].
isActive
=
true
;
this
.
data
.
current
=
this
.
data
.
navBar
[
index
].
type
;
this
.
setData
({
navBar
:
this
.
data
.
navBar
,
current
:
this
.
data
.
current
});
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
:
function
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
...
...
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml
View file @
48b5d7a1
<!--shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml-->
<text>shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml</text>
<view class='task-info-top-container'>
<view class='info-container'>
<view class='info-item'>
<view class='lf'>
<image src='/assets/imgs/shoppingGuide/kpi_task_time.png' mode='widthFix'></image>
<text>9月1日~10月1日</text>
</view>
<view class='rg'>活动说明?</view>
</view>
<view class='info-item'>
<view class='lf'>
<image src='/assets/imgs/shoppingGuide/kpi_task_name.png' mode='widthFix'></image>
<text class='bolder'>当月招募任务</text>
</view>
</view>
<view class='info-item'>
<view class='lf'>
<image src='/assets/imgs/shoppingGuide/award.png' mode='widthFix'></image>
<text class='bolder'>员工内部券*1,导购币100</text>
</view>
</view>
<!-- line -->
<view class='line'></view>
<!-- info-data -->
<view class='month'>
<view class='month-data'>
<view class='data-item'>
<text class='data-item-title'>当前完成(人)</text>
<text class='data-item-number'>113</text>
</view>
<view class='data-item'>
<text class='data-item-title'>当周目标(人)</text>
<text class='data-item-number'>100</text>
</view>
<view class='data-item'>
<text class='data-item-title'>完成率</text>
<text class='data-item-number'>100%</text>
</view>
</view>
</view>
</view>
</view>
<!-- 订单筛选 -->
<view class='order-filter'>
<view
class='filter-item {{item.isActive ? "active" : ""}}'
wx:for="{{navBar}}"
wx:key="topbar"
wx:for-index="idx"
bindtap='onTopBarTap'
data-index="{{idx}}"
data-item="{{item}}"
wx:for-item="item">{{item.name}}</view>
</view>
<!-- 线上订单 -->
<view class='list online-order' wx:if="{{current == 1}}">
<view class='order-item'>
<view class='order-status'>
<text>订单号 7878327513490</text>
<text>待付款</text>
</view>
<view class='products-list'>
<view class='pro-item'>
<image mode='aspectFit' src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/1571636466%281%29.jpg'></image>
</view>
</view>
<view class='order-pro-info'>
<label>共5件商品</label>
<view>
实付 <label class='theme-text-color bolder'>¥385</label>
</view>
</view>
</view>
<view class='order-item'>
<view class='order-status'>
<text>订单号 7878327513490</text>
<text>待付款</text>
</view>
<view class='products-list'>
<view class='pro-item'>
<image mode='aspectFit' src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/1571636466%281%29.jpg'></image>
</view>
</view>
<view class='order-pro-info'>
<label>共5件商品</label>
<view>
实付 <label class='theme-text-color bolder'>¥385</label>
</view>
</view>
</view>
</view>
<!-- 线下订单 -->
<view class='list offline-order' wx:if="{{current == 2}}">
<!-- -->
<view class='offline-order-item'>
<view class='items'>
<label>上海-张江高科店</label>
<view>
实付 <text class='theme-text-color bolder'>¥380 </text>
</view>
</view>
<view class='items'>
<text>消费时间 2019/09/09</text>
</view>
</view>
<view class='offline-order-item'>
<view class='items'>
<label>上海-张江高科店</label>
<view>
实付 <text class='theme-text-color bolder'>¥380 </text>
</view>
</view>
<view class='items'>
<text>消费时间 2019/09/09</text>
</view>
</view>
<view class='offline-order-item'>
<view class='items'>
<label>上海-张江高科店</label>
<view>
实付 <text class='theme-text-color bolder'>¥380 </text>
</view>
</view>
<view class='items'>
<text>消费时间 2019/09/09</text>
</view>
</view>
</view>
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss
View file @
48b5d7a1
/* shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss */
\ No newline at end of file
/* shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss */
page{
background: #f2f2f2;
box-sizing: border-box;
-webkit-box-sizing: border-box;
font-size: 28rpx;
color: #333333;
}
view{
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.task-info-top-container{
width: 100%;
height: auto;
padding: 30rpx;
background: #ffffff;
padding-bottom: 0;
}
.task-info-top-container .info-container{
width: 100%;
height: auto;
box-shadow: 0 -4rpx 20rpx 2rpx rgba(0,0,0,0.1);
border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx;
padding: 30rpx;
}
.task-info-top-container .info-container .info-item{
width: 100%;
height: auto;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
}
.task-info-top-container .info-container .info-item .lf{
display: flex;
flex: 1;
align-items: center;
}
.task-info-top-container .info-container .info-item .lf image{
width: 24rpx;
margin-right: 10rpx;
}
.task-info-top-container .info-container .info-item .rg{
flex: 0;
min-width: 160rpx;
max-height: 160rpx;
height: 42rpx;
font-size: 20rpx;
color: #0091FF ;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
border: solid 2rpx #0091FF;
}
.task-info-top-container .info-container .info-item .rg:active{
background: #f2f2f2;
}
.bolder{
font-weight: bold;
}
.line{
width: 100%;
height: 2rpx;
background: #ddd;
margin: 20rpx 0;
}
/* 本月业绩 */
.month{
width: 100%;
background: #ffffff;
padding: 30rpx;
font-size: 28rpx;
padding-top: 20rpx;
}
.month .month-data{
display: flex;
}
.month .month-data .data-item{
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.month .month-data .data-item .data-item-title{
font-size: 24rpx;
color: #999999;
margin-bottom: 8rpx;
}
.month .month-data .data-item .data-item-number{
font-size: 40rpx;
color: #FA6400 ;
font-weight: 550;
}
/* 订单筛选 */
.order-filter{
width: 100%;
height: 80rpx;
background: #ffffff;
display: flex;
align-items: center;
box-shadow: 0 -4rpx 20rpx 4rpx rgba(0,0,0,0.1);
padding: 16rpx 0;
}
.order-filter .filter-item{
flex: 1;
display: flex;
align-items: center;
height: 100%;
justify-content: center;
border-left: solid 2rpx #ddd;
}
.order-filter .filter-item:first-child{
border-left: none;
}
.order-filter .filter-item.active{
color: #0091FF;
}
/* 线上线下订单 */
.list{
width: 100%;
height: auto;
padding: 30rpx;
}
.online-order .order-item{
width: 100%;
height: auto;
padding: 20rpx 30rpx;
background: #ffffff;
border-radius: 10rpx;
border: solid 2rpx #ddd;
color: #999999;
margin-bottom: 20rpx;
}
.online-order .order-item .order-status{
display: flex;
align-items: center;
justify-content: space-between;
padding:0 20rpx;
padding-bottom: 20rpx;
border-bottom: solid 2rpx #ddd;
}
.online-order .order-item .products-list{
width: 100%;
height: auto;
display: flex;
padding: 20rpx 0;
overflow: hidden;
overflow-x: auto;
}
.online-order .order-item .products-list .pro-item{
width: 100rpx;
height: 100rpx;
border: solid 1px #eee;
padding: 10rpx;
margin-right: 20rpx;
}
.online-order .order-item .products-list .pro-item image{
width: 100%;
height: 100%;
}
.online-order .order-item .order-pro-info{
display: flex;
justify-content: space-between;
align-items: center;
}
/* 线下订单 */
.offline-order .offline-order-item{
padding: 20rpx 30rpx;
background: #ffffff;
border-radius: 10rpx;
border: solid 2rpx #ddd;
color: #999999;
margin-bottom: 20rpx;
}
.offline-order .offline-order-item .items{
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.offline-order .offline-order-item .items label{
color: #333333;
}
\ No newline at end of file
src/shoppingGuid/page/pages/userList/userList.js
0 → 100644
View file @
48b5d7a1
// shoppingGuid/page/pages/userList/userList.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
src/shoppingGuid/page/pages/userList/userList.json
0 → 100644
View file @
48b5d7a1
{
"usingComponents"
:
{}
}
\ No newline at end of file
src/shoppingGuid/page/pages/userList/userList.wxml
0 → 100644
View file @
48b5d7a1
<!--shoppingGuid/page/pages/userList/userList.wxml-->
<text>shoppingGuid/page/pages/userList/userList.wxml</text>
src/shoppingGuid/page/pages/userList/userList.wxss
0 → 100644
View file @
48b5d7a1
/* shoppingGuid/page/pages/userList/userList.wxss */
\ No newline at end of file
src/shoppingGuid/page/pages/welfare/welfare.js
View file @
48b5d7a1
...
...
@@ -45,6 +45,28 @@ wxService.page({
current
:
this
.
data
.
current
});
},
//跳转导购学院详情
onTapToGuidCollegeInfo
(
e
){
let
id
=
22
;
wx
.
navigateTo
({
url
:
'/shoppingGuid/page/pages/guidCollegeInfo/guidCollegeInfo?id='
+
id
,
});
},
//定向发送优惠券
onTapToSendConpon
(
e
){
let
id
=
22
;
wx
.
navigateTo
({
url
:
'/shoppingGuid/page/pages/selectUsers/selectUsers?id='
+
id
,
});
},
//立即推荐商品给用户
onTapToRecommandProduct
(
e
){
let
id
=
22
;
wx
.
navigateTo
({
url
:
'/shoppingGuid/page/pages/selectUsers/selectUsers?id='
+
id
,
});
},
/**
* 页面相关事件处理函数--监听用户下拉动作
...
...
src/shoppingGuid/page/pages/welfare/welfare.wxml
View file @
48b5d7a1
...
...
@@ -14,19 +14,7 @@
<!-- 导购 -->
<view class='guid' wx:if="{{current == 1}}">
<view class='guid-item'>
<image src='https://xiedemo.oss-cn-shanghai.aliyuncs.com/walfare_defalut_cover.jpg' mode='widthFix'></image>
<view class='guid-item-title'>
客户进店第一句话要怎么展开快看这里!客户进店第一句话要怎么展开快看这里!客户进店第一句话要怎么展开快看这里!
</view>
</view>
<view class='guid-item'>
<image src='https://xiedemo.oss-cn-shanghai.aliyuncs.com/walfare_defalut_cover.jpg' mode='widthFix'></image>
<view class='guid-item-title'>
客户进店第一句话要怎么展开快看这里!客户进店第一句话要怎么展开快看这里!客户进店第一句话要怎么展开快看这里!
</view>
</view>
<view class='guid-item'>
<view class='guid-item' bindtap='onTapToGuidCollegeInfo'>
<image src='https://xiedemo.oss-cn-shanghai.aliyuncs.com/walfare_defalut_cover.jpg' mode='widthFix'></image>
<view class='guid-item-title'>
客户进店第一句话要怎么展开快看这里!客户进店第一句话要怎么展开快看这里!客户进店第一句话要怎么展开快看这里!
...
...
@@ -126,7 +114,7 @@
<view class='text-btn'>
<text class='theme-text-color'>查看详情</text>
</view>
<button class='info-btn'>定向发送</button>
<button class='info-btn'
bindtap='onTapToSendConpon'
>定向发送</button>
</view>
</view>
</view>
...
...
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