Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
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
459f530b
authored
Sep 11, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
c6076631
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
100 additions
and
51 deletions
pages/person/certification/certificationmanage/index.js
pages/person/certification/certificationmanage/index.wxml
pages/person/invitation/index.js
pages/person/invitation/index.less
pages/person/invitation/index.wxml
pages/person/invitation/index.wxss
pages/person/withdrawal/index.js
pages/person/withdrawal/index.wxml
project.config.json
utils/api.js
pages/person/certification/certificationmanage/index.js
View file @
459f530b
...
...
@@ -10,7 +10,8 @@ Page({
* 页面的初始数据
*/
data
:
{
authinfo
:
{}
authinfo
:
{},
isShowTip
:
true
},
/**
...
...
@@ -19,9 +20,9 @@ Page({
onLoad
:
function
(
options
)
{
http
.
getData
(
apis
.
authInfo
,
'GET'
,
null
,
(
res
)
=>
{
if
(
res
.
errcode
==
0
)
{
this
.
setData
({
authInfo
:
res
.
data
});
...
...
@@ -72,28 +73,33 @@ Page({
onReachBottom
:
function
()
{
},
closeTip
:
function
()
{
this
.
setData
({
isShowTip
:
false
})
},
/**
* 跳转认证信息
*/
toUrl
:
function
(
e
)
{
if
(
e
.
target
.
dataset
.
type
==
1
)
{
if
(
e
.
target
.
dataset
.
type
==
1
)
{
wx
.
navigateTo
({
url
:
e
.
target
.
dataset
.
url
+
'?id='
+
e
.
target
.
dataset
.
id
,
success
:
(
result
)
=>
{
url
:
e
.
target
.
dataset
.
url
+
'?id='
+
e
.
target
.
dataset
.
id
,
success
:
(
result
)
=>
{
}
});
}
else
if
(
e
.
target
.
dataset
.
type
==
2
)
{
}
else
if
(
e
.
target
.
dataset
.
type
==
2
)
{
wx
.
navigateTo
({
url
:
e
.
target
.
dataset
.
url
,
success
:
(
result
)
=>
{
success
:
(
result
)
=>
{
}
});
}
else
if
(
e
.
target
.
dataset
.
type
==
3
)
{
}
else
if
(
e
.
target
.
dataset
.
type
==
3
)
{
wx
.
switchTab
({
url
:
e
.
target
.
dataset
.
url
url
:
e
.
target
.
dataset
.
url
});
}
}
...
...
pages/person/certification/certificationmanage/index.wxml
View file @
459f530b
<view class="certification" hover-class="none" hover-stop-propagation="false">
<view class="prompt boxsiz row verCenter bothSide">
<view>
<text class="icon iconfont iconiconxiantiaoshouji12"></text>
<text class="t1">请如实填写认证信息,不符合的认证将被拒绝</text>
</view>
<view>
<text class="icon iconfont iconiconxiantiaoshouji13"></text>
<view class="tip row bothSide verCenter {{isShowTip?'':'noheight'}}">
<view class="tip-left row verCenter">
<text class="icon iconfont iconiconxiantiaoshouji12 tip-icon"></text>
<text class="tip-c">请如实填写认证信息,不符合的认证将被拒绝</text>
</view>
<text class="icon iconfont iconiconxiantiaoshouji13 close-icon" bindtap="closeTip"></text>
</view>
<view class="content">
<text class="time">更新时间:{{authInfo.update_time}}</text>
...
...
pages/person/invitation/index.js
View file @
459f530b
...
...
@@ -10,7 +10,8 @@ Page({
* 页面的初始数据
*/
data
:
{
invitesInfo
:
{}
invitesInfo
:
{},
isShowTip
:
true
},
/**
...
...
@@ -102,7 +103,7 @@ Page({
http
.
getData
(
apis
.
invitesInfo
,
'GET'
,
null
,
(
res
)
=>
{
if
(
res
.
errcode
===
0
)
{
this
.
setData
({
invitesInfo
:
res
.
data
});
...
...
@@ -110,5 +111,10 @@ Page({
}
},
true
,
false
,
true
);
},
closeTip
:
function
()
{
this
.
setData
({
isShowTip
:
false
})
}
})
\ No newline at end of file
pages/person/invitation/index.less
View file @
459f530b
This diff could not be displayed because it is too large.
pages/person/invitation/index.wxml
View file @
459f530b
<view class="invitation" hover-class="none" hover-stop-propagation="false">
<view class="prompt boxsiz row verCenter bothSide">
<view>
<text class="icon iconfont iconiconxiantiaoshouji12"></text>
<text class="t1">1501****484 刚刚邀请好友获得5元红包</text>
</view>
<view>
<text class="icon iconfont iconiconxiantiaoshouji13"></text>
<view class="tip row bothSide verCenter {{isShowTip?'':'noheight'}}" style="position:relative;white-space: nowrap;">
<view class="wrap column">
<swiper vertical="true" circular="true" interval="5000" autoplay display-multiple-items='2' class="sw">
<swiper-item wx:for="{{invitesInfo.recent_invites}}" wx:key="{{item}}">
<view class="tip-left row verCenter">
<text class="icon iconfont iconiconxiantiaoshouji12 tip-icon"></text>
<text class="tip-c">
{{item.invited_user_mobile}} 刚刚邀请好友获得{{item.amount}}元红包
</text>
</view>
</swiper-item>
</swiper>
</view>
<text class="icon iconfont iconiconxiantiaoshouji13 close-icon" bindtap="closeTip"></text>
</view>
<view class="head">
<view class="wrap column rowCenter verCenter">
...
...
pages/person/invitation/index.wxss
View file @
459f530b
This diff could not be displayed because it is too large.
pages/person/withdrawal/index.js
View file @
459f530b
...
...
@@ -17,7 +17,8 @@ Page({
indexOf
:
-
1
,
exchanging
:
false
,
exchange_id
:
''
,
weixin_exchange_info
:
{}
weixin_exchange_info
:
{},
isShowTip
:
true
},
/**
...
...
@@ -186,6 +187,11 @@ Page({
},
closeTip
:
function
()
{
this
.
setData
({
isShowTip
:
false
})
},
/**
* 提交
*/
...
...
pages/person/withdrawal/index.wxml
View file @
459f530b
<view class="withdrawal" hover-class="none" hover-stop-propagation="false">
<view class="prompt boxsiz row verCenter bothSide">
<view>
<text class="icon iconfont iconiconxiantiaoshouji12"></text>
<text class="t1">金币兑换充值后无法更改,请核对充值账号</text>
</view>
<view>
<text class="icon iconfont iconiconxiantiaoshouji13"></text>
<view class="tip row bothSide verCenter {{isShowTip?'':'noheight'}}">
<view class="tip-left row verCenter">
<text class="icon iconfont iconiconxiantiaoshouji12 tip-icon"></text>
<text class="tip-c">金币兑换充值后无法更改,请核对充值账号</text>
</view>
<text class="icon iconfont iconiconxiantiaoshouji13 close-icon" bindtap="closeTip"></text>
</view>
<view class="withdrawal-tab row verCenter rowCenter">
<view class="boxFlex row verCenter rowCenter {{tabIndex == '1' ? 'curr-l':''}}" bind:tap="switchTab" data-id="1">
...
...
project.config.json
View file @
459f530b
...
...
@@ -135,6 +135,34 @@
"id"
:
-1
,
"name"
:
"pages/tab/me/me"
,
"pathName"
:
"pages/tab/me/me"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/person/register/index"
,
"pathName"
:
"pages/person/register/index"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/person/login/index"
,
"pathName"
:
"pages/person/login/index"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/person/certification/certificationmanage/index"
,
"pathName"
:
"pages/person/certification/certificationmanage/index"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/person/invitation/index"
,
"pathName"
:
"pages/person/invitation/index"
,
"scene"
:
null
}
]
...
...
utils/api.js
View file @
459f530b
const
auth_url
=
'https://authapi.icsales.com'
;
const
so_url
=
'https://soapi.icsales.com'
;
const
offer_url
=
"https://offerapi.icsales.com"
;
const
user_url
=
'https://userapi.icsales.com'
;
const
goods_url
=
'https://goodsapi.icsales.com'
;
const
home_url
=
'https://home.icsales.com'
;
const
welfare_url
=
'https://welfareapi.icsales.com'
//
const auth_url = 'http://authapi.icsales.cc';
//
const so_url = 'http://soapi.icsales.cc';
//
const offer_url = "http://offerapi.icsales.cc";
//
const user_url = 'http://userapi.icsales.cc';
//
const goods_url = 'http://goodsapi.icsales.cc';
//
const home_url = 'http://home.icsales.cc';
//
const welfare_url = 'http://welfareapi.icsales.cc';
//
const auth_url = 'https://authapi.icsales.com';
//
const so_url = 'https://soapi.icsales.com';
//
const offer_url = "https://offerapi.icsales.com";
//
const user_url = 'https://userapi.icsales.com';
//
const goods_url = 'https://goodsapi.icsales.com';
//
const home_url = 'https://home.icsales.com';
//
const welfare_url = 'https://welfareapi.icsales.com'
const
auth_url
=
'http://authapi.icsales.cc'
;
const
so_url
=
'http://soapi.icsales.cc'
;
const
offer_url
=
"http://offerapi.icsales.cc"
;
const
user_url
=
'http://userapi.icsales.cc'
;
const
goods_url
=
'http://goodsapi.icsales.cc'
;
const
home_url
=
'http://home.icsales.cc'
;
const
welfare_url
=
'http://welfareapi.icsales.cc'
;
const
apis
=
{
...
...
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