diff --git a/src/pages/sparring/components/answer.vue b/src/pages/sparring/components/answer.vue
new file mode 100644
index 00000000..15e261fa
--- /dev/null
+++ b/src/pages/sparring/components/answer.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/sparring/components/question.vue b/src/pages/sparring/components/question.vue
new file mode 100644
index 00000000..96121d50
--- /dev/null
+++ b/src/pages/sparring/components/question.vue
@@ -0,0 +1,266 @@
+
+
+
+
+
+ {{voiceTime}}
+
+
+ {{ showContent }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/sparring/components/talking-item.vue b/src/pages/sparring/components/talking-item.vue
new file mode 100644
index 00000000..b3161974
--- /dev/null
+++ b/src/pages/sparring/components/talking-item.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+ {{ roleInfo?.chaName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/sparring/tip.vue b/src/pages/sparring/tip.vue
index 35dd02a9..fe9f15f5 100644
--- a/src/pages/sparring/tip.vue
+++ b/src/pages/sparring/tip.vue
@@ -1,5 +1,9 @@
+
+
+
+
@@ -99,6 +103,7 @@
const roleList = ref([])
const currentIndex = ref(0)
const showRoleInfo = ref(false)
+ const showLoading = ref(true)
const gender = ref('m')
const activeRole = computed(()=>{
if(roleList.value.length>0){
@@ -113,6 +118,9 @@
traId: traId.value
}).then(res => {
roleList.value = res.body || []
+ setTimeout(()=> {
+ showLoading.value = false
+ }, Math.random() * 1000 + 500)
})
}
const onSwiperChange = (data) => {
@@ -140,6 +148,28 @@
background-image: url(@/static/images/sparring/bg.png);
background-size: cover;
// background-color: #f2f6fd;
+ .sparring-detail-loading{
+ position: fixed;
+ z-index: 20;
+ height: 100vh;
+ width: 100vw;
+ background-image: url(@/static/images/sparring/bg.png);
+ .loading-img{
+ position: absolute;
+ width: 380rpx;
+ height: 590rpx;
+ top: 40%;
+ transform: translateY(-50%) translateX(-50%);
+ left: 50%;
+ padding-top: 540rpx;
+ line-height: 50rpx;
+ box-sizing: border-box;
+ text-align: center;
+ background-image: url(@/static/images/sparring/waiting.png);
+ background-repeat: no-repeat;
+ background-size: cover;
+ }
+ }
.sparring-detail-body {
position: absolute;
overflow-x: hidden;