Browse Source

2023-3-20

master
guoxing 2 years ago
parent
commit
c09649f5d5
  1. 16
      mallplusui-uniapp-app/App.vue
  2. 4
      mallplusui-uniapp-app/components/coolc-coupon/coolc-coupon.vue
  3. 4
      mallplusui-uniapp-app/manifest.json
  4. 11
      mallplusui-uniapp-app/pages/index/index.vue

16
mallplusui-uniapp-app/App.vue

@ -61,18 +61,18 @@
console.log(cid != undefined, cid != "undefined", cid) console.log(cid != undefined, cid != "undefined", cid)
console.log("cid>>>>>>>>>>", cid) console.log("cid>>>>>>>>>>", cid)
if (cid != null || cid != "null") { if (cid != null || cid != "null") {
that.pushCid(cid);
uni.setStorageSync('cid', cid); uni.setStorageSync('cid', cid);
clearInterval(t1); clearInterval(t1);
that.pushCid();
return return
} }
}, 130); }, 130);
// #endif // #endif
}, },
async pushCid() { async pushCid(val) {
console.log('pushCid1111111>>>>>') console.log('pushCid1111111>>>>>', val)
let params = { let params = {
cid: uni.getStorageSync('cid') cid: val
}; };
console.log("pushCid>>>>", params); console.log("pushCid>>>>", params);
let data = await Api.apiCall('post', Api.index.pushCid, params); let data = await Api.apiCall('post', Api.index.pushCid, params);
@ -112,7 +112,7 @@
title: '请先登录', title: '请先登录',
icon: 'none' icon: 'none'
}); });
uni.switchTab({ uni.switchTab({
url: '/pages/index/messageList' url: '/pages/index/messageList'
}) })
@ -175,11 +175,11 @@
console.log('hasLogin>>>', index.state.hasLogin) console.log('hasLogin>>>', index.state.hasLogin)
} }
if(userInfo){ if (userInfo) {
index.state.hasVip = userInfo.memberLevelId == 1 ? false : true; index.state.hasVip = userInfo.memberLevelId == 1 ? false : true;
} }
let isWeiXin = this.$common.isWeiXinBrowser() let isWeiXin = this.$common.isWeiXinBrowser()
if (isWeiXin) { if (isWeiXin) {

4
mallplusui-uniapp-app/components/coolc-coupon/coolc-coupon.vue

@ -143,7 +143,7 @@
.coupon-money { .coupon-money {
padding: 15px; padding: 15px;
width: 520upx; width: 523upx;
height: auto; height: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -161,7 +161,7 @@
line-height: 30upx; line-height: 30upx;
font-size: $font-sm; font-size: $font-sm;
color: #ffaa00; color: #ffaa00;
font-size: 20px; font-size: 18px;
} }
/* .tit { /* .tit {

4
mallplusui-uniapp-app/manifest.json

@ -2,8 +2,8 @@
"name" : "汇融云链", "name" : "汇融云链",
"appid" : "__UNI__FB2C9C4", "appid" : "__UNI__FB2C9C4",
"description" : "", "description" : "",
"versionName" : "1.0.1.2", "versionName" : "1.0.1.3",
"versionCode" : 1012, "versionCode" : 1013,
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {
"usingComponents" : true, "usingComponents" : true,

11
mallplusui-uniapp-app/pages/index/index.vue

@ -1194,19 +1194,14 @@
} }
.get-btn { .get-btn {
width: 146upx; width: 80px;
height: 52upx; line-height: 45upx;
line-height: 50upx; margin-right: 10px;
position: absolute;
top: 50%;
right: 36upx;
margin-top: -53upx;
text-align: center; text-align: center;
border-radius: 60upx; border-radius: 60upx;
color: #ff9000; color: #ff9000;
border: 1px solid #ff9000; border: 1px solid #ff9000;
font-size: $font-sm; font-size: $font-sm;
float: right;
} }
.icon-you { .icon-you {

Loading…
Cancel
Save