AI问答框架
This commit is contained in:
173
pages-subpackage/ai_qa/sharp_qa/sharp_qa.vue
Normal file
173
pages-subpackage/ai_qa/sharp_qa/sharp_qa.vue
Normal file
@@ -0,0 +1,173 @@
|
||||
<template>
|
||||
<view class="qa-page">
|
||||
<view class="page-header">
|
||||
<view class="nav-bar">
|
||||
<view class="nav-left" @click="goBack">
|
||||
<text class="back-icon">←</text>
|
||||
</view>
|
||||
<text class="nav-title">针尖问答</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<scroll-view class="content-scroll" scroll-y="true">
|
||||
<view class="intro-card">
|
||||
<text class="intro-title">说明</text>
|
||||
<text class="intro-body">语气尖锐、带测试或挑衅色彩的问题,常在试探专业度、诚意或底线;硬怼或空喊口号都容易失分。</text>
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<text class="section-title">典型问题</text>
|
||||
<view class="bullet" v-for="(t, i) in questions" :key="i">
|
||||
<text class="bullet-dot">•</text>
|
||||
<text class="bullet-text">{{ t }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="tip-card">
|
||||
<text class="tip-label">应对关键</text>
|
||||
<text class="tip-body">不怼、不躲;先共情或复述问题,再坦诚边界(能承诺什么 / 不能承诺什么),用可验证依据与替代方案收尾,把对话带回需求与价值。</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
questions: [
|
||||
'你们是不是就靠嘴上说得好听?',
|
||||
'要是出了问题你们跑得比谁都快吧?',
|
||||
'你给最低价,我现在就定。'
|
||||
]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
goBack() {
|
||||
uni.navigateBack();
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.qa-page {
|
||||
min-height: 100vh;
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
background: #ffffff;
|
||||
border-bottom: 1rpx solid #e9ecef;
|
||||
}
|
||||
|
||||
.nav-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 88rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
|
||||
.nav-left {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.back-icon {
|
||||
font-size: 36rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.nav-title {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.content-scroll {
|
||||
height: calc(100vh - 88rpx);
|
||||
}
|
||||
|
||||
.intro-card {
|
||||
margin: 24rpx 30rpx;
|
||||
padding: 28rpx;
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
.intro-title {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.intro-body {
|
||||
font-size: 26rpx;
|
||||
color: #555;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin: 0 30rpx 24rpx;
|
||||
padding: 28rpx;
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.bullet {
|
||||
display: flex;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.bullet-dot {
|
||||
margin-right: 12rpx;
|
||||
color: #007AFF;
|
||||
font-size: 28rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.bullet-text {
|
||||
flex: 1;
|
||||
font-size: 26rpx;
|
||||
color: #555;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.tip-card {
|
||||
margin: 0 30rpx 40rpx;
|
||||
padding: 28rpx;
|
||||
background: #f0f7ff;
|
||||
border-radius: 16rpx;
|
||||
border: 1rpx solid #d0e3fc;
|
||||
}
|
||||
|
||||
.tip-label {
|
||||
display: block;
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
color: #007AFF;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.tip-body {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user