Parcourir la source

会员加暖心认证,更新图片

1410417013 il y a 7 mois
Parent
commit
17c2237a3f
3 fichiers modifiés avec 24 ajouts et 10 suppressions
  1. 8 8
      common/config.js
  2. 15 1
      my/vip/index.vue
  3. 1 1
      pages/index/index.vue

+ 8 - 8
common/config.js

@@ -1,12 +1,12 @@
-// const ROOTPATH = "https://mxys.chuanghai-tech.com/sqx_fast";
-// const ROOTPATH1 = "https://mxys.chuanghai-tech.com/sqx_fast";
-// const ROOTPATH2 = "wss://mxys.chuanghai-tech.com/wss/websocket/"
-// const ROOTPATH3 = "wss://mxys.chuanghai-tech.com/wss/ordersChat/"
+const ROOTPATH = "https://mxys.chuanghai-tech.com/sqx_fast";
+const ROOTPATH1 = "https://mxys.chuanghai-tech.com/sqx_fast";
+const ROOTPATH2 = "wss://mxys.chuanghai-tech.com/wss/websocket/"
+const ROOTPATH3 = "wss://mxys.chuanghai-tech.com/wss/ordersChat/"
 
-const ROOTPATH = "https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast";
-const ROOTPATH1 = "https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast";
-const ROOTPATH2 = "wss://mxys.chuanghai-tech.com/wss-test/websocket/"
-const ROOTPATH3 = "wss://mxys.chuanghai-tech.com/wss-test/ordersChat/"
+// const ROOTPATH = "https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast";
+// const ROOTPATH1 = "https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast";
+// const ROOTPATH2 = "wss://mxys.chuanghai-tech.com/wss-test/websocket/"
+// const ROOTPATH3 = "wss://mxys.chuanghai-tech.com/wss-test/ordersChat/"
 
 // const ROOTPATH = "http://192.168.161.225:8171/sqx_fast";
 // const ROOTPATH1 = "http://192.168.161.225:8171/sqx_fast";

+ 15 - 1
my/vip/index.vue

@@ -51,6 +51,9 @@
 			</view>
 			
 			<view class="nuanxin" @click="natNuan()">暖心认证</view>
+			<view class="padding-lr" style="margin-top: 38rpx;">
+				<image style="width: 100%;height: 129px;" @click="clickImg" src="https://mxys.chuanghai-tech.com/wmfile/20251124/3247849b2d2849229013d9c41d0b5d93.png"></image>
+			</view>
 		</view>
 		<view style="height: 110rpx;"></view>
 		<view class="flex justify-between cu-bar foot bg padding-lr" v-if="!isVip">
@@ -237,6 +240,16 @@
 			this.getUserInfo()
 		},
 		methods: {
+			//点击放大图片
+			clickImg(){
+				wx.previewImage({
+					urls: [], //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
+					current:'https://mxys.chuanghai-tech.com/wmfile/20251124/3247849b2d2849229013d9c41d0b5d93.png', // 当前显示图片的http链接,默认是第一个
+					success: function(res) {},
+					fail: function(res) {},
+					complete: function(res) {},
+				})
+			},
 			//推广码弹框
 			tuiguang(){
 				if (!this.tuiguangma) {
@@ -585,7 +598,8 @@
 		border-radius: 32px;
 		text-align: center;
 		line-height: 47px;
-		margin: 38rpx 0 0 70px;
+		margin: auto;
+		margin-top: 38rpx;
 	}
 	/* 暖心认证弹框 */
 	.nuan_kuang{

+ 1 - 1
pages/index/index.vue

@@ -39,7 +39,7 @@
 				</view>
 			</view>
 			<view class="padding-lr" @click="natiVip">
-				<image class="radius" style="width: 100%;height: 280rpx;" src="https://mxys.chuanghai-tech.com/wmfile/20251112/0bde5c4aa58644eab904520af3f1912a.png"></image>
+				<image class="radius" style="width: 100%;height: 280rpx;" src="https://mxys.chuanghai-tech.com/wmfile/20251124/ce18c619fcef4483a67613a3fb1c4256.png"></image>
 			</view>
 			<!-- 公告 -->
 			<!-- <view class="flex justify-between align-center bg-white padding-bottom padding-lr radius bg-white"