.ant-message
This commit is contained in:
parent
9bf47e3223
commit
0f67147f8c
|
@ -80,6 +80,16 @@
|
|||
oInput.remove() // 执行浏览器复制命令
|
||||
message.success(name + '成功')
|
||||
}
|
||||
message.config({
|
||||
top: '100px', // 距离顶部的位置
|
||||
})
|
||||
// const success = () => {
|
||||
// message.success({
|
||||
// // content: 'This is a prompt message with custom className and style',
|
||||
// className: 'custom-class',
|
||||
// style: {},
|
||||
// })
|
||||
// }
|
||||
watch(
|
||||
() => props.dataList,
|
||||
(val) => {
|
||||
|
@ -157,3 +167,8 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.custom-class {
|
||||
/* top: 100px; */
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
>
|
||||
<span
|
||||
class="img"
|
||||
:class="sel == '访问量' ? 'fwl' : sel == '申购量' ? 'sgl' : 'scl'"
|
||||
:class="sel == '浏览量' ? 'fwl' : sel == '申购量' ? 'sgl' : 'scl'"
|
||||
></span>
|
||||
<span class="text">{{ sel }}</span>
|
||||
</div>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<div class="img" :class="item.imgType"></div>
|
||||
</div>
|
||||
<div class="item-right">
|
||||
<div class="fw" v-if="select == '访问量'">
|
||||
<div class="fw" v-if="select == '浏览量'">
|
||||
{{ select }}:{{ item.visits }}
|
||||
</div>
|
||||
<div class="fw" v-if="select == '申购量'">
|
||||
|
@ -63,8 +63,8 @@
|
|||
import { useStore } from 'vuex'
|
||||
const store = useStore()
|
||||
const router = useRouter()
|
||||
const select = ref('访问量')
|
||||
const selList = ref(['访问量', '申购量', '收藏量'])
|
||||
const select = ref('浏览量')
|
||||
const selList = ref(['浏览量', '申购量', '收藏量'])
|
||||
const list = ref([])
|
||||
|
||||
const paramsGetResources = {
|
||||
|
@ -74,13 +74,13 @@
|
|||
type: '',
|
||||
name: '',
|
||||
infoList: [],
|
||||
orderField: 'visits', // total 综合 visits 访问量 applyCount 申请量 score 评分 collectCount 收藏量
|
||||
orderField: 'visits', // total 综合 visits 浏览量 applyCount 申请量 score 评分 collectCount 收藏量
|
||||
orderType: 'DESC', // ASC 升序 DESC 降序
|
||||
}
|
||||
const selectChange = (sel) => {
|
||||
select.value = sel
|
||||
switch (select.value) {
|
||||
case '访问量':
|
||||
case '浏览量':
|
||||
paramsGetResources.orderField = 'visits'
|
||||
break
|
||||
case '申购量':
|
||||
|
|
|
@ -146,9 +146,9 @@
|
|||
'智能算法',
|
||||
'图层服务',
|
||||
'开发组件',
|
||||
'办公组件',
|
||||
// '办公组件',
|
||||
'业务组件',
|
||||
'其他',
|
||||
// '其他',
|
||||
])
|
||||
const visible = ref(false)
|
||||
const showModal = () => {
|
||||
|
|
|
@ -318,9 +318,9 @@
|
|||
'智能算法',
|
||||
'图层服务',
|
||||
'开发组件',
|
||||
'办公组件',
|
||||
// '办公组件',
|
||||
'业务组件',
|
||||
'其他',
|
||||
// '其他',
|
||||
])
|
||||
let tabname = ref('组件服务')
|
||||
function tabqiehuan(item, index) {
|
||||
|
|
Loading…
Reference in New Issue