Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
04a3c78b
Commit
04a3c78b
authored
Dec 12, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整内容
parent
ce9bcde8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
80 deletions
+86
-80
header.vue
components/header/header.vue
+10
-3
enterIndex.vue
pages/kotra/BrandEnterSetIn/enterIndex.vue
+7
-16
detail_brand.vue
pages/kotra/brand/detail_brand.vue
+2
-2
detail_company.vue
pages/kotra/brand/detail_company.vue
+2
-2
identification.vue
pages/kotra/identification.vue
+61
-53
user-center.vue
pages/user-center/user-center.vue
+4
-4
No files found.
components/header/header.vue
View file @
04a3c78b
<
template
>
<view
class=
"carrHeader"
>
<view
class=
"carrHeader"
:style=
"[titleStyle]"
>
<view
class=
"carrHeaderBox"
>
<view
class=
"carrHeader-left"
>
<!--
<view
class=
"carrHeader-left-icon"
@
click=
"goBack"
>
...
...
@@ -17,11 +17,18 @@ export default {
props
:[
'title'
],
data
()
{
return
{
titleStyle
:{}
}
},
mounted
()
{
const
that
=
this
uni
.
getSystemInfo
({
success
(
res
)
{
that
.
titleStyle
=
{
paddingTop
:
`
${
res
.
statusBarHeight
}
px`
};
},
});
},
methods
:{
goBack
(){
...
...
pages/kotra/BrandEnterSetIn/enterIndex.vue
View file @
04a3c78b
...
...
@@ -463,26 +463,17 @@ export default {
getImgInfo
(
data
,
token
,
resCall
)
{
let
that
=
this
;
uni
.
request
({
url
:
"https://aip.baidubce.com/rest/2.0/ocr/v1/business_license?access_token="
+
token
,
method
:
"POST"
,
header
:
{
"Content-Type"
:
"application/x-www-form-urlencoded"
,
},
url
:
"https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=uHc6N5qsYBfZs3jrM0DOLXCc&client_secret=8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J"
,
// 百度获取token接口地址
data
:
{
image
:
data
,
grant_type
:
"client_credentials"
,
// 固定写死
client_id
:
"uHc6N5qsYBfZs3jrM0DOLXCc"
,
client_secret
:
"8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J"
,
},
method
:
"POST"
,
success
(
res
)
{
resCall
(
res
);
},
fail
(
res
)
{
wx
.
showToast
({
title
:
"图片类型错误!"
,
icon
:
"none"
,
duration
:
1000
,
});
that
.
access_token
=
res
.
data
.
access_token
;
},
fail
(
e
)
{},
});
},
//图片上传
...
...
pages/kotra/brand/detail_brand.vue
View file @
04a3c78b
...
...
@@ -10,11 +10,11 @@
<scroll-view
scroll-y=
"true"
style=
"height:100%;background: #f1f2f3;"
@
scroll=
"scroll"
>
<view
:style=
"
{background:mainColor}">
<view
class=
"detail-box"
>
<view
class=
"header
flex item-center
"
>
<view
class=
"header"
>
<view
class=
"title"
>
{{
details
.
BrandName
}}
</view>
<view
class=
"tag-box"
style=
"display: flex; overflow: hidden;"
>
<view
class=
"tag-box"
style=
"display: flex; overflow: hidden;
margin-top: 10rpx;
"
>
<text
class=
"tag1"
>
品牌类型
</text
><text
class=
"tag2"
>
{{
details
.
CategoryName
}}
</text>
</view>
...
...
pages/kotra/brand/detail_company.vue
View file @
04a3c78b
...
...
@@ -10,11 +10,11 @@
<scroll-view
scroll-y=
"true"
style=
"height:100%;background: #f1f2f3;"
@
scroll=
"scroll"
>
<view
:style=
"
{background:mainColor}">
<view
class=
"detail-box"
>
<view
class=
"header
flex item-center
"
>
<view
class=
"header"
>
<view
class=
"title"
>
{{
details
.
Name
}}
</view>
<view
class=
"tag-box"
style=
"display: flex; overflow: hidden;"
>
<view
class=
"tag-box"
style=
"display: flex; overflow: hidden;
margin-top: 10rpx;
"
>
<text
class=
"tag1"
>
企业类型
</text
><text
class=
"tag2"
>
{{
details
.
CategoryName
}}
</text>
</view>
...
...
pages/kotra/identification.vue
View file @
04a3c78b
...
...
@@ -13,7 +13,7 @@
</view>
<view
class=
"progressBox"
v-if=
"nowStatus != 4"
>
<view
class=
"progressName"
>
<text
class=
"cur"
>
{{
stepName
}}
</text>
<text
class=
"cur"
:style=
"
{color:mainColor}"
>
{{
stepName
}}
</text>
<text
class=
"nex"
>
{{
nextSepName
}}
</text>
</view>
<u-line-progress
...
...
@@ -22,7 +22,7 @@
:show-percent=
"false"
:height=
"10"
inactive-color=
"#DADCE6"
active-color=
"#F70027
"
:active-color=
"mainColor
"
></u-line-progress>
</view>
<view>
</view>
...
...
@@ -104,6 +104,7 @@
></image>
<view
class=
"reupload"
:style=
"
{background:mainColor}"
v-if="
businessLicenseUploadIsSuccess
&&
nowStatus != 3
&&
...
...
@@ -127,55 +128,12 @@
"
>
请选择您的身份
</view
>
<view
style=
"
width: 100%;
display: flex;
justify-content: space-around;
margin-top: 180rpx;
"
>
<view
class=
"chooseidbox"
@
click=
"ChooseidentityId = 1"
>
<view
class=
"chooseidbox_t"
>
<image
v-if=
"ChooseidentityId == 1"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/choice_pp.png"
>
</image>
<image
v-if=
"ChooseidentityId == 2"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/choice_pp_n.png"
>
</image>
</view>
<view
class=
"chooseidbox_b"
>
<image
v-if=
"ChooseidentityId == 1"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/choice_g.png"
></image>
</view>
</view>
<view
class=
"chooseidbox"
@
click=
"ChooseidentityId = 2"
>
<view
class=
"chooseidbox_t"
>
<image
v-if=
"ChooseidentityId == 2"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/choice_zt.png"
>
</image>
<image
v-if=
"ChooseidentityId == 1"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/choice_zt_n.png"
>
</image>
</view>
<view
class=
"chooseidbox_b"
>
<image
v-if=
"ChooseidentityId == 2"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/choice_g.png"
></image>
</view>
</view>
</view>
<view
class=
"company-auth"
style=
"margin-top: 180rpx;"
>
<view
class=
"item"
v-for=
"(x,i) in companyTypes"
@
click=
"()=>ChooseidentityId=x.id"
:key=
"i"
:class=
"
{'active':ChooseidentityId==x.id}" :style="{borderColor:ChooseidentityId==x.id?mainColor:'#E1E2E3'}">
<view
class=
"type-name"
>
{{
x
.
name
}}
</view>
<image
:src=
"x.image"
mode=
"widthFix"
></image>
</view>
</view>
</view>
<view
class=
"stepItem"
v-if=
"step == 3"
style=
"padding-bottom: 0"
>
<view
v-if=
"ChooseidentityId == 1"
>
...
...
@@ -190,8 +148,8 @@
</view>
<view
v-if=
"step != 3"
>
<view
class=
"butBox"
@
click=
"nextStep"
>
<image
:src=
"nextIcon
"
class=
"next"
mode=
"widthFix"
></image>
<view
class=
"butBox"
@
click=
"nextStep"
:style=
"
{background:mainColor,boxShadow:`0rpx 4rpx 40rpx 0rpx ${mainColor}94`}"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638696208109196782.png"
style=
"width:40%
"
class=
"next"
mode=
"widthFix"
></image>
</view>
</view>
</view>
...
...
@@ -368,6 +326,13 @@ export default {
nowStatus
:
1
,
//此时的状态
loading
:
false
,
editType
:
0
,
//是否是从修改进入的 1是 0否
mainColor
:
''
,
companyTypes
:[
{
name
:
'商业'
,
image
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638696228042986140.png'
,
id
:
2
},
{
name
:
'品牌'
,
image
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638696228042995981.png'
,
id
:
1
},
{
name
:
'企业'
,
image
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638696228219050268.png'
,
id
:
3
},
{
name
:
'楼宇'
,
image
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638696228045398333.png'
,
id
:
4
},
]
};
},
methods
:
{
...
...
@@ -703,6 +668,7 @@ export default {
mounted
()
{
// this.getCustomerTypeEnumList()
// this.GetProjectTypeEnumList()
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
this
.
getAccess_token
();
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
...
...
@@ -1021,4 +987,46 @@ export default {
color
:
#f70027
;
}
}
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
@font-face
{
font-family
:
"ali-item-title"
;
src
:
url("//at.alicdn.com/wf/webfont/MQHUV6e56ce5/XADjkS2Snr1Y.woff2")
format
(
"woff2"
)
,
url("//at.alicdn.com/wf/webfont/MQHUV6e56ce5/yACEEadsH9Us.woff")
format
(
"woff"
);
font-display
:
swap
;
}
.company-auth
{
font-family
:
'ali-item-title'
;
width
:
90%
;
margin
:
0
auto
;
display
:
flex
;
flex-wrap
:
wrap
;
}
.company-auth
.item
{
width
:
calc
(
50%
-
20px
);
margin-right
:
20px
;
padding
:
20px
;
border
:
3px
solid
#e1e2e3
;
border-radius
:
10px
;
color
:
#e1e2e3
;
text-align
:
center
;
margin-bottom
:
20px
;
font-weight
:
bold
;
}
.company-auth
.item
.type-name
{
text-align
:
center
;
font-size
:
36rpx
;
margin-bottom
:
20rpx
;
}
.company-auth
.item
image
{
opacity
:
30%
;
width
:
70rpx
;
max-height
:
70rpx
;
}
.company-auth
.item.active
{
color
:
#000
;
}
.company-auth
.item.active
image
{
opacity
:
unset
;
}
</
style
>
pages/user-center/user-center.vue
View file @
04a3c78b
...
...
@@ -629,11 +629,11 @@
}
break
;
case
"/pages/kotra/wish/list"
:
if
(
this
.
FirstShopType
==
1
&&
this
.
companyStatus
==
5
)
{
//
if (this.FirstShopType == 1 && this.companyStatus == 5) {
flag
=
true
;
}
else
{
flag
=
false
;
}
//
} else {
//
flag = false;
//
}
break
;
case
"/pages/kotra/enterpriseCertificationList"
:
if
(
IsAdmin
==
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