| | |
| | | <van-loading type="spinner"></van-loading> |
| | | </div> |
| | | </div> |
| | | <ul class="flex px-32 py-20 box-border justify-between text-grey font-26" v-if="showBottom" |
| | | <!-- <ul class="flex px-32 py-20 box-border justify-between text-grey font-26" v-if="showBottom" |
| | | style="border-top:1px solid rgba(68,75,88,0.2);"> |
| | | <template v-if="!isChange"> |
| | | <li v-for="item in subTechnicalIndicatorTypes" :key="item" class="mr-20" |
| | |
| | | :class="{ 'text-black': typeValue === item }" @click="choiceType(item)">{{ item }}</li> |
| | | </template> |
| | | </template> |
| | | </ul> |
| | | </ul> --> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | { id: '15min', time: '15min', text: '15' + this.$t('分'), ts: 15 * 60 * 1000 }, |
| | | { id: '30min', time: '30min', text: '30' + this.$t('分'), ts: 30 * 60 * 1000 }, |
| | | { id: '60min', time: '60min', text: '1' + this.$t('小时'), ts: 60 * 60 * 1000 }, |
| | | { id: '4hour', time: '4hour', text: '4' + this.$t('小时'), ts: 4 * 60 * 60 * 1000 }, |
| | | // { id: '4hour', time: '4hour', text: '4' + this.$t('小时'), ts: 4 * 60 * 60 * 1000 }, |
| | | { id: '1day', time: '1day', text: '1' + this.$t('天'), ts: 24 * 60 * 60 * 1000 }, |
| | | { id: '1week', time: '1week', text: '1' + this.$t('周'), ts: 7 * 24 * 60 * 60 * 1000 }, |
| | | { id: '1mon', time: '1mon', text: '1' + this.$t('月'), ts: 30 * 24 * 60 * 60 * 1000 } |
| | |
| | | }, |
| | | methods: { |
| | | initData() { |
| | | this.timeValue = this.timeList[0] |
| | | this.timeValue = this.timeList[1] |
| | | chart = init('kline', config); |
| | | chart.setOffsetRightSpace(25) |
| | | chart.setDataSpace(10) |