Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
0d337826
Commit
0d337826
authored
Sep 27, 2021
by
王能飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'c_client_taro-pack' into 'c_client_taro'
授权页面UI更新 See merge request
!48
parents
41780097
4dec3d9c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
29 deletions
+52
-29
package.json
c_client/package.json
+2
-0
Auth.jsx
c_client/src/components/_tb_modal/Auth/Auth.jsx
+3
-2
Auth.less
c_client/src/components/_tb_modal/Auth/Auth.less
+47
-26
dingTalk.js
c_client/src/utils/dingTalk.js
+0
-1
No files found.
c_client/package.json
View file @
0d337826
...
...
@@ -3,6 +3,8 @@
"version"
:
"1.0.0"
,
"private"
:
true
,
"description"
:
"测试项目"
,
"title"
:
"测试活动"
,
"phone"
:
""
,
"templateInfo"
:
{
"name"
:
"taro-ui"
,
"typescript"
:
false
,
...
...
c_client/src/components/_tb_modal/Auth/Auth.jsx
View file @
0d337826
...
...
@@ -11,8 +11,9 @@ function Auth(props) {
<
View
className=
{
`${clspreFix}`
}
>
<
View
className=
{
`${clspreFix}__content`
}
>
<
View
className=
{
`${clspreFix}__img`
}
></
View
>
<
View
className=
{
`${clspreFix}__title`
}
>
开启授权继续使用
</
View
>
<
Text
className=
{
`${clspreFix}__subTitle`
}
>
{
`申请获取你的淘宝昵称及头像\n用于会员身份的核实及认证`
}
</
Text
>
<
View
className=
{
`${clspreFix}__title`
}
>
获取小程序用户授权
</
View
>
<
Text
className=
{
`${clspreFix}__subTitle`
}
>
{
`申请获取淘宝昵称及头像等用户信息`
}
</
Text
>
<
Text
className=
{
`${clspreFix}__subTitle2`
}
>
{
`为了更好的为您提供服务,请同意小程序授权`
}
</
Text
>
<
View
className=
{
`${clspreFix}__btn`
}
onClick=
{
clickAuthBtn
}
>
立即授权
</
View
>
<
View
className=
{
`${clspreFix}__exct`
}
onClick=
{
()
=>
Taro
.
exit
()
}
>
退出程序
</
View
>
</
View
>
...
...
c_client/src/components/_tb_modal/Auth/Auth.less
View file @
0d337826
...
...
@@ -7,56 +7,77 @@
right: 0;
bottom: 0;
z-index: 20;
background-color: #
eee
; // f1ebdd
background-color: #
EDEEEF
; // f1ebdd
display: flex;
justify-content: center;
align-items: center;
&__content {
width:
52
0px;
width:
70
0px;
margin: 0 auto;
}
&__img {
width: 16
8
px;
height: 16
8
px;
width: 16
0
px;
height: 16
0
px;
margin: 0 auto 75px;
background-image: url('https://yun.dui88.com/
dbad8bde-b2d5-41a8-ba62-94a9d42d624c
.png');
background-image: url('https://yun.dui88.com/
60d85a4d-e16e-4f20-ab65-8496f313a34b
.png');
.image-property(cover, center center);
background-repeat: no-repeat;
}
&__title{
color: #111111;
font-size: 32px;
margin: 0 auto 24px;
font-size: 34px;
font-family: Adobe Heiti Std;
font-weight: normal;
color: #080808;
line-height: 42px;
text-align: center;
margin: 34px auto 0;
}
&__subTitle {
display: block;
line-height: 48px;
color: #757575;
font-size: 32px;
margin: 0 auto 70px;
font-family: Adobe Heiti Std;
font-weight: normal;
color: #666666;
line-height: 49px;
text-align: center;
margin: 30px auto 0;
}
&__subTitle2 {
display: block;
font-size: 28px;
font-family: Adobe Heiti Std;
font-weight: normal;
color: #666666;
line-height: 49px;
margin: 86px auto 0;
text-align: center;
}
&__btn {
width: 496px;
height: 110px;
line-height: 110px;
border-radius: 60px;
color: #e1e1e1;
background-color: rgb(17, 17, 17);
width: 575px;
height: 89px;
line-height: 89px;
background: linear-gradient(90deg, #FE5200, #FF8E01);
border-radius: 45px;
font-size: 36px;
font-family: Alibaba;
font-weight: normal;
color: #FFFFFF;
text-align: center;
font-size: 28px
;
margin: 30px auto 0
;
}
&__exct {
width: 496px;
height: 110px;
line-height: 110px;
border-radius: 60px;
color: #e1e1e1;
background-color: rgb(17, 17, 17);
width: 575px;
height: 89px;
line-height: 89px;
border: 2px solid #FF6C04;
border-radius: 45px;
font-size: 36px;
font-family: Alibaba;
font-weight: normal;
color: #FE5600;
text-align: center;
font-size: 28px;
margin-top: 20px;
margin: 36px auto 0;
}
}
\ No newline at end of file
c_client/src/utils/dingTalk.js
View file @
0d337826
...
...
@@ -6,7 +6,6 @@ import * as configPackage from '../../package.json'
* @param message
*/
export
const
cloundAlarm
=
async
(
message
,
env
,
requestType
)
=>
{
console
.
warn
(
configPackage
)
const
{
title
,
author
,
phone
}
=
configPackage
const
envTxt
=
{
'test'
:
'测试环境'
,
...
...
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