Browse Source

样式修改

tanxue 1 week ago
parent
commit
0b1b761c58
2 changed files with 7 additions and 1 deletions
  1. 2 1
      common/styles/global/components.scss
  2. 5 0
      pages/admin/mianshi/index.vue

+ 2 - 1
common/styles/global/components.scss

@@ -103,6 +103,7 @@ view{box-sizing: border-box;}
 .phone-navBar-box{
 	display: flex;align-items: center;justify-content: space-between;background-color: #fff;
 	padding: calc(var(--status-bar-height)) 20rpx 0 0;box-sizing: border-box;position: relative;
+	flex-shrink: 0;
 	.nav-bar-icon{
 		width: 100rpx;height: 100rpx;padding-right: 32rpx;box-sizing: border-box;
 		display: flex;align-items: center;justify-content: center;
@@ -127,7 +128,7 @@ view{box-sizing: border-box;}
 }
 // 两个元素
 .icon-title-navBar-box,.icon-title-bjcolor-navBar-box{
-	height: 100rpx;line-height: 100rpx;
+	height: 100rpx;line-height: 100rpx;flex-shrink: 0;
 	display: flex;align-items: center;justify-content: center;background-color: #fff;
 	padding: calc(var(--status-bar-height)) 20rpx 0 0;box-sizing: content-box;position: relative;
 	.nav-bar-title{

+ 5 - 0
pages/admin/mianshi/index.vue

@@ -41,6 +41,7 @@
 			</view>
 			 <share-popup 
 			      ref="sharePopupRef"
+				  :image="roomImageUrl"
 			      title="远程面试邀请"
 			      desc="请点击链接参加面试"
 			      :link=roomUrl
@@ -62,10 +63,14 @@
 	} from "@dcloudio/uni-app";
 	import config from "../../../config"
 	import SharePopup from '@/components/sharePopUp/index.vue'
+	import userDefaultImg from '@/static/images/share/mianshi-img.jpg'
+	const roomImageUrl = ref(userDefaultImg)
+
 	const data = reactive({
 		room: '',
 	})
 	const roomUrl = ref('')
+	
 
 	const sharePopupRef = ref(null)