Browse Source

文案修改

hwb0 3 năm trước cách đây
mục cha
commit
c9ae652999
2 tập tin đã thay đổi với 8 bổ sung6 xóa
  1. 5 3
      packagePrize/goods/detail.vue
  2. 3 3
      pages/ticketBox/detail.vue

+ 5 - 3
packagePrize/goods/detail.vue

@@ -9,14 +9,14 @@
 			<view class="detail-info flex">
 				<view class="detail-info-left">
 					<view class="detail-info-left__title ells-one">{{ info.title }}</view>
-					<view class="detail-info-left__coin">
+					<view class="detail-info-left__coin" v-if="type != 'not'">
 						<view class="content flex">
 							<image src="../../static/public/goods_coin.png" mode=""></image>
 							<view><text>×</text>{{ info.exchangePrice }}</view>
 						</view>
 						<view class="txt" v-if="info.originPrice">原盲豆:<text>{{ info.originPrice }}</text></view>
 					</view>
-					<view class="detail-info-left__price">¥{{ $numberFormat(info.value) }}</view>
+					<!-- <view class="detail-info-left__price">¥{{ $numberFormat(info.value) }}</view> -->
 				</view>
 				<view class="detail-info-right" v-show="false">销量:30个</view>
 			</view>
@@ -52,12 +52,14 @@
 				goodsId: '',
 
 				payShow: false,
-				payInfo: {}
+				payInfo: {},
+				type: ''
 			};
 		},
 		onLoad(opthios) {
 			this.getDetail(opthios.id)
 			this.goodsId = opthios.id
+			this.type = opthios.type
 		},
 		methods: {
 			getDetail(id) {

+ 3 - 3
pages/ticketBox/detail.vue

@@ -297,13 +297,13 @@
 				//门店优惠券
 				if (item.prizeType == "coupon" || item.prizeType == "coupon_pkg") {
 					uni.navigateTo({
-						url: `/packagePrize/goods/detail?id=425`
+						url: `/packagePrize/goods/detail?id=425&type=not`
 					})
 				}
 				// 盲豆
 				if (item.prizeType == "coin") {
 					uni.navigateTo({
-						url: `/packagePrize/goods/detail?id=424`
+						url: `/packagePrize/goods/detail?id=424&type=not`
 					})
 				}
 			},
@@ -320,7 +320,7 @@
 		
 		onShareAppMessage(res) {
 			return {
-				title: '分享盲票',
+				title: '一起来刮盲票吧',
 				path: `/pages/ticketBox/detail?boxId=${ this.info.boxId }&userId=${ this.userInfo.userId }&type=1`,
 				type: 2,
 			}