Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/feature/v4.8.0' into feature/v4.8.0

wangkaiyue 2 gadi atpakaļ
vecāks
revīzija
3e86be7e3c

+ 3 - 0
src/jfw/jyutil/classroomiInfo.go

@@ -195,6 +195,9 @@ func Course(num, iType int) *[]map[string]interface{} {
 
 // 奖券详情
 func OptimalSelection(id string, price float64, lotteryMap map[string][]*activity.LotteryJson) (bool, float64) {
+	if price == 0 {
+		return false, 0
+	}
 	discountPrice := float64(0)
 
 	lotteryStr := lotteryMap[id]

+ 2 - 2
src/web/staticres/public-pc/js/header-nav.js

@@ -83,7 +83,7 @@ function trySelectNav (name) {
         'list', 'article/content', 'article/bdprivate', 'article/mailprivate',
         'article/bdcontent', '/jypc/toPushView', '/jyblog', '/dataExport',
         '/front/dataService.html', '/front/course', '/front/dataexport', '/orderPay',
-        '/big/page/', '/big/pc/page/', '/proposedProject', '/jyxspc',
+        '/big/page/', '/big/pc/page/', '/proposedProject', '/jyxspc'
       ]
       var isLightTheme = lightThemeRegs.some(function (v) {
         return $href.indexOf(v) !== -1
@@ -171,7 +171,7 @@ $(function(){
   var curTheme = getNavTheme()
   $("#public-nav .iner .jynav li").bind("mouseenter",function(){
     var l = $(this).find('.jynav-list').length;
-    if(l > 0){
+    if(l >= 0){
       //  隐藏消息悬浮窗
       $('#public-nav .iner .jynav li').find('.jy-list-msg').hide()
       $(this).find('.jynav-list').toggle()

+ 1 - 0
src/web/staticres/site/page/industryInfo/css/industry_content.css

@@ -408,6 +408,7 @@
   font-size: 13px;
   line-height: 24px;
   color: #2CB7CA;
+  cursor: pointer;
 }
 .strate_module .strate_content{
   display: flex;

+ 1 - 0
src/web/staticres/site/page/industryInfo/css/industry_detail.css

@@ -443,6 +443,7 @@
   font-size: 13px;
   line-height: 24px;
   color: #2CB7CA;
+  cursor: pointer;
 }
 .strate_module .strate_content{
   display: flex;

+ 4 - 0
src/web/staticres/site/page/jySchool/css/introduction_content.css

@@ -228,6 +228,9 @@
   background-clip: text;
   text-fill-color: transparent;
 }
+.data_date {
+  padding-right: 4px;
+}
 .viewnum{
   margin-left: 36px;
 }
@@ -350,6 +353,7 @@
   font-size: 13px;
   line-height: 24px;
   color: #2CB7CA;
+  cursor: pointer;
 }
 .strate_module .strate_content{
   display: flex;

+ 1 - 0
src/web/staticres/site/page/jySchool/css/introduction_detail.css

@@ -324,6 +324,7 @@
   font-size: 13px;
   line-height: 24px;
   color: #2CB7CA;
+  cursor: pointer;
 }
 .strate_module .strate_content{
   display: flex;