|
@@ -15,6 +15,9 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import { funWxShare } from '../../../utils/wxShareConfig'
|
|
|
+ import { getProductDetail } from '../../../api/common'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'explain',
|
|
|
props: {
|
|
@@ -36,9 +39,27 @@
|
|
|
default: ''
|
|
|
}
|
|
|
},
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ productInfo: {}
|
|
|
+ }
|
|
|
+ },
|
|
|
async mounted () {
|
|
|
+ funWxShare('驼驼银服', '家里用钱,就找驼驼银服,省心,省力,妥妥的!', location.href, location.protocol + '//api.tuotuoyinfu.com/img/logo.jpg')
|
|
|
await this.$nextTick()
|
|
|
- this.$refreshTitle('中行贷')
|
|
|
+ this.funGetProductDetail()
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ funGetProductDetail () {
|
|
|
+ getProductDetail(this.orderProductId).then(res => {
|
|
|
+ if (res.status) {
|
|
|
+ this.productInfo = res.data
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refreshTitle(res.data.productName)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|