|
|
@@ -4,7 +4,7 @@
|
|
|
}
|
|
|
</config>
|
|
|
<template>
|
|
|
- <div class="pageBottom">
|
|
|
+ <div class="pageBottom" :class="{ isEn: !isChinese }">
|
|
|
<van-cell-group :border="false">
|
|
|
<van-cell :border="false" :title="$t('xing-ming')" :value="info.nickname" />
|
|
|
<van-cell :border="false" :title="$t('cheng-hu')" v-if="sex" :value="sex" />
|
|
|
@@ -39,6 +39,7 @@
|
|
|
:hasDel="false"
|
|
|
:hasCheck="false"
|
|
|
imgKey="mainPicture"
|
|
|
+ @choose="goDetail"
|
|
|
></product-row>
|
|
|
</div>
|
|
|
</van-cell>
|
|
|
@@ -48,7 +49,7 @@
|
|
|
<script>
|
|
|
import { mapState } from 'vuex';
|
|
|
import { sexModels } from '../utils/appState';
|
|
|
-import ProductRow from '../components/product/RowMini';
|
|
|
+import ProductRow from '../components/product/RowMini.vue';
|
|
|
export default {
|
|
|
data() {
|
|
|
return {};
|
|
|
@@ -73,6 +74,11 @@ export default {
|
|
|
wx.setNavigationBarTitle({
|
|
|
title: this.$t('zi-xun-dan-xiang-qing')
|
|
|
});
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ goDetail(id) {
|
|
|
+ this.navigateTo(`/pagesProduct/Detail?id=${id}`, false);
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
@@ -101,4 +107,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.isEn {
|
|
|
+ .van-cell {
|
|
|
+ .van-cell__title {
|
|
|
+ width: 120px;
|
|
|
+ font-size: 12px;
|
|
|
+ min-width: 120px;
|
|
|
+ }
|
|
|
+ .van-cell__value {
|
|
|
+ margin-left: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|