123456789101112131415161718192021222324252627282930313233343536373839 |
- import fetchutil from './http'
- import {formatTime,API_BASE_URL} from './util'
- let levelStr = {
- 0:{
- str:'青铜',
- full: 50
- },
- 1:{
- str:'白银',
- full: 200
- },
- 2:{
- str:'黄金',
- full: 2000
- },
- 3:{
- str:'钻石',
- full:5000
- },
- 4:{
- str:'王者',
- },
- }
- module.exports = {
- data: {
- someData: 'myMixin',
- g_cdn:`https://culture.4dage.com/lvDao_v4`,
- fetchutil,
- levelStr,
- API_BASE_URL,
- formatTime
- },
- onShow() {
- console.log('Log from mixin!')
- }
- }
|