Преглед изворни кода

fix: 优化我有什么滚动

lizhaocai пре 1 месец
родитељ
комит
cc9d1e5bf8
15 измењених фајлова са 6 додато и 166 уклоњено
  1. 3 3
      pages/comm/comm.vue
  2. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/comm/comm.js.map
  3. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  4. 1 1
      unpackage/dist/dev/mp-weixin/pages/comm/comm.wxml
  5. 0 11
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js
  6. 0 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.json
  7. 0 1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.wxml
  8. 0 81
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.wxss
  9. 0 11
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
  10. 0 6
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
  11. 0 1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
  12. 0 29
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
  13. 0 11
      unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js
  14. 0 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json
  15. 0 1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml

+ 3 - 3
pages/comm/comm.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="circle tn-safe-area-inset-bottom" style="background: #f7f7f7;">
+	<view class="circle tn-safe-area-inset-bottom" style="background: #f7f7f7;min-height: 100vh;">
 		<tn-nav-bar customBack>
 			<view slot="back" class='tn-custom-nav-bar__back'>
 				<image style="width: 28px;height: 28px;margin-left:4px"  @click="reFetchData()" src="../../static/tu/reload.png"></image>
@@ -12,7 +12,7 @@
 				</view>
 			</view>
 		</tn-nav-bar>
-		<scroll-view class="custom-tabbar-page" style="height: 100vh;" :style="{marginTop: vuex_custom_bar_height + 'px'}" scroll-y :refresher-enabled="true" :refresher-triggered="triggered" lower-threshold="60" @refresherrestore="onRestore" @refresherrefresh="onRefresh"  @refresherpulling="onPulling" enable-back-to-top @scrolltolower="tabbarPageScrollLower">
+		<scroll-view class="custom-tabbar-page" style="height: 100vh;" :style="{paddingTop: vuex_custom_bar_height + 'px'}" scroll-y :refresher-enabled="true" :refresher-triggered="triggered" lower-threshold="60" @refresherrestore="onRestore" @refresherrefresh="onRefresh"  @refresherpulling="onPulling" enable-back-to-top @scrolltolower="tabbarPageScrollLower">
 			
 		
 		<!-- 发现 -->
@@ -213,7 +213,7 @@
 
 			</view>
 
-			<view class='tn-tabbar-height'></view>
+			<!-- <view class='tn-tabbar-height'></view> -->
 
 		</view>
 

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/comm/comm.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/comm/comm.wxml


Разлика између датотеке није приказан због своје велике величине
+ 0 - 11
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js


+ 0 - 4
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

Разлика између датотеке није приказан због своје велике величине
+ 0 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.wxml


+ 0 - 81
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.wxss

@@ -1,81 +0,0 @@
-@charset "UTF-8";
-/**
- * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量
- * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
- * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 
- */
-.uni-popup-dialog {
-  width: 300px;
-  border-radius: 11px;
-  background-color: #fff;
-}
-.uni-dialog-title {
-  display: flex;
-  flex-direction: row;
-  justify-content: center;
-  padding-top: 25px;
-}
-.uni-dialog-title-text {
-  font-size: 16px;
-  font-weight: 500;
-}
-.uni-dialog-content {
-  display: flex;
-  flex-direction: row;
-  justify-content: center;
-  align-items: center;
-  padding: 20px;
-}
-.uni-dialog-content-text {
-  font-size: 14px;
-  color: #6C6C6C;
-}
-.uni-dialog-button-group {
-  display: flex;
-  flex-direction: row;
-  border-top-color: #f5f5f5;
-  border-top-style: solid;
-  border-top-width: 1px;
-}
-.uni-dialog-button {
-  display: flex;
-  flex: 1;
-  flex-direction: row;
-  justify-content: center;
-  align-items: center;
-  height: 45px;
-}
-.uni-border-left {
-  border-left-color: #f0f0f0;
-  border-left-style: solid;
-  border-left-width: 1px;
-}
-.uni-dialog-button-text {
-  font-size: 16px;
-  color: #333;
-}
-.uni-button-color {
-  color: #007aff;
-}
-.uni-dialog-input {
-  flex: 1;
-  font-size: 14px;
-  border: 1px #eee solid;
-  height: 40px;
-  padding: 0 10px;
-  border-radius: 5px;
-  color: #555;
-}
-.uni-popup__success {
-  color: #4cd964;
-}
-.uni-popup__warn {
-  color: #f0ad4e;
-}
-.uni-popup__error {
-  color: #dd524d;
-}
-.uni-popup__info {
-  color: #909399;
-}
-

Разлика између датотеке није приказан због своје велике величине
+ 0 - 11
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js


+ 0 - 6
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json

@@ -1,6 +0,0 @@
-{
-  "usingComponents": {
-    "uni-transition": "/uni_modules/uni-transition/components/uni-transition/uni-transition"
-  },
-  "component": true
-}

Разлика између датотеке није приказан због своје велике величине
+ 0 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml


+ 0 - 29
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss

@@ -1,29 +0,0 @@
-@charset "UTF-8";
-/**
- * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量
- * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
- * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 
- */
-.uni-popup {
-  position: fixed;
-  z-index: 99;
-}
-.uni-popup.top, .uni-popup.left, .uni-popup.right {
-  top: 0;
-}
-.uni-popup .uni-popup__wrapper {
-  display: block;
-  position: relative;
-  /* iphonex 等安全区设置,底部安全区适配 */
-}
-.uni-popup .uni-popup__wrapper.left, .uni-popup .uni-popup__wrapper.right {
-  padding-top: 0;
-  flex: 1;
-}
-.fixforpc-z-index {
-  z-index: 999;
-}
-.fixforpc-top {
-  top: 0;
-}
-

Разлика између датотеке није приказан због своје велике величине
+ 0 - 11
unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js


+ 0 - 4
unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

+ 0 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml

@@ -1 +0,0 @@
-<view hidden="{{!(isShow)}}" class="{{['vue-ref',customClass]}}" style="{{(transformStyles)}}" animation="{{animationData}}" data-ref="ani" data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" bindtap="__e"><slot></slot></view>