diff --git a/pages.json b/pages.json index 4705ad1..04cb2df 100644 --- a/pages.json +++ b/pages.json @@ -399,6 +399,12 @@ "navigationBarTitleText" : "进群抽奖" } }, + { + "path": "activity/xinjiang", + "style": { + "navigationBarTitleText" : "新疆馆" + } + }, { "path": "user/comment", "style": { diff --git a/static/css/base.css b/static/css/base.css index 5f10854..a642c13 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -107,4 +107,24 @@ view { .no-data-zhanwei image{ width: 347.33rpx; height: 320.67rpx; - } \ No newline at end of file + } + .header-left-line{ + width: 8rpx; + height: 27rpx; + background: #363636; + border-radius: 13rpx 13rpx 13rpx 13rpx; + margin-right: 8rpx; + } + +.fixPrice{ + font-weight: 500; + font-size: 32rpx; + color: #FA0005; +} +.fixPrice .fixNum{ + font-size: 24rpx; +} +.fixPrice:before{ + content: "¥"; + font-size: 24rpx; +} \ No newline at end of file diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index 32d9456..c60eb74 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -20,6 +20,19 @@ Vue.prototype.formateRichText = str => { return str; } +// 格式化价格 +Vue.prototype.formatePrice = str => { + try { + str = str.toFixed(2) + let priceObj = {allPrice: str, iNum: str.split('.')[0], fNum: str.split('.')[1]} + + return `