@@ -107,7 +107,7 @@
// 商品详情
toDetail(item){
uni.navigateTo({
- url:"/pages/goods/goodsDetail?id="+item.id + "&goldLimit="+this.goldLimit
+ url:"/pagesA/goods/goodsDetail?id="+item.id + "&goldLimit="+this.goldLimit
})
}
},
@@ -167,6 +167,11 @@
uni.setNavigationBarTitle({
title: "服务协议"
+ // 开启分享
+ uni.showShareMenu({
+ withShareTicket: true,
+ menus: ['shareAppMessage', 'shareTimeline']
+ })
methods: {
@@ -30,6 +30,11 @@ export default {
onLoad(option) {
console.log(option,'option')
this.payNum = option.num
// 返回首页
@@ -106,6 +106,11 @@
this.store = JSON.parse(decodeURIComponent(opts.store))
this.partnerNo = this.store.officialPartnerNo
// console.log(this.store,'22222')
// 跳转到设置支付密码页
@@ -44,6 +44,11 @@
onLoad() {
this.pageInit()
computed: {
goodsListLength() {
@@ -123,18 +123,17 @@
uni.$on("getUserInfo",item=>{
this.getUserInfo(item)
onUnload() {
console.log('onUnload')
uni.$off('getCarCount')
uni.$off('getCartList')
uni.$off('getUserInfo')
-
- // 开启分享
- uni.showShareMenu({
- withShareTicket: true,
- menus: ['shareAppMessage', 'shareTimeline']
- })
onShareAppMessage(res) {
console.log(res)
@@ -46,6 +46,11 @@
mounted() {},
// 为解决首次登录异常问题 进入页面先调微信登录获取code
this.wxLogin()
const {
@@ -51,6 +51,11 @@
onLoad(opts) {
@@ -74,6 +74,11 @@
this.stationNo = options.stationNo
this.getStation() // 网点信息
this.getDevice() // 设备信息
// 网点信息
@@ -12,6 +12,15 @@
</template>
<script>
+ export default {
+ onLoad() {
+ },
+ }
</script>
<style lang="less">
@@ -46,6 +46,13 @@
status: 'loadmore', // 加载中状态
onShow() {
this.searchHandle(1)
@@ -19,6 +19,11 @@
@@ -65,6 +65,11 @@
methods:{
// 获取用户信息
@@ -69,6 +69,11 @@
this.timeScope = 'threeMonth'
this.queryParam.changeType = ''
// 时间过滤条件
this.creatQrCode()
creatQrCode() {
@@ -24,6 +24,15 @@
<style lang="scss">
@@ -33,6 +33,13 @@
userInfo: {}
this.userDate = this.$store.state.vuex_userData
this.getPayPwd()
@@ -121,6 +121,15 @@
@@ -183,6 +183,11 @@
// 获取购物车数据
this.loading = true
this.getCartList()
// 计算购物车数量
@@ -36,6 +36,11 @@
title: this.goodsName
this.getGoods()
// 下拉刷新
onPullDownRefresh() {
@@ -91,6 +91,11 @@
this.id = opts.id
this.userData = this.$store.state.vuex_userData
this.getDetail()
// 查详情
@@ -126,6 +126,11 @@ export default {
this.getfindWinPrize()
this.kfPhone = this.$store.state.vuex_kfMobile
this.fromPage = option.fromPage
this.form = {
@@ -70,6 +70,11 @@
this.orderSn = option.orderNo
this.getRow()
// scroll-view到底部加载更多
@@ -197,6 +197,11 @@
// 监听页面刷新事件 在详情支付成功后或在物流确认收货后刷新列表
uni.$on('refresh', this.handleRefresh)
uni.$off('refresh', this.handleRefresh)
@@ -150,6 +150,11 @@
this.orderId = options.id
this.getOrderDetail()
@@ -59,6 +59,11 @@
title: '新增地址'
this.$u.vuex("vuex_OrderAddress",{})
@@ -138,6 +138,11 @@
this.goodsList = this.$store.state.vuex_toOrderList
// 监听设置密码是否成功
uni.$once('setPswSuccess', this.setPsw)
// 总计
@@ -21,6 +21,11 @@ export default {
this.orderId = option.id
// 查看订单详情