diff --git a/common/uni.css b/common/uni.css index 5cec1a3de89d45a620d858c49c7751269d78bf1b..666124f58a0cc1bbd59bcf06c5142420deb0d0b1 100644 --- a/common/uni.css +++ b/common/uni.css @@ -15,6 +15,7 @@ margin-top: 10rpx; font-size: 24rpx; color: #888; + font-weight: 500; } .uni-common-mb { @@ -35,6 +36,7 @@ .uni-hello-text { color: #7A7E83; + line-height: 22px; } .uni-list { @@ -42,6 +44,7 @@ position: relative; display: flex; flex-direction: column; + padding-left: 30rpx; } .uni-list-cell { @@ -52,12 +55,16 @@ align-items: center; } +.uni-list-cell-line { + border-bottom: 1px solid #c8c7cc; +} + .uni-list-cell-hover { background-color: #eee; } .uni-list-cell-pd { - padding: 22rpx 30rpx; + padding: 22rpx 30rpx 22rpx 0; } .uni-list-cell-left { @@ -68,14 +75,14 @@ .uni-list-cell-db, .uni-list-cell-right { flex: 1; -} - +} + .uni-label { width: 210rpx; /* word-wrap: break-word; word-break: break-all; text-indent:20rpx; */ -} +} .uni-input { height: 50rpx; diff --git a/main.uts b/main.uts index 3377c4f116c3fd1e40ea686881a308bb4208ed36..f0074dad9eea4b5c5c77983f2edc82d904b21eb7 100644 --- a/main.uts +++ b/main.uts @@ -1,11 +1,9 @@ import App from './App' -import PageHead from './components/page-head/page-head' -import ULink from './components/u-link/u-link' + import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) - app.component('page-head', PageHead) - app.component('u-link', ULink) + return { app } diff --git a/pages/component/button/button.uvue b/pages/component/button/button.uvue index 755103dbb37c16ca3eab93685ae127fd5ad55044..32228213da5c71f093710472e976764a54138a56 100644 --- a/pages/component/button/button.uvue +++ b/pages/component/button/button.uvue @@ -65,8 +65,7 @@ } .button-sp-area { - /* margin: 0 auto; */ - padding: 0 20%; + margin: 0 auto; width: 60%; } diff --git a/pages/component/checkbox/checkbox.uvue b/pages/component/checkbox/checkbox.uvue index 5d8a9796b562611821b85881da313f5acedd1d0b..31f25c83e211c57f06679bda997059f152e9d41d 100644 --- a/pages/component/checkbox/checkbox.uvue +++ b/pages/component/checkbox/checkbox.uvue @@ -40,7 +40,8 @@ - + {{item.name}} @@ -93,13 +94,13 @@ } }, methods: { - checkboxChange: function (value : string[]) { + checkboxChange: function (value : string[]) { // TODO 后续更改参数 var items = this.items, - values = value; + values = value; for (var i = 0, lenI = items.length; i < lenI; ++i) { - const item = items[i] - if (values.indexOf(item.value) >= 0) { + const item = items[i] + if (values.indexOf(item.value) >= 0) { item.checked = true } else { item.checked = false diff --git a/pages/component/radio/radio.uvue b/pages/component/radio/radio.uvue index 9ad8868b0133caedb6bfd4a4e767c7536d5f1955..d9e63896350995818650497ad27a41b4fc25130a 100644 --- a/pages/component/radio/radio.uvue +++ b/pages/component/radio/radio.uvue @@ -33,7 +33,8 @@ - + {{item.name}} diff --git a/pages/component/view/view.uvue b/pages/component/view/view.uvue index 7aa27f70a1d2053a4cd8be3f8335eeea368bc627..ffa1158f6d476f66683c38d53c71a487fad261a7 100644 --- a/pages/component/view/view.uvue +++ b/pages/component/view/view.uvue @@ -25,7 +25,7 @@ - column + flex-direction: column 纵向布局 @@ -78,14 +78,14 @@ 固定宽度 - 一行显示不全,wrap折行 - 一行显示不全,wrap折行 - 一行显示不全,wrap折行 + 一行显示不全,wrap折行 + 一行显示不全,wrap折行 + 一行显示不全,wrap折行 - 垂直居顶 + 垂直居顶 @@ -93,7 +93,7 @@ - 垂直居底 + 垂直居底 @@ -115,7 +115,7 @@ - 文字居左,留出左间距 + 文字居左,留出左间距 @@ -167,7 +167,6 @@ } .text { - line-height: 70rpx; color: #777; font-size: 26rpx; }