Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
Project
Project
Details
Activity
Releases
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
郑秀明
shop_mobile_uni
Commits
c1570712
Commit
c1570712
authored
Sep 03, 2020
by
王建威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分期改版
parent
d4da013d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
824 additions
and
154 deletions
+824
-154
manifest.json
manifest.json
+2
-2
package.json
package.json
+1
-1
pages.json
pages.json
+79
-67
applypage3.vue
pages/apply/applypage3.vue
+1
-1
financialstage.vue
pages/financial/financialstage.vue
+64
-4
installmentinfo.vue
pages/installment/installmentinfo.vue
+36
-70
ious_refuse.vue
pages/ious_refuse/ious_refuse.vue
+86
-0
refuse.vue
pages/refuse/refuse.vue
+2
-2
theRights.vue
pages/theRights/theRights.vue
+546
-0
iconfont.css
static/iconfont.css
+7
-7
No files found.
manifest.json
View file @
c1570712
...
...
@@ -2,7 +2,7 @@
"name"
:
"shop_mobile_uni"
,
"appid"
:
"__UNI__F904656"
,
"description"
:
""
,
"versionName"
:
"1.0.2
6
"
,
"versionName"
:
"1.0.2
7
"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"app-plus"
:
{
...
...
@@ -51,7 +51,7 @@
"mode"
:
"history"
,
"base"
:
"/uni"
},
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
mirror/1.0.26
/"
,
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
test/1.0.27
/"
,
"optimization"
:
{
"treeShaking"
:
{
"enable"
:
true
...
...
package.json
View file @
c1570712
{
"name"
:
"shop_mobile_uni"
,
"version"
:
"1.0.2
6
"
,
"version"
:
"1.0.2
7
"
,
"description"
:
"谛宝多多商城"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
...
...
pages.json
View file @
c1570712
...
...
@@ -143,72 +143,84 @@
"style"
:
{
"navigationBarTitleText"
:
"账号设置-谛宝多多商城"
}
},
{
"path"
:
"pages/signin/signin"
,
"style"
:
{
"navigationBarTitleText"
:
"签到-谛宝多多商城"
}
},
{
"path"
:
"pages/integralRecord/integralRecord"
,
"style"
:
{
"navigationBarTitleText"
:
"积分记录-谛宝多多商城"
}
},
{
"path"
:
"pages/levelStrategy/levelStrategy"
,
"style"
:
{
"navigationBarTitleText"
:
"升级攻略-谛宝多多商城"
}
},
{
"path"
:
"pages/vipCenter/vipCenter"
,
"style"
:
{
"navigationBarTitleText"
:
"会员中心-谛宝多多商城"
}
},
{
"path"
:
"pages/signRecord/signRecord"
,
"style"
:
{
"navigationBarTitleText"
:
"签到记录-谛宝多多商城"
}
},
{
"path"
:
"pages/monthly/monthly"
,
"style"
:
{
"navigationBarTitleText"
:
"包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyIntroduce/monthlyIntroduce"
,
"style"
:
{
"navigationBarTitleText"
:
"包年说明-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyPlan/monthlyPlan"
,
"style"
:
{
"navigationBarTitleText"
:
"我的包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyContract/monthlyContract"
,
"style"
:
{
"navigationBarTitleText"
:
"我的合同-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyJoin/monthlyJoin"
,
"style"
:
{
"navigationBarTitleText"
:
"加入包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyDeposit/monthlyDeposit"
,
"style"
:
{
"navigationBarTitleText"
:
"加入包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/signin/signin"
,
"style"
:
{
"navigationBarTitleText"
:
"签到-谛宝多多商城"
}
},
{
"path"
:
"pages/integralRecord/integralRecord"
,
"style"
:
{
"navigationBarTitleText"
:
"积分记录-谛宝多多商城"
}
},
{
"path"
:
"pages/levelStrategy/levelStrategy"
,
"style"
:
{
"navigationBarTitleText"
:
"升级攻略-谛宝多多商城"
}
},
{
"path"
:
"pages/vipCenter/vipCenter"
,
"style"
:
{
"navigationBarTitleText"
:
"会员中心-谛宝多多商城"
}
},
{
"path"
:
"pages/signRecord/signRecord"
,
"style"
:
{
"navigationBarTitleText"
:
"签到记录-谛宝多多商城"
}
},
{
"path"
:
"pages/monthly/monthly"
,
"style"
:
{
"navigationBarTitleText"
:
"包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyIntroduce/monthlyIntroduce"
,
"style"
:
{
"navigationBarTitleText"
:
"包年说明-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyPlan/monthlyPlan"
,
"style"
:
{
"navigationBarTitleText"
:
"我的包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyContract/monthlyContract"
,
"style"
:
{
"navigationBarTitleText"
:
"我的合同-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyJoin/monthlyJoin"
,
"style"
:
{
"navigationBarTitleText"
:
"加入包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/monthlyDeposit/monthlyDeposit"
,
"style"
:
{
"navigationBarTitleText"
:
"加入包年计划-谛宝多多商城"
}
},
{
"path"
:
"pages/theRights/theRights"
,
"style"
:
{
"navigationBarTitleText"
:
"谛宝白条-谛宝多多商城"
}
},
{
"path"
:
"pages/ious_refuse/ious_refuse"
,
"style"
:
{
"navigationBarTitleText"
:
"谛宝白条-谛宝多多商城"
}
}
],
"globalStyle"
:
{
...
...
@@ -220,4 +232,4 @@
"titleNView"
:
false
}
}
}
}
pages/apply/applypage3.vue
View file @
c1570712
...
...
@@ -151,7 +151,7 @@
this
.
submitFlag
=
true
;
if
(
res
.
data
.
code
===
0
)
{
uni
.
navigateTo
({
url
:
'/pages/signcontract/signcontract'
url
:
`/pages/theRights/theRights?status=0`
});
}
else
{
uni
.
hideToast
();
...
...
pages/financial/financialstage.vue
View file @
c1570712
...
...
@@ -8,7 +8,7 @@
<i
class=
"credit_icon"
></i>
谛宝白条
</text>
-->
<text
class=
"act"
>
采购分期
</text>
<text
class=
"act"
>
谛宝白条
</text>
</view>
<!--
<view
class=
"flex_category"
>
<view
class=
"cate_item1"
></view>
...
...
@@ -71,6 +71,12 @@
</view>
</view>
<BottomBar
/>
<uni-popup
ref=
"popup"
>
<view
class=
"bg"
>
<view
class=
"btn1"
@
click=
"iKonw"
></view>
<view
class=
"btn2"
@
click=
"checkLines"
></view>
</view>
</uni-popup>
</view>
</
template
>
...
...
@@ -78,6 +84,8 @@
import
SearchBar
from
'@/components/searchbar.vue'
;
import
uniSwiperDot
from
"@/components/uni-swiper-dot/uni-swiper-dot.vue"
;
import
BottomBar
from
"@/components/BottomBar/BottomBar.vue"
;
import
uniPopup
from
"@/components/uni-popup/uni-popup.vue"
;
import
{
php
}
from
'@/common/host.js'
;
export
default
{
data
()
{
return
{
...
...
@@ -87,7 +95,8 @@
isLogin
:
0
,
current
:
0
,
height
:
false
,
equipment_hot_list
:
[]
equipment_hot_list
:
[],
php
:
php
}
},
onLoad
()
{
...
...
@@ -95,7 +104,6 @@
uni
.
showLoading
({
title
:
'加载中'
});
// #ifdef H5
//默认请求微信分享
if
(
this
.
$wechat
&&
this
.
$wechat
.
isWechat
())
{
...
...
@@ -117,6 +125,11 @@
const
EquipmentRecommendList
=
res
.
data
.
data
.
EquipmentRecommendList
;
this
.
EquipmentRecommendList
=
EquipmentRecommendList
;
this
.
isLogin
=
res
.
data
.
login_flg
;
setTimeout
(()
=>
{
if
(
res
.
data
.
data
.
status
===
1
&&
res
.
data
.
data
.
bounced_flg
===
0
)
{
this
.
$refs
.
popup
.
open
();
}
},
100
);
// 热销列表 根据专区类型是否显示
if
(
EquipmentRecommendList
instanceof
Array
)
{
let
array
=
[];
...
...
@@ -183,12 +196,37 @@
uni
.
navigateTo
({
url
:
url
})
},
iKonw
()
{
uni
.
request
({
url
:
'/uni/api/equipment_index/EditEquipmentMember'
,
method
:
'get'
,
dataType
:
'json'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$refs
.
popup
.
close
();
}
}
});
},
checkLines
()
{
uni
.
request
({
url
:
'/uni/api/equipment_index/EditEquipmentMember'
,
method
:
'get'
,
dataType
:
'json'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$jump
(
`
${
php
}
app=equipment_staging`
);
}
}
});
}
},
components
:
{
SearchBar
,
uniSwiperDot
,
BottomBar
BottomBar
,
uniPopup
}
}
</
script
>
...
...
@@ -458,4 +496,26 @@
top: 48rpx;
}
}
.bg {
width: 674rpx;
height: 734rpx;
background: url(https://dbc-static.oss-cn-beijing.aliyuncs.com/static/%E7%BC%96%E7%BB%84%205.png) no-repeat;
background-size: 100% 100%;
position: relative;
.btn1 {
width: 512rpx;
height: 84rpx;
position: absolute;
left: 50%;
bottom: 102rpx;
margin-left: -256rpx;
}
.btn2 {
width: 100px;
height: 40rpx;
position: absolute;
left: 234rpx;
bottom: 40rpx;
}
}
</
style
>
pages/installment/installmentinfo.vue
View file @
c1570712
...
...
@@ -192,7 +192,8 @@
equipment_id
:
''
,
is_auth
:
'0'
,
type
:
2
,
sales
:
''
sales
:
''
,
status
:
-
1
}
},
onPageScroll
(
e
){
...
...
@@ -253,6 +254,7 @@
this
.
isLogin
=
res
.
data
.
login_flg
;
this
.
is_auth
=
res
.
data
.
data
.
is_auth
;
this
.
type
=
res
.
data
.
data
.
EquipmentInfo
.
type
;
this
.
status
=
res
.
data
.
data
.
status
;
}
});
},
...
...
@@ -284,78 +286,42 @@
data
:
this
.
e_info
.
advance_payment
})
if
(
this
.
is_auth
===
'1'
)
{
if
(
this
.
type
===
'1'
)
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/signcontract/signcontract?type=1'
});
}
});
}
else
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
// url: '/pages/apply/choosetype'
url
:
`/pages/apply/applypage1?property_id=
${
this
.
e_info
.
property_id
}
&equipment_id=
${
this
.
equipment_id
}
`
});
}
if
(
this
.
status
===
0
||
this
.
status
===
2
)
{
uni
.
navigateTo
({
url
:
`/pages/theRights/theRights`
});
return
}
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
// url: '/pages/apply/choosetype'
url
:
`/pages/apply/applypage1?property_id=
${
this
.
e_info
.
property_id
}
&equipment_id=
${
this
.
equipment_id
}
`
});
}
});
}
else
if
(
this
.
is_auth
==
0
)
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
`/pages/theRights/theRights?is_auth=
${
this
.
is_auth
}
`
});
}
});
}
else
{
if
(
this
.
type
===
'1'
)
{
uni
.
showToast
({
title
:
'提交中'
,
icon
:
'none'
})
uni
.
request
({
url
:
'/uni/api/certification/AddRealnameAuth'
,
data
:
{
enterprise_name
:
'深圳市派特堡扬子宠物医院有限公司'
,
social_credit_code
:
'91440300MA5FNCJRX2'
,
legal_name
:
'汪秀举'
,
legal_card
:
'341103198209194417'
,
card_positive
:
'11'
,
card_reverse
:
'11'
,
enterprise_type
:
1
,
organ_type
:
11
},
method
:
'POST'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/signcontract/signcontract?type=1'
});
}
});
}
else
{
uni
.
hideToast
();
uni
.
showToast
({
icon
:
'none'
,
title
:
res
.
data
.
message
})
}
}
})
}
else
{
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/certification/certification'
});
}
});
}
uni
.
setStorage
({
key
:
'installment'
,
data
:
data
,
success
:
()
=>
{
uni
.
navigateTo
({
url
:
'/pages/signcontract/signcontract?type=1'
});
}
});
}
},
collectGoods
(
id
,
type
)
{
...
...
pages/ious_refuse/ious_refuse.vue
0 → 100644
View file @
c1570712
<
template
>
<view
class=
"main"
>
<view
class=
"bg"
></view>
<view
class=
"refuse_title"
>
很遗憾,您的认证未通过
</view>
<view
class=
"reason"
>
您的采购分期激活申请,由于
{{
reason
}}
等原因资质审核未通过
</view>
<view
class=
"btn"
@
click=
"reupload"
>
重新填写信息
</view>
<view
class=
"refuse_tips"
>
<text
class=
"icon"
></text>
<text>
确保所填身份信息真实有效,平台会保护您的信息
</text>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
reason
:
''
}
},
onLoad
()
{
this
.
reason
=
uni
.
getStorageSync
(
'reason'
)
||
''
;
},
methods
:
{
reupload
()
{
uni
.
navigateTo
({
url
:
'/pages/apply/applypage1'
});
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.main
{
.bg
{
width
:
258rpx
;
height
:
180rpx
;
background
:
url(https://dbc-static.oss-cn-beijing.aliyuncs.com/static/chahua_jieshu%403x.png)
no-repeat
;
background-size
:
100%
100%
;
margin
:
200rpx
auto
24rpx
;
}
.refuse_title
{
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-size
:
48rpx
;
height
:
66prx
;
line-height
:
66rpx
;
text-align
:
center
;
margin-bottom
:
24rpx
;
}
.reason
{
color
:
#6E6E6E
;
font-size
:
28rpx
;
line-height
:
40rpx
;
text-align
:
center
;
padding
:
0
32rpx
;
}
.btn
{
width
:
240rpx
;
height
:
80rpx
;
text-align
:
center
;
line-height
:
80rpx
;
border-radius
:
16rpx
;
background
:
#FFDB00
;
color
:
#000
;
font-size
:
28rpx
;
margin
:
80rpx
auto
24rpx
;
}
.refuse_tips
{
font-size
:
24rpx
;
color
:
#979797
;
text-align
:
center
;
}
.icon
{
background
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAACxklEQVRYR+2YPWhTURSAvyQ2tTFtrbURNJXWOkiRLqIEB7UUu7iLiIgubtrNwUlEqnaRWEHQwVKSIOIi6Kzt4KAI2i4dLA0aBbWx2oZUoy9PbmMkzfu770d4SC+85b3z871z7jn3J6CqqoqPR2AN0GV2/ucIKlDMQmEGSp/h11LlEWNdc+UJd0B0F0S6gJCjWNqPoFKA/AQsTYHyXc5paD0090H7QQhF5XT+SMkDqgp8mYSFZ1Au2XLyVzgYhrb9sOkABOQiKgcoovbhHiy/cwZWr9XUCVuPSUXTGrD0Ed6n4ec3b+CqVhpaYdsJCMdM7ZoDisi9ve09XC3k9jOmkTQGFHMud9e7tBrFSaQ7ftpwThoD5p9A/qm3aTWy1n4I2vt1v+oDitTOJZ1Xq93fEtXdPaSban3AT4/h63O7btzJb9wHsSMaGzqACsyOyDdhm1iPJrI0NYYYSHSu1hTNvOe8ZsXRAhZnITdu062c+KVbLxh7OEMoGODl/aO0RMOrFeMnIdKz6p0W8B+ltwonvCf6tpAZGdT+lU6atYC5MSjOyYVEUqoWbk9vB2OXB9gQadBqR7ohfsoigtlRKM1LurYWk4YTpsKboeusBeCbYSj/sPYsIWELTtgLNsLOC84Bz12ZRFFgeChBa3PdBK8Dtg0nDWiQ4vmFZRLHH1BWoXdHG+lrg4aQjuCkU2xSJMnUa5KpqZVYGUE6hhNGpYrEos1cH3/FaGZaF9IVnLAo1WYkGnU9ZOrqYW6kp1aasBimrcSsuKQaNXJLXS1kW0sjC4uVyncMJ73UCS+Sq0ktpCs4g/SK1663W6Jwbmam2bs7xp2L/forhFXPtL3dEgZtbFgXCyXtwm8FVfvd9oZVKPt+yy8gfX1oqqbA18fOKqSvD+5VSF9ffdRWnG8vjzRtw6/Xb3b6mwey1pdHHjhxY2IN0E30hO5vSvzJmNdXsP8AAAAASUVORK5CYII=)
no-repeat
;
background-size
:
100%
100%
;
display
:
inline-block
;
width
:
29rpx
;
height
:
29rpx
;
border-radius
:
50%
;
vertical-align
:
middle
;
margin-right
:
2px
;
}
}
</
style
>
\ No newline at end of file
pages/refuse/refuse.vue
View file @
c1570712
...
...
@@ -13,11 +13,11 @@
</view>
<view
class=
"refuse_view"
>
<view
class=
"title"
>
已驳回
</view>
<view
class=
"refuse_content"
>
尊敬的用户,您好!您本次的
采购分期
申请已被驳回,定金已退还至您的余额,驳回原因如下:
<view
class=
"refuse_content"
>
尊敬的用户,您好!您本次的
谛宝白条
申请已被驳回,定金已退还至您的余额,驳回原因如下:
</view>
<view
class=
"refuse_item"
>
{{
data
.
dismiss_reason
}}
</view>
</view>
<
view
class=
"reupload"
@
click=
"reupload()"
>
重新上传资质
</view
>
<
!--
<view
class=
"reupload"
@
click=
"reupload()"
>
重新上传资质
</view>
--
>
</view>
</
template
>
...
...
pages/theRights/theRights.vue
0 → 100644
View file @
c1570712
This source diff could not be displayed because it is too large. You can
view the blob
instead.
static/iconfont.css
View file @
c1570712
@font-face
{
font-family
:
"eosfont"
;
src
:
url('https://at.alicdn.com/t/font_1878093_
3hvt9j2lgso.eot')
;
src
:
url('https://at.alicdn.com/t/font_1878093_
3hvt9j2lgso.eot?#iefix')
format
(
'embedded-opentype'
),
url('https://at.alicdn.com/t/font_1878093_
3hvt9j2lgso.woff2')
format
(
'woff2'
),
url('https://at.alicdn.com/t/font_1878093_
3hvt9j2lgso.woff')
format
(
'woff'
),
url('https://at.alicdn.com/t/font_1878093_
3hvt9j2lgso.ttf')
format
(
'truetype'
),
url('https://at.alicdn.com/t/font_1878093_
3hvt9j2lgso
.svg#iconfont')
format
(
'svg'
);
src
:
url('https://at.alicdn.com/t/font_1878093_
zr6tt1qw9ct.eot')
;
src
:
url('https://at.alicdn.com/t/font_1878093_
zr6tt1qw9ct.eot?#iefix')
format
(
'embedded-opentype'
),
url('https://at.alicdn.com/t/font_1878093_
zr6tt1qw9ct.woff2')
format
(
'woff2'
),
url('https://at.alicdn.com/t/font_1878093_
zr6tt1qw9ct.woff')
format
(
'woff'
),
url('https://at.alicdn.com/t/font_1878093_
zr6tt1qw9ct.ttf')
format
(
'truetype'
),
url('https://at.alicdn.com/t/font_1878093_
zr6tt1qw9ct
.svg#iconfont')
format
(
'svg'
);
}
.eosfont
{
font-family
:
"eosfont"
!important
;
font-style
:
normal
;
}
}
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