Quellcode durchsuchen

Signed-off-by: 李妹妹 <1639016684@qq.com>

李妹妹 vor 14 Stunden
Ursprung
Commit
0a1a93951e
5 geänderte Dateien mit 29 neuen und 4 gelöschten Zeilen
  1. 0 3
      common/request.js
  2. 1 1
      manifest.json
  3. 14 0
      pages_course/video.vue
  4. 14 0
      pages_course/videovip.vue
  5. BIN
      static/images/kefu.png

+ 0 - 3
common/request.js

@@ -57,9 +57,6 @@ export default class Request {
 			path = `${path2}/companyapp`;
 		}
 		if (router.indexOf("/companyapp") != -1) {
-			if (router.indexOf("/addVoicePrintUrl") !== -1) {
-				router = router.replace('/companyapp', '')
-			}
 			// router =router.replace('/companyapp','')
 			// path = 'https://userapp.klbycp.com' //百域承品
 			path = path2 //本地

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "岚财良品",
-    "appid" : "__UNI__A8490FA",
+    "appid" : "__UNI__5DC0513",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",

+ 14 - 0
pages_course/video.vue

@@ -619,6 +619,11 @@
 						<image src="/static/images/more24.png" @click="showMore"></image>
 						<view class="tips">更多</view>
 					</view>
+					<view class="more-box" style="margin-left: 30rpx;position: relative;">
+						<image src="/static/images/kefu.png" @click="showMore"></image>
+						<view class="tips">客服</view>
+						<button class="contact-btn" open-type="contact"></button>
+					</view>
 					<image class="xianshi" v-if="showTreatment==0&&displayProductList.length>0&&!cardPopup" src="/static/images/xg.png"></image>
 					<view class="more-box" v-if="showTreatment==0">
 						<image  @click="showCart"  src="/static/images/cart.png"></image>
@@ -3844,6 +3849,15 @@
 		align-items: $alignI;
 		justify-content: $justifyC;
 	}
+	.contact-btn {
+		display: inline-block;
+		position: absolute;
+		top: 0;
+		left: 0;
+		width: 100%;
+		height: 100%;
+		opacity: 0;
+	}
 	.notice-box{
 		padding: 12rpx 18rpx;
 		background: #FFF8F8;

+ 14 - 0
pages_course/videovip.vue

@@ -606,6 +606,11 @@
 						<image src="/static/images/more24.png" @click="showMore"></image>
 						<view class="tips">更多</view>
 					</view>
+					<view class="more-box" style="margin-left: 30rpx;position: relative;">
+						<image src="/static/images/kefu.png" @click="showMore"></image>
+						<view class="tips">客服</view>
+						<button class="contact-btn" open-type="contact"></button>
+					</view>
 					<image class="xianshi" v-if="showTreatment==0&&displayProductList.length>0&&!cardPopup" src="/static/images/xg.png"></image>
 					<view class="more-box" v-if="showTreatment==0">
 						<image  @click="showCart"  src="/static/images/cart.png"></image>
@@ -4158,6 +4163,15 @@
 	}
 </style>
 <style lang="scss" scoped>
+	.contact-btn {
+		display: inline-block;
+		position: absolute;
+		top: 0;
+		left: 0;
+		width: 100%;
+		height: 100%;
+		opacity: 0;
+	}
 	.notice-box{
 		padding: 12rpx 18rpx;
 		background: #FFF8F8;

BIN
static/images/kefu.png