vue md5加密工具
vue-cryptobar (vue-cryptobar)
Vue-cryptobar is a cryptocurrency tool for Vue developers which looks really modern and clear also can be re-styled with configurations. It shows current prices with colors depending on the positive-negative values and also shows the market name which did the last transition.
Vue-cryptobar是Vue开发人员使用的一种加密货币工具,它看起来非常现代,清晰,也可以使用配置重新设置样式。 它使用正负值显示带有颜色的当前价格,还显示进行最后转换的市场名称。
Before the installation vue-cryptobar requires Node and Vue.js to run.
在安装之前,vue-cryptobar需要运行Node和Vue.js。
![vue-cryptobar4](https://i-blog.csdnimg.cn/blog_migrate/8321a6b2c9d04ee55ed6788d31bcadb9.gif)
在安装之前,vue-cryptobar需要运行Node和Vue.js。 (Before the installation vue-cryptobar requires Node and Vue.js to run.)
安装 (Installation)
在您的vue项目上安装vue-cryptobar: (Install the vue-cryptobar on your vue project:)
$ npm install --save vue-cryptobar
使用vue-cryptobar (To using vue-cryptobar)
然后,在“组件”部分的内部添加“ cryptobar”: (Add 'cryptobar' to inside of your 'components' section, after then:)
import cryptobar from "vue-cryptobar"
最后要做的是: (And last thing to do is:)
<cryptobar/>
构型 (Configurations)
价值观 (Values)
默认硬币为比特币,以太坊,制造商,默认货币为美元和土耳其里拉。 要使密码栏具有特定值,您必须进行以下选择: (Default coins are Bitcoin, Ethereum, Maker and default currencies are USD and TRY. To make cryptobar with specific values you have to go on options like:)
<cryptobar
:coin-name-config="['BTC','ETH','MKR']"
:coin-type-config="['USD', 'TRY']"
/>
造型 (Styling)
可以将密码栏重新设置为您喜欢的颜色。 密码栏的默认样式如上面的gif所示。 要进行重新样式设置,可以输入任何颜色值,例如hex,rgb或直接颜色名称。 (The cryptobar can be re-styled to your preferred colors. Default style of the cryptobar is as in the gif above. For re-styling you can put in any color value such as, hex, rgb or direct color name.)
带有示例: (With example:)
<cryptobar
bar-radius="4px"
bar-color="rgb(192, 192, 192)"
positive-price-color="#253121"
negative-price-color="orange"
currency-symbol-color="#212121"
name-and-currency-color="rgb(255, 255, 255)"
trade-market-color="yellow"
/>
翻译自: https://vuejsexamples.com/a-cryptocurrency-tool-for-vue/
vue md5加密工具