Browse Source

共富券

m 1 year ago
parent
commit
42e07468ec

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 开发环境配置
 NODE_ENV = development
 
-# 盲票/开发环境
+# 共富券/开发环境
 VUE_APP_BASE_API = '/dev-api'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 生产环境配置
 NODE_ENV = production
 
-# 盲票/生产环境
+# 共富券/生产环境
 VUE_APP_BASE_API = '/prod-api'

+ 1 - 1
.env.staging

@@ -1,6 +1,6 @@
 # 测试环境配置
 NODE_ENV = staging
 
-# 盲票/测试环境
+# 共富券/测试环境
 VUE_APP_BASE_API = '/test-api'
 # VUE_APP_BASE_API = '/mptest'

+ 1 - 1
src/App.vue

@@ -21,7 +21,7 @@
 				uni.setStorageSync('code', parameter.id)
 			}
 			this.updateManager()
-			// this.anotherApplet() //打包盲票小程序时候解开
+			// this.anotherApplet() //打包共富券小程序时候解开
 		},
 		methods: {
 			updateManager() {

+ 5 - 5
src/components/pay-popup/pay-popup.vue

@@ -3,7 +3,7 @@
 		<u-popup :show="payShow" mode="bottom" round="17" @close="close" :closeable="true" overlayOpacity="0.5"
 			@touchmove.prevent.stop>
 			<view class="choiceShow-wrap">
-				<!-- 盲票信息 -->
+				<!-- 共富券信息 -->
 				<view class="flex goods">
 					<view class="flex image-wrap">
 						<image :src="payInfo.picUrl" mode="aspectFit"></image>
@@ -17,13 +17,13 @@
 				<view class="flex coupon" @click="toPromoters" v-if="promoterNum > 0">
 					<view class="flex coupon-left">
 						<image src="../../static/public/promoter.png" mode="scaleToFill"></image>
-						<view class="txt">盲票天使</view>
+						<view class="txt">共富券天使</view>
 					</view>
 					<view class="coupon-right flex">
 						<view class="txt coupon-right-color" v-if="promoters && promoters.name">
 							{{`${ promoters.name } ( ${promoters.workNo} ) `}}
 						</view>
-						<view class="txt" v-else>选择盲票天使,运气更好哦</view>
+						<view class="txt" v-else>选择共富券天使,运气更好哦</view>
 						<image src="../../static/public/public_right_arrow.png" mode="scaleToFill"></image>
 					</view>
 				</view>
@@ -177,7 +177,7 @@
 				let _this = this
 				let payIng = false
 				if (!this.checked) {
-					uni.$u.toast('请同意《盲票产品规则》');
+					uni.$u.toast('请同意《共富券产品规则》');
 					return
 				}
 				uni.showLoading({
@@ -326,7 +326,7 @@
 		min-height: 400rpx;
 		padding: 34rpx;
 
-		// 盲票信息
+		// 共富券信息
 		.goods {
 			justify-content: flex-start;
 			margin-bottom: 60rpx;

+ 1 - 1
src/packageGoods/order/settlement.vue

@@ -97,7 +97,7 @@
 			</view>
 			<view class="settlement-tip">
 				<view class="settlement-tip-title">尊敬的用户您好!</view>
-				<view class="settlement-tip-content">您提交的商品订单将会在第一时间为您处理,正常产品都会在48小时内发货,由于因疫情原因可能导致到货时间延后,我们深表歉意,有任何问题可以点击“我的”一“联系我们”,或者关注盲票公众号联系我们。</view>
+				<view class="settlement-tip-content">您提交的商品订单将会在第一时间为您处理,正常产品都会在48小时内发货,由于因疫情原因可能导致到货时间延后,我们深表歉意,有任何问题可以点击“我的”一“联系我们”,或者关注共富券公众号联系我们。</view>
 			</view>
 		</view>
 		

+ 4 - 4
src/packageGoods/promoters/index.vue

@@ -1,18 +1,18 @@
 <template>
 	<view>
 		<!-- #ifdef MP-ALIPAY -->
-		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="选择盲票天使" leftIconSize="0">
+		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="选择共富券天使" leftIconSize="0">
 		</u-navbar>
 		<!-- #endif -->
 		<!-- #ifdef MP-WEIXIN -->
-		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="选择盲票天使"></u-navbar>
+		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="选择共富券天使"></u-navbar>
 		<!-- #endif -->
 		<!-- #ifndef MP-WEIXIN || MP-ALIPAY -->
 		<view v-if="pagesNum > 1">
-			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="选择盲票天使" />
+			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="选择共富券天使" />
 		</view>
 		<view v-else>
-			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="选择盲票天使">
+			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="选择共富券天使">
 				<view class="nav-left flex" slot="left" @click="$toIndex()">
 					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
 				</view>

+ 5 - 5
src/packageGoods/ticket/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view>
 		<!-- #ifdef MP-ALIPAY -->
-		<!-- <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="盲票列表" leftIconSize="0"> -->
+		<!-- <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="共富券列表" leftIconSize="0"> -->
 		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="商品列表" leftIconSize="0">
 		</u-navbar>
 		<!-- #endif -->
@@ -87,9 +87,9 @@
 					noToken: true,
 					boxIds: this.ids,
 					salePriceSort: 1,
-				}
-				// #ifdef MP-WEIXIN
-				data.appSource = 1
+				}
+				// #ifdef MP-WEIXIN
+				data.appSource = 1
 				// #endif
 				$http.post(`/api/v1/mp/user/mall/ticket/goods/list?pageNum=${this.pageNum}&pageSize=20`, data).then(
 					res => {
@@ -158,7 +158,7 @@
 					line-height: 40rpx;
 					height: 40rpx;
 					font-size: 26rpx;
-					font-weight: 400;
+					font-weight: 400;
 					color: #666;
 					white-space: nowrap;
 					overflow: hidden;

+ 1 - 1
src/packageOperate/activity/index.vue

@@ -359,7 +359,7 @@
 				//弹出层打开
 				// this.popupShow = true
 				if (appId == 1) {
-					//微信盲票小程序
+					//微信共富券小程序
 					uni.requestSubscribeMessage({
 						tmplIds: ['92xxL8XTRPLROyNUtmN04OT0kyq4iwSCH3sz-j6zbZs',
 							'FGcPOV1j9ApESr3VUlWjFr6E1vF4X_h0LLN82T2CLL0',

+ 64 - 64
src/packageOperate/creator/index.vue

@@ -6,18 +6,18 @@
 		<!-- #endif -->
 		<!-- #ifdef MP-WEIXIN -->
 		<u-navbar title="申请创客" :border="true" :placeholder="true" :autoBack="true" bgColor="#fff" />
-		<!-- #endif -->
-		<!-- #ifndef MP-WEIXIN || MP-ALIPAY -->
-		<view v-if="pagesNum > 1">
-			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="申请创客" />
-		</view>
-		<view v-else>
-			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="申请创客">
-				<view class="nav-left flex" slot="left" @click="$toIndex()">
-					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
-				</view>
-			</u-navbar>
-		</view>
+		<!-- #endif -->
+		<!-- #ifndef MP-WEIXIN || MP-ALIPAY -->
+		<view v-if="pagesNum > 1">
+			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="申请创客" />
+		</view>
+		<view v-else>
+			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="申请创客">
+				<view class="nav-left flex" slot="left" @click="$toIndex()">
+					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
+				</view>
+			</u-navbar>
+		</view>
 		<!-- #endif -->
 		<view class="creator">
 			<u-form labelPosition="left" ref="form" labelWidth="90">
@@ -40,19 +40,19 @@
 		<!-- 操作按钮 -->
 		<view class="save-btn">
 			<button :loading="loading" type="default" @click="saveCreator">提交</button>
-		</view>
-		
-		<view class="tip">
-			<view class="tip-text">
-				申请成为盲票创客 利用业余时间  推广您公司、家附近门店商户,创客和门店都无需投资、销售额分佣、长期收益 点击提交按钮后,客服会联系您。
-			</view>
-			<view class="tip-phone">
-				<image src="../static/phone.png" mode=""></image>
-				<view class="">
-					咨询电话:400-081-1913
-				</view>
-			</view>
-		</view>
+		</view>
+		
+		<view class="tip">
+			<view class="tip-text">
+				申请成为共富券创客 利用业余时间  推广您公司、家附近门店商户,创客和门店都无需投资、销售额分佣、长期收益 点击提交按钮后,客服会联系您。
+			</view>
+			<view class="tip-phone">
+				<image src="../static/phone.png" mode=""></image>
+				<view class="">
+					咨询电话:400-081-1913
+				</view>
+			</view>
+		</view>
 		
 
 		<area-picker :area-show="areaShow" @cancel="cancel" @confirmArea="confirmArea" />
@@ -81,12 +81,12 @@
 					areaId: '', // 区ID/编码
 					area: '', // 区
 				},
-				areaShow: false,
+				areaShow: false,
 				pagesNum: '',
 			}
-		},
-		onShow() {
-			this.pagesNum = getCurrentPages().length
+		},
+		onShow() {
+			this.pagesNum = getCurrentPages().length
 		},
 		methods: {
 
@@ -109,37 +109,37 @@
 				this.areaShow = false
 			},
 			//提交
-			saveCreator() {
-				if(this.loading) return
+			saveCreator() {
+				if(this.loading) return
 				this.loading = true
 				let _this = this
-				if (!_this.form.name) {
+				if (!_this.form.name) {
 					this.loading = false
 					uni.$u.toast('请输入姓名');
 					return
 				}
-				if (!_this.form.phone) {
+				if (!_this.form.phone) {
 					this.loading = false
 					uni.$u.toast('请输入手机号码');
 					return
 				}
 				const rule = /^[1][0-9][0-9]{9}$/
-				if (!rule.test(_this.form.phone)) {
+				if (!rule.test(_this.form.phone)) {
 					this.loading = false
 					uni.$u.toast('请输入正确的手机号');
 					return
 				}
 				$http.post('/api/v1/mp/admin/channel/apply/submit', this.form).then(res => {
-					if (res.code == 0) {
+					if (res.code == 0) {
 						uni.$u.toast('提交成功');
-						setTimeout(() => {
+						setTimeout(() => {
 							this.loading = false
 							uni.navigateBack({
 								delta: 1
 							})
 						}, 1000)
-					}else {
-						this.loading = false
+					}else {
+						this.loading = false
 					}
 				})
 			},
@@ -153,7 +153,7 @@
 		padding: 10rpx 40rpx 0rpx;
 	}
 
-	.save-btn {
+	.save-btn {
 		margin-top: 20rpx;
 		padding: 50rpx 20rpx;
 
@@ -166,29 +166,29 @@
 			border: none;
 			border-radius: 6rpx;
 		}
-	}
-	
-	.tip {
-		padding: 40rpx 40rpx 0;
-		line-height: 46rpx;
-		font-size: 26rpx;
-		color: #999;
-		
-		&-phone {
-			text-align: center;
-			margin-top: 60rpx;
-			image {
-				width: 40rpx;
-				height: 40rpx;
-				vertical-align: top;
-				margin-top: 4rpx;
-			}
-			view {
-				display: inline-block;
-				margin-left: 10rpx;
-				
-			}
-		}
-		
 	}
-</style>
+	
+	.tip {
+		padding: 40rpx 40rpx 0;
+		line-height: 46rpx;
+		font-size: 26rpx;
+		color: #999;
+		
+		&-phone {
+			text-align: center;
+			margin-top: 60rpx;
+			image {
+				width: 40rpx;
+				height: 40rpx;
+				vertical-align: top;
+				margin-top: 4rpx;
+			}
+			view {
+				display: inline-block;
+				margin-left: 10rpx;
+				
+			}
+		}
+		
+	}
+</style>

+ 1 - 1
src/packageOperate/lottery/details.vue

@@ -455,7 +455,7 @@
 				//弹出层打开
 				// this.popupShow = true
 				if (appId == 1) {
-					//微信盲票小程序
+					//微信共富券小程序
 					uni.requestSubscribeMessage({
 						tmplIds: ['92xxL8XTRPLROyNUtmN04OT0kyq4iwSCH3sz-j6zbZs',
 							'FGcPOV1j9ApESr3VUlWjFr6E1vF4X_h0LLN82T2CLL0',

+ 2 - 2
src/packageOperate/lottery/index.vue

@@ -190,14 +190,14 @@
 		//分享好友
 		onShareAppMessage(res) {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				path: '/pages/index/index'
 			}
 		},
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				query: `userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 			}
 		},

+ 2 - 2
src/packageOperate/lottery/my.vue

@@ -207,14 +207,14 @@
 		//分享好友
 		onShareAppMessage(res) {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				path: '/pages/index/index'
 			}
 		},
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				query: `userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 			}
 		},

+ 4 - 4
src/packageOperate/share/index.vue

@@ -21,16 +21,16 @@
 		<view class="flex invitation">
 			<view class="flex invitation-user">
 				<image src="../../static/public/share_bg.png" mode="aspectFit"></image>
-				<view class="title">盲票</view>
+				<view class="title">共富券</view>
 				<image class="avatar" :src="avatar" mode="scaleToFill"></image>
 			</view>
 			<view class="invitation-name">{{ userInfo.nickName }}</view>
-			<view class="invitation-name-tip">邀请您一起来刮盲票</view>
+			<view class="invitation-name-tip">邀请您一起来刮共富券</view>
 			<view class="flex invitation-code">
 				<image :src="codeUrl" mode="aspectFill"></image>
 			</view>
 			<view class="invitation-code-tip">长按识别二维码</view>
-			<view class="invitation-bottom-tip">盲票,玩的就是有趣</view>
+			<view class="invitation-bottom-tip">共富券,玩的就是有趣</view>
 		</view>
 		<view class="flex btn">
 			<button type="default" open-type="share">分享链接给好友</button>
@@ -143,7 +143,7 @@
 
 		onShareAppMessage(res) {
 			return {
-				title: '分享盲票',
+				title: '分享共富券',
 				path: `/pages/ticketBox/detail?boxId=${ this.boxId }&userId=${ this.userInfo.userId }&type=1`,
 				type: 2,
 			}

+ 58 - 58
src/packageOperate/store/index.vue

@@ -21,8 +21,8 @@
 
 		<view class="info" v-if="qrCode">
 			<view class="info-bacg">
-				<view class="info-bacg-img">
-					<u-image :src="qrCode" mode="aspectFit" width="356rpx" height="356rpx" showMenuByLongpress></u-image>
+				<view class="info-bacg-img">
+					<u-image :src="qrCode" mode="aspectFit" width="356rpx" height="356rpx" showMenuByLongpress></u-image>
 				</view>
 				<view class="info-bacg-txt">
 					长按扫码关注商家最新福利
@@ -59,7 +59,7 @@
 				<image class="center-img"
 					src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/static/lucky_empty_list.png"
 					mode="scaleToFill"></image>
-				<view class="center-font">暂无盲票</view>
+				<view class="center-font">暂无共富券</view>
 			</view>
 		</view>
 	</view>
@@ -80,7 +80,7 @@
 				sceneArr: [],
 				channelId: '',
 				userId: '',
-				siteName: '门店',
+				siteName: '门店',
 				qrCode: '',
 			}
 		},
@@ -107,7 +107,7 @@
 		onShow() {
 			// 获取页面数据
 			this.pageList()
-			this.getSiteName()
+			this.getSiteName()
 			this.getQrCode()
 		},
 		methods: {
@@ -118,17 +118,17 @@
 						this.siteName = res.data ? res.data : ('门店' + this.channelId)
 					}
 				}).catch(() => {})
-			},
-			
-			//获取门店二维码
-			getQrCode() {
-				$http.post('/api/v1/mp/user/query/qrCode', {
-					channelId: this.channelId
-				}).then(res => {
-					if (res.code == 0) {
-						this.qrCode = res.data ? env.filePublic + res.data.split(',')[0] + '?imageView2/2/w/170':''
-					}
-				}).catch(() => {})
+			},
+			
+			//获取门店二维码
+			getQrCode() {
+				$http.post('/api/v1/mp/user/query/qrCode', {
+					channelId: this.channelId
+				}).then(res => {
+					if (res.code == 0) {
+						this.qrCode = res.data ? env.filePublic + res.data.split(',')[0] + '?imageView2/2/w/170':''
+					}
+				}).catch(() => {})
 			},
 
 			// 获取页面数据
@@ -151,7 +151,7 @@
 				}).catch(() => {})
 			},
 
-			// 点击盲票,跳转盲票详情
+			// 点击共富券,跳转共富券详情
 			toTicketBox(item) {
 				uni.navigateTo({
 					url: `/pages/ticketBox/detail?boxId=${ item.boxId }&share=1&siteId=${ this.channelId }`
@@ -168,10 +168,10 @@
 		},
 	}
 </script>
-<style lang="scss" scoped>
-	.wrap {
-		background-color: #FFFFFF;
-	}
+<style lang="scss" scoped>
+	.wrap {
+		background-color: #FFFFFF;
+	}
 	
 	.nav-left {
 		&__code {
@@ -190,26 +190,26 @@
 	}
 
 	//二维码信息
-	.info {
-		background: linear-gradient(180deg, #E8D9FA 0%, #FAF4FE 100%);
-		padding: 58rpx 0 36rpx 0;
+	.info {
+		background: linear-gradient(180deg, #E8D9FA 0%, #FAF4FE 100%);
+		padding: 58rpx 0 36rpx 0;
 
-		&-bacg {
-			margin: 0 48rpx 0;
-			background-color: #fff;
-			border-radius: 34rpx;
-			padding-top: 28rpx;
+		&-bacg {
+			margin: 0 48rpx 0;
+			background-color: #fff;
+			border-radius: 34rpx;
+			padding-top: 28rpx;
 			
-			&-img {
-				margin: 0 auto;
-				width: 356rpx;
-				height: 356rpx;
+			&-img {
+				margin: 0 auto;
+				width: 356rpx;
+				height: 356rpx;
 			}
 
-			&-txt {
-				padding: 11rpx 0 22rpx;
-				width: 100%;
-				text-align: center;
+			&-txt {
+				padding: 11rpx 0 22rpx;
+				width: 100%;
+				text-align: center;
 			}
 		}
 	}
@@ -217,27 +217,27 @@
 	// 列表
 	.list {
 		padding: 0rpx 0 100rpx;
-		margin: 0 30rpx 0;
-		
-		&-title{
-			justify-content: flex-start;
-			margin: 30rpx 0;
-			&-left {
-				font-size: 34rpx;
-				font-weight: bold;
-				color: #333;
-			}
-			&-right {
-				width: 88rpx;
-				height: 22rpx;
-				margin-left: 8rpx;
-				
-				image {
-					width: 100%;
-					height: 100%;
-					vertical-align: top;
-				}
-			}
+		margin: 0 30rpx 0;
+		
+		&-title{
+			justify-content: flex-start;
+			margin: 30rpx 0;
+			&-left {
+				font-size: 34rpx;
+				font-weight: bold;
+				color: #333;
+			}
+			&-right {
+				width: 88rpx;
+				height: 22rpx;
+				margin-left: 8rpx;
+				
+				image {
+					width: 100%;
+					height: 100%;
+					vertical-align: top;
+				}
+			}
 		}
 
 		&-item {

File diff suppressed because it is too large
+ 0 - 0
src/packageOther/about/conceal.vue


File diff suppressed because it is too large
+ 0 - 0
src/packageOther/about/protect.vue


File diff suppressed because it is too large
+ 4 - 4
src/packageOther/rule/index.vue


File diff suppressed because it is too large
+ 0 - 0
src/packageOther/rule/purchase.vue


+ 42 - 42
src/packagePrize/bean/index.vue

@@ -36,15 +36,15 @@
 				<view class="flex bean-list-item" v-for="(item, index) in list" :key="index">
 					<view class="flex left">
 						<view class="date">{{ $parseTime(item.createdTime) }}</view>
-						<view class="title">{{ item.logText.split('|')[1] ? item.logText.split('|')[0] : item.logText }}</view>
+						<view class="title">{{ item.logText.split('|')[1] ? item.logText.split('|')[0] : item.logText }}</view>
 						<view class="beanNum" v-if="item.logText.split('|')[1]">{{ item.logText.split('|')[1] }}</view>
 					</view>
 					<view class="flex right">
-						<view class="amt1" v-if="item.logMoney > 0">{{ '+' + item.logMoney }}</view>
+						<view class="amt1" v-if="item.logMoney > 0">{{ '+' + item.logMoney }}</view>
 						<view class="amt" v-else>{{ item.logMoney }}</view>
-						<view class="balance">余额:{{ item.money }}</view>
+						<view class="balance">余额:{{ item.money }}</view>
 						<view class="beanNum" v-if="item.logText.split('|')[1]">-</view>
-					</view>
+					</view>
 				</view>
 			</view>
 			<u-loadmore :line="true" v-if="list.length>7" :status="status" :loading-text="'努力加载中'" :nomore-text="'已经到底了'" />
@@ -55,8 +55,8 @@
 					<view class="center-font">还没有记录</view>
 				</view>
 			</view>
-		</view>
-		<Transfer :popup-show="popupShow" @close="close" @confirm="confirm" :coin-num="coinNum"
+		</view>
+		<Transfer :popup-show="popupShow" @close="close" @confirm="confirm" :coin-num="coinNum"
 					v-if="popupShow" />
 	</view>
 </template>
@@ -75,8 +75,8 @@
 				pageNum: 1,
 				total: 0,
 				list: [],
-				pagesNum: '',
-				popupShow: false,
+				pagesNum: '',
+				popupShow: false,
 				coinNum: 0,
 			};
 		},
@@ -89,7 +89,7 @@
 			getBean() {
 				$http.post('/api/v1/mp/user/mine/init', {}).then(res => {
 					if (res.code == 0) {
-						this.initData = res.data
+						this.initData = res.data
 						this.coinNum = this.initData.coinNum
 					}
 				}).catch(() => {})
@@ -118,22 +118,22 @@
 				this.total = 0
 				this.list = []
 				this.getList()
-			},
-			
-			//盲票转赠
-			onTransfer() {
-				this.popupShow = true
-			},
-			
-			close() {
-				this.popupShow = false
-			},
-			
-			confirm() {
-				//刷新芒豆数量
-				this.getBean()
-				//刷新芒豆记录
-				this.pageList()
+			},
+			
+			//共富券转赠
+			onTransfer() {
+				this.popupShow = true
+			},
+			
+			close() {
+				this.popupShow = false
+			},
+			
+			confirm() {
+				//刷新芒豆数量
+				this.getBean()
+				//刷新芒豆记录
+				this.pageList()
 			},
 
 			toCore() {
@@ -194,7 +194,7 @@
 				font-size: 30rpx;
 				text-align: center;
 				background: #fff;
-				border-radius: 4rpx;
+				border-radius: 4rpx;
 				color: $uni-text-color;
 
 				image {
@@ -230,12 +230,12 @@
 					.title {
 						font-size: 30rpx;
 						line-height: 30rpx;
-					}
-					
-					.beanNum {
-						margin-top: 20rpx;
-						color: #AAAAAA;
-					}
+					}
+					
+					.beanNum {
+						margin-top: 20rpx;
+						color: #AAAAAA;
+					}
 					
 				}
 
@@ -249,20 +249,20 @@
 						font-size: 30rpx;
 						line-height: 30rpx;
 						margin-bottom: 28rpx;
-					}
-					.amt1 {
-						color: $uni-text-color;
-						font-size: 30rpx;
-						line-height: 30rpx;
-						margin-bottom: 28rpx;
+					}
+					.amt1 {
+						color: $uni-text-color;
+						font-size: 30rpx;
+						line-height: 30rpx;
+						margin-bottom: 28rpx;
 					}
 
 					.balance {
 						color: #AAAAAA;
-					}
-					.beanNum{
-						margin-top: 20rpx;
-						color: #fff;
+					}
+					.beanNum{
+						margin-top: 20rpx;
+						color: #fff;
 					}
 				}
 			}

+ 1 - 1
src/packagePrize/choice/index.vue

@@ -2,7 +2,7 @@
 	<view>
 		<u-popup :show="tipShow" :round="10" mode="center" :safeAreaInsetBottom="false">
 			<view class="null-prize">
-				<view class="title">该盲票已被他人买走了</view>
+				<view class="title">该共富券已被他人买走了</view>
 				<!-- <navigator open-type="exit" target="miniProgram" hover-class="none" class="btn">确认</navigator> -->
 				<view class="btn" @click="toUser">确认</view>
 			</view>

+ 1 - 1
src/packagePrize/rolling/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view>
 		<!-- #ifdef MP-ALIPAY -->
-		<!-- <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="盲票开启" v-if="rollingShow"
+		<!-- <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="共富券开启" v-if="rollingShow"
 			leftIconSize="0"></u-navbar> -->
 			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="抽奖中" v-if="rollingShow"
 				leftIconSize="0"></u-navbar>

+ 5 - 5
src/packagePrize/ticket/index.vue

@@ -1,17 +1,17 @@
 <template>
   <view>
     <!-- #ifdef MP-ALIPAY -->
-    <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的盲票" leftIconSize="0"></u-navbar>
+    <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的共富券" leftIconSize="0"></u-navbar>
     <!-- #endif -->
     <!-- #ifdef MP-WEIXIN -->
-    <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的盲票"></u-navbar>
+    <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的共富券"></u-navbar>
     <!-- #endif -->
     <!-- #ifndef MP-WEIXIN || MP-ALIPAY -->
     <view v-if="pagesNum > 1">
-      <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的盲票" />
+      <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的共富券" />
     </view>
     <view v-else>
-      <u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="我的盲票">
+      <u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="我的共富券">
         <view class="nav-left flex" slot="left" @click="$toIndex()">
           <u-icon name="arrow-left" size="20" color="#333"></u-icon>
         </view>
@@ -66,7 +66,7 @@
     <view class="flex empty" v-if="!list.length">
       <view class="center">
         <image class="center-img" src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/static/lucky_empty_list.png" mode="scaleToFill"></image>
-        <view class="center-font">暂无盲票</view>
+        <view class="center-font">暂无共富券</view>
       </view>
       <!-- <u-empty text="数据为空" mode="order" /> -->
     </view>

+ 2 - 2
src/pages/activity/index.vue

@@ -177,14 +177,14 @@
 		//分享好友
 		onShareAppMessage(res) {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				path: '/pages/index/index'
 			}
 		},
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				query: `userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 			}
 		},

+ 2 - 2
src/pages/core/index.vue

@@ -520,14 +520,14 @@
 		//分享好友
 		onShareAppMessage(res) {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				path: '/pages/index/index',
 			}
 		},
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				query: `userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 			}
 		}

+ 28 - 28
src/pages/index/index.vue

@@ -44,7 +44,7 @@
 					<!-- #endif -->
 				</view>
 				
-				<!-- 盲票名称轮播 -->
+				<!-- 共富券名称轮播 -->
 				<view class="ticket-title" flex>
 					<swiper class="ticket-title-swiper flex" :duration="0" :current="ticketTitleIndex" previous-margin="80px"
 						next-margin="80px" :autoplay="false" :circular="true" @change="changeTicketTitle">
@@ -57,9 +57,9 @@
 					</swiper>
 				</view>
 				
-				<!-- <view @click="toLucky">这是测试盲票开奖入口</view> -->
-				<!-- <view @click="toStore">这是测试门店盲票列表入口</view> -->
-				<!-- 盲票轮播 -->
+				<!-- <view @click="toLucky">这是测试共富券开奖入口</view> -->
+				<!-- <view @click="toStore">这是测试门店共富券列表入口</view> -->
+				<!-- 共富券轮播 -->
 				<view class="ticket">
 					<view class="ticket-bgc" @click="ticketLeft()">
 						<image src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/static/indexPrizeplatform.png" mode="scaleToFill"></image>
@@ -81,7 +81,7 @@
 					</view>
 				</view>
 
-				<!-- 盲票价格 -->
+				<!-- 共富券价格 -->
 				<view class="ticket-price flex">
 					<view class="ticket-price-amt flex">
 						<view class="txt">¥</view>
@@ -92,7 +92,7 @@
 					</view>
 				</view>
 
-				<!-- 刮开盲票 -->
+				<!-- 刮开共富券 -->
 				<view class="ticket-btn flex">
 					<view class="ticket-btn-left flex" @click="toRollingGame">
 						<image src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/static/indexButtonLeft.png" mode="scaleToFill"></image>
@@ -118,7 +118,7 @@
 
 		</view>
 		<!-- 引导页面 -->
-		<!-- <u-modal :show="showMp" content='“盲票”已升级为“码上快购”' width='530rpx' confirmText='立即前往' @confirm='toAnotherApplet'></u-modal> -->
+		<!-- <u-modal :show="showMp" content='“共富券”已升级为“码上快购”' width='530rpx' confirmText='立即前往' @confirm='toAnotherApplet'></u-modal> -->
 		<!-- tabbar组件 -->
 		<custom-tab-bar :activeValue="'index'" />
 		<!-- 支付弹框组件 -->
@@ -140,17 +140,17 @@
 		data() {
 			return {
 				loginState: false, // 登录状态
-				ticketList: [], // 盲票列表
+				ticketList: [], // 共富券列表
 				prizeList: [], // 奖品列表
 				prizeNewsListOne: [], // 弹幕列表
 				prizeNewsListTwo: [], // 弹幕列表
 				payShow: false, // 支付弹框显示
 				payInfo: {}, // 支付详情
-				currentIndex: 0, // 盲票选中下标
+				currentIndex: 0, // 共富券选中下标
 
 				statusHeight: 20,
-				ticketIndex: 0, // 盲票选中下标
-				ticketTitleIndex: 0, // 盲票标题选中下边
+				ticketIndex: 0, // 共富券选中下标
+				ticketTitleIndex: 0, // 共富券标题选中下边
 				list: [1, 2, 3, 4, 5],
 				percentage: 0,
 				checkStatus: true,
@@ -183,7 +183,7 @@
 				uni.setStorageSync('shareType', opthios.type)
 			}
 			/**
-			 * 票赢天下小程序分享盲票跳转接受的参数
+			 * 票赢天下小程序分享共富券跳转接受的参数
 			 * shareUid: 用户ID
 			 * shareType: 分享类型
 			 * */
@@ -195,7 +195,7 @@
 					uni.getSystemInfo({
 						success(res) {
 							log.error(
-								`基础库:${ res.SDKVersion },设备:${ res.model }-${ res.system },页面:/pages/index/index.vue,来源:票赢天下小程序分享盲票,`
+								`基础库:${ res.SDKVersion },设备:${ res.model }-${ res.system },页面:/pages/index/index.vue,来源:票赢天下小程序分享共富券,`
 							)
 						}
 					})
@@ -264,7 +264,7 @@
 					},
 				})
 			},
-			// 切换盲票
+			// 切换共富券
 			changeTicket({
 				detail
 			}) {
@@ -280,7 +280,7 @@
 				}
 			},
 
-			// 切换盲票名称
+			// 切换共富券名称
 			changeTicketTitle({
 				detail
 			}) {
@@ -373,7 +373,7 @@
 				})
 			},
 
-			// 获取盲票列表
+			// 获取共富券列表
 			getList() {
 				uni.showLoading({
 					title: '加载中'
@@ -424,7 +424,7 @@
 				})
 			},
 
-			// 获取当前盲票的详情
+			// 获取当前共富券的详情
 			getTicketDetail(id) {
 				this.prizeList = []
 				$http.post('/api/v1/mp/user/mall/ticket/detail', {
@@ -509,7 +509,7 @@
 					})
 			},
 
-			// 盲票向左箭头
+			// 共富券向左箭头
 			ticketLeft() {
 				if ((this.ticketIndex >= 0) && (this.ticketIndex < (this.ticketList.length - 1))) {
 					this.ticketIndex++
@@ -520,7 +520,7 @@
 				this.getTicketDetail(this.ticketList[this.ticketTitleIndex].boxId)
 			},
 
-			// 盲票向右箭头
+			// 共富券向右箭头
 			ticketRight() {
 				if (this.ticketIndex > 0) {
 					this.ticketIndex--
@@ -545,7 +545,7 @@
 				})
 			},
 
-			// 点击盲票,跳转关联商品详情
+			// 点击共富券,跳转关联商品详情
 			toTicketBox(item) {
 				if (item.refType && JSON.parse(item.refType).value === 'goods') {
 					uni.navigateTo({
@@ -572,7 +572,7 @@
 				})
 			},
 
-			// 点击所有盲票
+			// 点击所有共富券
 			toTicket() {
 				uni.navigateTo({
 					url: '/packageGoods/ticket/index'
@@ -613,14 +613,14 @@
 		//分享好友
 		onShareAppMessage(res) {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				path: '/pages/index/index'
 			}
 		},
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				query: `userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 			}
 		}
@@ -767,7 +767,7 @@
 
 	}
 
-	// 盲票名称轮播
+	// 共富券名称轮播
 	.ticket-title {
 		height: 80rpx;
 		// padding: 0 34rpx;
@@ -804,7 +804,7 @@
 		}
 	}
 	
-	// 盲票
+	// 共富券
 	.ticket {
 		height: 36.6vh;
 		position: relative;
@@ -878,7 +878,7 @@
 		}
 	}
 
-	// 盲票价格
+	// 共富券价格
 	.ticket-price {
 		height: 44rpx;
 	
@@ -932,7 +932,7 @@
 		}
 	}
 
-	// 刮开盲票
+	// 刮开共富券
 	.ticket-btn {
 		justify-content: space-between;
 		// height: 20vh;
@@ -1148,7 +1148,7 @@
 		}
 	}
 
-	// 刮开盲票光影移动动画
+	// 刮开共富券光影移动动画
 	@keyframes shadowMove {
 		0% {
 			left: -100%;

+ 110 - 110
src/pages/index/payExternal.vue

@@ -1,58 +1,58 @@
 <template>
-	<view class="">
-		<!-- #ifdef MP-ALIPAY -->
-		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="支付中" leftIconSize="0"></u-navbar>
-		<!-- #endif -->
-		<!-- #ifdef MP-WEIXIN -->
-		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="支付中"></u-navbar>
-		<!-- #endif -->
-		<!-- #ifndef MP-WEIXIN || MP-ALIPAY -->
-		<view v-if="pagesNum > 1">
-			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="支付中" />
-		</view>
-		<view v-else>
-			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="支付中">
-				<view class="nav-left flex" slot="left" @click="$toIndex()">
-					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
-				</view>
-			</u-navbar>
-		</view>
+	<view class="">
+		<!-- #ifdef MP-ALIPAY -->
+		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="支付中" leftIconSize="0"></u-navbar>
 		<!-- #endif -->
-		<!-- <web-view :src='info'></web-view> -->
-		<view class="btn" v-if="paystatus == 0">
-			<u-button class="btn1" @click="openPay(1)" text="前往第三方支付" shape="circle"></u-button>
-		</view>
-		<view class="btn" v-else>
-			<u-button class="btn1" @click="toPurchase" text="我已支付,去开奖" shape="circle"></u-button>
-			<u-button class="btn2" @click="openPay(2)" text="还未支付,前往第三方支付" shape="circle"></u-button>
+		<!-- #ifdef MP-WEIXIN -->
+		<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="支付中"></u-navbar>
+		<!-- #endif -->
+		<!-- #ifndef MP-WEIXIN || MP-ALIPAY -->
+		<view v-if="pagesNum > 1">
+			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="支付中" />
+		</view>
+		<view v-else>
+			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="支付中">
+				<view class="nav-left flex" slot="left" @click="$toIndex()">
+					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
+				</view>
+			</u-navbar>
+		</view>
+		<!-- #endif -->
+		<!-- <web-view :src='info'></web-view> -->
+		<view class="btn" v-if="paystatus == 0">
+			<u-button class="btn1" @click="openPay(1)" text="前往第三方支付" shape="circle"></u-button>
+		</view>
+		<view class="btn" v-else>
+			<u-button class="btn1" @click="toPurchase" text="我已支付,去开奖" shape="circle"></u-button>
+			<u-button class="btn2" @click="openPay(2)" text="还未支付,前往第三方支付" shape="circle"></u-button>
 		</view>
 	</view>
 </template>
 
-<script>
+<script>
 	import $http from '@/utils/request.js'
 	export default {
 		data() {
 			return {
-				info: 'https://openapi.ysepay.com/gateway.do?',
-				pagesNum: '',
-				orderId: '',
-				paystatus: 0,
+				info: 'https://openapi.ysepay.com/gateway.do?',
+				pagesNum: '',
+				orderId: '',
+				paystatus: 0,
 			}
-		},
-		onShow() {
-			this.pagesNum = getCurrentPages().length
-			this.paystatus = sessionStorage.getItem('paystatus') ? 1 : 0
 		},
-		onLoad(opthios) {
-			if(opthios.orderId){
-				this.orderId = opthios.orderId
-			}
-			let data = sessionStorage.getItem('viewUrlData')
-			data = JSON.parse(data)
-			Object.keys(data).forEach(item=>{
-				this.info = this.info + item + '=' + encodeURIComponent(data[item]) + '&'
-			})
+		onShow() {
+			this.pagesNum = getCurrentPages().length
+			this.paystatus = sessionStorage.getItem('paystatus') ? 1 : 0
+		},
+		onLoad(opthios) {
+			if(opthios.orderId){
+				this.orderId = opthios.orderId
+			}
+			let data = sessionStorage.getItem('viewUrlData')
+			data = JSON.parse(data)
+			Object.keys(data).forEach(item=>{
+				this.info = this.info + item + '=' + encodeURIComponent(data[item]) + '&'
+			})
 			
 			// if(opthios.viewUrl){
 			// 	let data = JSON.parse(decodeURIComponent(opthios.viewUrl))
@@ -60,78 +60,78 @@
 			// 		this.info = this.info + item + '=' + encodeURIComponent(data[item]) + '&'
 			// 	})
 			// }
-			// location.href =  this.info
+			// location.href =  this.info
 			// window.open(this.info);
-		},
-		onUnload() {
-			sessionStorage.removeItem('paystatus');
-			sessionStorage.removeItem('viewUrlData');
-		},
-		methods: {
-			openPay(e) {
-				if(e == 1){
-					sessionStorage.setItem('paystatus', '1');
-					window.open(this.info);
-				}else{
-					window.open(this.info);
-				}
-				
-			},
-			
-			toPurchase() {
-				let _this = this
-				uni.showLoading({
-					title: '加载中'
-				});
-				$http.post('/api/v1/mp/user/ticket/query', {
-					orderId: this.orderId,
-				}).then(res => {
-					uni.hideLoading();
-					if (res.code == 0) {
-						if(res.data.status != 3) {
-							uni.showToast({
-								title: '支付成功',
-								icon: 'success',
-								duration: 2000
-							})
-							setTimeout(() => {
-								uni.redirectTo({
-									url: `/packagePrize/purchase/index?boxId=${ res.data.boxId }&orderId=${ this.orderId }&isTry=0`
-								})
-							}, 500)
-						}else {
-							uni.$u.toast('盲票已开奖');
-							setTimeout(() => {
-								uni.switchTab({
-									url: `/pages/index/index`
-								})
-							}, 500)
-						}
-					}else {
-						uni.$u.toast(res.msg);
-					}
-				}).catch(() => {
-					uni.hideLoading();
-				})
-			},
-			
+		},
+		onUnload() {
+			sessionStorage.removeItem('paystatus');
+			sessionStorage.removeItem('viewUrlData');
+		},
+		methods: {
+			openPay(e) {
+				if(e == 1){
+					sessionStorage.setItem('paystatus', '1');
+					window.open(this.info);
+				}else{
+					window.open(this.info);
+				}
+				
+			},
+			
+			toPurchase() {
+				let _this = this
+				uni.showLoading({
+					title: '加载中'
+				});
+				$http.post('/api/v1/mp/user/ticket/query', {
+					orderId: this.orderId,
+				}).then(res => {
+					uni.hideLoading();
+					if (res.code == 0) {
+						if(res.data.status != 3) {
+							uni.showToast({
+								title: '支付成功',
+								icon: 'success',
+								duration: 2000
+							})
+							setTimeout(() => {
+								uni.redirectTo({
+									url: `/packagePrize/purchase/index?boxId=${ res.data.boxId }&orderId=${ this.orderId }&isTry=0`
+								})
+							}, 500)
+						}else {
+							uni.$u.toast('共富券已开奖');
+							setTimeout(() => {
+								uni.switchTab({
+									url: `/pages/index/index`
+								})
+							}, 500)
+						}
+					}else {
+						uni.$u.toast(res.msg);
+					}
+				}).catch(() => {
+					uni.hideLoading();
+				})
+			},
+			
 		}
 	}
 </script>
 
 <style lang="scss" scoped>
-.btn {
-	 margin: 156rpx 41rpx 0 41rpx;
-	 .btn1 {
-		 background: linear-gradient(180deg, #FEA052 0%, #FF8D2F 100%);
-		 border-radius: 2px;
-		 color: #FFFFFF;
-	 }
-	 .btn2 {
-		 margin-top: 51rpx;
-		 border-radius: 2px;
-		 background-color: #EFEFEF;
-		 color: #666666;
-	 }
+.btn {
+	 margin: 156rpx 41rpx 0 41rpx;
+	 .btn1 {
+		 background: linear-gradient(180deg, #FEA052 0%, #FF8D2F 100%);
+		 border-radius: 2px;
+		 color: #FFFFFF;
+	 }
+	 .btn2 {
+		 margin-top: 51rpx;
+		 border-radius: 2px;
+		 background-color: #EFEFEF;
+		 color: #666666;
+	 }
 }
 </style>

+ 1 - 1
src/pages/login/index.vue

@@ -26,7 +26,7 @@
         <view class="flex login-image">
           <image src="../../static/public/logo.png" mode="scaleToFill"></image>
           <view class="login-image-txt" v-if="appId == 2">共富券驿站</view>
-          <view class="login-image-txt" v-else>盲票</view>
+          <view class="login-image-txt" v-else>共富券</view>
         </view>
 
         <!-- #ifdef MP-ALIPAY -->

+ 2 - 2
src/pages/lottery/index.vue

@@ -141,14 +141,14 @@
 		//分享好友
 		onShareAppMessage(res) {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				path: '/pages/index/index'
 			}
 		},
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '盲票,玩的就是有趣',
+				title: '共富券,玩的就是有趣',
 				query: `userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 			}
 		},

+ 16 - 16
src/pages/ticketBox/detail.vue

@@ -2,11 +2,11 @@
 	<view class="ticket-wrap">
 		<!-- #ifdef MP-ALIPAY -->
 		<view v-if="pagesNum > 1">
-			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="盲票详情"
+			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="共富券详情"
 				leftIconSize="0"></u-navbar>
 		</view>
 		<view v-else>
-			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" title="盲票详情">
+			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" title="共富券详情">
 				<view class="nav-left flex" slot="left" @click="$toIndex()">
 					<u-icon name="home" size="20" color="#333"></u-icon>
 					<view class="nav-left__code">首页</view>
@@ -16,10 +16,10 @@
 		<!-- #endif -->
 		<!-- #ifndef MP-ALIPAY -->
 		<view v-if="pagesNum > 1">
-			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="盲票详情"></u-navbar>
+			<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="共富券详情"></u-navbar>
 		</view>
 		<view v-else>
-			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" title="盲票详情">
+			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" title="共富券详情">
 				<view class="nav-left flex" slot="left" @click="$toIndex()">
 					<u-icon name="home" size="20" color="#333"></u-icon>
 					<view class="nav-left__code">首页</view>
@@ -64,7 +64,7 @@
 				<view class="prize-price-past" v-if="info.originPrice != 0">原价:¥{{ $numberFormat(info.originPrice) }}</view>
 			</view>
 
-			<!-- 开启盲票 -->
+			<!-- 开启共富券 -->
 			<view class="ticket-btn flex">
 				<!-- <image class="ticket-btn-game" src="../../static/ticketBox/ticket_game.png" mode="scaleToFill" @click="toRollingGame"></image> -->
 				<image class="ticket-btn-game" src="" mode="scaleToFill"></image>
@@ -81,14 +81,14 @@
 			</view>
 		</view>
 
-		<!-- 盲票奖品说明 -->
+		<!-- 共富券奖品说明 -->
 		<view class="explain flex">
 			<image class="image-left" src="../../static/ticketBox/ticket_explain_right.png" mode="aspectFit" style="transform: rotate(180deg);"></image>
 			<view class="explain-title">刮开必出以下宝贝之一</view>
 			<image class="image-right" src="../../static/ticketBox/ticket_explain_right.png" mode="aspectFit"></image>
 		</view>
 
-		<!-- 盲票奖品数量、概率 -->
+		<!-- 共富券奖品数量、概率 -->
 		<view class="prize-total">
 			<view class="prize-total-num">共{{ total }}款</view>
 			<!-- 中奖概率 -->
@@ -102,7 +102,7 @@
 			<view class="prize-total-txt">因概率对小数点后三位进行四舍五入处理,故存在总值不为100%的可能。商品抽奖存在概率性,付费请谨慎!未成年人请在家长监督下使用。</view>
 		</view>
 
-		<!-- 盲票奖品列表 -->
+		<!-- 共富券奖品列表 -->
 		<view class="prize-list">
 			<view class="prize-list-item flex" v-for="(item, index) in prizeList" :key="index" @click="toPrizeGoods(item)">
 				<image :src="item.picUrl" mode="aspectFit"></image>
@@ -168,7 +168,7 @@
 			};
 		},
 		onLoad(opthios) {
-			// 从门店盲票列表跳转
+			// 从门店共富券列表跳转
 			if(opthios.share) {
 				this.share = opthios.share
 			}
@@ -185,7 +185,7 @@
 					uni.getSystemInfo({
 						success(res) {
 							log.error(
-								`基础库:${ res.SDKVersion },设备:${ res.model }-${ res.system },页面:/pages/ticketBox/detail.vue,来源:票赢天下小程序分享盲票,`
+								`基础库:${ res.SDKVersion },设备:${ res.model }-${ res.system },页面:/pages/ticketBox/detail.vue,来源:票赢天下小程序分享共富券,`
 							)
 						}
 					})
@@ -415,7 +415,7 @@
 
 		onShareAppMessage(res) {
 			return {
-				title: '一起来刮盲票吧',
+				title: '一起来刮共富券吧',
 				path: `/pages/ticketBox/detail?boxId=${ this.info.boxId }&userId=${ this.userInfo.userId }&type=1`,
 				type: 2,
 			}
@@ -423,7 +423,7 @@
 		//分享朋友圈
 		onShareTimeline() {
 			return {
-				title: '一起来刮盲票吧',
+				title: '一起来刮共富券吧',
 				query: `boxId=${ this.info.boxId }&userId=${ this.userInfo.userId?this.userInfo.userId:null }&type=1`
 
 			}
@@ -563,7 +563,7 @@
 			}
 		}
 
-		// 开启盲票
+		// 开启共富券
 		.ticket-btn {
 			justify-content: space-between;
 			height: 10vh;
@@ -625,7 +625,7 @@
 		}
 	}
 
-	// 盲票奖品说明
+	// 共富券奖品说明
 	.explain {
 		width: 100vw;
 		position: relative;
@@ -652,7 +652,7 @@
 		}
 	}
 
-	// 盲票奖品数量、概率
+	// 共富券奖品数量、概率
 	.prize-total {
 		margin-bottom: 34rpx;
 
@@ -698,7 +698,7 @@
 		}
 	}
 
-	// 盲票奖品列表
+	// 共富券奖品列表
 	.prize-list {
 		padding: 0 34rpx 70rpx;
 

+ 3 - 3
src/pages/user/index.vue

@@ -33,7 +33,7 @@
         </view>
         <view class="flex account-info-item">
           <view>-</view>
-          <view>我的盲票</view>
+          <view>我的共富券</view>
         </view>
         <view class="flex account-info-item">
           <view>-</view>
@@ -297,14 +297,14 @@ export default {
   //分享好友
   onShareAppMessage(res) {
     return {
-      title: '盲票,玩的就是有趣',
+      title: '共富券,玩的就是有趣',
       path: '/pages/index/index'
     }
   },
   //分享朋友圈
   onShareTimeline() {
     return {
-      title: '盲票,玩的就是有趣',
+      title: '共富券,玩的就是有趣',
       // query: { userId: this.userInfo.userId,
       // 		type: 1, },
       query: `userId=${this.userInfo.userId ? this.userInfo.userId : null}&type=1`

Some files were not shown because too many files changed in this diff