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

.

上级 34c0c2d2
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
if (window.__wxjs_environment === 'miniprogram') { if (window.__wxjs_environment === 'miniprogram') {
let subdomain =getUrl(window.location.href) let subdomain =getUrl(window.location.href)
if(subdomain.name){ if(subdomain.name){
uni.setStorageSync('subdomain',subdomain.name) uni.setStorageSync('subdomain','alisa1')
} }
try { try {
uni.setStorageSync('uniEnv', process.uniEnv) // 打包后没有process uni.setStorageSync('uniEnv', process.uniEnv) // 打包后没有process
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
} }
; ;
}, false); }, false);
uni.setStorageSync('subdomain', window.location.href.replace(/(.*\/\/)|(\.edstao.*)/g, '')) uni.setStorageSync('subdomain','alisa1')
uni.setStorageSync('isWX', WXUtils.isWeiXin()) uni.setStorageSync('isWX', WXUtils.isWeiXin())
try { try {
uni.setStorageSync('uniEnv', process.uniEnv) // 打包后没有process uni.setStorageSync('uniEnv', process.uniEnv) // 打包后没有process
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
} catch { } catch {
} }
} }
uni.setStorageSync('subdomain','alisa1')
}); });
onShow(() => { onShow(() => {
console.log("App Show"); console.log("App Show");
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{ {
"path": "pages/index", "path": "pages/index",
"style": { "style": {
"navigationBarTitleText": "E淘商城" "navigationBarTitleText": "商城"
} }
}, { }, {
"path": "pages/login/login", "path": "pages/login/login",
...@@ -69,13 +69,13 @@ ...@@ -69,13 +69,13 @@
{ {
"path": "pages/topSearch/index", "path": "pages/topSearch/index",
"style": { "style": {
"navigationBarTitleText": "E淘商城-搜索" "navigationBarTitleText": "商城-搜索"
} }
}, },
{ {
"path": "pages/goodList/index", "path": "pages/goodList/index",
"style": { "style": {
"navigationBarTitleText": "E淘商城-列表页" "navigationBarTitleText": "商城-列表页"
} }
}, },
{ {
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
{ {
"path": "pages/my/technicalSupport", "path": "pages/my/technicalSupport",
"style": { "style": {
"navigationBarTitleText": "E淘提供技术支持" "navigationBarTitleText": "提供技术支持"
} }
}, },
{ {
......
...@@ -79,12 +79,12 @@ ...@@ -79,12 +79,12 @@
<van-image width="160px" class="mail_bg" fit="cover" src="/static/img/no_contact.png" /> <van-image width="160px" class="mail_bg" fit="cover" src="/static/img/no_contact.png" />
<view class="text-m text-darkGray pd-50">暂无任何客服信息喔~</view> <view class="text-m text-darkGray pd-50">暂无任何客服信息喔~</view>
<div style="text-align: center;width: 100%;margin-top: 30px"> <div style="text-align: center;width: 100%;margin-top: 30px">
<p><img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">E淘提供技术支持</span></p> <p><img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">提供技术支持</span></p>
<p @click="gotoU" style="margin-top: 20px"><span style="color: #666666">资质与规则</span></p> <p @click="gotoU" style="margin-top: 20px"><span style="color: #666666">资质与规则</span></p>
</div> </div>
</view> </view>
<div v-if="state.service.length >0" style="text-align: center;width: 100%;margin: 30px auto"> <div v-if="state.service.length >0" style="text-align: center;width: 100%;margin: 30px auto">
<p><img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">E淘提供技术支持</span></p> <p><img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">提供技术支持</span></p>
<p @click="gotoU" style="margin-top: 20px"><span style="color: #666666">资质与规则</span></p> <p @click="gotoU" style="margin-top: 20px"><span style="color: #666666">资质与规则</span></p>
</div> </div>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</view> </view>
</van-sticky> </van-sticky>
<div style="padding: 20px"> <div style="padding: 20px">
<p>标题:E淘商城- {{userData.brandName}}</p> <p>标题:商城- {{userData.brandName}}</p>
<p>商品描述:{{userData.title}}</p> <p>商品描述:{{userData.title}}</p>
<p>商品图片:<img style="width: 120px;vertical-align: top" :src="userData.mainImg" alt=""></p> <p>商品图片:<img style="width: 120px;vertical-align: top" :src="userData.mainImg" alt=""></p>
</div> </div>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
wx.config(wxConfig); wx.config(wxConfig);
wx.ready(function () { wx.ready(function () {
wx.updateAppMessageShareData({ wx.updateAppMessageShareData({
title: 'E淘商城-'+ that.userData.brandName, // 分享标题 title: '商城-'+ that.userData.brandName, // 分享标题
desc: that.userData.title, // 分享描述 desc: that.userData.title, // 分享描述
link: data.redirecturl, // 分享链接 link: data.redirecturl, // 分享链接
imgUrl: that.userData.mainImg, // 分享图标 imgUrl: that.userData.mainImg, // 分享图标
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<img @click="gotoU" src="../../static/right_rule.png" style="position: fixed;right: 0;top: 70%;z-index: 99" alt=""> <img @click="gotoU" src="../../static/right_rule.png" style="position: fixed;right: 0;top: 70%;z-index: 99" alt="">
<van-sticky> <van-sticky>
<view class="search_bar sh"> <view class="search_bar sh">
<van-search input-align="center" placeholder="搜索E淘商城商品" shape="round" v-model="state.keyword" <van-search input-align="center" placeholder="搜索商城商品" shape="round" v-model="state.keyword"
@focus="goSearch" > @focus="goSearch" >
<!--<template v-slot:right-icon>--> <!--<template v-slot:right-icon>-->
<!--<van-icon name="photograph" @click="searchImg" size="1.2rem" />--> <!--<van-icon name="photograph" @click="searchImg" size="1.2rem" />-->
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<van-icon name="arrow-left" @tap="goto('/')" /> <van-icon name="arrow-left" @tap="goto('/')" />
</view> </view>
<van-image width="214rpx" src="/static/img/logo.png" /> <van-image width="214rpx" src="/static/img/logo.png" />
<view class="text-xxl text-bold pd-v-45">你好,欢迎使用E淘商城。</view> <view class="text-xxl text-bold pd-v-45">你好,欢迎使用商城。</view>
<van-form class="transparent" @submit="onSubmit"> <van-form class="transparent" @submit="onSubmit">
<van-field :class="{ 'field-focus': state.focus == 'phone' }" v-model="state.params.phone" placeholder="请输入手机号" <van-field :class="{ 'field-focus': state.focus == 'phone' }" v-model="state.params.phone" placeholder="请输入手机号"
type="digit" clearable @focus="onFocus('phone')" @blur="onFocus('')" clear-trigger="always" name="phone" autocomplete="on"> type="digit" clearable @focus="onFocus('phone')" @blur="onFocus('')" clear-trigger="always" name="phone" autocomplete="on">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</view> </view>
</van-form> </van-form>
<div v-if="state.hideshow" style="text-align: center;position: absolute;bottom: 10px;width: 100%;left: 0;" @click="gotoU"> <div v-if="state.hideshow" style="text-align: center;position: absolute;bottom: 10px;width: 100%;left: 0;" @click="gotoU">
<img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">E淘提供技术支持</span> <img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">提供技术支持</span>
</div> </div>
</view> </view>
</view> </view>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<p v-if="!mail.licensePath" style="color: #666666 ">暂无任相关信息~</p> <p v-if="!mail.licensePath" style="color: #666666 ">暂无任相关信息~</p>
</div> </div>
<div style="text-align: center;position: absolute;bottom: 10px;width: 100%"> <div style="text-align: center;position: absolute;bottom: 10px;width: 100%">
<img @click="gotoU" style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">E淘提供技术支持</span> <img @click="gotoU" style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">提供技术支持</span>
<p @click="gotoU" style="margin-top: 10px"><span style="color: #666666">资质与规则</span></p> <p @click="gotoU" style="margin-top: 10px"><span style="color: #666666">资质与规则</span></p>
</div> </div>
</div> </div>
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
退出登录 退出登录
</van-button> </van-button>
<div style="text-align: center;position: absolute;bottom: 10px;width: 100%;left: 0" @click="gotoU"> <div style="text-align: center;position: absolute;bottom: 10px;width: 100%;left: 0" @click="gotoU">
<img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">E淘提供技术支持</span> <img style="width: 20px;height: 20px;vertical-align: sub;margin-right: 10px" src="../../static/favicon.ico" alt=""><span style="color: #666666">提供技术支持</span>
</div> </div>
</div> </div>
<!-- 通用改单个数据的dialog --> <!-- 通用改单个数据的dialog -->
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
data () { data () {
return { return {
pdfh5: null, pdfh5: null,
title:'E淘商城平台交易指引' title:'商城平台交易指引'
} }
}, },
mounted(){ mounted(){
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
url= 'https://edspicserver.oss-cn-hangzhou.aliyuncs.com/ROOT/ETao/resource/business_license.pdf' url= 'https://edspicserver.oss-cn-hangzhou.aliyuncs.com/ROOT/ETao/resource/business_license.pdf'
}else if(this.$route.query.type==2) { }else if(this.$route.query.type==2) {
url='https://img.edsmall.com/ROOT/ETao/resource/trading_guidelines.pdf' url='https://img.edsmall.com/ROOT/ETao/resource/trading_guidelines.pdf'
this.title='E淘商城平台交易指引' this.title='商城平台交易指引'
}else { }else {
url='https://img.edsmall.com/ROOT/ETao/resource/ThePeoplesRepublicofChina.pdf' url='https://img.edsmall.com/ROOT/ETao/resource/ThePeoplesRepublicofChina.pdf'
this.title='增值电信业务经营许可证' this.title='增值电信业务经营许可证'
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div style="margin: 10px 10px"> <div style="margin: 10px 10px">
<p style="color: #666666;">*若无法预览,请复制链接后在浏览器打开</p> <p style="color: #666666;">*若无法预览,请复制链接后在浏览器打开</p>
<van-divider :style="{borderColor: '#DDDDDD'}"/> <van-divider :style="{borderColor: '#DDDDDD'}"/>
<h2 style="margin: 10px auto">E淘商城平台交易指引</h2> <h2 style="margin: 10px auto">商城平台交易指引</h2>
<p><a style="color: #1A79FF" @click="goPDF(2)">https://img.edsmall.com/ROOT/ETao/resource/trading_guidelines.pdf</a></p> <p><a style="color: #1A79FF" @click="goPDF(2)">https://img.edsmall.com/ROOT/ETao/resource/trading_guidelines.pdf</a></p>
<h2 style="margin: 10px auto;margin-top: 30px">营业执照</h2> <h2 style="margin: 10px auto;margin-top: 30px">营业执照</h2>
<p><a style="color: #1A79FF" @click="goPDF(1)">https://edspicserver.oss-cn-hangzhou.aliyuncs.com/ROOT/ETao/resource/business_license.pdf</a></p> <p><a style="color: #1A79FF" @click="goPDF(1)">https://edspicserver.oss-cn-hangzhou.aliyuncs.com/ROOT/ETao/resource/business_license.pdf</a></p>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</van-nav-bar> </van-nav-bar>
</van-sticky> </van-sticky>
<van-image style="width: 100%" :src="that.userInfo.imgUrl" /> <van-image style="width: 100%" :src="that.userInfo.imgUrl" />
<p style="font-size: 14px;text-align: center;color: #bfbfbf;margin-top: 20px">E淘·用心为您服务</p> <p style="font-size: 14px;text-align: center;color: #bfbfbf;margin-top: 20px">用心为您服务</p>
<van-row style="background: #ffffff;position: fixed;bottom: 0;width: 100%"> <van-row style="background: #ffffff;position: fixed;bottom: 0;width: 100%">
<van-col span="12" style="border-right: 1px solid #f9f9f9;text-align: center;padding: 16px" @click="goto('/pages/good/contact')"> <van-col span="12" style="border-right: 1px solid #f9f9f9;text-align: center;padding: 16px" @click="goto('/pages/good/contact')">
<van-icon name="phone-circle-o" size="20px" style="color: #fe7e58;margin-right: 6px" /> <van-icon name="phone-circle-o" size="20px" style="color: #fe7e58;margin-right: 6px" />
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册