init
This commit is contained in:
108
pages/common/aidex.scss
Normal file
108
pages/common/aidex.scss
Normal file
@@ -0,0 +1,108 @@
|
||||
/*!
|
||||
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
|
||||
* @author aidex
|
||||
* @version 2020-9-1
|
||||
*/
|
||||
.wrap {
|
||||
|
||||
.search{
|
||||
padding: 20rpx 20rpx 0;
|
||||
background: #f8f8f8;
|
||||
height: 105rpx;
|
||||
}
|
||||
|
||||
.scroll-list {
|
||||
height: calc(100vh - var(--window-top) - var(--window-bottom) - 105rpx); // 105rpx 为 .search 的高度
|
||||
width: 100%;
|
||||
|
||||
.loadmore {
|
||||
padding: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.box {
|
||||
padding-bottom: 10rpx;
|
||||
|
||||
.item {
|
||||
margin: 0 20rpx 20rpx;
|
||||
padding: 8rpx 20rpx;
|
||||
border-radius: 20rpx;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
font-size: 28rpx;
|
||||
|
||||
.title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background-color: #fff;
|
||||
padding-left: 15rpx;
|
||||
align-items: center;
|
||||
|
||||
.text {
|
||||
margin: 0 20rpx;
|
||||
font-size: 35rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.list {
|
||||
|
||||
.u-cell-item-box {
|
||||
|
||||
.u-swipe-content {
|
||||
width: 750rpx;
|
||||
}
|
||||
|
||||
.u-cell_title {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 655rpx;
|
||||
}
|
||||
|
||||
.u-border-bottom:last-child:after {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 20rpx 30rpx;
|
||||
|
||||
.u-cell-item-box {
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.form-footer {
|
||||
display: flex;
|
||||
margin: 10rpx;
|
||||
padding-bottom: 30rpx;
|
||||
|
||||
.btn {
|
||||
flex: 1;
|
||||
margin: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.u-cell-box {
|
||||
|
||||
.u-cell {
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.u-cell_title {
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.u-cell__left-icon-wrap {
|
||||
margin-right: 18rpx;
|
||||
}
|
||||
}
|
||||
}
|
34
pages/common/webview.vue
Normal file
34
pages/common/webview.vue
Normal file
@@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<view>
|
||||
<web-view :webview-styles="webviewStyles" :src="webviewUrl"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
/**
|
||||
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
|
||||
*/
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
webviewUrl: '',
|
||||
webviewStyles: {
|
||||
progress: {
|
||||
color: '#FF7200'
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
onLoad(params) {
|
||||
this.webviewUrl = params.url;
|
||||
// this.webviewUrl = `http://127.0.0.1:8980/js/a/bpm/bpmCategory/index/process?__sid=${this.vuex_token}&__cookie=true`;
|
||||
if (params.title != ''){
|
||||
uni.setNavigationBarTitle({
|
||||
title: params.title
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user