疯币改天医疗币

引导页文字修改
配置文件请求地址修改
订单列表页面样式修改
This commit is contained in:
@fawn-nine
2023-10-09 11:12:05 +08:00
parent 626c85008e
commit d4fdb37a84
18 changed files with 151 additions and 88 deletions

View File

@@ -12,7 +12,7 @@
<view class="search_box flexbox" @click="onPageJump('../peanut/searchFor')">
<view class="search">
<text class="icon_search"></text>
<text class="prompt">请输入想要搜索的书名</text>
<text class="prompt">请输入书名</text>
</view>
</view>
<!-- <view class="searBtn flexbox">
@@ -150,8 +150,8 @@
<image :src="item.image"></image>
<view class="lt_title">{{item.bookName}}</view>
<view class="lt_author">{{item.authorName}} []</view>
<view class="lt_yuan">{{item.price}}</view>
<view class="lt_xian">{{item.salePrice}}</view>
<view class="lt_yuan">{{item.price}}天医</view>
<view class="lt_xian">{{item.salePrice}}天医</view>
<b v-if="item.isVip==1" style="background: #c79119;">VIP</b>
<b v-if="item.isVip==2" style="background: #c74119;">付费</b>
</view>

View File

@@ -43,7 +43,7 @@
<view class="chong_list">
<view>
<b>{{userMes.peanutCoin}}</b>
天医
</view>
<view>
<b>{{userMes.conponsCount}}</b>

View File

@@ -66,7 +66,7 @@
<view v-for="(item, index) in paylist" @click="choseType(item.id)" class="vf_xuanx">
<image :src="item.img"></image>
{{item.title}}
<span v-if="item.id == 4" style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}币可用</span>
<span v-if="item.id == 4" style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}天医币可用</span>
<span @click.stop="buPoint" style="color: #bf0c0c; margin-left: 10px;" v-if="item.id == 4" class="chongBtn">去充值</span>
<u-radio :key="index" activeColor="#fe6e09" :name='item.id'
style="float: right;margin-top: 5rpx;"></u-radio>
@@ -135,7 +135,7 @@
// img: '../../static/icon/pay_1.png'
// },
{
title: '币充值',
title: '天医币充值',
id: 4,
img: '../../static/icon/oder_chong.png'
}
@@ -192,13 +192,13 @@
if(this.stepsVc.money > this.userMes.peanutCoin){
// uni.showToast({
// title:'币不足,请充值',
// title:'天医币不足,请充值',
// icon: 'none',
// duration: 2000
// })
uni.showModal({
title: '提示',
content: '币不足',
content: '天医币不足',
confirmText:'去充值',
showCancel:'知道了',
success: function (res) {
@@ -225,7 +225,7 @@
return false
}
},
// 充值
// 充值天医
buPoint() {
uni.navigateTo({
url: '../peanut/reCharge'

View File

@@ -9,7 +9,7 @@
<view v-for="(item, index) in cjList" @click="chosPric(item)"
:class="stepsCj.priceTypeId == item.priceTypeId?'Tab_cj cj_price':'cj_price'">
<view class="pr_jg">{{item.realMoney}}</view>
<view class="pr_yl">{{item.money}} </view>
<view class="pr_yl">{{item.money}} 天医</view>
<view class="pr_lj">限时特惠</view>
</view>
<br clear="both">

View File

@@ -9,7 +9,7 @@
<view v-for="(item, index) in cjList" @click="chosPric(item)"
:class="stepsCj.priceTypeId == item.priceTypeId?'Tab_cj cj_price':'cj_price'">
<view class="pr_jg">{{item.realMoney}}</view>
<view class="pr_yl">{{item.money}} </view>
<view class="pr_yl">{{item.money}} 天医</view>
<view class="pr_lj">限时特惠</view>
</view>
<br clear="both">

View File

@@ -31,7 +31,8 @@
<view class="selectAll">
<checkbox :checked="all" @click="isSelectAll()" class="round checkedItem" />
<text class="cartCho">全选</text>
<text class="cartDel" v-if="isCartDelShow" @click="delCart()">删除</text>
<!-- <text class="cartDel" >删除</text> -->
<button class="mini-btn" style="border-radius: 40rpx; font-size: 30rpx; height: 56rpx; line-height: 56rpx; margin-left: 6rpx;" v-if="isCartDelShow" @click="delCart()" type="warn" size="mini">删除</button>
</view>
<view class="exhibition">
<text class="total">合计: <b>{{totalPrice}}</b></text>
@@ -208,7 +209,9 @@
'Content-Type': 'application/json'
},
}).then(res => {
this.getCartList()
this.isCartDelShow = false
this.totalPrice = 0
this.getCartList()
uni.hideLoading()
})
} else {