|  | @@ -15,7 +15,7 @@
 | 
											
												
													
														|  |          <p class="p3">{{ data.author }}</p>
 |  |          <p class="p3">{{ data.author }}</p>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |        <div class="price">
 |  |        <div class="price">
 | 
											
												
													
														|  | -        <p>¥<span v-html="changePrice(data.price,16)"></span></p>
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <p>¥<span v-html="changePrice(data.price,16,16)"></span></p>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |      <div class="pay-platform">
 |  |      <div class="pay-platform">
 | 
											
										
											
												
													
														|  | @@ -122,15 +122,16 @@ export default {
 | 
											
												
													
														|  |            this.loading = false;
 |  |            this.loading = false;
 | 
											
												
													
														|  |          });
 |  |          });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    changePrice(price,fontSize) {
 |  | 
 | 
											
												
													
														|  | -      let str = "";
 |  | 
 | 
											
												
													
														|  | -      price = price ? price.toString() : "0.00";
 |  | 
 | 
											
												
													
														|  | -      if (price.indexOf(".") > -1) {
 |  | 
 | 
											
												
													
														|  | -        let arr = price.split(".");
 |  | 
 | 
											
												
													
														|  | -        str = `<span style="font-size: ${fontSize?fontSize:16}px;">${arr[0]}</span>.<span style="font-size: 16px;">${arr[1]}</span>`;
 |  | 
 | 
											
												
													
														|  | -      } else {
 |  | 
 | 
											
												
													
														|  | -        str = `<span style="font-size: ${fontSize?fontSize:16}px;">${price}</span>.<span  style="font-size: 16px;">00</span>`;
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | 
 |  | +    changePrice(price, fontSize1, fontSize2) {
 | 
											
												
													
														|  | 
 |  | +      price = price ? price : 0;
 | 
											
												
													
														|  | 
 |  | +      price = price.toFixed(2);
 | 
											
												
													
														|  | 
 |  | +      price = price.toString();
 | 
											
												
													
														|  | 
 |  | +      let arr = price.split(".");
 | 
											
												
													
														|  | 
 |  | +      let str = `<span style="font-size: ${fontSize1 ? fontSize1 : 16}px;">${
 | 
											
												
													
														|  | 
 |  | +        arr[0]
 | 
											
												
													
														|  | 
 |  | +      }</span>.<span style="font-size: ${fontSize2 ? fontSize2 : 16}px;">${
 | 
											
												
													
														|  | 
 |  | +        arr[1]
 | 
											
												
													
														|  | 
 |  | +      }</span>`;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |        return str;
 |  |        return str;
 | 
											
												
													
														|  |      },
 |  |      },
 |