Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2b0faea6
authored
Jul 30, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改样式
1 parent
d6db85ac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
15 deletions
packageEquity/pages/aiCheck/result/result.js
packageEquity/pages/aiCheck/result/result.sass
packageEquity/pages/aiCheck/result/result.wxml
packageEquity/pages/aiCheck/result/result.js
View file @
2b0faea
...
@@ -537,8 +537,10 @@ Page({
...
@@ -537,8 +537,10 @@ Page({
}
=
e
.
currentTarget
.
dataset
,
{
}
=
e
.
currentTarget
.
dataset
,
{
reportItem
,
reportItem
,
avatar
,
avatar
,
score
,
id
,
id
,
}
=
this
.
data
}
=
this
.
data
if
(
score
==
null
)
return
wx
.
$router
.
go
(
"/packageEquity/pages/aiCheck/detail/detail"
,
{
wx
.
$router
.
go
(
"/packageEquity/pages/aiCheck/detail/detail"
,
{
reportItem
,
reportItem
,
avatar
,
avatar
,
...
...
packageEquity/pages/aiCheck/result/result.sass
View file @
2b0faea
...
@@ -208,19 +208,22 @@ page {
...
@@ -208,19 +208,22 @@ page {
margin
:
0
auto
;
margin
:
0
auto
;
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
@keyframes
rotateArc
{
@keyframes
rotateArc
{
100
%
{
100
%
{
transform
:
translate
(
-50
%
,
-50
%
)
rotate
(
0deg
);
transform
:
translate
(
-50%
,
-50%
)
rotate
(
0deg
)
;
}
}
}
}
.loading-box
{
.loading-box
{
width
:
300rpx
;
width
:
300rpx
;
height
:
300rpx
;
height
:
300rpx
;
transform
:
translate
(
-50
%
,
-50
%
)
rotate
(
360deg
);
transform
:
translate
(
-50%
,
-50%
)
rotate
(
360deg
)
;
animation
:
rotateArc
45s
infinite
linear
;
animation
:
rotateArc
45s
infinite
linear
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
&
:
:
before
{
&
:
:
before
{
position
:
absolute
;
position
:
absolute
;
content
:
""
;
content
:
""
;
...
@@ -255,11 +258,13 @@ page {
...
@@ -255,11 +258,13 @@ page {
animation
:
rotate
3s
infinite
ease-in-out
;
animation
:
rotate
3s
infinite
ease-in-out
;
}
}
}
}
@keyframes
rotate
{
@keyframes
rotate
{
100
%
{
100
%
{
transform
:
rotate
(
0deg
)
;
transform
:
rotate
(
0deg
)
;
}
}
}
}
.canvas
{
.canvas
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -297,15 +302,6 @@ page {
...
@@ -297,15 +302,6 @@ page {
margin-top
:
24rpx
;
margin-top
:
24rpx
;
height
:
448rpx
;
height
:
448rpx
;
.score-bg
{
width
:
432rpx
;
height
:
432rpx
;
position
:
absolute
;
top
:
0
;
left
:
50%
;
transform
:
translateX
(
-50%
)
;
z-index
:
-1
;
}
.categories
{
.categories
{
.title
{
.title
{
...
@@ -325,6 +321,7 @@ page {
...
@@ -325,6 +321,7 @@ page {
transform
:
rotate
(
-45deg
)
;
transform
:
rotate
(
-45deg
)
;
}
}
}
}
}
}
.categories-1
{
.categories-1
{
...
@@ -359,11 +356,25 @@ page {
...
@@ -359,11 +356,25 @@ page {
}
}
}
}
.pending
{
.title
{
color
:
#999EA8
!
important
;
&
:
:
after
{
display
:
none
!
important
;
}
}
&
-text
{
font-size
:
22rpx
;
color
:
#3275FA
;
}
}
.type-4
{
.type-4
{
.canvas
{
.canvas
{
// transform: scale(1.45) translateY(5%);
// transform: scale(1.45) translateY(5%);
transform
:
scale
(
1
.45
)
rotate
(
-45deg
)
;
transform
:
scale
(
1
.45
)
rotate
(
-45deg
)
;
transform-origin
:center
center
;
transform-origin
:
center
center
;
}
}
.categories-1
{
.categories-1
{
...
...
packageEquity/pages/aiCheck/result/result.wxml
View file @
2b0faea
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</navigation-bar>
</navigation-bar>
<view class="wrapper" style="margin-top: {{navBarHeight}}px;height: calc(100vh - {{navBarHeight + footerHeight}}px);" wx:if="{{tabId == 1}}">
<view class="wrapper" style="margin-top: {{navBarHeight}}px;height: calc(100vh - {{navBarHeight + footerHeight}}px);" wx:if="{{tabId == 1}}">
<block wx:if="{{duration}}">
<block wx:if="{{duration}}">
<view class="canvas-box type-{{reportItem.length}}">
<view class="canvas-box type-{{reportItem.length}}
{{score == null?'pending':''}}
">
<view style="position: relative;">
<view style="position: relative;">
<view class="canvas-view">
<view class="canvas-view">
<block wx:if="{{radarImg}}">
<block wx:if="{{radarImg}}">
...
@@ -26,9 +26,14 @@
...
@@ -26,9 +26,14 @@
<block wx:for="{{reportItem}}" wx:key="index">
<block wx:for="{{reportItem}}" wx:key="index">
<view class="categories categories-{{index + 1}}" bindtap="jump" data-item="{{item}}">
<view class="categories categories-{{index + 1}}" bindtap="jump" data-item="{{item}}">
<view class="title">{{item.reportItem}}</view>
<view class="title">{{item.reportItem}}</view>
<block wx:if="{{score == null && item.reportItem == '服务态度'}}">
<view class="pending-text">分析中...</view>
</block>
<block wx:else>
<block wx:for="{{item.starList}}" wx:key="i" wx:for-item="i">
<block wx:for="{{item.starList}}" wx:key="i" wx:for-item="i">
<gl-image class="star" src="/aiCheck/star-{{i}}.png"></gl-image>
<gl-image class="star" src="/aiCheck/star-{{i}}.png"></gl-image>
</block>
</block>
</block>
</view>
</view>
</block>
</block>
</view>
</view>
...
@@ -138,5 +143,5 @@
...
@@ -138,5 +143,5 @@
<view class="footer" id="footer">
<view class="footer" id="footer">
<view class="back-home" bindtap="backHome">返回首页</view>
<view class="back-home" bindtap="backHome">返回首页</view>
<view class="again" bindtap="again">再来一次</view>
<view class="again" bindtap="again">再来一次</view>
</view>
</view>
</block>
</block>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment