| | |
| | | <el-main class="align-center"> |
| | | <H2 v-if="content!==null && content.trim()!==''">{{content}}</H2> |
| | | <H2 v-else>{{$t('finishMsg')}}</H2> |
| | | <el-button type="danger" @click="closePage" round>{{$t('close')}}</el-button> |
| | | <el-button class="close-page" type="danger" @click="closePage" round>{{$t('close')}}</el-button> |
| | | <!-- 新增下载报告提示语 --> |
| | | <H2 v-if ="downDisable">{{$t('finishPersonalityDownInfo')}}</H2> |
| | | <el-button type="success" v-if ="downDisable" @click="downReport" round>{{$t('down')}}</el-button> |
| | |
| | | viewReportH5: function () { |
| | | let _this = this |
| | | _this.$router.push({ path: '/report/h5', query: { tokenId: _this.tokenId } }) |
| | | }, |
| | | isMobile () { |
| | | let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i) |
| | | return flag |
| | | } |
| | | // isMobile () { |
| | | // let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i) |
| | | // return flag |
| | | // } |
| | | }, |
| | | computed: { |
| | | } |
| | |
| | | padding-left: 25px; |
| | | padding-right: 25px; |
| | | } |
| | | |
| | | @media (max-width: 1024px) { |
| | | .close-page { |
| | | display: none; |
| | | } |
| | | } |
| | | </style> |