zjs_project 1 yıl önce
ebeveyn
işleme
688ca25a9a

+ 1 - 1
src/components/mynavbar/mynavbar.html

@@ -2,7 +2,7 @@
 	<div class="nav-wrap" :style="{'height': height?height:'64px'}">
 		<div v-if="barData.navBarColor" :style="{'position':'absolute','width':'100vw','height':height,'background-color':barData.navBarColor}"></div>
 		<div class="nav-title" :style="{'line-height':('calc('+height+' - '+statusBarHeight+')'),'color': (barData.titleColor || '#fff'),'top':statusBarHeight}">
-			{{barData.title || baiduTitle}}
+			<!-- {{barData.title || baiduTitle}} -->
 			<slot name="titleImg"></slot>
 		</div>
 		<div v-if="barData.showCapsule&&!hideNavbarFlag" class="nav-capsule" :style="{'top':(statusBarHeight),height:('calc('+height+' - '+statusBarHeight+')')}" @click="navback" :data-url="(barData.url || '')">

+ 5 - 1
src/components/mynavbar/mynavbar.vue

@@ -47,6 +47,9 @@
 			barData: {
 				handler(newVal, oldVal) {
 					console.warn("***barData-change***", newVal);
+					if(newVal && newVal.title){
+						document.title = newVal.title;
+					}
 				}
 			}
 		},
@@ -81,7 +84,8 @@
 			}
 		},
 		mounted: function() {
-			console.warn("***navbar***", this.height, this.statusBarHeight)
+			console.warn("***navbar***", this.height, this.statusBarHeight);
+			document.title = this.barData.title;
 		},
 		methods: {
 			// 朋友页选择tab

+ 1 - 1
src/components/newBottomCom/viewMask/viewMask.vue

@@ -219,7 +219,7 @@
 			    }
 			    util.trackRequest(para);
 				if(navigator.userAgent.toLocaleLowerCase().includes('micromessenger')){
-					this.showToast("请长按图片保存!");
+					this.$message("请长按图片保存!");
 				}else{
 					this.saveImageHandle(_resultImg);
 				}

+ 1 - 1
src/components/newBottomCom/viewShell/viewShell.css

@@ -6,7 +6,7 @@
 	left: 0rem;
 	bottom: 0rem;
 	width: 100vw;
-	height: 380rem;
+	height: 200rem;
 	border-radius: 40rem 40rem 0 0;
 	background: #fff;
 	box-shadow: 0 -6rem 12rem #0000001f;

+ 1 - 1
src/components/newBottomCom/viewShell/viewShell.vue

@@ -258,7 +258,7 @@
 						}
 					};
 					util.trackRequest(param);
-					this.$message.warning("敬请期待")
+					this.$message.warning("敬请期待");
 				}
 			},
 		}

+ 5 - 3
src/pages/webgl_rxdz_customize/webgl_rxdz_customize.vue

@@ -31,7 +31,7 @@ export default {
                 navPaddingBg:'transparent',
                 navBarColor: 'transparent',
                 navBackColor: 'transparent',
-                haveCallback: true, // 如果是 true 会接手 navbarBackClk
+                haveCallback: false, // 如果是 true 会接手 navbarBackClk
                 fromShare: false,
                 fromProject: 0,
                 shareToken: "",
@@ -96,10 +96,12 @@ export default {
 			}
 		},
         navigateFuc(){
-			this.showToast("敬请期待!");
+			// this.showToast("敬请期待!");
+			this.$message.warning("敬请期待");
 		},
 		optionChange(){
-			this.showToast("敬请期待!");
+			// this.showToast("敬请期待!");
+			this.$message.warning("敬请期待");
 		},
         async getIdData(){
 			let userId = this.userId || '';