|
@@ -2,7 +2,10 @@
|
|
|
<view class="app-main app-content">
|
|
<view class="app-main app-content">
|
|
|
<app-swiper :list="ad" />
|
|
<app-swiper :list="ad" />
|
|
|
<view class="shop-wrap">
|
|
<view class="shop-wrap">
|
|
|
- <view class="shop-tit">{{ shop.shopName }}</view>
|
|
|
|
|
|
|
+ <view class="shop-tit">
|
|
|
|
|
+ <text>{{ shop.shopName }}</text>
|
|
|
|
|
+ <button class="button-com mini-btn red pay" @click="pageToFn({ url: '/pages/pay/index', query: { pageStatus: 'payment', }, }) " > 付款 </button>
|
|
|
|
|
+ </view>
|
|
|
<view>{{ shop.introduction }}</view>
|
|
<view>{{ shop.introduction }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="list-content">
|
|
<view class="list-content">
|
|
@@ -71,7 +74,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
init () {
|
|
init () {
|
|
|
- this._detail();
|
|
|
|
|
|
|
+ this.getDetail();
|
|
|
let account = uni.getStorageSync('account')
|
|
let account = uni.getStorageSync('account')
|
|
|
getShopUser().then(res => {
|
|
getShopUser().then(res => {
|
|
|
// 设置分享
|
|
// 设置分享
|
|
@@ -87,7 +90,10 @@ export default {
|
|
|
console.log('分享地址',`/pages/home/shop?account=${account}`)
|
|
console.log('分享地址',`/pages/home/shop?account=${account}`)
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- _detail () {
|
|
|
|
|
|
|
+ pageToFn(item) {
|
|
|
|
|
+ this.$util.pageTo(item)
|
|
|
|
|
+ },
|
|
|
|
|
+ getDetail () {
|
|
|
let form = {};
|
|
let form = {};
|
|
|
if (this.option.introUserId) {
|
|
if (this.option.introUserId) {
|
|
|
form.introUserId = this.option.introUserId;
|
|
form.introUserId = this.option.introUserId;
|
|
@@ -140,6 +146,11 @@ export default {
|
|
|
color: #333;
|
|
color: #333;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
margin-bottom: 20upx;
|
|
margin-bottom: 20upx;
|
|
|
|
|
+ .pay{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right:20upx;
|
|
|
|
|
+ font-size:20upx;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.list-content {
|
|
.list-content {
|