['解决打包文件冲突']

This commit is contained in:
2021-11-04 18:02:41 +08:00
9 changed files with 76 additions and 28 deletions

View File

@@ -10,8 +10,8 @@ import router from '../router'
// 基础配置 // 基础配置
const config = { const config = {
apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 // apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境
// apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境 apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境
apiUrls : 'https://storage.lianshang.vip/', // 图片路径(测试/正式) apiUrls : 'https://storage.lianshang.vip/', // 图片路径(测试/正式)
timeout : 60000 timeout : 60000
} }

View File

@@ -156,7 +156,7 @@
line-height: 70rpx; line-height: 70rpx;
width: 50%; width: 50%;
text-align: center; text-align: center;
color: $text-price; color: $mian-color;
font-size: $title-size-lg; font-size: $title-size-lg;
font-weight: bold; font-weight: bold;
border-right: solid 1rpx $border-color; border-right: solid 1rpx $border-color;

View File

@@ -23,8 +23,7 @@
{{item.title}} {{item.title}}
</view> </view>
</view> </view>
<view class="coupon-btn">领券<image class="coupon-btn-img" src="../../static/icons/goods_row.png" <view class="coupon-btn">领券<uni-icons type="arrowright" size="12" color="#e1293f"></uni-icons></image>
mode="aspectFill"></image>
</view> </view>
</view> </view>
<view class="title"> <view class="title">

View File

@@ -83,6 +83,7 @@
<script> <script>
import { marketsInfo, marketsBuy, marketsPay } from '@/apis/interfaces/market' import { marketsInfo, marketsBuy, marketsPay } from '@/apis/interfaces/market'
import userAuth from '@/public/userAuth' import userAuth from '@/public/userAuth'
import cashierPay from '@/public/cashierPay'
export default { export default {
data() { data() {
return { return {
@@ -149,12 +150,11 @@
marketsPay(this.orderNo, this.payValue).then(res => { marketsPay(this.orderNo, this.payValue).then(res => {
switch (this.payValue){ switch (this.payValue){
case 'wechat': case 'wechat':
let payConfigObj = JSON.parse(res)
cashierPay.pay('wxpay', payConfigObj, 'market')
break break
case 'alipay': case 'alipay':
cashierPay.pay('alipay', res, 'market').then(payRes => { cashierPay.pay('alipay', res, 'market')
console.log(payRes)
})
break break
} }
}).catch(err => { }).catch(err => {

View File

@@ -7,7 +7,7 @@
<view class="title nowrap">数字权证</view> <view class="title nowrap">数字权证</view>
<view class="text nowrap">锚定商品{{info.goods.goods_name}}</view> <view class="text nowrap">锚定商品{{info.goods.goods_name}}</view>
<view class="text nowrap">提供企业{{info.goods.company.name}}</view> <view class="text nowrap">提供企业{{info.goods.company.name}}</view>
<view class="text nav-goods nowrap" @click="onGoods">查看锚定商品信息<uni-icons type="arrowright" size="12" color="#e93340"></uni-icons></view> <view class="text nav-goods nowrap" @click="onGoods">查看锚定商品信息<uni-icons type="arrowright" size="12" color="#8b64fd"></uni-icons></view>
</view> </view>
<view class="info"> <view class="info">
<view class="info-item"> <view class="info-item">
@@ -114,7 +114,7 @@
// 转让权证 // 转让权证
.buy-btn{ .buy-btn{
margin: 0 $margin; margin: 0 $margin;
background: $text-price; background: $mian-color;
color: white; color: white;
height: 90rpx; height: 90rpx;
line-height: 90rpx; line-height: 90rpx;
@@ -165,7 +165,7 @@
height: 40rpx; height: 40rpx;
line-height: 40rpx; line-height: 40rpx;
&.nav-goods{ &.nav-goods{
color: $text-price; color: $mian-color;
} }
} }
} }

View File

@@ -371,12 +371,12 @@
.value { .value {
font-size: $title-size-m; font-size: $title-size-m;
color: $text-price; color: $mian-color;
} }
} }
.button { .button {
background: $text-price; background: $mian-color;
border-radius: 0; border-radius: 0;
height: 90rpx; height: 90rpx;
line-height: 90rpx; line-height: 90rpx;
@@ -523,9 +523,8 @@
display: inline-block; display: inline-block;
text-align: center; text-align: center;
color: #fff; color: #fff;
&-cancel { &-cancel {
background-color: $text-price; background-color: $mian-color;
} }
} }
} }

View File

@@ -122,8 +122,8 @@
height: 60rpx; height: 60rpx;
line-height: 60rpx; line-height: 60rpx;
&.show{ &.show{
color: $text-price; color: $mian-color;
border-bottom: solid 4rpx $text-price; border-bottom: solid 4rpx $mian-color;
} }
} }
} }

View File

@@ -266,7 +266,9 @@
let identity = this.identitie[this.tabsIndex].identity_id let identity = this.identitie[this.tabsIndex].identity_id
vipOrder(identity, { vipOrder(identity, {
year: 1, year: 1,
}).then(res => { }).then(res => {
if (payType === 0) this.wechatAppPay(res.id) if (payType === 0) this.wechatAppPay(res.id)
if (payType === 1) this.aliPayConfig(res.id) if (payType === 1) this.aliPayConfig(res.id)
}).catch(err => { }).catch(err => {
@@ -277,7 +279,7 @@
}) })
}, },
// 支付宝支付 // 支付
aliPayConfig(orderId) { aliPayConfig(orderId) {
getAliPayConfig(orderId, { getAliPayConfig(orderId, {
type: 'app' type: 'app'

File diff suppressed because one or more lines are too long