|
@@ -32,7 +32,7 @@
|
|
|
<view class="shop-info u-m-t-16">
|
|
<view class="shop-info u-m-t-16">
|
|
|
<view class="u-font-36 line-50 u-tips-color bold">店铺信息</view>
|
|
<view class="u-font-36 line-50 u-tips-color bold">店铺信息</view>
|
|
|
<view class="u-flex">
|
|
<view class="u-flex">
|
|
|
- <view class="u-flex-1 u-p-r-32">
|
|
|
|
|
|
|
+ <view class="u-flex-1">
|
|
|
<text class="shop-name u-font-28 u-tips-color line-40 u-line-1">【{{detail.plat_type | platFilter}}】{{detail.shop_name}}</text>
|
|
<text class="shop-name u-font-28 u-tips-color line-40 u-line-1">【{{detail.plat_type | platFilter}}】{{detail.shop_name}}</text>
|
|
|
<view class="u-flex"
|
|
<view class="u-flex"
|
|
|
@click="openMap">
|
|
@click="openMap">
|
|
@@ -158,6 +158,11 @@
|
|
|
</view>
|
|
</view>
|
|
|
</fixed-bottom>
|
|
</fixed-bottom>
|
|
|
</block>
|
|
</block>
|
|
|
|
|
+ <view class="fixed-copy">
|
|
|
|
|
+ <view class="btn-copy u-font-22"
|
|
|
|
|
+ :style="{marginBottom: `${footerHeight}rpx`}"
|
|
|
|
|
+ @click.stop="copyShopName">复制店名</view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -284,6 +289,14 @@ export default {
|
|
|
imageUrl: this.detail.imgs
|
|
imageUrl: this.detail.imgs
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ onShareTimeline (res) {
|
|
|
|
|
+ const title = `${this.detail.activity_type === 1 ? '【免费吃】' : '【返利餐】'}${this.detail.title}`
|
|
|
|
|
+ return {
|
|
|
|
|
+ title: title,
|
|
|
|
|
+ path: `/pagesSub/activity/activityDetail?id=${this.detail.id}`,
|
|
|
|
|
+ imageUrl: this.detail.imgs
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
reNowTime () {
|
|
reNowTime () {
|
|
|
clearTimeout(this.timer)
|
|
clearTimeout(this.timer)
|
|
@@ -404,6 +417,17 @@ export default {
|
|
|
path: this.detail.app_info.path
|
|
path: this.detail.app_info.path
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ copyShopName () {
|
|
|
|
|
+ uni.setClipboardData({
|
|
|
|
|
+ data: this.detail.shop_name,
|
|
|
|
|
+ success: () => {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ icon: 'none',
|
|
|
|
|
+ title: '平台门店复制成功'
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
copyWx () {
|
|
copyWx () {
|
|
|
uni.setClipboardData({
|
|
uni.setClipboardData({
|
|
|
data: this.detail.kf_wechat,
|
|
data: this.detail.kf_wechat,
|
|
@@ -437,6 +461,28 @@ export default {
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
.act-deltail-main {
|
|
.act-deltail-main {
|
|
|
|
|
+ .fixed-copy {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ z-index: 2000;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ padding-bottom: 16rpx;
|
|
|
|
|
+ .btn-copy {
|
|
|
|
|
+ width: 72rpx;
|
|
|
|
|
+ height: 72rpx;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ padding: 8rpx;
|
|
|
|
|
+ margin-right: 16rpx;
|
|
|
|
|
+ background: #111111;
|
|
|
|
|
+ box-shadow: 0px 1px 4px 0px rgba(17, 17, 17, 0.6);
|
|
|
|
|
+ opacity: 0.8;
|
|
|
|
|
+ color: #eaebec;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ border-radius: 36rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.over-view {
|
|
.over-view {
|
|
|
.detail-img {
|
|
.detail-img {
|
|
|
width: 100%;
|
|
width: 100%;
|