Przeglądaj źródła

添加备案信息

李万涛 2 lat temu
rodzic
commit
826da88d35
3 zmienionych plików z 47 dodań i 2 usunięć
  1. 36 0
      components/beian/index.vue
  2. 1 0
      pages/user/signin.scss
  3. 10 2
      pages/user/signin.vue

+ 36 - 0
components/beian/index.vue

xqd
@@ -0,0 +1,36 @@
+<template>
+	<view class="beian" @click="handleClick">
+		蜀ICP备2023016577号-1
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+
+			};
+		},
+		props: {
+
+		},
+
+		onLoad() {
+
+		},
+		methods: {
+			handleClick() {
+				this.$emit('click')
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.beian {
+		color: #199063;
+		text-align: center;
+		padding-bottom: 30rpx;
+		text-decoration: underline;
+	}
+</style>

+ 1 - 0
pages/user/signin.scss

xqd
@@ -1,3 +1,4 @@
+
 .topTxtAndImg{
 	margin-bottom: 100rpx;
 	display: flex;

+ 10 - 2
pages/user/signin.vue

xqd xqd xqd xqd
@@ -120,6 +120,10 @@
 				<tnui-wx-user-info v-model="showAuthorizationModal" @updated="updatedUserInfoEvent"></tnui-wx-user-info>
 			</view>
 		</view>
+
+
+		<!-- 备案信息 -->
+		<beian @click="toBeianWeb"></beian>
 	</view>
 </template>
 
@@ -143,7 +147,7 @@
 		banner
 	} from '@/api/index/index.js'
 
-
+	import beian from '@/components/beian/index.vue'
 	// 判断是否为微信环境
 	const isWechat = () => {
 		return String(navigator.userAgent.toLowerCase().match(/MicroMessenger/i)) === "micromessenger";
@@ -151,7 +155,8 @@
 
 	export default {
 		components: {
-			TnuiWxUserInfo
+			TnuiWxUserInfo,
+			beian
 		},
 		data() {
 			return {
@@ -286,6 +291,9 @@
 			// }
 		},
 		methods: {
+			toBeianWeb() {
+				window.open('https://beian.miit.gov.cn/#/Integrated/index')
+			},
 			handleBannerJump(url) {
 				if (url) {
 					window.open(url)