Commit 2b0faea6 by 李伟康

commit 修改样式

1 parent d6db85ac
......@@ -537,8 +537,10 @@ Page({
} = e.currentTarget.dataset, {
reportItem,
avatar,
score,
id,
} = this.data
if(score == null) return
wx.$router.go("/packageEquity/pages/aiCheck/detail/detail", {
reportItem,
avatar,
......
......@@ -208,19 +208,22 @@ page {
margin: 0 auto;
position: relative;
overflow: hidden;
@keyframes rotateArc {
100% {
transform:translate(-50%,-50%) rotate(0deg);
}
transform: translate(-50%, -50%) rotate(0deg);
}
}
.loading-box {
width: 300rpx;
height: 300rpx;
transform:translate(-50%,-50%) rotate(360deg);
transform: translate(-50%, -50%) rotate(360deg);
animation: rotateArc 45s infinite linear;
position: absolute;
left: 50%;
top: 50%;
&::before {
position: absolute;
content: "";
......@@ -255,11 +258,13 @@ page {
animation: rotate 3s infinite ease-in-out;
}
}
@keyframes rotate {
100% {
transform: rotate(0deg);
transform: rotate(0deg);
}
}
}
.canvas {
width: 100%;
height: 100%;
......@@ -297,15 +302,6 @@ page {
margin-top: 24rpx;
height: 448rpx;
.score-bg {
width: 432rpx;
height: 432rpx;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
z-index: -1;
}
.categories {
.title {
......@@ -325,6 +321,7 @@ page {
transform: rotate(-45deg);
}
}
}
.categories-1 {
......@@ -359,11 +356,25 @@ page {
}
}
.pending {
.title {
color: #999EA8 !important;
&::after {
display: none !important;
}
}
&-text {
font-size: 22rpx;
color: #3275FA;
}
}
.type-4 {
.canvas {
// transform: scale(1.45) translateY(5%);
transform: scale(1.45) rotate(-45deg);
transform-origin:center center;
transform-origin: center center;
}
.categories-1 {
......
......@@ -11,7 +11,7 @@
</navigation-bar>
<view class="wrapper" style="margin-top: {{navBarHeight}}px;height: calc(100vh - {{navBarHeight + footerHeight}}px);" wx:if="{{tabId == 1}}">
<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 class="canvas-view">
<block wx:if="{{radarImg}}">
......@@ -26,8 +26,13 @@
<block wx:for="{{reportItem}}" wx:key="index">
<view class="categories categories-{{index + 1}}" bindtap="jump" data-item="{{item}}">
<view class="title">{{item.reportItem}}</view>
<block wx:for="{{item.starList}}" wx:key="i" wx:for-item="i">
<gl-image class="star" src="/aiCheck/star-{{i}}.png"></gl-image>
<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">
<gl-image class="star" src="/aiCheck/star-{{i}}.png"></gl-image>
</block>
</block>
</view>
</block>
......@@ -119,7 +124,7 @@
</view>
<view class="line"></view>
<view class="polish">
<view class="title">
<view class="title">
<gl-image class="suggest-icon" src="/aiCheck/polish-icon.png"></gl-image>
润色表达
</view>
......@@ -136,7 +141,7 @@
<block wx:if="{{tabId == 1}}">
<view class="footer" id="footer">
<view class="back-home" bindtap="backHome">返回首页</view>
<view class="again" bindtap="again">再来一次</view>
</view>
<view class="back-home" bindtap="backHome">返回首页</view>
<view class="again" bindtap="again">再来一次</view>
</view>
</block>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!