sylte:flx
This commit is contained in:
+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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user