罗世杰:测试uview样式

This commit is contained in:
luojie
2023-10-27 14:22:24 +08:00
parent 1f0a6d881b
commit f9266cdd8f
5 changed files with 25 additions and 28 deletions

1
.gitignore vendored
View File

@@ -21,3 +21,4 @@ selenium-debug.log
package-lock.json
yarn.lock
/manifest.json

View File

@@ -12,6 +12,7 @@
}
</script>
<style>
<style lang="scss">
/*每个页面公共css */
@import 'uview-ui/index.scss';
</style>

View File

@@ -50,7 +50,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "",
"appid" : "wx78efc832a9373884",
"setting" : {
"urlCheck" : false
},

View File

@@ -2,10 +2,16 @@
<view class="search_box">
<view class="search_box_border">
<u-input placeholder="搜索优质产品" placeholder-style="color: #969696" prefixIcon="search"
prefixIconStyle="font-size: 22px;color: #909399;margin-left:30rpx" readonly>
prefixIconStyle="font-size: 22px;color: #909399;margin-left:30rpx" >
</u-input>
</view>
<h2>上传测试</h2>
<h2>上传测试222</h2>
<view class="u-border-bottom ">
夫人之相与俯仰一世或取诸怀抱悟言一室之内或因寄所托放浪形骸之外
</view>
<view class="u-line-1">
是日也天朗气清惠风和畅仰观宇宙之大俯察品类之盛所以游目骋怀足以极视听之娱信可乐也
</view>
</view>
</template>
@@ -27,6 +33,7 @@
</script>
<style lang="scss">
// @import url();
// 搜索框样式
.search_box {
background: linear-gradient(135deg, #12CA64 0%, #1ACA67 100%);

View File

@@ -1,30 +1,18 @@
<template>
<view>
我的
<view class="u-border-bottom">
夫人之相与俯仰一世或取诸怀抱悟言一室之内或因寄所托放浪形骸之外
</view>
</template>
<script>
export default {
data() {
return {
}
},
onLoad() {
// this.getInfo()
},
methods: {
//---------页面调用接口示例------------
// getInfo() {
// this.$api.getUserInfo().then(res => {
// console.log('userInfo', res);
// })
// }
}
export default {
data() {
return {
show:false,
title:'标题',
content:'uView的目标是成为uni-app生态最优秀的UI框架'
};
}
</script>
<style lang="scss">
</style>
};
</script>