提交 f30cb62d 编写于 作者: xuty73419315's avatar xuty73419315

scrollview设置高度

上级 4f5fcb9b
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<!-- 实际开发中,长列表应该使用list-view -->
<view class="uni-padding-wrap uni-common-mt">
<text class="text" v-for="(num,index) in data" :key="index">list - {{num}}</text>
......
<template>
<scroll-view>
<scroll-view style="flex:1">
<view>
<text>不支持背景图片,仅支持linear-gradient方法</text>
<view v-for="(direction) in directionData">
......
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<!-- <view class="uni-title">
......
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
......
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
......
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
......
<template>
<!-- #ifdef APP -->
<scroll-view>
<scroll-view style="flex: 1;">
<!-- #endif -->
<view>
<page-head title="rich-text-complex"></page-head>
......
<template>
<!-- #ifdef APP -->
<scroll-view>
<scroll-view style="flex: 1;">
<!-- #endif -->
<page-head title="rich-text-tags"></page-head>
<view class="uni-padding-wrap uni-common-mt">
......
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
......
......@@ -82,6 +82,7 @@
<style>
.page {
flex: 1;
padding: 15px;
}
......
<template>
<scroll-view>
<scroll-view style="flex: 1;">
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
......
<template>
<view>
<view style="flex: 1;">
<scroll-view class="scroll-view"
:refresher-enabled="true" :refresher-triggered="refresherTriggered" refresher-default-style="none"
@refresherpulling="onRefresherpulling"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册