ming 3 anni fa
parent
commit
f2e435a531

+ 1 - 1
common/common.scss

@@ -221,7 +221,7 @@ view{
 		
 		&-left{
 			color: #78869C;
-			width: 110rpx;
+			width: 55px;
 			text-align-last: justify;
 			position: relative;
 			font-size: var(--content-size);

+ 10 - 0
components/fs-card/fs-card.vue

@@ -35,12 +35,22 @@ const props = defineProps({
 		default: false
 	},
 	contentPadding: Boolean,
+	link: String,
+	linkType: {
+		type: String,
+		default: 'navigateTo'
+	},
 })
 
 const slots = useSlots()
 const emits = defineEmits(['click'])
 
 const handleClick = () => {
+	if (props.link) {
+		uni[props.linkType]({
+			url: props.link
+		})
+	}
 	emits('click')
 }
 </script>

+ 13 - 0
components/fs-grid-item/fs-grid-item.vue

@@ -11,6 +11,14 @@
 <script setup>
 import { inject } from 'vue'
 
+const props = defineProps({
+	link: String,
+	linkType: {
+		type: String,
+		default: 'navigateTo'
+	},
+})
+
 const emits = defineEmits(['click'])
 
 const gird = inject('fsGrid', {})
@@ -18,6 +26,11 @@ const gird = inject('fsGrid', {})
 const { border, padding, bgColor, radius } = gird
 
 const handleClick = () => {
+	if (props.link) {
+		uni[props.linkType]({
+			url: props.link
+		})
+	}
 	emits('click')
 }
 </script>

+ 11 - 3
components/fs-icon/icon.css

@@ -1,8 +1,8 @@
 @font-face {
   font-family: "fsfont"; /* Project id 2762084 */
-  src: url('//at.alicdn.com/t/font_2762084_inny2mfiip.woff2?t=1645069423835') format('woff2'),
-       url('//at.alicdn.com/t/font_2762084_inny2mfiip.woff?t=1645069423835') format('woff'),
-       url('//at.alicdn.com/t/font_2762084_inny2mfiip.ttf?t=1645069423835') format('truetype');
+  src: url('//at.alicdn.com/t/font_2762084_bf9che3kfth.woff2?t=1651119718610') format('woff2'),
+       url('//at.alicdn.com/t/font_2762084_bf9che3kfth.woff?t=1651119718610') format('woff'),
+       url('//at.alicdn.com/t/font_2762084_bf9che3kfth.ttf?t=1651119718610') format('truetype');
 }
 
 .fsfont {
@@ -13,6 +13,14 @@
   -moz-osx-font-smoothing: grayscale;
 }
 
+.icon-about:before {
+  content: "\e62e";
+}
+
+.icon-copy:before {
+  content: "\e706";
+}
+
 .icon-notice:before {
   content: "\e7eb";
 }