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 e10af62f
authored
Oct 31, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改结果页
1 parent
e48ea6c6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
18 deletions
packageEquity/pages/aiCheck/defense/defense.sass
packageEquity/pages/aiCheck/defense/defense.wxml
packageEquity/pages/aiCheck/result/result.js
packageEquity/pages/aiCheck/result/result.wxml
packageEquity/pages/aiCheck/defense/defense.sass
View file @
e10af62
...
...
@@ -14,12 +14,19 @@ page {
width
:
100%
;
height
:
538rpx
;
position
:
fixed
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/aiCheck/scene/scene-bg.webp')
no-repeat
;
background-size
:
100%
;
left
:
0
;
top
:
0
;
z-index
:
-1
;
}
.bg2
{
background
:
url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/aiCheck/defense/product1-bg.webp')
no-repeat
;
background-size
:
100%
;
}
.bg3
{
background
:
url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/aiCheck/defense/product2-bg.webp')
no-repeat
;
background-size
:
100%
;
}
.navigation-header
.navigation-bar
{
position
:
relative
;
box-shadow
:
none
;
...
...
packageEquity/pages/aiCheck/defense/defense.wxml
View file @
e10af62
<!-- packageEquity/pages/aiCheck/scene/scene.wxml -->
<view class="bg"></view>
<view class="bg
{{id == 2 ? 'bg2' : id == 3 ? 'bg3' : ''}}
"></view>
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{!showChat}}" bindback="back"></navigation-bar>
<view class="introduce-section" style="height: calc(100vh - {{navBarHeight}}px - 152rpx);">
<view class="introduce-box">
<!-- <view class="type-tab"> -->
<scroll-view class="type-tab" scroll-x="true" scroll-left="{{scrollLeft}}">
<scroll-view class="type-tab" scroll-x="true"
show-scrollbar="{{false}}" enhanced="true"
scroll-left="{{scrollLeft}}">
<view wx:for="{{tabList}}" wx:key="id" class="tab-item {{currentTab == index ? 'active' : ''}}" bindtap="switchTab" data-index="{{index}}" data-type="{{item.id}}">
<gl-image class="icon" src="/aiCheck/defense/{{currentTab == index ? item.icon + '-check' : item.icon}}.webp"></gl-image>
{{item.name}}
...
...
packageEquity/pages/aiCheck/result/result.js
View file @
e10af62
...
...
@@ -113,11 +113,11 @@ Page({
}
},
again
()
{
const
{
id
,
entry
}
=
this
.
data
;
const
{
id
,
entry
,
sector
,
sparringType
}
=
this
.
data
;
if
(
id
)
{
wx
.
navigateTo
({
url
:
`/packageEquity/pages/aiCheck/scene/scene`
,
});
// 都为延保 sparringType 1.话术演练 2.攻防演练 ,暂时只有延保、安心包,再多需修改代码
sector
==
'延保'
?
sparringType
==
1
?
wx
.
navigateTo
({
url
:
`/packageEquity/pages/aiCheck/scene/scene`
})
:
wx
.
navigateTo
({
url
:
`/packageEquity/pages/aiCheck/defense/defense?id=2`
})
:
wx
.
navigateTo
({
url
:
`/packageEquity/pages/aiCheck/defense/defense?id=3`
})
}
else
if
(
entry
==
"other"
)
{
wx
.
navigateTo
({
url
:
`/packageEquity/pages/aiCheck/scene/scene`
,
...
...
@@ -269,7 +269,7 @@ Page({
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
)
return
}
const
{
descriptionList
,
reportItem
,
sparringDuration
,
scor
e
}
=
const
{
descriptionList
,
reportItem
,
sparringDuration
,
level
,
sector
,
sparringTyp
e
}
=
res
.
data
||
{};
let
{
minutes
,
seconds
}
=
this
.
formatTime
(
sparringDuration
||
0
);
this
.
setData
({
...
...
@@ -278,7 +278,9 @@ Page({
reportItem
,
minutes
,
seconds
,
score
,
level
,
sector
,
sparringType
,
duration
:
true
,
});
this
.
setDetail
(
reportItem
);
...
...
@@ -550,8 +552,8 @@ Page({
},
jump
(
e
)
{
let
{
item
}
=
e
.
currentTarget
.
dataset
,
{
reportItem
,
avatar
,
score
,
id
,
entry
}
=
this
.
data
;
if
(
score
==
null
)
return
;
{
reportItem
,
avatar
,
level
,
id
,
entry
}
=
this
.
data
;
if
(
level
==
null
)
return
;
wx
.
$router
.
go
(
"/packageEquity/pages/aiCheck/detail/detail"
,
{
reportItem
,
avatar
,
...
...
packageEquity/pages/aiCheck/result/result.wxml
View file @
e10af62
...
...
@@ -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}} {{
score
== null?'pending':''}}">
<view class="canvas-box type-{{reportItem.length}} {{
level
== null?'pending':''}}">
<view style="position: relative;">
<view class="canvas-view">
<block wx:if="{{radarImg}}">
...
...
@@ -26,7 +26,7 @@
<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:if="{{
score
== null && item.reportItem == '服务态度'}}">
<block wx:if="{{
level
== null && item.reportItem == '服务态度'}}">
<view class="pending-text">分析中...</view>
</block>
<block wx:else>
...
...
@@ -45,12 +45,12 @@
<view class="score-box">
<view class="score-item">
<view>总得分</view>
<view class="score" wx:if="{{
score
!= null}}">
<view class="score-num">{{
score || 0
}}</view>
/100
<view class="score" wx:if="{{
level
!= null}}">
<view class="score-num">{{
level || '-'
}}</view>
<!-- /100 -->
</view>
<view wx:else class="no-score">计算中...</view>
<text class="score-tips">
90%的使用者在\n75-85之间
</text>
<text class="score-tips">
80%的使用者\n总体评级为B
</text>
</view>
<view class="score-item">
<view>练习时长</view>
...
...
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