Browse Source

首次提交

master
zhengshuiqi 3 years ago
parent
commit
3a21e2ca7f
  1. 3
      api/index.js
  2. 298
      manifest.json
  3. 31
      pages.json
  4. 6
      pages/account/deleteCount.vue
  5. 35
      pages/account/index.vue
  6. 128
      pages/account/message.vue
  7. 14
      pages/account/myProfile.vue
  8. 8
      pages/category/index.vue
  9. 19
      pages/category/productList.vue
  10. 8
      pages/index/address.vue
  11. 3213
      pages/index/index.vue
  12. 1
      pages/index/index2.vue
  13. 1
      pages/index/search.vue
  14. 4
      pages/login/index.vue
  15. 32
      pages/productDetails/index.vue
  16. 12
      pages/shippingCart/index.vue
  17. BIN
      static/img/message.png

3
api/index.js

@ -73,4 +73,5 @@ export const defaultRequest5 =(query,comments)=>{
isLoad:true,
comments:comments
})
}
}
// 银行支付

298
manifest.json

@ -43,7 +43,8 @@
"Payment" : {},
"VideoPlayer" : {},
"Contacts" : {},
"Speech" : {}
"Speech" : {},
"iBeacon" : {}
},
/* */
"distribute" : {
@ -53,6 +54,8 @@
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
@ -67,10 +70,12 @@
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
],
"autoSdkPermissions" : true,
"minSdkVersion" : 21,
"minSdkVersion" : 26,
"targetSdkVersion" : 31,
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
},
@ -106,7 +111,37 @@
"xhdpi" : "unpackage/res/icons/dope2.png",
"xxhdpi" : "unpackage/res/icons/dope2.png"
},
"useOriginalMsgbox" : false
"useOriginalMsgbox" : false,
"iosStyle" : "default",
"ios" : {
"iphone" : {
"retina47" : "unpackage/res/icons/dope2.png",
"portrait-896h@3x" : "unpackage/res/icons/dope2.png",
"landscape-896h@3x" : "unpackage/res/icons/dope2.png",
"portrait-896h@2x" : "unpackage/res/icons/dope2.png",
"landscape-896h@2x" : "unpackage/res/icons/dope2.png",
"iphonex" : "unpackage/res/icons/dope2.png",
"iphonexl" : "unpackage/res/icons/dope2.png",
"retina55" : "unpackage/res/icons/dope2.png",
"retina55l" : "unpackage/res/icons/dope2.png",
"retina47l" : "unpackage/res/icons/dope2.png",
"retina40" : "unpackage/res/icons/dope2.png",
"retina40l" : "unpackage/res/icons/dope2.png",
"retina35" : "unpackage/res/icons/dope2.png"
},
"ipad" : {
"portrait-1366h@2x" : "unpackage/res/icons/dope2.png",
"landscape-1366h@2x" : "unpackage/res/icons/dope2.png",
"portrait-1194h@2x" : "unpackage/res/icons/dope2.png",
"landscape-1194h@2x" : "unpackage/res/icons/dope2.png",
"portrait-1112h@2x" : "unpackage/res/icons/dope2.png",
"landscape-1112h@2x" : "unpackage/res/icons/dope2.png",
"portrait-retina7" : "unpackage/res/icons/dope2.png",
"landscape-retina7" : "unpackage/res/icons/dope2.png",
"portrait7" : "unpackage/res/icons/dope2.png",
"landscape7" : "unpackage/res/icons/dope2.png"
}
}
},
"icons" : {
"android" : {
@ -141,135 +176,134 @@
}
}
},
"nativePlugins" : {
"JG-JCore" : {
"JPUSH_APPKEY_IOS" : "",
"JPUSH_CHANNEL_IOS" : "",
"JPUSH_APPKEY_ANDROID" : "f7c642155be0cdfa97fb3d75",
"JPUSH_CHANNEL_ANDROID" : "f7c642155be0cdfa97fb3d75",
"__plugin_info__" : {
"name" : "JG-JCore",
"description" : "极光推送JCore插件",
"platforms" : "Android,iOS",
"url" : "",
"android_package_name" : "com.lilbeat.dopeplus",
"ios_bundle_id" : "com.lilbeat.dopeplus",
"isCloud" : false,
"bought" : -1,
"pid" : "",
"parameters" : {
"JPUSH_APPKEY_IOS" : {
"des" : "[iOS]极光portal配置应用信息时分配的AppKey",
"key" : "f7c642155be0cdfa97fb3d75",
"value" : ""
},
"JPUSH_CHANNEL_IOS" : {
"des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
"key" : "JCore:CHANNEL",
"value" : ""
},
"JPUSH_APPKEY_ANDROID" : {
"des" : "[Android]极光portal配置应用信息时分配的AppKey",
"key" : "f7c642155be0cdfa97fb3d75",
"value" : ""
},
"JPUSH_CHANNEL_ANDROID" : {
"des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default",
"key" : "JPUSH_CHANNEL",
"value" : ""
}
}
}
},
"JG-JPush" : {
"JPUSH_ISPRODUCTION_IOS" : "",
"JPUSH_ADVERTISINGID_IOS" : "",
"JPUSH_DEFAULTINITJPUSH_IOS" : "",
"JPUSH_OPPO_APPKEY" : "",
"JPUSH_OPPO_APPID" : "",
"JPUSH_OPPO_APPSECRET" : "",
"JPUSH_VIVO_APPKEY" : "",
"JPUSH_VIVO_APPID" : "",
"JPUSH_MEIZU_APPKEY" : "",
"JPUSH_MEIZU_APPID" : "",
"JPUSH_XIAOMI_APPKEY" : "",
"JPUSH_XIAOMI_APPID" : "",
"__plugin_info__" : {
"name" : "JG-JPush",
"description" : "极光推送Hbuilder插件",
"platforms" : "Android,iOS",
"url" : "",
"android_package_name" : "com.lilbeat.dopeplus",
"ios_bundle_id" : "com.lilbeat.dopeplus",
"isCloud" : false,
"bought" : -1,
"pid" : "",
"parameters" : {
"JPUSH_ISPRODUCTION_IOS" : {
"des" : "[iOS]是否是生产环境,是填true,不是填false或者不填",
"key" : "JPush:ISPRODUCTION",
"value" : ""
},
"JPUSH_ADVERTISINGID_IOS" : {
"des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
"key" : "JPush:ADVERTISINGID",
"value" : ""
},
"JPUSH_DEFAULTINITJPUSH_IOS" : {
"des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
"key" : "JPush:DEFAULTINITJPUSH",
"value" : ""
},
"JPUSH_OPPO_APPKEY" : {
"des" : "厂商OPPO-appkey,示例:OP-12345678",
"key" : "OPPO_APPKEY",
"value" : ""
},
"JPUSH_OPPO_APPID" : {
"des" : "厂商OPPO-appId,示例:OP-12345678",
"key" : "OPPO_APPID",
"value" : ""
},
"JPUSH_OPPO_APPSECRET" : {
"des" : "厂商OPPO-appSecret,示例:OP-12345678",
"key" : "OPPO_APPSECRET",
"value" : ""
},
"JPUSH_VIVO_APPKEY" : {
"des" : "厂商VIVO-appkey,示例:12345678",
"key" : "com.vivo.push.api_key",
"value" : ""
},
"JPUSH_VIVO_APPID" : {
"des" : "厂商VIVO-appId,示例:12345678",
"key" : "com.vivo.push.app_id",
"value" : ""
},
"JPUSH_MEIZU_APPKEY" : {
"des" : "厂商MEIZU-appKey,示例:MZ-12345678",
"key" : "MEIZU_APPKEY",
"value" : ""
},
"JPUSH_MEIZU_APPID" : {
"des" : "厂商MEIZU-appId,示例:MZ-12345678",
"key" : "MEIZU_APPID",
"value" : ""
},
"JPUSH_XIAOMI_APPKEY" : {
"des" : "厂商XIAOMI-appKey,示例:MI-12345678",
"key" : "XIAOMI_APPKEY",
"value" : ""
},
"JPUSH_XIAOMI_APPID" : {
"des" : "厂商XIAOMI-appId,示例:MI-12345678",
"key" : "XIAOMI_APPID",
"value" : ""
}
}
}
}
}
"nativePlugins" : {}
},
// "JG-JCore" : {
// "JPUSH_APPKEY_IOS" : "",
// "JPUSH_CHANNEL_IOS" : "",
// "JPUSH_APPKEY_ANDROID" : "f7c642155be0cdfa97fb3d75",
// "JPUSH_CHANNEL_ANDROID" : "f7c642155be0cdfa97fb3d75",
// "__plugin_info__" : {
// "name" : "JG-JCore",
// "description" : "极光推送JCore插件",
// "platforms" : "Android,iOS",
// "url" : "",
// "android_package_name" : "com.lilbeat.dopeplus",
// "ios_bundle_id" : "com.lilbeat.dopeplus",
// "isCloud" : false,
// "bought" : -1,
// "pid" : "",
// "parameters" : {
// "JPUSH_APPKEY_IOS" : {
// "des" : "[iOS]极光portal配置应用信息时分配的AppKey",
// "key" : "f7c642155be0cdfa97fb3d75",
// "value" : ""
// },
// "JPUSH_CHANNEL_IOS" : {
// "des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
// "key" : "JCore:CHANNEL",
// "value" : ""
// },
// "JPUSH_APPKEY_ANDROID" : {
// "des" : "[Android]极光portal配置应用信息时分配的AppKey",
// "key" : "f7c642155be0cdfa97fb3d75",
// "value" : ""
// },
// "JPUSH_CHANNEL_ANDROID" : {
// "des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default",
// "key" : "JPUSH_CHANNEL",
// "value" : ""
// }
// }
// }
// },
// "JG-JPush" : {
// "JPUSH_ISPRODUCTION_IOS" : "",
// "JPUSH_ADVERTISINGID_IOS" : "",
// "JPUSH_DEFAULTINITJPUSH_IOS" : "",
// "JPUSH_OPPO_APPKEY" : "",
// "JPUSH_OPPO_APPID" : "",
// "JPUSH_OPPO_APPSECRET" : "",
// "JPUSH_VIVO_APPKEY" : "",
// "JPUSH_VIVO_APPID" : "",
// "JPUSH_MEIZU_APPKEY" : "",
// "JPUSH_MEIZU_APPID" : "",
// "JPUSH_XIAOMI_APPKEY" : "",
// "JPUSH_XIAOMI_APPID" : "",
// "__plugin_info__" : {
// "name" : "JG-JPush",
// "description" : "极光推送Hbuilder插件",
// "platforms" : "Android,iOS",
// "url" : "",
// "android_package_name" : "com.lilbeat.dopeplus",
// "ios_bundle_id" : "com.lilbeat.dopeplus",
// "isCloud" : false,
// "bought" : -1,
// "pid" : "",
// "parameters" : {
// "JPUSH_ISPRODUCTION_IOS" : {
// "des" : "[iOS]是否是生产环境,是填true,不是填false或者不填",
// "key" : "JPush:ISPRODUCTION",
// "value" : ""
// },
// "JPUSH_ADVERTISINGID_IOS" : {
// "des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
// "key" : "JPush:ADVERTISINGID",
// "value" : ""
// },
// "JPUSH_DEFAULTINITJPUSH_IOS" : {
// "des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
// "key" : "JPush:DEFAULTINITJPUSH",
// "value" : ""
// },
// "JPUSH_OPPO_APPKEY" : {
// "des" : "厂商OPPO-appkey,示例:OP-12345678",
// "key" : "OPPO_APPKEY",
// "value" : ""
// },
// "JPUSH_OPPO_APPID" : {
// "des" : "厂商OPPO-appId,示例:OP-12345678",
// "key" : "OPPO_APPID",
// "value" : ""
// },
// "JPUSH_OPPO_APPSECRET" : {
// "des" : "厂商OPPO-appSecret,示例:OP-12345678",
// "key" : "OPPO_APPSECRET",
// "value" : ""
// },
// "JPUSH_VIVO_APPKEY" : {
// "des" : "厂商VIVO-appkey,示例:12345678",
// "key" : "com.vivo.push.api_key",
// "value" : ""
// },
// "JPUSH_VIVO_APPID" : {
// "des" : "厂商VIVO-appId,示例:12345678",
// "key" : "com.vivo.push.app_id",
// "value" : ""
// },
// "JPUSH_MEIZU_APPKEY" : {
// "des" : "厂商MEIZU-appKey,示例:MZ-12345678",
// "key" : "MEIZU_APPKEY",
// "value" : ""
// },
// "JPUSH_MEIZU_APPID" : {
// "des" : "厂商MEIZU-appId,示例:MZ-12345678",
// "key" : "MEIZU_APPID",
// "value" : ""
// },
// "JPUSH_XIAOMI_APPKEY" : {
// "des" : "厂商XIAOMI-appKey,示例:MI-12345678",
// "key" : "XIAOMI_APPKEY",
// "value" : ""
// },
// "JPUSH_XIAOMI_APPID" : {
// "des" : "厂商XIAOMI-appId,示例:MI-12345678",
// "key" : "XIAOMI_APPID",
// "value" : ""
// }
// }
// }
// }
/* */
"quickapp" : {},
/* */

