Commit 2ff3594f authored by Facius's avatar Facius

学习页面文件入口

parent 0c64de08
......@@ -7,7 +7,7 @@
<u-tabs-swiper bg-color="#F4F5F7" inactive-color="#999999" font-size="28" ref="uTabs" :list="tabs" :current="current" @change="tabsChange" :is-scroll="false" :bar-width="52" swiperWidth="750"></u-tabs-swiper>
<swiper class="swiper_group" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish">
<swiper-item @touchmove.stop.prevent="stopTouchMove">
<scroll-view scroll-y style="height:100%;width:100%;">
<scroll-view scroll-y style="width:100%;">
<view class="jf-currency-class">
<image :src="jianBianImg" mode="" class="current-img"></image>
<view class="class1" style="position: relative;" @click="goToPrint">
......@@ -19,6 +19,17 @@
<view class="jf-line u-margin-right-30 u-margin-top-60">去查看</view>
</view>
</view>
<view class="jf-currency-class">
<image :src="jianbianImage" mode="" class="current-img"></image>
<view class="class1" style="position: relative;" @click="goToDocument">
<image class="jf-img" :src="anzhuangwenjianImage" mode=""></image>
<view class="right u-padding-top-10 u-padding-bottom-14 jf-right">
<view class="u-font-32 font-bold u-margin-left-30 u-margin-top-30">充电桩安装文件</view>
<view class="u-font-24 u-margin-left-30 u-margin-top-30">请点击查看</view>
</view>
<view class="jf-line u-margin-right-30 u-margin-top-60 red-color">去查看</view>
</view>
</view>
</scroll-view>
</swiper-item>
<swiper-item @touchmove.stop.prevent="stopTouchMove">
......@@ -116,7 +127,7 @@
</scroll-view>
</swiper-item>
<swiper-item @touchmove.stop.prevent="stopTouchMove">
<scroll-view scroll-y style="height:100%;width:100%;">
<scroll-view scroll-y style="width:100%;">
<view class="title u-margin-top-10 u-margin-bottom-30">通用认证</view>
<view class="currency-class">
<view class="class1" @click="aaa(0)">
......@@ -488,6 +499,12 @@ export default {
bannerImage() {
return process.uniEnv.qn_base_url + "xuexibanner.png";
},
jianbianImage() {
return process.uniEnv.qn_base_url + "jianbian.png";
},
anzhuangwenjianImage() {
return process.uniEnv.qn_base_url + "anzhuangwenjian.png";
},
},
onShow: function (param) {
try {
......@@ -730,6 +747,12 @@ export default {
},
});
},
// 安装文件
goToDocument() {
this.$u.route({
url: 'pages/order/document',
})
},
//考核认证,通用认证,考试通过or未通过查询接口请求
getUserExamInfo() {
uni.hideLoading();
......@@ -923,7 +946,8 @@ export default {
.jf-currency-class {
width: 100%;
height: 180rpx;
position: absolute;
/* position: absolute; */
position: relative;
border-radius: 12rpx;
margin-top: 60rpx;
}
......@@ -1018,17 +1042,18 @@ swiper {
}
.jf-line {
display: flex;
justify-content: space-between;
width: 120rpx;
height: 52rpx;
border-radius: 26rpx;
background-color: #ffffff;
color: #2272ff;
text-align: center;
padding-left: 20rpx;
padding-top: 6rpx;
margin-top: 20rpx;
font-size: 24rpx;
line-height: 52rpx;
}
.red-color {
color: #FA5A49;
}
.u-progress {
......@@ -1126,7 +1151,7 @@ swiper {
.current-img {
width: 100%;
height: 100%;
height: 180rpx;
position: absolute;
}
......
......@@ -18,78 +18,7 @@
<view class="content">
<!-- 订单详情 -->
<view class="card base-item">
<<<<<<< HEAD
<view class="top-item">
<view class="left">
<view :class="['tag', {'active': order.orderServiceType == '安装'}]">{{ order.orderServiceType }}</view>
<text class="title">{{ order.categoryName }}</text>
</view>
<view class="right">{{ order.orderBusinessTypeText }}</view>
</view>
<view class="order-cell">
<text>工单编号:</text>
<text>{{ order.orderNumber }}</text>
</view>
<view class="order-cell">
<text>合作厂商:</text>
<text>{{ order.partnerCompanyName }}</text>
</view>
<view class="order-cell">
<text>厂商编号:</text>
<text>{{ order.partnerSerialNumber }}</text>
</view>
<view class="order-cell between-cell">
<view class="left">
<text>客户信息:</text>
<text>{{ order.contactName }}</text>
</view>
<image style="width: 84rpx;height: 56rpx;" :src="phoneIcon" @click="phoneToCustomer(order.contactPhone)" ></image>
</view>
<view class="order-cell">
<text>联系方式:</text>
<text>{{ order.contactPhone }}</text>
</view>
<view class="between-cell address-cell">
<view class="left-address">
<u-icon name="map" size="28"></u-icon>
<text class="address-txt">{{ formatAddress }}</text>
</view>
<image style="width: 84rpx;height: 56rpx;" :src="navigationIcon" @click="openLocation(order.contactAddress)"></image>
</view>
<!-- <u-read-more ref="uReadMore" :show-height="40" :shadowStyle="{paddingTop: '0rpx',marginTop: '0rpx'}" close-text="查看更多" open-text="点击收起" toggle color="#2272FF" font-size="26"> -->
<view v-if="readMore" @click="readMore = false" class="read-more-toggle">
<u-icon name="arrow-down"></u-icon>
<text class="read-more-text">查看更多</text>
</view>
<view v-else class="order-item-more">
<view class="line-view"></view>
<view class="order-cell between-cell">
<text class="cell-title">品牌:</text>
<text>{{ order.brandName }}</text>
</view>
<view class="order-cell between-cell">
<text class="cell-title">数量:</text>
<text>x{{ order.orderProductCount }}</text>
</view>
<view class="order-cell between-cell">
<text class="cell-title">充电桩信息:</text>
<text>{{ order.serviceContent }}</text>
</view>
<!-- <view class="order-cell between-cell">
<!-- <view class="order-cell between-cell">
<text>备注:</text>
<text>{{ order.serviceContent }}</text>
</view> -->
<view class="read-more-toggle">
<u-icon name="arrow-up"></u-icon>
<text class="read-more-text" @click="readMore = true">点击收起</text>
</view>
</view>
<!-- </u-read-more> -->
=======
<Detail :order="order" :readMore.sync="readMore" :operate="isAllowDianhuaAndDaohang"></Detail>
>>>>>>> origin/dev
</view>
<!-- 从我的页面进来显示结算信息 -->
<view v-if="isFromMine" class="settlement-view">
......@@ -111,12 +40,12 @@
<!-- 不是从我的页面,而是其他页面进来 -->
<view v-else>
<!-- 业务文件 -->
<view class="order-file" v-if="showFile">
<view class="order-file" v-if="showFile" @click="$u.throttle(handleClickFile, 500)">
<view class="order-file-left">
<image :src="wenjianImage" class="file-image"></image>
<text>充电桩安装业务文件</text>
</view>
<view class="order-file-right" @click="$u.throttle(handleClickFile, 500)">
<view class="order-file-right">
<text>点击查看</text>
<u-icon name="arrow-right"></u-icon>
</view>
......@@ -753,7 +682,7 @@
},
// 去业务材料页面
handleClickFile() {
this.$u.route({url: 'pages/order/document'})
},
trackOrder() {
// 接单成功事件,签到成功事件
......
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