Browse Source

分享和字体大小调整

shish 2 years ago
parent
commit
1ba5ef4de1

+ 1 - 1
ghsApp/src/admin/book/custom.vue

@@ -196,7 +196,7 @@ export default {
 		.space-view {
 			background-color: #fff;
 			.num{
-				font-size:27upx;
+				font-size:28upx;
 			}
 			.finish{
 				color:green;font-weight:bold;

+ 3 - 3
ghsApp/src/admin/book/itemCustom.vue

@@ -2,7 +2,7 @@
 	<view class="app-content">
 		<view class="ex-page">
             <view class="top-bar">
-                <view style="font-size:30upx;color:blue;font-weight:bold;margin-left:30upx;padding:10upx 0 10upx 0;" v-if="respond.remainNum && Number(respond.remainNum)>0">
+                <view style="font-size:32upx;color:blue;font-weight:bold;margin-left:30upx;padding:10upx 0 10upx 0;" v-if="respond.remainNum && Number(respond.remainNum)>0">
 					{{ respond.remainName }} 剩 {{ respond.remainNum }}份
 				</view>
             </view>
@@ -345,10 +345,10 @@ export default {
 		.space-view {
 			background-color: #fff;
 			.num{
-				font-size:27upx;height:60upx;display: flex;align-items: center;
+				font-size:28upx;height:60upx;display: flex;align-items: center;
 			}
 			.name{
-				font-size:27upx;width:170upx;text-align:left;height:60upx;display: flex;align-items: center;
+				font-size:28upx;width:170upx;text-align:left;height:60upx;display: flex;align-items: center;
 			}
 			.custom-item{
 				font-size:24upx;color:#333333;overflow: hidden;width:90upx;

+ 2 - 2
ghsApp/src/admin/order/statBook.vue

@@ -291,10 +291,10 @@ export default {
 		.space-view {
 			background-color: #fff;
 			.num{
-				font-size:27upx;height:60upx;display: flex;align-items: center;
+				font-size:28upx;height:60upx;display: flex;align-items: center;
 			}
 			.name{
-				font-size:27upx;width:160upx;text-align:left;height:60upx;display: flex;align-items: center;
+				font-size:28upx;width:160upx;text-align:left;height:60upx;display: flex;align-items: center;
 			}
 			.finish{
 				color:green;font-weight:bold;

+ 11 - 4
ghsApp/src/pagesPurchase/info.vue

@@ -329,7 +329,8 @@ export default {
 			orderSn:'',
 			salt:'',
 			showSeat:1,
-			title:''
+			title:'',
+			imageUrl:''
 		};
 	},
 	onPullDownRefresh() {
@@ -349,7 +350,7 @@ export default {
 			//返回上一页时不需要刷新
 			prevPage.$vm.needRefresh = 0
 		}
-
+		this.imageUrl = IMGHOST+'/custom/cg_share.jpg'
 	},
 	onUnload(){
 		clearInterval(this.T)
@@ -361,7 +362,7 @@ export default {
 		return {
 			title: this.title,
 			desc: "",
-			imageUrl: IMGHOST+'/custom/cg_share.jpg',
+			imageUrl: this.imageUrl,
 			path: "pagesPurchase/info?orderSn="+this.detailInfo.orderSn+'&salt='+this.detailInfo.salt,
 		}
 	},	
@@ -470,7 +471,7 @@ export default {
 				type: 5, //分享形式
 				title: that.title, //分享内容的标题
 				summary: '暂无', //分享内容的摘要
-				imageUrl: IMGHOST+'/custom/cg_share.jpg',//图片一定要有,不然会分享失败
+				imageUrl: this.imageUrl,
 				miniProgram: {
 					id: miniOriginalId,//小程序原始id,发起分享的 App 与小程序属于同一微信开放平台帐号
 					path: "pagesPurchase/info?orderSn="+this.detailInfo.orderSn+'&salt='+this.detailInfo.salt,
@@ -633,6 +634,12 @@ export default {
 					}
 				}
 			}
+
+			//如果在预订中分享的图片是不一样的
+			if(that.detailInfo && that.detailInfo.onBooking == 1){
+				this.imageUrl = IMGHOST+'/custom/cg_share_seat_sn.jpg'
+			}
+
 			let ghsName = this.detailInfo.ghsName ? this.detailInfo.ghsName : ''
 			let actPrice = this.detailInfo.actPrice ? parseFloat(this.detailInfo.actPrice) : 0
 			this.title = ghsName+' '+this.detailInfo.entryTime.substr(5,11)+' ¥'+actPrice