提交 25054c7c 编写于 作者: zhangzhiwei's avatar zhangzhiwei

名片

上级 08975fcc
......@@ -8,158 +8,169 @@
}, {
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录"
"navigationBarTitleText": ""
}
}, {
"path": "pages/login/register",
"style": {
"navigationBarTitleText": "注册"
"navigationBarTitleText": ""
}
}, {
"path": "pages/login/forget",
"style": {
"navigationBarTitleText": "找回密码"
"navigationBarTitleText": ""
}
}, {
"path": "pages/login/policy",
"style": {
"navigationBarTitleText": "隐私政策"
"navigationBarTitleText": ""
}
}, {
"path": "pages/login/service",
"style": {
"navigationBarTitleText": "服务协议"
"navigationBarTitleText": ""
}
}, {
"path": "pages/classify/index",
"style": {
"navigationBarTitleText": "筛选分类"
"navigationBarTitleText": ""
}
}, {
"path": "pages/good/detail",
"style": {
"navigationBarTitleText": "商品详情"
"navigationBarTitleText": ""
}
}, {
"path": "pages/good/share",
"style": {
"navigationBarTitleText": "分享详情"
"navigationBarTitleText": ""
}
},{
"path": "pages/good/contact",
"style": {
"navigationBarTitleText": "服务运营商"
"navigationBarTitleText": ""
}
},{
"path": "pages/good/issue",
"style": {
"navigationBarTitleText": "服务条款"
"navigationBarTitleText": ""
}
}, {
"path": "pages/good/download",
"style": {
"navigationBarTitleText": "图片下载"
"navigationBarTitleText": ""
}
}, {
"path": "pages/good/size",
"style": {
"navigationBarTitleText": "尺寸"
"navigationBarTitleText": ""
}
},
{
"path": "pages/topSearch/index",
"style": {
"navigationBarTitleText": "商城-搜索"
"navigationBarTitleText": ""
}
},
{
"path": "pages/goodList/index",
"style": {
"navigationBarTitleText": "商城-列表页"
"navigationBarTitleText": ""
}
},
{
"path": "pages/index/storeCard",
"style": {
"navigationBarTitleText": "店铺名片列表"
"navigationBarTitleText": ""
}
},
{
"path": "pages/good/brandShop",
"style": {
"navigationBarTitleText": "店铺"
"navigationBarTitleText": ""
}
},
{
"path": "pages/order/orderList",
"style": {
"navigationBarTitleText": "我的订单"
"navigationBarTitleText": ""
}
},
{
"path": "pages/order/orderDetails",
"style": {
"navigationBarTitleText": "订单详情"
"navigationBarTitleText": ""
}
},
{
"path": "pages/order/paySuccess",
"style": {
"navigationBarTitleText": "支付成功"
"navigationBarTitleText": ""
}
},
{
"path": "pages/order/beforeconfirm",
"style": {
"navigationBarTitleText": "确认订单"
"navigationBarTitleText": ""
}
},
{
"path": "pages/my/detail",
"style": {
"navigationBarTitleText": "个人信息"
"navigationBarTitleText": ""
}
},
{
"path": "pages/my/address",
"style": {
"navigationBarTitleText": "收货地址" // 不要这个,用于判断组件/页面调用
"navigationBarTitleText": "" // 不要这个,用于判断组件/页面调用
}
},
{
"path": "pages/order/afterSales",
"style": {
"navigationBarTitleText": "申请售后"
"navigationBarTitleText": ""
}
},
{
"path": "pages/order/customerService",
"style": {
"navigationBarTitleText": "客服介入"
"navigationBarTitleText": ""
}
},
{
"path": "pages/my/fav",
"style": {
"navigationBarTitleText": "我的收藏"
"navigationBarTitleText": ""
}
},
{
"path": "pages/my/certificate",
"style": {
"navigationBarTitleText": "证件信息"
"navigationBarTitleText": ""
}
},
{
"path": "pages/my/technicalSupport",
"style": {
"navigationBarTitleText": "提供技术支持"
"navigationBarTitleText": ""
}
},
{
"path": "pages/my/pdfh5",
"style": {
"navigationBarTitleText": "营业执照"
"navigationBarTitleText": ""
}
},{
"path": "pages/index/userInfo",
"style": {
"navigationBarTitleText": ""
}
}
,{
"path": "pages/index/userCard",
"style": {
"navigationBarTitleText": ""
}
}
],
......
......@@ -29,13 +29,13 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt
</van-col>
</van-row>
<van-row class="pd-h-px-10 dianpu" >
<van-col span="11" style="background: #fef9ef">
<van-col span="11" style="background: #fef9ef" @click="goto('index/userInfo')">
<view style="display: flex;align-items: center;justify-content: center"> <van-icon name="shop-collect" color="#EBA926" size="20px" style="margin-right: 10rpx"/>店铺信息</view>
</van-col>
<van-col span="2" style="background: #fef9ef">
<view style="color: #DDDDDD">|</view>
</van-col>
<van-col span="11" style="background: #fef9ef">
<van-col span="11" style="background: #fef9ef" @click="goto('/pages/index/userCard')">
<view style="display: flex;align-items: center;justify-content: center"><van-icon name="photo" color="#EBA926" size="20px" style="margin-right: 10rpx"/>店铺海报</view>
</van-col>
</van-row>
......@@ -64,7 +64,7 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt
</view>
</template>
<template #right-icon>
<view class="flex col text-center">
<view class="flex col text-center" @click="goto('/pages/index/userInfo')">
<van-icon class="text-orange text-xl" name="shop" />
<text class="text-gray text-ss block">店铺名片</text>
</view>
......
<template>
<view class="bg-max bg-gray" style="background: #ffffff;height: 100vh">
<van-sticky>
<view class="justify-center bg-white sh pd-px-20 mg-b-20">
<van-icon class="top-left" name="arrow-left" @tap="goBack" />
<view class="top-center">店铺名片</view>
</view>
</van-sticky>
<van-image radius="20rpx" src="../../static/haibao1.jpg"
/>
</view>
</template>
<script setup lang="ts">
import { PageUtils } from '@/utils/utils';
function goBack() {
PageUtils.goBack()
}
</script>
<style lang="scss" scoped>
.card{
background: #ffffff;
height: 400rpx;
width: 100%;
}
</style>
\ No newline at end of file
<template>
<view class="bg-max bg-gray">
<van-sticky>
<view class="justify-center bg-white sh pd-px-20 mg-b-20">
<van-icon class="top-left" name="arrow-left" @tap="goBack" />
<view class="top-center">店铺信息</view>
</view>
</van-sticky>
<view class="card" id="capture">
<van-row gutter="12" class="pd-h-px-10" style="padding-top: 26rpx">
<van-col span="6" >
<van-image style="border-radius: 50%;border: 2rpx solid #DDDDDD;width: 140rpx;height: 140rpx" radius="20rpx" src="../../static/img/dz/jyx-logo.jpg"
/>
</van-col>
<van-col span="18" style="text-align: left">
<view style="font-size: 34rpx;font-weight: bold">金燕侠</view>
<view style="font-size: 26rpx;margin-top: 4px"> <van-icon name="manager-o" color="#707070" size="16px" style="margin-right: 10rpx"/>金燕侠 <span style="margin: 0 16rpx;color: #DDDDDD">|</span><van-icon name="phone-o" color="#707070" size="16px" /> 13613613666 <span style="float: right;border-radius: 8rpx;
border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBtn(13613613666)">拨打</span> </view>
</van-col>
</van-row>
<van-row gutter="12" class="pd-h-px-10" style="padding-top: 26rpx">
<view style="color: #666666;font-size: 26rpx;letter-spacing: 1rpx;margin-top: 6rpx"><van-icon name="location-o" />浙江省杭州市杭州市莫干山路1418-66号3幢12层 1203 室</view>
</van-row>
<van-row gutter="12" class="pd-h-px-10" style="padding-top: 40rpx">
<van-button style="width: 100%" icon="photo-o" type="primary" @click="goto('/pages/index/userCard')">店铺海报</van-button>
</van-row>
</view>
</view>
</template>
<script setup lang="ts">
import html2Canvas from "html2canvas"
import { PageUtils } from '@/utils/utils';
function goBack() {
PageUtils.goBack()
}
function goto(url: any) {
url && uni.navigateTo({ url })
}
function goPhoneBtn(val){
uni.makePhoneCall({
// 手机号
phoneNumber: val,
// 成功回调
success: (res) => {
},
// 失败回调
fail: (res) => {
}
});
}
</script>
<style lang="scss" scoped>
.card{
background: #ffffff;
height: 400rpx;
width: 100%;
}
</style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册