分享图标修改
commit
bab849a14e
|
@ -238,7 +238,7 @@ swiper-item view:last-child .duan-xian{border-bottom: none;}
|
||||||
.dong {height: 200rpx;border: 2rpx solid #E6E6E6;opacity: 1;}
|
.dong {height: 200rpx;border: 2rpx solid #E6E6E6;opacity: 1;}
|
||||||
/* 优惠券页面 */
|
/* 优惠券页面 */
|
||||||
.quan-btn{width: 136rpx;height: 48rpx;line-height: 48rpx;text-align: center;border-radius: 30rpx;background: #FFFFFF;color: #3875F6;margin-right: -10rpx;}
|
.quan-btn{width: 136rpx;height: 48rpx;line-height: 48rpx;text-align: center;border-radius: 30rpx;background: #FFFFFF;color: #3875F6;margin-right: -10rpx;}
|
||||||
.quan-img{width: 218rpx;height: 200rpx;left: 0;top: 0;}
|
.quan-img{width: 218rpx;height: 200rpx;left: -10rpx;top: 0;}
|
||||||
.quan-right-box{display: flex;flex-direction: column;justify-content: space-between;width: 100%;height: 200rpx;padding: 0 20rpx;background-color: #FFFFFF;}
|
.quan-right-box{display: flex;flex-direction: column;justify-content: space-between;width: 100%;height: 200rpx;padding: 0 20rpx;background-color: #FFFFFF;}
|
||||||
.quan-use{width: 94rpx;height: 94rpx;right: 20rpx;top: 20rpx;}
|
.quan-use{width: 94rpx;height: 94rpx;right: 20rpx;top: 20rpx;}
|
||||||
.quan-tk-box{position: fixed;top: 0;left: 0;bottom: 0;right: 0;background: rgba(0,0,0,.54);z-index: 3;}
|
.quan-tk-box{position: fixed;top: 0;left: 0;bottom: 0;right: 0;background: rgba(0,0,0,.54);z-index: 3;}
|
||||||
|
|
|
@ -596,17 +596,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
goThere(val){//去这里
|
goThere(val){//去这里
|
||||||
wx.getLocation({//获取当前经纬度
|
// wx.getLocation({//获取当前经纬度
|
||||||
type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
// type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
||||||
success: function (res) {
|
// success: function (res) {
|
||||||
wx.openLocation({//使用微信内置地图查看位置。
|
// wx.openLocation({//使用微信内置地图查看位置。
|
||||||
latitude: 30.67554,//要去的纬度-地址
|
// latitude: 30.67554,//要去的纬度-地址
|
||||||
longitude: 104.010642,//要去的经度-地址
|
// longitude: 104.010642,//要去的经度-地址
|
||||||
name: val,
|
// name: val,
|
||||||
address: val
|
// address: val
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
},
|
||||||
checkAddress(){//默认地址查询
|
checkAddress(){//默认地址查询
|
||||||
this.$requst.post('user/address').then(res=>{
|
this.$requst.post('user/address').then(res=>{
|
||||||
|
|
|
@ -595,17 +595,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
goThere(val){//去这里
|
goThere(val){//去这里
|
||||||
wx.getLocation({//获取当前经纬度
|
// wx.getLocation({//获取当前经纬度
|
||||||
type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
// type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
||||||
success: function (res) {
|
// success: function (res) {
|
||||||
wx.openLocation({//使用微信内置地图查看位置。
|
// wx.openLocation({//使用微信内置地图查看位置。
|
||||||
latitude: 30.67554,//要去的纬度-地址
|
// latitude: 30.67554,//要去的纬度-地址
|
||||||
longitude: 104.010642,//要去的经度-地址
|
// longitude: 104.010642,//要去的经度-地址
|
||||||
name: val,
|
// name: val,
|
||||||
address: val
|
// address: val
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
},
|
||||||
checkAddress(){//默认地址查询
|
checkAddress(){//默认地址查询
|
||||||
this.$requst.post('user/address').then(res=>{
|
this.$requst.post('user/address').then(res=>{
|
||||||
|
|
|
@ -146,12 +146,12 @@
|
||||||
this.isMo = 0;
|
this.isMo = 0;
|
||||||
this.clearAll();
|
this.clearAll();
|
||||||
// 获取当前位置的经纬度
|
// 获取当前位置的经纬度
|
||||||
wx.getLocation({
|
// wx.getLocation({
|
||||||
success:(res)=> {
|
// success:(res)=> {
|
||||||
// 逆解析经纬度
|
// // 逆解析经纬度
|
||||||
this.getDistrict(res.latitude, res.longitude)
|
// this.getDistrict(res.latitude, res.longitude)
|
||||||
},
|
// },
|
||||||
})
|
// })
|
||||||
|
|
||||||
},
|
},
|
||||||
getDistrict(latitude, longitude) {//获取当前位置的省市区县
|
getDistrict(latitude, longitude) {//获取当前位置的省市区县
|
||||||
|
|
|
@ -132,12 +132,12 @@
|
||||||
let chuo = new Date().getTime()// 获取当前时间戳
|
let chuo = new Date().getTime()// 获取当前时间戳
|
||||||
let time = this.$toolAll.tools.timestampToTime(chuo)// 转换日期格式为XXXX-XX-XX
|
let time = this.$toolAll.tools.timestampToTime(chuo)// 转换日期格式为XXXX-XX-XX
|
||||||
// 获取当前位置的经纬度
|
// 获取当前位置的经纬度
|
||||||
wx.getLocation({
|
// wx.getLocation({
|
||||||
success:(res)=> {
|
// success:(res)=> {
|
||||||
// 逆解析经纬度
|
// // 逆解析经纬度
|
||||||
this.getDistrict(res.latitude, res.longitude)
|
// this.getDistrict(res.latitude, res.longitude)
|
||||||
},
|
// },
|
||||||
})
|
// })
|
||||||
let firstObj = uni.getStorageSync('firstInfo')
|
let firstObj = uni.getStorageSync('firstInfo')
|
||||||
if(firstObj==''){
|
if(firstObj==''){
|
||||||
let obj = uni.getStorageSync('uinfo')
|
let obj = uni.getStorageSync('uinfo')
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<status-nav :titleVal="title" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="title" :statusTitle="true"></status-nav>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: (statusHeight+15)+'px'}" class="pad-zy32">
|
<view :style="{paddingTop: (statusHeight+15)+'px'}" class="pad-zy32">
|
||||||
<view class="fon28" style="color: #1A1A1A; line-height: 40rpx;">
|
<view class="fon28 mar-x50" style="color: #1A1A1A; line-height: 40rpx;">
|
||||||
<rich-text :nodes="richText"></rich-text>
|
<rich-text :nodes="richText"></rich-text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="pad-x30">
|
<view class="pad-x30">
|
||||||
<view v-if="dataList.length!=0" class="mar-x20 animated fadeInLeft" v-for="(item,index) in dataList" :key="index">
|
<view v-if="dataList.length!=0" class="mar-x20 animated fadeInLeft" v-for="(item,index) in dataList" :key="index">
|
||||||
<view style="height: 200rpx;" class="disjbac posir">
|
<view style="height: 200rpx;" class="disjbac posir">
|
||||||
<view class="disjcac fc recerve-left" style="width: 218rpx;height: 200rpx;flex-shrink: 0;text-align: center;color: #FFFFFF;">
|
<view class="disjcac fc recerve-left" style="width: 218rpx;height: 200rpx;flex-shrink: 0;text-align: center;color: #FFFFFF;">
|
||||||
|
@ -25,8 +25,8 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view>
|
||||||
<view class="posixzy bacf pad-sx25" style="background: none; bottom: 180rpx;">
|
<view class="posixzy bacf pad-sx25">
|
||||||
<view @tap="allReceive" class="fon30 radius20 tc colf bold" style="margin: 0 83rpx;height: 90rpx;line-height: 90rpx;" :style="{background:publicColor}">{{['一键领取','立即使用'][dataList[0].get]}}</view>
|
<view @tap="allReceive" class="fon30 radius20 tc colf bold" style="margin: 0 83rpx;height: 90rpx;line-height: 90rpx;" :style="{background:publicColor}">{{['一键领取','立即使用'][dataList[0].get]}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
allReceive(){
|
allReceive(){
|
||||||
if(this.dataList[0].get) {
|
if(this.dataList[0].get) {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url:'/pages/tabbar/pagehome/pagehome'
|
url:'/pagesA/coupon/coupon'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$requst.post('user/get-coupon-group',{group_id:this.groupId}).then(res=>{
|
this.$requst.post('user/get-coupon-group',{group_id:this.groupId}).then(res=>{
|
||||||
|
|
|
@ -319,17 +319,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
goThere(val){//去这里
|
goThere(val){//去这里
|
||||||
wx.getLocation({//获取当前经纬度
|
// wx.getLocation({//获取当前经纬度
|
||||||
type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
// type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
||||||
success: function (res) {
|
// success: function (res) {
|
||||||
wx.openLocation({//使用微信内置地图查看位置。
|
// wx.openLocation({//使用微信内置地图查看位置。
|
||||||
latitude: 30.67554,//要去的纬度-地址
|
// latitude: 30.67554,//要去的纬度-地址
|
||||||
longitude: 104.010642,//要去的经度-地址
|
// longitude: 104.010642,//要去的经度-地址
|
||||||
name: val,
|
// name: val,
|
||||||
address: val
|
// address: val
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,7 +182,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 分享 -->
|
<!-- 分享 -->
|
||||||
<view @tap="shareImgEv" class="detail-cart-box" style="display: flex;justify-content: center;align-items: center;width: 112rpx;height: 112rpx;border-radius: 100%;background-color: #0fac29;bottom: 160rpx;color: #FFFFFF;">
|
<view @tap="shareImgEv" class="detail-cart-box" style="display: flex;justify-content: center;align-items: center;width: 112rpx;height: 112rpx;border-radius: 100%;background-color: #0fac29;bottom: 436rpx;color: #FFFFFF;">
|
||||||
<image class="zanw-img" src="/static/public/share-pyq.png" mode="aspectFill" style="width: 64rpx;height: 81rpx;"></image>
|
<image class="zanw-img" src="/static/public/share-pyq.png" mode="aspectFill" style="width: 64rpx;height: 81rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
<!-- 购物车 -->
|
<!-- 购物车 -->
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue