细节修改

version/0412
fanfan 9 months ago
parent 23986594cb
commit 1df9675a4f
  1. 2
      pages/activity/charts.vue
  2. 6
      pages/activity/newGoods.vue
  3. 93
      pages/goods/detail.vue
  4. 4
      pages/news3/vipPrice.vue

@ -522,7 +522,7 @@
}
.look {
width: 202rpx;
width: 160rpx;
height: 60rpx;
background: #F9BD6C;
border-radius: 70rpx;

@ -38,7 +38,7 @@
</view>
</view>
<view class="lookBtn" @click="backtop">
再挑挑看
再挑挑看<u-icon name="arrow-upward" color="#242424" size="30"></u-icon>
</view>
<view class="lookJie">
本活动最终解释权为xxxxxx公司所有
@ -122,12 +122,12 @@
<style lang="scss" scoped>
.lookBtn {
width: 180rpx;
width: 190rpx;
line-height: 75rpx;
height: 75rpx;
background-color: #FFDCC3;
text-align: center;
font-size: 32rpx;
font-size: 30rpx;
border-radius: 40rpx;
margin: 30rpx auto;
color: #242424;

@ -313,40 +313,13 @@
<u-line class="u-line"></u-line>
</view>
<view class="msp">
<text>价格:</text>
<text>成本价格:</text>
<input type="text" disabled v-model="selectShop.price" class="inp" />
</view>
<view class="msp">
<text>商品价格:</text>
<input type="text" v-model="max_price" placeholder="商品价格" class="inp" />
</view>
<view class="msp">
<text>划线价格:</text>
<input type="text" v-model="markup_rate" placeholder="划线价格" class="inp" />
</view>
<!-- <view class="qj">
<text class="msQj">秒杀区间:</text>
<view class="date">
<view class="beginTime timeCommn">
开始时间
</view>
-
<view class="timeCommn endTime">
结束时间
</view>
</view>
</view> -->
<!-- <view class="msLimit">
<text>秒杀限购:</text>
<switch @change="switch1Change" />
</view>
<view class="peoLimit">
<text>每人限购</text>
<view class="num">
1
</view>
<text></text>
</view> -->
<view class="operaBtn">
<view class="cancel btnComm" @click="shareCancel(1)">
取消
@ -356,50 +329,6 @@
</view>
</view>
</view>
<!-- <view class="setMs" v-if="shareType=='setPrice'">
<view class="msprice">
设置秒杀价格
</view>
<view class="msLine">
<u-line class="u-line"></u-line>
</view>
<view class="msp">
<text>秒杀价:</text>
<input type="text" placeholder="秒杀价格可低于成本价" class="inp" />
</view>
<view class="qj">
<text class="msQj">秒杀区间:</text>
<view class="date">
<view class="beginTime timeCommn">
开始时间
</view>
-
<view class="timeCommn endTime">
结束时间
</view>
</view>
</view>
<view class="msLimit">
<text>秒杀限购:</text>
<switch @change="switch1Change" />
</view>
<view class="peoLimit">
<text>每人限购</text>
<view class="num">
1
</view>
<text></text>
</view>
<view class="operaBtn">
<view class="cancel btnComm">
取消
</view>
<view class="sureBtn btnComm">
确定
</view>
</view>
</view> -->
<!-- -->
<view class="shareWechat" v-if="shareType=='share'">
<view class="shareGoods">
<image :src="goods.goods_image" mode="" class="shareImg"></image>
@ -552,10 +481,10 @@
},
methods: {
getprice(e) {
let that=this
let that = this
let params = {
goods_id:that.goods.goods_id,
sku_id:that.goods.skuList[0].id,
goods_id: that.goods.goods_id,
sku_id: that.goods.skuList[0].id,
seckill_price: e.secondPrice,
sec_start_time: e.startTime,
sec_end_time: e.endTime,
@ -592,20 +521,21 @@
//
async toUnpdatePrice() {
const that = this;
if (!that.max_price) {
if (!that.selectShop) {
uni.showToast({
icon: "none",
title: "商品价格不能为空!"
title: "成本价格不能为空!"
})
return;
}
if (!that.markup_rate) {
if (!that.max_price) {
uni.showToast({
icon: "none",
title: "划线价格不能为空!"
title: "商品价格不能为空!"
})
return;
}
let sku_id = ""
if (that.goods.spec_type == 20) {
sku_id = that.goods.skuList[0].id
@ -999,7 +929,7 @@
bottom: 150rpx;
right: 32rpx;
width: 99rpx;
height: 99rpx;
height: 99rpx;
border-radius: 50%;
z-index: 19;
display: flex;
@ -2002,8 +1932,9 @@
color: #ffffff;
transform: translate(40%, -20%);
}
::v-deep .u-btn--primary {
background-color: #FF6257 !important;
border-color: #FF6257 !important;
}
</style>
</style>

@ -118,7 +118,7 @@
methods: {
async onSubmitProfit() {
if (!this.min_profit) {
return this.$toast('请输入最低利润')
return this.$toast('请输入最低利润')
}
let {
status,
@ -148,7 +148,7 @@
let rate = Number(e.detail.value)
if (5 >= rate) {
this.min_profit = ''
return this.$toast('最低利率不能低于等于0%')
return this.$toast('最低利不能低于等于5')
}
this.min_profit = rate

Loading…
Cancel
Save