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
b4df4b55
Commit
b4df4b55
authored
May 25, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改字段
parent
01523d75
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
95 additions
and
142 deletions
+95
-142
app.json
src/app.json
+2
-1
confirmOrder.js
src/pages/confirmOrder/confirmOrder.js
+1
-1
productDetail.js
src/pages/productDetail/productDetail.js
+1
-2
userCenter.wxml
src/pages/userCenter/userCenter.wxml
+2
-2
project.config.json
src/project.config.json
+7
-0
liveSubscrib.js
...bPackageMarketing/page/pages/liveSubscrib/liveSubscrib.js
+67
-0
liveSubscrib.json
...ackageMarketing/page/pages/liveSubscrib/liveSubscrib.json
+8
-0
liveSubscrib.wxml
...ackageMarketing/page/pages/liveSubscrib/liveSubscrib.wxml
+5
-0
liveSubscrib.wxss
...ackageMarketing/page/pages/liveSubscrib/liveSubscrib.wxss
+2
-0
app.wxss
src/subPackageMarketing/page/pages/scratchRule/app.wxss
+0
-136
No files found.
src/app.json
View file @
b4df4b55
...
...
@@ -121,7 +121,8 @@
"pages"
:
[
"pages/scratch/scratch"
,
"pages/scratchRule/scratchRule"
,
"pages/sign/sign"
"pages/sign/sign"
,
"pages/liveSubscrib/liveSubscrib"
]
}
],
...
...
src/pages/confirmOrder/confirmOrder.js
View file @
b4df4b55
...
...
@@ -55,7 +55,7 @@ wxService.page({
couponDiscountPreviews
:
[],
coouponDiscount
:
0
,
//积分抵扣
pointDeductOpen
:
tru
e
,
//是否开启积分抵扣
pointDeductOpen
:
fals
e
,
//是否开启积分抵扣
deductCheckStatus
:
false
,
//是否勾选使用积分抵扣
pointDeductRuleShow
:
false
,
//是否显示积分抵扣规则
pointDeductRuleUrl
:
''
,
//积分规则说明
...
...
src/pages/productDetail/productDetail.js
View file @
b4df4b55
...
...
@@ -215,10 +215,9 @@ wxService.page({
title
:
'领取中..'
,
});
wxService
.
post
(
`/
coupon/coupon/drawBatch
`
,{
wxService
.
post
(
`/
marketing/couponActivitySet/getCoupon
`
,{
couponSettingId
:
item
.
id
,
memberId
:
memberId
,
storeId
:
''
,
}).
then
(
res
=>
{
wx
.
hideLoading
();
if
(
res
.
data
.
result
==
0
){
...
...
src/pages/userCenter/userCenter.wxml
View file @
b4df4b55
...
...
@@ -67,9 +67,9 @@
plugid='{{contactUsPluginId}}' />
</view>
<!-- 加入群聊 -->
<view class="chat-group" wx:if="{{!isQiye && contactUsIsOpen}}" >
<
!-- <
view class="chat-group" wx:if="{{!isQiye && contactUsIsOpen}}" >
<chat-cell bind:startmessage='chatStartMessage' bind:completemessage="chatCompletemessage" plugid='89412d66cf1d2fd26a9d175ba2902a18'/>
</view>
</view>
-->
<!-- 联系我点击成功之后的回调 -->
<contact-us-modal contactShow="{{contactUsModal}}"/>
...
...
src/project.config.json
View file @
b4df4b55
...
...
@@ -720,6 +720,13 @@
"pathName"
:
"subPackageMarketing/page/pages/sign/sign"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"直播订阅"
,
"pathName"
:
"subPackageMarketing/page/pages/liveSubscrib/liveSubscrib"
,
"query"
:
"room_id=8"
,
"scene"
:
null
}
]
}
...
...
src/subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.js
0 → 100644
View file @
b4df4b55
// subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.js
const
wxService
=
require
(
'../../../../utils/wxService'
)
const
utils
=
require
(
'../../../../utils/util'
)
import
{
Integer
}
from
'../../../../utils/integerDigitalConvertion'
const
app
=
getApp
();
let
livePlayer
=
requirePlugin
(
'live-player-plugin'
)
wxService
.
page
({
/**
* 页面的初始数据
*/
data
:
{
room_id
:
''
,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
console
.
log
(
options
)
this
.
data
.
room_id
=
options
.
room_id
;
this
.
setData
({
room_id
:
this
.
data
.
room_id
});
livePlayer
.
getLiveStatus
({
room_id
:
this
.
data
.
room_id
}).
then
(
res
=>
{
console
.
log
(
res
)
})
setTimeout
(()
=>
{
wx
.
createSelectorQuery
().
select
(
'.live-player-subscribe__btn'
).
boundingClientRect
().
exec
((
res
)
=>
{
console
.
log
(
res
)
});
},
1000
);
},
//点击事件
onTapDoSubscrib
(
e
){
console
.
log
(
e
)
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
})
\ No newline at end of file
src/subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.json
0 → 100644
View file @
b4df4b55
{
"disableScroll"
:
true
,
"navigationBarTitleText"
:
"直播订阅"
,
"usingComponents"
:
{
"subscribe"
:
"plugin-private://wx2b03c6e691cd7370/components/subscribe/subscribe"
}
}
\ No newline at end of file
src/subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.wxml
0 → 100644
View file @
b4df4b55
<!--subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.wxml-->
<view catchtap="onTapDoSubscrib" id="parent" class="parent">
<subscribe room-id="{{room_id}}" id="child"></subscribe>
</view>
src/subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.wxss
0 → 100644
View file @
b4df4b55
/* subPackageMarketing/page/pages/liveSubscrib/liveSubscrib.wxss */
\ No newline at end of file
src/subPackageMarketing/page/pages/scratchRule/app.wxss
deleted
100644 → 0
View file @
01523d75
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
.wpl {
white-space:pre-line;
}
/* 主题色 */
.theme-color {
background-color: #cb3c3c;
}
.theme-text-color {
color: #cb3c3c;
}
.empty{
width: 100%;
height: 200rpx;
display: flex;
color: #999999;
justify-content: center;
align-items: center;
font-size: 24rpx;
}
.no-more-data{
width: 100%;
height: auto;
padding: 20rpx 0;
display: flex;
color: #999999;
justify-content: center;
align-items: center;
font-size: 24rpx;
}
/* 按钮样式 */
.btn {
width: 100%;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
border-radius: 0;
}
.btn:active {
opacity: 0.5;
}
.btn-default {
background: none;
color: #808080;
border: 1px solid #808080;
}
.btn-primary {
background-color: #cb3c3c;
color: #ffffff;
border: 1px solid #cb3c3c;
font-size: 25rpx;
}
.btn-gray {
background-color: #959595;
color: #ffffff;
border: 1px solid #959595;
font-size: 25rpx;
}
.btn-outline {
background: none;
color: #cb3c3c;
}
.clear-btn{
appearance: none;
border: none;
background: transparent;
margin: 0;
}
.positionRe{
position: relative;
}
.positionAbs{
position: absolute;
z-index: 2;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
/* 按钮大小 */
.btn-xs {
height: 39rpx;
line-height: 39rpx;
}
.btn-sm {
height: 46rpx;
line-height: 46rpx;
}
.btn-lg {
height: 88rpx;
line-height: 88rpx;
}
.fixed-bottom0 {
position: fixed;
bottom: 0;
width: 100%;
z-index: 9999;
}
.pr {
float: right;
}
.df {
display: flex;
align-items: center;
justify-content: center;
}
/*文字居中*/
.tc {
text-align: center;
}
.df-1 {
flex: 1;
}
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