st-comp 0.0.259 → 0.0.261

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "st-comp",
3
3
  "public": true,
4
- "version": "0.0.259",
4
+ "version": "0.0.261",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -13,7 +13,7 @@ const emit = defineEmits(["callBack"]);
13
13
  const props = defineProps({
14
14
  defaultMessage: {
15
15
  type: String,
16
- default: "你好呀!我是你的品种池AI助手,会根据您的自然语言去进行品种的条件查询\n\n示例: \n帮我查A股科创板下品种转价差上证50并且总市值大于1千万, 按照总市值升序进行排序",
16
+ default: "你好呀!我是你的品种池AI助手,会根据您的自然语言去进行品种的条件查询\n\n示例: \n帮我查A股科创板下品种转价差上证50并且总市值大于1千万, 最近一次红箱的开盘价大于前5根K线的最高价, 并按照总市值升序进行排序",
17
17
  },
18
18
  });
19
19
 
@@ -674,13 +674,13 @@ defineExpose({
674
674
  .message-text {
675
675
  border-radius: 18px 18px 18px 4px;
676
676
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
677
- border: 1px solid rgba(102, 126, 234, .3);
677
+ border: 1px solid rgba(102, 126, 234, 0.2);
678
678
  }
679
679
  .message-json {
680
680
  width: 100%;
681
681
  border-radius: 18px 18px 18px 4px;
682
682
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
683
- border: 1px solid rgba(102, 126, 234, .3);
683
+ border: 1px solid rgba(102, 126, 234, 0.2);
684
684
  :deep(.parsed-conditions) {
685
685
  margin-top: 10px;
686
686
  .parsed-conditions-item {
@@ -405,18 +405,18 @@ defineExpose({
405
405
  break;
406
406
  // 成交额(期权)
407
407
  case "turnover":
408
- if (!["", null].includes(item.range[0])) searchOptionDto.minTurnover = item.range[0] * 10000;
409
- if (!["", null].includes(item.range[1])) searchOptionDto.maxTurnover = item.range[1] * 10000;
408
+ if (item.radioType === "0" && !["", null].includes(item.range[0])) searchOptionDto.minTurnover = item.range[0] * 10000;
409
+ if (item.radioType === "0" && !["", null].includes(item.range[1])) searchOptionDto.maxTurnover = item.range[1] * 10000;
410
410
  break;
411
- // 成交量
411
+ // 成交量(期权)
412
412
  case "volume":
413
- if (!["", null].includes(item.range[0])) searchOptionDto.minVolume = item.range[0];
414
- if (!["", null].includes(item.range[1])) searchOptionDto.maxVolume = item.range[1];
413
+ if (item.radioType === "0" && !["", null].includes(item.range[0])) searchOptionDto.minVolume = item.range[0];
414
+ if (item.radioType === "0" && !["", null].includes(item.range[1])) searchOptionDto.maxVolume = item.range[1];
415
415
  break;
416
416
  // 持仓量
417
417
  case "openInterest":
418
- if (!["", null].includes(item.range[0])) searchOptionDto.minOpenInterest = item.range[0];
419
- if (!["", null].includes(item.range[1])) searchOptionDto.maxOpenInterest = item.range[1];
418
+ if (item.radioType === "0" && !["", null].includes(item.range[0])) searchOptionDto.minOpenInterest = item.range[0];
419
+ if (item.radioType === "0" && !["", null].includes(item.range[1])) searchOptionDto.maxOpenInterest = item.range[1];
420
420
  break;
421
421
  // 认沽认购
422
422
  case "optionsCpType":