Giter VIP home page Giter VIP logo

datav-vue3's People

Contributors

soya-xy avatar vaemusic avatar xla740920 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

datav-vue3's Issues

大佬,请教dv-conical-column-chart的2个问题

大佬,我在使用dv-conical-column-chart组件时,遇到2个问题,看看您能否解决

1.这个组件中每根柱是自动排序的,值最高的排第1,但是我们这里大家习惯按循序看,不愿意排序好的
例如:我们就喜欢:第1个是S1线,第2个是S2线,第3个是S3线,循序乱了,大家不习惯

2.columnColor | 柱颜色 ,能不能给每根柱单独配置颜色

当然,我们提的要求可能不合理,或者您不方便实现,那就算了,再次谢谢您开源提供这套组件

请教dv-capsule-chart文字颜色问题

dv-capsule-chart的文字是白色的,如果我的背景也是白色,那就无法看清楚文字

可否像dv-conical-column-chart有一个textColor 可以配置 文字颜色

为什么同一个边框的颜色都是一致的??

大佬你好 有个问题

比如我一个页面用了好几个 dv-border-box3 边框

然后每个边框设置不同的颜色

结果页面所有的dv-border-box3 边框颜色都和最后一个边框一样 全都都一个颜色 好像共用一个全局变量一样

能不能各自有各自的颜色 互不干扰??

请教dv-water-level-pond文字问题

dv-water-level-pond组件中的文字是否可以自己配置颜色和大小

谢谢大佬!

const config = reactive( {
data : [ 66 , 85 , 15 ] ,
formatter : '{value}个' ,
colors : [ '#111011' , '#d92ad9' , '#ce0e0e' ]
} )

BorderBox11 占用 CPU比较高?

作者你好。

单纯的放上边框,没有加东西,浏览器 CPU 占用在 10% 左右波动。
注释掉 Border11 或者换用其它 Border 之后降回 1% 左右。

"vue": "^3.2.13"
"@liveqing/liveplayer-v3": "^3.1.9"
操作系统:win11
处理器:i5-1135G7 四核心八线程
浏览器:105.0.1343.53 (edge)和 104.0.5112.102(chrome)。

<BorderBox11 title="统计" :color="defaultColor">
  <div class="chart-box">
         //
  </div>
</BorderBox11>

请教大佬一个关于dv-button的问题

我通过这样的方式添加了一个按钮:
<dv-button @click='editParams' border="Border5" style="width: 90px; height: 25px" color="#c8161d" font-color="#e18a3b" fontSize="11">调整相机参数</dv-button>
效果是整个按钮框比较宽,文字比较小,并且会导致换行,其效果和原因如下图所示:
image
image
如果我能修改这个class='dv-button'要素的padding值,就可以达到想要的效果。
所以想请教一下大佬,在添加按钮的时候,怎样把这样的样式设置参数传递下去,非常感谢!

开发环境运行时错误

in ./node_modules/@kjgl77/datav-vue3/dist/datav-vue3.es.js

