Compare commits
5 Commits
b22df1d58d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c02632e452 | ||
|
|
8454a0db23 | ||
| 0fa0f4ae3d | |||
|
|
faa6c23826 | ||
|
|
1e474cb82f |
@@ -2,8 +2,8 @@
|
||||
"name" : "链商星球",
|
||||
"appid" : "__UNI__1F65101",
|
||||
"description" : "安徽星煌,链商星球商家工具",
|
||||
"versionName" : "1.2.1",
|
||||
"versionCode" : 121,
|
||||
"versionName" : "1.2.2",
|
||||
"versionCode" : 122,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<view class="task-title">{{item.title}}</view>
|
||||
<view class="task-subtitle">{{item.sub_title}}</view>
|
||||
<view class="task-label" :class="{'active' : item.is_finish}">
|
||||
<image v-if="!item.is_finish" class="task-label-img" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
{{ !item.is_finish ? '+' : ''}}<image v-if="!item.is_finish" class="task-label-img" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
{{ item.is_finish ? '已完成' : item.tips}}
|
||||
<block v-if="!item.is_finish">/人</block>
|
||||
<image @click.stop="showHelp(item.title, item.remark)" class="task-label-icon"
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
<<<<<<< HEAD
|
||||
|
||||
config.appendPadding = [10, 30, 10, 15]
|
||||
const chart = new F2.Chart(config);
|
||||
chart.source(data, {
|
||||
date: {
|
||||
range: [0, 1],
|
||||
type: 'timeCat',
|
||||
mask: 'MM-DD'
|
||||
},
|
||||
value: {
|
||||
tickCount: 0
|
||||
}
|
||||
});
|
||||
chart.legend({
|
||||
position: 'bottom',
|
||||
offsetY: 0,
|
||||
offsetX: 30
|
||||
});
|
||||
chart.area()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth')
|
||||
chart.line()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth', name => {
|
||||
if (name === '预期收益率') {
|
||||
return 'line';
|
||||
}
|
||||
if (name === '实际收益率') {
|
||||
return 'line';
|
||||
}
|
||||
});
|
||||
=======
|
||||
|
||||
config.appendPadding = [10, 30, 10, 15]
|
||||
const chart = new F2.Chart(config);
|
||||
chart.source(data, {
|
||||
date: {
|
||||
range: [0, 1],
|
||||
type: 'timeCat',
|
||||
mask: 'MM-DD'
|
||||
},
|
||||
value: {
|
||||
tickCount: 0
|
||||
}
|
||||
});
|
||||
chart.legend({
|
||||
position: 'bottom',
|
||||
offsetY: 0,
|
||||
offsetX: 30
|
||||
});
|
||||
chart.area()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth')
|
||||
chart.line()
|
||||
.position('date*value')
|
||||
.color('name', ['#5881d3', '#ca66e0'])
|
||||
.shape('smooth', name => {
|
||||
if (name === '预期收益率') {
|
||||
return 'line';
|
||||
}
|
||||
if (name === '实际收益率') {
|
||||
return 'line';
|
||||
}
|
||||
});
|
||||
>>>>>>> eba5f5995696e08f67df615fb32054bffa94ae34
|
||||
chart.render();
|
||||
@@ -16,5 +16,6 @@ module.exports = {
|
||||
}, true)
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
lintOnSave:false // 关闭语法检查
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user