Browse Source

上传代码

chanyi2.0
yanghao 3 years ago
parent
commit
36f3ddd251
  1. 11
      pages/course/detail.vue
  2. 31
      pages/shop/GoodsCon/index.vue
  3. BIN
      static/kefu.png

11
pages/course/detail.vue

@ -247,9 +247,6 @@
userInfo(){ userInfo(){
return this.$store.getters["userInfo"] return this.$store.getters["userInfo"]
}, },
},
mounted(){
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.getDetail() this.getDetail()
@ -405,10 +402,10 @@
}, },
sign(){ sign(){
if(!this.userInfo.spreadUid){ // if(!this.userInfo.spreadUid){
this.maskDialog = true // this.maskDialog = true
return // return
} // }
enterCourse({ enterCourse({
lessionId: this.courseId lessionId: this.courseId
}).then((res)=>{ }).then((res)=>{

31
pages/shop/GoodsCon/index.vue

@ -3,7 +3,10 @@
<view v-if="storeInfo.id"> <view v-if="storeInfo.id">
<!-- 轮播图 --> <!-- 轮播图 -->
<product-con-swiper :img-urls="storeInfo.sliderImageArr"></product-con-swiper> <product-con-swiper :img-urls="storeInfo.sliderImageArr"></product-con-swiper>
<view class="kefu-box">
<button open-type="contact"></button>
<image src="../../../static/kefu.png"></image>
</view>
<!-- 商品信息描述 --> <!-- 商品信息描述 -->
<view class="wrapper"> <view class="wrapper">
<view class="introduce">{{ storeInfo.storeName }}</view> <view class="introduce">{{ storeInfo.storeName }}</view>
@ -782,6 +785,32 @@ export default {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.kefu-box{
width: 80rpx;
height: 80rpx;
position: fixed;
top: 50%;
right: 30rpx;
background: #fff;
border-radius: 50%;
padding: 16rpx;
button{
width: 100%;
height: 100%;
opacity: 0;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
image{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
.product-con{ .product-con{
padding-bottom: 230rpx; padding-bottom: 230rpx;
.wrapper{ .wrapper{

BIN
static/kefu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Loading…
Cancel
Save