31
pages.json

@ -6,8 +6,15 @@
"style": {
"navigationBarTitleText": "uni-app",
"enablePullDownRefresh":true,
"app-plus":{
"titleNView":false
"titleNView":false,
"bounce": "none",
"pullToRefresh": {
"style": "circle",
"color": "#aa0000"
}
// "renderer": "native"
},
"navigationBarTextStyle":"white"
}
@ -17,6 +24,7 @@
"style": {
"navigationStyle":"custom",
"app-plus": {
// "renderer": "native",
"safearea":{
"background" : "none",
"bottom":{
@ -145,7 +153,8 @@
{
"path": "pages/login/index",
"style": {
"navigationStyle":"custom"
"navigationStyle":"custom",
"navigationBarBackgroundColor":"#000000"
// "navigationBarTextStyle":"white"
}
},
@ -365,8 +374,21 @@
"globalStyle": {
"navigationBarBackgroundColor": "#000000",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "DOPE PLUS"
"navigationBarTitleText": "DOPE PLUS",
"enablePullDownRefresh": true,
"app-plus": {
//
"bounce": "none",
"usingComponents" : false,
"optimization": {
"subPackages": true
},
"pullToRefresh": {
"style": "circle",
"color": "#aa0000"
},
"runmode" : "liberate" //
}
},
"tabBar": {
"borderStyle": "white",
@ -408,6 +430,7 @@
"iconPath": "static/img/Account.png",
"selectedIconPath": "static/img/Account1.png",
"text": "Account"
}
]

6
pages/account/deleteCount.vue

@ -1,7 +1,9 @@
<template>
<view>
<view class="font">
<uni-icons type="arrow-left" size="30" @click="back" color="#fff"></uni-icons>
<!-- <uni-icons type="arrow-left" size="30" @click="back" color="#fff"></uni-icons> -->
<uni-icons type="back" size="30" @click="back" style="font-weight: 100;" color="#fff"></uni-icons>
<text style="margin-left: 30rpx;color: white;">Delete account</text>
</view>
<view class="text_item">
@ -103,7 +105,7 @@
text-align: start;
margin-left: 5vw;
margin-right: 3vw;
color:#b5b5b5;
color:#818181;
font-size:26rpx;
}
.address_foot{

35
pages/account/index.vue

@ -9,14 +9,14 @@
<image src="../../static/icon/nologin2.png" mode="" class="header_img" v-show="!user_info.isLogin||!user_info.user_head"></image>
<image :src="user_info.user_head" mode="" class="header_img" v-show="user_info.isLogin&&user_info.user_head" @click="seeImg()"></image>
<!-- <image :src="user_info.user_head?user_info.user_head:user_info.headicons[5]" mode="" class="header_img" v-if="user_info.isLogin"></image> -->
<view class="info_name" v-if="!user_info.isLogin">
<navigator url="/pages/login/index" >
LOGIN / SIGUP>
</navigator>
</view>
<view class="info_name" v-if="!user_info.isLogin">
<navigator url="/pages/login/index" >
LOGIN / SIGUP>
</navigator>
</view>
<view class="info_name" v-else>
<navigator url="/pages/account/myProfile" >
hi,{{user_info.nickname!=''?user_info.nickname:user_info.email}}>
Hey,{{user_info.nickname!=''?user_info.nickname:user_info.email}}>
</navigator>
</view>
@ -102,7 +102,12 @@
</navigator> -->
</view>
<scroll-view scroll-x="true"><image :src="item.block_pic" v-for="(item,index) in Imglist" :key="item.block_pic"class="mine_banner allpadding" mode="" @click="imgto(item)"></image></scroll-view>
<!-- scroll-x="true" -->
<scroll-view >
<image :src="item.block_pic" style="width: 90%;padding: 0 20px;" v-for="(item,index) in Imglist" :key="item.block_pic"class="mine_banner " mode="" @click="imgto(item)">
<!-- allpadding -->
</image>
</scroll-view>
<view v-if="catList.length!=0" style="background-color: #f4f3f8; padding: 0 23.33rpx;" >
<view class="order_title" style="padding-top: 20rpx;">Recommend</view>
<scroll-view class="spike1 margin_botoom" style="background-color: #f4f3f8;" scroll-x="true" :show-scrollbar="false">
@ -286,13 +291,17 @@
console.log(res)
let url
if(res.error == 0){
// if(res.data.page_code == 'HOMESALEICON'){
if(res.data.page_code == 'HOMESALEICON'){
let src = 'https://www.dopeplus.com/images/mapp_customized/202210/1665653173499940520.png'
// let src = 'https://www.dopeplus.com/images/mapp_customized/202211/1667961215280331818.png'
if(src==res.data.zones[0].blocks[0].block_pic){
// this.tarbar[2].src = 'https://www.dopeplus.com/images/mapp_customized/202211/1667961215280331818.png'
this.tarbar[2].src = '../../static/img/min.png'
}else{
src=res.data.zones[0].blocks[0].block_pic
// this.tabar[2].src=src
this.tarbar[2].src = res.data.zones[0].blocks[0].block_pic
uni.setStorageSync('midButton',src)
}
}
@ -496,10 +505,12 @@
background-color: #000000;
}
.info_name{
font-size: 36rpx;
font-size: 20px;
font-weight: bold;
color: #F7F7F7;
margin-bottom: 74.67rpx;
margin-bottom: 57px;
position: absolute;
padding: 50px 50px 0;
}
.info_like{
display: flex;
@ -507,6 +518,7 @@
align-items: center;
width: 100%;
color: #F7F7F7;
padding-top: 18.5%;
.info_like_item{
font-size: 40rpx;
font-weight: 400;
@ -685,4 +697,7 @@
}
}
}
.margin_botoom {
padding-bottom: 55px !important;
}
</style>

128
pages/account/message.vue

@ -1,42 +1,19 @@
<template>
<view>
<!-- <uni-nav-bar left-icon="left" :statusBar="true" title="Message"
color="#fff" backgroundColor="#000000" @clickLeft="back" :border="false"/> -->
<view class="one">
<image src="../../static/img/left_white.png" mode="" @click="back()"></image>
<view class="one_text">Message</view>
<view class="message">
<view class="font">
<!-- <uni-icons style="padding-left: 11px;color: white;" type="arrow-left" size="30" @click="back"></uni-icons> -->
<uni-icons style="padding-left: 11px;color: white;font-weight: 100;" type="back" size="30" @click="back"></uni-icons>
<text style="margin-left: 30%;color: white;">Message</text>
</view>
<view class="body">
<view class="msg_item" v-for="(item,index) in list.blocks" :key="item.block_title" @click="gotopage(item)">
<view class="msg_time">{{item.block_avaiable_from | Mes}}</view>
<!-- <text class="y_red" v-show="item.block_id"></text> -->
<!-- <view class="msg_content">{{item.}}</view> -->
<view class="msg_img" v-if="item.block_pic"><image :src="item.block_pic" class="imagesize"></image></view>
<view class="msg_title">{{item.block_title}}</view>
</view>
<view class="msg_item" v-for="(item,index) in app_Mes" :key ="item.id"@click="gotopage(item)">
<view class="msg_time">{{ item.add_time | Mes}}</view>
<text class="y_red" v-show="item.unread == 1"></text>
<view class="msg_title">{{ item.mtitle }}</view>
<view class="msg_content">
</view>
<view class="body-i">
<!-- <image src="../../static/img/message.png" mode=""></image> -->
</view>
<!-- <view class="msg_item">
<view class="msg_time">21/04/2022 14:42:31</view>
<view class="msg_title">Message heading</view>
<view class="msg_content">
estimated to be deliverd on estimated to be deliverd on estim
ated to be deliverd on estimated to be deliverd on
</view>
<view class="msg_img"></view>
</view> -->
<button class="body-btn">Continue shopping</button>
</view>
</view>
</template>
<script>
import {defaultRequest} from '../../api/index.js'
export default {
@ -188,63 +165,42 @@
}
</style>
<style lang="scss" scoped>
.uni-navbar{
font-size: 32rpx;
font-weight: bold;
.font {
display: flex;
position: fixed;
background-color: #000;
height: 56px;
width: 100%;
z-index: 999;
// padding-top: 28px;
align-items: center;
text-align: center;
top: 0;
left: 0;
font-size: 20px;
font-weight: bold;
}
.y_red{
font-size: 19rpx;
color: #940000;;
}
.body{
// border-top: 13.33rpx #F7F7F7 solid;
padding: 50.67rpx 26.67rpx;
}
.msg_item{
padding-top: 17rpx;
padding-bottom: 28rpx;
padding-left: 10rpx;
padding-right: 10rpx;
background-color:#fff ;
// border-bottom: 1px solid #E2E2E2;
margin-bottom: 30rpx;
&:first-child{
margin-top: 122.67rpx;
}
.msg_time{
font-size: 25.33rpx;
font-weight: 400;
text-align: center;
// margin-top: 51.33rpx;
}
.msg_title{
font-size: 28rpx;
margin-top: 20rpx;
margin-left: 10rpx;
}
.msg_content{
color: #555555;
font-size: 25.33rpx;
font-weight: 400;
.body {
margin-top: 56px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
.body-i {
object-fit: cover;
width: 336px;
height: 106px;
margin-top: 61px;
background: url('../../static/img/message.png') center;
background-size: auto;
background-repeat: no-repeat;
}
.msg_img{
margin-top: 27.33rpx;
border-radius: 10rpx;
width: 100%;
height: 281.33rpx;
background-color: #ffdcd3 ;
&-btn {
margin-top: 42px;
background: #000;
border-radius: 8px;
color: #fff;
}
}
.msg_item:last-child{
border-bottom: none;
}
.imagesize{
width: 100%;
height: 100%;
border-radius: 10rpx;
}
</style>

14
pages/account/myProfile.vue

@ -33,21 +33,21 @@
</view>
</view>
</navigator>
<view class="profile_item ">
<view class="profile_item" @click="gotoaddress">
<text>Ship to</text>
<view class="profile_item_right" @click="gotoaddress">
<view class="profile_item_right">
<!-- <text>{{addressDate.country_name || 'United States'}}</text> -->
<text>{{ country }}</text>
<image src="../../static/img/right1.png" alt="" class="right_img"></image>
</view>
</view>
<navigator url="/pages/account/deleteCount" >
<view class="profile_item ">
<text>Delete account</text>
<view class="profile_item_right">
<image src="../../static/img/right1.png" alt="" class="right_img"></image>
<view class="profile_item ">
<text>Delete account</text>
<view class="profile_item_right">
<image src="../../static/img/right1.png" alt="" class="right_img"></image>
</view>
</view>
</view>
</navigator>
<uni-popup ref="inputDialog" type="dialog">
<uni-popup-dialog ref="inputClose" mode="input" title="Edit Name" cancelText="Cancel" confirmText="OK"

8
pages/category/index.vue

@ -215,7 +215,8 @@
this.tarbar[2].src = '../../static/img/min.png'
}else{
src=res.data.zones[0].blocks[0].block_pic
// this.tabar[2].src=src
this.tarbar[2].src = res.data.zones[0].blocks[0].block_pic
uni.setStorageSync('midButton',src)
}
@ -435,7 +436,7 @@
box-sizing: border-box;
font-family: PingFang SC;
white-space: nowrap;
display: flex;
align-items: center;
word-wrap: break-word;
@ -444,7 +445,8 @@
.u-tab-item-active {
position: relative;
font-size: 26rpx;
// font-size: 26rpx;
font-size: 28.67rpx;
font-weight: 600;
background-color: black;
color: white;

19
pages/category/productList.vue

@ -19,7 +19,8 @@
</view>
</block>
</uni-nav-bar>
<view class="pets_nav" :style="{display:isCart?'none':''}">
<!-- 1 -->
<view style="left: 0;position: fixed;" class="pets_nav" :style="{display:isCart?'none':''}">
<text :class="query.order_type==0?'active_text':''" @click="selectNav(0)">Synthesis</text>
<view class="pets_nav_item" @click="selectNav(1)">
<text :class="query.order_type==3 ?'active_text' :query.order_type==4 ?'active_text':''">Sales</text>
@ -37,12 +38,12 @@
</view>
<view class="pets_nav_image">
<image src="/static/img/pets_nav_white.png" mode="" v-show="pets_index==0" @click="pets_index=1,$refs.waterfallsFlowRef.refresh()"></image>
<image src="/static/img/ptes_nav1_white.png" mode="" v-show="pets_index==1" @click="pets_index=0"></image>
<image src="/static/img/pets_nav_white.png" mode="" v-show="pets_index==1" @click="pets_index=0,$refs.waterfallsFlowRef.refresh()"></image>
<image src="/static/img/ptes_nav1_white.png" mode="" v-show="pets_index==0" @click="pets_index=1"></image>
</view>
</view>
<view class="body" >
<view class="product" v-show="pets_index==0">
<view class="product" v-show="pets_index==1">
<view class="product_item" v-for="(item,index) in list" :key="index" @click="goDetails(item,1)">
<image class="product_item_image" :src="item.goods_img"></image>
<view class="product_item_right">
@ -62,7 +63,7 @@
</view>
</view>
<view class="product1" v-show="pets_index==1">
<view class="product1" v-show="pets_index==0">
<custom-waterfalls-flow ref="waterfallsFlowRef" :value="list" imageKey="goods_img" @wapperClick="goDetails" @imageClick="goDetails">
<template v-slot:default="item" >
<view class="product1_item">
@ -578,10 +579,12 @@
color: #fff;
background: rgba(0, 0, 0,0.6);
// opacity: 0.6;
top: 0;
margin-top: 135rpx;
// top: 0;
// margin-top: 135rpx;
/* #ifdef H5 */
margin-top: 95rpx;
// margin-top: 95rpx;
// margin-top: 11%;
/* #endif */
width: 100%;
box-sizing: border-box;

8
pages/index/address.vue

@ -2,8 +2,9 @@
<view>
<view class="body">
<view class="font">
<uni-icons type="arrow-left" size="30" @click="back"></uni-icons>
<text style="margin-left: 30%;color: #0b0b0b;">Ship to</text>
<!-- <uni-icons style="padding-left: 11px;color: white;" type="arrow-left" size="30" @click="back"></uni-icons> -->
<uni-icons style="padding-left: 11px;color: white;font-weight: 100;" type="back" size="30" @click="back"></uni-icons>
<text style="margin-left: 30%;color: white;">Ship to</text>
</view>
<!-- <view class="text_pop">Popular Countries/Regions</view>
<view class="address" v-for="(item2,index2) in popularlist" :key="item2.name" >
@ -148,13 +149,14 @@ async onLoad() {
.font{
display: flex;
position: fixed;
background-color: #fff;
background-color: #000;
height: 100rpx;
width: 100%;
z-index: 999;
padding-top: 50rpx;
text-align: center;
top:0;
left: 0;
font-size: 20px;
font-weight: bold;
}

3213
pages/index/index.vue

File diff suppressed because it is too large

1
pages/index/index2.vue

@ -8,7 +8,6 @@
<view class="nav_left">
<image src="../../static/img/left_white.png" mode="" @click="back()"></image>
<!-- <image src="../../static/img/seach.png" mode="" @click="goPage()"></image> -->
</view>
</block>
<block slot="right">

1
pages/index/search.vue

@ -233,6 +233,7 @@
font-size: 24rpx;
margin-right: 24.67rpx;
border-radius: 5px;
margin-bottom: 13.33rpx;
}
.lable_item:last-child{
margin-right:0

4
pages/login/index.vue

@ -41,8 +41,8 @@
<view class="tips" v-show="regErr">{{errMsg}}</view>
<button class="login_submit" :disabled="isReg" @click="Reg()">REGISTER</button>
<view class="agreement">
<image src="../../static/img/select2.png" mode="" class="agreement_image" @click="regSelect=!regSelect" v-show="!regSelect"></image>
<image src="../../static/img/select_red.png" mode="" class="agreement_image" @click="regSelect=!regSelect" v-show="regSelect"></image>
<image src="../../static/img/select2.png" mode="" style="width: 25px;height: 25px;" class="agreement_image" @click="regSelect=!regSelect" v-show="!regSelect"></image>
<image src="../../static/img/select_red.png" mode="" style="width: 25px;height: 25px;" class="agreement_image" @click="regSelect=!regSelect" v-show="regSelect"></image>
<view class="agreement_right">
by continuong, you agree to be <text class="text"@click="gotonewpage(1)" > terms of use </text> and <text class="text" @click="gotonewpage(2)"> privacy policy</text>.
</view>

32
pages/productDetails/index.vue

@ -1,6 +1,6 @@
<template>
<view class="body">
<uni-nav-bar backgroundColor="#000000" :statusBar="true" left-icon="left" color="#fff" :leftWidth="navWidth" :rightWidth="navWidth" :fixed="true" @clickLeft="back">
<uni-nav-bar backgroundColor="#000000" :statusBar="true" left-icon="left" color="#fff" :leftWidth="navWidth" :rightWidth="navWidth" :fixed="true" @clickLeft="back">
<view class="input-view">
<!-- <uni-icons class="input-uni-icon" type="search" size="18" color="#999" /> -->
<view class="input-uni-icon"><image src="../../static/img/seach.png" mode=""></image></view>
@ -1784,7 +1784,7 @@
}
.nav_right{
padding-right: 30rpx;
padding-top: 10rpx;
padding-top: 9px;
image{
width: 44rpx;
height: 44rpx;
@ -2012,7 +2012,8 @@
margin-bottom: 0 !important;
margin-top: 20rpx;
// margin-bottom: 62rpx;
background-color: #fff;
background-color: #fff;
display: grid;
image{
width: 100%;
@ -2021,7 +2022,7 @@
}
.productImage_image1{
width: 100%;
height: 532rpx;
height: 350px;
// background-color: #999999;
image{
width: 100%;
@ -2197,14 +2198,33 @@
line-height: 52rpx;
}
.bootom_last{
height: 200rpx;
// height: 200rpx;
height: 60px;
width: 100%;
color: #fff;
font-size: 25rpx;
line-height: 200rpx;
// line-height: 200rpx;
line-height: 50px;
text-align: center;
}
/deep/.nav_left .uni-image .data-v-af9236d6{
background-size: 0% !important;
}
/deep/ .uni-navbar__header {
height: auto !important;
}
.footer_right uni-button {
border-radius: 6px !important;
}
.uni-navbar .input-uni-icon {
height: 16px !important;
width: 16px !important;
}
uni-page-body {
padding-bottom: 30px !important;
background-color: black !important;
}
uni-page-wrapper {
background: #000;
}
</style>

12
pages/shippingCart/index.vue

@ -687,7 +687,8 @@
this.tarbar[2].src = '../../static/img/min.png'
}else{
src=res.data.zones[0].blocks[0].block_pic
// this.tabar[2].src=src
this.tarbar[2].src = res.data.zones[0].blocks[0].block_pic
uni.setStorageSync('midButton',src)
}
}
@ -1212,7 +1213,7 @@
}
.recommend{
color:#000 !important;
margin-top: 10px !important;
}
.recommend_content_item{
background-color: #fff !important;
@ -1472,8 +1473,11 @@
.cart_select {
width: 34.67rpx;
height: 34.67rpx;
// width: 34.67rpx;
// height: 34.67rpx;
width: 14px;
height: 14px;
object-fit: cover;
margin-right: 6rpx;
}

BIN
static/img/message.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Loading…
Cancel
Save