|
|
@ -55,6 +55,11 @@ |
|
|
查看活动规则 |
|
|
查看活动规则 |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<u-overlay :show="showRule" :opacity="0.8" @click="showRule=false"> |
|
|
|
|
|
<view class="warp"> |
|
|
|
|
|
<image class="rect" :src="sysConfig.activity_rule_img" mode="aspectFit"></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
</u-overlay> |
|
|
<!-- <u-keyboard confirmText="1" mode="number" :closeOnClickOverlay="true" @close="close" :show="show" @confirm="confirm" @cancel="cancel"></u-keyboard> --> |
|
|
<!-- <u-keyboard confirmText="1" mode="number" :closeOnClickOverlay="true" @close="close" :show="show" @confirm="confirm" @cancel="cancel"></u-keyboard> --> |
|
|
<cu-keyboard ref="cukeyboard" @change="change" @confirm="confirm" @hide="hide" :safeHeight="safeHeight"></cu-keyboard> |
|
|
<cu-keyboard ref="cukeyboard" @change="change" @confirm="confirm" @hide="hide" :safeHeight="safeHeight"></cu-keyboard> |
|
|
</view> |
|
|
</view> |
|
|
@ -64,7 +69,8 @@ |
|
|
<script> |
|
|
<script> |
|
|
import { |
|
|
import { |
|
|
userGetMerchantInfo, |
|
|
userGetMerchantInfo, |
|
|
userCreateOrder |
|
|
|
|
|
|
|
|
userCreateOrder, |
|
|
|
|
|
publicSysConfig |
|
|
} from '../../common/api.js' |
|
|
} from '../../common/api.js' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
@ -78,7 +84,9 @@ |
|
|
address: '', |
|
|
address: '', |
|
|
logo: '' |
|
|
logo: '' |
|
|
}, |
|
|
}, |
|
|
safeHeight:0 |
|
|
|
|
|
|
|
|
safeHeight:0, |
|
|
|
|
|
sysConfig: {}, |
|
|
|
|
|
showRule: false |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onReady() { |
|
|
onReady() { |
|
|
@ -96,9 +104,12 @@ |
|
|
this.safeHeight = 20; |
|
|
this.safeHeight = 20; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getSysConfig(); |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
getSysConfig() { |
|
|
|
|
|
publicSysConfig().then(data => this.sysConfig = data) |
|
|
|
|
|
}, |
|
|
getMerchantInfo() { |
|
|
getMerchantInfo() { |
|
|
userGetMerchantInfo({ |
|
|
userGetMerchantInfo({ |
|
|
payment_code: this.payment_code |
|
|
payment_code: this.payment_code |
|
|
@ -192,6 +203,7 @@ |
|
|
}, |
|
|
}, |
|
|
showDetail() { |
|
|
showDetail() { |
|
|
console.log("showDetail") |
|
|
console.log("showDetail") |
|
|
|
|
|
this.showRule = true |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
@ -203,6 +215,18 @@ |
|
|
.uni-page-body { |
|
|
.uni-page-body { |
|
|
background: #ededed; |
|
|
background: #ededed; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.warp { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
height: 100vh; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rect { |
|
|
|
|
|
width: 90vw !important; |
|
|
|
|
|
height: 90vh !important; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.pam-content { |
|
|
.pam-content { |
|
|
padding-top: 50rpx; |
|
|
padding-top: 50rpx; |
|
|
|