zjh 5 年之前
父节点
当前提交
d3937bd6f2
共有 3 个文件被更改,包括 45 次插入22 次删除
  1. 33 22
      pages/drop/drop.js
  2. 1 0
      pages/item/item.js
  3. 11 0
      pages/rise/rise.js

+ 33 - 22
pages/drop/drop.js

@@ -63,89 +63,100 @@ Page({
       {
         title:'BK0422',
         subtitle:"交运物流",
-        Increase:"-1.22",
+        Increase:"+1.22",
         digital:"33",
-        color:'#07c160',
+        color:'crimson',
+        keep:"已关注",
         data:[52,56,355,444]
       },
       {
         title:'BK0738',
         subtitle:"多元金融",
-        Increase:"-1.22",
+        Increase:"+1.22",
         digital:"33",
-        color:'#07c160',
+        color:'crimson',
+        keep:"已关注",
         data:[52,56,355,444]
       },
       {
         title:'BK0450',
         subtitle:"港口水运",
-        Increase:"-1.22",
-        color:'#07c160',
+        Increase:"+1.22",
         digital:"33",
+        color:'crimson',
+        keep:"已关注",
         data:[52,56,355,444,52,56,355,444,52,56,355,444,2]
       },
       {
         title:'BK0734',
         subtitle:"珠宝首饰",
-        Increase:"-1.22",
-        color:'#07c160',
+        Increase:"+1.22",
         digital:"33",
+        color:'crimson',
+        keep:"关注",
         data:[52,56,355,44554]
       },
       {
         title:'BK0471',
         subtitle:"化纤行业",
-        Increase:"-1.22",
+        Increase:"+1.22",
         digital:"33",
-        color:'#07c160',
+        keep:"关注",
+        color:'crimson',
         data:[52,56,355,444]
       },
       {
         title:'BK0485',
         subtitle:"旅游酒店",
-        Increase:"-1.22",
+        Increase:"+1.22",
         digital:"33",
-        color:'#07c160',
+        color:'crimson',
+        keep:"关注",
         data:[52,56,355,444]
       },
       {
         title:'BK0475',
         subtitle:"银行",
-        Increase:"-1.22",
+        Increase:"+1.22",
         digital:"33",
-        color:'#07c160',
+        keep:"关注",
+        color:'crimson',
         data:[52,56,355,44554]
       },
       {
         title:'BK0473',
         subtitle:"券商信托",
-        Increase:"-1.22",
-        color:'#07c160',
+        Increase:"+1.22",
         digital:"33",
+        color:'crimson',
+        keep:"关注",
         data:[52,56,355,444]
       },
       {
         title:'BK0474',
         subtitle:"保险",
-        Increase:"-1.22",
+        Increase:"+1.22",
+        color:'crimson',
+        keep:"关注",
         digital:"33",
-        color:'#07c160',
         data:[52,56,355,444]
       },
       {
         title:'BK0478',
         subtitle:"有色金属",
-        Increase:"-1.22",
+        Increase:"+1.22",
+        keep:"关注",
         digital:"33",
-        color:'#07c160',
+        color:'crimson',
         data:[52,56,355,44554]
       },
       {
         title:'BK0738',
         subtitle:"多元金融",
-        Increase:"-1.22",
+        Increase:"+1.22",
         digital:"33",
-        color:'#07c160',
+        keep:"关注",
+        color:'crimson',
         data:[52,56,355,44554]
       }
     ],

+ 1 - 0
pages/item/item.js

@@ -446,6 +446,7 @@ Page({
      [color]:JSON.parse(options.row).color,
      [chartData]:JSON.parse(options.row).color,
      [chartDatas]:JSON.parse(options.row).color,
+     button:JSON.parse(options.row).keep,
     })
   },
 

+ 11 - 0
pages/rise/rise.js

@@ -65,6 +65,7 @@ Page({
         Increase:"+1.22",
         digital:"33",
         color:'crimson',
+        keep:"已关注",
         data:[52,56,355,444]
       },
       {
@@ -73,6 +74,7 @@ Page({
         Increase:"+1.22",
         digital:"33",
         color:'crimson',
+        keep:"已关注",
         data:[52,56,355,444]
       },
       {
@@ -81,6 +83,7 @@ Page({
         Increase:"+1.22",
         digital:"33",
         color:'crimson',
+        keep:"已关注",
         data:[52,56,355,444,52,56,355,444,52,56,355,444,2]
       },
       {
@@ -89,6 +92,7 @@ Page({
         Increase:"+1.22",
         digital:"33",
         color:'crimson',
+        keep:"关注",
         data:[52,56,355,44554]
       },
       {
@@ -96,6 +100,7 @@ Page({
         subtitle:"化纤行业",
         Increase:"+1.22",
         digital:"33",
+        keep:"关注",
         color:'crimson',
         data:[52,56,355,444]
       },
@@ -105,6 +110,7 @@ Page({
         Increase:"+1.22",
         digital:"33",
         color:'crimson',
+        keep:"关注",
         data:[52,56,355,444]
       },
       {
@@ -112,6 +118,7 @@ Page({
         subtitle:"银行",
         Increase:"+1.22",
         digital:"33",
+        keep:"关注",
         color:'crimson',
         data:[52,56,355,44554]
       },
@@ -121,6 +128,7 @@ Page({
         Increase:"+1.22",
         digital:"33",
         color:'crimson',
+        keep:"关注",
         data:[52,56,355,444]
       },
       {
@@ -128,6 +136,7 @@ Page({
         subtitle:"保险",
         Increase:"+1.22",
         color:'crimson',
+        keep:"关注",
         digital:"33",
         data:[52,56,355,444]
       },
@@ -135,6 +144,7 @@ Page({
         title:'BK0478',
         subtitle:"有色金属",
         Increase:"+1.22",
+        keep:"关注",
         digital:"33",
         color:'crimson',
         data:[52,56,355,44554]
@@ -144,6 +154,7 @@ Page({
         subtitle:"多元金融",
         Increase:"+1.22",
         digital:"33",
+        keep:"关注",
         color:'crimson',
         data:[52,56,355,44554]
       }