罗世杰:测试uview样式
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -21,3 +21,4 @@ selenium-debug.log
|
||||
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
/manifest.json
|
||||
|
||||
3
App.vue
3
App.vue
@@ -12,6 +12,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import 'uview-ui/index.scss';
|
||||
</style>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "",
|
||||
"appid" : "wx78efc832a9373884",
|
||||
"setting" : {
|
||||
"urlCheck" : false
|
||||
},
|
||||
|
||||
@@ -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%);
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user