|
@@ -138,29 +138,22 @@ export default defineComponent({
|
|
|
}
|
|
|
|
|
|
const viewReport = () => {
|
|
|
- // postMessage({
|
|
|
- // api: 'openAccompanyWebView',
|
|
|
- // content: {
|
|
|
- // // url: location.origin + '/accompany/#/report/',
|
|
|
- // url:
|
|
|
- // location.origin +
|
|
|
- // pathname +
|
|
|
- // '/colexiu-report.html?source=evaluation&musicId=' +
|
|
|
- // search.id +
|
|
|
- // '&id=' +
|
|
|
- // data.value?.recordIdStr || '',
|
|
|
- // orientation: 0,
|
|
|
- // isHideTitle: true, // 此处兼容安卓,意思为隐藏全部头部
|
|
|
- // statusBarTextColor: false,
|
|
|
- // isOpenLight: true,
|
|
|
- // },
|
|
|
- // })
|
|
|
- location.href = location.origin +
|
|
|
- pathname +
|
|
|
- `/colexiu-report.html?source=evaluation&t=${Date.now()}&musicId=` +
|
|
|
- search.id +
|
|
|
- '&id=' +
|
|
|
- data.value?.recordIdStr || ''
|
|
|
+ postMessage({
|
|
|
+ api: 'openAccompanyWebView',
|
|
|
+ content: {
|
|
|
+ url:
|
|
|
+ location.origin +
|
|
|
+ pathname +
|
|
|
+ '/colexiu-report.html?source=evaluation&musicId=' +
|
|
|
+ search.id +
|
|
|
+ '&id=' +
|
|
|
+ data.value?.recordIdStr || '',
|
|
|
+ orientation: 0,
|
|
|
+ isHideTitle: true, // 此处兼容安卓,意思为隐藏全部头部
|
|
|
+ statusBarTextColor: false,
|
|
|
+ isOpenLight: true,
|
|
|
+ },
|
|
|
+ })
|
|
|
}
|
|
|
return () => {
|
|
|
const info = getLeveByScoreId(data.value?.score)
|