Module parse failed: Unexpected token (11867:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| function yi(e, t) {
| var r = typeof e;

return t = t ?? md, !!t && (r == "number" || r != "symbol" && yd.test(e)) && e > -1 && e % 1 == 0 && e < t;
| }
| function Ln(e, t, r) {

版本是 1.2.1

运行报错

注释掉这个文件内的 yi这个函数后就可以了

关于滚动第一个

大佬,就是那个轮播表有没有办法知道到底哪一个item滚动到第一个了。 然后就可以进行其他组件随着轮播表滚动而做出改变啥的。 这个小需求

手机横屏那个全屏容器完全无法兼容,惨不忍睹,另外无法修改svg装饰的线宽度,这导致手机上没法看。

PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions. Thank you.

Describe the bug/issue

请教大佬,dv-charts数据改变,页面没有自动刷新

         <dv-charts :option="option1"
                   style="width:100%;height:15rem;"/>

        <button @click="updateData">修改数据</button>

function updateData () {
option1.series[ 0 ].data = [ 100 , 130 , 900 , 100 , 500 , 200 , 985 ];
}

const option1 = {
title : {
text : '周销售额趋势'
} ,
xAxis : {
name : '第一周' ,
data : [ '周一' , '周二' , '周三' , '周四' , '周五' , '周六' , '周日' ]
} ,
yAxis : {
name : '销售额' ,
data : 'value'
} ,
series : [
{
data : [ 1200 , 2230 , 1900 , 2100 , 3500 , 4200 , 3985 ] ,
type : 'line'
}
]
}

请教大佬,我点击“修改数据”按钮后,图表没有反映,没有变化,请教一下,是还需要什么吗?

请教dv-capsule-chart数据源为空问题

const config = reactive( {
data : [
{
name : '南阳' ,
value : 167
} ,
{
name : '周口' ,
value : 123
} ,
{
name : '漯河' ,
value : 98
} ,

] ,
showValue : true ,
unit : '万元'

} )

function click1 () {
config.data = [];
}

我单击赋值空数组,好像页面无反应

请教大佬dv-digital-flop动画问题

大佬,dv-digital-flop组件,我发现好像在页面首次打开或者刷新时,是没有动画效果的
但是,我做一个按钮修改里面的值,会发生动画效果

关于两个按钮自动换行的问题

我的布局代码是这样,加载出来之后两个按钮一直保持换行状态,怎样能让它们并列:

<dv-border-box-12>
     <center-left1 />
     <div>
        <dv-button @click='visible' border="Border2" style="width: 110px;height: 30px" color="#4c8045">可视域分析</dv-button>
        <dv-button @click='thermodynamic' border="Border5" style="width: 110px;height: 30px" color="#e18a3b">热力图分析</dv-button>
     </div>
</dv-border-box-12>

image

我使用的环境如下:

"dependencies": {
    "@jiaminghi/data-view": "^2.10.0",
    "@kjgl77/datav-vue3": "^1.7.1",
    "@types/cesium": "^1.70.0",
    "cesium": "~1.111.0",
    "core-js": "^3.6.5",
    "crypto-browserify": "^3.12.0",
    "echarts": "^5.1.1",
    "node-polyfill-webpack-plugin": "^2.0.1",
    "sprintf": "^0.1.5",
    "vue": "^3.0.0",
    "vue-class-component": "^8.0.0-0",
    "vue-router": "^4.0.0-0",
    "vuex": "^4.0.0-0"
  }

main.ts内容如下:

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import dataV from '@jiaminghi/data-view';
import DataVVue3 from '@kjgl77/datav-vue3'
import './assets/scss/style.scss';
import './assets/icon/iconfont.css'
import PublicComponent from '@/components/componentInstall';

const app = createApp(App)
app.use(PublicComponent)
app.use(dataV)
app.use(store)
app.use(router)
app.use(DataVVue3)
app.mount('#app')

怀疑是不是因为同时使用data-view和datav-vue3造成的,找了很久没解决,麻烦大佬帮忙看下,多谢!

请教一个dv-scroll-ranking-board文字颜色问题

大佬,dv-scroll-ranking-board的文字好像默认是白色的,我的程序背景也是白色的,所以看不清文字了,能否增加一个配置文字颜色的属性? 谢谢!

textColor | 文字颜色

vitepress打包不成功

.pnpm@[email protected][email protected]\node_modules@kjgl77\datav-vue3\dist\datav-vue3.es.js:1
import './style.css';
^^^^^^

SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at ModuleWrap. (node:internal/modules/esm/translators:170:29)
at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:409:24)

安装的依赖

"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@kjgl77/datav-vue3": "^1.5.0",
"element-plus": "^2.3.4",
"turndown": "^7.1.1",
"vue": "^3.2.47",
"vue-devui": "^1.1.0"
},
"devDependencies": {
"@babel/generator": "^7.21.5",
"@babel/parser": "^7.21.8",
"@babel/traverse": "^7.21.5",
"@babel/types": "^7.21.5",
"@types/node": "^20.1.1",
"@vitejs/plugin-vue": "^4.2.1",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"escape-html": "^1.0.3",
"fast-glob": "^3.2.12",
"highlight.js": "^11.8.0",
"markdown-it-container": "^3.0.0",
"marked": "^5.0.1",
"node-sass": "^8.0.0",
"prismjs": "^1.29.0",
"sass": "^1.62.1",
"sass-loader": "^13.2.2",
"turndown-plugin-gfm": "^1.0.2",
"unocss": "^0.51.12",
"unplugin-auto-import": "^0.15.3",
"vite": "^4.3.5",
"vite-plugin-dts": "^2.3.0",
"vite-plugin-vue": "^0.0.0",
"vitepress": "1.0.0-alpha.75"
}

