Commit 73835638 authored by Facius's avatar Facius
parents b9c0e34f 3215f24e
Pipeline #2979 canceled with stages
......@@ -9,7 +9,8 @@
</view>
<!-- 滚动区域 -->
<view class="scroll-panel" id="scroll-panel">
<view class="list-box">
<NoData v-if="noData" :text="noDataText" customStyle="margin-top: 0rpx;" :imageName="noDataImage" />
<view class="list-box" v-else>
<view class="left">
<scroll-view scroll-y :style="{ width: '100%', height: '100%' }">
<view class="item" :class="{ active: index == leftIndex }" v-for="(item, index) in leftArray" :id="item.classA" :key="index" @click="leftTap(item, index)">
......@@ -83,6 +84,7 @@
</template>
<script>
import NoData from '@/components/no-data';
import QuotedPriceStep from '../components/quoted-price-step.vue';
import UniCollapse from '@/components/uni-collapse/uni-collapse.vue';
import UniCollapseItem from '@/components/uni-collapse-item/uni-collapse-item.vue';
......@@ -93,9 +95,11 @@ import CartPopup from './components/cart-popup.vue';
import { mapGetters } from 'vuex';
import { getOffer } from '@/api/bill/quoted-price.js';
export default {
components: { QuotedPriceStep, UniCollapse, UniCollapseItem, QuotedPriceTips, CollapseBody, ShoppingCart, CartPopup },
components: { NoData,QuotedPriceStep, UniCollapse, UniCollapseItem, QuotedPriceTips, CollapseBody, ShoppingCart, CartPopup },
data() {
return {
noDataText: '当前暂无内容',
noDataImage: 'bill/wuzhangdanneirong@3x.png',
form: {
serviceType: '',
brandCode: '',
......@@ -110,14 +114,18 @@ export default {
topArr: [],
leftIndex: 0,
shoppingCartList: [], // 购物车商品
cartShow: false
cartShow: false,
loaded: false,
};
},
computed: {
...mapGetters(['quotedPriceTooltip'])
...mapGetters(['quotedPriceTooltip']),
// mainData(){
// return this.totalArray[this.leftIndex]
// }
// },
noData() {
return (this.totalArray || []).length == 0 && this.loaded;
}
},
onLoad(options) {
if (options) {
......@@ -304,6 +312,7 @@ export default {
console.log(e);
//TODO handle the exception
}
this.loaded=true
},
/* 左侧导航点击 */
leftTap(item, index) {
......
......@@ -4,7 +4,7 @@
<view class="quick-color-cancel" :style="{ 'padding-top': platform == '3' ? 0 : statusBarHeight + 'px' }"><u-icon name="close" @click="toIndex"></u-icon></view>
</view>
<view class="quick-background">
<image src="/static/image/login/startup/denglulogo@3x.png" mode="" class="quick-background-logo"></image>
<image :src="logoImage" mode="" class="quick-background-logo"></image>
<image src="/static/image/index/shiyongbanshou@3x.png" mode="" class="quick-background-slogn"></image>
</view>
<view class="quick-mark">
......@@ -42,11 +42,13 @@
</template>
<script>
import { baseUrl } from '@/utils/config.js';
import { mapGetters } from 'vuex';
export default {
components: {},
data() {
return {
logoImage:baseUrl+'login-logo@3x.png',
agree: false,
statusBarHeight: 20,
loading: false
......@@ -202,13 +204,13 @@ export default {
align-items: center;
flex-direction: column;
&-logo {
width: 144upx;
height: 144upx;
width: 216upx;
height: 216upx;
}
&-slogn {
width: 362upx;
height: 38upx;
margin-top: 46upx;
margin-top: 10upx;
}
}
&-mark {
......
......@@ -4,7 +4,7 @@
<view class="quick-color-cancel" :style="{ 'padding-top': platform == '3' ? 0 : statusBarHeight + 'px' }"><u-icon name="close" @click="toIndex"></u-icon></view>
</view>
<view class="quick-background">
<image src="/static/image/index/denglulogo@3x.png" mode="" class="quick-background-logo"></image>
<image :src="logoImage" mode="" class="quick-background-logo"></image>
<image src="/static/image/index/shiyongbanshou@3x.png" mode="" class="quick-background-slogn"></image>
</view>
<view class="quick-mark">
......@@ -19,6 +19,7 @@
</view>
</template>
<script>
import { baseUrl } from '@/utils/config.js';
import log from '@/utils/log.js';
import { showToast } from '@/utils/common.js';
import { mapGetters } from 'vuex';
......@@ -26,6 +27,7 @@ export default {
components: {},
data() {
return {
logoImage:baseUrl+'login-logo@3x.png',
needAuth: true,
list: [
{
......@@ -445,13 +447,13 @@ export default {
align-items: center;
flex-direction: column;
&-logo {
width: 144upx;
height: 144upx;
width: 216upx;
height: 216upx;
}
&-slogn {
width: 362upx;
height: 38upx;
margin-top: 46upx;
margin-top: 10upx;
}
}
&-mark {
......
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