Commit de69099c by zhangmengjie

23.3.3

parent c033b69b
<script> <script>
export default { export default {
onLaunch: function() { onLaunch: function() {
// console.log('App Launch11',uni.getStorageSync('token')); console.log('App Launch');
// if (!uni.getStorageSync('token')) { if (uni.getStorageSync('token')) {
// uni.reLaunch({ uni.reLaunch({
// url: '/pages/login/index' url: '/pages/index/index'
// }); });
// }else{ }
// uni.reLaunch({ wx.hideShareMenu();
// url: 'pages/index/index' uni.hideShareMenu(); //去除分享
// }); },
// } onShow: function() {
wx.hideShareMenu(); console.log('App Show');
uni.hideShareMenu(); //去除分享 this.phone();
}, this.getSystemInfo();
onShow: function() { this.configuration();
// console.log('App Show',uni.getStorageSync('token')); wx.hideShareMenu();
// if (!uni.getStorageSync('token')) { uni.hideShareMenu(); //去除分享
// uni.reLaunch({ },
// url: '/pages/login/index' onHide: function() {
// }); console.log('App Hide');
// }else{ },
// uni.reLaunch({ methods: {
// url: 'pages/index/index' phone() {
// }); // 获取手机系统信息
// } const info = uni.getSystemInfoSync();
this.phone(); // 设置状态栏高度(H5顶部无状态栏小程序有状态栏需要撑起高度)
wx.hideShareMenu(); // 除了h5 app mp-alipay的情况下执行
uni.hideShareMenu(); //去除分享 // #ifndef H5 || APP-PLUS || MP-ALIPAY
}, // 获取胶囊的位置
onHide: function() { const menuButtonInfo = uni.getMenuButtonBoundingClientRect();
console.log('App Hide'); // console.log(menuButtonInfo);
// (胶囊底部高度 - 状态栏的高度) + (胶囊顶部高度 - 状态栏内的高度) = 导航栏的高度
this.globalData.navBarHeight = menuButtonInfo.bottom - info.statusBarHeight + (menuButtonInfo.top - info.statusBarHeight) + info.statusBarHeight;
// #endif
}, },
methods: { configuration() {
phone() { let hostUrl = '';
// 获取手机系统信息 switch (process.env.UNI_BASE_ENV) {
const info = uni.getSystemInfoSync(); case 'development':
// 设置状态栏高度(H5顶部无状态栏小程序有状态栏需要撑起高度) hostUrl = process.env.UNI_BASE_URL;
// 除了h5 app mp-alipay的情况下执行 break;
// #ifndef H5 || APP-PLUS || MP-ALIPAY case 'uat':
// 获取胶囊的位置 hostUrl = process.env.UNI_BASE_URL;
const menuButtonInfo = uni.getMenuButtonBoundingClientRect(); break;
// console.log(menuButtonInfo); case 'production':
// (胶囊底部高度 - 状态栏的高度) + (胶囊顶部高度 - 状态栏内的高度) = 导航栏的高度 hostUrl = process.env.UNI_BASE_URL;
this.globalData.navBarHeight = menuButtonInfo.bottom - info.statusBarHeight + (menuButtonInfo.top - info break;
.statusBarHeight) + info.statusBarHeight;
// #endif
} }
console.log('app.vue配置:', process.env.UNI_BASE_ENV, process.env.UNI_BASE_URL);
}, },
globalData: { getSystemInfo() {
navBarHeight: null let self = this;
uni.getSystemInfo({
success: function(res) {
// console.log(res.statusBarHeight);
self.globalData.statusBarHeight = res.statusBarHeight || 0;
}
});
} }
}; },
globalData: {
navBarHeight: null,
statusBarHeight: 0
}
};
</script> </script>
<style lang="scss"> <style lang="scss">
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */ /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
@import '@/uni_modules/uview-ui/index.scss'; @import '@/uni_modules/uview-ui/index.scss';
</style> </style>
\ No newline at end of file
<template>
<view class="index">
<u-navbar leftText="返回" :title="title" :safeAreaInsetTop="true" :placeholder="true" :bgColor="bgColor"
:titleStyle="{ color: titleStyle.color, fontSize: titleStyle.fontSize}">
<view class="u-nav-slot" slot="left">
<u-icon v-if="leftIcon" @click="leftClick" name="arrow-left" size="30"></u-icon>
<u-line v-if="homeShow" direction="column" :hairline="false" length="16" margin="0 8px"></u-line>
<u-icon v-if="homeShow" @click="rightClick" name="home" size="30"></u-icon>
</view>
</u-navbar>
</view>
</template>
<script>
import apiBaseConfig from '@/config/index.js';
export default {
props: {
homeShow: {
type: Boolean,
default: false
},
bgColor: {
type: String,
default: '#ffffff'
},
title: {
type: String,
default: '标题'
},
leftIcon: {
type: Boolean,
default: true
},
titleStyle: {
type: Object,
default: () => {
return {};
}
}
},
data() {
return {
imgBgUrl: apiBaseConfig.imgBgUrl,
globalData: getApp().globalData
};
},
onLoad() {},
methods: {
leftClick() {
console.log('====leftClick');
this.$uniGo.navigateBack({
delta: 1
});
},
rightClick() {
console.log('====rightClick');
}
}
};
</script>
<style lang="scss" scoped>
.index {
z-index: 99999;
}
.u-nav-slot {
@include flex;
align-items: center;
justify-content: space-between;
border-width: 1rpx;
border-radius: 100rpx;
border-color: $uni-border-color;
padding: 3rpx 7rpx;
opacity: 0.8;
}
</style>
<template>
<view class="">
<view class="tabBar" :style="platform == 'android'?'height: 120rpx;' : 'height: 150rpx;'">
<view class="tabBar-cont">
<!-- <image src="" mode=""></image> -->
<view v-for="(item, index) in tabBarList" :key="index" class="tabBar-cont-item"
@click="tabBarChange(item)">
<!-- <template >
<view class="tabBar-cont-item-tm"><image :src="item.icon" mode="aspectFill"></image></view>
</template> -->
<template>
<image v-if="item.type === type" :src="item.icon" mode="aspectFill"></image>
<image v-else :src="item.selectIcon" mode="aspectFill"></image>
<!-- <view v-if="item.type !== type && role === 'head'" :class="item.type === type ? 'tabBar-cont-item-title tabBar-cont-item-titleAct' : 'tabBar-cont-item-title'">{{ item.name }}</view> -->
<view
:class="item.type === type ? 'tabBar-cont-item-title tabBar-cont-item-titleAct' : 'tabBar-cont-item-title'">
{{ item.name }}</view>
</template>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
tabBarList: [{
name: "订单", // name
icon: "/static/tabbar/tab1.png", // 图标
selectIcon: "/static/tabbar/tab1.png", // 选中图标
url: "/pages/tabbar/home/index", // 页面路径
type: 'home'
}, {
name: "订单", // name
icon: "/static/tabbar/tab1.png", // 图标
selectIcon: "/static/tabbar/tab1.png", // 选中图标
url: "/pages/tabbar/home/index", // 页面路径
type: 'home'
}, {
name: "订单", // name
icon: "/static/tabbar/fb.png", // 图标
selectIcon: "/static/tabbar/fb.png", // 选中图标
url: "/pages/tabbar/home/index", // 页面路径
type: 'home'
}, {
name: "订单",
icon: "/static/tabbar/tab1.png", // 图标
selectIcon: "/static/tabbar/tab1.png", // 选中图标
url: "/pages/tabbar/order/index",
type: 'order'
}, {
name: "个人",
icon: "/static/tabbar/tab1.png", // 图标
selectIcon: "/static/tabbar/tab1.png", // 选中图标
url: "/pages/tabbar/my/index",
type: 'my'
}],
};
},
created() {},
onLoad() {},
methods: {
tabBarChange(path) {
this.$emit('tabBarChange', path.type);
}
}
};
</script>
<style lang="scss" scoped>
.tabBar {
width: 100%;
height: 120rpx;
position: fixed;
left: 0;
bottom: 0;
// bottom: constant(safe-area-inset-bottom);
// bottom: env(safe-area-inset-bottom);
background-color: #ffffff;
border-top: 1rpx solid #cccccc;
z-index: 9999;
background-image: url(../../static/logo.png);
&-cont {
width: 100%;
height: 120rpx;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #ffffff;
background-image: url(../../static/logo.png);
&-item {
width: 33.3%;
display: flex;
flex-direction: column;
align-items: center;
image {
width: 56rpx;
height: 56rpx;
padding-bottom: 10rpx;
}
&-title {
font-size: 20rpx;
font-weight: bold;
color: #6c6c6e;
}
&-titleAct {
color: #005ebd;
}
}
&-item:nth-child(3) {
position: relative;
top: -50rpx;
background-color: #ffffff;
border-radius: 60%;
width: 200rpx;
image {
width: 152rpx;
height: 152rpx;
padding-bottom: 10rpx;
padding-top: 0rpx;
}
}
}
}
</style>
<template>
<view class="index">
<u-upload :fileList="fileList6" @afterRead="afterRead" @delete="deletePic" name="6" multiple :maxCount="1" width="170" height="170">
<view class="index-upload baiyin-flex baiyin-flex-c-t baiyin-flex-c-b">
<image v-if="imgType === 'camera'" src="@/static/icon/zp1.png" mode="widthFix"></image>
<view class="index-upload-tlo baiyin-flex baiyin-flex-wrap baiyin-flex-c-t baiyin-flex-c-b" v-else-if="imgType === 'cross'">
<image :class="crossTextShow ? 'index-upload-tlo-lp' : ''" src="@/static/icon/zp4.png" mode=""></image>
<view class="" v-if="crossTextShow">上传</view>
</view>
</view>
</u-upload>
</view>
</template>
<script>
import apiBaseConfig from '@/config/index.js';
export default {
props: {
imgType: {
type: String,
default: 'camera' //camera cross
},
crossTextShow: {
type: Boolean,
default: true
}
},
data() {
return {
imgBgUrl: apiBaseConfig.imgBgUrl,
globalData: getApp().globalData,
fileList6: []
};
},
onLoad() {},
methods: {
// 删除图片
deletePic(event) {
this[`fileList${event.name}`].splice(event.index, 1);
},
// 新增图片
async afterRead(event) {
// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
let lists = [].concat(event.file);
let fileListLen = this[`fileList${event.name}`].length;
lists.map(item => {
this[`fileList${event.name}`].push({
...item,
status: 'uploading',
message: '上传中'
});
});
for (let i = 0; i < lists.length; i++) {
const result = await this.uploadFilePromise(lists[i].url);
let item = this[`fileList${event.name}`][fileListLen];
this[`fileList${event.name}`].splice(
fileListLen,
1,
Object.assign(item, {
status: 'success',
message: '',
url: result
})
);
fileListLen++;
}
},
uploadFilePromise(url) {
return new Promise((resolve, reject) => {
let a = uni.uploadFile({
url: 'http://192.168.2.21:7001/upload', // 仅为示例,非真实的接口地址
filePath: url,
name: 'file',
formData: {
user: 'test'
},
success: res => {
setTimeout(() => {
resolve(res.data.data);
}, 1000);
}
});
});
}
}
};
</script>
<style lang="scss" scoped>
.index {
&-upload {
width: 170rpx;
height: 170rpx;
background-color: #f3f3f3;
> image {
width: 52rpx;
height: 52rpx;
}
&-tlo {
width: 100%;
height: 100%;
image {
width: 40rpx;
height: 40rpx;
}
view {
width: 100%;
text-align: center;
font-size: 24rpx;
font-weight: 400;
color: #000000;
margin-top: -45rpx;
}
&-lp {
margin-top: 43rpx;
}
}
}
}
</style>
// let hostUrl = 'https://baiyingroup.nyinhong.com', // 测试
// // let hostUrl = 'https://baiyin-uat.nyinhong.com', // UAT
// // let hostUrl = 'https://pepsibdp.masterkong.com.cn', // prd
let hostUrl = 'https://baiyingroup.nyinhong.com', // 测试 // api = '/api',
// let hostUrl = 'https://baiyin-uat.nyinhong.com', // UAT // imgApi = '/admimage/';
// let hostUrl = 'https://pepsibdp.masterkong.com.cn', // prd
api = '/api', let hostUrl = '',
api = '',
imgApi = '/admimage/'; imgApi = '/admimage/';
switch (process.env.UNI_BASE_ENV) {
case 'development':
hostUrl = process.env.UNI_BASE_URL;
api = process.env.UNI_BASE_API;
break;
case 'uat':
hostUrl = process.env.UNI_BASE_URL;
api = process.env.UNI_BASE_API;
break;
case 'production':
hostUrl = process.env.UNI_BASE_URL;
api = process.env.UNI_BASE_API;
break;
}
console.log(
"config/index.js配置:",
process.env.UNI_BASE_ENV,
process.env.UNI_BASE_URL
);
// 基础配置 // 基础配置
const apiBaseConfig = { const apiBaseConfig = {
...@@ -15,11 +40,13 @@ const apiBaseConfig = { ...@@ -15,11 +40,13 @@ const apiBaseConfig = {
domain: hostUrl + api, domain: hostUrl + api,
upload: hostUrl + api + '/group-buy/by-file/uploadOne', upload: hostUrl + api + '/group-buy/by-file/uploadOne',
imgBgUrl: hostUrl + imgApi, imgBgUrl: hostUrl + imgApi,
// bWeChatAppid: 'wxb323afcbe152514f',
bWeChatAppid: 'wx862d98c98e4fe97d',
hygAPPID: 'wx626a1ea9888b0e0f', hygAPPID: 'wx626a1ea9888b0e0f',
hygPATH: '/pages/bsChannel/login?channel=bs', hygPATH: '/pages/bsChannel/login?channel=bs',
hygType: 'release', // develop(开发版),trial(体验版),release(正式版) hygType: 'release', // develop(开发版),trial(体验版),release(正式版)
key:'MBYBZ-KUS6R-ADMWU-WKZXF-ZBZIK-LJFH7', // 逆地址解析腾讯地图key key: 'MBYBZ-KUS6R-ADMWU-WKZXF-ZBZIK-LJFH7', // 逆地址解析腾讯地图key
url:'https://apis.map.qq.com/ws/geocoder/v1/?location=location', // 逆地址解析腾讯官方逆解析接口 url: 'https://apis.map.qq.com/ws/geocoder/v1/?location=location', // 逆地址解析腾讯官方逆解析接口
//#endif //#endif
} }
......
...@@ -9,6 +9,17 @@ import uniGo from '@/utils/unIGO.js'; ...@@ -9,6 +9,17 @@ import uniGo from '@/utils/unIGO.js';
Vue.prototype.$uniGo = uniGo; Vue.prototype.$uniGo = uniGo;
import utilsMethods from '@/utils/utils.js'; import utilsMethods from '@/utils/utils.js';
Vue.prototype.$utilsMethods = utilsMethods; Vue.prototype.$utilsMethods = utilsMethods;
// 底部导航
import comTabbar from '@/components/tabbar/tabbar';
Vue.component('com-tabbar', comTabbar)
// 上传
import comUpload from '@/components/upload/aIndex.vue';
Vue.component('com-upload', comUpload)
// 头部导航
import comNavBar from '@/components/navBar/aIndex';
Vue.component('com-navbar', comNavBar)
uni.$u.setConfig({ uni.$u.setConfig({
config: { config: {
......
{ {
"dependencies": { "devDependencies": {
"uview-ui": "^2.0.31" "sass": "^1.58.1",
"sass-loader": "^13.2.0",
"vuex": "^4.1.0"
},
"uni-app": {
"scripts": {
"custom-dev": {
"title": "内部客户管理系统微信小程序开发版",
"env": {
"UNI_PLATFORM": "mp-weixin",
"UNI_BASE_ENV": "development",
"UNI_BASE_URL": "http://192.168.0.182:8996",
"UNI_BASE_API": "/custom"
},
"define": {
"CUSTOM-DEV": true
}
},
"custom-uat": {
"title": "内部客户管理系统微信小程序测试版",
"env": {
"UNI_PLATFORM": "mp-weixin",
"UNI_BASE_ENV": "uat",
"UNI_BASE_URL": "http://baiyingroup.nyinhong.com",
"UNI_BASE_API": "/api"
},
"define": {
"CUSTOM-UAT": true
}
},
"custom-prod": {
"title": "内部客户管理系统微信小程序生产版",
"env": {
"UNI_PLATFORM": "mp-weixin",
"UNI_BASE_ENV": "production",
"UNI_BASE_URL": "https://pepsibdp.masterkong.com.cn",
"UNI_BASE_API": "/api"
},
"define": {
"CUSTOM-PROD": true
}
}
}
} }
} }
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "uni-app" "navigationBarTitleText": "uni-app",
"mp-weixin": {
"navigationStyle": "custom"
}
} }
}, },
{ {
...@@ -43,45 +46,12 @@ ...@@ -43,45 +46,12 @@
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#ffffff", "backgroundColor": "#f3f4f6",
"app-plus": { "app-plus": {
"background": "#efeff4" "background": "#efeff4"
}, },
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"onReachBottomDistance": 50 "onReachBottomDistance": 50
},
"tabBar": {
"color": "#6C6C6E",
"selectedColor": "#005EBD",
"backgroundColor": "#FFFFFF",
"borderStyle": "black",
"fontSize": "20px",
"height": "60px",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabbar/tab1.png",
"selectedIconPath": "static/tabbar/tab1-active.png"
},
{
"pagePath": "pages/home/index",
"text": "我的需求",
"iconPath": "static/tabbar/tab2.png",
"selectedIconPath": "static/tabbar/tab2-active.png"
},
{
"pagePath": "pages/order/index",
"text": "我的需求",
"iconPath": "static/tabbar/tab2.png",
"selectedIconPath": "static/tabbar/tab2-active.png"
},
{
"pagePath": "pages/my/index",
"text": "我的",
"iconPath": "static/tabbar/tab3.png",
"selectedIconPath": "static/tabbar/tab3-active.png"
}
]
} }
} }
<template> <template>
<view class="function"> <view class="function">
<com-tabbar></com-tabbar>
</view> </view>
</template> </template>
...@@ -17,10 +17,8 @@ ...@@ -17,10 +17,8 @@
onLoad() { onLoad() {
console.log('====onLoad'); console.log('====onLoad');
}, },
onShow() { onShow() {},
}, methods: {}
methods: {
}
}; };
</script> </script>
......
<template> <template>
<view class="content"> <view class="content">
<image class="logo" src="/static/logo.png" @click="jump"></image> <image class="logo" src="/static//icon/sytb.png" @click="jump"></image>
<view class="text-area"> <view :style="{ height: `calc(${globalData.statusBarHeight}rpx + 158rpx)` }"></view>
<text class="title">{{title}}</text> <view class="content-swiper">
<u-swiper :list="swiperList" keyName="img" @change="e => (current = e.current)" :autoplay="true"
height="300rpx">
<view slot="indicator" class="indicator">
<view class="indicator__dot" v-for="(item, index) in swiperList" :key="index"
:class="[index === current && 'indicator__dot--active']"></view>
</view>
</u-swiper>
</view> </view>
<view class="content-matter">
<view class="content-matter-market">
<view></view>
<view>用户需求广场</view>
</view>
<view class="content-matter-marketplace" v-for="(v , index) in 50">
<image src="/static//icon/sytb.png" mode=""></image>
<view class="content-matter-marketplace-bazaar">
<view class="">
灯泡灯芯坏了
</view>
<view class="">
说明:有一个字不是特别亮,希望换一盏灯希望换一盏灯希望换一盏灯
</view>
<view class="">
<text>维修时间:</text>
<text>2023-02-23</text>
</view>
</view>
</view>
</view>
<com-navbar :leftIcon="false" :homeShow="false" bgColor="transparent" title="首页"
:titleStyle="{ color: '#FFFFFF', fontSize: '32rpx' }" />
<com-tabbar></com-tabbar>
</view> </view>
</template> </template>
<script> <script>
import apiBaseConfig from '@/config/index.js';
export default { export default {
data() { data() {
return { return {
title: 'Hello' title: 'Hello',
imgBgUrl: apiBaseConfig.imgBgUrl,
globalData: getApp().globalData,
} }
}, },
onLoad() { onLoad() {
...@@ -26,22 +60,98 @@ ...@@ -26,22 +60,98 @@
} }
} }
</script> </script>
<style> <style>
page {
background-color: #f3f4f6;
}
</style>
<style lang="scss" scoped>
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; // align-items: center;
justify-content: center; justify-content: center;
&-swiper {
height: 280rpx;
background: #d8d8d8;
border-radius: 10rpx;
overflow: hidden;
width: calc(100% - 20rpx * 2);
margin: 0rpx 20rpx 0rpx;
}
&-matter {
margin: 28rpx 20rpx 50rpx;
&-market {
display: flex;
align-items: center;
margin-bottom: 20rpx;
>view:nth-child(1) {
width: 6rpx;
height: 36rpx;
background: linear-gradient(180deg, #2C66FF 0%, #579FFF 100%);
border-radius: 3rpx;
margin-right: 14rpx;
}
>view:nth-child(2) {
font-size: 28rpx;
font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
font-weight: 500;
color: #333333;
}
}
&-marketplace {
display: flex;
background-color: #ffffff;
border-radius: 8rpx;
padding: 20rpx;
margin-bottom: 20rpx;
>image {
width: 170rpx;
height: 170rpx;
margin-right: 20rpx;
}
&-bazaar{
width: 460rpx;
>view:nth-child(1){
font-size: 28rpx;
font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
font-weight: 700;
color: #333333;
margin-top: 8rpx;
}
>view:nth-child(2){
margin-top: 6rpx;
font-size: 24rpx;
font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
font-weight: 400;
color: #444444;
}
>view:nth-child(3){
margin-top: 9rpx;
font-size: 20rpx;
font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
font-weight: 400;
color: #5281FF;
}
}
}
}
} }
.logo { .logo {
height: 200rpx; width: 100%;
width: 200rpx; height: 340rpx;
margin-top: 200rpx; position: absolute;
margin-left: auto; z-index: -1;
margin-right: auto; top: 0%;
margin-bottom: 50rpx; left: 0%;
} }
.text-area { .text-area {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -16,44 +16,14 @@ ...@@ -16,44 +16,14 @@
"window": { "window": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#ffffff", "backgroundColor": "#f3f4f6",
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"onReachBottomDistance": 50 "onReachBottomDistance": 50
}, },
"tabBar": { "usingComponents": {
"color": "#6C6C6E", "com-tabbar": "/components/tabbar/tabbar",
"selectedColor": "#005EBD", "com-upload": "/components/upload/aIndex",
"backgroundColor": "#FFFFFF", "com-navbar": "/components/navBar/aIndex"
"borderStyle": "black", }
"fontSize": "20px",
"height": "60px",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabbar/tab1.png",
"selectedIconPath": "static/tabbar/tab1-active.png"
},
{
"pagePath": "pages/home/index",
"text": "我的需求",
"iconPath": "static/tabbar/tab2.png",
"selectedIconPath": "static/tabbar/tab2-active.png"
},
{
"pagePath": "pages/order/index",
"text": "我的需求",
"iconPath": "static/tabbar/tab2.png",
"selectedIconPath": "static/tabbar/tab2-active.png"
},
{
"pagePath": "pages/my/index",
"text": "我的",
"iconPath": "static/tabbar/tab3.png",
"selectedIconPath": "static/tabbar/tab3-active.png"
}
]
},
"usingComponents": {}
} }
\ No newline at end of file
...@@ -14,10 +14,10 @@ var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/inte ...@@ -14,10 +14,10 @@ var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/inte
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11)); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
__webpack_require__(/*! uni-pages */ 26); __webpack_require__(/*! uni-pages */ 26);
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 27)); var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 27));
var _store = _interopRequireDefault(__webpack_require__(/*! ./store */ 35)); var _store = _interopRequireDefault(__webpack_require__(/*! ./store */ 33));
var _uviewUi = _interopRequireDefault(__webpack_require__(/*! uview-ui */ 48)); var _uviewUi = _interopRequireDefault(__webpack_require__(/*! uview-ui */ 46));
var _unIGO = _interopRequireDefault(__webpack_require__(/*! @/utils/unIGO.js */ 47)); var _unIGO = _interopRequireDefault(__webpack_require__(/*! @/utils/unIGO.js */ 45));
var _utils = _interopRequireDefault(__webpack_require__(/*! @/utils/utils.js */ 170)); var _utils = _interopRequireDefault(__webpack_require__(/*! @/utils/utils.js */ 168));
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25)); var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
...@@ -26,6 +26,29 @@ wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; ...@@ -26,6 +26,29 @@ wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
_vue.default.use(_uviewUi.default); _vue.default.use(_uviewUi.default);
_vue.default.prototype.$uniGo = _unIGO.default; _vue.default.prototype.$uniGo = _unIGO.default;
_vue.default.prototype.$utilsMethods = _utils.default; _vue.default.prototype.$utilsMethods = _utils.default;
// 底部导航
var comTabbar = function comTabbar() {
__webpack_require__.e(/*! require.ensure | components/tabbar/tabbar */ "components/tabbar/tabbar").then((function () {
return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 207));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
_vue.default.component('com-tabbar', comTabbar);
// 上传
var comUpload = function comUpload() {
__webpack_require__.e(/*! require.ensure | components/upload/aIndex */ "components/upload/aIndex").then((function () {
return resolve(__webpack_require__(/*! @/components/upload/aIndex.vue */ 214));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
_vue.default.component('com-upload', comUpload);
// 头部导航
var comNavBar = function comNavBar() {
__webpack_require__.e(/*! require.ensure | components/navBar/aIndex */ "components/navBar/aIndex").then((function () {
return resolve(__webpack_require__(/*! @/components/navBar/aIndex */ 221));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
_vue.default.component('com-navbar', comNavBar);
uni.$u.setConfig({ uni.$u.setConfig({
config: { config: {
unit: 'rpx' unit: 'rpx'
...@@ -58,7 +81,7 @@ __webpack_require__.r(__webpack_exports__); ...@@ -58,7 +81,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 28); /* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 28);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=scss& */ 30); /* harmony import */ var _App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=scss& */ 30);
/* harmony import */ var _Hbuild_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../开发工具/Hbuild/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 34); /* harmony import */ var _Hbuild_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../开发工具/Hbuild/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
var render, staticRenderFns, recyclableRender, components var render, staticRenderFns, recyclableRender, components
var renderjs var renderjs
...@@ -110,7 +133,7 @@ __webpack_require__.r(__webpack_exports__); ...@@ -110,7 +133,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(wx, uni) { /* WEBPACK VAR INJECTION */(function(uni, wx) {
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
value: true value: true
...@@ -118,32 +141,21 @@ Object.defineProperty(exports, "__esModule", { ...@@ -118,32 +141,21 @@ Object.defineProperty(exports, "__esModule", {
exports.default = void 0; exports.default = void 0;
var _default = { var _default = {
onLaunch: function onLaunch() { onLaunch: function onLaunch() {
// console.log('App Launch11',uni.getStorageSync('token')); console.log('App Launch');
// if (!uni.getStorageSync('token')) { if (uni.getStorageSync('token')) {
// uni.reLaunch({ uni.reLaunch({
// url: '/pages/login/index' url: '/pages/index/index'
// }); });
// }else{ }
// uni.reLaunch({
// url: 'pages/index/index'
// });
// }
wx.hideShareMenu(); wx.hideShareMenu();
uni.hideShareMenu(); //去除分享 uni.hideShareMenu(); //去除分享
}, },
onShow: function onShow() { onShow: function onShow() {
// console.log('App Show',uni.getStorageSync('token')); console.log('App Show');
// if (!uni.getStorageSync('token')) {
// uni.reLaunch({
// url: '/pages/login/index'
// });
// }else{
// uni.reLaunch({
// url: 'pages/index/index'
// });
// }
this.phone(); this.phone();
this.getSystemInfo();
this.configuration();
wx.hideShareMenu(); wx.hideShareMenu();
uni.hideShareMenu(); //去除分享 uni.hideShareMenu(); //去除分享
}, },
...@@ -163,14 +175,39 @@ var _default = { ...@@ -163,14 +175,39 @@ var _default = {
// console.log(menuButtonInfo); // console.log(menuButtonInfo);
// (胶囊底部高度 - 状态栏的高度) + (胶囊顶部高度 - 状态栏内的高度) = 导航栏的高度 // (胶囊底部高度 - 状态栏的高度) + (胶囊顶部高度 - 状态栏内的高度) = 导航栏的高度
this.globalData.navBarHeight = menuButtonInfo.bottom - info.statusBarHeight + (menuButtonInfo.top - info.statusBarHeight) + info.statusBarHeight; this.globalData.navBarHeight = menuButtonInfo.bottom - info.statusBarHeight + (menuButtonInfo.top - info.statusBarHeight) + info.statusBarHeight;
},
configuration: function configuration() {
var hostUrl = '';
switch ("development") {
case 'development':
hostUrl = "http://192.168.0.182:8996";
break;
case 'uat':
hostUrl = "http://192.168.0.182:8996";
break;
case 'production':
hostUrl = "http://192.168.0.182:8996";
break;
}
console.log('app.vue配置:', "development", "http://192.168.0.182:8996");
},
getSystemInfo: function getSystemInfo() {
var self = this;
uni.getSystemInfo({
success: function success(res) {
// console.log(res.statusBarHeight);
self.globalData.statusBarHeight = res.statusBarHeight || 0;
}
});
} }
}, },
globalData: { globalData: {
navBarHeight: null navBarHeight: null,
statusBarHeight: 0
} }
}; };
exports.default = _default; exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
/***/ }), /***/ }),
......
...@@ -55,6 +55,11 @@ ...@@ -55,6 +55,11 @@
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
/******/ /******/
/******/ // object to store loaded CSS chunks
/******/ var installedCssChunks = {
/******/ "common/runtime": 0
/******/ }
/******/
/******/ // object to store loaded and loading chunks /******/ // object to store loaded and loading chunks
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ // Promise = chunk loading, 0 = chunk loaded /******/ // Promise = chunk loading, 0 = chunk loaded
...@@ -64,6 +69,11 @@ ...@@ -64,6 +69,11 @@
/******/ /******/
/******/ var deferredModules = []; /******/ var deferredModules = [];
/******/ /******/
/******/ // script path function
/******/ function jsonpScriptSrc(chunkId) {
/******/ return __webpack_require__.p + "" + chunkId + ".js"
/******/ }
/******/
/******/ // The require function /******/ // The require function
/******/ function __webpack_require__(moduleId) { /******/ function __webpack_require__(moduleId) {
/******/ /******/
...@@ -88,6 +98,108 @@ ...@@ -88,6 +98,108 @@
/******/ return module.exports; /******/ return module.exports;
/******/ } /******/ }
/******/ /******/
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ var promises = [];
/******/
/******/
/******/ // mini-css-extract-plugin CSS loading
/******/ var cssChunks = {"components/navBar/aIndex":1,"components/tabbar/tabbar":1,"components/upload/aIndex":1,"node-modules/uview-ui/components/u-swiper/u-swiper":1,"node-modules/uview-ui/components/u-icon/u-icon":1,"node-modules/uview-ui/components/u-line/u-line":1,"node-modules/uview-ui/components/u-navbar/u-navbar":1,"node-modules/uview-ui/components/u-upload/u-upload":1,"node-modules/uview-ui/components/u-loading-icon/u-loading-icon":1,"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator":1,"node-modules/uview-ui/components/u-status-bar/u-status-bar":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ var href = "" + ({"components/navBar/aIndex":"components/navBar/aIndex","components/tabbar/tabbar":"components/tabbar/tabbar","components/upload/aIndex":"components/upload/aIndex","node-modules/uview-ui/components/u-swiper/u-swiper":"node-modules/uview-ui/components/u-swiper/u-swiper","node-modules/uview-ui/components/u-icon/u-icon":"node-modules/uview-ui/components/u-icon/u-icon","node-modules/uview-ui/components/u-line/u-line":"node-modules/uview-ui/components/u-line/u-line","node-modules/uview-ui/components/u-navbar/u-navbar":"node-modules/uview-ui/components/u-navbar/u-navbar","node-modules/uview-ui/components/u-upload/u-upload":"node-modules/uview-ui/components/u-upload/u-upload","node-modules/uview-ui/components/u-loading-icon/u-loading-icon":"node-modules/uview-ui/components/u-loading-icon/u-loading-icon","node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator":"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator","node-modules/uview-ui/components/u-status-bar/u-status-bar":"node-modules/uview-ui/components/u-status-bar/u-status-bar"}[chunkId]||chunkId) + ".wxss";
/******/ var fullhref = __webpack_require__.p + href;
/******/ var existingLinkTags = document.getElementsByTagName("link");
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
/******/ var tag = existingLinkTags[i];
/******/ var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
/******/ if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
/******/ }
/******/ var existingStyleTags = document.getElementsByTagName("style");
/******/ for(var i = 0; i < existingStyleTags.length; i++) {
/******/ var tag = existingStyleTags[i];
/******/ var dataHref = tag.getAttribute("data-href");
/******/ if(dataHref === href || dataHref === fullhref) return resolve();
/******/ }
/******/ var linkTag = document.createElement("link");
/******/ linkTag.rel = "stylesheet";
/******/ linkTag.type = "text/css";
/******/ linkTag.onload = resolve;
/******/ linkTag.onerror = function(event) {
/******/ var request = event && event.target && event.target.src || fullhref;
/******/ var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
/******/ err.code = "CSS_CHUNK_LOAD_FAILED";
/******/ err.request = request;
/******/ delete installedCssChunks[chunkId]
/******/ linkTag.parentNode.removeChild(linkTag)
/******/ reject(err);
/******/ };
/******/ linkTag.href = fullhref;
/******/
/******/ var head = document.getElementsByTagName("head")[0];
/******/ head.appendChild(linkTag);
/******/ }).then(function() {
/******/ installedCssChunks[chunkId] = 0;
/******/ }));
/******/ }
/******/
/******/ // JSONP chunk loading for javascript
/******/
/******/ var installedChunkData = installedChunks[chunkId];
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]);
/******/ } else {
/******/ // setup Promise in chunk cache
/******/ var promise = new Promise(function(resolve, reject) {
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ });
/******/ promises.push(installedChunkData[2] = promise);
/******/
/******/ // start chunk loading
/******/ var script = document.createElement('script');
/******/ var onScriptComplete;
/******/
/******/ script.charset = 'utf-8';
/******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = jsonpScriptSrc(chunkId);
/******/
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ onScriptComplete = function (event) {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ chunk[1](error);
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
/******/ var timeout = setTimeout(function(){
/******/ onScriptComplete({ type: 'timeout', target: script });
/******/ }, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ document.head.appendChild(script);
/******/ }
/******/ }
/******/ return Promise.all(promises);
/******/ };
/******/ /******/
/******/ // expose the modules object (__webpack_modules__) /******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules; /******/ __webpack_require__.m = modules;
...@@ -141,6 +253,9 @@ ...@@ -141,6 +253,9 @@
/******/ // __webpack_public_path__ /******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/"; /******/ __webpack_require__.p = "/";
/******/ /******/
/******/ // on error function for async loading
/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
/******/
/******/ var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || []; /******/ var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); /******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
/******/ jsonpArray.push = webpackJsonpCallback; /******/ jsonpArray.push = webpackJsonpCallback;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"usingComponents": {
"u-navbar": "/node-modules/uview-ui/components/u-navbar/u-navbar",
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon",
"u-line": "/node-modules/uview-ui/components/u-line/u-line"
},
"component": true
}
\ No newline at end of file
<view class="index data-v-30ae7a76"><u-navbar vue-id="0d7016e1-1" leftText="返回" title="{{title}}" safeAreaInsetTop="{{true}}" placeholder="{{true}}" bgColor="{{bgColor}}" titleStyle="{{$root.a0}}" class="data-v-30ae7a76" bind:__l="__l" vue-slots="{{['left']}}"><view class="u-nav-slot data-v-30ae7a76" slot="left"><block wx:if="{{leftIcon}}"><u-icon vue-id="{{('0d7016e1-2')+','+('0d7016e1-1')}}" name="arrow-left" size="30" data-event-opts="{{[['^click',[['leftClick']]]]}}" bind:click="__e" class="data-v-30ae7a76" bind:__l="__l"></u-icon></block><block wx:if="{{homeShow}}"><u-line vue-id="{{('0d7016e1-3')+','+('0d7016e1-1')}}" direction="column" hairline="{{false}}" length="16" margin="0 8px" class="data-v-30ae7a76" bind:__l="__l"></u-line></block><block wx:if="{{homeShow}}"><u-icon vue-id="{{('0d7016e1-4')+','+('0d7016e1-1')}}" name="home" size="30" data-event-opts="{{[['^click',[['rightClick']]]]}}" bind:click="__e" class="data-v-30ae7a76" bind:__l="__l"></u-icon></block></view></u-navbar></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.index.data-v-30ae7a76 {
z-index: 99999;
}
.u-nav-slot.data-v-30ae7a76 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
border-width: 1rpx;
border-radius: 100rpx;
border-color: #c8c7cc;
padding: 3rpx 7rpx;
opacity: 0.8;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<view class="data-v-8ad7aaf8"><view class="tabBar data-v-8ad7aaf8" style="{{(platform=='android'?'height: 120rpx;':'height: 150rpx;')}}"><view class="tabBar-cont data-v-8ad7aaf8"><block wx:for="{{tabBarList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabBarChange',['$0'],[[['tabBarList','',index]]]]]]]}}" class="tabBar-cont-item data-v-8ad7aaf8" bindtap="__e"><block wx:if="{{item.type===type}}"><image src="{{item.icon}}" mode="aspectFill" class="data-v-8ad7aaf8"></image></block><block wx:else><image src="{{item.selectIcon}}" mode="aspectFill" class="data-v-8ad7aaf8"></image></block><view class="{{['data-v-8ad7aaf8',item.type===type?'tabBar-cont-item-title tabBar-cont-item-titleAct':'tabBar-cont-item-title']}}">{{''+item.name}}</view></view></block></view></view></view>
\ No newline at end of file
{
"usingComponents": {
"u-upload": "/node-modules/uview-ui/components/u-upload/u-upload"
},
"component": true
}
\ No newline at end of file
<view class="index data-v-198d1414"><u-upload vue-id="1815ef72-1" fileList="{{fileList6}}" name="6" multiple="{{true}}" maxCount="{{1}}" width="170" height="170" data-event-opts="{{[['^afterRead',[['afterRead']]],['^delete',[['deletePic']]]]}}" bind:afterRead="__e" bind:delete="__e" class="data-v-198d1414" bind:__l="__l" vue-slots="{{['default']}}"><view class="index-upload baiyin-flex baiyin-flex-c-t baiyin-flex-c-b data-v-198d1414"><block wx:if="{{imgType==='camera'}}"><image src="/static/icon/zp1.png" mode="widthFix" class="data-v-198d1414"></image></block><block wx:else><block wx:if="{{imgType==='cross'}}"><view class="index-upload-tlo baiyin-flex baiyin-flex-wrap baiyin-flex-c-t baiyin-flex-c-b data-v-198d1414"><image class="{{['data-v-198d1414',crossTextShow?'index-upload-tlo-lp':'']}}" src="/static/icon/zp4.png" mode></image><block wx:if="{{crossTextShow}}"><view class="data-v-198d1414">上传</view></block></view></block></block></view></u-upload></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.index-upload.data-v-198d1414 {
width: 170rpx;
height: 170rpx;
background-color: #f3f3f3;
}
.index-upload > image.data-v-198d1414 {
width: 52rpx;
height: 52rpx;
}
.index-upload-tlo.data-v-198d1414 {
width: 100%;
height: 100%;
}
.index-upload-tlo image.data-v-198d1414 {
width: 40rpx;
height: 40rpx;
}
.index-upload-tlo view.data-v-198d1414 {
width: 100%;
text-align: center;
font-size: 24rpx;
font-weight: 400;
color: #000000;
margin-top: -45rpx;
}
.index-upload-tlo-lp.data-v-198d1414 {
margin-top: 43rpx;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<view data-event-opts="{{[['tap',[['clickHandler',['$event']]]]]}}" class="{{['u-icon','data-v-172979f2','u-icon--'+labelPos]}}" bindtap="__e"><block wx:if="{{isImg}}"><image class="u-icon__img data-v-172979f2" style="{{$root.s0}}" src="{{name}}" mode="{{imgMode}}"></image></block><block wx:else><text class="{{['u-icon__icon','data-v-172979f2',uClasses]}}" style="{{$root.s1}}" hover-class="{{hoverClass}}">{{icon}}</text></block><block wx:if="{{label!==''}}"><text class="u-icon__label data-v-172979f2" style="{{'color:'+(labelColor)+';'+('font-size:'+($root.g0)+';')+('margin-left:'+(labelPos=='right'?$root.g1:0)+';')+('margin-top:'+(labelPos=='bottom'?$root.g2:0)+';')+('margin-right:'+(labelPos=='left'?$root.g3:0)+';')+('margin-bottom:'+(labelPos=='top'?$root.g4:0)+';')}}">{{label}}</text></block></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-172979f2, scroll-view.data-v-172979f2, swiper-item.data-v-172979f2 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
@font-face {
font-family: 'uicon-iconfont';
src: url("https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf") format("truetype");
}
.u-icon.data-v-172979f2 {
display: flex;
align-items: center;
}
.u-icon--left.data-v-172979f2 {
flex-direction: row-reverse;
align-items: center;
}
.u-icon--right.data-v-172979f2 {
flex-direction: row;
align-items: center;
}
.u-icon--top.data-v-172979f2 {
flex-direction: column-reverse;
justify-content: center;
}
.u-icon--bottom.data-v-172979f2 {
flex-direction: column;
justify-content: center;
}
.u-icon__icon.data-v-172979f2 {
font-family: uicon-iconfont;
position: relative;
display: flex;
flex-direction: row;
align-items: center;
}
.u-icon__icon--primary.data-v-172979f2 {
color: #3c9cff;
}
.u-icon__icon--success.data-v-172979f2 {
color: #5ac725;
}
.u-icon__icon--error.data-v-172979f2 {
color: #f56c6c;
}
.u-icon__icon--warning.data-v-172979f2 {
color: #f9ae3d;
}
.u-icon__icon--info.data-v-172979f2 {
color: #909399;
}
.u-icon__img.data-v-172979f2 {
height: auto;
will-change: transform;
}
.u-icon__label.data-v-172979f2 {
line-height: 1;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<view class="u-line data-v-e778bab2" style="{{$root.s0}}"></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-e778bab2, scroll-view.data-v-e778bab2, swiper-item.data-v-e778bab2 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-line.data-v-e778bab2 {
vertical-align: middle;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<block wx:if="{{show}}"><view class="{{['u-loading-icon','data-v-8ae91632',vertical&&'u-loading-icon--vertical']}}" style="{{$root.s0}}"><block wx:if="{{!webviewHide}}"><view data-ref="ani" class="{{['u-loading-icon__spinner','data-v-8ae91632','vue-ref','u-loading-icon__spinner--'+mode]}}" style="{{'color:'+(color)+';'+('width:'+($root.g0)+';')+('height:'+($root.g1)+';')+('border-top-color:'+(color)+';')+('border-bottom-color:'+(otherBorderColor)+';')+('border-left-color:'+(otherBorderColor)+';')+('border-right-color:'+(otherBorderColor)+';')+('animation-duration:'+(duration+'ms')+';')+('animation-timing-function:'+(mode==='semicircle'||mode==='circle'?timingFunction:'')+';')}}"><block wx:if="{{mode==='spinner'}}"><block class="data-v-8ae91632"><block wx:for="{{array12}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-loading-icon__dot data-v-8ae91632"></view></block></block></block></view></block><block wx:if="{{text}}"><text class="u-loading-icon__text data-v-8ae91632" style="{{'font-size:'+($root.g2)+';'+('color:'+(textColor)+';')}}">{{text}}</text></block></view></block>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-8ae91632, scroll-view.data-v-8ae91632, swiper-item.data-v-8ae91632 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-loading-icon.data-v-8ae91632 {
flex-direction: row;
align-items: center;
justify-content: center;
color: #c8c9cc;
}
.u-loading-icon__text.data-v-8ae91632 {
margin-left: 4px;
color: #606266;
font-size: 14px;
line-height: 20px;
}
.u-loading-icon__spinner.data-v-8ae91632 {
width: 30px;
height: 30px;
position: relative;
box-sizing: border-box;
max-width: 100%;
max-height: 100%;
-webkit-animation: u-rotate-data-v-8ae91632 1s linear infinite;
animation: u-rotate-data-v-8ae91632 1s linear infinite;
}
.u-loading-icon__spinner--semicircle.data-v-8ae91632 {
border-width: 2px;
border-color: transparent;
border-top-right-radius: 100px;
border-top-left-radius: 100px;
border-bottom-left-radius: 100px;
border-bottom-right-radius: 100px;
border-style: solid;
}
.u-loading-icon__spinner--circle.data-v-8ae91632 {
border-top-right-radius: 100px;
border-top-left-radius: 100px;
border-bottom-left-radius: 100px;
border-bottom-right-radius: 100px;
border-width: 2px;
border-top-color: #e5e5e5;
border-right-color: #e5e5e5;
border-bottom-color: #e5e5e5;
border-left-color: #e5e5e5;
border-style: solid;
}
.u-loading-icon--vertical.data-v-8ae91632 {
flex-direction: column;
}
.data-v-8ae91632:host {
font-size: 0px;
line-height: 1;
}
.u-loading-icon__spinner--spinner.data-v-8ae91632 {
-webkit-animation-timing-function: steps(12);
animation-timing-function: steps(12);
}
.u-loading-icon__text.data-v-8ae91632:empty {
display: none;
}
.u-loading-icon--vertical .u-loading-icon__text.data-v-8ae91632 {
margin: 6px 0 0;
color: #606266;
}
.u-loading-icon__dot.data-v-8ae91632 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.u-loading-icon__dot.data-v-8ae91632:before {
display: block;
width: 2px;
height: 25%;
margin: 0 auto;
background-color: currentColor;
border-radius: 40%;
content: " ";
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(1) {
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
opacity: 1;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(2) {
-webkit-transform: rotate(60deg);
transform: rotate(60deg);
opacity: 0.9375;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(3) {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
opacity: 0.875;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(4) {
-webkit-transform: rotate(120deg);
transform: rotate(120deg);
opacity: 0.8125;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(5) {
-webkit-transform: rotate(150deg);
transform: rotate(150deg);
opacity: 0.75;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(6) {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
opacity: 0.6875;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(7) {
-webkit-transform: rotate(210deg);
transform: rotate(210deg);
opacity: 0.625;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(8) {
-webkit-transform: rotate(240deg);
transform: rotate(240deg);
opacity: 0.5625;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(9) {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
opacity: 0.5;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(10) {
-webkit-transform: rotate(300deg);
transform: rotate(300deg);
opacity: 0.4375;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(11) {
-webkit-transform: rotate(330deg);
transform: rotate(330deg);
opacity: 0.375;
}
.u-loading-icon__dot.data-v-8ae91632:nth-of-type(12) {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
opacity: 0.3125;
}
@-webkit-keyframes u-rotate-data-v-8ae91632 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(1turn);
transform: rotate(1turn);
}
}
@keyframes u-rotate-data-v-8ae91632 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(1turn);
transform: rotate(1turn);
}
}
{
"usingComponents": {
"u-status-bar": "/node-modules/uview-ui/components/u-status-bar/u-status-bar",
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
<view class="u-navbar data-v-75dad532"><block wx:if="{{fixed&&placeholder}}"><view class="u-navbar__placeholder data-v-75dad532" style="{{'height:'+($root.g0)+';'}}"></view></block><view class="{{['data-v-75dad532',fixed&&'u-navbar--fixed']}}"><block wx:if="{{safeAreaInsetTop}}"><u-status-bar vue-id="a7d66e66-1" bgColor="{{bgColor}}" class="data-v-75dad532" bind:__l="__l"></u-status-bar></block><view class="{{['u-navbar__content','data-v-75dad532',border&&'u-border-bottom']}}" style="{{'height:'+($root.g1)+';'+('background-color:'+(bgColor)+';')}}"><view class="u-navbar__content__left data-v-75dad532" hover-class="u-navbar__content__left--hover" hover-start-time="150" data-event-opts="{{[['tap',[['leftClick',['$event']]]]]}}" bindtap="__e"><block wx:if="{{$slots.left}}"><slot name="left"></slot></block><block wx:else><block wx:if="{{leftIcon}}"><u-icon vue-id="a7d66e66-2" name="{{leftIcon}}" size="{{leftIconSize}}" color="{{leftIconColor}}" class="data-v-75dad532" bind:__l="__l"></u-icon></block><block wx:if="{{leftText}}"><text class="u-navbar__content__left__text data-v-75dad532" style="{{'color:'+(leftIconColor)+';'}}">{{leftText}}</text></block></block></view><block wx:if="{{$slots.center}}"><slot name="center"></slot></block><block wx:else><text class="u-line-1 u-navbar__content__title data-v-75dad532" style="{{$root.s0}}">{{title}}</text></block><block wx:if="{{$slots.right||rightIcon||rightText}}"><view data-event-opts="{{[['tap',[['rightClick',['$event']]]]]}}" class="u-navbar__content__right data-v-75dad532" bindtap="__e"><block wx:if="{{$slots.right}}"><slot name="right"></slot></block><block wx:else><block wx:if="{{rightIcon}}"><u-icon vue-id="a7d66e66-3" name="{{rightIcon}}" size="20" class="data-v-75dad532" bind:__l="__l"></u-icon></block><block wx:if="{{rightText}}"><text class="u-navbar__content__right__text data-v-75dad532">{{rightText}}</text></block></block></view></block></view></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-75dad532, scroll-view.data-v-75dad532, swiper-item.data-v-75dad532 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-navbar--fixed.data-v-75dad532 {
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 11;
}
.u-navbar__content.data-v-75dad532 {
display: flex;
flex-direction: row;
align-items: center;
height: 44px;
background-color: #9acafc;
position: relative;
justify-content: center;
}
.u-navbar__content__left.data-v-75dad532, .u-navbar__content__right.data-v-75dad532 {
padding: 0 13px;
position: absolute;
top: 0;
bottom: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.u-navbar__content__left.data-v-75dad532 {
left: 0;
}
.u-navbar__content__left--hover.data-v-75dad532 {
opacity: 0.7;
}
.u-navbar__content__left__text.data-v-75dad532 {
font-size: 15px;
margin-left: 3px;
}
.u-navbar__content__title.data-v-75dad532 {
text-align: center;
font-size: 16px;
color: #303133;
}
.u-navbar__content__right.data-v-75dad532 {
right: 0;
}
.u-navbar__content__right__text.data-v-75dad532 {
font-size: 15px;
margin-left: 3px;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<view class="u-status-bar data-v-3c8c2ae7" style="{{$root.s0}}"><slot></slot></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-status-bar.data-v-3c8c2ae7 {
width: 100%;
}
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<view class="u-swiper-indicator data-v-647f6c67"><block wx:if="{{indicatorMode==='line'}}"><view class="{{['u-swiper-indicator__wrapper','data-v-647f6c67','u-swiper-indicator__wrapper--'+indicatorMode]}}" style="{{'width:'+($root.g0)+';'+('background-color:'+(indicatorInactiveColor)+';')}}"><view class="u-swiper-indicator__wrapper--line__bar data-v-647f6c67" style="{{$root.s0}}"></view></view></block><block wx:if="{{indicatorMode==='dot'}}"><view class="u-swiper-indicator__wrapper data-v-647f6c67"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['u-swiper-indicator__wrapper__dot','data-v-647f6c67',index===current&&'u-swiper-indicator__wrapper__dot--active']}}" style="{{item.s1}}"></view></block></view></block></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-647f6c67, scroll-view.data-v-647f6c67, swiper-item.data-v-647f6c67 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-swiper-indicator__wrapper.data-v-647f6c67 {
display: flex;
flex-direction: row;
}
.u-swiper-indicator__wrapper--line.data-v-647f6c67 {
border-radius: 100px;
height: 4px;
}
.u-swiper-indicator__wrapper--line__bar.data-v-647f6c67 {
width: 22px;
height: 4px;
border-radius: 100px;
background-color: #FFFFFF;
transition: -webkit-transform 0.3s;
transition: transform 0.3s;
transition: transform 0.3s, -webkit-transform 0.3s;
}
.u-swiper-indicator__wrapper__dot.data-v-647f6c67 {
width: 5px;
height: 5px;
border-radius: 100px;
margin: 0 4px;
}
.u-swiper-indicator__wrapper__dot--active.data-v-647f6c67 {
width: 12px;
}
{
"usingComponents": {
"u-loading-icon": "/node-modules/uview-ui/components/u-loading-icon/u-loading-icon",
"u-swiper-indicator": "/node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator"
},
"component": true
}
\ No newline at end of file
<view class="u-swiper data-v-7b038a67" style="{{'background-color:'+(bgColor)+';'+('height:'+($root.g0)+';')+('border-radius:'+($root.g1)+';')}}"><block wx:if="{{loading}}"><view class="u-swiper__loading data-v-7b038a67"><u-loading-icon vue-id="977b1866-1" mode="circle" class="data-v-7b038a67" bind:__l="__l"></u-loading-icon></view></block><block wx:else><swiper class="u-swiper__wrapper data-v-7b038a67" style="{{'height:'+($root.g2)+';'}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" autoplay="{{autoplay}}" current="{{current}}" currentItemId="{{currentItemId}}" previousMargin="{{$root.g3}}" nextMargin="{{$root.g4}}" acceleration="{{acceleration}}" displayMultipleItems="{{displayMultipleItems}}" easingFunction="{{easingFunction}}" data-event-opts="{{[['change',[['change',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="u-swiper__wrapper__item data-v-7b038a67"><view class="u-swiper__wrapper__item__wrapper data-v-7b038a67" style="{{item.s0}}"><block wx:if="{{item.m0==='image'}}"><image class="u-swiper__wrapper__item__wrapper__image data-v-7b038a67" style="{{'height:'+(item.g5)+';'+('border-radius:'+(item.g6)+';')}}" src="{{item.m1}}" mode="{{imgMode}}" data-event-opts="{{[['tap',[['clickHandler',[index]]]]]}}" bindtap="__e"></image></block><block wx:if="{{item.m2==='video'}}"><video class="u-swiper__wrapper__item__wrapper__video data-v-7b038a67" style="{{'height:'+(item.g7)+';'}}" id="{{'video-'+index}}" enable-progress-gesture="{{false}}" src="{{item.m3}}" poster="{{item.m4}}" title="{{item.g8?item.$orig.title:''}}" controls="{{true}}" data-event-opts="{{[['tap',[['clickHandler',[index]]]]]}}" bindtap="__e"></video></block><block wx:if="{{item.g9}}"><text class="u-swiper__wrapper__item__wrapper__title u-line-1 data-v-7b038a67">{{item.$orig.title}}</text></block></view></swiper-item></block></swiper></block><view class="u-swiper__indicator data-v-7b038a67" style="{{$root.s1}}"><block wx:if="{{$slots.indicator}}"><slot name="indicator"></slot></block><block wx:else><block wx:if="{{!loading&&indicator&&!showTitle}}"><u-swiper-indicator vue-id="977b1866-2" indicatorActiveColor="{{indicatorActiveColor}}" indicatorInactiveColor="{{indicatorInactiveColor}}" length="{{$root.g10}}" current="{{currentIndex}}" indicatorMode="{{indicatorMode}}" class="data-v-7b038a67" bind:__l="__l"></u-swiper-indicator></block></block></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-7b038a67, scroll-view.data-v-7b038a67, swiper-item.data-v-7b038a67 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-swiper.data-v-7b038a67 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}
.u-swiper__wrapper.data-v-7b038a67 {
flex: 1;
}
.u-swiper__wrapper__item.data-v-7b038a67 {
flex: 1;
}
.u-swiper__wrapper__item__wrapper.data-v-7b038a67 {
display: flex;
flex-direction: row;
position: relative;
overflow: hidden;
transition: -webkit-transform 0.3s;
transition: transform 0.3s;
transition: transform 0.3s, -webkit-transform 0.3s;
flex: 1;
}
.u-swiper__wrapper__item__wrapper__image.data-v-7b038a67 {
flex: 1;
}
.u-swiper__wrapper__item__wrapper__video.data-v-7b038a67 {
flex: 1;
}
.u-swiper__wrapper__item__wrapper__title.data-v-7b038a67 {
position: absolute;
background-color: rgba(0, 0, 0, 0.3);
bottom: 0;
left: 0;
right: 0;
font-size: 28rpx;
padding: 12rpx 24rpx;
color: #FFFFFF;
flex: 1;
}
.u-swiper__indicator.data-v-7b038a67 {
position: absolute;
bottom: 10px;
}
{
"usingComponents": {
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon",
"u-loading-icon": "/node-modules/uview-ui/components/u-loading-icon/u-loading-icon"
},
"component": true
}
\ No newline at end of file
<view class="u-upload data-v-49deb6f2" style="{{$root.s0}}"><view class="u-upload__wrap data-v-49deb6f2"><block wx:if="{{previewImage}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-upload__wrap__preview data-v-49deb6f2"><block wx:if="{{item.$orig.isImage||item.$orig.type&&item.$orig.type==='image'}}"><image class="u-upload__wrap__preview__image data-v-49deb6f2" style="{{'width:'+(item.g0)+';'+('height:'+(item.g1)+';')}}" src="{{item.$orig.thumb||item.$orig.url}}" mode="{{imageMode}}" data-event-opts="{{[['tap',[['onPreviewImage',['$0'],[[['lists','',index]]]]]]]}}" bindtap="__e"></image></block><block wx:else><view class="u-upload__wrap__preview__other data-v-49deb6f2"><u-icon vue-id="{{'55d89dad-1-'+index}}" color="#80CBF9" size="26" name="{{item.$orig.isVideo||item.$orig.type&&item.$orig.type==='video'?'movie':'folder'}}" class="data-v-49deb6f2" bind:__l="__l"></u-icon><text class="u-upload__wrap__preview__other__text data-v-49deb6f2">{{item.$orig.isVideo||item.$orig.type&&item.$orig.type==='video'?'视频':'文件'}}</text></view></block><block wx:if="{{item.$orig.status==='uploading'||item.$orig.status==='failed'}}"><view class="u-upload__status data-v-49deb6f2"><view class="u-upload__status__icon data-v-49deb6f2"><block wx:if="{{item.$orig.status==='failed'}}"><u-icon vue-id="{{'55d89dad-2-'+index}}" name="close-circle" color="#ffffff" size="25" class="data-v-49deb6f2" bind:__l="__l"></u-icon></block><block wx:else><u-loading-icon vue-id="{{'55d89dad-3-'+index}}" size="22" mode="circle" color="#ffffff" class="data-v-49deb6f2" bind:__l="__l"></u-loading-icon></block></view><block wx:if="{{item.$orig.message}}"><text class="u-upload__status__message data-v-49deb6f2">{{item.$orig.message}}</text></block></view></block><block wx:if="{{item.$orig.status!=='uploading'&&(deletable||item.$orig.deletable)}}"><view data-event-opts="{{[['tap',[['deleteItem',[index]]]]]}}" class="u-upload__deletable data-v-49deb6f2" catchtap="__e"><view class="u-upload__deletable__icon data-v-49deb6f2"><u-icon vue-id="{{'55d89dad-4-'+index}}" name="close" color="#ffffff" size="10" class="data-v-49deb6f2" bind:__l="__l"></u-icon></view></view></block><block wx:if="{{item.$orig.status==='success'}}"><view class="u-upload__success data-v-49deb6f2"><view class="u-upload__success__icon data-v-49deb6f2"><u-icon vue-id="{{'55d89dad-5-'+index}}" name="checkmark" color="#ffffff" size="12" class="data-v-49deb6f2" bind:__l="__l"></u-icon></view></view></block></view></block></block><block wx:if="{{isInCount}}"><block wx:if="{{$slots.default||$slots.$default}}"><view data-event-opts="{{[['tap',[['chooseFile',['$event']]]]]}}" bindtap="__e" class="data-v-49deb6f2"><slot></slot></view></block><block wx:else><view class="{{['u-upload__button','data-v-49deb6f2',disabled&&'u-upload__button--disabled']}}" style="{{'width:'+($root.g2)+';'+('height:'+($root.g3)+';')}}" hover-class="{{!disabled?'u-upload__button--hover':''}}" hover-stay-time="150" data-event-opts="{{[['tap',[['chooseFile',['$event']]]]]}}" bindtap="__e"><u-icon vue-id="55d89dad-6" name="{{uploadIcon}}" size="26" color="{{uploadIconColor}}" class="data-v-49deb6f2" bind:__l="__l"></u-icon><block wx:if="{{uploadText}}"><text class="u-upload__button__text data-v-49deb6f2">{{uploadText}}</text></block></view></block></block></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-49deb6f2, scroll-view.data-v-49deb6f2, swiper-item.data-v-49deb6f2 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-upload.data-v-49deb6f2 {
display: flex;
flex-direction: column;
flex: 1;
}
.u-upload__wrap.data-v-49deb6f2 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex: 1;
}
.u-upload__wrap__preview.data-v-49deb6f2 {
border-radius: 2px;
margin: 0 8px 8px 0;
position: relative;
overflow: hidden;
display: flex;
flex-direction: row;
}
.u-upload__wrap__preview__image.data-v-49deb6f2 {
width: 80px;
height: 80px;
}
.u-upload__wrap__preview__other.data-v-49deb6f2 {
width: 80px;
height: 80px;
background-color: #f2f2f2;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.u-upload__wrap__preview__other__text.data-v-49deb6f2 {
font-size: 11px;
color: #909193;
margin-top: 2px;
}
.u-upload__deletable.data-v-49deb6f2 {
position: absolute;
top: 0;
right: 0;
background-color: #373737;
height: 14px;
width: 14px;
display: flex;
flex-direction: row;
border-bottom-left-radius: 100px;
align-items: center;
justify-content: center;
z-index: 3;
}
.u-upload__deletable__icon.data-v-49deb6f2 {
position: absolute;
-webkit-transform: scale(0.7);
transform: scale(0.7);
top: 0px;
right: 0px;
}
.u-upload__success.data-v-49deb6f2 {
position: absolute;
bottom: 0;
right: 0;
display: flex;
flex-direction: row;
border-style: solid;
border-top-color: transparent;
border-left-color: transparent;
border-bottom-color: #5ac725;
border-right-color: #5ac725;
border-width: 9px;
align-items: center;
justify-content: center;
}
.u-upload__success__icon.data-v-49deb6f2 {
position: absolute;
-webkit-transform: scale(0.7);
transform: scale(0.7);
bottom: -10px;
right: -10px;
}
.u-upload__status.data-v-49deb6f2 {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.u-upload__status__icon.data-v-49deb6f2 {
position: relative;
z-index: 1;
}
.u-upload__status__message.data-v-49deb6f2 {
font-size: 12px;
color: #FFFFFF;
margin-top: 5px;
}
.u-upload__button.data-v-49deb6f2 {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
background-color: #f4f5f7;
border-radius: 2px;
margin: 0 8px 8px 0;
box-sizing: border-box;
}
.u-upload__button__text.data-v-49deb6f2 {
font-size: 11px;
color: #909193;
margin-top: 2px;
}
.u-upload__button--hover.data-v-49deb6f2 {
background-color: #e6e7e9;
}
.u-upload__button--disabled.data-v-49deb6f2 {
opacity: 0.5;
}
<view class="function data-v-71e217db"></view> <view class="function data-v-71e217db"><com-tabbar vue-id="6b3d36ea-1" class="data-v-71e217db" bind:__l="__l"></com-tabbar></view>
\ No newline at end of file \ No newline at end of file
{ {
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
"usingComponents": {} "navigationStyle": "custom",
"usingComponents": {
"u-swiper": "/node-modules/uview-ui/components/u-swiper/u-swiper"
}
} }
\ No newline at end of file
<view class="content"><image class="logo" src="/static/logo.png" data-event-opts="{{[['tap',[['jump',['$event']]]]]}}" bindtap="__e"></image><view class="text-area"><text class="title">{{title}}</text></view></view> <view class="content data-v-57280228"><image class="logo data-v-57280228" src="/static//icon/sytb.png" data-event-opts="{{[['tap',[['jump',['$event']]]]]}}" bindtap="__e"></image><view style="{{'height:'+('calc('+globalData.statusBarHeight+'rpx + 158rpx)')+';'}}" class="data-v-57280228"></view><view class="content-swiper data-v-57280228"><u-swiper vue-id="8dd740cc-1" list="{{swiperList}}" keyName="img" autoplay="{{true}}" height="300rpx" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" class="data-v-57280228" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator data-v-57280228" slot="indicator"><block wx:for="{{swiperList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['indicator__dot','data-v-57280228',index===current&&'indicator__dot--active']}}"></view></block></view></u-swiper></view><view class="content-matter data-v-57280228"><view class="content-matter-market data-v-57280228"><view class="data-v-57280228"></view><view class="data-v-57280228">用户需求广场</view></view><block wx:for="{{50}}" wx:for-item="v" wx:for-index="index"><view class="content-matter-marketplace data-v-57280228"><image src="/static//icon/sytb.png" mode class="data-v-57280228"></image><view class="content-matter-marketplace-bazaar data-v-57280228"><view class="data-v-57280228">灯泡灯芯坏了</view><view class="data-v-57280228">说明:有一个字不是特别亮,希望换一盏灯希望换一盏灯希望换一盏灯</view><view class="data-v-57280228"><text class="data-v-57280228">维修时间:</text><text class="data-v-57280228">2023-02-23</text></view></view></view></block></view><com-navbar vue-id="8dd740cc-2" leftIcon="{{false}}" homeShow="{{false}}" bgColor="transparent" title="首页" titleStyle="{{({color:'#FFFFFF',fontSize:'32rpx'})}}" class="data-v-57280228" bind:__l="__l"></com-navbar><com-tabbar vue-id="8dd740cc-3" class="data-v-57280228" bind:__l="__l"></com-tabbar></view>
\ No newline at end of file \ No newline at end of file
.content { page {
display: flex; background-color: #f3f4f6;
flex-direction: column; }
align-items: center;
justify-content: center; @charset "UTF-8";
} /**
.logo { * 这里是uni-app内置的常用样式变量
height: 200rpx; *
width: 200rpx; * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
margin-top: 200rpx; * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
margin-left: auto; *
margin-right: auto; */
margin-bottom: 50rpx; /**
} * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
.text-area { *
display: flex; * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
justify-content: center; */
} /* 颜色变量 */
.title { /* 行为相关颜色 */
font-size: 36rpx; /* 文字基本颜色 */
color: #8f8f94; /* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.content.data-v-57280228 {
display: flex;
flex-direction: column;
justify-content: center;
}
.content-swiper.data-v-57280228 {
height: 280rpx;
background: #d8d8d8;
border-radius: 10rpx;
overflow: hidden;
width: calc(100% - 20rpx * 2);
margin: 0rpx 20rpx 0rpx;
}
.content-matter.data-v-57280228 {
margin: 28rpx 20rpx 50rpx;
}
.content-matter-market.data-v-57280228 {
display: flex;
align-items: center;
margin-bottom: 20rpx;
}
.content-matter-market > view.data-v-57280228:nth-child(1) {
width: 6rpx;
height: 36rpx;
background: linear-gradient(180deg, #2C66FF 0%, #579FFF 100%);
border-radius: 3rpx;
margin-right: 14rpx;
}
.content-matter-market > view.data-v-57280228:nth-child(2) {
font-size: 28rpx;
font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
font-weight: 500;
color: #333333;
}
.content-matter-marketplace.data-v-57280228 {
display: flex;
background-color: #ffffff;
border-radius: 8rpx;
padding: 20rpx;
margin-bottom: 20rpx;
}
.content-matter-marketplace > image.data-v-57280228 {
width: 170rpx;
height: 170rpx;
margin-right: 20rpx;
}
.content-matter-marketplace-bazaar.data-v-57280228 {
width: 460rpx;
}
.content-matter-marketplace-bazaar > view.data-v-57280228:nth-child(1) {
font-size: 28rpx;
font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
font-weight: 700;
color: #333333;
margin-top: 8rpx;
}
.content-matter-marketplace-bazaar > view.data-v-57280228:nth-child(2) {
margin-top: 6rpx;
font-size: 24rpx;
font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
font-weight: 400;
color: #444444;
}
.content-matter-marketplace-bazaar > view.data-v-57280228:nth-child(3) {
margin-top: 9rpx;
font-size: 20rpx;
font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
font-weight: 400;
color: #5281FF;
}
.logo.data-v-57280228 {
width: 100%;
height: 340rpx;
position: absolute;
z-index: -1;
top: 0%;
left: 0%;
}
.text-area.data-v-57280228 {
display: flex;
justify-content: center;
}
.title.data-v-57280228 {
font-size: 36rpx;
color: #8f8f94;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment