Commit ccbe6ea2 authored by 刘文虎's avatar 刘文虎

移除部分图标

parent cdb8ed86
......@@ -4,7 +4,7 @@
"configurations": [{
"app-plus" :
{
"launchtype" : "remote"
"launchtype" : "local"
},
"default" :
{
......
......@@ -7,7 +7,7 @@
<view class="billing-category-item" :class="{ active: item.id === checked }" v-for="(item, index) in swiper" :key="index" @click="handleCheck(item)">
<view class="billing-category-item-icon">
<image :src="billStaticBaseUrl + item.recordSelectedIcon" mode="" v-if="item.id === checked || item.id === 'setting'"></image>
<image :src="billStaticBaseUrl + item.recordIcon" mode="" v-else></image>
<image :src="billBaseUrl + item.recordIcon" mode="" v-else></image>
</view>
<view class="billing-category-item-text ellipsis" :class="{'billing-category-item-setting':item.id === 'setting'}">
<text>{{ item.name }}</text>
......@@ -23,7 +23,7 @@
<script>
import UniSwiperDot from '@/uni_modules/uni-swiper-dot/components/uni-swiper-dot/uni-swiper-dot.vue';
import { billStaticBaseUrl } from '@/utils/config.js';
import { billStaticBaseUrl,billBaseUrl } from '@/utils/config.js';
export default {
name: 'billing-category',
components: {
......@@ -42,6 +42,7 @@ export default {
data() {
return {
billStaticBaseUrl,
billBaseUrl,
duration: 500,
current: 0,
mode: 'round',
......
......@@ -31,7 +31,7 @@
</template>
<script>
import { billStaticBaseUrl } from '@/utils/config.js'
import { billBaseUrl } from '@/utils/config.js'
import { formatCount } from '@/utils/common.js'
export default {
......@@ -54,7 +54,7 @@ export default {
},
computed: {
image() {
return billStaticBaseUrl + this.info.classification.bookIcon
return billBaseUrl + this.info.classification.bookIcon
},
beizhutuImage() {
return process.uniEnv.qn_base_url + 'beizhutu-n@3x.png'
......
......@@ -59,7 +59,7 @@
</template>
<script>
import { billStaticBaseUrl } from '@/utils/config.js'
import { billBaseUrl } from '@/utils/config.js'
import { formatCount } from '@/utils/common.js'
export default {
......@@ -82,7 +82,7 @@ export default {
},
computed: {
image() {
return billStaticBaseUrl + this.info.icon
return billBaseUrl + this.info.icon
},
},
......
......@@ -138,6 +138,7 @@ export default {
})
},
fail: (err) => {
console.log("saveImageToPhotosAlbum:fail",err)
// #ifdef APP-PLUS
if (err.errCode == 2) {
return
......@@ -159,11 +160,14 @@ export default {
},
})
}
console.log('saveUrl==='+this.saveUrl)
if (this.saveUrl) {
console.log('this.currentBlock')
this.currentBlock(this.saveUrl)
} else {
this.posterSave = this.currentPosterSave
}
uni.hideLoading()
},
},
}
......
This diff is collapsed.
{
"name" : "扳手记账",
"name" : "account-book",
"appid" : "__UNI__EDB8C7C",
"description" : "",
"versionName" : "1.0.1",
......@@ -32,18 +32,20 @@
"Maps" : {},
"Push" : {}
},
"safearea": {
"bottom": {
"offset": "none"
}
},
"safearea" : {
"bottom" : {
"offset" : "none"
}
},
/* 应用发布信息 */
"distribute" : {
"debug" : true,
/* android打包配置 */
"android" : {
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
......@@ -57,8 +59,7 @@
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>"
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"autoSdkPermissions" : false,
......@@ -115,18 +116,7 @@
"appkey_android" : "6f92327cbdcd93ca769a62676ba69e78"
}
},
"push" : {
"unipush" : {
"version" : "2",
"offline" : true,
"hms" : {},
"oppo" : {},
"vivo" : {},
"mi" : {},
"meizu" : {},
"fcm" : {}
}
}
"push" : {}
},
"icons" : {
"android" : {
......
......@@ -4,7 +4,7 @@
<view class="card">
<view class="card-icon">
<view class="card-icon-image">
<image :src="billStaticBaseUrl + detail.classification.bookDetailIcon" mode="" v-if="detail.classification && detail.classification.bookDetailIcon"></image>
<image :src="billBaseUrl + detail.classification.bookDetailIcon" mode="" v-if="detail.classification && detail.classification.bookDetailIcon"></image>
</view>
</view>
<view class="card-head">
......@@ -45,7 +45,7 @@
import AbButton from '@/components/common/ab-button.vue';
import PopInput from '@/components/pop-input-view';
import BillingDetails from '@/components/billing-daily/billing-daily.vue';
import { billStaticBaseUrl, billBaseUrl } from '@/utils/config.js';
import { billBaseUrl } from '@/utils/config.js';
import { get } from '@/api/bill/index.js';
import { deleteByIds } from '@/api/bill/daily.js';
export default {
......@@ -56,7 +56,7 @@ export default {
},
data() {
return {
billStaticBaseUrl,
billBaseUrl,
lineImage: billBaseUrl + 'fengexuxian@3x.png',
showConfirm: false,
id: '',
......
......@@ -32,7 +32,7 @@
</template>
<script>
import { billStaticBaseUrl } from '@/utils/config.js'
import { billBaseUrl } from '@/utils/config.js'
import { formatCount } from '@/utils/common.js'
export default {
......@@ -55,7 +55,7 @@ export default {
},
computed: {
image() {
return billStaticBaseUrl + (this.info.classification&&this.info.classification.bookIcon)
return billBaseUrl + (this.info.classification&&this.info.classification.bookIcon)
},
beizhutuImage() {
return process.uniEnv.qn_base_url + 'beizhutu-n@3x.png'
......
......@@ -40,7 +40,7 @@
<view class="scroll-view">
<NoData v-if="noData(index)" :text="noDataText" customStyle="margin-top: 0rpx;" :imageName="noDataImage" />
<template v-else>
<view class="container"><debit-detail v-for="item in listData" :key="item.userid" :detail="item" :current="current"></debit-detail></view>
<view class="container"><debit-detail v-for="item in listData" :key="item.customerId" :detail="item" :current="current"></debit-detail></view>
<view class="loading-view" v-if="!getCurrentPage(index).loaded && !getCurrentPage(index).freshing"><u-loading mode="flower"></u-loading></view>
<view v-show="(getCurrentPage(index).pageNumber === 1 && getCurrentPage(index).loaded) || getCurrentPage(index).pageNumber > 1">
......
<template>
<!-- 查报价 -->
<view class="choose-category">
<quoted-price-tips></quoted-price-tips>
<view class="content">
<tabs-box :checked="form.type" :list="tabList" @change="tabChange"></tabs-box>
<view class="list">
</view>
</view>
</view>
</template>
<script>
import QuotedPriceTips from '../components/quoted-price-tips.vue';
import TabsBox from '../components/tabs-box.vue';
import { mineBaseUrl, billBaseUrl } from '@/utils/config.js';
import { tabsOptions } from '@/utils/options/bill/quoted-price.js';
export default {
components: {
QuotedPriceTips,
TabsBox
},
data() {
return {
arrowUrl: billBaseUrl + 'meidi@3x.png',
tabList: tabsOptions,
form: {
type: 0
}
};
},
methods: {
next(item) {
uni.navigateTo({
animationType:'pop-in',
url: `./choose-category/choose-category?id=${item.id}`
});
},
tabChange(params) {
let { item, index } = params;
this.form.type = index;
}
}
};
</script>
<style lang="scss" scoped>
.choose-category {
padding: 0 24upx;
display: flex;
flex-direction: column;
height: 100vh;
padding-bottom: 24upx;
.content {
flex: 1;
width: 100%;
display: flex;
overflow: hidden;
.list{
flex: 1;
height: 100%;
background-color: #ffffff;
padding:0 24upx;
}
}
}
</style>
......@@ -63,7 +63,7 @@ export default {
console.log('cart-popup,$event', e);
console.log('cart-popup, item', item);
this.$set(item, 'num', e.value);
let list=this.deepClone(this.list)
let list=[...this.list]
list.forEach((item, index) => {
if (item.num === 0) {
// 当数量为0时,删除当前项
......
......@@ -14,7 +14,7 @@
</view>
<view class="tooltip" slot="content">
<text>点击可以加入计算器算出收费</text>
<u-icon name="close" class="tooltip-icon" @click.stop="close"></u-icon>
<u-icon name="close" class="tooltip-icon" @click="close"></u-icon>
</view>
</zb-tooltip>
</view>
......
......@@ -27,7 +27,7 @@
</view>
<view class="goods-list">
<view class="collapse">
<view v-for="(item2, index2) in mainData.children" :key="item2.classB">
<view v-for="(item2, index2) in mainData.children" :key="index2">
<view class="collapse-title" @click="openCollapse(item2)">
<view class="collapse-title-left">{{ item2.classBProject }}</view>
<view class="collapse-title-right">
......@@ -260,7 +260,7 @@ export default {
let res = await getOffer(this.form);
let { code, data, msg } = res;
//第一层
let newList = this.deepClone(data);
let newList = JSON.parse(JSON.stringify(data));
// 去重
newList = this.uniqueFunc(newList, 'classA');
// 移除 "备件费"
......@@ -305,7 +305,6 @@ export default {
});
// 总列表赋值
this.totalArray = newList;
console.log(this.totalArray);
// 右侧列表赋值
this.mainData = this.totalArray[this.leftIndex];
} catch (e) {
......
......@@ -143,7 +143,7 @@ export default {
size: 20,
loadStatus: 'loading',
triggered: true,
_freshing: false,
freshing: false,
loadingCard: false,
currentIndex: 0,
shareImage: ''
......@@ -214,7 +214,7 @@ export default {
}
},
onLoad() {
this._freshing = false
this.freshing = false
this.initInfo()
uni.$on('card-refresh', (res) => {
this.initInfo()
......@@ -236,8 +236,8 @@ export default {
this.getBusinessCardRecord()
},
onRefresh() {
if (this._freshing) return
this._freshing = true
if (this.freshing) return
this.freshing = true
this.initInfo()
},
onRestore() {
......@@ -290,9 +290,9 @@ export default {
}
setTimeout(()=> {
this.$nextTick(() => {
if (this._freshing) {
if (this.freshing) {
this.triggered = false
this._freshing = false
this.freshing = false
}
})
}, 500)
......
......@@ -174,7 +174,7 @@
/>
</view>
</view>
<view class="loading-view" v-if="loading && !_freshing"
<view class="loading-view" v-if="loading && !freshing"
><u-loading mode="flower"></u-loading
></view>
</scroll-view>
......@@ -216,7 +216,7 @@ export default {
info: {},
loading: false,
triggered: true,
_freshing: false,
freshing: false,
chartData: {
categories: [],
series: [
......@@ -491,9 +491,9 @@ export default {
}
setTimeout(()=> {
this.$nextTick(() => {
if (this._freshing) {
if (this.freshing) {
this.triggered = false
this._freshing = false
this.freshing = false
}
})
}, 500)
......@@ -593,9 +593,9 @@ export default {
this.rankingList = (res.data && res.data.data) || []
setTimeout(()=> {
this.$nextTick(() => {
if (this._freshing) {
if (this.freshing) {
this.triggered = false
this._freshing = false
this.freshing = false
}
})
}, 500)
......@@ -672,8 +672,8 @@ export default {
this.reloadData()
},
onRefresh() {
if (this._freshing) return
this._freshing = true
if (this.freshing) return
this.freshing = true
this.reloadData()
},
onRestore() {
......
......@@ -148,7 +148,7 @@ export default {
},
list: [],
triggered: true,
_freshing: false,
freshing: false,
systemInfo: {},
isVipShare: false,
shareSuccess: false,
......@@ -264,7 +264,7 @@ export default {
const q = decodeURIComponent(options.q); // 获取到二维码原始链接内容
console.log(q);
}
this._freshing = false;
this.freshing = false;
uni.$on('bill-list-reload', res => {
setTimeout(() => {
this.initInfo();
......@@ -394,9 +394,9 @@ export default {
this.list = res.data;
setTimeout(()=> {
this.$nextTick(() => {
if (this._freshing) {
if (this.freshing) {
this.triggered = false;
this._freshing = false;
this.freshing = false;
}
})
......@@ -407,8 +407,8 @@ export default {
});
},
onRefresh() {
if (this._freshing) return;
this._freshing = true;
if (this.freshing) return;
this.freshing = true;
this.initInfo();
},
onRestore() {
......
......@@ -290,7 +290,7 @@ export default {
if (options && options.billId) {
this.billId = options.billId;
}
this._freshing = false;
this.freshing = false;
if (this.billId) {
this.repairDetail();
......
......@@ -160,7 +160,7 @@
</u-button>
</view>
</view>
<view class="loading-view" v-if="loading && !_freshing"
<view class="loading-view" v-if="loading && !freshing"
><u-loading mode="flower"></u-loading
></view>
<PopNormal
......@@ -206,7 +206,7 @@ export default {
current: 0,
buttonLoading: false,
triggered: true,
_freshing: false,
freshing: false,
}
},
computed: {
......@@ -428,9 +428,9 @@ export default {
this.loading = false
setTimeout(()=> {
this.$nextTick(() => {
if (this._freshing) {
if (this.freshing) {
this.triggered = false
this._freshing = false
this.freshing = false
}
})
}, 500)
......@@ -440,8 +440,8 @@ export default {
})
},
onRefresh() {
if (this._freshing) return
this._freshing = true
if (this.freshing) return
this.freshing = true
this.repairDetail()
},
onRestore() {
......
......@@ -55,7 +55,7 @@
<NoData v-else-if="!loading" customStyle="margin-top:100rpx" :image="currentNoData.image" :text="currentNoData.text" />
</scroll-view>
</view>
<view class="loading-view" v-if="loading && !_freshing"><u-loading mode="flower"></u-loading></view>
<view class="loading-view" v-if="loading && !freshing"><u-loading mode="flower"></u-loading></view>
<PopExport :visible.sync="visible" @confirm="handleClickConfirm" />
<FabView @click="handleClickFab" v-if="!customerId" />
<u-toast ref="uToast" />
......@@ -96,7 +96,7 @@ export default {
visible: false,
loadStatus: 'loading',
triggered: true,
_freshing: false,
freshing: false,
current: 1,
size: 10
};
......@@ -147,7 +147,7 @@ export default {
uni.$on('maintain-bill-list', res => {
this.reloadList();
});
this._freshing = false;
this.freshing = false;
this.reloadList();
},
onUnload() {
......@@ -195,9 +195,9 @@ export default {
}
setTimeout(()=> {
this.$nextTick(() => {
if (this._freshing) {
if (this.freshing) {
this.triggered = false;
this._freshing = false;
this.freshing = false;
}
});
}, 500)
......@@ -209,8 +209,8 @@ export default {
});
},
onRefresh() {
if (this._freshing) return;
this._freshing = true;
if (this.freshing) return;
this.freshing = true;
this.reloadList();
},
onRestore() {
......
......@@ -9,6 +9,7 @@
:height="height"
:option="option"
:size="size"
:count="count"
:formats="formats"
:debug="debug"
:instantly="instantly"
......@@ -76,6 +77,8 @@ export default {
formats: 'xls,xlsx',
// 文件上传大小限制
size: 20,
// 文件上传个数
count:1,
// 文件回显列表
files: new Map(),
// 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
......@@ -89,6 +92,7 @@ export default {
...mapGetters(['platform'])
},
methods: {
selectFile() {
wx.chooseMessageFile({
count: this.currentCount,
......
......@@ -9,26 +9,63 @@
<package-card title="上传账单">
<upload-bill></upload-bill>
</package-card>
<PopInput title="提醒" type="text" sureText="前往设置" cancelText="返回" :showCancel="true" :content="uploadConent" :visible.sync="showConfirm" @cancel="handleCancel" @click="handleConfirm" />
</view>
</template>
<script>
import PopInput from '@/components/pop-input-view';
import PackageCard from './components/package-card.vue';
import Process from './components/process.vue';
import DownloadTemplate from './components/download-template.vue';
import UploadBill from './components/upload-bill.vue';
import permision from "@/js_sdk/wa-permission/permission.js"
import { mapGetters } from 'vuex';
export default {
components: {
PopInput,
PackageCard,
Process,
DownloadTemplate,
UploadBill,
},
data() {
return {
uploadConent:"需要使用存储空间权限,请允许。",
showConfirm:false
};
},
computed: {
...mapGetters(['platform','isIOS'])
},
onShow() {
if(this.platform==='4'&&!this.isIOS){
this.appAskAuth()
}
},
methods:{
async appAskAuth(){
console.log("appAskAuth")
try{
let res=await permision.requestAndroidPermission('android.permission.WRITE_EXTERNAL_STORAGE')
if(res!==1){
this.showConfirm=true
}else{
}
console.log("ask",res)
}catch(e){
console.log(e)
//TODO handle the exception
}
},
handleConfirm(){
permision.gotoAppPermissionSetting()
},
handleCancel(){
uni.navigateBack()
}
}
}
</script>
......
......@@ -19,7 +19,7 @@
>
<view class="item-view">
<view class="left-view">
<view class="image-view"><image :src="billStaticBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="image-view"><image :src="billBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="name-view">{{ item.label }}</view>
</view>
</view>
......@@ -39,7 +39,7 @@
>
<view class="item-view">
<view class="left-view">
<view class="image-view"><image :src="billStaticBaseUrl + movableViewInfo.data.icon" class="image-view" v-if="movableViewInfo.data.icon"></image></view>
<view class="image-view"><image :src="billBaseUrl + movableViewInfo.data.icon" class="image-view" v-if="movableViewInfo.data.icon"></image></view>
<view class="name-view">{{ movableViewInfo.data && movableViewInfo.data.label }}</view>
</view>
</view>
......@@ -52,7 +52,7 @@
<script>
import PopInput from '@/components/pop-input-view';
import { billStaticBaseUrl } from '@/utils/config.js';
import { billBaseUrl } from '@/utils/config.js';
export default {
name: 'dragEdit',
props: ['list'],
......@@ -61,7 +61,7 @@ export default {
},
data() {
return {
billStaticBaseUrl,
billBaseUrl,
showConfirm: false,
readyDeleteIndex: null,
options: [
......
......@@ -27,7 +27,7 @@
>
<view class="item-view" @click.stop="clickCell(item, index)">
<view class="left-view">
<view class="image-view"><image :src="billStaticBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="image-view"><image :src="billBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="name-view">{{ item.label }}</view>
</view>
</view>
......@@ -48,7 +48,7 @@
>
<view class="item-view">
<view class="left-view">
<view class="image-view"><image :src="billStaticBaseUrl + movableViewInfo.data.icon" class="image-view" v-if="movableViewInfo.data.icon"></image></view>
<view class="image-view"><image :src="billBaseUrl + movableViewInfo.data.icon" class="image-view" v-if="movableViewInfo.data.icon"></image></view>
<view class="name-view">{{ movableViewInfo.data && movableViewInfo.data.label }}</view>
</view>
</view>
......@@ -63,7 +63,7 @@
import UniSwipeAction from '@/components/uni-swipe-action/uni-swipe-action.vue';
import UniSwipeActionItem from '@/components/uni-swipe-action-item/uni-swipe-action-item.vue';
import PopInput from '@/components/pop-input-view';
import { billStaticBaseUrl } from '@/utils/config.js';
import { billBaseUrl } from '@/utils/config.js';
import { mapGetters } from 'vuex';
export default {
name: 'dragEdit',
......@@ -75,7 +75,7 @@ export default {
},
data() {
return {
billStaticBaseUrl,
billBaseUrl,
showConfirm: false,
readyDeleteItem: null,
options: [
......
......@@ -3,7 +3,7 @@
<view class="edit-box-1">
<view class="list-row" v-for="(item, index) in list" :key="item.id" @click="handleClick(item)">
<view class="left-view">
<view class="image-view"><image :src="billStaticBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="image-view"><image :src="billBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="name-view">{{ item.label }}</view>
</view>
</view>
......@@ -11,14 +11,14 @@
</template>
<script>
import { billStaticBaseUrl } from '@/utils/config.js';
import { billBaseUrl } from '@/utils/config.js';
export default {
name: 'edit-box',
props: ['list', 'checked'],
components: {},
data() {
return {
billStaticBaseUrl
billBaseUrl
};
},
computed: {},
......
......@@ -8,7 +8,7 @@
<view class="list-row" @click.stop="clickCell(item)">
<view class="list-row-view list-row-left">
<view class="list-row-view-top">
<view class="list-row-view-top-image"><image :src="billStaticBaseUrl + item.icon" v-if="item.icon"></image></view>
<view class="list-row-view-top-image"><image :src="billBaseUrl + item.icon" v-if="item.icon"></image></view>
</view>
<view class="list-row-view-bottom">
......@@ -56,7 +56,7 @@ import UniSwipeActionItem from '@/components/uni-swipe-action-item/uni-swipe-act
import PopInput from '@/components/pop-input-view';
import SubmitButton from '@/components/submit-button/index.vue';
import { billStaticBaseUrl } from '@/utils/config.js';
import { billBaseUrl } from '@/utils/config.js';
import { weekOptions } from '@/utils/options/mine/timed.js';
import { getList, deleteById, enable, close } from '@/api/mine/timed.js';
export default {
......@@ -68,7 +68,7 @@ export default {
},
data() {
return {
billStaticBaseUrl,
billBaseUrl,
weekOptions,
showConfirm: false,
readyDeleteItem: null,
......
......@@ -11,7 +11,8 @@ import store from "../store/index.js"
import {
RouterMount,
createRouter
createRouter,
runtimeQuit
} from 'uni-simple-router';
let first = null;
......@@ -67,10 +68,10 @@ const router = createRouter({
msg
})
// #ifdef APP-PLUS
// if(type===3){
// router.$lockStatus=false;
// runtimeQuit();
// }
if(type===3){
router.$lockStatus=false;
runtimeQuit();
}
// #endif
},
routes: [
......
export const version = "1.0.15"
export const version = "1.0.16"
export const baseURL = "/baseapi"
export const token = "TOKEN"
export const PHONENUMBER = "PHONENUMBER"
......@@ -19,7 +19,7 @@ export const planBaseUrl = process.uniEnv.qn_base_url + 'plan/'; // 七牛云对
export const UPLOAD_FILE_HOST = process.uniEnv.qn_asset_url; // 服务器用户上传文件地址
export const billStaticBaseUrl = '/static/image/bill/'; // 七牛云对象存储图片地址-账单
export const billStaticBaseUrl = '/static/image/bill/'; // 本地保存选中时的图标
export const maintain_share_url = 'https://system.banshouhui.com/maintainqrcode' // pages/maintain-bill/show二维码地址
export const index_share_url = 'https://system.banshouhui.com/indexqrcode' // pages/index/index二维码地址
......
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