natasha 1 年之前
父節點
當前提交
b1d28b4303
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/bookShelf/bookItem.vue

+ 3 - 1
src/views/bookShelf/bookItem.vue

@@ -469,7 +469,9 @@ export default {
                     this.salesCn = this.sales.toString().substring(0,1)+'0万+'
                 }else if(1000000<=this.sales&&this.sales<10000000){
                     this.salesCn = this.sales.toString().substring(0,1)+'00万+'
-                }else if(10000000<=this.sales){
+                }else if(10000000<=this.sales&&this.sales<100000000){
+                    this.salesCn = this.sales.toString().substring(0,1)+'000万+'
+                }else if(100000000<=this.sales){
                     this.salesCn = this.sales.toString().substring(0,1)+'亿+'
                 }
             }