Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
拼
拼时代
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
拼时代
Commits
562a197a
Commit
562a197a
authored
Mar 26, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addxx
parent
dfa4cac4
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
133 additions
and
51 deletions
+133
-51
pages/aboutus/aboutcontent/aboutcontent.wxml
pages/aboutus/aboutcontent/aboutcontent.wxml
+1
-1
pages/aboutus/aboutusnav/aboutusnav.wxml
pages/aboutus/aboutusnav/aboutusnav.wxml
+4
-4
pages/index/index.js
pages/index/index.js
+34
-2
pages/lmping/hometwo/hometwo.js
pages/lmping/hometwo/hometwo.js
+15
-7
pages/lmping/hometwo/hometwo.wxml
pages/lmping/hometwo/hometwo.wxml
+21
-10
pages/lmping/hometwo/hometwo.wxss
pages/lmping/hometwo/hometwo.wxss
+4
-0
pages/lmping/order/order.wxml
pages/lmping/order/order.wxml
+2
-2
pages/lmping/pushcard/pushcard.js
pages/lmping/pushcard/pushcard.js
+4
-4
pages/lmping/pushcard/pushcard.wxml
pages/lmping/pushcard/pushcard.wxml
+1
-1
pages/lmping/signin/signin.wxml
pages/lmping/signin/signin.wxml
+4
-4
pages/lmping/user/user.js
pages/lmping/user/user.js
+36
-1
pages/shop/shops/weidian/ping_details/ping_details.js
pages/shop/shops/weidian/ping_details/ping_details.js
+0
-13
pages/withdraw/withdraw.wxml
pages/withdraw/withdraw.wxml
+1
-1
utils/request.js
utils/request.js
+6
-1
No files found.
pages/aboutus/aboutcontent/aboutcontent.wxml
View file @
562a197a
...
...
@@ -3,7 +3,7 @@
<view class='background'>
<view class='content-top-one'>
<view class='content-top-one-t'>
悦想拼
大家都在拼!越拼越想拼!
悦想拼
是一款颠覆传统电商的经济模型平台。将打造2021年最具影响力的网络电商平台。商品垂直化,亲民化,让你在趣味中享受拼团购物,并且让你的参与价值化。
</view>
</view>
</view>
\ No newline at end of file
pages/aboutus/aboutusnav/aboutusnav.wxml
View file @
562a197a
...
...
@@ -25,15 +25,15 @@
<view class="xiayouimg"><image src="{{clientImgPath}}/images/wm/zh_fanhui @2x.png"></image></view>
</navigator>
<view class="xian mt-20 mb-20"></view>
<view class="ali-z" bindtap="callTel" data-tel="{{site.tel?site.tel:'
15397918467
'}}">
<view class="ali-z" bindtap="callTel" data-tel="{{site.tel?site.tel:'
400-807-3023
'}}">
<view >客服电话</view>
<view >{{site.tel?site.tel:
15397918467
}}</view>
<view >{{site.tel?site.tel:
'400-807-3023'
}}</view>
</view>
<view class="xian mt-20 mb-20"></view>
<
!-- <
view class="xian mt-20 mb-20"></view>
<view class="ali-z" bindtap="callTel" data-tel="400-807-3023">
<view >招商电话</view>
<view >400-807-3023</view>
</view>
</view>
-->
</view>
</view>
...
...
pages/index/index.js
View file @
562a197a
...
...
@@ -220,6 +220,38 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
let
userInfo
=
wx
.
getStorageSync
(
'
userInfo
'
);
let
user_id
=
""
;
let
title
=
``
;
if
(
userInfo
.
info
){
user_id
=
userInfo
.
info
.
user_id
;
title
=
`
${
userInfo
.
info
.
nickname
}
喊你:一起来拼团,越拼越想拼`
}
else
{
title
=
'
一起来拼团,越拼越想拼
'
;
}
return
{
title
:
title
,
path
:
"
/pages/index/index
"
,
imageUrl
:
this
.
data
.
clientImgPath
+
'
/images/lmping/pshareimgs.jpg?1=
'
+
Math
.
random
()
}
},
/**
* 分享朋友圈
*/
onShareTimeline
()
{
let
userInfo
=
wx
.
getStorageSync
(
'
userInfo
'
);
let
title
=
``
;
let
user_id
=
""
;
if
(
userInfo
.
info
){
title
=
`
${
userInfo
.
info
.
nickname
}
喊你: 一起来拼团,越拼越想拼。`
user_id
=
userInfo
.
info
.
user_id
}
else
{
title
=
'
一起来拼团,越拼越想拼。
'
;
}
return
{
title
:
title
,
query
:
"
shareuid=
"
+
user_id
,
imageUrl
:
this
.
data
.
clientImgPath
+
'
/images/lmping/pshareimgs.jpg?1=
'
+
Math
.
random
()
}
},
})
\ No newline at end of file
pages/lmping/hometwo/hometwo.js
View file @
562a197a
...
...
@@ -49,6 +49,21 @@ Page({
thisYMD
:
`
${
year
}
-
${
MM
}
-
${
DD
}
`
,
})
},
//进入商品详情
todetailes
(
e
){
// console.info(e,"eee");
let
item
=
e
.
currentTarget
.
dataset
.
item
;
if
(
item
.
timestate
==
2
){
wx
.
showToast
({
title
:
'
很抱歉此产品开团时间已结束,不可继续参团。
'
,
icon
:
"
none
"
})
return
;
}
wx
.
navigateTo
({
url
:
`/pages/shop/shops/weidian/ping_details/ping_details?goods_id=
${
item
.
goods_id
}
&group_id=
${
item
.
group_id
}
&rentersum=
${
item
.
is_join
}
&ppj=
${
item
.
spell_price
}
`
,
})
},
//通过字符串小时 获取当前时间戳
getdatetime
(
strtime
){
var
date
=
new
Date
();
...
...
@@ -153,11 +168,4 @@ Page({
onReachBottom
:
function
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
})
\ No newline at end of file
pages/lmping/hometwo/hometwo.wxml
View file @
562a197a
...
...
@@ -8,27 +8,36 @@
<empty wx:if="{{goodslist.length==0}}"></empty>
<!-- style="padding-top:{{statusBarHeight+20}}px;" -->
<view class="pingheads"
>
<view class="pingheads">
<!-- <image class="headsimg" src="{{clientImgPath}}/images/lmping/pinghead.png" mode=""></image> -->
<!-- 产品列表 -->
<view class="projuctlists"
wx:for="{{goodslist}}" wx:key="index" wx:key="index">
<view class="projuctlists" wx:for="{{goodslist}}" wx:key="index" wx:key="index">
<view class="prosheadbox">
<view class="titboxsd">
<image class="proshead" src="{{clientImgPath}}/images/lmping/groupbgs.png" mode=""></image>
<image class="proshead" src="{{clientImgPath}}/images/lmping/groupbgs.png
?1=1
" mode=""></image>
<view class="pingttexts">{{item.end_time1}}场次</view>
<!-- 悦想拼产品{{pronum[index]}} -->
</view>
</view>
<view class="promains">
<navigator hover-class="none"
url="/pages/shop/shops/weidian/ping_details/ping_details?goods_id={{item.goods_id}}&group_id={{item.group_id}}&rentersum={{item.is_join}}&ppj={{item.spell_price}}" class="pingproitme "
>
<view bindtap="todetailes" data-item="{{item}}" hover-class="none" class="pingproitme ">
<view class="flex">
<view class="zuboxs flex jus-b flex1">
<text class="statusdd">开团时间:{{thisYMD}} {{item.end_time1}}</text>
<view wx:if="{{item.timestate==2}}" class="zuboxs flex jus-b flex1">
<text class="statusdd">已结束</text>
<view class="flex ali-c">
<text class="mr-5 tiemsdd">开始时间:{{item.start_time1}}</text>
<text class="mr-5 tiemsdd">-</text>
<text class="tiemsdd">结束时间:{{item.end_time1}}</text>
</view>
</view>
<view wx:else class="zuboxs flex jus-b flex1">
<text class="statusdd">开团时间:{{thisYMD}} {{item.end_time1}}</text>
</view>
<!-- <text class="mr-20">开始时间:{{item.start_time}}</text>
<text>结束时间:{{item.end_time}}</text> -->
...
...
@@ -72,12 +81,14 @@
</view>
<view class="pings flex ali-c jus-b">
<text class="count">{{item.is_join}}人正在拼</text>
<view class="pingbtns">马上拼</view>
<view wx:if="{{item.timestate==2}}" class="pingbtns pingbtns1">已结束</view>
<view wx:if="{{item.timestate!=2}}" class="pingbtns">马上拼</view>
</view>
</view>
</view>
</
navigator
>
</
view
>
</view>
</view>
...
...
pages/lmping/hometwo/hometwo.wxss
View file @
562a197a
...
...
@@ -127,6 +127,10 @@
font-size: 32rpx;
}
.pings .pingbtns1{
background: linear-gradient(247deg, #bfa0a2, #000000);
}
.lmphomepagestwo{
background-color: #F4F4F4;
...
...
pages/lmping/order/order.wxml
View file @
562a197a
...
...
@@ -5,7 +5,7 @@
<view class="flex ali-c">
<view class="tabsitem flex w1005">
<view class="title flex1 {{classid == 0?'activetwo':''}}" data-id='0' style="" bindtap="changeClass">
正在
拼
团
正在
参
团
</view>
<view class="title flex1 {{classid == 2?'activetwo':''}}" data-id='2' bindtap="changeClass">
拼团成功
...
...
@@ -27,7 +27,7 @@
<image class="titsicons" src="{{clientImgPath}}/images/lmping/ordertis.png" mode=""></image>
</view>
<view class="ordertisline flex ali-c jus-b" wx:if="{{classid == 1}}" >
<view class="tistitle tistitle11">很抱歉拼团失败,您的资金已存放到拼团余额;平台额外奖励你2元佣金,可前往
我的账单
查看。</view>
<view class="tistitle tistitle11">很抱歉拼团失败,您的资金已存放到拼团余额;平台额外奖励你2元佣金,可前往
参团收益
查看。</view>
</view>
<view class="flex ali-c " bindtap="clickitems">
<image class="ptthumbnail"
...
...
pages/lmping/pushcard/pushcard.js
View file @
562a197a
...
...
@@ -25,7 +25,7 @@ Page({
canvasId
:
'
default_PosterCanvasId
'
,
// 二维码
cpSize
:
1
8
5
,
cpSize
:
1
4
5
,
result
:
""
,
secret_key
:
""
,
//邀请码
...
...
@@ -80,8 +80,8 @@ Page({
drawQrcode
({
// width: 140,
// height: 140,
width
:
1
8
0
,
height
:
1
8
0
,
width
:
1
4
0
,
height
:
1
4
0
,
x
:
5
,
y
:
5
,
canvasId
:
'
tki-qrcode-canvas
'
,
...
...
@@ -227,7 +227,7 @@ Page({
// 生成海报
shareFc
()
{
try
{
let
backgroundImage
=
this
.
data
.
clientImgPath
+
"
/images/lmping/pushcardbgs.png
"
;
let
backgroundImage
=
this
.
data
.
clientImgPath
+
"
/images/lmping/pushcardbgs.png
?1=1
"
;
// let backgroundImage = "https://s3.ax1x.com/2021/03/13/6dVyUx.png";
let
username
=
this
.
data
.
userInfo
.
nickname
;
//"小谢安静安静爱家居";//this.userInfo.nickname
let
resdata
=
this
.
cutStrByte
(
username
,
10
);
...
...
pages/lmping/pushcard/pushcard.wxml
View file @
562a197a
...
...
@@ -24,7 +24,7 @@
</view>
<view class="dowlonadbtn">
<view class="buttons" bindtap="saveImage" >保存至相册</view>
<view
wx:if="{{poster.finalPath}}"
class="buttons" bindtap="saveImage" >保存至相册</view>
<!-- bindtap="saveImage" shareFc-->
</view>
...
...
pages/lmping/signin/signin.wxml
View file @
562a197a
...
...
@@ -46,8 +46,8 @@
<view class="signirule">
<view class="siginitext">签到规则:</view>
<view class="siginitext">1、
静态参与(消费者最终可享受免费使用产品)消费者唯一做的就是每天签到,领取悦想券参与自动拼团;
</view>
<view class="siginitext">2、签到即获得5个悦想券,
由此取得参与拼团资格每次拼团
消耗1个悦想券。</view>
<view class="siginitext">1、
个人参与(消费者可少花钱或不花钱享受优质产品礼包)消费者需要每天自愿签到,领取悦想劵参与自动拼团。
</view>
<view class="siginitext">2、签到即获得5个悦想券,
即可获得参团资格,每参团一次
消耗1个悦想券。</view>
</view>
...
...
@@ -57,8 +57,8 @@
<view class="msgsinfopup">
<view class="texbody">
<view class="tetxmsg tetxmsg_h2">签到规则:</view>
<view class="tetxmsg">1、
静态参与(消费者最终可享受免费使用产品)消费者唯一做的就是每天签到,领取悦想券参与自动拼团;
</view>
<view class="tetxmsg">2、签到即获得5个悦想券,
由此取得参与拼团资格每次拼团
消耗1个悦想券。</view>
<view class="tetxmsg">1、
个人参与(消费者可少花钱或不花钱享受优质产品礼包)消费者需要每天自愿签到,领取悦想劵参与自动拼团。
</view>
<view class="tetxmsg">2、签到即获得5个悦想券,
即可获得参团资格,每参团一次
消耗1个悦想券。</view>
</view>
<image bindtap="onClosetwo" class="closeicon" src="{{clientImgPath}}/images/images/colse.png" mode=""></image>
</view>
...
...
pages/lmping/user/user.js
View file @
562a197a
...
...
@@ -242,6 +242,41 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
let
userInfo
=
wx
.
getStorageSync
(
'
userInfo
'
);
let
user_id
=
""
;
let
title
=
``
;
if
(
userInfo
.
info
){
user_id
=
userInfo
.
info
.
user_id
;
title
=
`
${
userInfo
.
info
.
nickname
}
喊你:一起来拼团,越拼越想拼`
}
else
{
title
=
'
一起来拼团,越拼越想拼
'
;
}
return
{
title
:
title
,
path
:
"
/pages/index/index
"
,
imageUrl
:
this
.
data
.
clientImgPath
+
'
/images/lmping/pshareimgs.jpg?1=
'
+
Math
.
random
()
}
},
/**
* 分享朋友圈
*/
onShareTimeline
()
{
let
userInfo
=
wx
.
getStorageSync
(
'
userInfo
'
);
let
title
=
``
;
let
user_id
=
""
;
if
(
userInfo
.
info
){
title
=
`
${
userInfo
.
info
.
nickname
}
喊你: 一起来拼团,越拼越想拼。`
user_id
=
userInfo
.
info
.
user_id
}
else
{
title
=
'
一起来拼团,越拼越想拼。
'
;
}
return
{
title
:
title
,
query
:
"
shareuid=
"
+
user_id
,
imageUrl
:
this
.
data
.
clientImgPath
+
'
/images/lmping/pshareimgs.jpg?1=
'
+
Math
.
random
()
}
},
}
})
\ No newline at end of file
pages/shop/shops/weidian/ping_details/ping_details.js
View file @
562a197a
...
...
@@ -231,19 +231,6 @@ Page({
}
})
},
//分享朋友
onShareAppMessage
()
{
return
{
}
},
// 分享到朋友圈
onShareTimeline
()
{
return
{
// title: this.data.goods.title.substring(0, 25),
// imageUrl: this.data.staticUrl + '' + this.data.imgUrls[0].photo
}
},
/**
* 生命周期函数--监听页面加载
*/
...
...
pages/withdraw/withdraw.wxml
View file @
562a197a
...
...
@@ -69,7 +69,7 @@
</view>
<view class="sz_24 inp_hui mt-30" style="color:#f64f15">
提现规则:500元以下预计秒到;500元以上T+1到账;节假日顺延;提现时间为:8:00—21:00;提现最低额度为:
0.32
元;每日最多提现三次,提现间隔最少15分钟一次。
提现规则:500元以下预计秒到;500元以上T+1到账;节假日顺延;提现时间为:8:00—21:00;提现最低额度为:
50
元;每日最多提现三次,提现间隔最少15分钟一次。
<view>
提现手续费:个人提现5%。
</view>
...
...
utils/request.js
View file @
562a197a
...
...
@@ -38,7 +38,12 @@ export default function request(api, method, data, {noAuth = false, noVerify = f
if
(
noVerify
)
reslove
(
res
.
data
||
''
,
res
);
else
if
(
res
.
data
.
code
==
-
10800
||
res
.
data
.
code
==
-
99999
)
{
wx
.
clearStorageSync
();
//清除缓存
// wx.clearStorageSync();//清除缓存
wx
.
removeStorageSync
(
'
token
'
)
wx
.
removeStorageSync
(
'
cache_key
'
)
wx
.
removeStorageSync
(
'
userInfo
'
)
wx
.
removeStorageSync
(
'
user_id
'
)
reject
(
res
.
data
);
}
else
if
(
res
.
data
.
code
!==
false
){
...
...
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