请教大佬,dv-charts数据改变,页面没有自动刷新

         <dv-charts :option="option1"
                   style="width:100%;height:15rem;"/>

        <button @click="updateData">修改数据</button>

function updateData () {
option1.series[ 0 ].data = [ 100 , 130 , 900 , 100 , 500 , 200 , 985 ];
}

const option1 = {
title : {
text : '周销售额趋势'
} ,
xAxis : {
name : '第一周' ,
data : [ '周一' , '周二' , '周三' , '周四' , '周五' , '周六' , '周日' ]
} ,
yAxis : {
name : '销售额' ,
data : 'value'
} ,
series : [
{
data : [ 1200 , 2230 , 1900 , 2100 , 3500 , 4200 , 3985 ] ,
type : 'line'
}
]
}

请教大佬,我点击“修改数据”按钮后,图表没有反映,没有变化,请教一下,是还需要什么吗?

请教一个dv-conical-column-chart初始值问题

const config = reactive( {
data : [
{
name : '信阳' ,
value : 0 ,
} ,
{
name : '漯河' ,
value : 0 ,
} ,
] ,
//showValue 显示数值
showValue : true ,
//textColor 文字颜色
textColor : '#1258e3'
} )

dv-conical-column-chart的data中初始值value等于0,页面打开时,浏览器的控制台会报错误:Error: attribute y: Expected length, "NaN".

Decoration9 和 ScrollBoard 提示缺少类型 typeof_sfc_main 中的以下属性:setup, props

作者你好。

Decoration9ScrollBoard 提示 typescript 类型错误。

比如 Decoration9

    <Decoration9>
      {{ title }}
    </Decoration9>

提示:

不能将类型“{}”分配给类型“ComponentProps<typeof _sfc_main>”。
  类型“{}”缺少类型“typeof _sfc_main”中的以下属性: setup, props

如果按照文档示例加上样式:

    <Decoration9 style="width: 300px; height: 300px">
      {{ title }}
    </Decoration9>

提示:

不能将类型“{ style: {}; }”分配给类型“ComponentProps<typeof _sfc_main>”。
  类型“{ style: {}; }”缺少类型“typeof _sfc_main”中的以下属性: setup, props

ScrollBoard 提示是类似的:

  <ScrollBoard :config="config" style="background: #0a2732" />
不能将类型
“{ config: { header: string[]; data: unknown[][]; index: boolean; columnWidth: number[]; align: string[]; }; style: {}; }”
分配给类型“ComponentProps<typeof _sfc_main>”。
  类型
“{ config: { header: string[]; data: unknown[][]; index: boolean; columnWidth: number[]; align: string[]; }; style: {}; }”
缺少类型“typeof _sfc_main”中的以下属性: setup, props, emits

依赖:typescript 4.8.4
vite 项目:

   "vite": "^3.1.0",
   "vue": "^3.2.41",
   "@typescript-eslint/eslint-plugin": "^5.40.1",
   "@typescript-eslint/parser": "^5.40.1",
   "@vitejs/plugin-vue": "^3.1.0",

vue-cli 项目

    "@vue/cli-service": "~5.0.0",
    "vue": "^3.2.40",
    "@vue/cli-plugin-typescript": "~5.0.0",
    "@typescript-eslint/eslint-plugin": "^5.4.0",
    "@typescript-eslint/parser": "^5.4.0",

echart 鼠标移入上去没有原生echarts的标注

PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions. Thank you.

Describe the bug/issue

项目插入该插件打包时到rendering chunks (356)...卡了半个小时然后打包成功时怎么回事

PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions. Thank you.

Describe the bug/issue

全屏容器, 刷新页面后, 就不会适配了

PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions. Thank you.

Describe the bug/issue

求更多的demo啊

PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions. Thank you.

Describe the bug/issue
求更多的demo啊

initWH

很多组件没有initWH这个方法,是怎么回事

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.