sylte:flx
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// 帮助中心文案配置
|
||||
export const HELP_CONTENT = {
|
||||
// FAQ列表
|
||||
FAQ_LIST: [
|
||||
{
|
||||
question: '如何租借风扇?',
|
||||
answer: '点击首页"扫码租借"按钮,使用微信扫描设备上的二维码,按提示完成支付即可使用。'
|
||||
},
|
||||
{
|
||||
question: '收费标准是怎样的?',
|
||||
answer: '使用费用为2元/小时,不足1小时按1小时计算。押金99元,归还后自动退还。'
|
||||
},
|
||||
{
|
||||
question: '如何归还风扇?',
|
||||
answer: '将风扇带到任意归还点,点击首页"扫码归还"按钮,扫描归还点二维码即可完成归还。'
|
||||
},
|
||||
{
|
||||
question: '押金多久能退还?',
|
||||
answer: '归还设备后押金将自动发起退款,预计0-7个工作日到账。'
|
||||
},
|
||||
{
|
||||
question: '设备无法正常使用怎么办?',
|
||||
answer: '您可以通过"我的-投诉与建议"提交故障反馈,或直接拨打客服电话处理。'
|
||||
}
|
||||
],
|
||||
|
||||
// 联系方式
|
||||
CONTACT: {
|
||||
TITLE: '联系客服',
|
||||
PHONE: {
|
||||
LABEL: '客服电话',
|
||||
VALUE: '400-888-8888'
|
||||
},
|
||||
SERVICE_TIME: {
|
||||
LABEL: '服务时间',
|
||||
VALUE: '周一至周日 09:00-22:00'
|
||||
}
|
||||
}
|
||||
}
|
||||
+10
-10
@@ -20,15 +20,15 @@
|
||||
|
||||
<!-- 联系客服 -->
|
||||
<view class="contact-card">
|
||||
<view class="contact-title">联系客服</view>
|
||||
<view class="contact-title">{{ HELP_CONTENT.CONTACT.TITLE }}</view>
|
||||
<view class="contact-content">
|
||||
<view class="contact-item">
|
||||
<text class="label">客服电话</text>
|
||||
<text class="value" @click="makePhoneCall">{{ contactInfo.phone }}</text>
|
||||
<text class="label">{{ HELP_CONTENT.CONTACT.PHONE.LABEL }}</text>
|
||||
<text class="value" @click="makePhoneCall">{{ HELP_CONTENT.CONTACT.PHONE.VALUE }}</text>
|
||||
</view>
|
||||
<view class="contact-item">
|
||||
<text class="label">服务时间</text>
|
||||
<text class="value">{{ contactInfo.serviceTime }}</text>
|
||||
<text class="label">{{ HELP_CONTENT.CONTACT.SERVICE_TIME.LABEL }}</text>
|
||||
<text class="value">{{ HELP_CONTENT.CONTACT.SERVICE_TIME.VALUE }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -36,16 +36,16 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { helpConfig } from '@/config/help'
|
||||
import { HELP_CONTENT } from '@/config/constants/help'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
faqList: helpConfig.faqList.map(item => ({
|
||||
HELP_CONTENT,
|
||||
faqList: HELP_CONTENT.FAQ_LIST.map(item => ({
|
||||
...item,
|
||||
isOpen: false
|
||||
})),
|
||||
contactInfo: helpConfig.contactInfo
|
||||
}))
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
},
|
||||
makePhoneCall() {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: this.contactInfo.phone
|
||||
phoneNumber: HELP_CONTENT.CONTACT.PHONE.VALUE
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
min-height: 100vh;
|
||||
height: 87.5vh;
|
||||
background: #f8f8f8;
|
||||
padding-bottom: 40rpx;
|
||||
|
||||
|
||||
+1
-12
@@ -36,17 +36,6 @@
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
|
||||
<!-- 押金 -->
|
||||
<view class="function-item" @click="navigateTo('/pages/deposit/index')">
|
||||
<view class="item-left">
|
||||
<view class="icon-wrap deposit">
|
||||
<view class="icon-placeholder"></view>
|
||||
</view>
|
||||
<text class="title">押金管理</text>
|
||||
</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
|
||||
<!-- 投诉建议 -->
|
||||
<view class="function-item" @click="navigateTo('/pages/feedback/index')">
|
||||
<view class="item-left">
|
||||
@@ -99,7 +88,7 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.my-container {
|
||||
min-height: 100vh;
|
||||
min-height: 87.5vh;
|
||||
background: #f8f8f8;
|
||||
padding-bottom: 40rpx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user