提交 ae564589 编写于 作者: H hdx

fix(components):page-head、uni-collapse、uni-collapse-item、u-link,设置 vue 文件 <script lang="uts">

上级 bf4a056c
<template name="page-head">
<view class="common-page-head">
<view class="common-page-head-title-box">
<text class="common-page-head-title">{{title}}</text>
</view>
<view class="common-page-head">
<view class="common-page-head-title-box">
<text class="common-page-head-title">{{title}}</text>
</view>
</view>
</template>
<script>
export default {
name: "page-head",
props: {
title: {
type: String,
default: ""
}
}
<script lang="uts">
export default {
name: "page-head",
props: {
title: {
type: String,
default: ""
}
}
}
</script>
<style>
.common-page-head {
padding: 35rpx;
flex-direction: row;
justify-content: center;
}
.common-page-head {
padding: 35rpx;
flex-direction: row;
justify-content: center;
}
.common-page-head-title-box {
padding: 0 40rpx;
height: 88rpx;
border-bottom: 2rpx solid #D8D8D8;
}
.common-page-head-title-box {
padding: 0 40rpx;
height: 88rpx;
border-bottom: 2rpx solid #D8D8D8;
}
.common-page-head-title {
line-height: 88rpx;
font-size: 30rpx;
color: #BEBEBE;
}
.common-page-head-title {
line-height: 88rpx;
font-size: 30rpx;
color: #BEBEBE;
}
</style>
\ No newline at end of file
......@@ -4,7 +4,7 @@
</view>
</template>
<script>
<script lang="uts">
/**
* @description u-link是一个外部网页超链接组件,在小程序内打开内部web-view组件或复制url,在app内打开外部浏览器,在h5端打开新网页
* @property {String} href 点击后打开的外部网页url,小程序中必须以https://开头
......
......@@ -12,7 +12,7 @@
</view>
</template>
<script>
<script lang="uts">
import { $dispatch } from './util.uts'
export default {
name: "UniCollapseItem",
......
......@@ -5,7 +5,7 @@
</view>
</template>
<script>
<script lang="uts">
import { ComponentPublicInstance } from 'vue'
export default {
name: "UniCollapse",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册