|
@@ -11,7 +11,7 @@
|
|
|
:listCount="listCount"
|
|
|
:delCount="delCount"
|
|
|
/>
|
|
|
- <div>
|
|
|
+ <div style="width: fit-content; padding: 0 32px">
|
|
|
<el-menu
|
|
|
:default-active="activeIndex"
|
|
|
class="el-menu-demo"
|
|
@@ -115,7 +115,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="main-content-right">
|
|
|
- <p class="collectTime">{{ item.create_time }}</p>
|
|
|
+ <p
|
|
|
+ :class="[
|
|
|
+ 'collectTime',
|
|
|
+ language_type == 'AR' ? 'textLeft' : '',
|
|
|
+ ]"
|
|
|
+ >
|
|
|
+ {{ item.create_time }}
|
|
|
+ </p>
|
|
|
|
|
|
<div class="order-btn">
|
|
|
<div class="price">
|
|
@@ -195,7 +202,7 @@ import Hanzi from "../common/Hanzi.vue";
|
|
|
import Sentence from "../common/Sentence.vue";
|
|
|
import SentenceEn from "../common/SentenceEn.vue";
|
|
|
import Enword from "../common/Enword.vue";
|
|
|
-
|
|
|
+import { mapGetters } from "vuex";
|
|
|
export default {
|
|
|
name: "MyCollect",
|
|
|
//import引入的组件需要注入到对象中才能使用
|
|
@@ -239,7 +246,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
//计算属性 类似于data概念
|
|
|
- computed: {},
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(["language_type"]),
|
|
|
+ },
|
|
|
//监控data中数据变化
|
|
|
watch: {},
|
|
|
//方法集合
|
|
@@ -578,6 +587,7 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: flex-start;
|
|
|
+ margin: 0 16px;
|
|
|
.name {
|
|
|
font-weight: normal;
|
|
|
font-size: 16px;
|
|
@@ -691,7 +701,7 @@ export default {
|
|
|
font-size: 24px;
|
|
|
line-height: 40px;
|
|
|
color: #2c2c2c;
|
|
|
- margin-right: 12px;
|
|
|
+ margin: 0 12px;
|
|
|
}
|
|
|
|
|
|
.goPay {
|
|
@@ -734,6 +744,9 @@ export default {
|
|
|
color: #2c2c2c;
|
|
|
opacity: 0.5;
|
|
|
margin: 0;
|
|
|
+ &.textLeft {
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|