lhl 1 year ago
parent
commit
fc47ff80e5

+ 4 - 1
pages/index/index.vue

@@ -176,7 +176,10 @@
 			return shareObj;
 		},
 		// #endif
-		methods: {
+		methods: {
+			swiperChange() {
+				
+			},
 			share() {
 				// console.log('加载分享');
 				const that = this;

+ 2 - 2
pages/public/userAgreement.vue

@@ -37,7 +37,7 @@
 			在本协议中,除上下文有其他约定,下列表达均做如下解释:
 		</view>
 		<view class="lineSt">
-			1.1 母婴界严选平台:指本公司旗下运营的电动车定位、售后服务互联网平台,以及其在IOS、安卓、windows等个人计算机或移动电话设备等终端系统上的客户端。
+			1.1 母婴界严选平台:指本公司旗下运营的互联网平台,以及其在IOS、安卓、windows等个人计算机或移动电话设备等终端系统上的客户端。
 		</view>
 		<view class="lineSt">
 			1.2母婴界严选:“母婴界严选”的提供方、母婴界严选平台服务运营商。
@@ -70,7 +70,7 @@
 			用户明确同意,本公司有权根据需要时制订、修改本协议及相关规则,变更后的协议和规则一经公布,立即取代原协议及规则并自动生效。如用户不同意相关变更,应当立即停止使用母婴界严选平台服务,如用户继续使用母婴界严选平台服务,即表示用户已接受经修订的协议和规则。
 		</view>
 		<view class="lineSt">
-			2.3电动车经营者在母婴界严选平台上以一次性支付或分期支付的形式向用户提供电动车售卖服务。
+			2.3使用者者在母婴界严选平台上以一次性支付或分期支付的形式向用户提供名片模板售卖服务。
 		</view>
 		<view class="lineSt strongItem">
 			3、用户注册与认证

+ 0 - 10
pages/user/model/model.vue

@@ -296,16 +296,6 @@
 				})
 			}
 		},
-		onUnload() {
-			let pages = getCurrentPages(); //获取加载的页面
-			let currentPage = pages[pages.length - 2]; //获取当前页面的对象
-			// console.log(currentPage.route)
-			if (currentPage.route == 'pages/public/wxLogin') {
-				uni.switchTab({
-					url: '/pages/index/index'
-				})
-			}
-		},
 		methods: {
 			...mapMutations('user', ['setUserInfo']),
 			jsyl() {

+ 7 - 4
pages/user/shareQrCode.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="container">
-		<canvas :style="{ width:  '750rpx', height: '1624rpx',}" canvas-id="myCanvas" id="myCanvas" class="hb"></canvas>
+		<canvas :style="{ width:  canvasW + 'px', height: canvasH + 'px',}" canvas-id="myCanvas" id="myCanvas" class="hb"></canvas>
 		<!-- #ifndef MP -->
 		<div class="preserve">
 			<div class="line"></div>
@@ -47,6 +47,8 @@
 		// #endif
 		data() {
 			return {
+				canvasW: '',
+				canvasH: '',
 				bgimg: '',
 				qrimg: '',
 				shareList: [],
@@ -224,10 +226,11 @@
 				// 获取商品主图,二维码信息,APP端会返回图片的本地路径(H5端只能返回原路径)
 				this.goodsImg = await this.getImageInfo(that.bgimg);
 				this.ewmImg = await this.getImageInfo(that.qrcode);
-				// this.canvasW = this.SystemInfo.windowWidth; // 画布宽度
+				this.canvasW = this.SystemInfo.windowWidth; // 画布宽度
 				this.ratio = this.SystemInfo.windowWidth / 750;
-				this.canvasW =750 * this.ratio;
-				this.canvasH = 1624 * this.ratio;
+				let x = 750*this.goodsImg.height/this.goodsImg.width
+				// this.canvasW =750 * this.ratio;
+				this.canvasH = x * this.ratio;
 
 				this.ewmW = 220 * this.ratio;
 	

+ 1 - 1
pages/userhome/user.vue

@@ -179,7 +179,7 @@
 						<!-- #endif -->
 						<view class="flex listItem" @click="navTo('/pages/set/set')">
 							<view class="flex titleBox">
-								<image class="listIconImg" src="../../static/icon/myset.png" mode="widthFix"></image>
+								<image class="listIconImg" src="../../static/icon/mySet.png" mode="widthFix"></image>
 								<text class="title">系统设置</text>
 							</view>
 							<view class="right flex">