@@ -19,7 +19,7 @@
<view class="qrCodeBox">
<view>长按识别二维码 添加客服微信</view>
<image
- src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQHH8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyelF3NzBQT2M5N1UxMlVQME5CY3cAAgSYFwBlAwQgHAAA"
+ src="https://reader-wx.ai160.com/images/reader/pay/saleQrcode.jpg"
show-menu-by-longpress="{{true}}" class="qrCode" />
<view class="content">
运营方案和营销工具的支持,共享优秀推荐案例
@@ -51,7 +51,7 @@
</view>
<view class="body">
<view class="row" wx:for="{{orderList[item]}}" wx:key="id" wx:for-item="row">
- <view class="col">{{row.dateStr}}日</view>
+ <view class="col">{{filters.formatDate(row.gmtCreated,6)}}日</view>
<view class="col">
<view class="num {{row.type=='1'?'add':'reduce'}}"> {{row.type=='1'?'+':'-'}}{{filters.twoDecimal(row.amount)}}</view>
{{row.title}}
@@ -1,6 +1,7 @@
import {
getMyInfo,
} from '~/api/user'
+import share from '~/mixins/share'
getSaleData
} from '~/api/sale'
@@ -11,6 +12,7 @@ import {
store
} from '~/store/index'
Page({
+ behaviors: [share],
data: {
userInfo: {},
allIncome: {}
@@ -41,10 +43,4 @@ Page({
openInvite() {
this.selectComponent("#InvitePop").openInvite()
},
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
-
- }
})
@@ -33,6 +33,8 @@ function formatDate(time, flag) {
return year + '年' + month + '月' + day + '日';
} else if (flag == 5) {
return year + '-' + month + '-' + day;
+ } else if (flag == 6) {
+ return day;
}
@@ -6,13 +6,13 @@ const {
envVersion
} = wx.getAccountInfoSync();
-if (envVersion == 'develop') {
+// if (envVersion == 'develop') {
baseUrl = 'https://reader-api.efunbox.cn/wx'
oldUrl = 'https://reader-api.efunbox.cn'
-} else {
+// } else {
- baseUrl = 'https://reader-api.ai160.com/wx'
+// baseUrl = 'https://reader-api.ai160.com/wx'
- oldUrl = 'https://reader-api.ai160.com'
+// oldUrl = 'https://reader-api.ai160.com'
-}
+// }
function request(url, method, data, oldBaseUrl = false, intercept = true) {
let header = {