作者 lihongjuan

1

... ... @@ -573,8 +573,8 @@
}
.searchitem {
width: 212rpx;
padding: 14rpx 70rpx;
/* width: 212rpx; */
padding: 14rpx 20rpx;
box-sizing: border-box;
background: #F7F8F8;
margin-top: 24rpx;
... ...
... ... @@ -129,7 +129,7 @@
border:2rpx solid rgba(239,227,205,1);
}
.miaojinnei{
width:60%;
/* width:60%; */
height:20rpx;
background: #FEBE73;
border-radius:18rpx;
... ...
... ... @@ -13,7 +13,8 @@
<image src="../../static/search.png" mode=""></image>
</view>
<view class="middleenter">
<input type="text" placeholder="请输入商品,店铺搜索" placeholder-class="enterk" />
请输入商品,店铺搜索
<!-- <input type="text" placeholder="请输入商品,店铺搜索" placeholder-class="enterk" /> -->
</view>
</view>
<view class="navright" @click="cartlist">
... ... @@ -390,16 +391,19 @@
<style>
@import url('../../base/homepage');
.middleenter{
color:#BDC4CE;
font-size: 24rpx;
height:60rpx;
line-height: 60rpx;
}
.content {
padding-top: calc(var(--status-bar-height) + 88rpx);
}
.status_bar {
background: ;
}
.lianxu {
color: #3D444C;
font-size: 28rpx;
... ...
... ... @@ -45,13 +45,10 @@
<view class="miaojindu flextwo">
<view class="miaojinduleft">
<view class="miaojinnei"></view>
<view class="miaojinnei" :style="{width:item.percentage+'%'}"></view>
</view>
<view class="miaojinduright">已抢60%</view>
<view class="miaojinduright">已抢{{item.percentage}}%</view>
</view>
</view>
</view>
... ...
... ... @@ -6,481 +6,146 @@
<view class="yourow">
<image src="../../static/zuorow.png" mode=""></image>
</view>
</view>
<view class="navmiddle flexone">
<view class="middleleft">
<image src="../../static/search.png" mode=""></image>
</view>
<view class="middleenter">
<input type="text" placeholder="请输入商品,店铺搜索" placeholder-class="enterk" />
<input type="text" placeholder="请输入商品,店铺搜索" placeholder-class="enterk" focus="false" @input="enterword" />
</view>
</view>
<view class="souyou">
<view class="souyou" @click="search">
搜索
</view>
</view>
<view class="searchbox">
<view class="searchbox searchbigbox">
<!-- 历史搜索 -->
<view class="commnonpadding" v-if="history">
<view class="zuijin flextwo">
<view class="zuititle">最近搜索</view>
<view class="zuiyou">清除历史搜索</view>
<view class="zuiyou" @click="clearhistory">清除历史搜索</view>
</view>
<view class="searchbox flexone">
<view class="searchitem">龙须面</view>
<view class="searchitem">龙须面</view>
<view class="searchitem">龙须面</view>
<view class="searchitem">龙须面</view>
<view class="nodata" v-if="historylist.length==0">暂无数据</view>
<view class="searchbox flexone" v-else>
<view class="searchitem" v-for="(item,index) in historylist" :key="index" @click="historywordk" :data-word="item.keyword">{{item.keyword}}</view>
<!-- <view class="searchitem" >sdsdf</view> -->
</view>
<view class="zuijin flextwo">
<view class="zuititle">热门搜索</view>
</view>
<view class="searchbox flexone">
<view class="searchitem">龙须面</view>
<view class="searchitem">龙须面</view>
<view class="searchitem">龙须面</view>
<view class="searchitem">龙须面</view>
<view class="nodata" v-if="hotlist.length==0">暂无数据</view>
<view class="searchbox flexone" v-else>
<view class="searchitem" v-for="(item,index) in hotlist" :key="index" @click="hotsearchk" :data-word="item.keyword">{{item.keyword}}</view>
</view>
</view>
<!-- 搜索店铺 -->
<!--关键字店铺 -->
<view class="commnonpadding" v-if="shopshow">
<view class="searchshopitem flexone">
<view class="searchshopitem flexone" @click="shopsearch">
<view class="searchitemimg">
<image src="../../static/searchshop.png" mode=""></image>
</view>
<view class="searchname">“南阳面”店铺</view>
<view class="searchname">“{{keyword}}”店铺</view>
</view>
<view class="searchshopitem">
<view class="searchname">南阳面粉糕</view>
<view>
</view>
<view class="searchshopitem">
<view class="searchname">南阳面粉糕</view>
<view class="searchshopitem" v-for='(item,index) in goodlist' :key="index" @click="searchgoodkl(item)">
<view class="searchname">{{item.name}}</view>
</view>
</view>
<!-- 搜索商品 -->
<view class="searchgood commnonpadding" v-if="searchgood">
<view class="searchgooditem flexone boxsizing">
<view class="gooditemleft">
<image src="../../static/goopic.png" mode=""></image>
</view>
<view class="gooditemright ">
<view class="goodsouname morehidden">商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称</view>
<view class="saleprice">¥288</view>
<view class="hui flextwo">
<view class="huiyuanprice">会员价:¥200</view>
<view class="yisale">已售76件</view>
<view class="nodata" v-if="goodlist.length==0">暂无数据</view>
<view v-else>
<view class="searchgooditem flexone boxsizing" v-for="(item,index) in goodlist" :key="index" @click="goodtail" :data-id="item.id">
<view class="gooditemleft">
<image :src="item.image" mode=""></image>
</view>
<view class="goodaddress flextwo">
<view class="goodaddressleft flexone">
<view class='addressimg'>
<image src="../../static/goodshop.png" mode=""></image>
</view>
<view class="addressname">湖北省南阳市南阳面粉厂</view>
<view class="gooditemright ">
<view class="goodsouname morehidden">{{item.name}}</view>
<view class="hui flextwo">
<view class="saleprice">¥{{item.price}}</view>
<view class="yisale">已售{{item.sales}}件</view>
</view>
<view class="goodaddressright">
265km
</view>
</view>
</view>
</view>
<view class="searchgooditem flexone boxsizing">
<view class="gooditemleft">
<image src="../../static/goopic.png" mode=""></image>
</view>
<view class="gooditemright ">
<view class="goodsouname morehidden">商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称</view>
<view class="saleprice">¥288</view>
<view class="hui flextwo">
<view class="huiyuanprice">会员价:¥200</view>
<view class="yisale">已售76件</view>
</view>
<view class="goodaddress flextwo">
<view class="goodaddressleft flexone">
<view class='addressimg'>
<image src="../../static/goodshop.png" mode=""></image>
<view class="goodaddress flextwo">
<view class="goodaddressleft flexone">
<view class='addressimg'>
<image src="../../static/goodshop.png" mode=""></image>
</view>
<view class="addressname">{{item.store_name}}</view>
</view>
<view class="addressname">湖北省南阳市南阳面粉厂</view>
</view>
<view class="goodaddressright">
265km
</view>
</view>
</view>
</view>
<view class="searchgooditem flexone boxsizing">
<view class="gooditemleft">
<image src="../../static/goopic.png" mode=""></image>
</view>
<view class="gooditemright ">
<view class="goodsouname morehidden">商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称</view>
<view class="saleprice">¥288</view>
<view class="hui flextwo">
<view class="huiyuanprice">会员价:¥200</view>
<view class="yisale">已售76件</view>
</view>
<view class="goodaddress flextwo">
<view class="goodaddressleft flexone">
<view class='addressimg'>
<image src="../../static/goodshop.png" mode=""></image>
<view class="goodaddressright">
{{item.distance}}km
</view>
<view class="addressname">湖北省南阳市南阳面粉厂</view>
</view>
<view class="goodaddressright">
265km
</view>
</view>
</view>
</view>
</view>
<!-- 搜索店铺 -->
<view class="searchshop commnonpadding">
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
<view class="searchshop commnonpadding" v-if="searchgoodk">
<view class="nodata" v-if="shoplist.length==0">暂无数据</view>
<view v-else>
<view class="searchgooditem flex boxsizing" v-for="(item,index) in shoplist" :key="index" @click="shopdetail" :data-id="item.id">
<view class="shopleftimg">
<image :src="item.image" mode=""></image>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">{{item.name}}</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
{{item.score}}
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode="" v-if="item.star>=2"></image>
<image src="../../static/kongxing.png" mode="" v-else></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode="" v-if="item.star>=4"></image>
<image src="../../static/kongxing.png" mode="" v-else></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode="" v-if="item.star>=6"></image>
<image src="../../static/kongxing.png" mode="" v-else></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode="" v-if="item.star>=8"></image>
<image src="../../static/kongxing.png" mode="" v-else></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode="" v-if="item.star>=10"></image>
<image src="../../static/kongxing.png" mode="" v-else></image>
</view>
</view>
<view class="haoping">好评率{{item.probability}}</view>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
<view class='shopli'>距离{{item.distance}}km</view>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
<view class="searchgooditem flex boxsizing">
<view class="shopleftimg">
<image src="../../static/shop.png" mode=""></image>
</view>
<view class="shopright">
<view class="shopname">湖北省南阳市南阳面粉厂</view>
<view class="shopmiddle flexone">
<view class="shopmiddleleft">
8.2
</view>
<view class="shopmiddleright">
<view class="star flex">
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/shixing.png" mode=""></image>
</view>
<view class="starimg">
<image src="../../static/kongxing.png" mode=""></image>
</view>
</view>
<view class="haoping">好评率96%</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
<image src="../../static/shopaddress.png" mode=""></image>
</view>
<view class='shopli'>距离256km</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
... ... @@ -489,14 +154,22 @@
export default {
data() {
return {
history: false,
history: true,
shopshow: false,
searchgood: false
searchgood: false,
keyword: '',
searchgoodk: false,
pages: 1,
pagek: 1,
shoplist: [],
goodlist: [],
historylist: [],
hotlist: []
}
},
onLoad() {
// 获取搜索记录
this.gethistory()
},
methods: {
... ... @@ -505,10 +178,195 @@
checked: true
})
},
// 焦点事件
// enterfocus(){
// },
onNavigationBarButtonTap(e) {
console.log(e)
console.log("success")
},
// 最近搜索
historywordk(e){
this.keyword=e.currentTarget.dataset.word;
this.history = false;
this.shopshow = true;
this.searchgood = false;
this.searchgoodk = false;
this.pages=1;
this.goodlist=[];
this.serarchgoodlist();
},
// 历史搜索
hotsearchk(e){
this.keyword=e.currentTarget.dataset.word;
this.history = false;
this.shopshow = true;
this.searchgood = false;
this.searchgoodk = false;
this.pages=1;
this.goodlist=[];
this.serarchgoodlist();
},
// 输入关键字搜索
enterword(e) {
this.keyword = e.detail.value;
console.log(3348439090);
console.log(this.keyword)
if(this.keyword!=""){
this.history = false;
this.shopshow = true;
this.searchgood = false;
this.searchgoodk = false;
this.pages=1;
this.goodlist=[]
this.serarchgoodlist();
}
},
// 获取搜索记录
gethistory() {
let that = this;
var url = 'store/store_search_log';
var params = {
}
app.post(url, params).then((res) => {
console.log(res);
that.historylist = res.data.data;
console.log(that.historylist)
}).catch((err) => {
})
},
// 点击店铺名称去搜索
shopsearch() {
if(this.keyword!==''){
this.history = false;
this.shopshow = false;
this.searchgood = false;
this.searchgoodk = true;
this.serachshop();
}
},
// 清空历史记录
clearhistory() {
let that = this;
uni.showModal({
title: '提示',
content: '是否删除历史记录',
success: function(res) {
if (res.confirm) {
var url = 'store/clear_search_log';
var params = {
}
app.post(url, params).then((res) => {
console.log(res);
uni.showToast({
title: "删除历史记录成功",
icon: "none"
})
that.gethistory()
}).catch((err) => {
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
// 点商品名去搜索
searchgoodkl(item){
this.keyword=item.name;
this.history = false;
this.shopshow = false;
this.searchgood = true;
this.searchgoodk = false;
this.pagek=1;
this.goodlist=[]
this.serarchgoodlist()
},
// 获取热门搜索
gethotlist() {
let that = this;
var url = 'store/hot_search_log';
var params = {}
app.post(url, params).then((res) => {
console.log(res);
that.hotlist = res.data.data;
}).catch((err) => {
})
},
// 搜索店铺
serachshop() {
let that = this;
var url = 'store/get_store_list';
var params = {
keyword: that.keyword,
page: that.pages,
pageNum: 10
}
app.post(url, params).then((res) => {
console.log(res);
that.shoplist = that.shoplist.concat(res.data.data);
}).catch((err) => {
})
},
// 进入店铺详情
shopdetail(e){
let id=e.currentTarget.dataset.id;
uni.navigateTo({
url:'/pages/nearshop/shopdetail?shopid='+id
})
},
// 搜索商品
serarchgoodlist() {
console.log(3334)
let that = this;
var url = 'store_goods/get_store_goods';
var params = {
keyword: that.keyword,
page: that.pagek,
pageNum: 10
}
console.log(params)
app.post(url, params).then((res) => {
console.log(res);
that.goodlist = that.goodlist.concat(res.data.data);
}).catch((err) => {
console.log(err)
})
},
// 进入商品详情页
goodtail(e) {
let id = e.currentTarget.dataset.id;
// type 1 面访商品 2积分商城商品
uni.navigateTo({
url: '/pages/nearshop/goodtail?id=' + id + '&type=' + 3
})
},
// 搜索
search(e) {
this.keyword = e.detail.value;
},
}
}
... ... @@ -516,14 +374,49 @@
<style>
@import url('../../base/homepage');
/* .status_bar {
height: var(--status-bar-height);
width: 100%;
background: #fff;
position: fixed;
top: 0;
left: 0;
z-index: 3;
} */
.searchbigbox {
margin-top: 150rpx !important;
}
.searchshoptop {
padding: 40rpx 0;
box-sizing: border-box;
border-bottom: 1rpx solid #f5f5f5;
}
.searchshopimg {
widht: 32rpx;
height: 32rpx;
font-size: 0;
}
.searchkshopname {
color: #232323;
font-size: 28rpx;
margin-left: 4rpx;
}
.searchbox {
margin-top: 120rpx;
/* margin-top: 120rpx; */
}
.searchnav{
.searchnav {
position: fixed;
top: var(--status-bar-height);
left: 0;
z-index:999
/* top: var(--status-bar-height); */
z-index: 999
/* top: var(--status-bar-height); */
}
</style>
... ...
... ... @@ -372,6 +372,7 @@
if (value.id == item.id) {
value.sel = !value.sel;
that.$forceUpdate()
if (value.sel == true) {
that.arr.push(1)
that.total = that.total * 100 / 100 + value.score_goods.price * 100 / 100 * value.number;
... ... @@ -733,7 +734,6 @@
})
},
},
}
</script>
... ...
... ... @@ -557,6 +557,7 @@
this.arr.push(newspecarr[parindex].spec_value[childindex].spec_value_id);
// console.log(this.spec_sku_id)
this.specarr = newspecarr;
this.$forceUpdate()
// console.log(this.specarr[parindex].spec_value[childindex].sel)
console.log(JSON.stringify(this.specarr))
... ... @@ -737,20 +738,22 @@
obj.goods_id=that.goodtail.id;
obj.spec_sku_id=that.spec_sku_id.join("_");
obj.number=that.cartnumber;
console.log(obj)
var data=[];
data.push(obj)
console.log('获取的参数', that.data)
console.log('获取的参数', data)
var params = {
data: JSON.stringify(data),
}
console.log(params)
app.post(url, params, "post").then((res) => {
console.log(res);
console.log(res.data.data);
let seldata = JSON.stringify(that.data)
let seldata = JSON.stringify(data)
uni.setStorageSync("goodinfo", res.data.data);
uni.navigateTo({
url: '/pages/nearshop/sureorder?seldata=' + seldata
url: '/pages/nearshop/sureorder?seldata='+seldata
})
}).catch((err) => {
console.log(err);
... ... @@ -758,11 +761,9 @@
title:err.msg,
icon:"none"
})
})
},
}
}
</script>
... ...
... ... @@ -63,6 +63,8 @@
</view>
<view class="haoping">好评率{{item.probability}}</view>
</view>
</view>
<view class="shopdizhi flexone">
<view class="shopdiimg">
... ...
... ... @@ -260,7 +260,7 @@
<!-- 购买弹层 -->
<view class="register" @click="hidebuy" v-if="buyshow">
<view class="buywrap boxsizing">
<view class="buywrap boxsizing" @click.stop="stopclickwrap">
<view class="buyname">订单总额</view>
<view class="buymoney">{{goodinfo.total}}</view>
<view class='buybox'>
... ... @@ -399,7 +399,8 @@
}
},
onLoad(options) {
console.log(38349403)
console.log(38349403,options)
this.goodinfo=uni.getStorageSync("goodinfo");
this.seldata=JSON.parse(options.seldata)
... ... @@ -414,6 +415,10 @@
},
methods: {
// 阻止购买弹层取消
stopclickwrap(){
},
// 选择支付方式
paytype(e){
... ...