Browse Source

统一七牛云地址

gcz 4 years ago
parent
commit
e2a163c7ef

+ 2 - 2
components/hans-tabbar/hans-tabbar.vue

@@ -57,8 +57,8 @@ export default {
 	display: block;
 	flex: 1;
 	padding: 8px 0 4px;
-	padding-bottom: calc(8px + constant(safe-area-inset-bottom));
-	padding-bottom: calc(8px + env(safe-area-inset-bottom));
+	// padding-bottom: calc(8px + constant(safe-area-inset-bottom));
+	// padding-bottom: calc(8px + env(safe-area-inset-bottom));
 	font-size: 0;
 	color: rgba(0, 0, 0, 0.5);
 	text-align: center;

+ 2 - 2
config/config.js

@@ -29,11 +29,11 @@ const config = {
 	imgUrl:"http://fqn.hongweisoft.com/cqcarbon/wxapp/",
 	//二级页面图片
 	// innerImgUrl:"../../../static/img/",
-	innerImgUrl:"http://fqn.hongweisoft.com/cqcarbon/wxapp/",
+	// innerImgUrl:"http://fqn.hongweisoft.com/cqcarbon/wxapp/",
 	// 云图片(产品)
 	onlineImg:"http://fqn.hongweisoft.com/",
 	// 七牛云
-	qnyImg:"http://fqn.hongweisoft.com/cqcarbon/wxapp/",
+	// qnyImg:"http://fqn.hongweisoft.com/cqcarbon/wxapp/",
 }
 export {
 	config

+ 2 - 2
main.js

@@ -103,10 +103,10 @@ const goback = () =>{
 
 Vue.prototype.$api = {msg,http,href,goback};
 Vue.prototype.$getimg = config.imgUrl;
-Vue.prototype.$getInnerImg = config.innerImgUrl;
+// Vue.prototype.$getInnerImg = config.innerImgUrl;
 Vue.prototype.$onlineImg = config.onlineImg;
 Vue.prototype.$placeImg = config.placeImg;
-Vue.prototype.$qnyImg = config.qnyImg;
+// Vue.prototype.$qnyImg = config.qnyImg;
 Vue.prototype.$store = store;
 Vue.prototype.config = config;
 

+ 2 - 2
pages/usercenter/certificateList/certificateList.vue

@@ -3,7 +3,7 @@
 		<mescroll-body class="certificateList-wrap" ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption" :up="upOption">
 			<view class="certificate">
 				<view v-for="(item,index) in certificateList" :key="index" class="certificate-item" @click="goCertDetails(item.fkOrderId)">
-					<image :src="$getInnerImg + 'certificate.png'" class="certificate-item-img" mode="scaleToFill"></image>
+					<image :src="$getimg + 'certificate.png'" class="certificate-item-img" mode="scaleToFill"></image>
 					<view class="certificate-item-text">
 						<view class="num">证书编号:{{item.credentialNo}}</view>
 						<view class="time">颁发日期:{{item.createTime}}</view>
@@ -27,7 +27,7 @@
 		},
 		data() {
 			return {
-				$getInnerImg:this.$getInnerImg,
+				$getimg:this.$getimg,
 				mescroll: null, // mescroll实例对象 (此行可删,mixins已默认)
 				// 下拉刷新的配置(可选, 绝大部分情况无需配置)
 				downOption: { 

+ 5 - 5
pages/usercenter/orderList/orderdetails/orderdetails.vue

@@ -6,22 +6,22 @@
 			<view class="order-info">
 				支付方式:
 				<text v-if="item.payChannel == '1'">微信支付</text>
-				<text v-if="item.payChannel == '2'">支付宝</text>
+				<text v-if="item.payChannel == '2'">支付宝</text><strong></strong>
 				<text v-if="item.payChannel == '3'">银联</text>
 				<text v-if="item.payChannel == '4'">线下支付</text>
 			</view>
 			<view class="order-info" v-if="item.payNo">支付流水号:{{item.payNo}}</view>
 			<view class="order-status">
 				<view class="status" v-if="item.orderStatus == 1 && item.state ==1">
-					<image :src="$getInnerImg+'icon-vipcard.png'" class="status-img" mode="scaleToFill"></image>
+					<image :src="$getimg+'icon-vipcard.png'" class="status-img" mode="scaleToFill"></image>
 					<text class="status-text">待付款</text>
 				</view>
 				<view class="status" v-if="item.state == 0">
-					<image :src="$getInnerImg+'icon-vipcard.png'" class="status-img" mode="scaleToFill"></image>
+					<image :src="$getimg+'icon-vipcard.png'" class="status-img" mode="scaleToFill"></image>
 					<text class="status-text">已失效</text>
 				</view>
 				<view class="status"  v-if="item.orderStatus == 2">
-					<image :src="$getInnerImg+'icon-vipcard-green.png'" class="status-img" mode="scaleToFill"></image>
+					<image :src="$getimg+'icon-vipcard-green.png'" class="status-img" mode="scaleToFill"></image>
 					<text class="status-text">已支付</text>
 				</view>
 				<view class="order-btn topay" v-if="item.orderStatus == 1&&item.state==1&&item.orderType==0" @click.stop="pay(item)">去支付</view>
@@ -45,7 +45,7 @@
 		},
 		data() {
 			return {
-				$getInnerImg:this.$getInnerImg,
+				$getimg:this.$getimg,
 				token:'',
 				tokenhead:'Bearer',
 				params: {

+ 2 - 2
pages/usercenter/question/question.vue

@@ -4,7 +4,7 @@
 			<view class="questions wrap40">
 				<view class="questions-item" v-for="(item,index) in questionlist" :key="index">
 					<view class="questions-item-til">
-						<image :src="$getInnerImg + 'icon-questions.png'" class="questions-item-img" mode="scaleToFill"></image>
+						<image :src="$getimg + 'icon-questions.png'" class="questions-item-img" mode="scaleToFill"></image>
 						<view class="questions-item-text">{{item.title}}</view>
 					</view>
 					<view class="questions-item-con">{{item.content}}</view>
@@ -27,7 +27,7 @@
 		},
 		data() {
 			return {
-				$getInnerImg:this.$getInnerImg,
+				$getimg:this.$getimg,
 				params:{},
 				mescroll: null, // mescroll实例对象 (此行可删,mixins已默认)
 				// 下拉刷新的配置(可选, 绝大部分情况无需配置)