Commit 68ddc37f by 程南

修改主题样式 手机号注册

parent abaa90e4
...@@ -171,6 +171,7 @@ App({ ...@@ -171,6 +171,7 @@ App({
isPlusVip: isPlusVip, isPlusVip: isPlusVip,
cityJson: cityJson, cityJson: cityJson,
brandId: envInfo.brandId, brandId: envInfo.brandId,
themeColor: '#007d63',//主题颜色
}, },
//跳转10级 //跳转10级
navigateTo(routerObj){ navigateTo(routerObj){
......
page{
--themecolor: #007d63; /* var(--themecolor) --主题色配置 */
}
/**app.wxss**/ /**app.wxss**/
.container { .container {
height: 100%; height: 100%;
...@@ -14,11 +19,11 @@ ...@@ -14,11 +19,11 @@
/* 主题色 */ /* 主题色 */
.theme-color { .theme-color {
background-color: #cb3c3c; background-color: var(--themecolor);
} }
.theme-text-color { .theme-text-color {
color: #cb3c3c; color: var(--themecolor);
} }
.empty{ .empty{
...@@ -61,9 +66,9 @@ ...@@ -61,9 +66,9 @@
} }
.btn-primary { .btn-primary {
background-color: #cb3c3c; background-color: var(--themecolor);
color: #ffffff; color: #ffffff;
border: 1px solid #cb3c3c; border: 1px solid var(--themecolor);
font-size: 25rpx; font-size: 25rpx;
} }
.btn-gray { .btn-gray {
...@@ -74,7 +79,7 @@ ...@@ -74,7 +79,7 @@
} }
.btn-outline { .btn-outline {
background: none; background: none;
color: #cb3c3c; color: var(--themecolor);
} }
.clear-btn{ .clear-btn{
......
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
height: 70rpx; height: 70rpx;
line-height: 70rpx; line-height: 70rpx;
border-radius: 35rpx; border-radius: 35rpx;
background-color: rgba(203, 60, 60, 1); background-color: rgba(0,125,99, 1);
text-align: center; text-align: center;
} }
\ No newline at end of file
...@@ -9,6 +9,10 @@ Component({ ...@@ -9,6 +9,10 @@ Component({
type: Boolean, type: Boolean,
type: false type: false
}, },
currentHasMobile : {
type: Boolean,
type: false
},
personData: { personData: {
type: Object, type: Object,
value: {}, value: {},
...@@ -152,6 +156,12 @@ Component({ ...@@ -152,6 +156,12 @@ Component({
this.triggerEvent('getAuth', res); this.triggerEvent('getAuth', res);
}) })
}, },
//获取手机号回调
getPhoneNumber(res = {}){
wxService.nextTick(() => {
this.triggerEvent('getMobile', res);
})
},
_userInfoChange(newVal, oldVal) { _userInfoChange(newVal, oldVal) {
if (newVal !== oldVal) { if (newVal !== oldVal) {
// console.log(newVal) // console.log(newVal)
...@@ -163,7 +173,8 @@ Component({ ...@@ -163,7 +173,8 @@ Component({
} }
}, },
handleToMemberOfOwn() { handleToMemberOfOwn() {
wxService.router(`/pages/memberOfOwn/memberOfOwn`) // wxService.router(`/pages/memberOfOwn/memberOfOwn`)
wxService.openCard();
}, },
toBonusDetails() { toBonusDetails() {
wxService.router(`/pages/integralWater/integralWater`) wxService.router(`/pages/integralWater/integralWater`)
......
<!--component/personCenter/personCenter.wxml--> <!--component/personCenter/personCenter.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" /> <wxs src="../../wxs/utils.wxs" module="utils" />
<view class="person-center-p"> <view class="person-center-p">
<view wx:if='{{!currentMobile}}' class="member-unActive {{ personCenter.noactiveBackgroundImageUrl ? '':'member-unActive-bgc'}}" bindtap="handleTtoActiveMemebr"> <view wx:if='{{!currentHasUserInfo}}' class="member-unActive {{ personCenter.noactiveBackgroundImageUrl ? '':'member-unActive-bgc'}}" bindtap="handleTtoActiveMemebr">
<image <image
wx:if="{{currentHasUserInfo}}" wx:if="{{currentHasUserInfo}}"
src="{{utils.formateUrl(personCenter.noactiveBackgroundImageUrl,baseImgUrl)}}" src="{{utils.formateUrl(personCenter.noactiveBackgroundImageUrl,baseImgUrl)}}"
...@@ -21,12 +21,12 @@ ...@@ -21,12 +21,12 @@
</button> </button>
</view> </view>
<view <view
wx:if='{{currentMobile}}' wx:if='{{currentHasUserInfo}}'
catchtap="handleToMemberOfOwn" catchtap="handleToMemberOfOwn"
class="activation-content activation-bg {{true ? 'user-content' : ''}}" class="activation-content activation-bg {{true ? 'user-content' : ''}}"
style="{{personData.backgroundImageUrl ? 'background-image: url('+ utils.formateUrl(personData.backgroundImageUrl,baseImgUrl) +');' : 'background-color: ' + baseUrl + ';'}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ utils.formateUrl(personData.backgroundImageUrl,baseImgUrl) +');' : 'background-color: ' + baseUrl + ';'}}"
> >
<view class='user-info' wx:if='{{currentMobile}}'> <view class='user-info' wx:if='{{currentHasUserInfo}}'>
<view class="user-avatar"> <view class="user-avatar">
<view class="avator"> <view class="avator">
<open-data type="userAvatarUrl" /> <open-data type="userAvatarUrl" />
...@@ -53,8 +53,9 @@ ...@@ -53,8 +53,9 @@
</view> </view>
</view> </view>
</view> </view>
<view class='df tc person-num' wx:if='{{currentMobile}}'> <!-- 登录切有手机号 -->
<view class='df-1 point person-right' bindtap="toBonusDetails" wx:if="{{personCenter.bonus == 0}}"> <view class='df tc person-num' wx:if='{{currentHasUserInfo && currentHasMobile}}'>
<view class='df-1 point person-right positionRe' bindtap="toBonusDetails" wx:if="{{personCenter.bonus == 0}}">
<view class='point-number' style="color:{{personCenter.fontColor}};">{{integralNum}}</view> <view class='point-number' style="color:{{personCenter.fontColor}};">{{integralNum}}</view>
<view class='point-desc' style="color:{{personCenter.fontColor}};">积分</view> <view class='point-desc' style="color:{{personCenter.fontColor}};">积分</view>
</view> </view>
...@@ -67,6 +68,23 @@ ...@@ -67,6 +68,23 @@
<view class='point-desc' style="color:{{personCenter.fontColor}};">超值卡</view> <view class='point-desc' style="color:{{personCenter.fontColor}};">超值卡</view>
</view> </view>
</view> </view>
<!-- 登录无手机号 -->
<view class='df tc person-num' wx:if='{{currentHasUserInfo && !currentHasMobile}}'>
<view class='df-1 point person-right positionRe' wx:if="{{personCenter.bonus == 0}}">
<button open-type="getPhoneNumber" class="positionAbs clear-btn" bindgetphonenumber="getPhoneNumber"></button>
<view class='point-number' style="color:{{personCenter.fontColor}};">{{integralNum}}</view>
<view class='point-desc' style="color:{{personCenter.fontColor}};">积分</view>
</view>
<view class='df-1 point positionRe {{valueCardNum > 0 ? "person-right" : "" }}' wx:if="{{personCenter.coupon == 0}}">
<button open-type="getPhoneNumber" class="positionAbs clear-btn" bindgetphonenumber="getPhoneNumber"></button>
<view class='point-number' style="color:{{personCenter.fontColor}};">{{couponNum}}</view>
<view class='point-desc' style="color:{{personCenter.fontColor}};">优惠券</view>
</view>
<view class='df-1 point' bindtap="tapToMyValueCardPage" wx:if="{{valueCardNum > 0}}">
<view class='point-number' style="color:{{personCenter.fontColor}};">{{valueCardNum}}</view>
<view class='point-desc' style="color:{{personCenter.fontColor}};">超值卡</view>
</view>
</view>
</view> </view>
<!--plus--> <!--plus-->
<!-- <view class='df tc person-num' wx:if='{{currentMobile}}'> <!-- <view class='df tc person-num' wx:if='{{currentMobile}}'>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
text-decoration: line-through; text-decoration: line-through;
} }
.vip-plus-price { .vip-plus-price {
color: rgba(203, 60, 60, 1); color: #cb3c3c;
} }
.buy-btn { .buy-btn {
text-align: right; text-align: right;
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
line-height: 35rpx; line-height: 35rpx;
border-radius: 19rpx; border-radius: 19rpx;
text-align: center; text-align: center;
background-color: rgba(203, 60, 60, 1); background-color: rgba(0,125,99, 1);
border: 2rpx solid rgba(151, 151, 151, 1); border: 2rpx solid rgba(151, 151, 151, 1);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
font-size: 18rpx; font-size: 18rpx;
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
line-height: 40rpx; line-height: 40rpx;
text-align: center; text-align: center;
border-radius: 5rpx; border-radius: 5rpx;
background-color: rgba(203, 60, 60, 1); background-color: rgba(0,125,99, 1);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
font-size: 18rpx; font-size: 18rpx;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
......
...@@ -25,7 +25,7 @@ Component({ ...@@ -25,7 +25,7 @@ Component({
cartList: [{ content: "1", right: 0 }, { content: "2", right: 0 }], cartList: [{ content: "1", right: 0 }, { content: "2", right: 0 }],
isScroll:true, isScroll:true,
windowHeight: 0, windowHeight: 0,
checkedColor: 'rgb(203, 60, 60)', checkedColor: app.globalData.themeColor,
}, },
ready() { ready() {
var that = this; var that = this;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
width: 132rpx; width: 132rpx;
height: 100%; height: 100%;
/* background-color: rgba(149, 149, 149, 1); */ /* background-color: rgba(149, 149, 149, 1); */
background-color: #cb3c3c; background-color: var(--themecolor);
color: white; color: white;
position: absolute; position: absolute;
top: 0; top: 0;
......
// component/selectCoupon/selectCoupon.js // component/selectCoupon/selectCoupon.js
const wxService = require('../../utils/wxService') const wxService = require('../../utils/wxService')
const app = getApp()
Component({ Component({
/** /**
...@@ -19,7 +20,7 @@ Component({ ...@@ -19,7 +20,7 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
checkedColor: 'rgb(203, 60, 60)', checkedColor: app.globalData.themeColor,
isSelect: false, isSelect: false,
newConponOrderList: [] newConponOrderList: []
}, },
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
height: 60rpx; height: 60rpx;
line-height: 60rpx; line-height: 60rpx;
border-radius: 5rpx; border-radius: 5rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
font-size: 28rpx; font-size: 28rpx;
text-align: left; text-align: left;
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
text-align: center; text-align: center;
height: 88rpx; height: 88rpx;
line-height: 88rpx; line-height: 88rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
font-size: 25rpx; font-size: 25rpx;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
......
...@@ -21,7 +21,7 @@ page{ ...@@ -21,7 +21,7 @@ page{
text-align: center; text-align: center;
height: 88rpx; height: 88rpx;
line-height: 88rpx; line-height: 88rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
font-size: 25rpx; font-size: 25rpx;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
...@@ -100,9 +100,9 @@ page{ ...@@ -100,9 +100,9 @@ page{
margin: 25rpx 23rpx 25rpx 0; margin: 25rpx 23rpx 25rpx 0;
} }
.tab-item.active{ .tab-item.active{
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
background: #ffffff; background: #ffffff;
color: rgba(203, 60, 60, 1); color: var(--themecolor);
} }
.tab-list{ .tab-list{
margin-bottom: 34rpx; margin-bottom: 34rpx;
......
...@@ -146,6 +146,12 @@ Component({ ...@@ -146,6 +146,12 @@ Component({
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
//获取手机号回调
getPhoneNumber(res = {}){
wxService.nextTick(() => {
this.triggerEvent('getMobile', res);
})
},
confirm() { confirm() {
if (this.data.curSpec.length < 1){ if (this.data.curSpec.length < 1){
wx.showToast({ wx.showToast({
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</scroll-view> </scroll-view>
<!-- 按钮状态 --> <!-- 按钮状态 -->
<view wx:if="{{!currentHasUserInfo}}"> <view wx:if="{{!currentHasUserInfo}}">
<button <!-- <button
bindgetuserinfo="_getUserInfo" bindgetuserinfo="_getUserInfo"
data-jflag="false" data-jflag="false"
open-type='getUserInfo' open-type='getUserInfo'
...@@ -89,7 +89,16 @@ ...@@ -89,7 +89,16 @@
hover-class="btn-hover" hover-class="btn-hover"
> >
{{btnText}} {{btnText}}
</button> -->
<button
bindgetphonenumber="getPhoneNumber"
open-type='getPhoneNumber'
class="confirm-button {{isOutStock? 'out-stock': ''}}"
hover-class="btn-hover"
>
{{btnText}}
</button> </button>
</view> </view>
<view wx:else> <view wx:else>
<button class="confirm-button {{isOutStock? 'out-stock': ''}}" bindtap="confirm">{{btnText}}</button> <button class="confirm-button {{isOutStock? 'out-stock': ''}}" bindtap="confirm">{{btnText}}</button>
......
...@@ -119,15 +119,15 @@ ...@@ -119,15 +119,15 @@
border-color: #eaeaea; } border-color: #eaeaea; }
.mid-info .sku-info .spec-value.active { .mid-info .sku-info .spec-value.active {
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
background: #ffffff; background: #ffffff;
color: rgba(203, 60, 60, 1); color: var(--themecolor);
} }
.confirm-button { .confirm-button {
font-size: 30rpx; font-size: 30rpx;
background: #CB3C3C; background: var(--themecolor);
border-radius: 0; border-radius: 0;
color: #ffffff; color: #ffffff;
line-height: 96rpx; } line-height: 96rpx; }
......
// pages/cart/cart.js // pages/cart/cart.js
const app = getApp()
const wxService = require('../../utils/wxService') const wxService = require('../../utils/wxService')
wxService.page({ wxService.page({
...@@ -16,7 +17,7 @@ wxService.page({ ...@@ -16,7 +17,7 @@ wxService.page({
cartList: [], cartList: [],
outGoods: [], outGoods: [],
checkAll: false, checkAll: false,
checkedColor: 'rgb(203, 60, 60)', checkedColor: app.globalData.themeColor,
shopCartTotalFee: 0, // 商品总价 shopCartTotalFee: 0, // 商品总价
invalidCarts : [] invalidCarts : []
}, },
......
...@@ -23,19 +23,6 @@ page { ...@@ -23,19 +23,6 @@ page {
line-height: 100rpx; line-height: 100rpx;
text-align: center; } text-align: center; }
/* .nav-menu .menu-item::after {
content: '';
display: block;
position: absolute;
left: 0;
top: 18rpx;
width: 8rpx;
height: 60rpx;
background: transparent; } */
/* .nav-menu .menu-item.active::after {
background: #cB3C3C; } */
.nav-menu .menu-item .menu-name { .nav-menu .menu-item .menu-name {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
......
...@@ -411,7 +411,7 @@ wxService.page({ ...@@ -411,7 +411,7 @@ wxService.page({
content: '对不起,需要您先开卡后才能下单,点击确定去开卡', content: '对不起,需要您先开卡后才能下单,点击确定去开卡',
showCancel: true, showCancel: true,
confirmText: '确定', confirmText: '确定',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function(res) { success: function(res) {
if (res.confirm) { if (res.confirm) {
//跳去开卡 //跳去开卡
...@@ -905,7 +905,7 @@ wxService.page({ ...@@ -905,7 +905,7 @@ wxService.page({
title: '商品限购提醒', title: '商品限购提醒',
content: tips, content: tips,
confirmText: '好的', confirmText: '好的',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
showCancel: false, showCancel: false,
success(confirm) { success(confirm) {
if (confirm.confirm) { if (confirm.confirm) {
...@@ -1225,7 +1225,7 @@ wxService.page({ ...@@ -1225,7 +1225,7 @@ wxService.page({
content: `您好,因地址库的修改,您当前的收货地址需要重新编辑才可下单,请先编辑此地址。感谢您的配合~`, content: `您好,因地址库的修改,您当前的收货地址需要重新编辑才可下单,请先编辑此地址。感谢您的配合~`,
showCancel: false, showCancel: false,
confirmText: '去更改', confirmText: '去更改',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success(res) { success(res) {
if (res.confirm) { if (res.confirm) {
wxService.router(`/pages/addAddress/addAddress?id=${addressId}&from=order`) wxService.router(`/pages/addAddress/addAddress?id=${addressId}&from=order`)
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
</view> </view>
<view class="rg-item-info" bindtap="onTapChangeCheckPointDeductOpenStatus"> <view class="rg-item-info" bindtap="onTapChangeCheckPointDeductOpenStatus">
<view class="point-info">可用<label>{{avaliablePoint}}</label>积分,抵 <label>{{pointDeductMoney}}</label>元 </view> <view class="point-info">可用<label>{{avaliablePoint}}</label>积分,抵 <label>{{pointDeductMoney}}</label>元 </view>
<icon color="rgb(203, 60, 60)" size="20" type="{{deductCheckStatus ? 'success' : 'circle'}}" role="img"></icon> <icon color="rgb(0,125,99)" size="20" type="{{deductCheckStatus ? 'success' : 'circle'}}" role="img"></icon>
</view> </view>
</view> </view>
<!-- --> <!-- -->
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
width: 84rpx; width: 84rpx;
height: 33rpx; height: 33rpx;
border-radius: 16rpx; border-radius: 16rpx;
/* background-color: rgba(203, 60, 60, 1); */
} }
.address-wrap{ .address-wrap{
padding: 0 30rpx; padding: 0 30rpx;
...@@ -181,7 +180,7 @@ ...@@ -181,7 +180,7 @@
} }
.total-numer{ .total-numer{
font-size: 36rpx; font-size: 36rpx;
color: #cb3c3c; color: var(--themecolor);
font-weight: 600; font-weight: 600;
} }
.address-list{ .address-list{
...@@ -257,7 +256,7 @@ ...@@ -257,7 +256,7 @@
} }
.button-hover, .button-active{ .button-hover, .button-active{
background-color: #cb3c3c !important; background-color: var(--themecolor) !important;
} }
.footer-btns button:active{ .footer-btns button:active{
...@@ -386,8 +385,8 @@ ...@@ -386,8 +385,8 @@
.deliveryType .de-type-item.active{ .deliveryType .de-type-item.active{
background: #ffffff; background: #ffffff;
color: #cb3c3c; color: var(--themecolor);
border-top: 4rpx solid #cb3c3c; border-top: 4rpx solid var(--themecolor);
} }
.pick-up{ .pick-up{
...@@ -429,7 +428,7 @@ ...@@ -429,7 +428,7 @@
.pick-up .store-address .store-top .store-name .add-label{ .pick-up .store-address .store-top .store-name .add-label{
font-size: 20rpx; font-size: 20rpx;
padding: 4rpx 6rpx; padding: 4rpx 6rpx;
background: #cb3c3c; background: var(--themecolor);
color: #ffffff; color: #ffffff;
border-radius: 19rpx; border-radius: 19rpx;
margin-right: 10rpx; margin-right: 10rpx;
......
...@@ -248,7 +248,7 @@ swiper { ...@@ -248,7 +248,7 @@ swiper {
font-size: 26rpx; font-size: 26rpx;
} }
.help-order{ .help-order{
color: #cb3c3c; color: var(--themecolor);
} }
.loading-complete{ .loading-complete{
font-size: 20rpx; font-size: 20rpx;
......
...@@ -40,9 +40,9 @@ page{ ...@@ -40,9 +40,9 @@ page{
height: 26rpx; height: 26rpx;
line-height: 26rpx; line-height: 26rpx;
border-radius: 6rpx; border-radius: 6rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 16rpx; font-size: 16rpx;
color: #cb3c3c; color: var(--themecolor);
text-align: center; text-align: center;
margin-left: 30rpx; margin-left: 30rpx;
vertical-align: middle; vertical-align: middle;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<image-swiper image-data="{{pItem.rotationchart.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/> <image-swiper image-data="{{pItem.rotationchart.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/>
</view> </view>
<view class="" wx:if="{{pItem.type == 2}}"> <view class="" wx:if="{{pItem.type == 2}}">
<person-center isVip="{{isVip}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" valueCardNum="{{valueCardNum}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/> <person-center isVip="{{isVip}}" bind:getMobile="userGetMobile" bind:getAuth="_getUserInfo" currentHasMobile="{{currentHasMobile}}" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" valueCardNum="{{valueCardNum}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/>
</view> </view>
<view class="" wx:if="{{pItem.type == 3}}"> <view class="" wx:if="{{pItem.type == 3}}">
<pic-nav pic-nav="{{pItem.navigation.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" bind:updatePage="updatePage"/> <pic-nav pic-nav="{{pItem.navigation.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" bind:updatePage="updatePage"/>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
blockStyle="bubble" blockStyle="bubble"
buttonStyle="light" buttonStyle="light"
buttonText="0" buttonText="0"
bubbleColor="cb3c3c" bubbleColor="007d63"
bind:completemessage="completemessage" bind:completemessage="completemessage"
plugid='{{contactUsPluginId}}' /> plugid='{{contactUsPluginId}}' />
</view> </view>
......
...@@ -56,7 +56,7 @@ scroll-view{ ...@@ -56,7 +56,7 @@ scroll-view{
.add{ .add{
width: 82rpx; width: 82rpx;
height: 82rpx; height: 82rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
border-radius: 50%; border-radius: 50%;
font-size: 60rpx; font-size: 60rpx;
color: #ffffff; color: #ffffff;
......
...@@ -219,7 +219,7 @@ wxService.page({ ...@@ -219,7 +219,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '再想想', cancelText: '再想想',
confirmText: '取消订单', confirmText: '取消订单',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
//跳去开卡 //跳去开卡
...@@ -290,7 +290,7 @@ wxService.page({ ...@@ -290,7 +290,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '取消', cancelText: '取消',
confirmText: '全部删除', confirmText: '全部删除',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
const { id } = e.currentTarget.dataset const { id } = e.currentTarget.dataset
......
...@@ -37,19 +37,19 @@ scroll-view{ ...@@ -37,19 +37,19 @@ scroll-view{
height: 8rpx; height: 8rpx;
right: -1rpx; right: -1rpx;
top: 14rpx; top: 14rpx;
background: #cb3c3c; background: var(--themecolor);
border-radius: 50%; border-radius: 50%;
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 16rpx; font-size: 16rpx;
color: #cb3c3c; color: var(--themecolor);
font-weight: bold; font-weight: bold;
} }
.active{ .active{
color: #cb3c3c; color: var(--themecolor);
} }
.order-content{ .order-content{
margin-top: 100rpx; margin-top: 100rpx;
...@@ -80,8 +80,8 @@ scroll-view{ ...@@ -80,8 +80,8 @@ scroll-view{
.order-number .copy{ .order-number .copy{
width: 50rpx; width: 50rpx;
height: 30rpx; height: 30rpx;
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
font-size: 22rpx; font-size: 22rpx;
border-radius: 5rpx; border-radius: 5rpx;
display: flex; display: flex;
...@@ -211,8 +211,8 @@ scroll-view{ ...@@ -211,8 +211,8 @@ scroll-view{
.order-list-new .order-item-new .order-new-no .copy{ .order-list-new .order-item-new .order-new-no .copy{
width: 50rpx; width: 50rpx;
height: 30rpx; height: 30rpx;
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
font-size: 22rpx; font-size: 22rpx;
border-radius: 5rpx; border-radius: 5rpx;
display: flex; display: flex;
...@@ -323,14 +323,14 @@ scroll-view{ ...@@ -323,14 +323,14 @@ scroll-view{
.order-package .package-products .product-item .rg-product-info .refund-count{ .order-package .package-products .product-item .rg-product-info .refund-count{
font-size: 22rpx; font-size: 22rpx;
color: #cb3c3c; color: var(--themecolor);
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.order-package .package-products .product-item .rg-product-info .pro-count label{ .order-package .package-products .product-item .rg-product-info .pro-count label{
color: #cb3c3c; color: var(--themecolor);
font-size: 32rpx; font-size: 32rpx;
} }
...@@ -377,8 +377,8 @@ scroll-view{ ...@@ -377,8 +377,8 @@ scroll-view{
} }
.package-btns .btns.pay-now{ .package-btns .btns.pay-now{
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
background: #cb3c3c; background: var(--themecolor);
color: #ffffff; color: #ffffff;
} }
...@@ -389,8 +389,8 @@ scroll-view{ ...@@ -389,8 +389,8 @@ scroll-view{
} }
.package-btns .btns.sure-get-goods{ .package-btns .btns.sure-get-goods{
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
} }
.package-btns .btns.normal-btn{ .package-btns .btns.normal-btn{
......
...@@ -288,7 +288,7 @@ wxService.page({ ...@@ -288,7 +288,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '取消', cancelText: '取消',
confirmText: '删除', confirmText: '删除',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
const { id } = e.currentTarget.dataset const { id } = e.currentTarget.dataset
...@@ -370,7 +370,7 @@ wxService.page({ ...@@ -370,7 +370,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '再想想', cancelText: '再想想',
confirmText: '取消订单', confirmText: '取消订单',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
//跳去开卡 //跳去开卡
......
...@@ -98,13 +98,13 @@ page{ ...@@ -98,13 +98,13 @@ page{
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: 22rpx; font-size: 22rpx;
color: #cb3c3c; color: var(--themecolor);
margin-top: 5rpx; margin-top: 5rpx;
opacity: 0.7; opacity: 0.7;
} }
.refund-info .refund-name{ .refund-info .refund-name{
color: #cb3c3c; color: var(--themecolor);
} }
.pro-img{ .pro-img{
...@@ -183,9 +183,9 @@ page{ ...@@ -183,9 +183,9 @@ page{
height: 26rpx; height: 26rpx;
line-height: 26rpx; line-height: 26rpx;
border-radius: 6rpx; border-radius: 6rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 16rpx; font-size: 16rpx;
color: #cb3c3c; color: var(--themecolor);
text-align: center; text-align: center;
margin-left: 26rpx; margin-left: 26rpx;
vertical-align: top; vertical-align: top;
...@@ -370,14 +370,14 @@ page{ ...@@ -370,14 +370,14 @@ page{
.order-package .package-products .product-item .rg-product-info .refund-count{ .order-package .package-products .product-item .rg-product-info .refund-count{
font-size: 22rpx; font-size: 22rpx;
color: #cb3c3c; color: var(--themecolor);
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.order-package .package-products .product-item .rg-product-info .pro-count label{ .order-package .package-products .product-item .rg-product-info .pro-count label{
color: #cb3c3c; color: var(--themecolor);
font-size: 32rpx; font-size: 32rpx;
} }
...@@ -405,14 +405,14 @@ page{ ...@@ -405,14 +405,14 @@ page{
} }
.package-btns .btns.pay-now{ .package-btns .btns.pay-now{
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
background: #cb3c3c; background: var(--themecolor);
color: #ffffff; color: #ffffff;
} }
.package-btns .btns.sure-get-goods{ .package-btns .btns.sure-get-goods{
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
} }
.package-btns .btns.normal-btn{ .package-btns .btns.normal-btn{
...@@ -437,7 +437,7 @@ page{ ...@@ -437,7 +437,7 @@ page{
align-items: center; align-items: center;
} }
.refund-status{ .refund-status{
color: #cb3c3c; color: var(--themecolor);
flex: 1; flex: 1;
} }
.refund-status .status{ .refund-status .status{
......
...@@ -169,6 +169,14 @@ wxService.page({ ...@@ -169,6 +169,14 @@ wxService.page({
this.data.productId = this.options.id; this.data.productId = this.options.id;
} }
this.setData({
udesk: {
nick_name: app.globalData.userInfo ? app.globalData.userInfo.memberId : '',
avatar: app.globalData.userInfo ? app.globalData.userInfo.avatarUrl : ''
}
})
this.getProInfo() this.getProInfo()
this.getOpenStatus() this.getOpenStatus()
this.data.currentShareContent = null this.data.currentShareContent = null
......
...@@ -118,42 +118,37 @@ ...@@ -118,42 +118,37 @@
report-submit report-submit
name='home' name='home'
> >
<!--<navigator
class='get-formId--btn footer-icon'
url="/pages/userCenter/userCenter"
formType="submit"
open-type="navigate"
>
<image src="/assets/imgs/7_1_0/home_un.png" mode="widthFix" />
<view>首页</view>
</navigator>-->
<view bindtap="handelToHome" class='get-formId--btn footer-icon'> <view bindtap="handelToHome" class='get-formId--btn footer-icon'>
<image src="/assets/imgs/7_1_0/home_un.png" mode="widthFix" /> <image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-index.png" mode="widthFix" />
<view>首页</view> <view>首页</view>
</view> </view>
</form> </form>
<form <form
class='get-formId' class='get-formId'
bindsubmit="nav" bindsubmit="nav"
report-submit report-submit
name='nav' name='home'
> >
<navigator class='get-formId--btn footer-icon' open-type="navigate" url="/pages/cart/cart"> <button class="get-formId--btn footer-icon" open-type="contact" session-from="udesk|{{udesk.nick_name}}|{{udesk.avatar}}"
<image class="contact-share-img" src="/assets/imgs/7_1_0/cart_un.png" /> send-message-title="{{productInfo.productName}}" show-message-card="true" send-message-img="{{productInfo.indexUrl}}">
<view class="add-car-text">购物车</view> <image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-kefu.png" mode="widthFix"></image>
</navigator> <view class="tab-text">客服</view>
</button>
</form> </form>
<!-- <form
<form
class='get-formId' class='get-formId'
bindsubmit="nav" bindsubmit="nav"
report-submit report-submit
name='home' name='nav'
> >
<navigator class="get-formId--btn footer-icon"> <navigator class='get-formId--btn footer-icon' open-type="navigate" url="/pages/cart/cart">
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-kefu.png" mode="widthFix" /> <image class="contact-share-img" src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-shop-cart.png" />
<view class="tab-text">分享</view> <view class="add-car-text">购物车</view>
</navigator> </navigator>
</form> --> </form>
</view> </view>
<block> <block>
<view class="footer-buttons clearfix"> <view class="footer-buttons clearfix">
...@@ -185,6 +180,7 @@ ...@@ -185,6 +180,7 @@
</view> </view>
<sku-popup <sku-popup
bind:getMobile="userGetMobile"
product-name="{{productInfo.productName}}" product-name="{{productInfo.productName}}"
spec-item="{{productInfo.specItemList}}" spec-item="{{productInfo.specItemList}}"
good-type="{{productInfo.productType}}" good-type="{{productInfo.productType}}"
......
...@@ -54,9 +54,9 @@ page{ ...@@ -54,9 +54,9 @@ page{
width: 88rpx; width: 88rpx;
height: 30rpx; height: 30rpx;
border-radius: 3rpx; border-radius: 3rpx;
background-color: rgba(203, 60, 60, 0.08); background-color: rgba(0,125,99, 0.08);
font-size: 13rpx; font-size: 13rpx;
color: #cb3c3c; color: var(--themecolor);
line-height: 30rpx; line-height: 30rpx;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
...@@ -163,7 +163,7 @@ page{ ...@@ -163,7 +163,7 @@ page{
} }
.surplus-number{ .surplus-number{
font-weight: bold; font-weight: bold;
color: #cb3c3c; color: var(--themecolor);
} }
.gray-line{ .gray-line{
background-color: #f9f9f9; background-color: #f9f9f9;
...@@ -238,7 +238,7 @@ page{ ...@@ -238,7 +238,7 @@ page{
width: 240rpx; width: 240rpx;
} }
.product-footer .footer-buttons button.btn-cart { .product-footer .footer-buttons button.btn-cart {
background: rgba(203,60,60,0.71); background: rgba(0,125,99,0.71);
} }
.product-footer .footer-buttons button.buy-button { .product-footer .footer-buttons button.buy-button {
...@@ -246,7 +246,7 @@ page{ ...@@ -246,7 +246,7 @@ page{
} }
.product-footer .footer-buttons button.btn-buy { .product-footer .footer-buttons button.btn-buy {
background: #cb3c3c; background: var(--themecolor);
} }
.product-footer .footer-buttons button::after { .product-footer .footer-buttons button::after {
......
...@@ -23,7 +23,7 @@ wxService.page({ ...@@ -23,7 +23,7 @@ wxService.page({
// 所有退货原因 // 所有退货原因
resonType: [], resonType: [],
refundAmount: 0, refundAmount: 0,
checkedColor: 'rgb(203, 60, 60)', checkedColor: app.globalData.themeColor,
pics: [], pics: [],
id: '', id: '',
returnOrder: 0 returnOrder: 0
......
...@@ -22,7 +22,7 @@ page{ ...@@ -22,7 +22,7 @@ page{
} }
.refund-status{ .refund-status{
padding: 49rpx 0 0 74rpx; padding: 49rpx 0 0 74rpx;
color: #cb3c3c; color: var(--themecolor);
} }
.refund-status .status{ .refund-status .status{
font-size: 30rpx; font-size: 30rpx;
...@@ -61,7 +61,7 @@ page{ ...@@ -61,7 +61,7 @@ page{
height: 46rpx; height: 46rpx;
line-height: 46rpx; line-height: 46rpx;
border-radius: 23rpx; border-radius: 23rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
} }
...@@ -155,9 +155,9 @@ page{ ...@@ -155,9 +155,9 @@ page{
height: 26rpx; height: 26rpx;
line-height: 26rpx; line-height: 26rpx;
border-radius: 6rpx; border-radius: 6rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 16rpx; font-size: 16rpx;
color: #cb3c3c; color: var(--themecolor);
text-align: center; text-align: center;
} }
.refund-certificate{ .refund-certificate{
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
</view> </view>
<view class="" wx:if="{{pItem.type == 2}}"> <view class="" wx:if="{{pItem.type == 2}}">
<person-center isVip="{{isVip}}" bind:getAuth="_getUserInfo" <person-center isVip="{{isVip}}" bind:getAuth="_getUserInfo"
bind:getMobile="userGetMobile"
currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}"
person-data="{{pItem.customer}}" integral-num="{{integralNum}}" person-data="{{pItem.customer}}" integral-num="{{integralNum}}"
valueCardNum="{{valueCardNum}}" coupon-num="{{couponNum}}" token="{{token}}"/> valueCardNum="{{valueCardNum}}" coupon-num="{{couponNum}}" token="{{token}}"/>
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
blockStyle="bubble" blockStyle="bubble"
buttonStyle="light" buttonStyle="light"
buttonText="0" buttonText="0"
bubbleColor="cb3c3c" bubbleColor="007d63"
bind:completemessage="completemessage" bind:completemessage="completemessage"
plugid='{{contactUsPluginId}}' /> plugid='{{contactUsPluginId}}' />
<!-- 766c50920993bf9c41c6c3d2761a2df5 --> <!-- 766c50920993bf9c41c6c3d2761a2df5 -->
......
...@@ -123,9 +123,9 @@ scroll-view{ ...@@ -123,9 +123,9 @@ scroll-view{
line-height: 24rpx; line-height: 24rpx;
text-align: center; text-align: center;
border-radius: 15rpx; border-radius: 15rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 13rpx; font-size: 13rpx;
color: #CB3C3C; color: var(--themecolor);
margin-top: 9rpx; margin-top: 9rpx;
} }
.bottom-price{ .bottom-price{
...@@ -147,7 +147,7 @@ scroll-view{ ...@@ -147,7 +147,7 @@ scroll-view{
line-height: 39rpx; line-height: 39rpx;
text-align: center; text-align: center;
border-radius: 19rpx; border-radius: 19rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
border: 1px solid rgba(151, 151, 151, 1); border: 1px solid rgba(151, 151, 151, 1);
color: #ffffff; color: #ffffff;
font-size: 18rpx; font-size: 18rpx;
......
...@@ -166,11 +166,11 @@ view{ ...@@ -166,11 +166,11 @@ view{
.price-btn .rg-btn button{ .price-btn .rg-btn button{
font-size: 22rpx; font-size: 22rpx;
height: 45rpx; height: 45rpx;
color: #cb3c3c; color: var(--themecolor);
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 10rpx; padding: 0 10rpx;
border: solid 2rpx #cb3c3c; border: solid 2rpx var(--themecolor);
background: #ffffff; background: #ffffff;
margin: 0; margin: 0;
} }
......
...@@ -259,7 +259,7 @@ wxService.page({ ...@@ -259,7 +259,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '取消', cancelText: '取消',
confirmText: '移除', confirmText: '移除',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
_this.data.proGoods.splice(index,1); _this.data.proGoods.splice(index,1);
......
...@@ -170,8 +170,8 @@ view{ ...@@ -170,8 +170,8 @@ view{
justify-content: center; justify-content: center;
font-size: 22rpx; font-size: 22rpx;
padding: 0 10rpx; padding: 0 10rpx;
background: rgba(203, 60, 60, 0.2); background: rgba(0,125,99, 0.2);
color: rgba(203, 60, 60, 1); color: var(--themecolor);
border-radius: 5rpx; border-radius: 5rpx;
} }
...@@ -225,7 +225,7 @@ view{ ...@@ -225,7 +225,7 @@ view{
} }
.product-list .product-item .product-info .rg-pro-info .product-price{ .product-list .product-item .product-info .rg-pro-info .product-price{
color: rgba(203, 60, 60, 1); color: #cb3c3c;
font-size: 22rpx; font-size: 22rpx;
} }
...@@ -247,7 +247,7 @@ view{ ...@@ -247,7 +247,7 @@ view{
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
border-radius: 50%; border-radius: 50%;
border: solid 2rpx rgba(203, 60, 60, 1); border: solid 2rpx var(--themecolor);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
...@@ -266,7 +266,7 @@ view{ ...@@ -266,7 +266,7 @@ view{
height: 90rpx; height: 90rpx;
left: 0; left: 0;
bottom: 0; bottom: 0;
background: rgba(203, 60, 60, 1); background: var(--themecolor);
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: 28rpx;
display: flex; display: flex;
......
...@@ -41,7 +41,7 @@ view{ ...@@ -41,7 +41,7 @@ view{
height:60rpx; height:60rpx;
line-height:60rpx; line-height:60rpx;
border-radius:5rpx; border-radius:5rpx;
background-color:rgba(203, 60, 60, 1); background-color:var(--themecolor);
color:rgba(255, 255, 255, 1); color:rgba(255, 255, 255, 1);
font-size:28rpx; font-size:28rpx;
font-family:PingFangSC-Regular; font-family:PingFangSC-Regular;
...@@ -94,7 +94,7 @@ view{ ...@@ -94,7 +94,7 @@ view{
} }
.product-list .product-item .product-info .rg-pro-info .product-price{ .product-list .product-item .product-info .rg-pro-info .product-price{
color: rgba(203, 60, 60, 1); color: #cb3c3c;
font-size: 22rpx; font-size: 22rpx;
} }
...@@ -116,7 +116,7 @@ view{ ...@@ -116,7 +116,7 @@ view{
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
border-radius: 50%; border-radius: 50%;
border: solid 2rpx rgba(203, 60, 60, 1); border: solid 2rpx var(--themecolor);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
...@@ -133,7 +133,7 @@ view{ ...@@ -133,7 +133,7 @@ view{
left: 0; left: 0;
bottom: 0; bottom: 0;
height: 90rpx; height: 90rpx;
background: rgba(203, 60, 60, 1); background: var(--themecolor);
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: 28rpx;
display: flex; display: flex;
......
...@@ -469,7 +469,7 @@ view{ ...@@ -469,7 +469,7 @@ view{
.add{ .add{
width: 82rpx; width: 82rpx;
height: 82rpx; height: 82rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
border-radius: 50%; border-radius: 50%;
font-size: 60rpx; font-size: 60rpx;
color: #ffffff; color: #ffffff;
......
...@@ -107,7 +107,7 @@ scroll-view{ ...@@ -107,7 +107,7 @@ scroll-view{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #cb3c3c; color: var(--themecolor);
font-size: 28rpx; font-size: 28rpx;
font-weight: 550; font-weight: 550;
} }
...@@ -107,7 +107,7 @@ view{ ...@@ -107,7 +107,7 @@ view{
width: 100%; width: 100%;
height: 90rpx; height: 90rpx;
margin-top: 80rpx; margin-top: 80rpx;
background: -webkit-linear-gradient(left,rgb(203,60,60,0.7),rgb(203,60,60,1)); background: -webkit-linear-gradient(left,rgb(0,125,99,0.7),rgb(0,125,99,1));
border-radius: 8rpx; border-radius: 8rpx;
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: 28rpx;
......
...@@ -73,9 +73,9 @@ scroll-view{ ...@@ -73,9 +73,9 @@ scroll-view{
line-height: 24rpx; line-height: 24rpx;
text-align: center; text-align: center;
border-radius: 15rpx; border-radius: 15rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 13rpx; font-size: 13rpx;
color: #CB3C3C; color: var(--themecolor);
margin-top: 9rpx; margin-top: 9rpx;
} }
.bottom-price{ .bottom-price{
...@@ -97,7 +97,7 @@ scroll-view{ ...@@ -97,7 +97,7 @@ scroll-view{
line-height: 39rpx; line-height: 39rpx;
text-align: center; text-align: center;
border-radius: 19rpx; border-radius: 19rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
color: #ffffff; color: #ffffff;
font-size: 18rpx; font-size: 18rpx;
float: right; float: right;
......
...@@ -52,7 +52,7 @@ page{ ...@@ -52,7 +52,7 @@ page{
text-align: center; text-align: center;
height: 88rpx; height: 88rpx;
line-height: 88rpx; line-height: 88rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
font-size: 25rpx; font-size: 25rpx;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
.add{ .add{
width: 82rpx; width: 82rpx;
height: 82rpx; height: 82rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
border-radius: 50%; border-radius: 50%;
font-size: 60rpx; font-size: 60rpx;
color: #ffffff; color: #ffffff;
......
...@@ -88,8 +88,8 @@ page{ ...@@ -88,8 +88,8 @@ page{
line-height: 52rpx; line-height: 52rpx;
text-align: center; text-align: center;
border-radius: 26rpx; border-radius: 26rpx;
border: 2rpx solid rgba(203, 60, 60, 1); border: 2rpx solid var(--themecolor);
color: rgba(203, 60, 60, 1); color: var(--themecolor);
font-size: 26rpx; font-size: 26rpx;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
} }
...@@ -146,9 +146,9 @@ page{ ...@@ -146,9 +146,9 @@ page{
line-height: 24rpx; line-height: 24rpx;
text-align: center; text-align: center;
border-radius: 15rpx; border-radius: 15rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 13rpx; font-size: 13rpx;
color: #CB3C3C; color: var(--themecolor);
margin-top: 9rpx; margin-top: 9rpx;
} }
.bottom-price{ .bottom-price{
...@@ -170,7 +170,7 @@ page{ ...@@ -170,7 +170,7 @@ page{
line-height: 39rpx; line-height: 39rpx;
text-align: center; text-align: center;
border-radius: 19rpx; border-radius: 19rpx;
background-color: rgba(203, 60, 60, 1); background-color: var(--themecolor);
border: 1px solid rgba(151, 151, 151, 1); border: 1px solid rgba(151, 151, 151, 1);
color: #ffffff; color: #ffffff;
font-size: 18rpx; font-size: 18rpx;
......
...@@ -182,7 +182,7 @@ wxService.page({ ...@@ -182,7 +182,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '再想想', cancelText: '再想想',
confirmText: '取消订单', confirmText: '取消订单',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
wx.showLoading({ wx.showLoading({
......
...@@ -64,9 +64,9 @@ view{ ...@@ -64,9 +64,9 @@ view{
height: 26rpx; height: 26rpx;
line-height: 26rpx; line-height: 26rpx;
border-radius: 6rpx; border-radius: 6rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 16rpx; font-size: 16rpx;
color: #cb3c3c; color: var(--themecolor);
text-align: center; text-align: center;
margin-left: 26rpx; margin-left: 26rpx;
vertical-align: top; vertical-align: top;
...@@ -99,8 +99,8 @@ view{ ...@@ -99,8 +99,8 @@ view{
min-width: 110rpx; min-width: 110rpx;
max-width: 110rpx; max-width: 110rpx;
height: 52rpx; height: 52rpx;
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
font-size: 24rpx; font-size: 24rpx;
border-radius: 26rpx; border-radius: 26rpx;
display: flex; display: flex;
...@@ -153,13 +153,13 @@ view{ ...@@ -153,13 +153,13 @@ view{
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: 22rpx; font-size: 22rpx;
color: #cb3c3c; color: var(--themecolor);
margin-top: 5rpx; margin-top: 5rpx;
opacity: 0.7; opacity: 0.7;
} }
.refund-info .refund-name{ .refund-info .refund-name{
color: #cb3c3c; color: var(--themecolor);
} }
.pro-img{ .pro-img{
...@@ -230,7 +230,7 @@ view{ ...@@ -230,7 +230,7 @@ view{
padding: 5rpx 6rpx; padding: 5rpx 6rpx;
font-size: 20rpx; font-size: 20rpx;
background: rgba(255,34,34,0.1); background: rgba(255,34,34,0.1);
color: #cb3c3c; color: var(--themecolor);
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 6rpx; border-radius: 6rpx;
} }
...@@ -310,7 +310,7 @@ view{ ...@@ -310,7 +310,7 @@ view{
} }
.bottom-btns .bto-btn.primary-red{ .bottom-btns .bto-btn.primary-red{
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
background: #ffffff; background: #ffffff;
} }
\ No newline at end of file
...@@ -119,8 +119,8 @@ view{ ...@@ -119,8 +119,8 @@ view{
} }
.order-list .order-items .operator .order-btn.primary{ .order-list .order-items .operator .order-btn.primary{
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
} }
.no-more{ .no-more{
......
...@@ -68,9 +68,9 @@ swiper-item{ ...@@ -68,9 +68,9 @@ swiper-item{
.save-btn button[disabled]{ .save-btn button[disabled]{
opacity: 0.5 !important; opacity: 0.5 !important;
background-color: #cb3c3c !important; background-color: var(--themecolor) !important;
color: #ffffff !important; color: #ffffff !important;
border: 1px solid #cb3c3c !important; border: 1px solid var(--themecolor) !important;
} }
.tab-sort { .tab-sort {
......
...@@ -325,7 +325,7 @@ wxService.page({ ...@@ -325,7 +325,7 @@ wxService.page({
//价格 //价格
if (self.data.product.price){ if (self.data.product.price){
const priceActX = rpx2px(345 * 2) const priceActX = rpx2px(345 * 2)
ctx.setFillStyle('#cb3c3c') // 文字颜色 ctx.setFillStyle(app.globalData.themeColor) // 文字颜色
ctx.setFontSize(rpx2px(15 * 2)) ctx.setFontSize(rpx2px(15 * 2))
ctx.fillText('¥', rpx2px(15 * 2), priceActX + rpx2px(50 * 2)) ctx.fillText('¥', rpx2px(15 * 2), priceActX + rpx2px(50 * 2))
ctx.setFontSize(rpx2px(20 * 2)) // 文字字号 ctx.setFontSize(rpx2px(20 * 2)) // 文字字号
......
...@@ -35,7 +35,7 @@ view{ ...@@ -35,7 +35,7 @@ view{
} }
.btns-containers .save-btn{ .btns-containers .save-btn{
background: #cb3c3c; background: var(--themecolor);
color: #ffffff; color: #ffffff;
flex: 1; flex: 1;
height: 80rpx; height: 80rpx;
...@@ -44,7 +44,7 @@ view{ ...@@ -44,7 +44,7 @@ view{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 24rpx; font-size: 24rpx;
border: solid 2rpx #cb3c3c; border: solid 2rpx var(--themecolor);
} }
.btns-containers .save-btn.disabled{ .btns-containers .save-btn.disabled{
...@@ -53,7 +53,7 @@ view{ ...@@ -53,7 +53,7 @@ view{
.btns-containers .edit-btn{ .btns-containers .edit-btn{
background: #ffffff; background: #ffffff;
color: #cb3c3c; color: var(--themecolor);
flex: 0; flex: 0;
min-width: 40%; min-width: 40%;
max-width: 40%; max-width: 40%;
...@@ -63,7 +63,7 @@ view{ ...@@ -63,7 +63,7 @@ view{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 24rpx; font-size: 24rpx;
border: solid 2rpx #cb3c3c; border: solid 2rpx var(--themecolor);
margin-right: 30rpx; margin-right: 30rpx;
} }
...@@ -147,5 +147,5 @@ view{ ...@@ -147,5 +147,5 @@ view{
.input-body .bot-btns .mo-btns.sure{ .input-body .bot-btns .mo-btns.sure{
border-left: solid 1rpx #eeeeee; border-left: solid 1rpx #eeeeee;
color: #cb3c3c; color: var(--themecolor);
} }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<image-swiper image-data="{{pItem.rotationchart.images}}" bind:updatePage="updatePage" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/> <image-swiper image-data="{{pItem.rotationchart.images}}" bind:updatePage="updatePage" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/>
</view> </view>
<view class="" wx:if="{{pItem.type == 2}}"> <view class="" wx:if="{{pItem.type == 2}}">
<person-center bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" valueCardNum="{{valueCardNum}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/> <person-center bind:getMobile="userGetMobile" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" valueCardNum="{{valueCardNum}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/>
</view> </view>
<view class="" wx:if="{{pItem.type == 3}}"> <view class="" wx:if="{{pItem.type == 3}}">
<pic-nav pic-nav="{{pItem.navigation.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" bind:updatePage="updatePage"/> <pic-nav pic-nav="{{pItem.navigation.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" bind:updatePage="updatePage"/>
......
// subPackage/page/pages/valueCardInfo/valueCardInfo.js // subPackage/page/pages/valueCardInfo/valueCardInfo.js
const app = getApp()
const wxService = require('../../../../utils/wxService') const wxService = require('../../../../utils/wxService')
const utils = require('../../../../utils/util') const utils = require('../../../../utils/util')
wxService.page({ wxService.page({
...@@ -192,7 +193,7 @@ wxService.page({ ...@@ -192,7 +193,7 @@ wxService.page({
wx.showModal({ wx.showModal({
title: '购买成功', title: '购买成功',
content: '是否跳转到我的超值卡列表查看?', content: '是否跳转到我的超值卡列表查看?',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success(res) { success(res) {
if (res.confirm) { if (res.confirm) {
wx.navigateTo({ wx.navigateTo({
......
...@@ -91,7 +91,7 @@ wxService.page({ ...@@ -91,7 +91,7 @@ wxService.page({
title: '自提收货确认', title: '自提收货确认',
content: '请确认用户已经收货切用户已同意收货', content: '请确认用户已经收货切用户已同意收货',
confirmText: '确认收货', confirmText: '确认收货',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
showCancel: false, showCancel: false,
success(confirm) { success(confirm) {
if (confirm.confirm) { if (confirm.confirm) {
......
...@@ -65,9 +65,9 @@ view{ ...@@ -65,9 +65,9 @@ view{
height: 26rpx; height: 26rpx;
line-height: 26rpx; line-height: 26rpx;
border-radius: 6rpx; border-radius: 6rpx;
border: 1px solid rgba(203, 60, 60, 1); border: 1px solid var(--themecolor);
font-size: 16rpx; font-size: 16rpx;
color: #cb3c3c; color: var(--themecolor);
text-align: center; text-align: center;
margin-left: 26rpx; margin-left: 26rpx;
vertical-align: top; vertical-align: top;
...@@ -100,8 +100,8 @@ view{ ...@@ -100,8 +100,8 @@ view{
min-width: 110rpx; min-width: 110rpx;
max-width: 110rpx; max-width: 110rpx;
height: 52rpx; height: 52rpx;
border: solid 1px #cb3c3c; border: solid 1px var(--themecolor);
color: #cb3c3c; color: var(--themecolor);
font-size: 24rpx; font-size: 24rpx;
border-radius: 26rpx; border-radius: 26rpx;
display: flex; display: flex;
...@@ -154,13 +154,13 @@ view{ ...@@ -154,13 +154,13 @@ view{
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: 22rpx; font-size: 22rpx;
color: #cb3c3c; color: var(--themecolor);
margin-top: 5rpx; margin-top: 5rpx;
opacity: 0.7; opacity: 0.7;
} }
.refund-info .refund-name{ .refund-info .refund-name{
color: #cb3c3c; color: var(--themecolor);
} }
.pro-img{ .pro-img{
...@@ -231,7 +231,7 @@ view{ ...@@ -231,7 +231,7 @@ view{
padding: 5rpx 6rpx; padding: 5rpx 6rpx;
font-size: 20rpx; font-size: 20rpx;
background: rgba(255,34,34,0.1); background: rgba(255,34,34,0.1);
color: #cb3c3c; color: var(--themecolor);
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 6rpx; border-radius: 6rpx;
} }
...@@ -281,7 +281,7 @@ view{ ...@@ -281,7 +281,7 @@ view{
.guid-sure{ .guid-sure{
width: 100%; width: 100%;
height: 80rpx; height: 80rpx;
background: linear-gradient(to right, rgba(203,60,60,0.5) , #cb3c3c); background: linear-gradient(to right, rgba(0,125,99,0.5) , var(--themecolor));
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
......
...@@ -35,7 +35,7 @@ view{ ...@@ -35,7 +35,7 @@ view{
} }
.btns-containers .save-btn{ .btns-containers .save-btn{
background: #cb3c3c; background: var(--themecolor);
color: #ffffff; color: #ffffff;
flex: 1; flex: 1;
height: 80rpx; height: 80rpx;
...@@ -44,7 +44,7 @@ view{ ...@@ -44,7 +44,7 @@ view{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 24rpx; font-size: 24rpx;
border: solid 2rpx #cb3c3c; border: solid 2rpx var(--themecolor);
} }
.btns-containers .save-btn.disabled{ .btns-containers .save-btn.disabled{
...@@ -53,7 +53,7 @@ view{ ...@@ -53,7 +53,7 @@ view{
.btns-containers .edit-btn{ .btns-containers .edit-btn{
background: #ffffff; background: #ffffff;
color: #cb3c3c; color: var(--themecolor);
flex: 0; flex: 0;
min-width: 40%; min-width: 40%;
max-width: 40%; max-width: 40%;
...@@ -63,7 +63,7 @@ view{ ...@@ -63,7 +63,7 @@ view{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 24rpx; font-size: 24rpx;
border: solid 2rpx #cb3c3c; border: solid 2rpx var(--themecolor);
margin-right: 30rpx; margin-right: 30rpx;
} }
...@@ -147,5 +147,5 @@ view{ ...@@ -147,5 +147,5 @@ view{
.input-body .bot-btns .mo-btns.sure{ .input-body .bot-btns .mo-btns.sure{
border-left: solid 1rpx #eeeeee; border-left: solid 1rpx #eeeeee;
color: #cb3c3c; color: var(--themecolor);
} }
...@@ -190,7 +190,7 @@ wxService.page({ ...@@ -190,7 +190,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '取消', cancelText: '取消',
confirmText: '去逛逛', confirmText: '去逛逛',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
if(modalRes.confirm){ if(modalRes.confirm){
wx.reLaunch({ wx.reLaunch({
...@@ -225,7 +225,7 @@ wxService.page({ ...@@ -225,7 +225,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '关闭', cancelText: '关闭',
confirmText: '再刮一次', confirmText: '再刮一次',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
self.scratch.restart(); self.scratch.restart();
} }
...@@ -243,7 +243,7 @@ wxService.page({ ...@@ -243,7 +243,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '关闭', cancelText: '关闭',
confirmText: '再刮一次', confirmText: '再刮一次',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
self.scratch.restart(); self.scratch.restart();
} }
...@@ -262,7 +262,7 @@ wxService.page({ ...@@ -262,7 +262,7 @@ wxService.page({
showCancel: true, showCancel: true,
cancelText: '关闭', cancelText: '关闭',
confirmText: '再刮一次', confirmText: '再刮一次',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
self.scratch.restart(); self.scratch.restart();
} }
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
/* 主题色 */ /* 主题色 */
.theme-color { .theme-color {
background-color: #cb3c3c; background-color: var(--themecolor);
} }
.theme-text-color { .theme-text-color {
color: #cb3c3c; color: var(--themecolor);
} }
.empty{ .empty{
...@@ -61,9 +61,9 @@ ...@@ -61,9 +61,9 @@
} }
.btn-primary { .btn-primary {
background-color: #cb3c3c; background-color: var(--themecolor);
color: #ffffff; color: #ffffff;
border: 1px solid #cb3c3c; border: 1px solid var(--themecolor);
font-size: 25rpx; font-size: 25rpx;
} }
.btn-gray { .btn-gray {
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
} }
.btn-outline { .btn-outline {
background: none; background: none;
color: #cb3c3c; color: var(--themecolor);
} }
.clear-btn{ .clear-btn{
......
const Promise = require('../lib/bluebird') const Promise = require('../lib/bluebird')
const envInfo = require('../config/index').envInfo const envInfo = require('../config/index').envInfo
const app = getApp()
class Http { class Http {
constructor () { constructor () {
...@@ -195,7 +196,7 @@ class Http { ...@@ -195,7 +196,7 @@ class Http {
content: error.msg, content: error.msg,
showCancel: false, showCancel: false,
confirmText: '好的', confirmText: '好的',
confirmColor: '#cb3c3c', confirmColor: app.globalData.themeColor,
success: function (modalRes) { success: function (modalRes) {
} }
}); });
......
...@@ -384,11 +384,12 @@ function _getUserInfo(ev) { ...@@ -384,11 +384,12 @@ function _getUserInfo(ev) {
function setUserInfo() { function setUserInfo() {
const userInfo = wx.getStorageSync('_baseUserInfo') const userInfo = wx.getStorageSync('_baseUserInfo')
// 新用户去激活领卡 // 新用户去激活领卡
if (userInfo && userInfo.member && !userInfo.member.mobile) { //现在授权之后不需要跳转开卡
wxService.openCard() // if (userInfo && userInfo.member && !userInfo.member.mobile) {
return false // wxService.openCard()
} else { // return false
} // } else {
// }
// 跳转 // 跳转
const urls = getCurrentPages() const urls = getCurrentPages()
setTimeout(() => { setTimeout(() => {
......
...@@ -498,6 +498,7 @@ class WXService extends Http { ...@@ -498,6 +498,7 @@ class WXService extends Http {
// 首页/商品详情页/内容列表/内容详情/分类/商品列表/集点列表/分享列表 // 首页/商品详情页/内容列表/内容详情/分类/商品列表/集点列表/分享列表
const NoLoginAuthPage = [ const NoLoginAuthPage = [
'/pages/userCenter/userCenter', '/pages/userCenter/userCenter',
'/pages/my/my',
'/pages/myShare/myShare', '/pages/myShare/myShare',
'/subPackage/page/pages/myReleaseDetail/myReleaseDetail', '/subPackage/page/pages/myReleaseDetail/myReleaseDetail',
'/pages/productDetail/productDetail', '/pages/productDetail/productDetail',
...@@ -595,6 +596,8 @@ class WXService extends Http { ...@@ -595,6 +596,8 @@ class WXService extends Http {
const _self = this const _self = this
// 当前是否有用户信息 // 当前是否有用户信息
config.data.currentHasUserInfo = false; config.data.currentHasUserInfo = false;
//当前用户是否有手机号
config.data.currentHasMobile = false;
// 当前页面是否需要授权 // 当前页面是否需要授权
config.data.currentPageRequireAuth = false; config.data.currentPageRequireAuth = false;
// vip // vip
...@@ -620,6 +623,22 @@ class WXService extends Http { ...@@ -620,6 +623,22 @@ class WXService extends Http {
const CONFIG_PAPGE = { const CONFIG_PAPGE = {
onLoad: function (...args) { onLoad: function (...args) {
wx.login({
success: (res) => {
console.log('************************************')
console.log(res)
},
fail: (res) => {
}
})
const page = this const page = this
_self.initAppGlobalDataSync() _self.initAppGlobalDataSync()
watch.setWatcher(page); watch.setWatcher(page);
...@@ -718,8 +737,10 @@ class WXService extends Http { ...@@ -718,8 +737,10 @@ class WXService extends Http {
// console.log('当前时间 < 到期时间为vip', vipFlag) // console.log('当前时间 < 到期时间为vip', vipFlag)
if (baseUserInfo && wx.getStorageSync('token')) { if (baseUserInfo && wx.getStorageSync('token')) {
let mobile = baseUserInfo.member.mobile;
page.setData({ page.setData({
currentHasUserInfo: true, currentHasUserInfo: true,
currentHasMobile : mobile ? true : false,
isVip: vipFlag isVip: vipFlag
}, () => { }, () => {
//开启体验功能时才进行校验这个功能 //开启体验功能时才进行校验这个功能
...@@ -793,11 +814,25 @@ class WXService extends Http { ...@@ -793,11 +814,25 @@ class WXService extends Http {
wx.showLoading({ wx.showLoading({
title: '用户登录中..', title: '用户登录中..',
}); });
_self.getAuthUserInfo(res.detail).then(res => {
this.setData({ this.setData({
currentHasUserInfo: true currentHasUserInfo: true
}); });
wx.hideLoading();
}).catch(err => {
wx.hideLoading();
})
},
//统一处理手机号授权成功
userGetMobile(res){
console.log(res)
wx.showLoading({
title: '用户登录中..',
});
_self.getAuthUserInfo(res.detail).then(res => { _self.getAuthUserInfo(res.detail).then(res => {
this.setData({
currentHasUserInfo: true
});
wx.hideLoading(); wx.hideLoading();
}).catch(err => { }).catch(err => {
wx.hideLoading(); wx.hideLoading();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment